Utilizing New Low-Power Modes of Advanced MCUs

Publisher:cwm6269310Latest update time:2014-12-23 Source: 21icKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
Although "green" combined with product names has become a recognized symbol for low power consumption, the precise meaning of low power consumption is not often expressed.

The requirements for low-power microcontrollers (MCUs) vary depending on the application and how the MCU is used in the application. For example, in a battery-powered thermostat application, low power is primarily defined by the lowest power mode in which the device can drive an LCD display, in which case reducing power consumption will extend the life of the battery. In other low-power applications, such as electric meters, low power refers to the operating current consumed by the system during operation. A third category of systems are those that need to keep time regardless of whether the main power supply to the system is present. An electric meter during a power outage is an example of a third category of systems. Because the requirements of various applications vary, MCUs with more flexible power modes allow designers to further customize system operation.

In the past, MCU operating modes were used for device operation; Idle and Doze modes reduced or eliminated CPU switching power while allowing peripherals to operate; Sleep mode allowed limited peripherals to operate at the lowest power consumption. As today's advanced MCUs move to more advanced silicon processes (which minimize system cost and reduce operating current), some new low-power modes are being added to increase the flexibility of the MCU. We will explore some of the new low-power modes in today's advanced MCUs by observing their use in various applications.

We will compare various power modes implemented in different applications using the Battery Life Estimator (BLE) software tool and a 16-bit MCU. Microchip's BLE is a free software tool that allows designers to estimate the battery life of a system and determine which of the available operating modes is best for their application. The PIC24FJ128GA310 MCU family offers some new low-power modes, and its LCD display driver can play a good role in some of the following examples.

Thermostats have become more complex, needing to display more information and cover multiple regions. As a result, large amounts of on-chip Flash program memory are often required to store complex menus displayed in multiple languages.

Generally speaking, it takes advanced processes to produce a competitively priced, large memory MCU. As semiconductor processes advance, the trend is toward lower operating currents and higher leakage currents for transistors. The increased leakage current is most evident in the current specifications for low power modes, such as sleep mode. Sleep currents on advanced MCUs are typically in the 3 to 5 uA range, and a typical thermostat application spends most of its time simply driving a segmented LCD display. Segmented LCD displays are typically driven in sleep mode, which allows certain peripherals (in this case, the LCD driver) to run while the CPU and most peripherals are powered down. The thermostat must periodically wake up and enter operating mode to read the temperature, update the display, and perhaps signal the furnace, fan, or air conditioning unit to turn on. However, more than 99% of the time, sleep mode is all that is needed. Because of the large amount of time spent in sleep mode, improving sleep current can significantly increase the battery life of the system.

To enable MCUs with sub-uA power modes, many vendors have introduced new low-power deep sleep modes. Typical deep sleep currents are in the 10 to 50 nA range, and these devices add 400 nA when running a real-time clock calendar (RTCC). Extremely low currents are achieved by shutting down the entire device and only retaining a small amount of memory, the real-time clock, and perhaps a watchdog timer. However, these deep sleep modes do not allow peripherals to run or retain data RAM on the device. When the device wakes up from deep sleep, if the RAM contents are lost, the device needs to perform a restart routine before resuming program execution.

New low-power modes, such as low-voltage sleep mode, retain the device's data RAM with a typical base current of 330 nA and allow additional low-power peripherals to run. This low-voltage sleep mode retains the device's RAM and reduces the sleep current by reducing the device's on-chip regulator output. By reducing the supply voltage to the device logic and limiting the operating peripherals, the MCU's sleep current can be reduced from 3.7 uA to 330 nA. In this type of MCU sleep mode, peripherals such as LCD drivers, timers, and RTCC can still operate with only minimal current addition. The device resumes from low-voltage sleep mode to an operational state in less than half the time it takes to wake up from deep sleep. The device then begins executing from the next instruction instead of starting from the restart sequence that is usually required to wake up from deep sleep mode.

Figure 1: Battery Life Estimator Tool Main Screen

Description - As shown in Figure 1, the main screen of the Battery Life Estimator tool shows the MCU and its operating voltage, battery, and operating mode. The estimated battery life for the thermostat model is 11 years and 88 days.

