The MSPTDfast photoplethysmography beat detection algorithm: design, benchmarking, and open-source distribution
- PMID: 39978069
- PMCID: PMC11894679
- DOI: 10.1088/1361-6579/adb89e
The MSPTDfast photoplethysmography beat detection algorithm: design, benchmarking, and open-source distribution
Abstract
Objective:photoplethysmography is widely used for physiological monitoring, whether in clinical devices such as pulse oximeters, or consumer devices such as smartwatches. A key step in the analysis of photoplethysmogram (PPG) signals is detecting heartbeats. The multi-scale peak & trough detection (MSPTD) algorithm has been found to be one of the most accurate PPG beat detection algorithms, but is less computationally efficient than other algorithms. Therefore, the aim of this study was to develop a more efficient, open-source implementation of theMSPTDalgorithm for PPG beat detection, namedMSPTDfast (v.2).Approach.five potential improvements toMSPTDwere identified and evaluated on four datasets.MSPTDfast (v.2)was designed by incorporating each improvement which on its own reduced execution time whilst maintaining a highF1-score. After internal validation,MSPTDfast (v.2)was benchmarked against state-of-the-art beat detection algorithms on four additional datasets.Main results.MSPTDfast (v.2)incorporated two key improvements: pre-processing PPG signals to reduce the sampling frequency to 20 Hz; and only calculating scalogram scales corresponding to heart rates >30 bpm. During internal validationMSPTDfast (v.2)was found to have an execution time of between approximately one-third and one-twentieth ofMSPTD, and a comparableF1-score. During benchmarkingMSPTDfast (v.2)was found to have the highestF1-score alongsideMSPTD, and amongst one of the lowest execution times with onlyMSPTDfast (v.1),qppgfastandMMPD (v.2)achieving shorter execution times.Significance.MSPTDfast (v.2)is an accurate and efficient PPG beat detection algorithm, available in an open-source Matlab toolbox.
Keywords: atrial fibrillation; beat detection; heart rate; interbeat interval; patient monitoring; signal processing; wearable devices.
Creative Commons Attribution license.
Figures










References
-
- Association for the Advancement of Medical Instrumentation (ANSI/AAMI EC13:2002) American National Standard; 2002. Cardiac monitors, heart rate meters, and alarms; pp. 1–87.
-
- Bashar S K. Atrial Fibrillation annotations of electrocardiogram from MIMIC III matched subset. figshare. 2020 doi: 10.6084/m9.figshare.12149091.v1. - DOI