Sie sind auf Seite 1von 6

International Journal of Emerging Technology in Computer Science & Electronics (IJETCSE)

ISSN: 0976-1353 Volume 13 Issue 2 MARCH 2015.

REMOTE HEALTH MONITORING SYSTEM


USING PIC MICROCONTROLLER

S.Sakuntala #1 and R.Ramya Dharshini *2


#
B.E, ECE, Mepco Schlenk Engineering College, Sivakasi,India
*
B.E, ECE, Mepco Schlenk Engineering College, Sivakasi,India

PIC is an electronic circuit that can be programmed to carry


Abstract In this paper, the technology advances on sensors, out various tasks.PIC Microcontrollers are produced by
connected to human body enables the design of health Microchip technology. It is a very powerful device that
monitoring system. The system was developed to monitor the includes many built in modules such as EEPROM, 2 Timers,
vital signs such as body temperature, pH level, Heart beat rate, 10 bit ADC, Comparators and UART. The most important
Oxygen saturation level and ECG.
features of PIC microcontroller is that, it can be
re-programmed as they use flash memory. In this paper,
Index Terms Biomedical sensors, Hyperterminal software,
PIC microcontroller, Zigbee. PIC16F877A is used which is available in 40/44 pin packages
has 5 I/O ports namely PORTS A,B,C, D and E.

I. INTRODUCTION
Health monitoring systems become a hot topic and
important research field today. Now-a-days the maximum
new research is emphasizing on improving the quality and
healthy life by designing and fabricating sensors which are
either in direct contact with the human body (invasive) or
indirectly (non-invasive). The main reason behind this
development is rapid increasing of population worldwide.
The monitoring system allows an individual to closely
monitor their changes in vital signs and also provide feedback
which helps to maintain an optimal health status. The device
is designed to integrate into a telemedical system, as it can
even alert medical personnel providing life-threatening
changes to occur. ZigBee wireless module is used to sense the
remote patient data. Wireless sensors and sensor networks
drag more attention to the research community because of its
wide applications such as scalability, power management and
flexibility of architecture. All sensor data from the parameters
which are in the direct contact with body parts such as Heart
beat rate, Oxygen saturation level, body temperature, pH
level, and ECG are transferred by using a group of ZigBee
wireless module. The system adopted the wireless sensor
ZigBee for using as a real-time health monitoring system on a
patient.
Fig. 1 Pic Architecture

II. HEALTH MONITORING SYSTEM USING PIC The PIC at the transmitter obtains the analog input from the
Bio-Medical Sensor Network have the ability to diminish Sensors, does the signal analysis and converts the analyzed
the workload of medical care. The introduction of Personal output into digital data. The digital data is sent serially
Area Network greatly simplifies the collection of through TX pin to the ZigBee module[2]. At the receiver, the
physiological data. The patients can be engaged in their day to ZigBee receives the sent data and serially transmits it to a PC
day life activities while being monitored. The physician can using RS232. The received data is displayed in the PC using
have the surveillance of patients health condition for 24 Hyperterminal software. The fig. 2 depicts the block diagram
hours using this system. Using PIC(Programmable Interface of health monitoring system.
Controller), it provides a low cost health monitoring system.

209
International Journal of Emerging Technology in Computer Science & Electronics (IJETCSE)
ISSN: 0976-1353 Volume 13 Issue 2 MARCH 2015.

B. Heart Beat Sensor


Heartbeat sensor TCRT100 in fig. 4 consists of both
the infrared light emitter diode and the detector are arranged
side by side in a leaded package. The output produced is a
digital pulse which is synchronous with the heart beat. The
output pulse can be fed to an ADC channel of a
microcontroller for processing and retrieving the heart rate in
beats per minute (BPM).

Fig. 4 Heartbeat Sensor


Fig. 2 Block diagram of health monitoring system

Photoplethysmography(PPG) is a non-invasive method


