For most single-chip microcomputer systems, due to the high speed of single-chip microcomputers, single-chip microcomputers have a lot of idle waiting time during operation. In some cases, the waiting time of the system can even reach more than 95% of the total working time. During the waiting process, the single-chip microcomputer does not do any work, but just waits in steps, or judges whether there are new external requests in a loop. In this process, most of the circuits inside the single-chip microcomputer can be operated in a dormant state, which can greatly reduce the power consumption of the single-chip microcomputer. At the same time, the relevant external circuits can also be operated in a dormant state, which greatly reduces the power supply of the entire product. This non-continuous working characteristic of the product is the basic idea of micro-power design. In addition, more design details should be considered according to the characteristics of the product.
Choosing a suitable CPU chip is the key to micro-power design.
There are many types of single-chip microcomputers at present, and most of them are aimed at a specific application. The appropriate single-chip microcomputer can be selected according to the specific application situation. In applications that require micro-power design, you can choose according to the following rules:
1. Choose a single-chip microcomputer that minimizes external circuits as much as possible. With the rapid development of integrated circuit process technology, truly single-chip single-chip microcomputer systems have gradually become mainstream products.
2. Pay attention to comparing the working current and the static current. Due to different processes, the internal working current and static current of the microcontroller are not the same, and some are even very different. When choosing a microcontroller, not only its working current should be considered, but also its static current in the sleep state should be carefully considered.
3. Through comparison, it can be seen that the use of a dedicated low-power microcontroller can control its power consumption more flexibly, and make it work in the most power-saving mode as much as possible under the premise of meeting the design requirements.
4. Choose the right ROM and RAM. Generally speaking, the larger the memory, the greater the power consumption. Under the condition of meeting the design requirements, use the ROM and RAM inside the microcontroller as much as possible.
5. Choose the right working clock frequency. At a lower clock frequency, the power consumption of the microcontroller is also lower. Taking MSP430F1121 as an example, when working at a main frequency of 1MHz, the typical current consumption is 300uA; and when working at a main frequency of 4096Hz, its current is only 3uA.
6. Choose the right number of IO pins, and the right IO drive capability and display drive capability. The more IO pins driven by the microcontroller, the greater its power consumption.
7. Selecting a suitable MCU to achieve true monolithicization can save a lot of hardware development and debugging work, improve work efficiency, and significantly improve the reliability and anti-interference ability of the system. At the same time, it reduces the cost of the system, making it more suitable for miniaturization and portability, and plays a decisive role in reducing system power consumption.
Low-power design strategy
a. Make the internal circuit work selectively
Generally, not all the internal circuits of the MCU are used in the design, and those circuits that are not used will generate additional power consumption. In applications that require micro-power design, different functional modules can be selected by programming the internal special function registers, and the unused functional modules can be stopped to reduce the invalid power consumption of the system.
b. The low-voltage design of the product can reduce the power consumption of the product
Generally, the higher the working voltage of the MCU, the longer the internal transistor works in the amplification area, and the greater the power consumption of the MCU. Due to the use of advanced chip production technology, the voltage range of the MCU is generally very wide, such as being able to work normally within the power supply voltage range of 1.8V to 5V. In order to reduce system power consumption, low-voltage design can be used as much as possible.
The relaxation of the microcontroller power supply voltage range can further broaden the application field of microcontrollers, especially in portable or handheld devices, where batteries can be used as power sources without worrying about whether the voltage curve during the discharge process is balanced or whether it will affect the normal operation of the microcontroller under low voltage. There is no need to add a voltage stabilization circuit specifically for battery power supply, which can reduce a lot of power consumption.
c. In idle state, use a low-speed clock signal.
The power consumption of a microcontroller is proportional to its operating frequency. The higher the system operating frequency, the greater the power consumption. Figure 1 shows the relationship between the current on the Vcc of Philips' 80C31 microcontroller and the main clock frequency. It can be seen that as the main clock frequency of the microcontroller increases, the current on its Vcc also increases linearly, and its power consumption also increases with the increase of the main clock frequency.
In order to better reduce power consumption, two independent clock systems are integrated inside many microcontrollers, namely a high-speed main clock and a low-speed sub-clock. When high-speed operation is not required, a low-speed sub-clock can be selected to maintain the basic internal timing requirements. The main clock of some microcontrollers can also be reset through the function register. When the functional requirements are met, the main clock frequency can be reduced by a certain proportion to reduce power consumption. During the program running, the clock frequency can be changed online by assigning values to the special function registers through software, or the main clock and sub-clock can be switched.
d. Work in sleep mode as much as possible
. In order to reduce power consumption, microcontrollers usually provide multiple working modes. When they are idle, they enter the sleep mode. When an event raises an interrupt request, they can quickly return to the normal operation mode. This can ensure system power saving without affecting normal operation.
Different microcontrollers have different working modes. For example, the 51 series microcontrollers have idle mode and power-down mode. In different working modes, some functional modules in the microcontroller kernel will be set to sleep state. For example, the MSP430 series microcontrollers have 6 different working modes. Except for one normal operating mode (active mode), the other five are low-power modes. In these modes, the CPU, internal clock, internal bus, and even the internal crystal oscillator can be turned off to minimize the power consumption of the microcontroller. Only when an interrupt request or reset occurs, the system is awakened and enters the normal operation mode.
Micro-power design of external circuits
The micro-power design of the microcontroller peripheral circuit is very complex and is also very important for the overall power consumption of the product. Complex and large peripheral circuits will bring great power consumption. Therefore, external circuits should be used as little as possible and the internal resources of the microcontroller should be used as much as possible.
As a battery-powered device, its static power consumption is preferably a few microamperes to tens of microamperes. Since this part of the current is added to the device in the standby state, it is a constant power supply current, which will cause a lot of power waste when the system is not working. Therefore, in the design, the external circuit should be minimized and the part of the external circuit that needs to be powered in the static state should be reduced. At the same time, the following issues need to be considered:
1. Other devices other than the microcontroller in the system should use devices with low static power consumption as much as possible, such as CMOS chips as much as possible, and use less bipolar transistor gate circuits, because bipolar circuits require a constant maintenance current, which increases the static power consumption of the circuit.
2. According to the requirements of the chip, connect the unused pins to the ground or high level, and the floating input pins will increase the static current of the chip.
3. Use as few pull-up or pull-down resistors as possible on IO pins, as these resistors will consume a certain amount of static current.
4. The analog part of data acquisition can be designed with a rail-to-rail BiCMOS operational amplifier, such as LMV824, which can be used to replace LM324. The power supply can be as low as 2.5V, the unit bandwidth can reach 5MHz, and it is only 250μA/channel.
5. Design the power control circuit of the external device so that the external device or equipment can be turned off when not working, reducing invalid power consumption. The price of low-power devices is generally slightly higher. If the price allows, you can usually find corresponding low-voltage, low-power alternatives.
6. Use more voltage drive circuits and less current drive circuits. For example, to display the operation results, current status or control information, there are usually two options: LCD display and LED display. When using LCD output, the current is generally only a few microamperes; while using LED will have a current of tens of milliamperes.
Choosing a suitable CPU chip is the key to micro-power design.
There are many types of single-chip microcomputers at present, and most of them are aimed at a specific application. The appropriate single-chip microcomputer can be selected according to the specific application situation. In applications that require micro-power design, you can choose according to the following rules:
1. Choose a single-chip microcomputer that minimizes external circuits as much as possible. With the rapid development of integrated circuit process technology, truly single-chip single-chip microcomputer systems have gradually become mainstream products.
2. Pay attention to comparing the working current and the static current. Due to different processes, the internal working current and static current of the microcontroller are not the same, and some are even very different. When choosing a microcontroller, not only its working current should be considered, but also its static current in the sleep state should be carefully considered.
3. Through comparison, it can be seen that the use of a dedicated low-power microcontroller can control its power consumption more flexibly, and make it work in the most power-saving mode as much as possible under the premise of meeting the design requirements.
4. Choose the right ROM and RAM. Generally speaking, the larger the memory, the greater the power consumption. Under the condition of meeting the design requirements, use the ROM and RAM inside the microcontroller as much as possible.
5. Choose the right working clock frequency. At a lower clock frequency, the power consumption of the microcontroller is also lower. Taking MSP430F1121 as an example, when working at a main frequency of 1MHz, the typical current consumption is 300uA; and when working at a main frequency of 4096Hz, its current is only 3uA.
6. Choose the right number of IO pins, and the right IO drive capability and display drive capability. The more IO pins driven by the microcontroller, the greater its power consumption.
7. Selecting a suitable MCU to achieve true monolithicization can save a lot of hardware development and debugging work, improve work efficiency, and significantly improve the reliability and anti-interference ability of the system. At the same time, it reduces the cost of the system, making it more suitable for miniaturization and portability, and plays a decisive role in reducing system power consumption.
Low-power design strategy
a. Make the internal circuit work selectively
Generally, not all the internal circuits of the MCU are used in the design, and those circuits that are not used will generate additional power consumption. In applications that require micro-power design, different functional modules can be selected by programming the internal special function registers, and the unused functional modules can be stopped to reduce the invalid power consumption of the system.
b. The low-voltage design of the product can reduce the power consumption of the product
Generally, the higher the working voltage of the MCU, the longer the internal transistor works in the amplification area, and the greater the power consumption of the MCU. Due to the use of advanced chip production technology, the voltage range of the MCU is generally very wide, such as being able to work normally within the power supply voltage range of 1.8V to 5V. In order to reduce system power consumption, low-voltage design can be used as much as possible.
The relaxation of the microcontroller power supply voltage range can further broaden the application field of microcontrollers, especially in portable or handheld devices, where batteries can be used as power sources without worrying about whether the voltage curve during the discharge process is balanced or whether it will affect the normal operation of the microcontroller under low voltage. There is no need to add a voltage stabilization circuit specifically for battery power supply, which can reduce a lot of power consumption.
c. In idle state, use a low-speed clock signal.
The power consumption of a microcontroller is proportional to its operating frequency. The higher the system operating frequency, the greater the power consumption. Figure 1 shows the relationship between the current on the Vcc of Philips' 80C31 microcontroller and the main clock frequency. It can be seen that as the main clock frequency of the microcontroller increases, the current on its Vcc also increases linearly, and its power consumption also increases with the increase of the main clock frequency.
In order to better reduce power consumption, two independent clock systems are integrated inside many microcontrollers, namely a high-speed main clock and a low-speed sub-clock. When high-speed operation is not required, a low-speed sub-clock can be selected to maintain the basic internal timing requirements. The main clock of some microcontrollers can also be reset through the function register. When the functional requirements are met, the main clock frequency can be reduced by a certain proportion to reduce power consumption. During the program running, the clock frequency can be changed online by assigning values to the special function registers through software, or the main clock and sub-clock can be switched.
d. Work in sleep mode as much as possible
. In order to reduce power consumption, microcontrollers usually provide multiple working modes. When they are idle, they enter the sleep mode. When an event raises an interrupt request, they can quickly return to the normal operation mode. This can ensure system power saving without affecting normal operation.
Different microcontrollers have different working modes. For example, the 51 series microcontrollers have idle mode and power-down mode. In different working modes, some functional modules in the microcontroller kernel will be set to sleep state. For example, the MSP430 series microcontrollers have 6 different working modes. Except for one normal operating mode (active mode), the other five are low-power modes. In these modes, the CPU, internal clock, internal bus, and even the internal crystal oscillator can be turned off to minimize the power consumption of the microcontroller. Only when an interrupt request or reset occurs, the system is awakened and enters the normal operation mode.
Micro-power design of external circuits
The micro-power design of the microcontroller peripheral circuit is very complex and is also very important for the overall power consumption of the product. Complex and large peripheral circuits will bring great power consumption. Therefore, external circuits should be used as little as possible and the internal resources of the microcontroller should be used as much as possible.
As a battery-powered device, its static power consumption is preferably a few microamperes to tens of microamperes. Since this part of the current is added to the device in the standby state, it is a constant power supply current, which will cause a lot of power waste when the system is not working. Therefore, in the design, the external circuit should be minimized and the part of the external circuit that needs to be powered in the static state should be reduced. At the same time, the following issues need to be considered:
1. Other devices other than the microcontroller in the system should use devices with low static power consumption as much as possible, such as CMOS chips as much as possible, and use less bipolar transistor gate circuits, because bipolar circuits require a constant maintenance current, which increases the static power consumption of the circuit.
2. According to the requirements of the chip, connect the unused pins to the ground or high level, and the floating input pins will increase the static current of the chip.
3. Use as few pull-up or pull-down resistors as possible on IO pins, as these resistors will consume a certain amount of static current.
4. The analog part of data acquisition can be designed with a rail-to-rail BiCMOS operational amplifier, such as LMV824, which can be used to replace LM324. The power supply can be as low as 2.5V, the unit bandwidth can reach 5MHz, and it is only 250μA/channel.
5. Design the power control circuit of the external device so that the external device or equipment can be turned off when not working, reducing invalid power consumption. The price of low-power devices is generally slightly higher. If the price allows, you can usually find corresponding low-voltage, low-power alternatives.
6. Use more voltage drive circuits and less current drive circuits. For example, to display the operation results, current status or control information, there are usually two options: LCD display and LED display. When using LCD output, the current is generally only a few microamperes; while using LED will have a current of tens of milliamperes.
Previous article:A method for realizing battery capacity meter
Next article:Using Sn-based negative electrode and iron-based positive electrode materials to significantly improve battery performance
Recommended Content
Latest Power Management Articles
- 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
MoreSelected Circuit Diagrams
MorePopular Articles
- 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
MoreDaily News
- 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!
- 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
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
Guess you like
- Task stack overflow detection mechanism in FreeRTOS
- GaN RF Circuits and Applications
- How to quickly learn to use a chip?
- Lei Jun lost the 1 billion bet with Dong Mingzhu. It seems that the typhoon still can't blow up the pigs.
- The pad is 0.3mm/center distance is 0.5mm and the wire cannot come out
- C2000 Code Generation Tools - Compiler
- The CC3200 LaunchPad crashed before I even got it warm?
- TMS320F28377S Study Notes 3 Building a fully portable CCS9.3 project
- ESP32-S2 development pitfalls (3) -- porting littlevgl
- Recruiting part-time lecturers in motor control related majors