In addition, the BLE tool models the amount of time the MCU will spend in each operating mode and the amount of power it will consume in each mode. Figure 1 shows the BLE output display where you can set several key parameters of the system to get lifetime estimates and average system current. First, select the operating voltage of the MCU and the system. This allows the battery life estimator to obtain the appropriate specifications. Then select the battery or battery pair - in this case, 2 AAA alkaline batteries. You can also select the expected system operating voltage and operating temperature to obtain the specifications that are best suited for the battery life estimation model. Finally, define the operating modes that will be used in the system. For our thermostat, two modes will be used.

In order to model the time that the thermostat displays only the LCD screen, an operating mode called "Display LCD" was created. The "Display LCD" operating mode uses a low-voltage sleep mode to provide the lowest power mode for driving the LCD. The Battery Life Estimator Tool models the device as having an operating cycle of 30 seconds, with 29.5 seconds in low-voltage sleep mode. The second operating mode, Update Temperature and LCD, models the time required for the MCU to monitor the temperature, update the LCD screen, and communicate with the HVAC unit. [page]

To better appreciate the new low voltage sleep mode and how to implement the operating mode in the BLE tool, the Add/Modify Mode screen can be viewed, as shown in Figure 2. In this screen, the designer can adjust the Duration setting, which is currently set to 29.5 seconds. Using the Additional System Current input box, the designer can add an estimate of the current consumption of the MCU's peripheral circuits. In this case, 4 uA of system current is added to represent the current consumed by the LCD display, and 1 uA of additional current is added to represent the current required by the internal LCD bias resistors. Next, the power mode is selected (low voltage sleep in this case) and the required peripherals. In order to provide an accurate system current model, the LCD driver, BOR, WDT, and RTCC have been selected. The MCU itself consumes 1.88 uA, which is added to our 5 uA system current to reach the 6.88 uA required by the system in low voltage sleep mode.

Figure 2: Battery Life Estimator Tool Mode Edit Screen

Description: The mode edit screen of the Battery Life Estimator tool allows the designer to specify the conditions for each power mode used and give it a name.

The BLE main screen shows that the device consumes an average current of 6.88 uA in low voltage sleep mode, and a little over 327 uA when the device is in short-term active state, so the total average current is less than 6.9 uA. The estimated value of the system battery life is about 12 years, which is about 5 years longer than the shelf life of the battery. Figure 3 shows a similar analysis, but using sleep mode instead of low voltage sleep mode, which gives an average current of about 10.5 uA, which reduces the battery life by three years.

Figure 3: Battery Life Estimator Tool

Note: The estimated battery life based on Hibernation mode is three years less than the estimated battery life based on Standard Hibernation mode.

At the other extreme for an MCU is a system that spends most of its time in active mode, such as an electricity meter. Today’s electricity meters are in only two states throughout their operating cycle. They are in normal operating mode when powered on. In this “normal” operating mode, the MCU is active, constantly measuring voltage and current, and calculating the power being delivered through the meter. The meter may also monitor for potential tampering, drive an LCD display, and possibly communicate with meter reading facilities.

When the meter is operating, it may appear that there is plenty of power. In reality, power is a product provided by the meter manufacturer’s end customer, the utility. Utilities provide power to millions of customers, and even small power losses can be costly to the utility’s business. In reality, most meters must operate within the 10 VA power budget established by the IEC. If possible line variations, component tolerances, and system design margins are taken into account, the final result is a system MCU current budget of approximately 10 mA when using a capacitive power supply.

Some of today's low-cost electricity meters use 8-bit MCUs that typically consume more than 10 mA when running at full speed in active mode. In order to stay within the system power budget, designers are often required to run the MCU at a lower frequency. Many current 16-bit MCUs use advanced process and design techniques to provide typical operating currents as low as 150 uA/MHz and can run at full speed at 16 MIPS while consuming no more than 6.9 mA. The reduced operating current provides designers with two options: reduce the operating speed of the MCU to reduce system power consumption; or add additional functionality while keeping the system power consumption within the allocated budget.

Although an electricity meter spends the vast majority of its time in an operating state, it is also an example of an application that takes advantage of one of the lowest power modes (Vbat). The Vbat feature provides a dedicated pin that can provide a backup power source, such as an LTC battery or supercapacitor. If the main power source to the system is lost (such as during a power outage), the power source for the RTCC automatically switches to the backup Vbat pin. RTCCs in electricity meters are very important during power outages, as time-of-use billing is becoming more and more popular. When operating from Vbat, the RTCC allows the LTC battery to last for decades, providing virtually unlimited backup operating power. Using the Vbat feature with an RTCC is not limited to electricity meters. Many applications, including the thermostat mentioned above, can take advantage of the RTCC to keep time during a power outage or battery replacement. Vbat with a capacitor or battery can also help eliminate annoying flashes caused by power outages.

