Hello! Welcome to Embedic!
This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > Embedded Events > MSP430 Low Power Consumption Principle and its Application of Sea Temperature Measurement

MSP430 Low Power Consumption Principle and its Application of Sea Temperature Measurement

Date: 23-11-2022 ClickCount: 73

The MSP430 series MCU is a 16-bit ultra-low power hybrid MCU with a simplified instruction set. One of the biggest advantages of using MSP430 series microcontrollers is that it has low power consumption and high integration, which is very suitable for battery-powered and space-constrained working environments and portable applications.

 

 

1 Low power consumption principle and working mode of MSP430 series MCU

 

1.1 Principle of low power consumption

MSP430 series microcontrollers can have very low power consumption, which is determined by its structural characteristics.

Here's the list of the MSP430 MCU product>>

 

1.1.1 Flexible Clock Signals

MSP430 series microcontrollers provide different clock signals for the system, and users can choose the appropriate system clock according to actual needs. The clock module of MSP430 is composed of high-speed crystal oscillator, low-speed crystal oscillator, digitally controlled oscillator DCO, frequency-locked loop FLL and frequency-locked loop enhanced version FLL+ and other components.

 

MSP430 series microcontrollers output 3 clock signals with different frequencies: ACLK (auxiliary clock), MCLK (main system clock), SMCLK (subsystem clock). The clock module of MSP430F4XX series MCU is taken as an example to introduce below.

 

The clock module of MSP430F4XX series MCU has 3 clock sources: LFXT1CLK, XT2CLK, DCOCLK. LFXT1CLK is a low-frequency clock; XT2CLK is a high-frequency clock; DCOCLK is an on-chip digitally controlled RC oscillator, which is often used as a clock signal for systems and peripherals, and its stability can be controlled by FLL+ hardware.

 

The structure of the MSP430F4XX series microcontroller clock module is shown in Figure 1. ACLK comes from LFXT1CLK, which can be selected by software as the clock signal of each peripheral module. It is generally used for low-speed peripherals. After ACLK is divided by 1, 2, 4, and 8, it is used by external circuits to ensure that the clock systems of MSP430F4XX and MSP430F1XX are compatible; MCLK can be selected by software from one of LFXT1CLK, XT2CLK, DCOC-LK, and then obtained by 1, 2, 4, 8 frequency division, mainly used for CPU and system; SMCLK can be selected by software from XT2CLK or DCOCLK, mainly used for high speed Peripheral modules. According to different application requirements and system conditions, the user can select low frequency or high frequency through the program, and three different frequency clocks are output to different modules, so as to make reasonable use of the system voltage and achieve low power consumption of the entire system.

 

msp430f4xx

DCOCLK can be used as MCLK and SMCLK, but because the frequency of RC oscillator DCO will vary with temperature and voltage, the output frequency will be unstable. The clock module of MSP430F4XX series single-chip microcomputer applies the enhanced frequency-locked loop technology FLL+, which can stabilize the frequency of DCOCLK through the automatic adjustment of frequency integrator and modulator, and realizes the automatic adjustment of DCO frequency by hardware. The clock module of MSP430F1XX series single-chip microcomputer You need to adjust the DCO frequency by software.

 

1.1.2 Completely independent peripheral modules

 

Each module of the MSP430 series single-chip microcomputer runs completely independently, and the timer, A/D converter, etc. can run independently in the state of CPU sleep, thereby reducing the power consumption of the system when it is working. For example, the output of a square wave is realized in two ways.

 

Method 1 is the method commonly used by single-chip microcomputers, using the CPU to control the output port to achieve alternate conversion of high and low levels. In this way, the CPU is always working. The procedure of mode 1 is as follows:

Mode 2 Use the automatic flip mode of the MSP430 external module timer A1 to realize the alternate conversion of high and low levels. In this way, after the CPU sets the working mode of the timer A1, the waveform is controlled by the output of the timer A1, without the participation of the CPU at all, and the CPU can sleep, which reduces the power consumption of the system. The procedure of mode 2 is as follows:

1.1.3 Response characteristics of instant wake-up

 

Under normal circumstances, the software sets the CPU to a certain low power consumption mode, uses an interrupt to wake up the CPU from the dormant state when needed, and enters the corresponding dormant state after completing the work. MSP430 can wake up the CPU in a very short time, thereby shortening the active time of the CPU and reducing power consumption. The MSP430F4XX family of DCO oscillators has a response time of less than 6 μs to support long sleep cycles and burst event execution.

 

1.2 Working mode

 

MSP430 series microcontrollers provide 6 different working modes: active mode (AM), low power mode 0 (LPM0), low power mode 1 (LPM1), low power mode 2 (LPM2), low power mode 3 ( LPM3), Low Power Mode 4 (LPM4). Which work mode to choose is controlled by the SCG0, SCG1, OscOff and CPUOFF bits in the CPU status register SR. By setting the control bit MSP430 can enter the corresponding low power consumption mode from the active mode, and various low power consumption modes can return to the active mode by interrupting. In various working modes, the three clock active states generated by the clock system are different. Table 1 shows the relationship between various working modes, control bits and active states of the three clocks.

 

working modes of msp430

 

Figure 2 shows the power consumption of various operating modes when the voltage is 3 V and the cycle is 1 μs. It can be seen that the power consumption in the LPM4 working mode is quite low.

 

lpm4

 

Flexible clock signals, completely independent peripheral modules and instantaneous response characteristics enable the MSP430 series microcontrollers to configure different working modes through software settings, switch different working modes through interrupts, and the CPU and each module can be in the lowest power consumption state. normal work.

 

