The information in this publication has been carefully
checked and is believed to be entirely accurate at the
time of publication. Samsung assumes no
responsibility, however, for possible errors or
omissions, or for any consequences resulting from the
use of the information contained herein.
Samsung reserves the right to make changes in its
products or product specifications with the intent to
improve function or design at any time and without
notice and is not required to update this
documentation to reflect such changes.
This publication does not convey to a purchaser of
semiconductor devices described herein any license
under the patent rights of Samsung or others.
Samsung makes no warranty, representation, or
guarantee regarding the suitability of its products for
any particular purpose, nor does Samsung assume
any liability arising out of the application or use of any
product or circuit and specifically disclaims any and all
liability, including without limitation any consequential
or incidental damages.
"Typical" parameters can and do vary in different
applications. All operating parameters, including
"Typicals" must be validated for each customer
application by the customer's technical experts.
Samsung products are not designed, intended, or
authorized for use as components in systems intended
for surgical implant into the body, for other
applications intended to support or sustain life, or for
any other application in which the failure of the
Samsung product could create a situation where
personal injury or death may occur.
Should the Buyer purchase or use a Samsung product
for any such unintended or unauthorized application,
the Buyer shall indemnify and hold Samsung and its
officers, employees, subsidiaries, affiliates, and
distributors harmless against all claims, costs,
damages, expenses, and reasonable attorney fees
arising out of, either directly or indirectly, any claim of
personal injury or death that may be associated with
such unintended or unauthorized use, even if such
claim alleges that Samsung was negligent regarding
the design or manufacture of said product.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in
any form or by any means, electric or mechanical, by photocopying, recording, or otherwise, without the prior
written consent of Samsung Electronics.
Samsung Electronics Co., Ltd.
San #24 Nongseo-Dong, Giheung-Gu
Yongin-City, Gyeonggi-Do, Korea 446-711
Contact Us: younghee46.won@samsung.com
TEL: (82)-(31)-209-3865
FAX: (82)-(31)-209-6494
Home Page: http://www.samsungsemi.com
Revision History
Revision No. Date Description Author(s)
0.00 June 17, 2010 - Initial draft Xu Hui
Table of Contents
1 OVERVIEW OF ARM BLOOD PRESSURE MONITOR...................................8
1.1 KEY Features of ARM Blood Pressure Monitor...........................................................................................9
1.2 System Block Diagram...............................................................................................................................10
1.3 Principles of Electronic Blood Pressure Monitor........................................................................................10
1.4 Process of Blood Measurement in Blood Pressure Monitor ......................................................................11
2.1 Analog Signal Processing ..........................................................................................................................13
2.1.1 Introduction to MPS-3117 Pressure Sensor.......................................................................................14
2.1.2 Constant Current Driver Circuit ..........................................................................................................14
2.2.4 Battery Voltage Detect........................................................................................................................24
2.2.5 I2C Device: EEPROM and Real Time Clock......................................................................................25
2.3 Pump Motor Driver Circuit..........................................................................................................................26
2.4 Valve Motor Driver circuit...........................................................................................................................27
2.5 Buzzer Enable and Driver Circuit...............................................................................................................28
2.6 Power Supply Circuit..................................................................................................................................29
3.2 Battery Voltage Detect ...............................................................................................................................31
3.4 EEPROM Write and Read Operations.......................................................................................................37
3.5 Interrupt Service Subroutine ......................................................................................................................38
6.1 Test Environment.......................................................................................................................................48
6.2 Final Measurement Environment Setting...................................................................................................49
6.3 Test Result .................................................................................................................................................50
7 APPENDIX 1: BILL OF MATERIALS ............................................................51
Figure 3-9 User Button (Start, Up/Down, Delete, Unit, Save, External INT4-7) ISR Flow Chart.........................41
Figure 4-1 Schematic of Analog Board ................................................................................................................42
Figure 4-2 Schematic of Main Board....................................................................................................................43
Figure 5-1 Main Board and Analog Board PCB Assembly (Top Layer)...............................................................44
Figure 5-2 Main Board and Analog Board PCB Assembly (Bottom Layer) .........................................................45
Figure 5-3 Main Board and Analog Board PCB (Top Layer) ...............................................................................45
Figure 5-4 Main Board PCB (Bottom Layer) ........................................................................................................46
Figure 5-5 Final Implementation of Blood Pressure Monitor (Main Board)..........................................................47
Figure 5-6 Final Implementation of Blood Pressure Monitor (Analog Board) ......................................................47
Figure 6-1 Final Measurement Environment Setting ...........................................................................................49
Table 7-1 Bill of Main Board Materials .................................................................................................................51
Table 7-2 Bill of Analog Board Materials..............................................................................................................53
This application note describes an arm blood pressure monitor (BPM) based on Samsung's S3P8245
microcontroller. The reference design is intended for novices, who are not familiar with blood pressure monitor
system design. You can modify the design to build more complicated applications.
With rising living standards and increase in ageing among people, medical testing equipments have become
necessity for families. For instance, home blood pressure equipments have become increasingly popular with the
Chinese families.
Usually, these equipments are of two types:
•First is the Mercury sphygmomanometer. The main advantage of such equipment lies in its numerical stability.
However, the disadvantages include: patients cannot measure themselves if they are alone; the equipment
must be operated by healthcare professionals. This equipment can also result in significant visual observation
error. The measurement results can be different, depending on the doctor's experience and criterion, so it can
lead to subjectivity. The Mercury sphygmomanometer is bulky and not easy to carry (not portable).
•Second is the electronic Blood Pressure Monitor (BPM). The main advantage of such equipment include:
ease of use; patients without any professional training can also use this equipment. It is easy to record the
measured values with this equipment. Besides, it is lightweight and portable. Due to its advantages, more
families are using this equipment. From 2007 to 2010 alone, China's annual demand for electronic blood
pressure monitor grew to 350 million units.
Electronic blood pressure monitor are of two types:
BT +6V : Battery +6 V
Power Mana. : Power Management
Cons. Cur. Driver : Constant Current Driver
Start But. : User Button
Power But. : User Button
RTC :
Real Timer Clock
: Not used
Cons. Cur .
Driver
2nd Order
HPF : 0 .8Hz
Amplifier
11 x
(Start)
(Power ON/OFF)
10 MHz
32. 768 KHz
Battery Vol .CPU
Pressure
Sensor
V+V-
Diff - Amp
Analog Board V 1 . 0
2 nd Order
LPF : 38Hz
ADC2
ADC0
ADC1
BT
+6V
OSC
ADC
INT0
Pulse Rate
Trigger
Power Mana .
+5V
S3P8245
ROM
SIO
RAM
Ext. INT
INT1 INT2
Start
But .
EEPROM
3
I/OPWR
LCD
T1
TB
BUZ
INT4-INT7
Power
But .
Main Board V 2 .1
2
RTC
4
19 SEG * 4 COM
19
M
M
Other
User Button
LCD Screen
Pump
Motor
Valve
Motor
Figure 1-2 System Block Diagram
1.3 Principles of Electronic Blood Pressure Monitor
Typically, blood pressure can be described as systolic blood pressure (SBP) and diastolic blood pressure (DBP).
•Systolic blood pressure (SBP): The blood pressure is measured at the time of heart contraction, that is, when
blood hits the blood vessels.
•Diastolic blood pressure (DBP): The blood pressure is measured when the heart does not contract. If the cuff
pressure is equal to the blood pressure, blood begins to flow and produces a "cuff" sound. The blood pressure
is measured at this point (SBP). Once the cuff sound weakens, it gradually disappears. The blood pressure is
measured again at this point (DBP).
1.4 Process of Blood Measurement in Blood Pressure Monitor
• The process of blood pressure measurement in the blood pressure monitor is described as follows:
• When the patient presses the Start button, the microcontroller opens the inflatable pump motor.
• The BPM system inflates up to 200mmHg. After reaching this value, it slowly deflates with the speed of
5mmHg per second.
• The pressure sensor outputs a signal through differential amplifier.
− One part of signal goes to the ADC0 channel to monitor the DC component of blood pressure signal.
− Other part goes to 0.8Hz second order high-pass filter to remove the DC component.
− Rest of the AC component of 11x amplification is inputted to the 38Hz second order low-pass filter (to filter
power and skin friction with the cuff of high-frequency noise and frequency interference, and to adjust the
signal in the range of 0 to 5V).
− One part of the filtered AC signal is sent to the pulse rate trigger circuit for generating trigger pulses that
starts the ADC module operation.
− Other part is sent to the ADC1 channel for calculating the amplitude of AC signal.
• Find the maximum peak-to-peak amplitude. Mark this point as MAP point.
• Before MAP point, determine the value that is the closest to 0.54*MAP. The corresponding DC component
value of this transient position specifies the systolic blood pressure (SBP) value.
•After MAP point, determine the point whose value is closest to 0.72*MAP. The corresponding DC component
value specifies the diastolic blood pressure (DBP) value.
•By using the internal timer to measure the interval between every two adjacent pulses, the system easily
obtains the pulse rate (PR) value.
•All the measurement results will be showed on the LCD screen.
The blood pressure monitor system needs a filter and an amplify circuit for the purpose of processing weak analog
signals and recognizing pulse signals. Such system is made of a single PCB board called the Analog Board. The
board provides a constant current driver (for pressure sensor), pre-amplifier (for pressure sensor's output weak
signal), high-pass filter, intermediate amplifier, low-pass filter, and pulse signal (which is sent to the MCU).
Figure 2-1
R2
4.7K ohm
P1.2/T1PWM
VHPF
shows a schematic diagram of the Analog Board.
VCC_+5V
R1
4.7K ohm
Q1
9012
J4
1
2
3
CON3
2
3
Amplifier: 11x
-
+
U4A
LM358
VCC_+5V
84
R28 10K ohm 1%R27 1K ohm 1%
R4
1.2K ohm
3
3
4
4
MPS-3117-006G_6_SOP
Pressure Sensor
VMAG
1
C13
104
2
U1
2
5
5
R31 49.9K ohm 1%
R5 0 ohm
AGND
R11 30K ohm 1%
1
1
6
6
R12 30K ohm 1%
R32 10K ohm 1%
GND
R6 1M ohm 1%
R20
2.4K ohm
AC Signal of BP
C8
104
R29 30K ohm 1%
2nd Order LPF: 38Hz
-
2
+
3
R13
1M ohm 1%
R16
1.3M ohm 1%
VCC_+5V
R21
182K ohm
P2.1/ADC1
C11
104
R7 1.3M ohm 1%
U2A
LM358
1
VCC_+5V
84
C4
104
C5
104
+
-
6
+
5
84
VDIF F
VDIF F
R23 100 ohm 1%
C6
10uF
R30 1K ohm 1%R25 1K ohm 1 %
7
LM358
U4B
VCC_+5V
R35 1M ohm 1%
R3 100 ohm 1%
C2
104
P2.0/ADC0
+
C3
104
R14 1K ohm 1%
R17 1M ohm 1%R18 1.5M ohm 1% R19 360K ohm 1%
C7
104
C9
VLPF
104
R33 5. 1M ohm 1%
DC Signal of Blood Pressure (BP)
C1
10uF
VCC_+5V
R8 1M ohm 1%
VCC_+5V
R34 10M ohm 1%
84
5
+
6
-
R22
100K ohm 1%
R24
50K ohm
VCC_+5V
R9 200K ohm 1%
U2B
LM358
R15 1K ohm 1%
2nd Order HPF: 0.8Hz
3
2
Pulse Rate Detector
7
641
-
LM311
7
+
U3
5
8
C12
104
R10 200K ohm 1%
VHPF
VCC_+5V
R26
10K ohm
P0.0/INT0
C10
Pulse Rate
104
Figure 2-1 Analog Board (Driver, Diff-amp, 0.8Hz HPF, 11x Amp, 38Hz LPF, and Comparator)
MPS-3117 is a pressure sensor for blood pressure monitor from Taiwan Metrodyne Microsystem Corp. Its
dimension is 7mm×7mm×10mm, and its measurable pressure ranges from -299.95mmHg to +299.95mmHg.
MPS-3117 uses a constant source to drive the Wien Bridge. It sends the double-ended output differential signals
according to the pressure.
Figure 2-2
shows the appearance and pin assignment of MPS-3117 pressure sensor.
Figure 2-2 MPS-3117 Pressure Sensor Appearance and Pin Assignment
2.1.2 Constant Current Driver Circuit
The BPM system requires a constant current source to drive pressure sensor. The typical value of drive current is
1mA while the maximum value of drive current is 3mA.
VCC_+5V
R1
1
2
3
J4
CON3
4.7K ohm
Q1
9012
R4
1.2K ohm
3
3
4
4
MPS-3117-006G_6_SOP
U1
2
2
1
1
6
6
5
5
R2
4.7K ohm
P1.2/T1PWM
Figure 2-3 Constant Current Driver and Pressure Sensor
In the BPM system, the differential amplifier plays the role of amplifying weak signal output from pressure sensor.
One way to do that is directly to the microcontroller as a DC signal of blood pressure. The other signal is provided
to the back analog circuits for filtering and amplification processing.
The diff-amplifier circuit output can be calculates as follows:
The analog board of the BPM system uses 2nd order Butterworth high-pass filter circuit, whose transfer function is
calculated as follows:
2
()
HS
HPF
=
CC
2
SS
()
++
()()( )
89102 389101718192 3
+
23
RR CCRRRRRR CC
+++++ +
S
1
5
6
VCC_+5V
84
+
-
U2B
LM358
R15 1K ohm 1%R14 1K ohm 1%
7
VHPF
VDI FF
R8 1M ohm 1% R 9 200K ohm 1% R10 200K ohm 1%
C2
C3
104
104
R17 1M ohm 1%R18 1.5M ohm 1% R19 360K ohm 1%
Figure 2-5 High Pass Filter Circuit : 0.8Hz
Suppose the network coefficient a11 of 2nd order Butterworth is 1.414 and the angular frequency is 0.8x2π, while
the value of both C2 and C3 is 0.1uF. So, the values of R8+R9+R10 and R17+R18+R19 can be calculated as
follows: