Energy-saving microcontroller design enables 20-year battery life

Publisher:Meilin8888Latest update time:2010-07-14 Source: Energy Micro Keywords:Micro Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

When designing a battery-powered product, it is obvious that one would like the battery life to be as long as possible. As a rapidly growing category of devices, applications that grow from a single battery are not just about the specifications: they revolve around the entire product concept. Energy-sensitive product applications can be broadly divided into energy metering systems, home and building automation, security, and medical systems (Figure 1). These products are usually centered around a microcontroller (MCU) and must operate for a long time from a single primary battery. In some applications, it is difficult or even impossible to replace the battery: in others, the end user is unwilling to pay the cost of replacing the battery.

Energy-saving microcontroller design enables 20-year battery life

In applications like these, very active microprocessors with very low duty cycles may spend 99% of their time in a "deep sleep" state - even higher, 99.9% is not uncommon. Microprocessors "wake up" in a cycle or in response to some stimulus, perform an operation, and return to sleep. Since they spend so much time asleep, it is obvious that the key parameter to get the longest battery life is the current consumption in the powered-down state. However, the difference between a three or four-year life on the same battery and more than 10 years, extending to 20 years, or even longer, lies in paying close attention to every aspect of how the task uses the MCU's resources, and how the MCU itself is designed to reduce energy consumption in various ways.

A single battery lasts 20 years

The CR2032 coin cell is widely used in small MCUs such as remote environmental sensors. It is a lithium/manganese dioxide 3V primary cell. Typical suppliers - for example, Kodak (reference 1) - rate 230 mAh to 2V end voltage capability at 5.6 k (about 0.5 mA). If that is the case, the battery life will be 400 hours, compared to 200,000 hours for energy-sensitive applications. This particular battery has a very good shelf life or self-discharge rate, with the data sheet showing 90% capacity after 10 years. Very similarly, this is equivalent to a continuous charge of about 0.25 A, and if a battery life of 10-20 years can be achieved, the general requirements of the application will be met.

With battery life coming with a finite amount of charge, designers must reduce their product’s current and time during all phases of the MCU’s operation, not just by microamps, but by microseconds of every action.

To reduce the current consumed in deep sleep modes, it has become common to use 8-bit (or 16-bit) cores in MCUs for energy-sensitive applications. The reason is that 8-bit cores—even in their latest versions—are small, have relatively few gates, and have low static or leakage currents. However, many current applications require more processing power than an 8-bit core can provide. In other MCU application areas, users often choose to upgrade from an 8-bit to a 32-bit environment. In the case of low power, it has been assumed that the current used by a 32-bit core in its power-down mode state must be unacceptably high. With the advent of a full range of low-power design techniques, today's IC designers have made it possible for a 32-bit ARM core to provide different low-power modes that are as good as or better than its 8-bit competitors, while also achieving fast wake-up times. The higher processing performance of 32-bit processors also enables the MCU to complete tasks faster, allowing it to spend more time in these low-power modes, further reducing average power consumption.

Low power peripheral functions

Optimizing MCU sleep state power consumption for the lowest power draw requires a holistic design approach. In addition to the core, other blocks in the MCU continue to draw some current in standby devices, voltage regulators, bias current generators, brownout detection comparators, and power-on reset circuits. In almost all cases, a simple swap applies; the deeper the power-down state, the more peripheral functions are completely cut off, and the longer it takes for the chip to wake up and be ready to perform processing tasks. Because applications vary greatly, it is important for MCU designers to provide a flexible expansion kit in the form of power-down states so that the product designer can make the best swap between standby power and responsiveness for his individual project.

Designing an ARM core to achieve current levels in the nanoamp region at its deepest sleep state is just one step in a low-energy strategy. The processing power available to a 32-bit core opens up new ways to control energy use. At any given time, it is the area below the MCU power graph that represents the charge being taken from the battery over time (Figure 2). As it is, the more the headline figure for current consumption in a specific configuration, the closer the designer must pay to maximize battery life. In the development kit for the EFM32 microcontroller, this measurement is made clear; a fundamental part of the kit’s functionality is its advanced energy monitor (Figure 3). This facility continuously measures the current in the current rail that populates the MCU core; an analog-to-digital converter (ADC) samples the voltage across a resistor, and the development kit software integrates its readings to accurately measure power over time.

[page]

A 32-bit core spends less time actively completing an identical task than a less capable MCU: at the same time, the core should also use as little power as possible while running. IC designers focused on low power have been given many refinements to achieve their goals. Examples include optimizing the clock gating structures of all chip synchronous logic, and organizing the bus system and memories – SRAM and flash – for minimal switching in any given process. Adopting a comprehensive low-power design approach results in an ARM Cortex-M3 core running typical code in flash using as little as 180μA/MHz. Careful use of these same techniques ensures that the numbers measured are accurate, down to the low clock rate, not just a peak performance number. The M3 core’s use of the Thumb2 instruction set also helps reduce “active time” once the MCU is awake and executing application code. With such a compact 16-bit instruction fetch capability, the Thumb2 ISA is very efficient.