2 Application in SST measurement

 

As an important ocean hydrological parameter, temperature measurement has special significance in ocean monitoring, development and application, and scientific research. For this reason, various forms of seawater temperature measuring instruments have been designed. At present, there are various means of obtaining seawater temperature information, such as satellites, aircraft, ships, buoys, shore-based monitoring stations, fixed offshore platforms, volunteer ships, etc. Among them, the disposable seawater temperature detection system can quickly obtain real-time data of seawater temperature, has good mobility, and is convenient for networking. The discarded temperature measuring device needs to complete the collection and transmission of sea temperature data in the ocean alone, relying on its own battery for power supply. At this time, the power consumption of the system is particularly important. Therefore, the ultra-low power consumption MSP430 microcontroller is used to design the temperature acquisition system of the disposable temperature measuring device.

 

2.1 Design scheme

 

The system uses MSP430F4794 as a microprocessor to simultaneously complete data acquisition and processing tasks. NTC thermistor RT is used as the front-end temperature sensor, and its outstanding features are high sensitivity and fast response. Use 3 standard precision metal film resistors R1, R2, R3 and NTC thermistor RT to form a temperature measuring bridge, which is used to stimulate the differential voltage signal of the thermistor.

 

Use the built-in SD16_A (enhanced 16-bit ∑-△A/D converter) module inside the MSP430F4794 chip for analog/digital conversion. The differential signal sent from the front-end temperature sensor first passes through

 

The built-in input buffer of MSP430F4794 can avoid the measurement error caused by direct access to the program-controlled amplifier; after the input buffer, the program-controlled amplifier will differentially amplify the signal, and then send it to SD16_A; finally, the converted data will be stored in 16-bit A/ D converts the dedicated data memory to complete a data collection. The collected data is sent to the calculator for calculation, and finally the seawater temperature measurement result is obtained.

 

The MSP430F4794 chip has a low-temperature drift of 18 ppm and a reference voltage of 1.2 V. It is used to provide a voltage reference for the temperature measuring bridge and SD16_A at the same time to form a ratio measurement system, which can effectively eliminate the drift error in the measurement system. The schematic diagram of the system scheme is shown in Figure 3.

 

msp430f4794

2.2 Low power consumption design of the system

 

2.2.1 Low power consumption design of hardware

The system has chosen the processor MSP430F4794 of low power consumption. MSP430F4794 is MSP430 4 series single-chip microcomputer, the working voltage is 1.8 ~ 3.6 V; when the working voltage is 2.2 V and the frequency is 1 MHz, the current in active mode is 280 μA, and the current in standby mode is 1.1 μA; the time from standby to wake-up No more than 6μs.

 

The crystal oscillator of 32768 Hz and 4 MHz is used as the clock input. When the system is in the temperature collection or communication state, the high frequency clock is used to obtain a higher processing speed. When the system is in the standby state, the low frequency clock is used to reduce the system power consumption. In this way, the contradiction between operating frequency and power consumption in the battery-powered low-current application system is better resolved.

 

Select low supply voltage and low power consumption peripheral devices to reduce power consumption. The system is powered by CR2032 battery; the ultra-low power consumption LDO chip AS1360 is used for power management; the low power consumption segment liquid crystal display LCD048 is selected.

 

2.2.2 Low power consumption design of software

 

Make full use of a variety of low-power operating modes provided by MSP430 in program design. When the temperature is collected, the system is converted from the active mode to the LPM0 working mode, and the CPU is in a dormant state, allowing the A/D converter to work independently. When the temperature is not collected, the system is in standby mode and enters the LPM3 working mode. When work is required, an interrupt occurs to wake up the CPU, and then enters a low-power mode after processing.

 

In this way, the system usually runs in the LPM3 working mode, which is also called sleep mode, and it is a working mode with the lowest power consumption while keeping the real-time clock active. Through the flexible conversion between various modes, the purpose of reducing system power consumption is realized. 

 

3 Conclusion

 

With the rapid development of portable, low-power intelligent instruments and meters, microprocessors with low power consumption, high integration, good analog characteristics, and strong processing capabilities are required. MSP430 series microcontrollers meet such needs. The seawater temperature acquisition system designed using MSP430F4794 as a microprocessor can adapt to the seawater temperature measurement working environment with limited space and battery power supply. The temperature measurement system has been modified to obtain other ocean hydrological parameters such as salinity and waves of seawater, which has the significance of popularization and application.

 

  • Difference between Microprocessor and Microcontroller 2022
  • [2022] What is a Microcontroller: Definition, Composition and Classification

Hot Products

  • SM320VC5416HFGW10

    Manufacturer: Texas Instruments

    CI DSP FIXED-POINT 164CFP

    Product Categories: DSP

    Lifecycle:

    RoHS:

  • TMX320DM8168ACYG

    Manufacturer: Texas Instruments

    IC DGTL MEDIA PROCESSR 1031FCBGA

    Product Categories: DSP

    Lifecycle:

    RoHS:

  • TMS320C6745BPTP4

    Manufacturer: Texas Instruments

    IC DSP FIX/FLOAT POINT 176HLQFP

    Product Categories: DSP

    Lifecycle:

    RoHS:

  • TMX320C6672CYP5

    Manufacturer: Texas Instruments

    IC DSP FIX/FLOAT POINT 841FCBGA

    Product Categories: DSP

    Lifecycle:

    RoHS:

Customer Comments

  • Looking forward to your comment

  • Comment

    Verification Code * 

Compare products

Compare Empty