Professional Documents
Culture Documents
Digital Blood Pressure Meter: Application Note
Digital Blood Pressure Meter: Application Note
Digital Blood Pressure Meter: Application Note
+DC Offset
+5.0V
1M
R3
U1a
11
C2
3
+
Vi
0.33 µ 1
Vo
2 LM324N
-
4
R2
150k
R1
1k
33u
C1
1
2πR1C1
f
P1 =
1
2πR3C2
f
P2 =
10
-10
-20
Attenuation (dB)
-40
-60
-70
-80
0.01 0.1 1 10 100
Frequency (Hz)
The oscillation signal varies from person to person. In indicate that, the amplification factor of the amplifier is chosen
general, it varies from less than 1 mm Hg to 3 mm Hg. From to be 150 so that the amplified oscillation signal is within the
the transfer function of MPXV5050GP, this will translate to a output limit of the amplifier (5.0 mV to 3.5 V). Figure 3 shows
voltage output of 12 mV to 36 mV signal. Since the filter gives the output from the pressure sensor and Figure 4 illustrates
an attenuation of 10 dB to the 1 Hz signal, the oscillation signal the extracted oscillation signal at the output of the amplifier.
becomes 3.8 mV to 11.4 mV respectively. Experiments
AN1571
Sensors
2 Freescale Semiconductor
3
2.5
2
Vi (Volts)
1.5
Oscillation signal is extracted here
1
0.5
0
0 5 10 15 20 25 30 35 40
Time (seconds)
3.5
MAP
3
SBP
DBP
2.5
2
Vo (Volts)
1.5
0.5
0
10 15 20 25 30 35
Time (seconds)
Figure 4. Extracted Oscillation Signal at the Output of Amplifier
Referring to the schematic, Figure 5, the MPX5050GP counts is the range of the A/D converter. VRH and VRL are the
pressure sensor is connected to PORT D bit 5 and the output reference voltage inputs to the A/D converter. The resolution
of the amplifier is connected to PORT D bit 6 of the is defined by the following:
microcontroller. This port is an input to the on-chip 8-bit Count = [(VXdcr - VRL)/(VRH - VRL)] x 255
analog-to-digital (A/D) converter. The pressure sensor
provides a signal output to the microprocessor of The count at 0 mm Hg = [(0.2 - 0)/(3.8 - 0)] x 255 ≈ 14
approximately 0.2 Vdc at 0 mm Hg to 4.7 Vdc at 375 mm Hg The count at 300 mm Hg = [(3.8 - 0)/(3.8 - 0)] x 255 ≈ 255
of applied pressure whereas the amplifier provides a signal
Therefore the resolution = 255 - 14 = 241 counts. This
from 0.005 V to 3.5 V. In order to maximize the resolution,
translates to a system that will resolve to 1.24 mm Hg.
separate voltage references should be provided for the A/D
The voltage divider consisting of R5 and R6 is connected to
instead of using the 5 V supply. In this example, the input
the +5 volts powering the system. The output of the pressure
range of the A/D converter is set at approximately 0 Vdc to 3.8
sensor is ratiometric to the voltage applied to it. The pressure
Vdc. This compresses the range of the A/D converter around
sensor and the voltage divider are connected to a common
0 mm Hg to 300 mm Hg to maximize the resolution; 0 to 255
AN1571
Sensors
Freescale Semiconductor 3
supply; this yields a system that is ratiometric. By nature of this instance when the microcontroller encounters certain error
ratiometric system, variations in the voltage of the power due to improper inflation of cuff, a low frequency tone is alarm.
supplied to the system will have no effect on the system In those instance when the measurement is successful, a high
accuracy. frequency pulsation tone will be heard. Hence, different
The liquid crystal display (LCD) is directly driven from I/O musical tone can be produced to differential each condition. In
ports A, B, and C on the microcontroller. The operation of a addition, the LED is used to indicate the presence of a heart
LCD requires that the data and backplane (BP) pins must be beat during the measurement.
driven by an alternating signal. This function is provided by a The microcontroller section of the system requires certain
software routine that toggles the data and backplane at support hardware to allow it to function. The MC34064P-5
approximately a 30 Hz rate. provides an undervoltage sense function which is used to
Other than the LCD, there are two more I/O devices that are reset the microprocessor at system power-up. The 4 MHz
connected to the pulse length converter (PLM) of the crystal provides the external portion of the oscillator function
microcontroller; a buzzer and a light emitting diode (LED). The for clocking the microcontroller and provides a stable base for
buzzer, which connected to the PLMA, can produce two time based functions, for instance calculation of pulse rate.
different frequencies; 122 Hz and 1.953 kHz tones. For
AN1571
Sensors
4 Freescale Semiconductor
Sensors
R10
Freescale Semiconductor
+5.0 V
5.0 V Regulator 10M
MC78L05ACP +5.0 V X1 +5.0 V
3 Input Output 1 4MHz
R9
2
4.7k
C3
C4
GND
C5
1 Reset Input
2
22p
22p
C6
C8
100u
9.0 V Battery
0.33u GND MC34064
100n 3
+5.0 V
16 LCD5657
17 OSC1
OSC2 16 DP1
10 /RESET 18 23
+5.0 V VDD G1 37
19 G4
R5
Buzzer /IRQ 22 36
+5.0 V F1 F4
2 22
R8
100R TCAP1 21 4 35
4.7k + 36R
TCMP1 A1
Pressure Sensor 1 TCMP2 TCAP2 23 A4
MPXV5050GP 20 B1 34
B4
3
RD 50
19 7
R6
52 TDO
15k
Vs 51 SCLK C1 DP C4
1 18 6
Vout D1 D4
LED
20 8
PLMA VRH 17 3 5
GND +5.0 V 21 VRL 7 E1 E4
PLMB
2
49 PC0 PA0 31 28
48 PC1 PA1 30 L
R4 24k 47 PC2/ECLK PA2 29 40
DP L L BP
46 PC3 PA3 28 1
45 PC4 PA4 27 BP
44 PC5 PA5 26 12 2 8
43 PC6 PA6 25 DP2 DP3
+5.0 V 42 PA7 24 27 G2 32
10k
PC7
R0
G3
26 F2 DP E F 31
14 PD0/AN0 PB0 39 F3
R3
25 30
1M
13 PD1/AN1 PB1 38 A2 A3
37
11
12 PD2/AN2 PB2 24 D 1 G A 29
C2 11 PD3/AN3 PB3 36 B2 B3
3 9 PD4/AN4 PB4 35 15 C2 11
34 C B C3
5 PD5/AN5 PB5 14 10
0.33u 1 4 PD6/AN6 PB6 33 D2 D3
LM324N 32 13 9
3 PD7/AN7 PB7 E2 E3
2 330u
C7 MC68HC05B16CFN
4
+5.0 V
R2
150k
R1
C1
33u
5
AN1571
SOFTWARE DESCRIPTION amplifier. When the subroutine TAKE senses a decrease in
CP for a continuous duration of more than 0.75 seconds, the
Upon system power-up, the user needs to manually pump
microcontroller will then assume that the user is no longer
the cuff pressure to approximately 160 mm Hg or 30 mm Hg
pumping the bulb and starts to analyze the oscillation signal.
above the previous SBP. During the pumping of the inflation
Figure 6 shows zoom-in view of a pulse.
bulb, the microcontroller ignores the signal at the output of the
450 ms
VO (volt)
1.75
Premature Pulse
First of all, the threshold level of a valid pulse is set to be microcontroller for this blood pressure meter design in this
1.75 V to eliminate noise or spike. As soon as the amplitude project.
of a pulse is identified, the microcontroller will ignore the signal • On-chip ROM space: 2 kilobytes
for 450 ms to prevent any false identification due to the • On-chip RAM space: 150 bytes
presence of premature pulse "overshoot" due to oscillation.
• 2-channel A/D converter (min.)
Hence, this algorithm can only detect pulse rate which is less
than 133 beats per minute. Next, the amplitudes of all the • 16-bit free running counter timer
pulses detected are stored in the RAM for further analysis. If • LCD driver
the microcontroller senses a non-typical oscillation envelope • On-chip EEPROM space: 32 bytes
shape, an error message (“Err”) is output to the LCD. The user • Power saving Stop and Wait modes
will have to exhaust all the pressure in the cuff before re-
pumping the CP to the next higher value. The algorithm CONCLUSION
ensures that the user exhausts all the air present in the cuff
before allowing any re-pumping. Otherwise, the venous blood This circuit design concept may be used to evaluate
trapped in the distal arm may affect the next measurement. Freescale pressure sensors used in the digital blood pressure
Therefore, the user has to reduce the pressure in the cuff as meter. This basic circuit may be easily modified to provide
soon as possible in order for the arm to recover. Figure 7 on suitable output signal level. The software may also be easily
the following page is a flowchart for the program that controls modified to provide better analysis of the SBP and DBP of a
the system. person.
AN1571
Sensors
6 Freescale Semiconductor
Main Program
Initialization
Clear I/O ports
Y Repump?
AN1571
Sensors
Freescale Semiconductor 7
How to Reach Us:
Home Page:
www.freescale.com
E-mail:
support@freescale.com
AN1571
Rev. 1
05/2005