Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Semester Project Report

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 11

Department of Electrical Engineering

SEMESTER PROJECT REPORT

COURSE: LINEAR CONTROL SYSTEMS

PROJECT TITLE: ECG MONITORING

Group members:

 Abdul Nabi
 Tahir Saleem
 Afaque Ali

Submitted to: Dr. Arslan Ahmed

December 2019

1
Table of Contents
Abstract: .........................................................................................................................................................3
Introduction: ...................................................................................................................................................3
Medical uses of ECG: ...................................................................................................................................4
SYSTEM ARCHTECTURE ..........................................................................................................................4
Electrodes: ......................................................................................................................................................5
ECG Module (AD8232): ................................................................................................................................5
Arduino Microcontroller Uno: .......................................................................................................................6
DESIGN OF THE SYSTEM..........................................................................................................................7
Arduino Software ...........................................................................................................................................7
Flowchart of the program ...............................................................................................................................8
WORKING OF THE SYSTEM .....................................................................................................................9
RESULT AND DISCUSSION.......................................................................................................................9
CONCLUSION ............................................................................................................................................10
FUTURE SCOPE .........................................................................................................................................10
REFERENCE ...............................................................................................................................................11

2
Abstract:

Heart diseases are becoming a big issue since the last few decades and many people die
because of certain health problems. Therefore, heart disease cannot be taken lightly. By
analyzing or monitoring the ECG signal at the initial stage this disease can be prevented. So, we
present this project, i.e. ECG Monitoring with AD8232 ECG Sensor & Arduino with ECG Graph.

The AD8232 is a neat little chip used to measure the electrical activity of the heart. This
electrical activity can be charted as an ECG or Electrocardiogram. Electrocardiography is used to
help diagnose various heart conditions.

This project describes the design of a simple Electrocardiogram (ECG) monitoring system using
AD8232 and Arduino Microcontroller. The system gets the pulse input using Ag/Cl 3-lead
electrodes placed on the arms and right leg of the patient under inspection. The model
comprehends ECG module (AD8232) which is used for signal conditioning of the input pulse
from the patient’s body and viewed on Serial Monitor Window as the ECG waveform. Thus,
conditioned signal is also processed by the microcontroller Arduino Uno to control and transmit
the function of ECG wave to monitor and Displaying the condition of the ECG wave in LCD
display whether it is a normal ECG or Abnormal.

So, in this project, we will interface AD8232 ECG Sensor with Arduino and observe the ECG
signal on a serial plotter or Processing IDE.

Introduction:
At the present time, people suffering from heart diseases are increasing at an alarming rate.
The ECG is one of the medical kits that can measure the heartbeat per unit time, convert it into
a signal and display the data on a display device. An ECG is a recording of the electrical activity
on the body surface generated by the heart muscles. ECG information is collected by electrodes
placed at selected locations on the patient’s body. It is the best way to monitor and diagnose
abnormal rhythms of the heart muscles, mainly abnormal rhythms caused by damage to the
3
conductive tissue that carries electrical signals. It is possible to be in cardiac arrest with a
normal ECG signal (a condition known as pulseless electrical activity). Electrocardiogram (ECG)
is one of the frequently used and accurate methods for monitoring the electrical activity of the
heart. ECG is a high-priced equipment and its use for the measurement of the heart rate only
below an economic level. Low-cost devices are available in the form of wrist watches for the
instantaneous measurement of the heart rate. Such devices can give accurate data but they are
expensive. Most hospitals and diagnostic centers in India use incorporated devices designed to
measure the heart rate, temperature, and blood pressure of the patient. Although such devices
are valuable, their cost is usually uneconomical. This report presents the design of an ECG
monitoring system.

Medical uses of ECG:


An electrocardiogram can be a useful way to find out whether your high blood
pressure has caused any damage to your heart or blood vessels. Because of this, you may be
asked to have an ECG when you are first diagnosed with high blood pressure.
Some of the things an ECG reading can detect are:

1. cholesterol clogging up your heart’s blood supply


2. a heart attack in the past
3. enlargement of one side of the heart
4. abnormal heart rhythms

SYSTEM ARCHTECTURE

Figure.1 represents the block diagram of the proposed system. It consists of the Electrodes
which are placed on the Left Arm, Right Arm and Right leg of the patient’s body. The input is
taken from the human body and then it is transmitted to ECG module (AD8232). The ECG
module processes the data and it produces the continuous analog values according to the input
given by the electrodes to the Arduino microcontroller. The Bluetooth module is connected to
the Arduino microcontroller for transmission purpose. On the other side, we have Android
Application on our mobile for the reception of ECG signal.

4
Figure 1: Block Diagram of Our System

Electrodes:
3-lead Ag/Cl Electrodes transform bio-medical signals into electrical voltage. The voltage lies in
between 1 mV ~ 5 mV. The pair of sensors are placed on the right arm (RA), left arm (LA) and
right leg (RL) of the patient (see Figure 2).

Figure 2: Placement of the Electrodes

ECG Module (AD8232):


