The following power modes are also supported by most devices from other manufacturers:
●Working mode
Sleep mode
Deep sleep mode
Hibernation mode
Stop mode
Let's take a look at the specifics of these power modes:
1. Working mode: In this mode, the CPU and all other on-chip resources operate normally. This mode is the most important component of the overall system power consumption. In this mode, if not in use, various peripherals on the chip can be powered off separately.
2. Sleep: This is another common power mode for controllers. This mode is mainly related to the CPU. When the CPU enters sleep mode, its clock is removed. The only impact of the CPU on the total power consumption at this time is static power consumption, because there is no clock switching work at this time, and there is no dynamic power consumption. Other peripherals such as ADC and comparators are available in this mode.
3. Deep Sleep: In this power mode, even the system clock is disabled, so all high-frequency resources are unavailable in this mode. However, the current state of these resources is not affected, that is, the current state of the CPU registers, SRAM, etc. is not affected. Since the high-frequency clock is disabled, the power consumed by the switch can be saved. Usually, the deep sleep mode provides the option of running with a low-frequency clock, which can be used to drive low-frequency resources such as timers. In addition, this mode allows developers to use communication protocol blocks such as I2C slave devices, which do not require the device to generate its own clock. This is possible because the main way to enter this mode is to disable the system master clock. However, the module can still be powered on. The impact of this mode on power consumption is mainly the static power consumption of all clocks on the chip.
4. Hibernation: In this mode, all clocks are turned off, including the low-speed oscillator. All on-chip resources, except for those used for external event-triggered wake-up, are powered off. Since almost all components are powered off in this mode, this mode can reduce static and dynamic power consumption components, thereby achieving the lowest power consumption.
5. Stop: As the name implies, stop mode is to cut off the power of all peripherals, even the contents of RAM and CPU registers are not retained. In PSoC 4 and other similar devices, only the state of IO pins is retained in this mode. Waking up from this mode will enter chip restart.
When analyzing the power consumption of an application, it is important to look at power consumption in all power modes.
It is important to identify the wakeup sources that can be provided in a certain mode. For example, a certain interrupt is required to wake up from sleep mode, and an I2C address match interrupt is required to wake up the device in hibernation mode. It is necessary to understand which resources work in each mode and what wakeup resources can be provided. For example, a comparator interrupt can be used as a wakeup source in the system, and an analog input can be used to wake up the system when a set threshold is exceeded. For the application shown in Figure 1, a GPIO interrupt or even a hard reset is required for wakeup because the RTC will run at any time and the controller does not need to maintain the previous state.
In hibernation and stop modes, power consumption can be as low as 100nA. As for the RTC itself, you can easily find very low power RTCs (consuming only 100-200nA). Assuming the controller is driving the LCD directly, we can assume that the LCD's off state consumes zero power.
This puts the average power consumption in the range of 300nA in the system shown in Figure 1. If we assume that the design uses a CR2032 as the power source, the battery capacity is about 225mAh. At 300nA, the battery can support 70 to 80 years of operation only if the device is always in power-off mode.
Each time a key is pressed, the controller wakes up. This increases the power consumption of the controller to the range of 500μA-1mA. Assuming the power consumption is around 1mA, the controller gets the data from the RTC and displays it on the LCD. The controller only needs a short time to perform this work, but the display needs to remain on for a long time (let's say the display is on for 10 seconds to ensure that the user can see the data). As a direct drive LCD, the controller must remain on for a long time, which means it consumes more charge. In this case, devices such as Cypress's PSoC4 provide low-power modes that allow the device to shut down all other peripherals and only run the modules required to drive the LCD. In this device, the LCD driver runs in a specific low-power mode, which is called digital correlation mode. The result is a significant reduction in current consumption.
Figure 2: Current consumption in various states
Each key press will experience the current curve shown in Figure 2. The area below the curve is the typical power consumption of a single key press. The consumed charge is calculated as follows:
Q = (1mA*1ms) + (20μA*10s)
Based on the data above, we can calculate how many key presses a given power supply can support.
The amount of time spent in active mode is important because this mode consumes the most power. One option is to keep the MCU in active mode but with a lower CPU clock speed, thereby reducing the power consumption in active mode. However, this will result in higher average power consumption because the time spent in active mode depends on the clock frequency. Since the MCU must be in active mode at this time, the power consumption depends on the time the MCU spends processing data. A faster MCU can complete the task quickly, thereby extending the time in low-power mode, which also allows the system to reduce power consumption. System designers can determine the best configuration based on system requirements.
In the next part of this series, we will take a larger system as an example and show how to reduce the average power consumption. We will also explore some system-level techniques for reducing average power consumption.
Previous article:Designing Ultra-Low-Power Embedded Applications: How to Reduce Battery Power Consumption
Next article:Designing Ultra-Low-Power Embedded Applications: Simplifying Power Domains
- Popular Resources
- Popular amplifiers
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- Zigbee protocol stack learning serial port transparent transmission experiment (SerialApp) process analysis
- STM32 boot mode configuration and application
- Ethernet PHY chip LAN8720 usage issues
- The number series problem from "Bible Code" and the python solution
- DDR3 initialization failed. Verification failed.
- Live broadcast at 10:30 this morning [Microchip Security Solutions | Wi-Fi Security for Enterprises]
- TI's board has arrived
- Motor stroboscope test
- Why is there a square on the pointer in AD's PCB interface?
- Tektronix benefits are coming: no more helpless in testing expensive power supplies!