- Open Access
- Total Downloads : 462
- Authors : Palanivel Rajan.S, Manimala.K, Sri Nivethini.C
- Paper ID : IJERTV2IS2476
- Volume & Issue : Volume 02, Issue 02 (February 2013)
- Published (First Online): 28-02-2013
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Certain Explorations of ECG Pre-Processing and R-Peak Detection Technique Using Wavelet Analysis
1Palanivel Rajan.S, 2Manimala.K, 2Sri Nivethini.C,
1Assistant Professor, 2PG Student,
Department of Electronics and Communication Engineering, Kamaraj College of Engineering and Technology, Virudhunagar, Tamilnadu.
Abstract
Cardio Vascular Disease (CVD) is one of the leading causes of death among Human beings. Automatic assessment of such Cardiac Vascular Diseases for patients has been a long time research. The main causes of Cardiac Vascular Diseases are due to the variations in heart rate or abnormal heart beats which are characterized by the Electrocardiogram (ECG) beats or patterns. Accurate detection of ECG beats are the key requirement for detecting CVD. Generally ECG recordings are often corrupted by artifacts. Removal of high frequency noises like electromyogram, power line interferences, or electrodes with mechanical forces and Baseline Wander (BW) that may be due to respiration or the movement of the electrodes can be done using linear and non-linear filters. In the proposed work initial task done by using Translation Invariant(TI)filter to remove the Wavelet noise and the second task is the R-peak detection using Discrete Wavelet Transform. The results obtained that enhances ECG signals by the removal of such noise and detect R-peak of ECG signals which reduces time and increases the accuracy level of ECG.
Keywords:Electrocardiogram(ECG),DiscreteWavelet Transform(DCT),ECGDenoising,TranslationInvariant (TI),Cardio Vascular Diseases(CVD).
-
Introduction
Electrocardiogram (ECG) is the simplest non-invasive diagnostic tool for determining various heart diseases. The analysis of Electrocardiogram (ECG) is not moderate work when noises interfere the ECG and encapsulates
important information.ECG mainly focused on P, QRS and T-waves. These waves reflect the rhythmical electric repolarization and depolarization of the myocardium accompanied with the contractions of the ventricles and auricles. The interest of the work is to remove Baseline wander and power line interference which are known as common types of noises found in the ECG signals. Normally ECG signals are associated with artifacts. Artifact is a type of noise that arises mainly due to movement and electrical Interferences.Artifacts are of two types which are as follows:
-
Physiologic
-
Extraphysiologic
Physiologic artifacts that arises from other parts of body except brain, whereas Extraphysiologic that arises from Equipments and Environment. When the blood flows to a part of the heart , which is blocked by a blood clot is called as an Heart attack. Heart beat rate is a key factor for the risk of heart attack shown by CVD. The Electrocardiogram (ECG) is a vital sign signal for heart functional investigation. This electric signal is generated from human heart to create the cardiac cycle, which generates the blood circulation. It is composed with three basic components named P wave, QRS complex and T wave [4]. The patients whose heart rate above 70 beats per minute have significantly higher rate of heart attacks. Accurate extraction of clinical parameters from noisy biomedical signals is a critical and on-going challenge [7].
Symptoms of heart attack includes:
-
shortness of breath
-
lightheadedness
-
pressure in the upper back
-
extreme fatigue
A typical ECG signal is as follows:
Figure 1. Typical ECG Signal
-
Concept Behind ECG
The main function of heart is to Contract Rhythmically and pumps blood to the lungs for oxygenation and pump this oxygenated blood into general circulation.
This rhythm is continuously maintained and signaled by spread of electrical signals generated by Pacemaker(or)Sinoatrial node . Under Pathological conditions several changes may occur in the ECG. They are as follows:
-
Altered paths of excitation in the heart.
-
Changed origin of waves
-
Altered relationships (sequences) of features.
-
-
Types of noises associated with ECG
-
Baseline Wander
-
Powerline Interference
-
Electrode pop
-
Myocardial Noise
-
Motion Artifacts
Normally unwanted random disturbances are said to be noise. Such noises associated with ECG degrades the performance of ECG signals to be obtained. The Baseline Wander noise is the repeatation of improper pattern on the screen due to electrode malfunction. Powerline interference caused by the main powerlines. Motion Artifacts are mainly due to the motion of electrodes.
-
-
Generation of ECG Waves
-
P-wave:
P-wave generated during atrium depolarization.
-
QRS complex:
QRS generated during Ventricular depolarization.
-
T-wave:
T-wave generated when the ventricle recovery occurs.
S:No
Waves
Amplitude (mV)
Intervals
Duration (Sec)
1.
P-wave
0.25 mv
P-R
0.12 to
0.20 sec
2.
R-wave
1.60 mv
Q-T
0.35 to
0.44 sec
3.
Q-wave
25% of R-wave
S-T
0.05 to
0.15 sec
4.
T-wave
0.1 to 0.5 mv
QRS
0.09 sec
S:No
Waves
Amplitude (mV)
Intervals
Duration (Sec)
1.
P-wave
0.25 mv
P-R
0.12 to
0.20 sec
2.
R-wave
1.60 mv
Q-T
0.35 to
0.44 sec
3.
Q-wave
25% of R-wave
S-T
0.05 to
0.15 sec
4.
T-wave
0.1 to 0.5 mv
QRS
0.09 sec
Fig 2. Specifications of ECG Components Table 1. Amplitude and Duration of ECG Waves
-
-
ECG Used For
-
Screening test for cardiomyopathies, left ventricular hypertrophy and coronary artery disease.
-
Preoperatively to rule out coronary artery disease.
-
Can provide information about the presence of metabolic alterations .
-
Discovery of heart disease, coronal insufficiency ,infarction as well as cognitial heart disease.
-
Evaluation of ryhthmical malfunctions.
-
Basic cardiological test and it is widely applied in patients with known heart disease.
-
-
-
Materials and Methods
-
Previous work
Noise Reduction in ECG signals normally carried out by using linear and non-linear filters. However these filter approaches are not suitable for the applications that requires Diagnostic ECG analysis. Nonlinear filtering is a common approach to detect QRS complexes in considerably less time and can be easily implemented. Generally, QRS complexes are detected using various algorithms like Derivative approach, Filter-bank approach ,Wavelet and Mathematical morphology and correlation.
-
Existing Aproaches
In Derivative approach ECG signal Signal is first smoothed with an appropriate moving average filter for suppressing any high frequency noise outside the range of 5.25 Hz band.The smoothed signal is differentiated to forced upon the high slopes that occurs in ECG and to suppress and smooth ECG waves and Baseline Wanders. Next in Filter Bank approach of QRS detection, subbands at different scales are combined to confirm the positions of local maxima.It mainly depends upon integers,having sampling rate.
In wavelet Approach, it uses mainly the principle of Singularity detection in the wavelet coefficients. Wavelet coefficients of ECG Signals are used for, to find the local maxima and positions of matching in two consecutive scales to locate QRS positions. This is based upon the hypothesis that the energy of QRS complex is uninterrupted in time spread over the spectral bands.The noisy signal
may not have this property and hence false rates can be less using Multiscale approach.
Finally, Morphological operations mainly uses Peak Valley Extraction.This is especially used for mapping the smooth parts of signals to corresponding zero amplitude flat segments to extract peaks and valleys in the signals. Curve Length Transform is used for the detection of QRS Complex.
-
-
Proposed Methodology
From the analysis of review pre-processing (i.e) removal of noises can be performed using various techniques in ECG. In the proposed work de-noising can be done by using Translation Invariant (TI) filter. The main advantage of using this filter is that it remains the geometrical characteristics of ECG signals and also suppresses the averaging noises in ECG. The number of wavelet coefficients are selected according to the estimated noise level in ECG in order to avoid data spending for noise. In addition this TI wavelet keeps the amplitudes of ECG waveforms efficiently. Using such wavelet analysis will provide the absolute value of signals.
3.1 TI Noise Suppression
TI denoising suppresses noise by average calculation over thresholded signals of all circular shifts that can be performed. We carry out TI multiwavelet denoising algorithm in the following steps:
-
Tainted ECG signal can be shifted within range of cycle spinning to get a new shifted ECG signal.
-
Convert the new shifted ECG signal by DWT and apply necessary thresholding and for reconstruction perform Inverse DWT.
-
For associated denoised ECG signal Inverse shifting can be done and whose phase is the same as that of noisy ECG signal.
-
Continue the procedure from 1 to 3 for the next shifts constantly to obtain the series.
-
Estimate the average for all the obtained denoised ECG signals to get the denoised ECG signal finally.
The flow diagram shows the de-noising of ECG signal using Translation Invariant is as follows.
TAINTED SIGNAL
TAINTED SIGNAL
PREFILTER
PREFILTER
FORWARD TI WAVELET TRANSFORM
FORWARD TI WAVELET TRANSFORM
BIVARIATE THRESHOLDING
(SOFT)
BIVARIATE THRESHOLDING
(SOFT)
INVERSE TI WAVELET TRANSFORM
INVERSE TI WAVELET TRANSFORM
POSTFILTER
POSTFILTER
DENOISED SIGNAL
DENOISED SIGNAL
Fig 3. Denoising using TI filter
-
-
R-Peak Detection
ECG signal can be expressed as repetitions of P-QRS-T waves. Fundamental principle of analysis of ECG signal is the identification of QRS complex.To detect R-waves, the specific detail components of decomposed signals are kept and the other components of low frequency and high frequency are removed. Discrete Wavelet Transform can be effectively used for detecting R-peak after perprocessing has been completed.
4.1 Discrete Wavelet Transform
Wavelet techniques are used for feature minings where the features are mined by decomposition of signals and hence the multiresolution method of analysis of signals gives their respective details. Normally there are two kinds of Wavelet transform (i) Discrete wavelet transform and (ii) Continuous wavelet transform.
Discrete Wavelet Transform (DWT), which is based on sub-band coding which will provide the faster computation of Wavelet Transform. It is easy to implement and reduces the computational time and resources required. Different narrow-band filters are used normal filtering techniques so the frequency content can be extracted from the signal. The signal is then analyzed at different frequencies with different types of resolutions as a feature of using this Wavelet Transform.Such analysing of different frequency in different environment called as multiresolution analysis.Using Multiresolution wavelet analysis, the localization of time of spectral components can be attained and this method provides time-frequency representation of the signals.
Compared to Fourier Transform the DWT is localized in both time and frequency domain and perhaps it is the most efficient transform due to its many favourable properties, and its having the ability to solve various problems including biomedical signal analysis,data compression,noise removal and feature extraction etc
-
Simulated Results
Fig 5.1 Raw Input ECG Signal
Fig 5.2 Denoised ECG Signal
Fig 5.3 R-peak Detection
The simulated results shown the removal of noise from ECG by filtering. Such results obtained that enhances the quality of ECG signal in an efficient manner. The noisy signal enters into prefilter and forward TI wavelet transform, then soft threshold can be applied and then Inverse wavelet transform can be applied and finally post filtering takes place to obtain the denoised ECG signal. After denoising, the original signal can be obtained as noiseless and from that signal particularly R-Peak can be detect using DCT which reduces time and increases the accuracy
level of ECG signal which are helpful in diagnosis of cardiac applications.
-
Conclusion and Future Scope
We have proposed the task of pre-processing using TI filter for the removal of Wavelet noise efficiently and enhances the quality of ECG signals. TI filter is a non-linear filter that reduces the complexities and redundancies in the raw input ECG signal (i.e) the tainted ECG signal gets filtered and the De-noised signal can be obtained which are useful for health care centers to identify ECG applications.Then detection of R-peak can be done effectively using Discrete Wavelet Transform from Denoised Signal with less computational time. Hence our future work mainly focuses on finding various abnormalities and classification of abnormalities using effective classifiers of ECG with less rate of Probability of Fault tolerance.
-
Acknowledgement
I thank God and my Project Guide Mr.S.Palanivel Rajan, M.E., M.B.A., Assistant Professor, ECE Dept at Kamaraj College of Engineering and Technology for providing his full support and encouragement in all aspects of doing my project.
-
References
-
Joan Gómez-Clapers and Ramon Casanella, A Fast and Easy-to-Use ECG Acquisition and Heart Rate Monitoring System Using a Wireless Steering Wheel IEEE Journal on Sensors, Volume no: 12, Issue : 3, On Pages(s): 610-616, March 2012.
-
Brian H. Tracey; Senior Member, IEEE, and Eric L. Miller, Fellow, Nonlocal Means Denoising of ECG Signals IEEE Transactions on Biomedical Engineering, Volume no: 59, Issue : 9, On page(s): 2383-2386, September 2012.
-
Huasong Cao, Haoming Li, Leo Stocco, and Victor C.M.Leung, Wireless Three-Pad ECG System:Challenges, Design, and Evaluations Journal of Communications and Networks, Volume no: 13, Issue : 2, On Page(s): 113- 124,April2011.
-
R. Harikumar, S.N. Shivappriya, Analysis of QRS Detection Algorithm for Cardiac Abnormalities, International Journal of Soft Computing and Engineering (IJSCE), ISSN: 2231-2307, Volume-1, Issue-5, November 2011.
-
Faezipour, M. Qualiy of Life Technol. Lab., Univ. of Texas at Dallas, Richardson, TX Tiwari, T.M. ; Saeed, A. ; Nourani, M. ; Tamil, L.S., Wavelet-based denoising and beat detection of ECG signal, IEEE on Life Science Systems and Applications, Volume no: 14, On page(s): 100-103, April 2009.
-
Miad Faezipour, Student Member, IEEE, Adnan Saeed, Suma Chandrika Bulusu,Mehrdad Nourani, Senior Member, IEEE, Hlaing Minn, Senior Member, IEEE,and Lakshman Tamil, A Patient-Adaptive Profiling Scheme for ECG Beat Classification, On IEEE Transactions on Information Technology in Biomedicine,Volume no: 14, On page(s): 1153- 1165, September 2010.
-
Brian H. Tracey; Senior Member, IEEE, and Eric L. Miller, Fellow, Nonlocal Means Denoising of ECG Signals IEEE Transactions on Biomedical Engineering, Volume no: 59, Issue : 9, On page(s): 2383-2386, September 2012.
-
Widjaja, D. Dept. of Electr. Eng., Katholieke Univ. Leuven, Leuven, Belgium Vandeput, S. ;Taelman, J. ; Braeken, M.A.K.A. ; Otte, R.A. ; Van den Bergh, B.R.H.
; Van Huffel, Accurate R peak detection and advanced preprocessing of normal ECG for heart rate variability analysis , Volume no: 10, On Page(s): 533 536, September 2010.
-
Mateo, J. Innovation in Bioeng. Res. Group, Univ. of Castilla-La Mancha, Cuenca, Spain Torres, A.; Rieta, J.J., An efficient method for ectopic beats cancellation based on radial basis function, IEEE Transactions on Engineering in Medicine and Biology Society, Volume no:12, On Page(s): 6947 – 6950, September 2011.
-
Jekova, I. Inst. of Biophys. & Biomed. Eng., Sofia, Bulgaria Krasteva, V. ; Dotsinsky, I. ; Christov, I. ; Abacherli, R., Recognition of diagnostically useful ECG recordings: Alert for corrupted or interchanged leads,On Computing in Cardiology, Volume no:4, On page(s):429-432, September 2011.
-
Chao Lin TeSA Lab., Toulouse, France Bugallo, M.
;Mailhes, C.; Tourneret, J., ECG denoising using a dynamical model and a marginalized particle filter, On Signals, Systems and Computers,Volume no:2;On Page(s):1679-1683, November 2011.
-
Lisha Zhong Coll. of Bioeng., Chongqing Univ., Chongqing, China Xingming Guo; LiShanChen, Smart-Phone Based Automatic Arrhythmia Detection and Diagnosis, IEEE Transactions on Bioinformatics and Biomedical Engineering, On page(s):1-4, May 2011.
-
Bakhshipour, A. Biomed. Eng. Dept., Shahed Univ., Tehran, Iran Pooyan,M.; Mohammadnejad, H.; Fallahi,A., Myocardial ischemia detection with ECG analysis, using Wavelet Transform and Support Vector Machines, IEEE Transactions on Biomedical Engineering, On page(s):1-4, November2010.
-
Baali, H. Int. Islamic Univ. (IIUM), Kuala Lumpur, Malaysia Akmeliawati, R. ; Salami, M.J.E. ; Aibinu, M. ; Gani, A. , Transform based approach for ECG period normalization, On Computing in Cardiology, On Page(s): 533
536, September 2011.
-
Shinde, A.A. Dept. of Instrum., Vishwakarma Inst. of Technol., Pune, India Kanjalkar, P. , The comparison of different transform based methods for ECG data compression , On Signal Processing,Communication, Computing and Networking Technologies, On Page(s): 332 335, July 2011.
-
Kuz lek, J. Dept. of Cybern., Czech Tech. Univ. in Prague, Prague, Czech Republic Lhotsk , L. ; Hanuliak, M. , Processing Holter ECG signal corrupted with noise: Using ICA for QRS complex detection, IEEE Transactions on Applied Sciences in Biomedical and Communication Technologies (ISABEL),On page(s):1-4, November 2010.
-
Wanqing Wu Dept. of Comput. Sci. & Eng., Pusan Nat. Univ., Busan, South Korea Jungtae Lee , Development of full- featured ECG system for visual stress induced heart rate variability (HRV) assessment, IEEE Transactions On Signal Processing and Information Technology (ISSPIT), On Page(s): 144 – 149 ,December 2010.
-
Chao Lin TeSA Lab., Toulouse, France Bugallo, M.
;Mailhes, C.; Tourneret, J., ECG denoising using a dynamical model and a marginalized particle filter, On Signals, Systems and Computers, Volume no:2; On Page(s):1679-1683, November 2011.
-
Lisha Zhong Coll. of Bioeng., Chongqing Univ., Chongqing, China Xingming Guo; LiShanChen, Smart-Phone Based Automatic Arrhythmia Detection and Diagnosis, IEEE Transactions on Bioinformatics and Biomedical Engineering, On page(s):1-4, May 2011.
-
Bakhshipour, A. Biomed. Eng. Dept., Shahed Univ., Tehran, Iran Pooyan,M.; Mohammadnejad, H.; Fallahi,A., Myocardial ischemia detection with ECG analysis, using Wavelet Transform and Support Vector Machines, IEEE Transactions on Biomedical Engineering, On page(s):1-4, November2010.
AUTHORS PROFILE
S. Palanivel Rajan pursuing his Ph.D in the faculty of Information and Communication Engineering from Anna University Chennai. He has obtained his M.E degree in Communication Systems from Thiagarajar College of Engineering, Madurai, Tamilnadu and B.E degree in Electronics and Communication Engineering from Raja College of Engineering and Technology, Madurai, Tamilnadu.
He is presently working as Assistant Professor in the Dept. of Electronics and Communication Engineering at Kamaraj College of Engineering and Technology, Virudhunagar, Tamilnadu. His interest includes Bio-Signal Processing, Telemedicine, Telemetry, Wireless Networks and Wireless Communication. He has contributed 64 technical papers in various reputed journals and conferences. He is a life member of ISTE, IE (I), IACSIT, ITE, IAAA, IAMI, TSI, INHS, COE, BMESI, IAENG and IETE.
K.Manimala received her B.E. (CSE) degree from JJ college of Engineering in 2011. Now she is pursuing her M.E (Computer and Communication) at Kamaraj college of Engineering and Technology. She got District First in the subjects
of Tamil, Science and Social Studies in her 10th standard and for that, she awarded a Gold Medal.
She got Department first in her U.G. Her areas of interests are Wireless Networks, Operating systems and Database Management.
C.Sri Nivethini received her B.E. (CSE) degree at Kamaraj college of Engineering and Technology. Now she is pursuing her M.E (Computer and Communication) at Kamaraj college of Engineering and Technology. Her areas of interests are Wireless communication, Operating Systems, wireless networks and Database Management,Bio-Signal Processing, and Network Security.