Analysis of Various Filter Configurations On Noise Reduction in ECG Waveform
Analysis of Various Filter Configurations On Noise Reduction in ECG Waveform
Abstract— Electrocardiography (ECG) is the graphical recording For testing purpose, the ECG signals from MIT-BIH
of the electrical activity of the heart and plays a vital role in the Arrhythmia Database are taken as the test data [2]. All the
primary diagnosis and monitoring of the health of heart. The ECG work was done with MATLAB®. The noises were simulated
signal being very sensitive and weak in nature, highly prone to even
and added to the test data.
small noise. Hence the design of the entire efficient filter system is
the key for the success of the entire ECG processing system.
In this work our main task is to design efficient analog filters to
eliminate all the noise sources associated with the ECG signal so as
to get a noise free ECG signal as output from the filters. This paper
mainly focuses on filtering the noise sources mainly corrupt the
retrieved ECG signal such as power line interference, base line
wander noise, motion artifact noise instrumentation noise etc.
The main aim of this work is to study the effect of various filtering
stages on the noisy ECG signal, to approximately estimate the order
of each filter stage required to get the required quality of output
signal and to show the proof of concept of the entire filtering process.
Several types of analog filters were designed, implemented and tested
for their correctness.
I. INTRODUCTION
http://dx.doi.org/10.15242/ IJCCIE.E1113078 88
Int'l Journal of Computing, Communications & Instrumentation Engg. (IJCCIE) Vol. 1, Issue 1 (2014) ISSN 2349-1469 EISSN 2349-1477
added to the ECG signal. The drift causes problems in the noise. The performance of the filter was evaluated by
detection of ECG signals, e.g., sometimes the amplitude of T- comparing their power spectra along with the mean square
wave is higher than the peak of R-wave and results in false error (MSE).
detection of R-peak.
B. Simulation of Baseline Wander
B. Power Line Interference (50/60 HZ) Baseline wander is one of the most significant noise sources
Power Line Interference is high frequency noise caused by during the ECG measurement. This noise is simulated as a low
interferences from nearby devices as a result of improper frequency sinusoid. The frequency is 0.3 Hz and the amplitude
grounding of the ECG equipment. This noise degrades the is 1 mV for the simulation. It is modeled similar to the power
signal quality and affects the tiny features which can be critical line interference in (1).
for clinical diagnosis and monitoring and signal processing. The frequency content of baseline wander is usually in a
The power line interference is narrow-band noise centered at range well below 0.5 Hz (between 0.15 and 0.3 Hz). These
50 Hz (or 60 Hz) with a bandwidth of less than 1 Hz. low frequency components can severely affect the visual
interpretation of an ECG. In order to discard baseline drift, a
C. Electromyographic Noise (EMG Noise)
high pass filter designed with 0.5 Hz of cutoff frequency is
This is mainly caused by the electrical activity of skeletal required.
muscles during periods of contraction or due to a sudden body
movement. While the frequency component of EMG C. Simulation of Electromyographic Noise (EMG Noise)
considerably overlaps with that of the QRS complex, it also The frequency content of EMG signal is usually in a range
extends into higher frequencies. As a result, processing the from dc to 10 KHz. The high frequency components may be
ECG trace to remove this noise naturally results in introducing discarded using a low pass filter designed with 100 Hz of
some distortion to the signal. It has a frequency range between cutoff frequency. The Table I gives the filter type required for
dc and 10,000 Hz with amplitude of 10% level. removing the various sources of noise components.
There are other types of noises contaminating the ECG
signal such as instrumentation noise, electrosurgical noise and TABLE I
CONSOLIDATED FILTER TYPE FOR DIFFERENT NOISE REMOVAL
other less significant source of noise. Among these noises, the
power line interference and the baseline wandering are the Frequency
S. No Noise Type Filter Used
Range
most significant and can strongly affect ECG signal analysis.
Except for these two noises, other noises may be wideband and 1 Baseline Wander High Pass Filter Below 1 Hz
usually a complex stochastic process which also distort the
Power Line
ECG signal. 2 Band Stop Filter 50/60 Hz
Interference
III. SIMULATION AND FILTERING OF NOISE IN ECG 3 EMG Noise Low Pass Filter Above 100 Hz
Since the goal of this paper is to design and implement
analog filters for the filtering of noises and to evaluate the
A time domain plot of noise free ECG signal from database
performance of these filters, each noise signal is first modeled
and the ECG contaminated by power line interference and
and simulated. The characteristics of each noise described in
baseline wander is described in Fig. 2, 3.
section 2 play a vital role in modeling the noise signal.
A. Simulation of Power Line Interference [5]
Power line interference consists of 50/60 Hz and its
harmonics which can be modeled as sinusoids and a
combination of sinusoids with amplitude up to 50 % of the
peak- to-peak of ECG amplitude. The model of power line
interference is provided as in (1). Fifty Hertz power line noise
is simulated using the MATLAB® [6]. The noise level
corresponds to the peak-to-peak amplitude of 0.15 mV. The
frequency of power line is 50 Hz.
http://dx.doi.org/10.15242/ IJCCIE.E1113078 89
Int'l Journal of Computing, Communications & Instrumentation Engg. (IJCCIE) Vol. 1, Issue 1 (2014) ISSN 2349-1469 EISSN 2349-1477
TABLE II
COMPARISON OF PARAMETERS OF VARIOUS FILTERING APPROACHES
Highpass Filter Notch Filter
Filter Order: 4 Filter Order: 7
Input SNR= -11.6132 Input SNR= -8.2286
Filter Type SNR (dB) SNR (dB)
Chebyshev-II 2.5501 8.9676 Fig. 5 ECG signal after high pass filtration
http://dx.doi.org/10.15242/ IJCCIE.E1113078 90
Int'l Journal of Computing, Communications & Instrumentation Engg. (IJCCIE) Vol. 1, Issue 1 (2014) ISSN 2349-1469 EISSN 2349-1477
REFERENCES [5] Aung Soe Khaing and Zaw Min Naing, “Quantitative Investigation of
Digital Filters in Electrocardiogram with Simulated Noises”,
[1] M. S. Chavan, R. A.Agarwala, M.D.Uplane, “Suppression of Baseline International Journal of Information and Electronics Engineering, Vol.
Wander and power line interference in ECG using Digital IIR Filter”, 1, No. 3, November 2011
International Journal of Circuits, Systems and Signal Processing, Issue [6] http://www.mathworks.in/
2, Volume 2, 2008 [7] M. K. Islam, A. N. M. M. Haque, G. Tangim, T. Ahammad, and M. R.
[2] http://www.physionet.org/cgi-bin/atm/ATM – “MIT-BIH Arrhythmia H. Khondokar, “Study and Analysis of ECG Signal Using MATLAB &
Database”. LABVIEW as Effective Tools”, International Journal of Computer and
[3] Geng Yang, Ying Cao, Jian Chen, Hannu Tenhunen, Li-Rong Zheng, Electrical Engineering, Vol. 4, No. 3, June 2012.
“An Active-Cable Connected ECG Monitoring System for Ubiquitous
Healthcare”, IEEE International Conference on Convergence and
Hybrid Information Technology, 2008.
[4] D. Jeyarani, T. Jaya Singh, “Analysis of Noise Reduction Techniques on
QRS ECG Waveform - by Applying Different Filters”, IEEE conference
on Recent Advances in Space Technology Services and Climate Change
(RSTSCC), Chennai, 2010
http://dx.doi.org/10.15242/ IJCCIE.E1113078 91