Heart Rate Measurement Using the Built-In Triaxial Accelerometer from a Commercial Digital Writing Device

Sensors (Basel). 2024 Mar 31;24(7):2238. doi: 10.3390/s24072238.

Abstract

Currently, wearable technology is an emerging trend that offers remarkable access to our data through smart devices like smartphones, watches, fitness trackers and textiles. As such, wearable devices can enable health monitoring without disrupting our daily routines. In clinical settings, electrocardiograms (ECGs) and photoplethysmographies (PPGs) are used to monitor heart and respiratory behaviors. In more practical settings, accelerometers can be used to estimate the heart rate when they are attached to the chest. They can also help filter out some noise in ECG signals from movement. In this work, we compare the heart rate data extracted from the built-in accelerometer of a commercial smart pen equipped with sensors (STABILO's DigiPen) to standard ECG monitor readouts. We demonstrate that it is possible to accurately predict the heart rate from the smart pencil. The data collection is carried out with eight volunteers writing the alphabet continuously for five minutes. The signal is processed with a Butterworth filter to cut off noise. We achieve a mean-squared error (MSE) better than 6.685 × 10-3 comparing the DigiPen's computed Δt (time between pulses) with the reference ECG data. The peaks' timestamps for both signals all maintain a correlation higher than 0.99. All computed heart rates (HR =60Δt) from the pen accurately correlate with the reference ECG signals.

Keywords: ECG; heart rate measurement; heart rate variability; signal filtering; smart pen.

MeSH terms

  • Accelerometry
  • Electrocardiography*
  • Heart Rate
  • Heart*
  • Humans
  • Writing