Electrocardiogram (Ecg) Signal Processing On Fpga For Emerging Healthcare Applications
Electrocardiogram (Ecg) Signal Processing On Fpga For Emerging Healthcare Applications
Electrocardiogram (Ecg) Signal Processing On Fpga For Emerging Healthcare Applications
M.RAVI KUMAR
Sri Venkateswara College of Engineering and Technology, RVS Nagar, Chittoor (AP), INDIA
E-mail: [email protected]
Abstract - In this project an ECG signal processing module will be implemented in VHDL on FPGA platform. The digital
filtering will be carried out with low pass FIR architecture. Filters shall filter the 50 Hz coupled noise and other high
frequency noises. The filtered signal is subjected to Short Time Fourier transform by which lot of inferences can be made by
medical experts. A recorded ECG signal will be used as test input to test the modules implemented on FPGA. The Modelsim
Xilinx Edition and Xilinx Integrated Software Environment will be used simulation and synthesis respectively. The Xilinx
Chipscope tool will be used to test the results, while the logic running on FPGA. The Xilinx Spartan 3 Family FPGA
development board will be used this project.
International Journal of Electronics Signals and Systems (IJESS) ISSN: 2231- 5969, Vol-1 Iss-3, 2012
91
Electrocardiogram (ECG) Signal Processing on FPGA for Emerging Healthcare Applications
To accomplish this, FFT (Fast Fourier Transform) sinus rhythm (normal state of the heart) the P-R
technique is applied. But the unavoidable limitation interval is in the range of 0.12 to 0.2 seconds. The
of this FFT is that the technique failed to provide the QRS interval is from 0.04 to 0.12 seconds. The Q-T
information regarding the exact location of frequency interval is less than 0.42 seconds and the normal rate
components in time. As the frequency content of the of the heart is from 60 to 100 beats per minute. So,
ECG Signal Analysis Using Wavelet Transforms from the recorded shape of the ECG, we can say
ECG varies in time, the need for an accurate whether the heart activity is normal or abnormal. The
description of the ECG frequency contents according electrocardiogram is a graphic recording or display of
to their location in time is essential. This justifies the the time variant voltages produced by the
use of time frequency representation in quantitative myocardium during the cardiac cycle. The P-, QRS-
electro cardiology. and T-waves reflect the rhythmic electrical
depolarization and repolarisation of the myocardium
5. PROPOSED METHOD associated with the contractions of the atria and
ventricles. This ECG is used clinically in diagnosing
To overcome the draw backs of FFT, the immediate various abnormalities and conditions associated with
tool available for this purpose is the Short Term the heart. The normal value of heart beat lies in the
Fourier Transform (STFT). But the major draw-back range of 60 to 100 beats/minute. A slower rate than
of this STFT is that its time frequency precision is not this is called bradycardia (Slow heart) and a higher
optimal. Hence we opt a more suitable technique to rate is called tachycardia (Fast heart). If the cycles are
overcome this drawback. Among the various time not evenly spaced, an arrhythmia may be indicated. If
frequency transformations the wavelet transformation the P-R interval is greater than 0.2 seconds, it may
is found to be simple and more valuable. The wavelet suggest blockage of the AV node.
transformation is based on a set of analyzing wavelets
allowing the decomposition of ECG signal in a set of 7. PITFALLS
coefficients. Each analyzing wavelet has its own time
duration, time location and frequency band. The Certain disorders, involving heart valves cannot be
wavelet coefficient resulting from the wavelet diagnosed from ECG. Other diagnostic techniques
transformation corresponds to a measurement of the such as angiography and echocardiography can
ECG components in this time segment and frequency provide information not available in ECG.
band.
Each action potential in the heart originates near the
6. THEORY top of the right atrium at a point called the pacemaker
or sinoatrial (SA) node.
The ECG records the electrical activity of the heart,
where each heart beat is displayed as a series of The wave generated by action potential, terminates
electrical waves characterized by peaks and valleys. at a point near the center of the heart, called the
Any ECG gives two kinds of information. One, the atrioventricular (AV) node.
duration of the electrical wave crossing the heart
which in turn decides whether the electrical activity is The horizontal segment of this waveform
normal or slow or irregular and the second is the preceding the P-wave is designated as the baseline or
amount of electrical activity passing through the heart the isopotential line. The P-wave represents
muscle which enables to find whether the parts of the depolarization of the atrial musculature. The QRS
heart are too large or overworked. Normally, the complex is the combined result of the repolarization
frequency range of an ECG signal is of 0.05100 Hz of the atria and depolarization of the ventricles, which
and its dynamic range of 110 mV. The ECG signal occur almost simultaneously. The T-wave is the
is characterized by five peaks and valleys labelled by wave of ventricular repolarization, where as the U-
the letters P, Q, R, S, T. In some cases we also use wave, if present is generally believed to be the result
another peak called U. The performance of ECG of after potentials in the ventricular muscle. So, the
analyzing system depends mainly on the accurate and duration amplitude and morphology of the QRS
reliable detection of the QRS complex, as well as T- complex is useful in diagnosing cardiac arrhythmias,
and P- waves. The P-wave represents the activation conduction abnormalities, ventricular hypertrophy,
of the upper chambers of the heart, the atria, while the myocardial infection and other disease states.
QRS complex and T-wave represent the excitation of
the ventricles or the lower chamber of the heart. The
detection of the QRS complex is the most important
task in automatic ECG signal analysis. Once the QRS
complex has been identified a more detailed
examination of ECG signal including the heart rate,
the ST segment etc. can be performed. In the normal
International Journal of Electronics Signals and Systems (IJESS) ISSN: 2231- 5969, Vol-1 Iss-3, 2012
92
Electrocardiogram (ECG) Signal Processing on FPGA for Emerging Healthcare Applications
PREPROCESSING
Decimation/Interpolation
Denoising/Delineation
Baseline wander removal
PARAMETER EXTRACTION
Identification of waves,segments
Extragerea parametrilor
Heart rate variability analysis
International Journal of Electronics Signals and Systems (IJESS) ISSN: 2231- 5969, Vol-1 Iss-3, 2012
93
Electrocardiogram (ECG) Signal Processing on FPGA for Emerging Healthcare Applications
International Journal of Electronics Signals and Systems (IJESS) ISSN: 2231- 5969, Vol-1 Iss-3, 2012
94
Electrocardiogram (ECG) Signal Processing on FPGA for Emerging Healthcare Applications
Fig.9 The first 50 Hz power frequency interference filter Fig.13 Synthesised Window viewed on Xilinx Chipscope
schematic
International Journal of Electronics Signals and Systems (IJESS) ISSN: 2231- 5969, Vol-1 Iss-3, 2012
95
Electrocardiogram (ECG) Signal Processing on FPGA for Emerging Healthcare Applications
CONCLUSIONS
[4] YANG Xue, WU Shuicai, BAl Yanping. An ECG wireless
This paper introduces the ECG FIR filter design monitoring instrument based on GPRS. Beijing Biomedical
method based on FPGA, the results of high-frequency Engineering, 2007, (04)
and 50Hz power-frequency interference dual filters
can be seen, the filters can be used directly in FPGA [5] LIU Chang-sheng, TANG Yan, XU Wen-bin, DAl Hua. A
Hardware System Design of a Wireless electrocardiograph
embedded ECG monitor design, ECG monitor system Monitoring Terminal Based on GPRS, Microcomputer
to collect, store, playback, wireless transmission can Information,2008, (11)
be integrated into a FPGA chip, so that greatly
reducing the development of analog circuits, reducing [6] WEI Jian-min, YANG Yong-ming, GUO Qiao-hui, Design of
Real-time ECG Signals Processing System Based on FPGA
development costs and research and design cycle, the .Journal of Electron Devices, 2005, (03)
filters have a good application value.
[7] Suresh HN. Removal OF EMG and ECG artifacts from EEG
REFERENCES based on real time recurrent learning algorithm. International
journal of physical sciences, 2008 V.3, no.5
[1] Yang Xue. Development of an ECG Wireless Monitoring
[8] Aubert XL. Estimation of Vital Signs in Bed from a Single
System for Homecare Based on GPRS. Beijing University of
Technology, 2007. Evaluation. IEEE Engineering in Medicine and Biology
Society Conference Proceedings, 2008
[2] Lv Shaojuan, Zhao Buhui. Implementation FIR Digital
Filteron FPGA. Microcomputer Information, 2008,24. [9] ECG Signal Analysis Using Wavelet Transforms
C. Saritha, V. Sukanya, Y. Narasimha Murthy
[3] Pan Jing, Guo Xingming, Chen Min. Detection of ECG in
Remote Electrocardiographic Monitoring. Computer [10] http://en.wikipedia.org/wiki/Electrocardiography
Measurement & Control, 2008, 16(9)
International Journal of Electronics Signals and Systems (IJESS) ISSN: 2231- 5969, Vol-1 Iss-3, 2012
96