used in measuring the variation of blood volume in tissues by
III. SENSORS a light source and a detector. The blood volume changes in
A. Temperature Sensor synchronous to the heart beat, hence this technique is used to
calculate the heart rate[4]. The basic types of
The body temperature is measured by using the photoplethysmography are transmittance and reflectance. In
temperature sensor LM35[2]. It is a three terminal device. Pin the transmittance PPG, a light source is emitted into the tissue
number one is 5 volt voltage supply and three are for ground. and a photo detector which is in the opposite side to the tissue
Pin two is analog voltage output with respect to temperature. measures the resultant light. Due to the limited penetration of
There is no need of extra circuitry to operate it. PIC16F877A the light intensity through the tissue of organ, transmittance
microcontroller is used to read temperature value. The PPG is applied to the finger or the ear lobe which are the
Relation between the temperature and analog output voltage restricted body parts. However, in the reflectance PPG, the
is: light source and the detector, placed on the same side of a
body part. The light is then emitted into the tissue, the
1oC = 10m volt (1) reflected light is therefore measured by the detector. As the
light doesnt need to penetrate through the body, the
Hence for every 1 degree increase in temperature there reflectance PPG can be applicable to any parts of human
will be a increment of 10m volt in output voltage of LM35 body. According to the pulsatile blood flow, the detected
sensor. The output of sensor is given to analog channel of light reflected from or transmitted through the body part will
PIC16F877A. Now after reading ADC value, using voltage fluctuates as the beat of the heart.
and temperature relationship voltage is converted into The PPG signal consists of two components, referred to
temperature..These conversion has been done through as AC and DC. The AC component is mainly due to the
programming. pulsatile variation in arterial blood volume, that is
synchronous with the heart beat. Therefore, AC component is
rendered as the source of heart rate information. This AC
component is superimposed with the large DC component
which relates the tissues and the average blood volume.
Thus, DC component should be removed to measure the AC
waveform that consists of high signal-to-noise ratio. The DC
component. can be get rid by passing the output from the
sensor through a RC high-pass filter (HPF). The HPF sets the
cut-off frequency to 0.7 Hz. In the next stage, an active
low-pass filter (LPF) is made of an Op-Amp circuit. The LPF
sets the cut-off frequency and gain to 2.34 Hz and 101,
Fig. 3 Temperature Sensor respectively. Thus the HPF and LPF, combination helps to

210
International Journal of Emerging Technology in Computer Science & Electronics (IJETCSE)
ISSN: 0976-1353 Volume 13 Issue 2 MARCH 2015.

remove the unwanted DC signal and also the high frequency


noise which includes 60 Hz (50 Hz in some countries), this
amplifies the low amplitude pulse signal (AC
component)10times.
The output obtained from the first signal conditioning
stage leads to a similar HPF/LPF combination which under
goes further filtering and amplification . So, the cascading of
two stages leads to calculation of the total voltage which is
101*101 = 10201. These two stages consisting of filtering and
then amplification process converts the input PPG signals to
approximate TTL pulses, which are synchronous along with
the heart beat. The heart rate (BPM) are related to the
frequency (f) of these pulses which is denoted as follows,

The rise of heart rate abruptly increases gradually during Fig. 5 Pulse Oximeter Sensor
exercises and then returns slowly back to the rest value after
exercise. The rate at which the pulse goes back to normal
forms an indication of the fitness of the person. The heart rate Two wavelengths, 660 nanometers (red) and 940 nanometers
lower than the normal forms an indication of a condition (near infrared) of light are used. At 660nm, reduced
termed as bradycardia, while the rate higher than the normal hemoglobin absorbs light ten times more than oxy
are termed as tachycardia. Table I shows the heart rate of hemoglobin. Similarly, at (940nm), the oxy hemoglobin
students during the exercising period. absorbs light greater than the reduced hemoglobin as shown
in fig. 6. By the direct absorption of light in pulse oximetry
senses the ratio of pulsatile to non-pulsatile light at the two
Table I Heart rate of students during Exercise wavelengths, it is then translated to a function of the arterial
oxygen saturation through complex signal processing.
Heart Rate(BPM)
Students 1min 2mins 3mins 4mins
Exercise Exercise Exercise exercise
I 88 98 102 110
II 92 96 103 105
III 87 100 112 112
IV 93 109 115 120
V 90 93 101 112
Average 90 99 107 114

C. Pulse Oximeter
Oxygen gas is essential for human to survive. It is integral
for countless biological processes. The circulatory system
performs the oxygen transportation throughout the human
body and more specifically, hemoglobin in red blood cells. By
detecting the amount of oxygen in blood, any critical Fig. 6 Light absorption characteristics of HbO2 and Hb
condition regarding medical care can be obtained. at different wavelengths
Now-a-days, Pulse oximetry is a standard device for
measuring the blood-oxygen saturation in the operating
room. This device use of light to measure the oxygen content The red blood cells are made up of protein molecules are
in blood and heartbeat rate is called pulse oximetry. Pulse known as Hemoglobin The principle of Hemoglobin is to
oximetry depends on sensing of a physiological signal called carry oxygen from the lungs to the body's tissues and returns
Photoplethysmography (PPG),which gives the optical carbon dioxide from the tissues back to the lungs.
measurement of blood volume in arteries .Pulse oximetry Hemoglobin with more oxygen content is called oxygenated
obtains PPG signal by irradiating two wavelengths of light hemoglobin (HbO2) and less oxygen content is called is
such as Infrared and red LED through the tissue and compares called deoxygenated hemoglobin(Hb). The ratio of
the absorption coefficient of light by blood under these two oxygenated hemoglobin to deoxygenated hemoglobin is
wavelengths. This comparison helps for the measurement of called oxygen saturation. Hence,
the oxygen content of blood and is known as blood oxygen
saturation[1].

