Selecting the right microcontroller (MCU) for measurement applications has become an increasing challenge as MCUs vary in cost, peripheral design and mix, CPU architecture, and on-board integration. For portable industrial measurement applications, the most important factors are battery life, high-performance analog peripherals, and appropriate user interfaces, which determine which MCU will be the best choice for the measurement application.
Long battery life
To maximize battery life, the design must minimize average current consumption. Designers should not only consider operating parameters, but also calculate the average power consumption under all operating conditions. If the decision is made rashly, the designer may make a power usage mistake that results in excessive power consumption. Today's low-power MCUs offer multiple operating modes such as active mode, standby mode, and power-off mode. In active mode, all clocks are in operation; in standby mode, the CPU clock is inactive, but the real-time clock is running, waiting for an interrupt event to wake up the CPU; usually MCUs have different levels of standby operating modes. In power-off mode, all clocks are inactive, waiting for an interrupt event to wake up the CPU. To understand the power consumption of different operating modes, we must consider characteristics beyond the datasheet. Some datasheets give current consumption under unrealistic operating conditions. To get an accurate picture, we compare the maximum current consumption of different operating modes in the actual application environment at a specific operating voltage and operating temperature, usually 3V and 25oC for lithium-ion batteries.
Another way to extend battery life is to minimize the transition time between standby or power-off mode and active mode. Some manufacturers have introduced "on-demand" clock sources designed to provide a stable clock source immediately after an interrupt assertion.
The MCU can wake up the CPU using flag polling or interrupt vectors. Interrupt-driven architectures can significantly save power because the CPU can respond immediately to any event without wasting current to poll peripherals.
The power consumption of standby mode is lower than that of active mode. The MCU we choose must minimize the standby current of the CPU. MCUs designed for low power consumption can automatically trigger analog-to-digital conversions using timers and data without CPU intervention through direct memory access (DMA) and buffer sampling. When the CPU is idle, it can be used for other work, which helps improve system throughput. In addition, we can turn off the CPU to reduce the average power consumption of the application.
Minimizing leakage current is critical to reducing power consumption. For most portable applications, the end product is not working most of the time, so the leakage current determines the average current consumption. We need to calculate the leakage current of the entire port and ensure that the port configuration can minimize current consumption. We
should evaluate different functions in the MCU separately to understand their impact on current consumption. For example, we must be very careful when integrating undervoltage protection. Undervoltage may occur when a battery is inserted or the power supply drops below the normal power supply specification but above the ground voltage. Most MCUs have integrated undervoltage protection, but this will increase the average current consumption by 20uA to 70uA. When selecting an MCU, be careful to avoid increasing current consumption when adding protection mechanisms.
High-performance analog
When making architectural decisions, we must consider analog requirements. We must carefully study the peripherals provided by the MCU product family to ensure that it can meet various current and future needs. For example, some products in the MSP430 family include 12-bit analog-to-digital converters, 12-bit digital-to-analog converters, and low-power op amps, making them ideal for portable measurement applications. When selecting an MCU family, make sure that it offers a high-performance peripheral mix so that designers can get a future integration strategy. In addition, if there is no MCU that offers the right analog peripheral mix, we can also use external analog peripherals, after all, performance is more important than integration.
If the MCU integrates the peripherals, then we need to consider the peripheral design issues to ensure that it fully plays its inherent role in the application. Some CPUs process data more efficiently. A 16-bit MCU with a 12-bit analog-to-digital converter processes data faster than an 8-bit MCU. A 16-bit MCU can sample in one 16-bit register, while an 8-bit MCU has to process samples in two 8-bit registers.
User Interface
Another factor in the design is the efficient integration of all user interfaces required for the application, including keyboards, displays, and communication ports. The keyboard function is very simple, but the designer must ensure that the application can interrupt and efficiently process keyboard keystrokes. Liquid crystal displays (LCDs) are often used to provide feedback to the user, and they are low cost and low power. Most manufacturers customize displays to meet the designer's needs, and no matter what characters and symbols are displayed, they try to minimize the voltage used by the system and the display. When selecting an MCU, make sure that the CPU does not need to update the display regularly. Designers should understand how many segments the MCU can support and how many segments the application can support.
Communication ports are another user interface. We can use a variety of communication schemes, including I2C, RS-232, RS-485, and RF. We need to carefully consider how to implement communication technology in the MCU. We can choose software and hardware based on the required baud rate, including low-cost software solutions, but they usually take up some resources of the MCU.
The MSP430FG43x series is a good example that reflects all of the issues we have mentioned above (see Figure 1). In this example, a 12-bit analog-to-digital converter samples a high-precision voltage source sensor with a resolution of 4096 steps, and the sensor signal has been pre-amplified before sampling to meet the required dynamic range. The non-inverting input of the preamplifier is biased by a 12-bit analog-to-digital converter for precision trimming. The system is battery powered, and a supply voltage monitor (SVS) circuit resets the application when the supply voltage drops below the specified minimum voltage. An LCD display displays the measurement results to the user.
Table 1.0
Microcontroller Selection Checklist
Extended Battery Life:
Minimized power consumption in various operating modes in real-world applications
Minimum CPU wake-up time
Interrupt-driven architecture
Minimum leakage current
Peripherals can operate without CPU intervention
Functions designed to reduce power consumption (for example, no additional power consumption during brown-out reset)
High-Performance Analog:
The product family supports a different combination of high-performance peripherals
Don't sacrifice peripheral performance for integration
Use peripherals that do not consume CPU resources
Use a CPU with a higher data sampling efficiency, such as a 16-bit architecture
User Interface:
Interrupt-driven port for keyboard
Use low-power LCD display
Select hardware and software communication ports based on baud rate requirements
Figure 1. The MSP430FG43x family integrates high-performance data converters and operational amplifiers optimized for typical portable measurement applications
Reference address:Selecting a Microcontroller for Handheld Measurement Applications
Long battery life
To maximize battery life, the design must minimize average current consumption. Designers should not only consider operating parameters, but also calculate the average power consumption under all operating conditions. If the decision is made rashly, the designer may make a power usage mistake that results in excessive power consumption. Today's low-power MCUs offer multiple operating modes such as active mode, standby mode, and power-off mode. In active mode, all clocks are in operation; in standby mode, the CPU clock is inactive, but the real-time clock is running, waiting for an interrupt event to wake up the CPU; usually MCUs have different levels of standby operating modes. In power-off mode, all clocks are inactive, waiting for an interrupt event to wake up the CPU. To understand the power consumption of different operating modes, we must consider characteristics beyond the datasheet. Some datasheets give current consumption under unrealistic operating conditions. To get an accurate picture, we compare the maximum current consumption of different operating modes in the actual application environment at a specific operating voltage and operating temperature, usually 3V and 25oC for lithium-ion batteries.
Another way to extend battery life is to minimize the transition time between standby or power-off mode and active mode. Some manufacturers have introduced "on-demand" clock sources designed to provide a stable clock source immediately after an interrupt assertion.
The MCU can wake up the CPU using flag polling or interrupt vectors. Interrupt-driven architectures can significantly save power because the CPU can respond immediately to any event without wasting current to poll peripherals.
The power consumption of standby mode is lower than that of active mode. The MCU we choose must minimize the standby current of the CPU. MCUs designed for low power consumption can automatically trigger analog-to-digital conversions using timers and data without CPU intervention through direct memory access (DMA) and buffer sampling. When the CPU is idle, it can be used for other work, which helps improve system throughput. In addition, we can turn off the CPU to reduce the average power consumption of the application.
Minimizing leakage current is critical to reducing power consumption. For most portable applications, the end product is not working most of the time, so the leakage current determines the average current consumption. We need to calculate the leakage current of the entire port and ensure that the port configuration can minimize current consumption. We
should evaluate different functions in the MCU separately to understand their impact on current consumption. For example, we must be very careful when integrating undervoltage protection. Undervoltage may occur when a battery is inserted or the power supply drops below the normal power supply specification but above the ground voltage. Most MCUs have integrated undervoltage protection, but this will increase the average current consumption by 20uA to 70uA. When selecting an MCU, be careful to avoid increasing current consumption when adding protection mechanisms.
High-performance analog
When making architectural decisions, we must consider analog requirements. We must carefully study the peripherals provided by the MCU product family to ensure that it can meet various current and future needs. For example, some products in the MSP430 family include 12-bit analog-to-digital converters, 12-bit digital-to-analog converters, and low-power op amps, making them ideal for portable measurement applications. When selecting an MCU family, make sure that it offers a high-performance peripheral mix so that designers can get a future integration strategy. In addition, if there is no MCU that offers the right analog peripheral mix, we can also use external analog peripherals, after all, performance is more important than integration.
If the MCU integrates the peripherals, then we need to consider the peripheral design issues to ensure that it fully plays its inherent role in the application. Some CPUs process data more efficiently. A 16-bit MCU with a 12-bit analog-to-digital converter processes data faster than an 8-bit MCU. A 16-bit MCU can sample in one 16-bit register, while an 8-bit MCU has to process samples in two 8-bit registers.
User Interface
Another factor in the design is the efficient integration of all user interfaces required for the application, including keyboards, displays, and communication ports. The keyboard function is very simple, but the designer must ensure that the application can interrupt and efficiently process keyboard keystrokes. Liquid crystal displays (LCDs) are often used to provide feedback to the user, and they are low cost and low power. Most manufacturers customize displays to meet the designer's needs, and no matter what characters and symbols are displayed, they try to minimize the voltage used by the system and the display. When selecting an MCU, make sure that the CPU does not need to update the display regularly. Designers should understand how many segments the MCU can support and how many segments the application can support.
Communication ports are another user interface. We can use a variety of communication schemes, including I2C, RS-232, RS-485, and RF. We need to carefully consider how to implement communication technology in the MCU. We can choose software and hardware based on the required baud rate, including low-cost software solutions, but they usually take up some resources of the MCU.
The MSP430FG43x series is a good example that reflects all of the issues we have mentioned above (see Figure 1). In this example, a 12-bit analog-to-digital converter samples a high-precision voltage source sensor with a resolution of 4096 steps, and the sensor signal has been pre-amplified before sampling to meet the required dynamic range. The non-inverting input of the preamplifier is biased by a 12-bit analog-to-digital converter for precision trimming. The system is battery powered, and a supply voltage monitor (SVS) circuit resets the application when the supply voltage drops below the specified minimum voltage. An LCD display displays the measurement results to the user.
Table 1.0
Microcontroller Selection Checklist
Extended Battery Life:
Minimized power consumption in various operating modes in real-world applications
Minimum CPU wake-up time
Interrupt-driven architecture
Minimum leakage current
Peripherals can operate without CPU intervention
Functions designed to reduce power consumption (for example, no additional power consumption during brown-out reset)
High-Performance Analog:
The product family supports a different combination of high-performance peripherals
Don't sacrifice peripheral performance for integration
Use peripherals that do not consume CPU resources
Use a CPU with a higher data sampling efficiency, such as a 16-bit architecture
User Interface:
Interrupt-driven port for keyboard
Use low-power LCD display
Select hardware and software communication ports based on baud rate requirements
Figure 1. The MSP430FG43x family integrates high-performance data converters and operational amplifiers optimized for typical portable measurement applications
Previous article:DSP power management technology speeds up design progress
Next article:Selecting a Microcontroller for Handheld Measurement Applications
- Popular Resources
- Popular amplifiers
Latest Industrial Control Articles
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- CGD and Qorvo to jointly revolutionize motor control solutions
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Nidec Intelligent Motion is the first to launch an electric clutch ECU for two-wheeled vehicles
- Bosch and Tsinghua University renew cooperation agreement on artificial intelligence research to jointly promote the development of artificial intelligence in the industrial field
- GigaDevice unveils new MCU products, deeply unlocking industrial application scenarios with diversified products and solutions
- Advantech: Investing in Edge AI Innovation to Drive an Intelligent Future
- CGD and QORVO will revolutionize motor control solutions
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
- EEWORLD University Hall ---- Learn HLS with me
- I always get range check error when I import DDB files with AD09
- EEWORLD University Hall----Live Replay: TI takes you to experience the interconnected and efficient smart home solution
- Thank you all for your help. Thank you very much.
- Active RFID Design Based on MSP430 and CC1100
- I have a question about 7060 chip burning!
- Looking for a chip that drives multiple indicator lights
- Brief analysis of the application principles of common protective devices in security products
- In the LM5118 datasheet, Application and Implementation section, "Minimum load current (CCM operation) = 600mA", what does it mean?
- Autonomous low-power Tesla coil "Experimental"