However, the question always remains the same: how long will the battery last? For the consumer, changing batteries is a hassle, and for large-scale IIdC, it's an expensive process. Therefore, extending battery life is crucial by generating dynamic energy consumption profiles and using this data to select appropriate chemical methods and predict battery life.
In this article, we will examine the techniques and tools available for accurately predicting battery life in an integrated design.
Battery life
has become an essential part of our daily routine. Nobody likes having to worry about charging devices all day, whether it's an electric car or scooter, or making sure a smartwatch or fitness tracker will last through a gym class. The same applies to battery-powered devices used in commercial or industrial settings, such as IoT sensors. It's incredibly frustrating when your fitness tracker runs out of battery mid-class, but in the case of an industrial sensor, the consequences can be production downtime and significant financial losses. It's fair to say that battery life has a direct impact on a product's success and a brand's reputation.
It's becoming increasingly clear that the key lies in designing integrated systems with one fundamental goal: reducing power consumption. Having the necessary expertise to implement hardware and software techniques that minimize energy use is essential. On the other hand, increased battery life is also important from a sustainability perspective, as many companies are aware of the impact it has on their corporate environmental sustainability profile. A report stated that up to 78 million batteries will be discarded every day worldwide by 2025, a clear example of the challenge we face.
Objective: Reduce Power Consumption.
To prioritize the goal of reducing power consumption, embedded system designers must think about their applications holistically. There are likely no quick and easy solutions to reduce power consumption and extend battery life; typically, this is achieved through iterative steps, each representing a small improvement. Below are some key ideas that embedded system developers should consider.
• Identifying Power Consumption. Which circuit functions consume power, and how are they synchronized with the other components? These are the first questions we should ask, as they are fundamental if we want to prioritize the goal of reducing power consumption. The main microcontroller will have a considerable impact on the device's power consumption profile and is usually responsible for managing the power supply to peripherals; therefore, it's worth asking what the microcontroller's standby modes are and how they can be used. We must not forget that there is a very delicate balance between deep sleep modes and application responsiveness. In the consumer sector, a device exits "deep sleep" mode when, for example, a user touches the screen of an activity tracker and it takes a few moments to display the options menu or the status of the activity in progress.
• Application lifecycle management. How often should the application take a reading or trigger an action? For a smart thermostat, measuring the temperature every thirty seconds might be sufficient. More complex sensors may require a faster operating mode. The device's activation frequency greatly affects the energy consumption profile, as current levels are much higher in these situations. Another way to reduce consumption is to disable sensors and peripheral functions while the microcontroller processes data.
• Scheduling tasks to avoid current spikes. With the information gathered in the previous two points, we may be able to modify the scheduling of software and hardware tasks to avoid current spikes. These spikes have a negative effect not only on average consumption but also on battery performance: high currents can accelerate the reduction of the battery's state of charge, thus shortening its lifespan.
• Selecting a power source. Replacing a non-rechargeable battery is costly, limiting its usefulness in many applications. In most cases, rechargeable batteries that are recharged on-site are used. For this process, energy harvesting techniques from sources such as solar, wind, vibration, or RF are becoming increasingly popular. Furthermore, in some cases where the average current profile is relatively low, replacing the battery with a supercapacitor or ultracapacitor is a viable method.
• Choosing the right battery. In addition to considering the integrated development elements already mentioned, it is also important to analyze the characteristics of the battery itself, as there are many different types and the chemical processes involved can vary. The most important parameters should be consulted in the datasheet, as it's crucial to determine if the battery's ideal discharge profile is best suited to the application's duty cycle and power consumption characteristics. However, finding the ideal battery for a specific application isn't easy: embedded systems have a dynamic power consumption profile, rather than a static discharge curve; therefore, we'll most likely need to gather more information.
Current consumption measurement is arguably the most important factor when creating a power consumption profile for an embedded system. Digital multimeters are practical for testing and measurements, but a more dynamic response, a wider measurement range, and higher resolution accuracy are typically required. For example, the current draw of a wireless, battery-powered IoT sensor can range from a microampere in standby mode to many milliamperes when operating—a dynamic range of 50:1. This dynamic feature requires the use of specialized measuring equipment, such as the Qoitech Otii range, which we will discuss below.
How to Generate Current Profiles in Integrated Systems:
The Qoitech Otii Arc Pro and Otii Ace Pro ranges of energy profiling units are specifically designed for measuring energy consumption in battery-powered integrated systems and utilize Otii Pro software for energy analysis. The Qoitech Otii Arc Pro (Figure 1) comprises an energy profiler, a power measurement unit, a DC power analyzer, and a power supply. The complete hardware and software package can measure, analyze, and record current levels in real time with an accuracy of 5 nA at a sampling rate of 4 ksps.

