Suppression of Noise in The ECG Signal Using Digit
Suppression of Noise in The ECG Signal Using Digit
net/publication/228877831
CITATIONS READS
12 8,233
3 authors, including:
Some of the authors of this publication are also working on these related projects:
VLSI based Induction Motor Speed Control using Auto Tune PID controller View project
All content following this page was uploaded by Mahadev Dattatraya Uplane on 21 May 2014.
Abstract:-The electrocardiogram has considerable diagnostic significance, and application of ECG monitoring
are diverse and in wide use. For diagnostic- quality ECG recordings, signal acquisition must be noise free.
The signal acquisition is susceptible to the interference from other biological and environmental sources.
This article presents the application of the digital IIR filter on the raw ECG signal. The filters utilized are
Butterworth and elliptic notch and high pass filter. Complete design of the filters is depicted in the paper. At
the end both the filter types are compared. It is found that the elliptic filter find suitable as compared to the
Butterwoth with some limitations.
Keywords: ECG, Digital Butterworth and Elliptic filter, Real time application, Noise reduction.
(either 50 Hz or 60 Hz) is a significant source of The butterworth low pass filter has a
noise in biomedical recording. Elimination of magnitude response given by
power-line interference in the Electrocardiogram A
(ECG) signal by various methods has been H ( jΩ) = 0.5
proposed in the past. Despite the high common ⎡ Ω 2N ⎤
⎢1 + ( ) ⎥
mode rejection ratio of the input amplifiers of the
⎣ Ωc ⎦
Electrocardiographs, recordings are often
contaminated by power-line (mains) frequency Where A is the filter gain and Ω c is the 3 db cut-
interference [2]. The efficiency of notch filters and off frequency and N is the order of the filter. The
a subtraction procedure for power-line elliptic filter is also known as Cauer filter. This
interference cancellation in electrocardiogram filter has equiripple pas band and stop band.
(ECG) signals is assessed by the Dotsinsky I, Among the filter types discussed so far, for the
Stoyanov T [3]. Kumaravel N et.al demonstrated a given filter order, pass band and stop deviations,
novel method of integrating rule-based system elliptic filter have the minimum transition band
approach with linear FIR filter and also with Wave width. This signifies that it minimizes the
digital filter has investigated [4]. Hamilton PS in maximum error in both the bands; as opposed to
his article compared adaptive and non-adaptive the Chebyshev type I filter which exhibits
filters for reduction of power line interference in equiripple behavior in the pass band or the inverse
the ECG [5]. Ider YZ, Saki MC, Gcer HA have Chebyshev of (Type II) filter which has ripple in
developed a method for line interference the stop band.
H ( jΩ) =
reduction to be used in signal-averaged 2 1
electrocardiography[6]. Cramer E, McManus CD, ⎛Ω⎞
Neubert D has introduced a global filtering 1 + ε 2U N ⎜⎜ ⎟⎟
approach. In this method two types of the digital ⎝ Ωc ⎠
filters are used. One is using lest square method Where U N (x ) is the Jacobian function of the order
and other is using special summation method [7]. N and ε is a constant related to the pass band
Different scientists have tried for removing the ripple. Generally both Butterworth and elliptic
power line interference and base line wonder filters are designed in the analog domain first and
specifically from the ECG signal [8-19]. In the the converted in to digital filter using either
present paper conventional filters are used. The bilinear transformation or impulse invariance
filters selected are Butterworth and elliptic and method. Thereafter required type of filter can be
there combination has been used. achieved using frequency transformation. In the
present work these filters are designed with the
2. Design of Digital Filter help of Mathlab FDA toolbox. It is also using
The Butterworth type filter was first bilinear transformation for the design. The basic
described by the British engineer Stephen block utilized in the proposed system is shown in
Butterworth. Butterworth filters are causal in figure. The both Butterworth and elliptic notch
nature and of various orders, the lowest order filter of the frequency 50 Hz and sampling
being the best (shortest) in the time domain, and frequency 1000Hz has been designed. Also low
the higher orders being better in the frequency pass filter of 100 Hz and high filter of 0.5Hz has
domain. Butterworth or maximally flat filters have been designed for both the Butterworth and
a monotonic amplitude frequency response which elliptic filters. Cascade combination of the filters
is maximally flat at zero frequency response and has been implemented on the ECG signal.
the amplitude frequency response decreases Basic Matlab model used for the real time filtering
logarithmically with increasing frequency. is shown in figure 1.b.
For the designed filter structure the numerator 2.4 Realization of the Elliptic notch filter:
coefficients are: Figure 12 shows the realization of the
0.992, -4.964, 9.92, -9.92, 4.964, -0.992 elliptic notch filter of the order 4. The realized
and the denominator coefficients are: structure is of the of direct form II structure. It
required 9 multipliers, 4 delayers and 8 adders.
2.3 Design of the Elliptic notch filter:
The filter was designed with the following
specifications.
1. Order of the filter 4.
2. Sampling frequency 1 KHz.
3. Cutoff frequency 50 Hz.
Figure 10 shows the Magnitude response
and figure 11 Pole Zero diagram of the notch
Filter. From the design and the following
responses some observations are as follows:
• Magnitude response is shows the
sharp cutoff at the frequency of 50
Hz.
• Phase response shows the nonlinear
behavior.
• Designed Chebyshev I filter is
stable as seen from the pole zero
diagram all the zeros are on the unit Figure 12: Realization of elliptic Notch filter.
circle. The zeros are located at For the designed Notch filter the numerator
± 0.314 radians. coefficients are:
0.88, -3.36, 4.975, -3.369, 0.8856.
and the denominator coefficients are:
1.00, -3.792, 5.582, -3.768, 0.9875.
Figure 28 shows the pole zero diagram of the 3.6 Results of the implementation of the
notch filter in the z plane. Butterworth notch filter:
From the design of the filter the following To implement Butterworth notch filter
observations can be made: samples of the lead II of the ECG trace are used.
• The magnitude response is flat in the pass Figure 30 shows the ECG trace of the lead II
band. before filtration. Figure 31 shows the ECG trace
• Phase response is changing in the stop of the lead II after filtration. Figure 32 shows the
band. power spectral density of the ECG trace before
• The impulse response is 1 at zero sample and Figure 32 shows the power spectral density of
and for the rest of the samples it is zero. the ECG trace after filtration. From the figure 31 it
• The group delay is high at the frequency is seen that the signal power at 50 Hz is -27dB.
of 50 Hz and then is decayed rapidly. When the notch filter is utilized it is seen that
• From the poles zero diagram it is seen that signal power is reduced to the -10dB. This clearly
all the zeros are on the unit circles. It is indicates that the there is reduction in the power
seen that zeros are located at ± 0.314 line interference.
radians. This is corresponding to the notch
frequency of the filter.
• The designed Butterworth notch filter is
stable.
3.5 Realization of the Butterworth notch filter: Figure 30: Signal before notch filtration (Lead II).
Figure 29 shows the complete realization
of the notch filter for order 4 and the sampling
frequency 1000Hz.
removes more noise than that of the Butterworth filtering methods”, Comput Biomed Res. 1993
filter. Also from the no. of coefficients it is found Feb;26(1):48-67.
that less number of computational blocks is [9] Sun Y, Chan K, Krishnan SM, “ECG signal
required in the design of the elliptic filter than that conditioning by morphological filtering”, Comput
Biol Med. 2002 Nov;32(6):465-79.
of the Butterworth filter. Matlab was very efficient
[10] Levkov C, Mihov G, Ivanov R, Daskalov I,
at creating and implementing filters in both the Christov I, Dotsinsky I, “Removal of power-line
cases. Unless there is specific requirement in interference from the ECG: a review of the
creating the digital filters, the filter design and subtraction procedure”, Biomed Eng Online. 2005
analysis tool pack is probably the quickest and Aug 23;4:50.
most intuitive way of creating filters, and offer [11] Wu Y, Yang Y, “A new digital filter method for
great deal of flexibility. eliminating 50Hz interference from the ECG”,
Zhongguo Yi Liao Qi Xie Za Zhi. 1999
Acknowledgment: Authors are thankful to faculty of May;23(3):145-8.
Department Electronics and communication [12] Ferdjallah M, Barr RE, “Frequency-domain digital
engineering NIT Kuruksherta, INDIA for their kind filtering techniques for the removal of powerline
support and guidance. noise with application to the electrocardiogram”,
Comput Biomed Res. 1990 Oct;23(5):473-89.
References: [13] P.K. Kulkarni, Vinod Kumar, H.K. Verma, “
[1] Mitov IP,“A method for reduction of power line Removal of powerline interference and baseline
interference in the ECG”, Med Eng Phys. 2004 wonder using real time digital filter”, Proceedings
Dec; 26(10):879-87. of international conference on computer
[2] Kumaravel N, Viswanathan SM, “Real time applications in electrical engineering, recent
implementation of genetic algorithm cancellation advances; Roorkee; India, pp 20-25 Sept. 1997.
of sinusoidal noise in ECG using TMS320C50 [14] Ahlstrom M.L. and Tomkins W.J. “Digital filter
DSP processor” Biomed Sci Instrum. 1999; for ECG real time processing using
35:169-74. microprocessors”, IEEE transactions on BME-32
[3] Dotsinsky I, Stoyanov T, “Power-line interference pp.708-713; 1885.
cancellation in ECG signals”, Biomed Instrum [15] Lynn,P.A., “ On line digital filter for biological
Technol. 2005 Mar-Apr;39(2):155-62. filters: some fast designs for small computers”,
[4] Kumaravel N, Senthil A, Sridhar KS, Medical Biological Engineering and computing
Nithiyanandam N, “Integrating the ECG power- vol.15,pp 91-101.
line interference removal methods with rule-based [16] Challis RE, Kitney RI., “The design of digital
system”, Biomed Sci Instrum. 1995; 31:115-20. filters for biomedical signal processing. Part 3: The
[5] Hamilton PS, “A comparison of adaptive and design of Butterworth and Chebychev filters”, J
nonadaptive filters for reduction of power line Biomed Eng. 1983 Apr; 5(2):91-102.
interference in the ECG”, IEEE Trans Biomed [17] Robertson DG, Dowling JJ, “Design and responses
Eng. 1996 Jan; 43(1):105-9. of Butterworth and critically damped digital
[6] Ider YZ, Saki MC, Gcer HA, “Removal of power filters”, J Electromyogr Kinesiol. 2003 Dec;
line interference in signal-averaged 13(6):569-73.
electrocardiography systems”, IEEE Trans Biomed [18] Zschorlich VR, “Digital filtering of EMG-signals”,
Eng. 1995 Jul;42(7):731-5. Electromyogr Clin Neurophysiol. 1989 Mar;
[7] Cramer E, McManus CD, Neubert D, “Estimation 29(2):81-6.
and removal of power line interference in the [19] G.S.Furno and W.j. Tompkins, “A learning filter
electrocardiogram: a comparison of digital for reducing noise interference,” IEEE trans.
approaches”, Comput Biomed Res. 1987 Biomed. Eng, vol. BME-30, pp. 234-235, 1983.
Feb;20(1):12-28. [20] John G. Webster, Ed., Medical Instrumentation-
[8] McManus CD, Neubert KD, Cramer E, Application and Design Bosten: Houghton
“Characterization and elimination of AC noise in Mifflin,1978.
electrocardiograms: a comparison of digital