211
International Journal of Emerging Technology in Computer Science & Electronics (IJETCSE)
ISSN: 0976-1353 Volume 13 Issue 2 MARCH 2015.

range of 0-14 generates the output voltage from 0 to 5 V. The


op-Amp generally used was IC1 7680 and IC2 CA3140.

D. pH Level Sensor
pH changes occur in the oral cavity, which are
indicative of bacterial activity leading to dental caries. pH
measurement is necessary as it measures whether the solution
is acidity or
basic. The sustainability of living things are based on the
maintenance of proper pH level. The internal mechanisms of
all human beings and animals rely on the maintenance of the
pH level in their blood. The blood contents in our veins must
consists of a pH level between 7.35 and 7.45. The level
exceeding this range nearly as one-tenth of a pH unit would be
proved as fatal. Fig. 7 shows the ph glass electrode.

Fig. 8 pH probe Amplifier

The Fig. 8 shows the amplifier circuit, which was used to


condition the small voltage signal of pH probe. The amplifier
was used in an inverting configuration. This design was made
such that, by indicating the solution was neutral at pH 7 (i.e.
water) its output voltage was 2.5 V (ranges 0-5V), for an
acidic solution (pH 4) the output voltage was 1.429V and for a
solution which was alkaline (pH 9.2) the output voltage was
3.286. The designed circuit would be more reliable due to its
accuracy and inexpensive. Now the output from the amplifier
circuit was sent to the PIC microcontroller.

E. ECG Sensor
The Electrocardiograph (ECG) signal is a diagnostic tool
beating, which is the main function of heart. The principal
corresponding signal frequency also range of 0.01 to 250 Hz.
Electrocardiography is the measurement of the electrical
Fig. 7 pH Glass electrode activity of the heart. Electrical sensing devices or electrodes
are placed strategically on top of the body to detect the
electrical activity of the heart and diagnose patients with
1) Development of pH meter: different heart anomalies. The trace depends on the position
A pH probe has the capability to generate different of the lead. The leads placed on the body can be described as
voltage levels with different solutions of different pH. In a positive lead and a negative lead[3]. The fig. 9 shows the
neutral and acidic solutions (below pH 7) a positive output main causes of positive and negative deflection occurrence in
voltage is generated whereas in basic solutions (above pH the heart.
7), a negative output voltage is generated. So an ideal pH
probe, may give either positive or negative voltage outputs
proportional to the acidity or alkalinity of the test solution.
The output of a pH probe is in the millivolt range. The
sensor selected was a general purpose glass electrode. It is a
standard laboratory use electrode which when inserted in a
solution, produces a small voltage (in mv), which is
proportional to hydrogen ion concentration. It has little ball
at the tip with a special pH glass. The probe output was fed
into the amplifier through a shielded cable. The output of
this pH sensor is very weak and the voltage very low. It
requires additional circuitry for amplification and stable
output voltage. Fig. 9 Causes of deflection

2) pH probe Amplifier
The output voltage, for various pH values can be adjusted The electrical impulse that is generated in the heart travels
by making connection to amplifier circuit. The volt/pH in parallel to the direction of the lead. A positive deflection
conversion was done using op-Amp amplifiers, hence the pH takes place, if the impulse moves toward the positive lead and

212
International Journal of Emerging Technology in Computer Science & Electronics (IJETCSE)
ISSN: 0976-1353 Volume 13 Issue 2 MARCH 2015.

a negative deflection takes place if the direction of the free C compilers which are provided to a wide variety of
impulse moves toward the negative lead. Electrodes are development platforms. These compilers generally form a
placed in the arms and legs, which forms the Einthoven's part of an IDEs with ICD support, single stepping,
triangle. Fig. 10 depicts the Einthoven's triangle which is breakpoints, and an assembly window.
composed of Leads I, II, and III.
B. HyperTerminal Software
HyperTerminal can be used to set up a dial-up connection to
another computer through the internal modem using Telnet It
can also access, bulletin board service (BBS) to another
computer. This process is mainly used to set up a connection
to perform data transfer between two computers (such as one
desktop computer and a portable computer) using only the
serial ports. The serial-port controls all the external devices or
systems such as scientific instruments, radio communications
stations. HyperTerminal was designed as a troubleshooting
tool during the process of setting up and in using a modem.