Figure 1: The Qoitech Otii Arc Pro, a small and portable unit (Source: Qoitech)
The Otii Arc Pro's power supply generates between 0.5 and 5 VDC, with a maximum of 5 A, and the measurement process does not add any additional voltage to the load. The device is integrated into the system being measured using the Otii UART interface or GPIO pins. Developer debug messages sent from the device under test are synchronized with the real-time current measurements and displayed on the debug screen (Figure 2). This method allows engineers to accurately display consumption analysis at break and monitoring points.

Figure 2: In the Otii Pro software, UART debug messages from the device under test appear alongside the real-time current measurements (source: Qoitech)
The Qoitech Otii Ace Pro offers similar features to the Arc Pro, but its output voltage reaches up to 25 VDC in 1 mV steps; in addition, the current measurement range goes from the nanoamp scale up to 5 A. The measurement resolution is less than 0.4 nA and the sampling rate can be set up to 50 ksps.
Battery Characterization and Estimation:
We've already discussed the importance of understanding battery discharge characteristics and have seen that this is no easy task in a dynamic integrated system. An additional complement to the Qoitech Otii software is the Otii Battery Toolbox.
Integrated systems are becoming increasingly complex, and commercial and environmental demands related to extending battery life continue to grow; therefore, a more scientific approach to battery selection is necessary. Instead of simply starting with a given battery capacity and dividing it by the average consumption to estimate lifespan, tools like the Otii Battery Toolbox offer a more objective strategy. The Toolbox provides three functionalities that allow you to analyze battery life based on the discharge profile. The standard Otii software offers a basic battery estimation tool, but the Toolbox adds more features.
As the battery discharges, the output voltage decreases. The exact extent of the reduction depends on the chemical processes and should be consulted in the manufacturer's datasheet. The integrated system will continue to operate until it reaches a point where voltage drops affect its function.
The first step in determining battery life with the Otii Battery Toolbox is to analyze the device's performance across various battery voltage ranges, from the highest to the lowest voltage at which the device can operate without errors. The more precise the measurements, the more accurate the results. The Toolbox software can reduce the Otii's output in, for example, 100 mV steps between the two battery limits. The initial battery selection will determine the selected voltage range, but this can be changed after obtaining the results. For example, a lithium-polymer battery has an output voltage of 4.2 VDC when fully charged and can drop to 3.0 VDC; it should not be used beyond this limit.
Figure 3 shows the Otii Battery Toolbox profile of a device operating with different supply voltages, from 3.7 to 4.5 VDC, in 200/300 mV steps. The upper right corner of the image displays the minimum, maximum, and average current consumption for each voltage range.
The battery profiling options are located in the lower center of the screen, where you can enter the two values for discharge current and duration: high for active mode and low for inactive mode. You can also configure the stop voltage or the number of iterations. Additionally, you can input data for the first battery to be tested.

Figure 3: First steps in the Otii Battery Toolbox battery profiler; the dynamic characteristic of the current consumed by the device under test at four different supply voltages can be observed (source: Qoitech).
In the next phase of profiling, the device under test is removed from the Otii unit, and the first selected battery is connected. The software cycles between high and low values during the test until the battery voltage reaches the cutoff voltage or the repetition limit. The battery profile is then saved so that Otii can emulate it. This way, Otii's output simulates the internal resistance and output voltage of the profiled battery, facilitating further testing. With this method, battery selection becomes a specific process rather than a series of assumptions and guesses, providing a much more realistic and representative idea of how the battery will actually perform. For a detailed tutorial on the battery profiling process, please visit https://www.youtube.com/watch?v=qF_Ylxxo0Wk.
Battery Profiling in the Real World:
Battery-powered devices are becoming increasingly ubiquitous, so extending battery life is crucial in any embedded system. In this short article, we've seen why we need to prioritize power reduction, what the challenges are when choosing a battery using the specifications sheet, and how we can overcome them with the Qoitech Otii Battery Toolbox.
Author: Mark Patrick, Mouser Electronics
