The MSPTDfast photoplethysmography beat detection algorithm: design, benchmarking, and open-source distribution
Open Access
- 11 March 2025
- journal article
- Published by IOP Publishing in Physiological Measurement
- Vol. 46 (3) , 035002
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 the MSPTD algorithm for PPG beat detection, named MSPTDfast (v.2). Approach. five potential improvements to MSPTD were 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 high F 1-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 validation MSPTDfast (v.2) was found to have an execution time of between approximately one-third and one-twentieth of MSPTD, and a comparable F 1-score. During benchmarking MSPTDfast (v.2) was found to have the highest F 1-score alongside MSPTD, and amongst one of the lowest execution times with only MSPTDfast (v.1), qppgfast and MMPD (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
All Related Versions
Funding Information
- British Heart Foundation (FS/20/20/34626)
This publication has 41 references indexed in Scilit:
- Photoplethysmography sampling frequency: pilot assessment of how low can we go to analyze pulse rate variability with reliability?Physiological Measurement, 2017
- Toward a Robust Estimation of Respiratory Rate From Pulse OximetersIEEE Transactions on Biomedical Engineering, 2016
- The role of real-time in biomedical science: A meta-analysis on computational complexity, delay and speedupComputers in Biology and Medicine, 2015
- A Comparison of Single Channel Fetal ECG Extraction MethodsAnnals of Biomedical Engineering, 2014
- Multiparameter Respiratory Rate Estimation From the PhotoplethysmogramIEEE Transactions on Biomedical Engineering, 2013
- Normal ranges of heart rate and respiratory rate in children from birth to 18 years of age: a systematic review of observational studiesThe Lancet, 2011
- Signal quality measures for pulse oximetry through waveform morphology analysisPhysiological Measurement, 2011
- Photoplethysmography and its application in clinical physiological measurementPhysiological Measurement, 2007
- An Automatic Beat Detection Algorithm for Pressure SignalsIEEE Transactions on Biomedical Engineering, 2005
- Age-predicted maximal heart rate revisitedJACC, 2001