Optimize power consumption with efficient single cell battery voltage conversion - Embedded.com

Optimize power consumption with efficient single cell battery voltage conversion

This “Product How-To” article focuses how to use a certain product in an embedded system and is written by a company representative.

Optimizing power consumption— whether for consumer, industrial or medical applications—has typically been addressed by reducing active processing time and increasing how long processors can reside in sleep mode.

With the rise of ultralow-power applications, however, this approach no longer suffices. Trends such as single-cell operation, charging/discharging closer to battery thresholds, and the need to control motors and/or high brightness LEDs (all while reducing device form factor and cost) have changed how developers must approach power optimization.

For devices such as electric toothbrushes, personal media players, remote controllers, wireless sensors and a wide range of other portable and handheld devices, power management needs to be implemented at all levels of a system.

By optimizing power consumption through efficient single-cell voltage conversion, using multiple current modes, introducing smart battery management and implementing power saving techniques at the application level, power consumption can be coordinated across an entire system.

Achieving efficient conversion
Many ultralow-power applications are moving to single battery cell architecture to reduce device cost, size and weight, three of the key factors that determine the success of battery-powered portable applications.

Oftentimes, the battery is heavier than all of the other components and PCB combined. In addition, standard AA or AAA batteries are typically the single largest component on the PCB. Reducing the power supply to a single cell is attractive because it simplifies battery holder mechanics, and results in significantly smaller and lighter overall product construction.

Designing to a single-cell power supply, however, introduces a variety of new challenges for designers. While the voltage from a single battery cell usually ranges from 1.2V to 1.5V when fully charged, cells can drop below 1V while still possessing a substantial amount of usable energy.

Even MCUs with a 1.8V power supply require at least two cells in series to operate and some applications, such as driving high-intensity LEDs with high forward voltages, require as many as four cells.

To drive motors, LEDs and even the processor itself from a single-cell, a regulator is required to boost the available voltage to appropriate levels. Boost regulators, however, can cost on par with an MCU and require as much space on the PCB as well. Additionally, some regulators need to be controlled by an MCU, further complicating design.

The seamless operation of a self-managed integrated boost regulator within an MCU not only avoids most of the cost and space issues related to an external regulator, it can enable the MCU to provide greater draining efficiency than is possible using an external DC/DC converter.

Figure 1: Integrating a boost regulator enables the ATtiny43U to operate from a single cell with voltages as low as 0.7V, efficiently driving loads up to 10mA and allowing discharging to continue closer to the end of a cell's reserves compared to other types of implementations.

For example, the integrated regulator of the ATtiny43U (Figure 1 above ) is able to boost voltages as low as 0.7V, allowing discharging to continue closer to the end of a cell's reserves than is supported by other types of implementations.

An integrated regulator can also offer superior idle current -1 μA (typical) for the ATtiny43U – and automatically start as soon as there is sufficient voltage available (1.2V indicating a full battery is available or charging is near completion).

In addition, the regulator supports any battery technology, giving designers complete freedom in selecting the optimal battery for a particular application. Battery voltage can range between 0.7V and 1.8V, enabling developers to use 1.6V alkaline or silver oxide, 1.5V Li-ion, 1.4V zinc-air, and 1.2V NiMH and NiCd, among others.

Boost, low current modes
High current capacity without external drive circuitry is also important for many applications. The boost regulator of the ATtiny43U has the capacity to drive up to 30mA, enabling direct control of high brightness LEDs and small motors. By being an integrated part of the MCU, the regulator can be optimized to the architecture to maximize efficiency.

Figure 2: An integrated boost regulator is optimized to its MCU architecture, maximizing conversion efficiency across varying loads and supply voltages. Integrated regulators also reduce board space requirements and lower overall system cost by eliminating the need for an external regulator

For example, Figure 2 above shows the conversion efficiency of the ATtiny43U for particular load currents based on remaining charge. As can be seen from the graph, high-current operation is less efficient than when running at a lower current. Most high-current applications, however, do not need to operate in high current mode continuously.

For example, a toothbrush or camera operates its motors only occasionally. If the architecture is locked into a high current mode, these devices will operate at reduced efficiency even when the device only requires a low current draw, i.e. the regulator will supply low current at the reduced efficiency characteristic of high current.

To preserve efficiency, the MCU needs to be able to support multiple operating modes. Thus, when the device requires high current and tightly regulated Vcc , the MCU and regulator will operate in a regulated mode. However, when motors or other peripherals are not in use, and the load current drops down to below 0.6 mA, the regulator automatically switches into a low current mode, performing more efficient power conversion.

Figure 3: This graph shows typical output voltage patterns of a boost converter at various loads. At light or no loads (plotted in green), the switching time (rising voltage) is measured in hundreds of microseconds while idle time (falling voltage) is measured in seconds. Note that such variation occurs when the MCU is in Power Down or consuming little power. In the main mode of operation, Active Regulated Mode, output voltage remains stable within 3V +/- 100mV (plotted in red)

