Development of Electrocardiograph Monitoring System

Similar documents
Bio-Potential Amplifiers

Kanchan S. Shrikhande. Department of Instrumentation Engineering, Vivekanand Education Society s Institute of.

Lab E5: Filters and Complex Impedance

A Design Of Simple And Low Cost Heart Rate Monitor

IMPROVEMENTS IN ELECTROCARDIOGRAPHY SMOOTHENING AND AMPLIFICATION

Electrocardiogram (ECG)

EE 230 Experiment 10 ECG Measurements Spring 2010

STM32 microcontroller core ECG acquisition Conditioning System. LIU Jia-ming, LI Zhi

Florida Atlantic University Biomedical Signal Processing Lab Experiment 2 Signal Transduction: Building an analog Electrocardiogram (ECG)

Lecture 4 Biopotential Amplifiers

BME 405 BIOMEDICAL ENGINEERING SENIOR DESIGN 1 Fall 2005 BME Design Mini-Project Project Title

Biomedical Instrumentation (BME420 ) Chapter 6: Biopotential Amplifiers John G. Webster 4 th Edition

Implementation of wireless ECG measurement system in ubiquitous health-care environment

Analog Circuits and Systems

COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET) NOISE REDUCTION IN ECG BY IIR FILTERS: A COMPARATIVE STUDY

ENGR 499: Wireless ECG

BIOMEDICAL INSTRUMENTATION PROBLEM SHEET 1

Transient Response of Low-Power ECG Recoding Amplifiers for Use with Un-gelled Electrodes

HUMAN DETECTION AND RESCUE USING BIO POTENTIAL SIGNALS

DESIGN OF A LOW COST EMG AMPLIFIER WITH DISCREET OP-AMPS FOR MACHINE CONTROL

III Lead ECG Pulse Measurement Sensor

ECG Project. Raphal Blanchet, Axel Boland, Thomas Donnay, Mario Jose Teles Varandas, University of Liege

PORTABLE ECG MONITORING APPLICATION USING LOW POWER MIXED SIGNAL SOC ANURADHA JAKKEPALLI 1, K. SUDHAKAR 2

AD8232 EVALUATION BOARD DOCUMENTATION

Name Kyla Jackson, Todd Germeroth, Jake Spooler Date May 5, 2010 Lab 3E Group 3 Experiment Title Project Deliverable 3

Chapter 4 4. Optoelectronic Acquisition System Design

Removal of Power-Line Interference from Biomedical Signal using Notch Filter

INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY

EXPERIMENT 5 Bioelectric Measurements

Wireless Transmission of Real Time Electrocardiogram (ECG) Signals through Radio Frequency (RF) Waves

DESIGN OF OTA-C FILTER FOR BIOMEDICAL APPLICATIONS

Physiological Signal Processing Primer

Suppression of Noise in ECG Signal Using Low pass IIR Filters

Biomedical Instrumentation B2. Dealing with noise

AN4995 Application note

Ques on (2): [18 Marks] a) Draw the atrial synchronous Pacemaker block diagram and explain its operation. Benha University June 2013

COMPARISON OF VARIOUS FILTERING TECHNIQUES USED FOR REMOVING HIGH FREQUENCY NOISE IN ECG SIGNAL

Available online at ScienceDirect. Procedia Computer Science 42 (2014 )

Analog Circuits and Systems

Development of an alternative method for the calibration of ECG simulators

Changing the sampling rate

EMG click PID: MIKROE-2621

ECG Signal Acquisition System for Remote Healthcare Service With Telemetric Capability

Biomechanical Instrumentation Considerations in Data Acquisition ÉCOLE DES SCIENCES DE L ACTIVITÉ PHYSIQUE SCHOOL OF HUMAN KINETICS

Design on Electrocardiosignal Detection Sensor

EXPERIMENT 8 Bio-Electric Measurements

International Journal of Emerging Technologies in Computational and Applied Sciences (IJETCAS)

Neurophysiology. The action potential. Why should we care? AP is the elemental until of nervous system communication

CHAPTER 7 INTERFERENCE CANCELLATION IN EMG SIGNAL

CHAPTER 3 ANALOG SIGNAL CONDITIONING

