Академический Документы
Профессиональный Документы
Культура Документы
Ying-Wen Bai, Wen-Yang Chu, Chien-Yu Chen, Yi-Ting Lee, Yi -Ching Tsai and
Cheng-Hung Tsai
Department of Electronic Engineering, Fu Jen Catholic University
Taipei, Taiwan, 242, R.O.C., bai@ee.fiu.edu.tw
Abstract
After an analog ECG signal is transferred into digital format, a suitable digital
filter can be used to suppress the high-frequency embedded noise. In this paper, we use
the equiripple FIR low-pass filter by superimposing of the optimal method, the
Butterworth IIR low-pass filter, the 8-point moving-average filter, and the FIR filter
designed by using a Kaiser window. Furthermore, we combine the 8-point
moving-average filter with the FIR filter designed by using a Kaiser window. In addition,
we use the mean square error (M. S. E.) to estimate the effect of the digital filters in order
to compare the reduction of the embedded high-frequency noise. Hence, we compute the
mean square error with respect to the order, N, of these filters and plot the relationship
between M. S. E. and N. Finally, we find the relationship between the CPU time and N.
1. Introduction
Where h( k ), Γk 0, 1Γ
,Γ
, N are the coefficients of a filter.
Then we define the Mean Square Error (M. S. E.) as shown in Eq. (2) as a criterion
of evaluating the ability of reducing the noise of the various filters. In other words, we put
N P represents the sampling points, and comes from the ideal resolution of the ECG
signal we constructed. xideal [n ] is a sequence of the ideal waveform, and y[n ] is a
output signal of digital filters where the input signal is x[n ] which the noise is
embedded in.
To evaluate the performance of the filters, we need to construct an ECG signal model.
The standard 745-point ECG signal model is shown in the left side of Fig. 3 [3-7].
When we design the filter, generally, we will make our decisions on the bound of the
filter order first because of the upper limit of the system performance. Then we can obtain
the best frequency response by specifying a specific set of parameters. However, there
must be a trade-off between the performance and the order of the corresponding filters.
Here, the filter order is limited at an upper limit of 41 as shown at the right side of Fig. 2.
1
R W in d o w M e th o d (K ais e r )b e ta =3 .4
0.55 B u tte r wo rth
0 .8
QRS wave E q u irip p le
0 .5
0.45
Bandwidth ( 'Z/S )
0 .6
Amplitude in volts
T wave 0 .4
0 .4
0.35
P wave
0 .3
0 .2
0.25
0
0 .2
-0 .2 0.15
Q T h e 8- p oin t M ovin g Averag e
S 0 .1
-0 .4
is h ard to d efin e.
0 0.1 0.2 0. 3 0. 4 0 .5 0.6 0.7 0.8
0.05
Time in secon ds 5 10 15 20 25 30 35 40 45
F ilter or de r ( N )
Fig. 2 The standard 745-point ECG signal model and the transition bandwidth vs.
the order of the low-pass filters
From the right side of Fig. 2, we find the transition bandwidths of all the designs are
shorter as the filter order N increases. Although we can obtain the shorter transition
bandwidth with the same filter order by the Butterworth IIR filter here, its phase is not
entirely linear in the passband and thereby its performance should be evaluated more
carefully with M.S.E. Besides, we can find that the filter, by using a Kaiser window has a
shorter transition bandwidth than the equiripple FIR filter under the same filter order.
We synthesized both the ECG model established previously and the 100Hz and 200Hz
noise. Furthermore, we filtered these mixed signals through the filters. The waveforms
E C G m o d el 4 1 th b e ta = 3 . 4 K a i s e r 4 1 th E q u i r ip p le
1 1 .5 1 .5
0 .8
0 .6 1 1
0 .4
0 .5 0 .5
0 .2
0
0 0
- 0 .2
- 0 .4 - 0 .5 - 0 .5
0 0.5 1 0 0.5 1 0 0.5 1
2 1 th B u t te rw o r th MA8 M A 8 + k A IS E R
1 .5 1 1
0 .8 0 .8
Amplitude in Volts
1
0 .6 0 .6
0 .4 0 .4
0 .5
0 .2 0 .2
0 0
0
- 0 .2 - 0 .2
- 0 .5 - 0 .4 - 0 .4
0 0.5 1 0 0.5 1 0 0.5 1
T im e in s e c o n ds
0 .8 0 .8 0 .8
0 .6 0 .6 0 .6
0 .4 0 .4 0 .4
0 .2 0 .2 0 .2
0 0 0
Amplitude in Volts
- 0 .2 - 0 .2 - 0 .2
- 0 .4 - 0 .4 - 0 .4
0 0.5 1 0 0.5 1 0 0.5 1
2 1 th B u t te r w o r th MA8 M A 8 + k A IS E R
1 1 1
0 .8 0 .8 0 .8
0 .6 0 .6 0 .6
0 .4 0 .4 0 .4
0 .2 0 .2 0 .2
0 0 0
- 0 .2 - 0 .2 - 0 .2
- 0 .4 - 0 .4 - 0 .4
0 0.5 1 0 0.5 1 0 0.5 1
T im e i n s e c o n d s
3
MSE
Average CPUTIME in secs
4
x 10 14 0H z 4
x 10 1 6 0H z
0.14
MSE
MSE
0.12 2
2
0 0
0.08 0 20 40 60 0 20 40 60
5 10 15 20 25 30 35 40 45
Or d er(N ) O rd er(N )
Filter order (N)
Fig. 6 CPU time with respect to the filter order N of the filters and M.S.E. with
respect to the filter order N of the filters for the different noise frequencies
4. Conclusions
References:
[1] Hamid Gholam-Hosseini, Homer Nazeran, Karen J. Reynolds, “ECG Noise Cancellation Using Digital
Filters,” Proceedings of the 2nd International Conference on Bioelectromagnetism, 15-18 Feb. 1998, pp.
151 – 152.
[2] Ronald E. Barr and Mohammed Ferdjallah, “Frequency-Domain Digital Filtering Techniques for
Selective Noise Elimination in Biomedical Signal Processing,” 1990. Proceedings of the Twelfth Annual
International Conference of the IEEE, 1-4 Nov. 1990, pp. 813 – 814.
[3] C. Weaver, J. Von Der Groeben, P. Mantey, J. Toole, C. Jr. Cole, J. Fitzgerald, and R. Lawrence, “Digital
Filtering with Applications to Electrocardiogram Processing,” IEEE Transactions on Audio and
Electroacoustics, Volume: 16, Issue: 3, Sep 1968, pp. 350 – 391.
[4] A. Link, P. Endt, M. Oeff and L. Trahms, “Variability of the QRS Signal in High-resolution
Electrocardiograms and Magnetocardiograms,” IEEE Transactions on Biomedical Engineering, Feb
2001, Vol.48, Issue.2, pp.133-142.
[5] S. O. Aase, T. Eftestol, J. H. Husoy, K. Sunde and P. A. Steen, “CPR Artifact Removal from Human
ECG using Optional Multichannel Filtering,” IEEE Transaction on Biomedical Engineering, Nov. 2000,
Vol. 49, Issue II, pp.1440-1449.
[6] L. Gyongy and L. Jobbagy, “Weighted Averaging of ECG Signal Based on the Number of Turning
Points,” Proceedings of the First Joint Conference on Engineering in Medicine and Biology Engineering
Society, 1999, Vol. 1, pp. 295.
[7] Rangaraj M. Rangayyan, Biomedical Signal Analysis, John-Wiley, 2002.
[8] Emmanuel C. Ifeachor and Barrie W. Jervis, Digital Signal Processing, Prentice Hall, 2002.
[9] Sanjit K. Mitra, Digital Signal Processing: A Computer-Based Approach, McGraw-Hall, 2001.
[10] Ying-Wen Bai and Jer-I Chu. “Noise Reduction in a Remote Measurement System by Using DSP
Software Methods,” Accepted by IASTED International Conference on Networks, parallel and
Distributed Processing, and Applications (NPDPA 2002).
[11] T. W. Parks, J. H. McClellan, “Chebyshev Approximation for Nonrecursive digital Filters with Linear
Phase,” IEEE Trans. on Circuit Theory, CT-19: 189-194, 1972.
[12] O. Herrmann, “Design of Nonrecursive Digital Filters with Linear Phase,” Electron. Lett., Vol. 6, No. 11,
pp. 189-194, Mar. 1972.