Abstract
This paper presents a robust QRS detection algorithm that is capable of detecting QRS complexes as well as accurately identifying R-peaks. The proposed bilateral threshold scheme combined with QRS watchdog greatly improves the detection accuracy and robustness, resulting in consistent detection performance on 9 available ECG databases. Simulations show that the proposed algorithm achieves good results on the datasets from both QTDB healthy database and MITDB arrhythmia database, i.e. the sensitivity of 99.99% and 99.88%, the precision of 99.98% and 99.88%, and the detection error rate of 0.04% and 0.31%, respectively. Furthermore, it also outperforms many existing algorithms on six other ECG databases, such as NSTDB, TWADB, STDB, SVDB, AFTDB, and FANTASIADB.
Similar content being viewed by others
References
World Health Organization. Cardiovascular diseases (CVDs). 2020. https://www.who.int/news-room/fact-sheets/detail/cardiovascular-diseases-(cvds)
Ravanshad N, Rezaee-Dehsorkh H, Lotfi R, et al. A level-crossing based QRS-detection algorithm for wearable ECG sensors. IEEE J Biomed Health Inf, 2014, 18: 183–192
Wong D L T, Yu J F, Li Y F, et al. An integrated wearable wireless vital signs biosensor for continuous inpatient monitoring. IEEE Sensors J, 2020, 20: 448–462
Luo Y X, Teng K H, Li Y F, et al. A 74-µW 11-Mbps wireless vital signs monitoring SoC for 3-Lead ECG, respiration rate, and body temperature. IEEE Trans Biomed Circ Syst, 2019, 13: 907–917
Zhang X Y, Zhang Z, Li Y F, et al. A 2.89 µW dry-electrode enabled clockless wireless ECG SoC for wearable applications. IEEE J Solid-State Circ, 2016, 51: 2287–2298
Zhang Q R, Xie Q S, Duan K F, et al. A digital signal processor (DSP)-based system for embedded continuous-time cuffless blood pressure monitoring using single-channel PPG signal. Sci China Inf Sci, 2020, 63: 149402
Dong X, Zhang M X, Lei Y H, et al. Parylene-MEMS technique-based flexible electronics. Sci China Inf Sci, 2018, 61: 060419
Zou X D, Xu X Y, Tan J, et al. A 1-v 1.1-µw sensor interface ic for wearable biomedical devices. In: Proceedings of IEEE International Symposium on Circuits and Systems, 2008. 2725–2728
Liu L T, Liu Y, Duan X F. Graphene-based vertical thin film transistors. Sci China Inf Sci, 2020, 63: 201401
Khan M G. Rapid ECG Interpretation. Berlin: Springer, 2008
Xie Q S, Li Y F, Wang G X, et al. An unobtrusive system for heart rate monitoring based on ballistocardiogram using Hilbert transform and Viterbi decoding. IEEE J Emerg Sel Top Circ Syst, 2019, 9: 635–644
Xhyheri B, Manfrini O, Mazzolini M, et al. Heart rate variability today. Prog Cardiovasc Dis, 2012, 55: 321–331
Zhang F, Lian Y. Novel QRS detection by CWT for ECG sensor. In: Proceedings of IEEE Biomedical Circuits and Systems Conference, 2007. 211–214
Zhang F, Lian Y. Electrocardiogram QRS detection using multiscale filtering based on mathematical morphology. In: Proceedings of the 29th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, 2007. 3196–3199
Zhang F, Tan J, Lian Y. An effective QRS detection algorithm for wearable ECG in body area network. In: Proceedings of IEEE Biomedical Circuits and Systems Conference, 2007. 195–198
Zhang F, Lian Y. QRS detection based on multiscale mathematical morphology for wearable ECG devices in body area networks. IEEE Trans Biomed Circ Syst, 2009, 3: 220–228
Zhang F, Lian Y. QRS detection based on morphological filter and energy envelope for applications in body sensor networks. J Sign Process Syst, 2011, 64: 187–194
Thong T, McNames J, Aboy M, et al. Prediction of paroxysmal atrial fibrillation by analysis of atrial premature complexes. IEEE Trans Biomed Eng, 2004, 51: 561–569
Jun T J, Park H J, Minh N H, et al. Premature ventricular contraction beat detection with deep neural networks. In: Proceedings of the 15th IEEE International Conference on Machine Learning and Applications (ICMLA), 2016. 859–864
de Chazal P, O’Dwyer M, Reilly R B. Automatic classification of heartbeats using ECG morphology and heartbeat interval features. IEEE Trans Biomed Eng, 2004, 51: 1196–1206
Ye C, Kumar B V K V, Coimbra M T. Heartbeat classification using morphological and dynamic features of ECG signals. IEEE Trans Biomed Eng, 2012, 59: 2930–2941
Llamedo M, Martinez J P. Heartbeat classification using feature selection driven by database generalization criteria. IEEE Trans Biomed Eng, 2011, 58: 616–625
Wang J, She M, Nahavandi S, et al. Human identification from ECG signals via sparse representation of local segments. IEEE Signal Process Lett, 2013, 20: 937–940
He C G, Li W, Chik D. Waveform compensation of ECG data using segment fitting functions for individual identification. In: Proceedings of the 13th International Conference on Computational Intelligence and Security (CIS), 2017. 475–479
Safie S I, Soraghan J J, Petropoulakis L. ECG biometric authentication using pulse active width (PAW). In: Proceedings of IEEE Workshop on Biometric Measurements and Systems for Security and Medical Applications (BIOMS), 2011
Kaveh A, Chung W. Temporal and spectral features of single lead ECG for human identification. In: Proceedings of IEEE Workshop on Biometric Measurements and Systems for Security and Medical Applications (BIOMS), 2013. 17–21
Yu S N, Lee M Y. Bispectral analysis and genetic algorithm for congestive heart failure recognition based on heart rate variability. Comput Biol Med, 2012, 42: 816–825
Yu S N, Lee M Y. Conditional mutual information-based feature selection for congestive heart failure recognition using heart rate variability. Comput Meth Prog Biom, 2012, 108: 299–309
Babaeizadeh S, White D P, Pittman S D, et al. Automatic detection and quantification of sleep apnea using heart rate variability. J Electrocardiology, 2010, 43: 535–541
Yildiz A, Akın M, Poyraz M. An expert system for automated recognition of patients with obstructive sleep apnea using electrocardiogram recordings. Expert Syst Appl, 2011, 38: 12880–12890
Pan J, Tompkins W J. A real-time QRS detection algorithm. IEEE Trans Biom Eng, 1985, 32: 230–236
Elgendi M. Fast QRS detection with an optimized knowledge-based method: evaluation on 11 standard ECG databases. PLoS ONE, 2013, 8: 73557
Lee J, Jeong K, Yoon J, et al. A simple real-time QRS detection algorithm. In: Proceedings of the 18th Annual International Conference of IEEE Engineering in Medicine and Biology Society, 1996. 1396–1398
Martinez J P, Almeida R, Olmos S, et al. A wavelet-based ECG delineator: evaluation on standard databases. IEEE Trans Biomed Eng, 2004, 51: 570–581
Arzeno N M, Deng Z D, Poon C S. Analysis of first-derivative based QRS detection algorithms. IEEE Trans Biomed Eng, 2008, 55: 478–484
Sahoo S, Biswal P, Das T, et al. De-noising of ECG signal and QRS detection using Hilbert transform and adaptive thresholding. Procedia Tech, 2016, 25: 68–75
Pandit D, Zhang L, Liu C Y, et al. A lightweight QRS detector for single lead ECG signals using a max-min difference algorithm. Comput Meth Prog Biom, 2017, 144: 61–75
Wang S K, Pang B, Liu M, et al. A novel compression framework using energy-sensitive QRS complex detection method for a mobile ECG. Sci China Inf Sci, 2019, 62: 069409
Chen H J, Maharatna K. An automatic R and T peak detection method based on the combination of hierarchical clustering and discrete wavelet transform. IEEE J Biom Health Inform, 2020, 24: 2825–2832
Moody G B, Mark R G. The impact of the MIT-BIH arrhythmia database. IEEE Eng Med Biol Mag, 2001, 20: 45–50
Laguna P, Mark R G, Goldberg A, et al. A database for evaluation of algorithms for measurement of QT and other waveform intervals in the ECG. In: Proceedings of Computers in Cardiology, 1997. 673–676
Moody G B, Muldrow W, Mark R G. A noise stress test for arrhythmia detectors. Comput Cardiology, 1984, 11: 381–384
Moody G. The physionet/computers in cardiology challenge 2008: T-wave alternans. In: Proceedings of Computers in Cardiology, 2008. 505–508
Albrecht P. ST segment characterization for long term automated ECG analysis. Dissertation for Ph.D. Degree. Cambridge: Massachusetts Institute of Technology, 1983
Greenwald S D, Patil R S, Mark R G. Improved detection and classification of arrhythmias in noise-corrupted electrocardiograms using contextual information. In: Proceedings of Computers in Cardiology, 1990. 461–464
Moody G. Spontaneous termination of atrial fibrillation: a challenge from Physionet and computers in cardiology 2004. In: Proceedings of Computers in Cardiology, 2004. 101–104
Iyengar N, Peng C K, Morin R, et al. Age-related alterations in the fractal scaling of cardiac interbeat interval dynamics. Am J Phys-Regul Integr Comp Phys, 1996, 271: 1078–1084
Mann D L, Zipes D P, Libby P, et al. Braunwald’s Heart Disease E-Book: A Textbook of Cardiovascular Medicine. Amsterdam: Elsevier Health Sciences, 2014
Goldberger A L, Amaral L A N, Glass L, et al. PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation, 2000, 101: 215–220
Lian Y, Yu J H. The reduction of noises in ECG signal using a frequency response masking based fir filter. In: Proceedings of IEEE International Workshop on Biomedical Circuits and Systems, 2004
de Luna A B, Batchvarov V N, Malik M. The morphology of the electrocardiogram. In: The ESC Textbook of Cardiovascular Medicine. Oxford: Blackwell Publishing, 2006
Sedghamiz H. Matlab implementation of Pan Tompkins ECG QRS detector. Mathworks, 2014. https://www.mathworks.com/matlabcentral/fileexchange/45840-complete-pan-tompkins-implementation-ecg-qrs-detector
Acknowledgements
This work was supported in part by National Key Research and Development Program of China (Grant No. 2019YFB2204500), in part by National Natural Science Foundation of China (Grant No. 61874171), in part by Science, Technology and Innovation Action Plan of Shanghai Municipality, China (Grant No. 1914220370), and Alibaba Group through Alibaba Innovative Research (AIR) Program.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Zhao, K., Li, Y., Wang, G. et al. A robust QRS detection and accurate R-peak identification algorithm for wearable ECG sensors. Sci. China Inf. Sci. 64, 182401 (2021). https://doi.org/10.1007/s11432-020-3150-2
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11432-020-3150-2