Deepali Shukla 1 (Asst.Professor), Vandana Pandya 2 (Asst.Professor) Medicaps Institute of Technology & Management, Indore (M.P.

EDL Group #3 Final Report - Surface Electromyograph System

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017

This is an outline of the subjects that will be touched upon during this presentation.

Improving ECG Signal using Nuttall Window-Based FIR Filter

In-depth Analysis of Cardiac Signals Using Novel Equipment and Software

EXPERIMENT 7 The Amplifier

TI Precision Designs: Verified Design Hardware Pace using Slope Detection

Question 1 Draw a block diagram to illustrate how the data was acquired. Be sure to include important parameter values

A Lower Transition Width FIR Filter & its Noise Removal Performance on an ECG Signal

LabVIEW Based Biomedical Signal Acquisition and Processing

ECE 480 Design Team 6 Electrocardiography and Design

ECG Data Compression

A Body Area Network through Wireless Technology

Ultra Low Power Multistandard G m -C Filter for Biomedical Applications

INTEGRATED APPROACH TO ECG SIGNAL PROCESSING

CHAPTER 14. Introduction to Frequency Selective Circuits

HIGH FREQUENCY FILTERING OF 24-HOUR HEART RATE DATA

Bioelectric Signal Analog Front-End Module Electrocardiograph

CANCELLATION OF ARTIFACTS FROM CARDIAC SIGNALS USING ADAPTIVE FILTER LMS,NLMS AND CSLMS ALGORITHM

Detection of Abnormalities in the Functioning of Heart Using DSP Techniques

Biomedical Signal Processing and Applications

FPGA Based Notch Filter to Remove PLI Noise from ECG

Introduction. sig. ref. sig

DESIGNING A VIRTUAL MACHINE FOR IDENTIFICATION OF CARDIAC ARRHYTHMIAS USING LAB VIEW

Introduction. In the frequency domain, complex signals are separated into their frequency components, and the level at each frequency is displayed

Electrical Characterisation of Dry Electrodes for ECG Recording

AC-Coupled Front-End for Biopotential Measurements

NOISE REDUCTION TECHNIQUES IN ECG USING DIFFERENT METHODS Prof. Kunal Patil 1, Prof. Rajendra Desale 2, Prof. Yogesh Ravandle 3

WRIST BAND PULSE OXIMETER

ECG Artifact Removal from Surface EMG Signal Using an Automated Method Based on Wavelet-ICA

Intelligent ECG System for Removal of Noise in Biomedical Application

PHYS225 Lecture 15. Electronic Circuits

Lab: Using filters to build an electrocardiograph (ECG or EKG)

Chapter 15: Active Filters

P08050 Testing Strategy Document

EECE Circuits and Signals: Biomedical Applications. Lab ECG I The Instrumentation Amplifier

6.555 Lab1: The Electrocardiogram

Laboratory Activities Handbook

Fetal ECG Extraction Using Independent Component Analysis

Suppression of Baseline Wander and power line interference in ECG using Digital IIR Filter

instead we hook it up to a potential difference of 60 V? instead we hook it up to a potential difference of 240 V?

Fatigue Monitoring Compression Sleeve. Group 2: Rohita Mocharla & Sarah Cunningham

Noise Reduction Technique for ECG Signals Using Adaptive Filters

An Approach to Detect QRS Complex Using Backpropagation Neural Network

REAL-TIME WIRELESS ECG AND ITS SIGNAL DISPLAY ON LABVIEW

Biomedical Sensor Systems Laboratory. Institute for Neural Engineering Graz University of Technology

Advances In Natural And Applied Sciences Homepage: October; 12(10): pages 1-7 DOI: /anas

Quantitative Investigation of Digital Filters in Electrocardiogram with Simulated Noises

TRANSDUCER INTERFACE APPLICATIONS

Transcription:

Development of Electrocardiograph Monitoring System Khairul Affendi Rosli 1*, Mohd. Hafizi Omar 1, Ahmad Fariz Hasan 1, Khairil Syahmi Musa 1, Mohd Fairuz Muhamad Fadzil 1, and Shu Hwei Neu 1 1 Department of Electronic Engineering Technology, Faculty of Engineering Technology, Universiti Malaysia Perlis, Malaysia. Abstract. Electrocardiograph (ECG) monitoring system is one of the diagnostic tools which can help in reduce the risk of heart attack. A cardiologist may be able to determine heart condition from the ECG signal that recorded from subject. The purpose was to design an ECG monitoring system which consists of ECG circuit and digital signal processing system to deny the unwanted signal. In general, the ECG signal is nature weak and only around 1mV amplitude. Therefore filter and amplifier circuits were designed into 3 stages with a total gain of 1000 to bring the signal to around 1V. Circuit designed included of instrumentation amplifier, bandpass filter and notch filter. The frequency bandwidth of ECG is between 0.05Hz until 100Hz. Schematic circuit was tested by software simulation before proceeding to hardware implementation. Simulation analysis was done by using Software Proteus 8 Professional while the further signal processing was done in MATLAB software environment. A PQRST ECG waveform can be seen clearly after digital filtering stage in MATLAB environment. Digital signal processing in MATLAB software included of pre-filtering, Fast Fourier transform and peak detection. As conclusion, the time interval between peaks can be determined automatically which can provide useful information in clinical aspect. 1 Introduction Cardiovascular disease is still the first killer in the world although there was a rapid development in medicine and medical technology. ECG system is one of the diagnostic tools used for the heart patient monitoring. ECG is a graphical recording of the cardiac cycle which the electric current generated by the heart muscle during a heartbeat. Electrode is used as a sensor like an antenna to detect and receive the electrical signal generated during the cardiac cycle. In 1901, a high sensitivity of new string galvanometer was developed successfully and implemented in Dr Willem Einthoven s electrocardiogram with weighed 600 pounds [1]. Three electrodes were positioned according to Einthoven s Triangle on the body parts: right arm, left arm and left leg of the human body [2]. Refer Figure 1. A typical electrocardiogram shows the deflections that express the alternate contraction of the parts of human heart. In general, heart of human consists of four chambers which are two upper atria and two lower ventricles. Figure 2 shows the ECG signal. The first wave is called P wave, is generated by upper chamber. After a P wave there is a flat line indicated that the impulse transfers to lower chamber. The next wave is called QRS complex. QRS wave is making by the right and left bottom ventricles. The last wave is called T wave which represented the ventricles return to its resting state. It provided information of the heart condition and performance to the medical worker to have a good clinical diagnosis of cardiac disease. Fig. 1. Diagram of Einthoven Triangle [3] Fig. 2. ECG Signal (PQRSTU Wave) [4] * Corresponding author: khairulaffendi@unimap.edu.my The Authors, published by EDP Sciences. This is an open access article distributed under the terms of the Creative Commons Attribution License 4.0 (http://creativecommons.org/licenses/by/4.0/).

1.1 ECG Signal Characteristics For diagnosis purpose, the recording bandwidth between 0.01 to 300 Hz was used by using the standard 12 lead ECG. For monitoring purpose such as the ambulatory patient, the bandwidth was limited from 0.05 to 100 Hz. Thus the restricted bandwidth attenuates the higher frequency noise caused by contractions of muscle and the lower frequency noise caused by motion of the electrodes [5]. The third bandwidth used to maximize the signal to noise ratio and represented the QRS wave. Therefore a filter that can eliminate the non-qrs complex and pass the QRS complex is needed. The non- QRS complex that needs to reject including the P wave and T wave. This filter helps to detect the QRS complexes but distorts ECG so much that the appearance of the filtered signal is not clinically acceptable. These are some small higher-frequency that consists in the QRS complex. An ECG amplifier normally has a gain of about 1,000 in order to amplify the weak peak signal from 1 mv to a range of about 1 V. The table below shows the amplitude and the duration time of the ECG waveform interval. Table 1. ECG Waveform [5] Human (electrode) Notch Filter Microprocessor Display Instrumentation Amplifier Bandpass Filter Analog to Digital Converter Digital Signal Processing (MATLAB) Amplitude Durations P-wave-0.25 mv P-R interval: 0.12 to 0.20 R-wave-1.60 Q-T interval: 0.35 to 0.44 s Q-wave- 25%R wave S-T interval:0.05 to 0.15 s T-wave-0.1 to 0.5 mv P-wave interval: 0.11s QRS interval: 0.09s 1.2 Noise ECG technology still need very much research phase to identify and investigate the characteristic of the noise sources and their features in order to obtain a desired real time analysis of ECG signal. Electrode placed on the human body act as an antenna received the signal from heart and also the unwanted signal called noise. Some of the noises and interference signal are difficult to filter away. There were several types of disturbance occurred during the ECG signal collection. The primary noise sources which are electromyography (EMG) noise, power line interference, source impedance unbalance noise and motion artifacts and instrumentation noise. 2 Design Step 2.1 Circuit Development The ECG circuit consisted of two stages which are Stage 1: Instrumentation amplifier stage and Stage 2: Filter and amplifier stage. Instrumentation amplifier was the first stage and used to differentiate the voltage difference between two electrodes that act as the input signal of the system. The signal needs to be amplified to a significant gain to be proceeding to the next stage. Fig. 3. Basic block diagram for ECG processing Different type of filter circuit was constructed to remove the unwanted noise and allowed the desired signal to pass through. An active bandpass filter which combined both low pass and high pass characteristic was designed to pass a board range of frequencies. It matched the requirement bandwidth for ECG signal (0.05Hz to 100Hz) and attenuated the signals which are out of the pass band. At the same time, the signal was amplified by a filter to a gain of 11. For power line interference 50Hz, notch filter was used to remove this particular frequency. For improvement, the twin-t notch filter with variable Q consisted of low pass circuit and high pass circuit with a variable Q was utilized. 2.1.1 Instrumentation Amplifier First step for ECG monitoring where a very small voltages passed out from the probes and require certain amplification before go to next stages [6]. The differences between two input potentials were amplified by the instrumentation amplifier while any signals that are common to both inputs rejected. The AD620 which has a low current noise was chose for ECG monitoring. It amplified the ECG signal to around 50 times by an external resistor, R 1 connection. The value of capacitor C 1 was chose to maintain the stability of the right leg drive loop. The gain values are as follows. Where R 1 = 1 kω, therefore (1) 2

detector circuit amplify the weak ECG signal from around 1mV to approximately 1V. The active grounding is connected to produce a higher gain [7]. 2.1.2 Bandpass The active bandpass filter was designed to passed a range of ECG frequencies and attenuated the unwanted frequencies signal. The lower cut-off frequency (f L) is 0.05Hz and higher cut-off frequency (f H) was designed to 100Hz. This bandpass filter was designed with a gain of 11. The lower cut-off frequency (f L) is determined by : ffll = 1 / 2ππRR1CC1 (2) The higher cut-off frequency (fh) is determined by : The gain of the filter is: ffh = 1 / 2ππRR4CC2 (3) GGaaiinn = ( RR3 / RR2 ) + 1 (4) Based on the calculated values, ffll = 0.048 Hz, ffh = 106.1 Hz and Gain = 11. 2.1.3 Notch Filter For an ideal notch filter, it can completely flat response to the frequency range and remove the particular notch frequency. In reality the perfection is not achievable. It can be improved when using an active notch filter which employs negative feedback around the operational amplifier [8].Twin-T notch filter with variable Q was designed to remove the 50Hz power line interference [9]. The higher the Q, the narrow the notch can be achieved and higher the level of attenuation needed to remove the unwanted signal. Q is designed to 100 so degree of filter s performance increased [10].Gain of the filter was designed to 2. Notch frequency is calculated by : Gain of the notch filter: Q value: ffnotch= 1 / 2ππRRCC (5) Gain = ( R5 / R4 ) + 1 (6) Q ratio = ( R7 / R6 ) (7) 2.1.4 Proposed ECG Circuit Design The proposed ECG circuit design consisted of an instrumentation amplifier with gain of 50.4, a bandpass filter with a pass band of 0.05Hz-100Hz with gain of 11 and a notch filter of 50 Hz with gain of 2. This QRS Fig. 4. Proposed ECG circuit design schematic 2.2 Signal Processing Method The signal processing method can divided into 3 steps which are pre-filtering, squaring the signal and rate calculation. ECG signal from circuit still contain the noise which cannot be removed or fail to remove. The unwanted signal was still exist because it shares the same frequency contents with ECG signal bandwidth. In pre-filtering step, MATLAB were used to perform Fast Fourier Transform (FFT) in order to remove the low frequency signal in frequency domain. After the low frequency signal was removed, the Inverse Fast Fourier Transform (IFFT) applied to restore the data to time domain. A notch filter was designed to remove the 50 Hz again to the signal. After that, the signal was squared to make the peak signal become more significant and last is peak detection to count the heart beat rate. 3 Results and Discussion The proposed circuit design was simulated in the Proteus 8 Professional. The simulation result was recorded as to compare it to the hardware simulation result. The percentage of error was calculated to determine the performance of the circuit. 3

3.2 Notch Filter 3.1 Bandpass (8) The digital oscilloscope failed to display the result as the lower cut-off frequency for bandpass is too small (0.05Hz), in software simulation. The graph in Figure 5 showed that the higher cutoff frequency of the bandpass filter is 101.8Hz based on the software simulation. Hardware simulation was done by using oscilloscope and signal function generator in lab. The input voltage of signal function generator was adjusted to different value of frequency and the changes of output voltage can be seen in the oscilloscope. Figure 6 showed that the cutoff frequency of the bandpass filter by hardware simulation is100.5hz. The percentage error of software and hardware simulation compare to theoretical value is -4.053% and -5.278% respectively. The frequency was adjusted at the input voltage while the output voltage was recorded. The graph in Figure 7 showed that the notch frequency is 50Hz based on the software simulation. Figure 8 showed that the cutoff frequency of the notch filter by hardware simulation is 48Hz The error percentage of software and hardware simulation compare to theoretical value is 0.4218% an - 3.595% respectively. Fig. 7. Notch Filter (Software) Fig. 5. Bandpass Filter (Software) Fig. 8. Notch Filter (Hardware) Table 3. Percentage error of Notch Filter 3.3 ECG Circuit Fig. 6. Bandpass Filter (Hardware) Table 2. Percentage error of Bandpass Filter Electrode sensors were placed to human skin to detect the electrical impulse generate from the human heart by Einthoven Triangle method (refer Figure 1) and the waveform is read by using the oscilloscope. A QRS complex with noise was detected by the circuit. The R peak was amplified to average of 1.46V as the figure shown. This signal was collected for further signal analysis in MATLAB. 3.4 Analog signal interference to computer The output signal from the circuit was in analog form, by using an analogue to digital converter (ADC), it can convert the analog signal from circuit to digital signal so 4

that, the digital data can be read by computer and saved for the further signal analysis. The data was exported to excel and converted to text form and also into MATLAB. 3.5 Signal Processing Method The signal which collected in circuit was imported into MATLAB. Figure 9 showed the ECG signal collected from the hardware circuit without any filtering process in MATLAB. On the other hand, Figure 10 showed the ECG signal which after filtering stage in MATLAB. The noise was removed and a clear PQRST ECG signal can be seen clearly. The beat rate can be calculated by detecting the peak of the signal. Fig. 9. Without filtering process Fig. 10. With filtering process References 1. M. Al Ghatrif, J. Lindsay, "A brief review: history to understand fundamentals of electrocardiography", J. of Community Hospital Internal Medicine Perspectives 2, 1 (2012). 2. "ECG timeline - History of the electrocardiogram", Ecglibrary.com, 2016. [Online]. Available: http://www.ecglibrary.com/ecghist.html. [Accessed: 10- May- 2016]. 3. "Cardiovascular Lab: Electrocardiogram: Setup", Medicine.mcgill.ca, 2016. [Online]. Available: http://www.medicine.mcgill.ca/physio/vlab/cardio/setup.h tm. [Accessed: 10-May- 2016]. 4. "Adaptive Noise Removal of ECG Signal Based On Ensemble Empirical Mode Decomposition", 2016. [Online].Available:applications/adaptive-noise-removalof-ecg-signal-based-on-ensemble-empirical-modedecomposition. [Accessed: 8- June- 2016]. 5. PCbasedpatientmonitoringsystem,DevelopmentofECGam plifier",library.utem.edu.my, 2016. [Online]. Available:http://library.utem.edu.my/index2.php?option=c om_docman&task=doc_view&gid=817&ite mid=208.[accessed: 10- Apr- 2016]. 6. M. G. Naazneen., Sumaya Fathima, Syeda Husna Mohammadi, Sarah Iram L. Indikar, Abdul Saleem, Mohamed Jebran, "Design and Implementation of ECG Monitoring and Heart Rate Measurement System", Int l. J. Eng. Sci. and Inno. Tech. (IJESIT)2, 3, (2013). 7. M. J. Burke, D. T. Gleeson, A micropower dry electrode ECG preamplifier, IEEE Trans. Biomed. Eng., 47, 2, pp. 155 162, (2000). 8. A. S. Alkhader, A.A Alomar, A.S Althonaibat, B.S Hiyari, M.A Alshira'ah, ECG Interface Circuit Design for Improving The Quality of ECG Signal, Int l J. Res. and Rev. Phar. and App. Sci., 5, 2, (2015). 9. C.M. Chang, et al., "Voltage-mode notch, lowpass and bandpass filter using current-feedback amplifiers," Electronics Letters, 30, (1994). 10. F. Moulahcene, N. Bouguechal, I. Benacer, S. Hanfoug, Design of CMOS Two-stage Operational Amplifier for ECG Monitoring System Using 90nm Technology, Int l J. Bio-Sci. and Bio-Tech. 6, 5 (2014). 4 Conclusion The ECG monitoring system was developed successfully. The ECG analog signal was collected and digital signal processing was done in the MATLAB. The signal display was low noise disturbance and acceptable SNR ECG waveform. The data of the signal can be used to study the heart condition by analyses the peak voltage and the time interval between each signal such as coronary heart disease, heart muscles disease, arrhythmia, and coronary thrombosis. For further improvement on the project, ECG signal can be improve to real time analysis. The signal of ECG can be recorded in a real time and displayed on the computer screen. A real time analysis on signal received can be done and enable it to diagnose the heart condition immediately. 5