Professional Documents
Culture Documents
VLSI Friendly ECG QRS Complex Detector For Body Sensor Networks
VLSI Friendly ECG QRS Complex Detector For Body Sensor Networks
IEEE JOURNAL ON EMERGING AND SELECTED TOPICS IN CIRCUITS AND SYSTEMS, VOL. 2, NO. 1, MARCH 2012
AbstractThis paper aims to present a very-large-scale integration (VLSI) friendly electrocardiogram (ECG) QRS detector for
body sensor networks. Baseline wandering and background noise
are removed from original ECG signal by a mathematical morphological method. Then the multipixel modulus accumulation is
employed to act as a low-pass filter to enhance the QRS complex
and improve the signal-to-noise ratio. The performance of the algorithm is evaluated with standard MIT-BIH arrhythmia database
and wearable exercise ECG Data. Corresponding power and area
efficient VLSI architecture is designed and implemented on a commercial nano-FPGA. High detection rate and high speed demonstrate the effectiveness of the proposed detector.
Index TermsBody sensor networks (BSNs), electrocardiogram
(ECG) sensor, field-programmable gate array (FPGA), mathematical morphology, QRS detection, very-large-scale integration
(VLSI) architecture.
I. INTRODUCTION
ZHANG AND BAE: VLSI FRIENDLY ECG QRS COMPLEX DETECTOR FOR BODY SENSOR NETWORKS
53
54
IEEE JOURNAL ON EMERGING AND SELECTED TOPICS IN CIRCUITS AND SYSTEMS, VOL. 2, NO. 1, MARCH 2012
(7)
For the ECG signal that processed by this morphology filter,
the QRS complex will be enhanced and others waves that
change smoothly will be mapped in horizontal axis after the
cancellation of dc components.
Reference [7] detailed how the structure element selection
is important for ECG QRS recognition in mathematical morphology, where qualitative morphology filtering investigations
were carried out for different structure elements applied to ECG
signal. Briefly, processing results, i.e., the signal information of
interest, can be mainly determined by three critical parameters
of the structure element in the morphological filter. The shape
(or slope) of the structure element is the most significant factor,
herein the smaller slope performs better in terms of removing
noise, but with a larger reduction in the amplitude of resulted
signal. The less significant item is the length of the structure element (i.e., the assumed duration of the QRS complex), which
varies with patient and placement of the electrodes, and longer
structure element turns out to lead to slightly better performance
in terms of noise reduction, but with a small decrease in amplitude of QRS complex. The least significant item is the amplitude of the structure item, which the filter performance is the
least sensitive to. Hence, in our selections, more considerations
are given in terms of the tradeoff between computational complexity, effectiveness, and amplitude of resulted signal when determining the parameters of structure element. Considering the
simplicity and similar shape, we select the triangle structure element by the optimization, defined as
(8)
where
denotes the smallest integer less than or equal
,
is the length of structure element,
to
and
is the amplitude. Here, we choose
, and
according to the above selection rules, hence the
.
B. Enhancing ECG by Modulus and Combination
The absolute value of the above output is then combined by
multiple-frame accumulation, which is much alike energy trans-
ZHANG AND BAE: VLSI FRIENDLY ECG QRS COMPLEX DETECTOR FOR BODY SENSOR NETWORKS
Fig. 3. QRS detection for normal ECG using tape 100 of MIT/BIH database.
55
Fig. 4. QRS detection for large T wave using tape 114 of MIT/BIH database.
Fig. 5. QRS detection for large S wave using tape 117 of MIT/BIH database.
Fig. 6. QRS detection for pathological ECG using tape 200 of MIT/BIH
database.
are used to specify the true and detected QRS complexes, respectively. Fig. 4 gives a special case where the amplitude of
high T wave exceeds that of R wave. It clearly demonstrates
that the T wave will be eliminated after the mathematical morphology processing. It is intuitively challenging when the T
waves or noise spikes are similar in duration as the QRS complexes. How accurate this algorithm is will be a topic of interest
56
IEEE JOURNAL ON EMERGING AND SELECTED TOPICS IN CIRCUITS AND SYSTEMS, VOL. 2, NO. 1, MARCH 2012
Fig. 7. QRS detection for irregular ECG using tape 207 of MIT/BIH database.
Fig. 10. Detection of QRS for our exercise ECG under running.
Fig. 8. QRS detection for using the tape 233 of MIT/BIH database.
Fig. 11. Detection of QRS for our exercise ECG under breathing deeply.
Fig. 9. Detection of QRS for our own exercise ECG under walking.
Fig. 12. Detection of QRS for our ECG under chest expanding exercise.
ZHANG AND BAE: VLSI FRIENDLY ECG QRS COMPLEX DETECTOR FOR BODY SENSOR NETWORKS
57
TABLE I
PERFORMANCE FOR PROPOSED ALGORITHM
Fig. 13. Detection of QRS for our ECG under standing up and crouching down.
Fig. 14. Detection of QRS for our ECG under going upstairs and downstairs.
prediction
and detection error rate (DER) can be calculated using the following equations, respectively
%
(11)
(12)
(13)
58
IEEE JOURNAL ON EMERGING AND SELECTED TOPICS IN CIRCUITS AND SYSTEMS, VOL. 2, NO. 1, MARCH 2012
TABLE II
COMPARISON WITH PUBLISHED ALGORITHMS
REFERENCES
[1] G. Yang, Body Sensor Networks. New York: Springer, 2006.
[2] B. U. Kohler, C. Hennig, and R. Orglmeister, The principles of software QRS detection, IEEE Eng. Med. Biol. Mag., vol. 21, no. 1, pp.
4257, Jan. 2002.
[3] F. Zhang and Y. Lian, Novel QRS detection by CWT for ECG sensor,
in Proc. Int. Conf. IEEE Biomed. Circuits Syst., Montreal, ON, Canada,
Nov. 2007.
[4] H. Lee and K. M. Buckley, ECG data compression using cut and align
beats approach and 2D transforms, IEEE Trans. Biomed. Eng., vol. 46,
no. 5, pp. 556564, May 1999.
[5] A. Gasterators, I. Andreadis, and Ph. Tsalides, Fuzzy soft mathematical morphology, in IEEE Proc. Vis. Imag. Signal Process., Feb. 1998,
vol. 145, pp. 4149.
[6] F. Zhang, C. Li, and L. Shi, Detecting and tracking dim moving point
target in IR image sequences, Infrared Phys. Technol., vol. 46, pp.
323328, Apr. 2005.
[7] F. Zhang and Y. Lian, Effective ECG QRS detection based on multiscale mathematical morphology filtering, IEEE Trans. Biomed. Circuits Syst., vol. 3, no. 4, pp. 220228, Aug. 2009.
[8] J. Hu and S. Bao, An approach to QRS complex detection based on
multiscale mathematical morphology, in Proc. 3rd IEEE Int. Conf.
Biomed. Eng. Inform. (IEEE BMEI 2010), 2010, p. 725.
[9] C.-H. N. Chu and E. J. Delp, Impulsive noise suppression and background normalization of electrocardiogram signals using morphological operators, IEEE Trans. Biomed. Eng., vol. 36, no. 2, pp. 262273,
Feb. 1989.
[10] P. E. Trahanias, An approach to QRS complex detection using mathematical morphology, IEEE Trans. Biomed. Eng., vol. 40, no. 2, pp.
201205, Feb. 1993.
[11] Y. L. Chen and H. L. Duan, A QRS complex detection algorithm
based on mathematical morphology and envelope, in Proc. 27th Annu.
Int. Conf. IEEE EMBS, Shanghai, China, Sep. 2005, pp. 46544657.
[12] F. Zhang, J. Tan, and Y. Lian, An effective QRS detection algorithm for wearable ECG in body area network, in Proc. Int. Conf.
IEEE Biomed. Circuits Syst., Montreal, ON, Canada, Nov. 2007, pp.
195198.
[13] [Online]. Available: http://www.physionet.org/physiobank/database/
mitdb/
[14] N. V. Thakor, J. G. Webster, and W. J. Tompkins, Optimal QRS detector, Med. Bio. Eng. Comput., vol. 21, pp. 343350, May 1983.
[15] F. Gritzali, Towards a generalized scheme for QRS detection in ECG
waveforms, Signal Process., vol. 15, pp. 183192, Sep. 1988.
[16] T. Hoang, J. Son, Y. Kang, C. Kim, H. Chuang, and S. Kim, A low
complexity, low power, programmable QRS detector based on wavelet
transform for implantable pacemaker IC, in IEEE Int. SOC Conf., Sep.
2427, 2006, pp. 160163.
[17] A. Ruha and S. Sallinen, A real-time microprocessor QRS detector
system with a 1-ms timing accuracy for the measurement of ambulatory
HRV, IEEE Trans. Biomed. Eng., vol. 44, no. 2, pp. 159167, Feb.
1997.
[18] R. Poli, S. Cagnoni, and G. Valli, Genetic design of optimum linear
and nolinear QRS detectors, IEEE Trans. Biomed. Eng., vol. 42, no.
11, pp. 11371141, Nov. 1995.
[19] J. Pan and W. J. Tompkins, A real time QRS detection algorithm,
IEEE Trans. Biomed. Eng., vol. 32, no. 3, pp. 230236, Mar. 1985.
[20] S. Chen, H. Chen, and H. Chan, A real-time QRS detection method
based on moving-averaging incorporating with wavelet denosing,
Comput. Methods Programs Biomed., vol. 82, pp. 187195, Mar.
2006.
[21] V. X. Afonso, W. J. Tompkins, T. Q. Nguyen, and S. Luo, ECG beat
detection using filter banks, IEEE Trans. Biomed. Eng., vol. 46, pp.
192201, Feb. 1999.
[22] P. S. Hamilton and W. J. Tompkins, Quantitative investigation of QRS
detection rules using the MIT/BIH arrhythmia database, IEEE Trans.
Biomed. Eng., vol. 33, no. 3, pp. 11571165, Mar. 1986.
[23] Q. Xue, Y. H. Hu, and W. J. Tompkins, Neural-network-based adaptive filtering for QRS detection, IEEE Trans. Biomed. Eng., vol. 39,
no. 4, pp. 315329, Apr. 1992.
[24] J. Lee, K. Jeong, J. Yoon, and M. Lee, A simple real-time microprocessor QRS detection algorithm, in Proc. 18th Annu. Int. Conf. IEEE
Eng. Med. Biomed. Soc., 1996, pp. 13961398.
ZHANG AND BAE: VLSI FRIENDLY ECG QRS COMPLEX DETECTOR FOR BODY SENSOR NETWORKS
59