In an environment where power consumption is of great concern, the development of low-power MCUs has led to the emergence of highly flexible general-purpose MCUs. Advances in process technology and design techniques have enabled 16-bit MCUs to operate at currents as low as 150 uA/MHz. New low-power modes (such as low-voltage sleep and Vbat) add flexibility to the power management chain, allowing general-purpose MCUs to work in a wider range of applications. The end result is a powerful and adaptable microcontroller that enables customer-friendly, energy-efficient terminal applications.

Keywords:MCU Reference address:Utilizing New Low-Power Modes of Advanced MCUs

Previous article:Research on the Implementation of Torsional Vibration Signal Measurement System Based on EP2C35
Next article:Application of EMC Technology in Single Chip Microcomputer System

Recommended ReadingLatest update time:2024-11-16 14:27

51 single chip microcomputer rotating LED (POV-LED) display system design report and code
Summary With the development of society, science and technology have also been improved. In contrast, people pay more and more attention to the needs of humanity. We designed this POV-LED display system from the perspective of science and technology serving humanity. The system uses STC89C52RC as the main control uni
[Microcontroller]
51 single chip microcomputer rotating LED (POV-LED) display system design report and code
Hardware Design of Serial Communication between PC and Multiple MCS-51 Single-Chip Microcomputers
1 Introduction In measurement and control systems and engineering applications, it is common to encounter situations where multiple tasks need to be executed simultaneously, so the master-slave multi-machine distributed system has become a widely used model in modern industry. Most of them are composed of IBM-PC micr
[Microcontroller]
Hardware Design of Serial Communication between PC and Multiple MCS-51 Single-Chip Microcomputers
51 single chip microcomputer - LED light emitting diode, buzzer C language introductory programming
        I recently finished learning about the 51 single-chip microcomputer on Bilibili. When I was preparing to review, I found that I could not find some materials that were more suitable for me, so I wanted to summarize some materials based on the 51 single-chip microcomputer that are suitable for entry-level learn
[Microcontroller]
51 single chip microcomputer - LED light emitting diode, buzzer C language introductory programming
51 MCU port
p0: 8-bit bidirectional I/O port, capable of driving 8 TTLs when output, open-drain port p1: 8-bit bidirectional I/O port, can drive 4 TTL as output, with internal pull-up resistor p2: 8-bit bidirectional I/O port, can drive 4 TTL as output, with internal pull-up resistor p3: 8-bit bidirectional I/O p
[Microcontroller]
National Technology's N32G455 series won the 16th China Chip Excellent Market Performance Product Award
Assisting the development of China's "core"! National Technology's N32G455 series general-purpose MCU products won the 16th China Core "Excellent Market Performance Product Award" On December 20, 2021, the 16th "China Core" Integrated Circuit Industry Promotion Conference, themed "China Core on Chain
[Embedded]
National Technology's N32G455 series won the 16th China Chip Excellent Market Performance Product Award
Interpretation of the Ethernet interface circuit of the ARM7 core microcontroller LPC2148
  The embedded main control module uses the microcontroller LPC2148 based on the ARM7TDMI-S core, which has a very high degree of integration. It has 40kB of on-chip static RAM and 512kB of on-chip Flash memory, and integrates ADC, DAC converter, watchdog, real-time clock RTC, 2 UARTs, 2 I2Cs, SPI and other bus interf
[Microcontroller]
Interpretation of the Ethernet interface circuit of the ARM7 core microcontroller LPC2148
51 single chip microcomputer 8-way buzzer
Time is limited, use digital tube to display 8-way answer, use timer to scan 8-way, the interval can be adjusted to be very small. In addition, it has the function of setting time (answer and answer time). The simulation principle diagram of 8-way answerer is as follows The microcontroller source program is a
[Microcontroller]
51 single chip microcomputer 8-way buzzer
Design of electronic piano circuit based on single chip microcomputer STC89C51
introduction With the penetration of computers in various fields of society, the application of single-chip microcomputers is becoming increasingly in-depth, while driving the rapid updating of industry, agriculture, commerce, home appliances and toys, greatly improving the quality and efficiency of e
[Microcontroller]
Design of electronic piano circuit based on single chip microcomputer STC89C51
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号