Detecting beats in the photoplethysmogram: benchmarking open-source algorithms

Physiol Meas. 2022 Aug 19;43(8):085007. doi: 10.1088/1361-6579/ac826d.

Abstract

The photoplethysmogram (PPG) signal is widely used in pulse oximeters and smartwatches. A fundamental step in analysing the PPG is the detection of heartbeats. Several PPG beat detection algorithms have been proposed, although it is not clear which performs best.Objective:This study aimed to: (i) develop a framework with which to design and test PPG beat detectors; (ii) assess the performance of PPG beat detectors in different use cases; and (iii) investigate how their performance is affected by patient demographics and physiology.Approach:Fifteen beat detectors were assessed against electrocardiogram-derived heartbeats using data from eight datasets. Performance was assessed using theF1score, which combines sensitivity and positive predictive value.Main results:Eight beat detectors performed well in the absence of movement withF1scores of ≥90% on hospital data and wearable data collected at rest. Their performance was poorer during exercise withF1scores of 55%-91%; poorer in neonates than adults withF1scores of 84%-96% in neonates compared to 98%-99% in adults; and poorer in atrial fibrillation (AF) withF1scores of 92%-97% in AF compared to 99%-100% in normal sinus rhythm.Significance:Two PPG beat detectors denoted 'MSPTD' and 'qppg' performed best, with complementary performance characteristics. This evidence can be used to inform the choice of PPG beat detector algorithm. The algorithms, datasets, and assessment framework are freely available.

Keywords: atrial fibrillation; beat detection; electrocardiogram; heartbeat; photoplethysmography; pulse wave.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Adult
  • Algorithms
  • Atrial Fibrillation* / diagnosis
  • Benchmarking
  • Electrocardiography
  • Heart Rate
  • Humans
  • Infant, Newborn
  • Photoplethysmography*