MCU designers have many better strategies to deploy when it comes to reducing the current-time-multiplied-microseconds product. One is to reduce not only the time the core spends actually processing application code, but also the settling time between the wake-up stimulus - whether timed-generated or event-driven - and the time the CPU is ready to do "real work". One line of attack is to minimize the startup time and the clock signal supplied to the core. It is well known that when a crystal oscillator is started up from an off state, it takes some time for its output to stabilize before it can be used as a system clock. In contrast, an RC oscillator may not be accurate enough to serve as a time base for all the tasks that the MCU must do, but will produce a regular output almost instantly after power-up. Part of the solution is to reduce the time that the signals are supplied simultaneously; the CPU starts running at power-up, using the RC oscillator to adjust the clock, while a small control circuit waits for it to stabilize before passing the clock source to a crystal oscillator. Any lack of frequency accuracy in the RC oscillator's output is less significant because the period in which it is used is relatively short.

Simple tasks do not require an MCU core

While designers take great care to provide power with a capable processing core, and to achieve this goal in the shortest possible time, it is useful for chip designers and system designers to ask whether such a core is needed for a given task: even the most energy-efficient core will waste battery charge if it is woken up to perform simple tasks. Let's use the example of an environmental sensor application again - it may need to take measurements periodically, but only report the measurements to a central data logger at infrequent intervals. The software stack running the communication interface will certainly require waking up the MCU core, but more frequently turning on the analog-to-digital converter, directing the A/D conversion, and accumulating the results in low-power memory will consume very little power if only the peripherals are required to operate autonomously under the control of the interconnect matrix (Figure 4). Because applications vary greatly, a high degree of flexibility in choosing which functional blocks to power and how they are connected is important to fully exploiting this concept.

Energy-saving microcontroller design enables 20-year battery life

Adding Code to the Power Budget

It is well known that in modern CMOS semiconductor processes, the cost of adding silicon area to hardwired block ICs is relatively low. This has the slightly counterintuitive consequence that the most effective option to minimize power consumption is often to increase the number of gates. With advanced clock tree design, clock gating, and board power switches, IC designers can easily completely cut power at any time. One prominent feature of this approach is encryption. Even seemingly mundane data is now routinely secured by encryption, with the algorithm commonly known as AES. This is not a challenging task for a 32-bit MCU core, but it does take up a lot of processor cycles, extending the total microamperes times the total microseconds. Most of these cycles are spent executing the algorithm in some internal loop; adding an AES accelerator hardware module will cause the MCU to stop the AES algorithm and move to dedicated hardware, and get along well with the other processors to get the encrypted (or decrypted) results in fewer cycles.

The rapidly expanding class of energy-sensitive applications - led by a few high-end categories such as smart energy metering - is redefining what it means to be a battery-powered product: these products must provide service on a single battery and compare the shelf life of the battery itself to the same range of maximum time intervals specified by the battery manufacturer: up to, or even beyond, 20 years. Only a highly integrated single-chip microcontroller can provide a realistic solution for such designs. IC designers have paid close attention to every aspect of low-power chip design and can now provide product designers with modern, powerful 32-bit processor cores while minimizing power requirements.

Energy-saving microcontroller design enables 20-year battery life

Keywords:Micro Reference address:Energy-saving microcontroller design enables 20-year battery life

Previous article:New trends in security system integration in urban rail transit
Next article:Design of high stability laser multi-channel monitoring system based on AD7888

Recommended ReadingLatest update time:2024-11-16 16:56

The Xi'an Transcend Optoelectronics Project was signed with Hefei High-tech Zone with a total investment of 600 million yuan
On November 23, a new optoelectronic material, Micro LED chip and display module industrialization project with a total investment of 600 million yuan was signed and settled in Huoqiu Modern Industrial Park, Hefei High-tech Zone. According to the news released by Huoqiu, the total investment of Chuan Yue Optoelectroni
[Mobile phone portable]
Advanced Energy LGA110D's DC/DC power conversion efficiency outperforms similar products
Advanced Energy LGA110D's DC/DC power conversion efficiency is better than similar products, and its power density is 30% higher than similar products This new point-of-load DC/DC power converter has extremely high rated current and power density, and has highly flexible control functions, making it i
[Power Management]
Advanced Energy LGA110D's DC/DC power conversion efficiency outperforms similar products
The 3rd China (International) Micro-LED Display Summit Forum will be held in Nanjing
  近几年来,Micro-LED显示技术越来越受到业界的关注和重视,将其视为显示技术发展新的风口,国际上初创公司不断涌现,几大互联网企业如苹果、Google、Facebook都已介入;我国包括台湾地区的显示面板企业如京东方、华星光电、天马、熊猫、维信诺、友达和群创光电等,LED芯片企业如三安、乾照、华灿等,LED封装企业如国星、雷曼、瑞丰和联电等纷纷加入研发并已取得一定成果;应用终端更是翘首以待,积极开发应用场景和产品,呈现出一片你追我赶的繁荣景象。 Currently, Micro-LED display technology is on the eve of a breakthrough in mass produ
[Power Management]
The 3rd China (International) Micro-LED Display Summit Forum will be held in Nanjing
Latest Security Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号