Additionally, at light or no loads the converter in regulated mode will periodically reach its duty cycle low limit. By automatically dropping into low current mode, the converter stops switching and reduces current consumption to a minimum while still remaining active (Figure 3 above ).

Such variation in output voltage occurs when the MCU is in power down or consuming little power. In the main mode of operation, active regulated mode, output voltage remains stable within 3V +/-100mV. Also note that the typical transition voltage changes as the energy in the cell is depleted (Figure 4 below ).

The regulator is an independent subsystem that requires no active management by the MCU. However, for designers who require more direct control of the boost regulator, certain features can be controlled through software.

Figure 4: The typical transition range between active low current mode and active regulated mode is dependent on the available input voltage and load.

As efficiency also depends on the application, it does not make sense to integrate all of the passives associated with power regulation. For example, while cost is the primary driver for some markets, operating life is tantamount in others. Rather than be forced to use passives optimized for the wrong market driver or that provide decent (but not optimal) response across all applications, developers ideally will be able to select the passive components that provide the right balance for their application.

This can be achieved with less than a handful of components (i.e. a single inductor, two by-pass capacitors and a Schottky diode).

Smart battery management
Accurate estimation of remaining power is an important factor in maximizing utilization of available battery charge. Rechargeable batteries, for example, require careful monitoring and charging control within set limits to ensure safe usage and optimum operating life.

The more accurately remaining charge can be estimated, the closer these batteries can be charged and discharged to their limits without risk of damaging the capacity of the cell from charging or discharging too deeply.

While finer control of battery charging and discharging means longer operating life because greater cell capacity is accessible, lack of flexibility in this control can severely limit the battery technologies a processor can support.

For example, different battery chemistries have different voltage thresholds to which they can be safely charged and discharged. If an MCU has fixed thresholds or limitations in how these thresholds can be configured, this will be reflected as a limitation in the battery technologies the MCU can manage efficiently.

As a result, developers may be forced to use a particular battery based on the MCU selected rather than being able to choose the battery technology best suited for the application.

For applications where users must replace batteries, flexibility is critical in being able to support rechargeable cells. Rechargeable cells have significantly different thresholds than their disposable counterparts. If they are drained too far, this can damage their overall charge capacity.

The resulting drop in operating life will most likely be perceived as the fault of the device rather than the battery. The ATtiny43U's firmware can monitor the battery voltage using the built-in ADC and decide when to put it in stop mode, thus thoroughly draining disposable batteries while ensuring the maximum life of rechargeable cells over multiple recharging cycles.

While automatically shutting down the processor protects rechargeable cells, an abrupt loss of power may not be acceptable from an application perspective. For example, shutting a camera down suddenly will leave the lens exposed and vulnerable. As such, an important component of power management is being able to accurately estimate remaining power.

This can be achieved by using the 10bit ADC of the ATtiny43U to measure the battery voltage at regular time intervals. In this way, the application can have a chance to place devices into a safe configuration before shutdown.

Improving power efficiency
Many applications add an MCU as a secondary processor to assist the main host processor. This MCU offloads tasks such as updating the display, monitoring the keyboard, operating small motors, and intelligently managing smart batteries.

The advantage of using a second processor is that an MCU can execute these functions with higher power efficiency than an applications processor. For example, an applications processor monitoring a keyboard would need to wake up frequently to perform this task.

Alternatively, using an MCU to monitor the keyboard and update the display would enable the applications processor to sleep longer uninterrupted, resulting in substantial power savings as an MCU consumes less power in active mode than an applications processor.

Of course, processing efficiency has a significant impact on power efficiency as well since the more work an MCU can perform each cycle, the sooner it can drop into sleep mode. Increasing clock frequency increases power consumption so more effective MCU architectures will support a dynamic operating frequency as well as execute instructions in a single cycle and automate management of peripherals.

Ultralow-power MCUs also require multiple sleep modes. For example, a sensor application may monitor temperature until it exceeds a threshold. Keeping the entire MCU in active mode during monitoring consumes more power than is actually necessary. Support for different sleep modes that allows developers to shut down different parts of the device enable better power conservation (Table 1 below ).

Table 1: Multiple sleep modes enable developers to place an ultralow-power MCU in a variety of reduced-power idle modes when only limited functionality is needed rather than requiring the entire MCU to operate in a higher power active mode.

There are several architectural innovations developers can use in the ATtiny43U architecture that increase power efficiency in both active and sleep modes:

True supply voltage . While an MCU may accept a single voltage supply, it might have varying internal voltages across its architecture. Such a design methodology introduces power inefficiencies as the dynamic power will be higher than anticipated. When all analog peripherals, flash, EEPROM and RAM run at the same voltage, less power is consumed by the device overall.

Minimized leakage current . Temperature, supply voltage and process technology affect leakage current. Rather than modifying an existing architecture to run at a lower voltage, ultralow-power MCUs must be created from the ground up with power efficiency in mind, such as how Atmel's picoPower AVR family of microcontrollers were designed.

Low power brown-out detection (BOD) . While zero-power brownout detectors consume no power, they are also slow to respond and can require a full millisecond to detect a below-threshold voltage, thus leaving the MCU at risk.

Alternatively, a “sleeping BOD” can detect brown-out conditions in 2 μs while drawing only 20 μA. Since no brown-out protection is required when the MCU is in deep sleep modes, a sleeping BOD can be turned off, consuming zero power as well. In this way, developers can have both low power and fast responsiveness.

Digital input disable registers (DIDR) . Multiplexing inputs to a peripheral such as an ADC increases design flexibility for low pin-count devices. However, when voltages in the range of Vcc /2 are applied, the transistors comprising the input buffer will experience leakage of current.

The use of dedicated input disable registers, with one disable bit per analog input, enable developers to disable individual input buffers to prevent leakage.

Clock gating . Clock gating reduces the toggling frequency of any clock domain. Any clock that is not in use can be gated so that it does not unnecessarily consume power.

Power reduction register . While multiple sleep modes simplify power management, they often turn whole blocks of peripherals on or off. Thus, if only one peripheral is in use, several others must also be active.

A power reduction register gives developers full control to turn off individual peripheral modules. Disabling one peripheral module can result in a reduction of 5 percent to 10 percent of the total power consumption in active mode and 10 percent to 20 percent when in idle mode.

Flash sampling . Traditional flash is designed to always be enabled while in active mode. At lower clock speeds, however, the flash read time will be less than the clock period. Flash sampling enables the flash on the order of 10ns to sample the array's contents and then immediately disables it, reducing average power consumption.

Fast wake up . If a system is slow to wake, it will need to be left in active mode longer to accommodate the added latency to prevent disruption of real-time event processing. Put another way, the faster the MCU can wake, the longer it can stay asleep.

Ultralow-voltage MCU
Developers need to be aware when reviewing specs of different ultralow-power MCUs to ensure that equivalent measurements are compared, and keep the following considerations in mind:

1) Efficiency across a range . Efficiency specs are usually given at an MCU's best measurement (sweet spot) rather than across load current and voltage. The typical operating range of an application may position it along a less efficient curve. Additionally, efficiency must be evaluated across the entire voltage drop of a cell.

2) The safe operating range of a cell . While an MCU may be able to drain a battery quite low, without sufficient accuracy to measure voltage and temperature, the limits of the cell may be exceeded, resulting in battery damage and shorter operating time. Accuracy is a key factor in determining how much of a battery's energy potential a device can safely exploit.

3) Regulator inefficiency . An MCU without a boost regulator will have higher efficiency specs because the conversion losses are hidden in the external regulator. Also, for singlecell designs, don't forget to include the cost and design complexity of an external boost regulator if the MCU does not integrate one.

4) The efficiency across a device's entire use profile . An MCU may have high efficiency when driving high currents, but unless it offers multiple operating modes, it will be less efficient when driving low currents. If an application requires high current capacity on a relative infrequent basis, overall efficiency could suffer as a result.

5) Whether specs were measured with a single or multiple cells . Certain MCU specs will change, depending on the number of cells in use. For example, if multiple cells are available, an internal boost regulator can be bypassed, thereby increasing efficiency.

Conversely, listed specs made with multiple cells, such as wake up time, may be lower when only a single cell is used.

6) The maturity of the development environment . Achieving ultralow-power requires innovation at the architectural level. Ultralow-power MCUs based on entirely new architectures often at best offer only marginal design tools that are still under development.

With software development one of the most significant cost drivers, the stability, completeness and capabilities of the design tools play a major role in how efficient developers can manage power consumption, as well as how quickly they can speed time-to-market.

To determine how ultralowpower an MCU actually is, measure it for yourself. Demo kits provide an effective means for both testing a MCU's efficiency under real-world operating conditions and exploring its feature set.

The ATtinyx3U top module, for example, attaches to the STK600 development board, giving developers full access to the ATtiny43U's capabilities and Atmel's comprehensive suite of proven development tools (Figure 5 below ).

Figure 5: Demo kits such as the STK600 and ATtinyx3U top module enable developers to measure power efficiency under real-world operating conditions.

Using the module, developers can test the limits of single-cell operation, profile power consumption while directly driving a high brightness LED, and drive the integrated boost regulator's auto shut-down and power-on features to tune power thresholds to use the maximum capacity of cells within safe parameters.


Single-cell designs eliminate the payload of extra batteries, typically the heaviest and largest component in ultra low power systems.

MCUs integrating an onchip regulator with configurable modes efficiently bridge the gap between the minimum supply voltage of the MCU and typical output voltages of standard single-cell battery technologies, enabling developers to minimize power consumption based on available load conditions and battery voltage.

With only one battery, no external regulator, the ability to drain cells down to 0.7 V, and high current capacity for LEDs and small motors, designers can build compact battery-operated devices at the lowest cost that are truly ultra low power.

Jukka Eskelinen is tinyAVR Marketing Director and Kim Meyer is a field application engineer at Atmel Corp.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.