Fast Parabolic Fitting: An R-Peak Detection Algorithm for Wearable ECG Devices

Sensors (Basel). 2023 Oct 28;23(21):8796. doi: 10.3390/s23218796.

Abstract

Heart diseases rank among the most fatal health concerns globally, with the majority being preventable through early diagnosis and effective treatment. Electrocardiogram (ECG) analysis is critical in detecting heart diseases, as it captures the heart's electrical activities. For continuous monitoring, wearable electrocardiographic devices must ensure user comfort over extended periods, typically 24 to 48 h. These devices demand specialized algorithms with low computational complexity to accommodate memory and power consumption constraints. One of the most crucial aspects of ECG signals is accurately detecting heartbeat intervals, specifically the R peaks. In this study, we introduce a novel algorithm designed for wearable devices, offering two primary attributes: robustness against noise and low computational complexity. Our algorithm entails fitting a least-squares parabola to the ECG signal and adaptively shaping it as it sweeps through the signal. Notably, our proposed algorithm eliminates the need for band-pass filters, which can inadvertently smooth the R peaks, making them more challenging to identify. We compared the algorithm's performance using two extensive databases: the meta-database QT database and the BIH-MIT database. Importantly, our method does not necessitate the precise localization of the ECG signal's isoelectric line, contributing to its low computational complexity. In the analysis of the QT database, our algorithm demonstrated a substantial advantage over the classical Pan-Tompkins algorithm and maintained competitiveness with state-of-the-art approaches. In the case of the BIH-MIT database, the performance results were more conservative; they continued to underscore the real-world utility of our algorithm in clinical contexts.

Keywords: R-peak detection; fast parabolic fitting; wearable ECG devices.

MeSH terms

  • Algorithms
  • Electrocardiography / methods
  • Heart Diseases*
  • Humans
  • Signal Processing, Computer-Assisted
  • Wearable Electronic Devices*

Grants and funding

This research received no external funding.