V. EXPERIMENTAL RESULTS
Fig. 10 Three lead system
By implementing the wireless health monitoring system using
PIC Microcontroller, these are the results displayed using
"Three lead" ECG, is made with the measurements taken hyper terminal in PC. The ZigBee wireless module is used to
from any three points on the body which is known as the receive data from the remote patient. Fig. 12 shows the output
Einthoven's recording .(defining the "Einthoven triangle" - an value obtained.
equilateral triangle with the heart at the center.) The
difference between potential readings from L1 and L2 is what
is used to make the trace of the ECG output. The L3
connection is designed to establish a common ground for the
body and to the recording device.

Fig.11 Typical ECG waveform

IV. PIC SOFTWARE DETAILS


MikroC Pro and Proteus is used for programming and
simulating the Microcontroller. HyperTerminal software is
used for displaying the output data.

A. MikroC Pro Fig. 12 Implementation of heartbeat measurement


The PIC is programmed using MikroC which is the
acronym for Micro-Controller Operating Systems. It is
intended for use in embedded systems. Embedded C remains VI. CONCLUSION
a very popular language for micro-controller developers due This paper presents the design and implementation of wireless
to the code efficiency and reduced overhead and development sensor network for health monitoring system by using ZigBee
time, so that is used here. Covers low-level control and is module. It is concluded that Programmable Interface
considered more readable than assembly. There exists many Controller (PIC) has been the low cost implementation used

213
International Journal of Emerging Technology in Computer Science & Electronics (IJETCSE)
ISSN: 0976-1353 Volume 13 Issue 2 MARCH 2015.

for recording and transmitting the bio-medical signals by


wireless technology and very useful to the remote patients.
This system was developed to minimize the devices size
S.Sakuntala is pursuing B.E degree in the
and allow for daily life usage. This system can also be made Department of Electronics and Communication
to include other health monitoring module like EMG, EEG for Engineering at Mepco Schlenk Engineering
complete monitoring system. College, Sivakasi in 2015. She is a member of
Institution of Electronics and Telecommunication
Engineers. Her area of interest is Digital Electronics,
REFERENCES Embedded Systems and Computer Networks. She has worked on the mini
project based on microcontroller in 2013 .Her aim is to do Higher Studies.
[1] D.J.R.Kirankumar and Nalini Kotnana, Design and
Implementation of portable health monitoring system using
PSoC mixed signal array chip, International Journal of
R.Ramya Dharshini is doing final year B.E
Recent technology and Engineering(IJRTE),vol.1,Issue in the Department of Electronics and
3,August 2012,ISSN.2277-3878. Communication Engineering at Mepco Schlenk
[2] Md.Moyeed Abrar and Rajendra R.Patil,Multipoint Engineering College, Sivakasi in 2015. She is also a
temperature data logger and display on PC through ZigBee member of Institution of Electronics and
using PSoC,International Journal of Advanced Research in Telecommunication Engineers. She is interested in
the Wireless Communication field. Her ambition is
Computer and Communication Engineering, Vol. 2,Issue 9,
to seek job in research field.
September 2013,ISSN.2319-5940.
[3] R.Prakash and B.Paulchamy, Remote monitoring of ECG and
Body Temperature signals, International Journal of Meenalakshmi M was born at Tamil Nadu, India in the year 1987.She
Innovative Research in Science,Engineering and pursued her B.E., in Electronics and Communication
Technology,Vol.3,Issue 5,May 2014,ISSN.2319-8753. Engineering from Mepco Schlenk Engineering College,
Sivakasi in the year 2008 and M.E., Embedded System
[4] S.Josephine Selvarani, Online Health Monitoring System Technologies from Srisairam Engineering College,
Using ZigBee, International journal on Computer science and Chennai in the year 2013.She has published two
Engineering(IJCSE),Vol.3,No.4,April 2011,ISSN 0975-3397. international journals and presented papers in
[5] Mahima Rathore, Design and prototyping of PSoC based International and National conferences Her research
Pulse Oximeter, International Journal of Scientific And interest includes Embedded Systems, Renewable
energy sources, WSN. Mrs. Meenalakshmi is a member
Engineering Research,Vol.3,Issue 10,October
of professional bodies like IETE and ISTE.
2012,ISSN.2229-5518.
.

214

Das könnte Ihnen auch gefallen