Design of electronic blood pressure meter based on MSP430F149 microcontroller

Publisher:Joyful888LifeLatest update time:2010-09-18 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Introduction

The traditional instrument for measuring blood pressure is the mechanical mercury sphygmomanometer. Electronic sphygmomanometers have only appeared on the market in recent years. Compared with traditional sphygmomanometers, electronic sphygmomanometers are simple to operate and easy to use, but their accuracy and stability are often not ideal. This design strives to be accurate and stable, so that it is suitable for the elderly or patients to monitor their blood pressure at any time and for clinical medical testing.

2 System Hardware Design

This design uses Motorola's MPX53GC silicon pressure sensor and TI's MSP430F149 single-chip microcomputer as the main components to form an electronic blood pressure meter. The system structure is shown in Figure 1. The system consists of MCU, sensor, LCD display, operation panel, charging and discharging control circuit, air pump and air valve, buzzer, storage, power supply and other parts.


2.1 Microprocessor Selection

The single-chip microcomputer is the brain of the whole system. It not only monitors the system and processes the data, but also adjusts the hardware parameters by judging the measurement results, so that the system can automatically adjust to the best working state and has a certain degree of intelligence. According to the design requirements of the system, the MSP430F1 49 single-chip microcomputer of TI company is selected.

MSP430 has built-in ADC12, which is a 12-bit A/D converter with high speed and universal features. ADC12 can convert one of 8 external analog signals or one of 4 internal voltages. ADC12 has a universal sampling/holding circuit, which provides users with various choices of sampling timing. MSP430F149 microcontroller can well meet the requirements of system design.

2.2 Sensor circuit design

MPX53GC is a Motorola X-type sensor. This type of sensor is low-priced, has excellent linearity, low noise, fast response, and has temperature compensation when powered by a constant current source. The composition of the sensor circuit is shown in Figure 2. The output signal of the pressure sensor first passes through the filter circuit and then is amplified. At the same time, the microcontroller MSP430F149 will generate a 1:10 pulse width to control the sawtooth wave generator, generate a sawtooth wave and compare it with the processed pressure signal, and convert the level signal into a pulse width signal. The microcontroller MSP430F149 measures the pulse width, and then converts it into systolic pressure (SP), diastolic pressure (DP), and mean pressure (MP) through corresponding calculation processing.

2.3 Filter circuit design

In the process of blood pressure measurement, since the signal output by the sensor MPX53GC is extremely weak and mixed with high-frequency noise, if the circuit design is unreasonable, the weak signal will be drowned by the noise. Therefore, in each stage of the amplifier circuit, there should be a corresponding noise filtering or suppression circuit. In addition, the coupling of distributed capacitance and distributed inductance should be eliminated as much as possible, and shielding should be performed where necessary. As shown in Figure 3, an active low-pass filter is used to effectively weaken high-frequency noise and appropriately amplify the signal. Its frequency function can be expressed as:

Active Low Pass Filter

2.4 Design of charging and discharging control circuit

The charging and discharging circuit is also an important factor affecting the measurement accuracy. Therefore, how to control the charging and discharging valves is the key to get the best measurement results. During the measurement process, we use the single-chip microcomputer MSP430F149 to control the charging and discharging rate, and control the action of the charging and discharging valves according to the pressure. This can not only accurately control the charging and discharging rate, but also monitor the operation of the entire system. In addition, it can also avoid some accidental human injuries.

The control process is shown in Figure 4 and the inflation circuit is shown in Figure 5. During the inflation process, you can inflate a little faster and estimate the systolic and diastolic pressures to calculate the deflation rate. When the maximum value is reached, stop inflating and start to deflate slowly and evenly. During the deflation process, PWM pulse width modulation is used for control, and the pressure of the blood pressure cuff CUFF is always detected to maintain a uniform deflation rate. Finally, when the pressure is less than 20mmHg, all deflation valves are immediately opened.

Control Process

Inflatable Circuit

2.5 LCD display module design

This system uses LCD driver HT1621, which is a 128 (32 × 4) segment LCD driver that can drive multiple LCD screens. Its interface with the microcontroller is shown in Figure 6. The interface only requires four lines. The line is used to initialize the serial interface circuit and terminate the communication between MSP430F149 and HT1621. Data write/write and command write are transmitted through the data line. RD read signal, the data in the RAM is sent to the data line at the falling edge of the RD signal, so that the MSP430F149 reads the correct data between the rising edge of the RD signal and the next falling edge.

A WR is a write signal. Data, addresses and commands on the data line can be written into the HT1621 on the rising edge of a WR signal. IRQ is an optional control.

2.6 Power Module Design

The system is powered by two 1.BY batteries, which are boosted to 3.5V by the XC6382 chip to directly provide power to the system.

3 Software Design

The software part is the core of the effective operation of the entire system. The system can only work properly when the software and hardware are organically combined.

3.1 Acquisition and control program module

It completes the functions of collecting data (pressure sensor signals, key signals, etc.), controlling inflation and deflation, etc. Its program flow is shown in Figure 7.

3.2 Data processing and display module

The data processing and display module completes the digital filtering of the pressure sensor data, calculates the systolic pressure, diastolic pressure, mean pressure and pulse, and then stores the corresponding data in the EEPROM (24C256) and displays it on the LCD screen (HT1621). The program flow chart is shown in Figure 8.

4 System calibration

The measurement system needs to be calibrated, and the electronic sphygmomanometer is no exception. There is a special pressure calibration program in the software system, which is used to help the debugger to debug. The debugging process is as follows: give the system zero pressure (that is, let the sensor connect to the atmosphere), and after a period of stability, the system automatically records the pulse width at zero; then prompt the debugger to give the system a pressure of 300mmHg. At this time, the debugger should adjust the displayed value to within 16268±100, and the system is calibrated.

5 Conclusion

Through a series of analysis, research and improvement, the system design has better met our test requirements. During the measurement process, the person being measured should remain motionless, otherwise a false pulse signal may be formed due to the person's movement, and the CP signal may be changed. In order to further improve accuracy and reliability, sensor linearity, PCB board wiring, air pump and air valve selection, etc. need further research and improvement.

Reference address:Design of electronic blood pressure meter based on MSP430F149 microcontroller

Previous article:Design of intelligent monitoring system for office buildings based on MSP430F149
Next article:Basic knowledge about interface technology

Recommended ReadingLatest update time:2024-11-16 22:19

Flash reading and writing program for msp430F149 microcontroller
//Based on the flash reading and writing of msp430F149 MCU, record the running status of 430, //Restore the original operating state in case of reset and power failure. #include  msp430x14x.h #include  "function.h" unsigned char value1=0;                        // Value to be written into segment A unsigned ch
[Microcontroller]
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号