The AD8232 is an integrated signal conditioning block for ECG and other bio-metric
measurement applications. It is designed to pull out, amplify, and filter less energy bio-potential
signals in the presence of noisy conditions, such as those created by movement or remote
electrodeposition. This design allows for an ultralow power analog-to-digital converter (ADC) or
an embedded microcontroller to obtain the output signal. The AD8232 can execute a two-pole
high-pass filter for eliminating motion artificial facts and the electrode half-cell potential. This

5
filter is tightly coupled with the instrumentation amplifier design to allow both large gain and
high-pass filtering in a first stage,
thereby saving money and space.

Figure 3: AD8232 ECG Module with Electrodes

Arduino Microcontroller Uno:


The Arduino Uno is an 8-bit microcontroller board based on the ATmega328. It has 14
digital input/output pins, 6 analog inputs, a 16 MHz crystal oscillator, a power jack, an ICSP
header a USB connection and a reset button. It has everything required to hold up the Arduino;
Basically, connect it to a Laptop with the help of USB cable or power it with an adapter or
battery to get initiated. The Uno differs from all previous boards in that it does not use the FTDI
USB-to-serial driver chip. Instead, it features the Atmega8U2 programmed as a USB-to-serial
converter.

Figure 4: Arduino Uno Microcontroller

6
DESIGN OF THE SYSTEM

Here we have described briefly the hardware are an implementation of the system. The
hardware part depicts briefly about the ECG monitoring circuit system parts such as Ag/Cl
electrodes and ECG module. Figure.6 depicts the circuit diagram of the interfacing between ECG
module and Arduino Uno.

Figure 5: Interfacing of AD8232 and Arduino Uno

Here, The ECG module is getting three inputs from the human body using 3-lead electrodes.
The ECG module (AD8232) has Instrumentation Amplifier and High pass filter for the working
purpose. After, processing the inputs, It produces the single output. This output is given to the
Arduino Uno Microcontroller with the help of the Analog pins.

Arduino Software
The Arduino provides the Arduino Integrated Development Environment (IDE), which is a
platform Independent Application written in Java. It originated from the IDE for the languages
Processing and Wiring. It includes a code editor with features such as text cutting and pasting,
searching and replacing text, syntax highlighting automatic indenting, brace matching and
provides simple one-click mechanisms to compile and upload programs to an Arduino board. It

7
also has a message area, a text console, a toolbar with buttons for common functions and a
hierarchy of operation menus. The ECG wave is displayed on the Serial Monitor.

Flowchart of the program


The program is written in assembly C language.

Figure 6: depicts a flow chart to ECG measurement.

The flow starts from getting inputs from the ECG module. After, getting the input, the
microcontroller checks whether all three inputs are given properly. If anyone of the inputs is not

8
detected well, the system will send the signal to the LCD. After getting the signal the LCD will
display “The ECG is Abnormal” or else It simply displays “The ECG is normal”.

WORKING OF THE SYSTEM

The system gets the input bio-metric signals from the human body using 3-lead electrodes.
After processing all the three inputs, the ECG module produces the single analog output. It was
given to the Arduino Microcontroller. Arduino is the responsible for the remaining operations. It
checks whether all the three inputs are received properly. If there is any problem while getting
the input it sends the signal to LCD then the LCD shows “It is Abnormal” or else it shows
“Normal”. This is the working of the system.

RESULT AND DISCUSSION


We could get the display of ECG waveform on Monitor Window and the condition of the ECG
wave is displayed in the LCD module whether it is a normal ECG or Abnormal through electronic
hardware implementation of this project successfully. This can be seen in Figure.9, which shows
an ECG signal acquired by the electrode on a Serial Plotter.

Figure 7: ECG Output Wave

9
CONCLUSION
This project mainly concentrated on energy efficient and cost-effective. This system can be
easily understood by the patient. When compared to the high-cost monitoring systems, It is
more efficient.

FUTURE SCOPE
This system is for the Real-time Monitoring purpose. We can enhance this system by
transmitting the ECG wave using IoT to Doctors or Analysts. We can build an Android
Application for monitoring with more proficient.

10
REFERENCE
[1] Braunwald E. (Editor), Heart Disease: A Textbook of Cardiovascular Medicine, Fifth
Edition, p. 108, Philadelphia, W.B. Saunders Co., 1997. ISBN 0-7216-5666-8.

[2] Naazneen M. G., Sumaya Fathima, Syeda Husna Mohammadi, Sarah Iram L. Indikar,
Abdul Saleem, Mohamed Jebran " Design and Implementation of ECG Monitoring and
Heart Rate Measurement System” Volume 2, Issue 3, May 2013, pp. 2319-5967

[3] Varsha Wahane and P. V. Ingole "An Android-based wireless ECG monitoring system”
Volume 5, Issue 8, June 2015, pp.1398-2375.

[4] Pulsar heart rate monitors web site: http://www.heartratemonitor.co.uk.

[5] Interfacing with Arduino, website: http://www.circuitstoday.com/

11

You might also like