Skip to main content
Log in

Adaptive augmented cubature Kalman filter/smoother for ECG denoising

  • Original Article
  • Published:
Biomedical Engineering Letters Aims and scope Submit manuscript

Abstract

Model-based Bayesian approaches have been widely applied in Electrocardiogram (ECG) signal processing, where their performances heavily rely on the accurate selection of model parameters, particularly the state and measurement noise covariance matrices. In this study, we introduce an adaptive augmented cubature Kalman filter/smoother (CKF/CKS) for ECG processing, which updates the noise covariance matrices at each time step to accommodate diverse noise types and input signal-to-noise ratios (SNRs). Additionally, we incorporate the dynamic time warping technique to enhance the filter’s efficiency in the presence of heart rate variability. Furthermore, we propose a method to significantly reduce the computational complexity required for CKF/CKS implementation in ECG processing. The denoising performance of the proposed filter was compared to those of various nonlinear Kalman-based frameworks involving the Extended Kalman filter/smoother (EKF/EKS), the unscented Kalman filter/smoother (UKF/UKS), and the ensemble Kalman filter (EnKF) that was recently proposed for ECG enhancement. In this study, we conducted a comprehensive evaluation and comparison of the performance of various nonlinear Kalman-based frameworks for ECG signal processing, which have been proposed in recent years. Our assessment was carried out on multiple normal ECG segments extracted from different entries in the MIT-BIH Normal Sinus Rhythm Database (NSRDB). This database provides a diverse set of ECG recordings, allowing us to examine the filters’ denoising capabilities across various scenarios. By comparing the performance of these filters on the same dataset, we aimed to provide a thorough analysis and identification of the most effective approach for ECG denoising. Two kinds of noises were introduced to such segments: 1-stationary white Gaussian noise and 2-non-stationary real muscle artifact noise. For evaluation, four comparable measures namely the SNR improvement, PRD, correlation coefficient and MSEWPRD were employed. The findings demonstrated that the suggested algorithm outperforms the EKF/EKS, EnKF/EnKS, UKF/UKS methods in both stationary and nonstationary environments regarding SNR improvement, PRD, correlation coefficient and MSEWPRD metrics.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

  1. Sameni R, Shamsollahi MB, Jutten C, Clifford GD. A nonlinear Bayesian filtering framework for ECG denoising. IEEE Trans Biomed Eng. 2007;54(12):2172–85.

    Article  PubMed  Google Scholar 

  2. Sayadi O, Shamsollahi MB. ECG denoising and compression using a modified extended Kalman filter structure. IEEE Trans Biomed Eng. 2008;55(9):2240–8.

    Article  PubMed  Google Scholar 

  3. Hesar H, Mohebbi M. ECG denoising using marginalized particle extended Kalman filter with an automatic particle weighting strategy. IEEE J Biomed Health Inform. 2016;21(3):635–44. https://doi.org/10.1109/JBHI.2016.2582340.

    Article  PubMed  Google Scholar 

  4. Hesar HD, Mohebbi M. An adaptive particle weighting strategy for ecg denoising using marginalized particle extended Kalman filter: an evaluation in arrhythmia contexts. IEEE J Biomed Health Inform. 2017;21(6):1581–92. https://doi.org/10.1109/JBHI.2017.2706298.

    Article  PubMed  Google Scholar 

  5. R. M. Bodile and T. H. Rao, (2020) "Ecg denoising using cubature kalman filter framework," In: 2020 5th International Conference on Communication and Electronics Systems (ICCES), IEEE, pp. 228–232.

  6. Hesar HD, Mohebbi M. An adaptive Kalman filter bank for ECG denoising. IEEE J Biomed Health Inform. 2020;25(1):13–21.

    Article  Google Scholar 

  7. McSharry PE, Clifford GD, Tarassenko L, Smith LA. A dynamical model for generating synthetic electrocardiogram signals. IEEE Trans Biomed Eng. 2003;50(3):289–94.

    Article  PubMed  Google Scholar 

  8. E. W. e. al. ReBEL: Recursive Bayesian Estimation Library. [Online] Available: http://choosh.ece.ogi.edu/rebel/

  9. Sayadi O, Shamsollahi M. A model-based Bayesian framework for ECG beat segmentation. Physiol Meas. 2009;30(3):335–52.

    Article  CAS  PubMed  Google Scholar 

  10. S. Sarafan et al., "A novel ecg denoising scheme using the ensemble kalman filter," In: 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), 2022: IEEE, pp. 2005–2008.

  11. M. Akhbari, M. B. Shamsollahi, C. Jutten, and B. Coppa, "ECG denoising using angular velocity as a state and an observation in an extended kalman filter framework," In: Proc. IEEE Annual International Conference on Medicine and Biology Society (EMBC), 2012: IEEE, pp. 2897–2900.

  12. H. D. Hesar, "A Cubature Kalman Smoother for ECG Denoising," In: 2021 28th National and 6th International Iranian Conference on Biomedical Engineering (ICBME), 2021: IEEE, pp. 78–83.

  13. A. Dutta and M. Das, "ECG Signal Denoising using Adaptive Unscented Kalman Filter," In: 2022 IEEE Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation (IATMSI), 2022: IEEE, pp. 1–6.

  14. The MIT-BIH Normal Sinus Rhythm Database. PhysioNet, Cambridge,MA [Online] Available: http://www.physionet.org/physiobank/database/nsrdb/

  15. D. Simon, Optimal state estimation: Kalman, H infinity, and nonlinear approaches. John Wiley & Sons, 2006.

  16. S. Särkkä, Bayesian filtering and smoothing. Cambridge University Press, 2013.

  17. S. Särkkä, Bayesian filtering and smoothing (no. 3). Cambridge University Press, 2013.

  18. Sameni R, Shamsollahi MB, Jutten C. Model-based Bayesian filtering of cardiac contaminants from biomedical recordings. Physiol Meas. 2008;29(5):595–613. https://doi.org/10.1088/0967-3334/29/5/006.

    Article  CAS  PubMed  Google Scholar 

  19. Zheng B, Fu P, Li B, Yuan X. A robust adaptive unscented Kalman filter for nonlinear estimation with uncertain noise covariance. Sensors. 2018;18(3):808.

    Article  ADS  PubMed  PubMed Central  Google Scholar 

  20. Zhang L, Sidoti D, Bienkowski A, Pattipati KR, Bar-Shalom Y, Kleinman DL. On the identification of noise covariances and adaptive Kalman filtering: a new look at a 50 year-old problem. IEEE Access. 2020;8:59362–88.

    Article  PubMed  PubMed Central  Google Scholar 

  21. Lin C, Mailhes C, Tourneret J-Y. P-and T-wave delineation in ECG signals using a Bayesian approach and a partially collapsed Gibbs sampler. IEEE Trans Biomed Eng. 2010;57(12):2840–9.

    Article  PubMed  Google Scholar 

  22. Sayadi O, Shamsollahi MB, Clifford GD. Robust detection of premature ventricular contractions using a wave-based bayesian framework. IEEE Trans Biomed Eng. 2010;57(2):353–62.

    Article  PubMed  Google Scholar 

  23. C. Lin, M. Bugallo, C. Mailhes, and J.-Y. Tourneret, (2011) "ECG denoising using a dynamical model and a marginalized particle filter," In: Proc. 45th Conference on Signals, Systems and Computers (ASILOMAR): IEEE, pp. 1679–1683.

  24. M. Akhbari, M. B. Shamsollahi, and C. Jutten, (2013) "Fiducial points extraction and characteristicwaves detection in ECG signal using a model-based bayesian framework," In: Proc. IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), IEEE, pp. 1257–1261.

  25. M. Akhbari, M. B. Shamsollahi, and C. Jutten, (2013) "ECG fiducial points extraction by extended kalman filtering," In: Proc. 36th International Conference on Telecommunications and Signal Processing (TSP), 2013: IEEE, pp. 628–632.

  26. Akhbari M, Shamsollahi MB, Jutten C, Armoundas AA, Sayadi O. ECG denoising and fiducial point extraction using an extended Kalman filtering framework with linear and nonlinear phase observations. Physiol Meas. 2016;37(2):203.

    Article  PubMed  Google Scholar 

  27. Hesar HD, Mohebbi M. A multi rate marginalized particle extended Kalman Filter for P and T wave segmentation in ECG Signals. IEEE J Biomed Health Inform. 2018;23(1):112–22.

    Article  PubMed  Google Scholar 

  28. Hesar HD, Mohebbi M. Implementation of a square-root filtering approach in marginalized particle filters for mixed linear/nonlinear state-space models. Int J Adapt Control Signal Process. 2019;33(3):493–511.

    Article  MathSciNet  Google Scholar 

  29. Clifford G, Shoeb A, McSharry P, Janz B. Model-based filtering, compression and classification of the ECG. Int J Bioelectromagn. 2005;7(1):158–61.

    Google Scholar 

  30. The MT-BIH Noise Stress Test Database. PhysioNet, Cambridge, MA [Online] Available: https://www.physionet.org/physiobank/database/nstdb/

  31. Manikandan MS, Dandapat S. Multiscale entropy-based weighted distortion measure for ECG coding. Signal Process Lett, IEEE. 2008;15:829–32.

    Article  ADS  Google Scholar 

  32. Hesar HD, Hesar AD. ECG enhancement using a modified Bayesian framework and particle swarm optimization. Biomed Signal Process Control. 2023;80:104280.

    Article  Google Scholar 

Download references

Funding

The authors declare that no funds, grants, or other support were received during the preparation of this manuscript.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hamed Danandeh Hesar.

Ethics declarations

Conflict of interest

The authors have no conflicts of interest to declare. All co-authors have seen and agree with the contents of the manuscript and there is no financial interest to report. We certify that the submission is original work and is not under review at any other publication.

Ethical approval

This study received no funding and the authors have no conflicts of interest to declare. All co-authors have seen and agree with the contents of the manuscript and there is no financial interest to report. We certify that the submission is original work and is not under review at any other publication. This article does not contain any studies with human participants or animals performed by any of the authors.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Hesar, H.D., Hesar, A.D. Adaptive augmented cubature Kalman filter/smoother for ECG denoising. Biomed. Eng. Lett. (2024). https://doi.org/10.1007/s13534-024-00362-7

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s13534-024-00362-7

Keywords

Navigation