Next Article in Journal
Flare: An FPGA-Based Full Precision Low Power CNN Accelerator with Reconfigurable Structure
Next Article in Special Issue
Feasibility Analysis of ECG-Based pH Estimation for Asphyxia Detection in Neonates
Previous Article in Journal
A 26–28 GHz, Two-Stage, Low-Noise Amplifier for Fifth-Generation Radio Frequency and Millimeter-Wave Applications
Previous Article in Special Issue
Heart Rate Variability to Automatically Identify Hyperbaric States Considering Respiratory Component
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

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

Department of Electrical Engineering, École de Technologie Supérieure, Montréal, QC H3C 1K3, Canada
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(7), 2238; https://doi.org/10.3390/s24072238
Submission received: 23 February 2024 / Revised: 22 March 2024 / Accepted: 26 March 2024 / Published: 31 March 2024

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.

1. Introduction

Medical devices have become part of our daily lives, especially in the wellness field [1,2]. In the Internet of Things (IoT) era, systems of wireless, interconnected and networked digital devices can now continuously collect, analyze, send and store data over a network, making it tremendously easier to monitor a patient in real time in their living environment [3]. These wearable devices use embedded accuracy sensors to non-invasively monitor healthcare data [4] from the wrist [5], the chest [6], the fingers [7,8] or other parts of the body. The main idea is to perform better medical monitoring during daily activities with precision and safety, all while preserving the patient’s privacy and quality of life. Coupling these wellness devices with emerging data science and machine learning capabilities can provide a more accurate and more comprehensive dashboard of medical indicators [9,10]. This can significantly reduce medical risks by including the patient in the healthcare management loop as early as possible [11]. At the same time, wearable medical devices can simplify the monitoring of patients and keep them at home to improve their quality of life. The improved sensors, micro-controllers and end-point computing framework architectures unleash formidable possibilities for qualitative and predictive patient monitoring [2]. To facilitate the IoT integration in daily lives, a new approach also consists of measuring medical information using smart clothes [12], watches [13], apps and common instruments like pens [14]. The establishment of an easy-to-use surveillance system is an interesting path, especially considering the aging population, the prevalence of cardiovascular disease [15], the emergence of infectious diseases [16] affecting the cardiovascular system and psychological diseases leading to behavioral disorders [17]. Therefore, different medical devices that can measure physiological parameters such as ECG, heartbeat derived from ECG, fetus heart rate [18], respiratory rate (RR), SPO2 [19], temperature [20,21] and blood pressure [22] are vital to monitor fragile patients daily. The choice of sensors is based on the bio-signals to be monitored. Capacitance electrodes are commonly used to detect ECG [23]; respectively, inductance electrodes are used to measure breathing information [24]. Studies show that sets of accelerometers can follow the ribcage movements to accurately predict the respiratory rate as well as the ECG [25]. Some of these sensors can monitor multiple medical parameters simultaneously [26]. For example, the BME680 sensor can record pressure, temperature, humidity and air quality [27], which can be useful in wound monitoring. Most of these wearable multi-parameter medical devices are used to detect heart and lung disorders [1].
The literature already shows that respiratory rate and heartbeat can be inferred from ECG signals [28,29]. Similarly, blood pressure can be measured using PPGs [30] and ECGs [22], allowing for a cuffless blood pressure monitoring that is more comfortable for the patient and can be integrated into a biosensor frame. PPG is a non-invasive optical technique from which many physiological parameters can be derived, as it produces a waveform that correlates with circulatory volume in skin tissue. SPO2 is mainly used to measure PPG using infrared optical sensors usually located on the forehead, finger and more recently on the ribcage [31]. In addition, one of the main applications is to detect dysautonomia and to monitor central nervous system imbalance to assess patients’ behavioral disorders like stress [32]. Dysautonomia [33] describes the imbalance between the sympathetic and parasympathetic nervous system that may be present in anxiety-inducing situations and, more generally, in behavioral disorders. [34,35,36]. It is based on heart rate variability (HRV), which is calculated from the heart rate using the respiratory rate (RR) intervals [37]. This imbalance caused by noxious stimuli can stress homeostasis [38]. Chronic stress causes physical, psychological and behavioral abnormalities by hyperactivating the sympathetic nervous system and deteriorating the patient’s condition. It is accepted that HRV is a good method to monitor and assess the stress status [39]. HRV represents the heart’s ability to respond to a variety of physiological and environmental stimuli [40]. Low HRV is associated with a monotonous, regular heart rate. Furthermore, low HRV has also been associated with impaired regulatory and homeostatic functions of the ANS, which reduces the body’s ability to cope with internal and external stressors. In fact, we can see that accelerometers are often used to detect ECG, heartbeat and respiratory rate, especially located on the wrist to compensate for motion artifacts or the ribcage using respiratory movements [41].
In this study, we demonstrated that the heart rate can be accurately monitored using the built-in accelerometer within a digital smart pen (DigiPen© from STABILO, Heroldsberg, Germany) during the writing process [42,43]. For example, using a pen as a heart rate recording system may present a significant opportunity for monitoring students’ stress in the classroom. This could thereby provide a method of assessing the impact of stress on cognitive abilities [44] and even potentially detect hyperactivity, attention issues or other cognitive and behavioral disorders [45,46]. Dysautonomia also plays a role in detecting cognitive disorders such as Alzheimer’s and Parkinson’s disease [36,47]. As such, a simple act of writing could offer a means to evaluate these cognitive disorders.

2. Materials and Methods

2.1. Materials

For this study, we worked with the commercially available DigiPen from STABILO [48] (Figure 1a), as well as an ECG evaluation system (Figure 1b). The DigiPen is a smart pen equipped with sensors that is marketed as a tool for assessment of writing motor skills. The pen shown in Figure 1a features two built-in triaxial accelerometers (front and rear), a gyroscope, a magnetometer as well as a force sensor. All data are streamed directly to a connected device with the DigiPen: Development Kit Demo app using a BLE connection. The application’s user interface is shown in Figure 2. Once you connect your pen, you can calibrate it by following the instructions. Afterwards, you only need to select "Record". The data is saved automatically on the device. In order to retrieve the heart rate, we specifically use the accelerometer located near the tip of the pen, where the fingertips rest. It is an LSM6DSL accelerometer with a sampling rate of 100 Hz [49].
To evaluate the heart rate predictions from the accelerometer data, we used the MAX30001 [50] evaluation system. It is an assembled circuit that also provides a platform to monitor the data and save them directly in your computer to gather the ECG signal. In our case, we specifically recorded the timestamps of the heart pulses. The time interval between two heartbeats is known as the RR interval, as shown in Figure 3, and is used to measure the heart rate (Equation (1)). There are several components to an ECG signal. They can be separated into segments known as waves [51].
The R-waves correspond to the heart beat. Figure 3 clearly shows the first positive deflection of the QRS complex, which is the ventricular depolarization [52]. Indeed, the R-wave is the highest peak because it is the ventricles’ main mass that depolarizes [51]. Hence, by measuring the time interval between two consecutive R-waves (i.e., the RR interval) one can directly compute the heart rate as [53]
HR = 60 Δ t R R .
However, the RR interval can vary between peaks. As such, computing the HR from sequential intervals does not always give the same results. This is because the heart rate can change continuously throughout the day. Those fluctuations between heartbeats are the heart rate variability (HRV) [54].
For the data acquisition, we selected eight (8) participants. All participants were in healthy physical condition, while their psychological state was not taken into account or monitored before testing. They wore the MAX30001 EV system’s electrodes on their chest to collect their ECG signal over a five-minute period. In order to minimize the interference, both instruments were connected to their own independent device for data collection. During this time, they were seated in a relaxed position and had to write the alphabet repeatedly on a sheet of paper using the DigiPen. They were asked to hold the pen in the right orientation, with the STABILO logo facing upwards, as shown in Figure 4. Four (4) male participants and four (4) female participants contributed to this preliminary data collection. Only one participant was left-handed. Since the left-handed population is estimated to represent 10–15% of the world population [55], this is deemed a representative sample. This protocol was approved by the institution’s research ethics board.

2.2. Methods

To process the signal from the accelerometer, we used Python on Google Colab. First, the anonymous raw data were re-scaled according to the sensor’s specifications provided on STABILO’s website [49]. Then, we combined the 3 separate axes to obtain the Euclidean acceleration trace using the magnitude given as
a = a x 2 + a y 2 + a z 2 ,
where a x ,   a y ,   a z correspond to the accelerometer’s three components.
In order to reduce the noise, we applied a fourth-order Butterworth [56] low-pass 2 Hz filter to smooth out the signal, as shown in Figure 5. Finally, the goal was to align the detected peaks from the accelerometer’s signal with the R-waves of the ECG signal. Four vectors were generated from the data. For both the ECG and DigiPen datasets, we created two vectors: (1) a time vector containing the timestamps and the moments of each peak recorded over a five-minute interval (t-vector) and (2) a Δ t vector containing the time differences between consecutive peaks ( Δ t -vector). The dimension of these vectors obviously varies with the participants’ heart rate. For a lower heart rate, fewer peaks are detected during a five-minute period than for a higher heartbeat. As seen previously, the heart rate is inversely proportional to the RR interval. As such, a larger RR interval means a lower heart rate.

3. Results and Discussion

As seen in Figure 6a, the peaks’ alignment is quite precise. While there is sometimes a delay of less than one second, it does not have a negative impact on our results, since we used the time difference between two pulses to determine the heart rate.
Figure 6 show the typical data obtained for one of our eight (8) participants, but they are highly representative of all our individual test results. Table 1 shows the regularity and consistency of our protocol. Despite the participants having different resting heart rates, we still managed to predict them accurately from the DigiPen’s accelerometer data.
As previously mentionned, for our data analysis, we studied two sets of vectors in the distributions: t-vectors and Δ t -vectors. As seen in Table 1, the t-vectors are practically the same. Both the Pearson correlation coefficients and the cosine similarity factors were computed and suggested over 99% correlation. Meanwhile, the derived average time difference Δ t ¯ from the DigiPen data accurately correlates with the reference ECG data. Obviously, since the pen is not as precise as the ECG, the standard deviation for the DigiPen’s results is always larger. However, this does not affect the similarity between the heart rate values. The most considerable deviation recorded is only 0.76 bpm, which is negligible for clinical purposes, since the heart rate is usually expressed to the nearest unit. Welch’s t-test was computed between the Δ t -vectors to assure that the observed difference between the sample means of the two vectors is statistically significant or if it could have occurred due to random sampling variability. Since all p-values are above 0.05, this suggests there is no statistically significant difference. Welch’s t-test was chosen because the distributions’ variances were unequal, but the sample sizes were large ( n > 250 ).
The filtering was optimized through comparison of peaks with the ECG signal. The data collected on the EVkit, which are the RR intervals, give us the number of heartbeats during the test. To find a corresponding number from the accelerometer signal, we programmed a verification loop in Python that tests different cut-off frequencies for the low-pass filter and computes the number of peaks to find the best match. The use of 2 Hz as a cut-off frequency gave the best correlation between both signals for our experiment. Figure 7 shows a comparison of the peaks’ correlation for three frequencies: half our optimal frequency (1 Hz), the optimal frequency (2 Hz) and its double (4 Hz). Although a 1 Hz frequency filter results in a similar correlation, 2 Hz gives a more precise one. For the 4 Hz low-pass filter, we see that the correlation deteriorates rapidly. The linear regression equations for the correlations according to the cutoff frequencies are also shown in Figure 7. The 2 Hz low-pass Butterworth filter provides a linear regression of y = 1.004 x 0.938 , which is the closest to y = x . Also, as mentioned earlier, the heart frequency is not perfectly periodic due to heart rate variability. Therefore, we can use the mean Δ t to estimate the samples/period of the pen’s signal. These differ amongst participants, since each cardiac rhythm is unique. From Table 1, Δ t ¯ varies between 0.714 s and 1.107 s (equivalent frequencies from 0.9 Hz to 1.4 Hz), which leads to the samples per period varying between 100 × 0.714 = 71.4 and 100 × 1.107 = 110.7 .
We also calculated the mean squared error,
M S E = 1 n j = 1 n ( Y j Y ^ j ) 2 ,
for the eight tests’ Δ t -vectors. All are in a 10 2 range. Finally, Figure 8 shows the comparison boxplots. Although wider spreads can be noticed using the pen’s accelerometer data, the median values are all similar, with a maximal difference of 0.08. The skewness from the pen’s data can be explained by some remaining noise in the signal.

4. Conclusions

In clinical settings, the patients’ heart behaviors can and will continue to be monitored with cutting-edge equipment. On the other hand, this work shows the capability of a smart pen’s accelerometer to continuously and precisely determine the heart rate. Indeed, we managed to compute every participant’s heart rate from the pen with a most impressive deviation of only 0.76 bpm. This could prove useful for noninvasive and unbiased behavioral assessments, including heart issues like arrythmia [57], stress [54] or fatigue [58]. Since cardiac rhythms are modulated by the sympathetic and parasympathetic branches of the autonomic nervous system, HRV could also be useful for the early detection and monitoring of Parkinson’s disease evolution in patients [59,60]. Rightly so, future work includes a more detailed dataset and the development of a machine learning algorithm capable of identifying if the participant was under stress or not during the writing process.

Author Contributions

Conceptualization, J.P. and F.V.; methodology, F.V.; software, J.P.; validation, J.P., F.V. and S.G.C.; formal analysis, J.P.; investigation, J.P.; resources, S.G.C.; data curation, J.P.; writing—original draft preparation, J.P. and F.V.; writing—review and editing, S.G.C.; visualization, J.P.; supervision, F.V. and S.G.C.; project administration, F.V. and S.G.C.; funding acquisition, J.P. All authors have read and agreed to the published version of the manuscript.

Funding

S.G.C. thanks the Canada Research Chair program for their support.

Institutional Review Board Statement

This study was conducted in accordance with the Declaration of Helsinki and approved by the Institutional Research Ethics Committee of École de technologie supérieure (H20231007, 19 February 2024).

Informed Consent Statement

Informed consent was obtained from all subjects involved in this study. Written informed consent has been obtained from the patients to publish this paper.

Data Availability Statement

The dataset generated and/or analyzed during the current study are available from the corresponding author on reasonable request.

Acknowledgments

J.P thanks the National Sciences and Engineering Research Council of Canada for their support through the CGS M Program.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Iqbal, S.M.A.; Mahgoub, I.; Du, E.; Leavitt, M.A.; Asghar, W. Advances in healthcare wearable devices. NPJ Flex. Electron. 2021, 5, 1–14. [Google Scholar] [CrossRef]
  2. Tsoukas, V.; Boumpa, E.; Giannakas, G.; Kakarountas, A. A Review of Machine Learning and TinyML in Healthcare. In Proceedings of the 25th Pan-Hellenic Conference on Informatics, Volos, Greece, 26–28 November 2021; pp. 69–73. [Google Scholar] [CrossRef]
  3. Kelly, J.T.; Campbell, K.L.; Gong, E.; Scuffham, P. The Internet of Things: Impact and Implications for Health Care Delivery. J. Med Internet Res. 2020, 22, e20135. [Google Scholar] [CrossRef]
  4. Subahi, A.F. Edge-Based IoT Medical Record System: Requirements, Recommendations and Conceptual Design. IEEE Access 2019, 7, 94150–94159. [Google Scholar] [CrossRef]
  5. Haescher, M.; Matthies, D.J.C.; Trimpop, J.; Urban, B. A study on measuring heart- and respiration-rate via wrist-worn accelerometer-based seismocardiography (SCG) in comparison to commonly applied technologies. In Proceedings of the 2nd International Workshop on Sensor-based Activity Recognition and Interaction iWOAR ’15, New York, NY, USA, 25–26 June 2015; pp. 1–6. [Google Scholar] [CrossRef]
  6. Hung, P. Estimating respiration rate using an accelerometer sensor. In Proceedings of the CSBio ’17: 8th International Conference on Computational Systems-Biology and Bioinformatics, Nha Trang City, Vietnam, 7–8 December 2017; pp. 11–14. [Google Scholar] [CrossRef]
  7. Alajlan, N.N.; Ibrahim, D.M. TinyML: Enabling of Inference Deep Learning Models on Ultra-Low-Power IoT Edge Devices for AI Applications. Micromachines 2022, 13, 851. [Google Scholar] [CrossRef] [PubMed]
  8. Pham, S.; Yeap, D.; Escalera, G.; Basu, R.; Wu, X.; Kenyon, N.J.; Hertz-Picciotto, I.; Ko, M.J.; Davis, C.E. Wearable Sensor System to Monitor Physical Activity and the Physiological Effects of Heat Exposure. Sensors 2020, 20, 855. [Google Scholar] [CrossRef] [PubMed]
  9. Cruz-Ramos, N.A.; Alor-Hernández, G.; Colombo-Mendoza, L.O.; Sánchez-Cervantes, J.L.; Rodríguez-Mazahua, L.; Guarneros-Nolasco, L.R. mHealth Apps for Self-Management of Cardiovascular Diseases: A Scoping Review. Healthcare 2022, 10, 322. [Google Scholar] [CrossRef] [PubMed]
  10. Baldoumas, G.; Peschos, D.; Tatsis, G.; Christofilakis, V.; Chronopoulos, S.K.; Kostarakis, P.; Varotsos, P.A.; Sarlis, N.V.; Skordas, E.S.; Bechlioulis, A.; et al. Remote sensing natural time analysis of heartbeat data by means of a portable photoplethysmography device. Int. J. Remote Sens. 2021, 42, 2292–2302. [Google Scholar] [CrossRef]
  11. Lu, L.; Zhang, J.; Xie, Y.; Gao, F.; Xu, S.; Wu, X.; Ye, Z. Wearable Health Devices in Health Care: Narrative Systematic Review. JMIR MHealth UHealth 2020, 8, e18907. [Google Scholar] [CrossRef] [PubMed]
  12. Bryson, D. 20—Smart clothing and wearable technology in medical and healthcare applications. In Smart Clothes and Wearable Technology, 2nd ed.; McCann, J., Bryson, D., Eds.; The Textile Institute Book Series; Woodhead Publishing: Cambridge, UK, 2023; pp. 573–581. [Google Scholar]
  13. Yang, D.; Zhu, J.; Zhu, P. SpO2 and heart rate measurement with wearable watch based on PPG. In Proceedings of the 2015 IET International Conference on Biomedical Image and Signal Processing (ICBISP 2015), Beijing, China, 19 November 2015; pp. 1–5. [Google Scholar] [CrossRef]
  14. Digital Pens Provide New Insight into Cognitive Testing Results. Available online: https://neurosciencenews.com/digital-pens-cognitive-test-18868/ (accessed on 8 February 2023).
  15. Wimmer, N.J.; Scirica, B.M.; Stone, P.H. The Clinical Significance of Continuous ECG (Ambulatory ECG or Holter) Monitoring of the ST-Segment to Evaluate Ischemia: A Review. Prog. Cardiovasc. Dis. 2013, 56, 195–202. [Google Scholar] [CrossRef]
  16. Clerkin, K.J.; Fried, J.A.; Raikhelkar, J.; Sayer, G.; Griffin, J.M.; Masoumi, A.; Jain, S.S.; Burkhoff, D.; Kumaraiah, D.; Rabbani, L.; et al. COVID-19 and Cardiovascular Disease. Circulation 2020, 141, 1648–1655. [Google Scholar] [CrossRef]
  17. Schneiderman, N.; Ironson, G.; Siegel, S.D. Stress and Health: Psychological, Behavioral, and Biological Determinants. Annu. Rev. Clin. Psychol. 2005, 1, 607–628. [Google Scholar] [CrossRef]
  18. Skrivanos, A.G.; Kosma, E.I.; Chronopoulos, S.K.; Kouretas, I.; Dimopoulos, D.; Petrakos, G.; Alhazidou, E.; Christofilakis, V.; Ziavra, N.; Peppas, K.P.; et al. Fetus Heart Rate Monitoring: A Preliminary Research Study With Remote Sensing. IEEE Consum. Electron. Mag. 2022, 11, 32–44. [Google Scholar] [CrossRef]
  19. Tamura, T. Current progress of photoplethysmography and SPO2 for health monitoring. Biomed. Eng. Lett. 2019, 9, 21–36. [Google Scholar] [CrossRef]
  20. Boano, C.A.; Lasagni, M.; Romer, K.; Lange, T. Accurate Temperature Measurements for Medical Research Using Body Sensor Networks. In Proceedings of the 2011 14th IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing Workshops, Newport Beach, CA, USA, 28–31 March 2011; pp. 189–198. [Google Scholar] [CrossRef]
  21. Basra, A.; Mukhopadhayay, B.; Kar, S. Temperature sensor based ultra low cost respiration monitoring system. In Proceedings of the 2017 9th International Conference on Communication Systems and Networks (COMSNETS), Bengaluru, India, 4–8 January 2017; pp. 530–535. [Google Scholar] [CrossRef]
  22. Chang, E.; Wang, S.; Cheng, C.K.; Gupta, A.; Hsu, P.H.; Hsu, P.Y.; Liu, H.L.; Moffitt, A.; Ren, A.; Tsaur, I. Cuff-Less Blood Pressure Monitoring with a 3-Axis Accelerometer. In Proceedings of the 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Berlin, Germany, 23–27 July 2019; pp. 6834–6837. [Google Scholar] [CrossRef]
  23. Lim, Y.G.; Lee, J.S.; Lee, S.M.; Lee, H.J.; Park, K.S. Capacitive Measurement of ECG for Ubiquitous Healthcare. Ann. Biomed. Eng. 2014, 42, 2218–2227. [Google Scholar] [CrossRef] [PubMed]
  24. Shen, C.L.; Huang, T.H.; Hsu, P.C.; Ko, Y.C.; Chen, F.L.; Wang, W.C.; Kao, T.; Chan, C.T. Respiratory Rate Estimation by Using ECG, Impedance, and Motion Sensing in Smart Clothing. J. Med. Biol. Eng. 2017, 37, 826–842. [Google Scholar] [CrossRef]
  25. Chan, A.M.; Ferdosi, N.; Narasimhan, R. Ambulatory respiratory rate detection using ECG and a triaxial accelerometer. In Proceedings of the 2013 35th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Osaka, Japan, 3–7 July 2013; pp. 4058–4061. [Google Scholar] [CrossRef]
  26. Pandian, P.S.; Mohanavelu, K.; Safeer, K.P.; Kotresh, T.M.; Shakunthala, D.T.; Gopal, P.; Padaki, V.C. Smart Vest: Wearable multi-parameter remote physiological monitoring system. Med. Eng. Phys. 2008, 30, 466–477. [Google Scholar] [CrossRef] [PubMed]
  27. Gas Sensor BME680. Available online: https://www.bosch-sensortec.com/products/environmental-sensors/gas-sensors/bme680/ (accessed on 8 February 2023).
  28. Sarkar, S.; Bhattacherjee, S.; Pal, S. Extraction of respiration signal from ECG for respiratory rate estimation. In Proceedings of the Michael Faraday IET International Summit, Kolkata, India, 12–13 September 2015; pp. 336–340. [Google Scholar] [CrossRef]
  29. Mirmohamadsadeghi, L.; Vesin, J.M. Respiratory rate estimation from the ECG using an instantaneous frequency tracking algorithm. Biomed. Signal Process. Control 2014, 14, 66–72. [Google Scholar] [CrossRef]
  30. Wu, W.; Wang, L.; Shen, G. Flexible photoplethysmographic sensing devices for intelligent medical treatment. J. Mater. Chem. C 2022, 11, 97–112. [Google Scholar] [CrossRef]
  31. Moço, A.V.; Stuijk, S.; de Haan, G. New insights into the origin of remote PPG signals in visible light and infrared. Sci. Rep. 2018, 8, 8501. [Google Scholar] [CrossRef]
  32. Owens, A.P. The Psychophysiology of Dysautonomia. Ph.D. Thesis, UCL (University College London), London, UK, 2016. [Google Scholar]
  33. Leti, T. Intérêts de la Variabilité de la Fréquence Cardiaque dans les Dysautonomies. Ph.D. Thesis, Université de Grenoble, Grenoble, France, 2006. [Google Scholar]
  34. Tulbă, D.; Cozma, L.; Popescu, B.O.; Davidescu, E.I. Dysautonomia in Alzheimer’s Disease. Medicina 2020, 56, 337. [Google Scholar] [CrossRef]
  35. Lo, Y.L. COVID-19, fatigue, and dysautonomia. J. Med Virol. 2021, 93, 1213. [Google Scholar] [CrossRef] [PubMed]
  36. Goldstein, D.S. Dysautonomia in Parkinson disease. Compr. Physiol. 2014, 4, 805–826. [Google Scholar] [CrossRef] [PubMed]
  37. Shahani, B.T.; Day, T.J.; Cros, D.; Khalil, N.; Kneebone, C.S. RR interval variation and the sympathetic skin response in the assessment of autonomic function in peripheral neuropathy. Arch. Neurol. 1990, 47, 659–664. [Google Scholar] [CrossRef] [PubMed]
  38. McKendrick, T. Familial dysautonomia. Arch. Dis. Child. 1958, 33, 465–468. [Google Scholar] [CrossRef] [PubMed]
  39. Jovanov, E.; O’Donnell Lords, A.; Raskovic, D.; Cox, P.; Adhami, R.; Andrasik, F. Stress monitoring using a distributed wireless intelligent sensor system. IEEE Eng. Med. Biol. Mag. 2003, 22, 49–55. [Google Scholar] [CrossRef] [PubMed]
  40. Rajendra Acharya, U.; Paul Joseph, K.; Kannathal, N.; Lim, C.M.; Suri, J.S. Heart rate variability: A review. Med Biol. Eng. Comput. 2006, 44, 1031–1051. [Google Scholar] [CrossRef]
  41. Zhao, C.; Zeng, W.; Hu, D.; Liu, H. Robust Heart Rate Monitoring by a Single Wrist-Worn Accelerometer Based on Signal Decomposition. IEEE Sensors J. 2021, 21, 15962–15971. [Google Scholar] [CrossRef]
  42. Wehbi, M.; Hamann, T.; Barth, J.; Eskofier, B. Digitizing Handwriting with a Sensor Pen: A Writer-Independent Recognizer. In Proceedings of the 2020 17th International Conference on Frontiers in Handwriting Recognition (ICFHR), Dortmund, Germany, 8–10 September 2020; pp. 295–300. [Google Scholar] [CrossRef]
  43. Oberdorf, I.S. Artificial Intelligence: Digital Pen Helps Persons Learn to Write; Archive Location; KIT Publisher: Karlsruhe, Germany, 2022. [Google Scholar]
  44. Yaribeygi, H.; Panahi, Y.; Sahraei, H.; Johnston, T.P.; Sahebkar, A. The impact of stress on body function: A review. EXCLI J. 2017, 16, 1057–1072. [Google Scholar] [CrossRef] [PubMed]
  45. Hollocks, M.J.; Howlin, P.; Papadopoulos, A.S.; Khondoker, M.; Simonoff, E. Differences in HPA-axis and heart rate responsiveness to psychosocial stress in children with autism spectrum disorders with and without co-morbid anxiety. Psychoneuroendocrinology 2014, 46, 32–45. [Google Scholar] [CrossRef]
  46. Denckla, M.B. A theory and model of executive function: A neuropsychological perspective. In Attention, Memory, and Executive Function; Paul H Brookes Publishing Co.: Baltimore, MD, USA, 1996; pp. 263–278. [Google Scholar] [CrossRef]
  47. Rolinski, M.; Szewczyk-Krolikowski, K.; Tomlinson, P.R.; Nithi, K.; Talbot, K.; Ben-Shlomo, Y.; Hu, M.T. REM sleep behaviour disorder is associated with worse quality of life and other non-motor features in early Parkinson’s disease. J. Neurol. Neurosurg. Psychiatry 2014, 85, 560–566. [Google Scholar] [CrossRef]
  48. DigiPen Development Kit|STABILO DigiVision. Available online: https://stabilodigital.com/digipen-development-kit/ (accessed on 8 February 2023).
  49. Sensors|STABILO DigiVision. Available online: https://stabilodigital.com/sensors/ (accessed on 8 February 2023).
  50. Integrated, M.; MAX30001 Evaluation System—Evaluates: MAX30001, MAX30002. Technical Report. Available online: https://www.analog.com/media/en/technical-documentation/data-sheets/max30001evsys.pdf (accessed on 8 February 2023).
  51. Ashley, E.A.; Niebauer, J. Conquering the ECG. In Cardiology Explained; Remedica: London, UK, 2004. [Google Scholar]
  52. Wei, X.; Yohannan, S.; Richards, J.R. Physiology, Cardiac Repolarization Dispersion and Reserve; StatPearls Publishing: Treasure Island, FL, USA, 2023. [Google Scholar]
  53. Prakash, E.S.; Madanmohan. How to Tell Heart Rate From an ECG? (Learning Objects #769 and #878). Adv. Physiol. Educ. 2005, 29, 57. [Google Scholar] [CrossRef]
  54. Zhu, J.; Ji, L.; Liu, C. Heart rate variability monitoring for emotion and disorders of emotion. Physiol. Meas. 2019, 40, 064004. [Google Scholar] [CrossRef] [PubMed]
  55. Sommer, I.E.C.; Kahn, R.S. (Eds.) Language Lateralization and Psychosis; Cambridge University Press: Cambridge, UK, 2009. [Google Scholar] [CrossRef]
  56. Butterworth, S. On the Theory of Filter Amplifiers. Exp. Wirel. Wirel. Eng. 1930, 7, 536–541. [Google Scholar]
  57. Berntson, G.G.; Thomas Bigger, J., Jr.; Eckberg, D.L.; Grossman, P.; Kaufmann, P.G.; Malik, M.; Nagaraja, H.N.; Porges, S.W.; Saul, J.P.; Stone, P.H.; et al. Heart rate variability: Origins, methods, and interpretive caveats. Psychophysiology 1997, 34, 623–648. [Google Scholar] [CrossRef] [PubMed]
  58. da Estrela, C.; McGrath, J.; Booij, L.; Gouin, J.P. Heart Rate Variability, Sleep Quality, and Depression in the Context of Chronic Stress. Ann. Behav. Med. A Publ. Soc. Behav. Med. 2020, 55, 155–164. [Google Scholar] [CrossRef] [PubMed]
  59. Li, Y.; Wang, J.; Li, X.; Jing, W.; Omorodion, I.; Liu, L. Association Between Heart Rate Variability and Parkinson’s Disease: A Meta-analysis. Curr. Pharm. Des. 2021, 27, 2056–2067. [Google Scholar] [CrossRef]
  60. Dorantes-Méndez, G.; Mendez, M.O.; Méndez-Magdaleno, L.E.; Muñoz-Mata, B.G.; Rodríguez-Leyva, I.; Mejía-Rodríguez, A.R. Characterization and classification of Parkinson’s disease patients based on symbolic dynamics analysis of heart rate variability. Biomed. Signal Process. Control 2022, 71, 103064. [Google Scholar] [CrossRef]
Figure 1. (a) STABILO Digipen sensor locations, Copyright by STABILO International GmbH [49]. (b) MAX3001 EV kit and electrodes, Copyright by Analog Devices [50]. Used with permission.
Figure 1. (a) STABILO Digipen sensor locations, Copyright by STABILO International GmbH [49]. (b) MAX3001 EV kit and electrodes, Copyright by Analog Devices [50]. Used with permission.
Sensors 24 02238 g001
Figure 2. (a) DigiPen’s Demo Kit application home page. The ”Connect“ button enables Bluetooth. (b) Interface when the data are being recorded from all sensors while writing.
Figure 2. (a) DigiPen’s Demo Kit application home page. The ”Connect“ button enables Bluetooth. (b) Interface when the data are being recorded from all sensors while writing.
Sensors 24 02238 g002
Figure 3. A typical reference ECG signal recorded with the MAX30001 evaluation system. Red dots are the detected R−waves. RR interval is shown as the time period between two R−waves. The QRS complex is the ventricular depolarization.
Figure 3. A typical reference ECG signal recorded with the MAX30001 evaluation system. Red dots are the detected R−waves. RR interval is shown as the time period between two R−waves. The QRS complex is the ventricular depolarization.
Sensors 24 02238 g003
Figure 4. Schematic representation of our experimental configuration: top and front views.
Figure 4. Schematic representation of our experimental configuration: top and front views.
Sensors 24 02238 g004
Figure 5. Signal processing of the accelerometer data, plotted on a 30 s period for a more detailed view.
Figure 5. Signal processing of the accelerometer data, plotted on a 30 s period for a more detailed view.
Sensors 24 02238 g005
Figure 6. (a) DigiPen’s accelerometer signal after filtering with dotted vertical lines indicating the peaks’ timestamps from the accelerometer (-) and the RR interval (-) from the ECG. It is plotted over a 20 s period for a more detailed view. (b) Correlation between the peaks’ timestamps.
Figure 6. (a) DigiPen’s accelerometer signal after filtering with dotted vertical lines indicating the peaks’ timestamps from the accelerometer (-) and the RR interval (-) from the ECG. It is plotted over a 20 s period for a more detailed view. (b) Correlation between the peaks’ timestamps.
Sensors 24 02238 g006
Figure 7. Correlation comparison between the peaks’ timestamps for cut-off frequency low-pass filters 1 Hz(), 2 Hz(), 4 Hz(), with corresponding linear regression equations.
Figure 7. Correlation comparison between the peaks’ timestamps for cut-off frequency low-pass filters 1 Hz(), 2 Hz(), 4 Hz(), with corresponding linear regression equations.
Sensors 24 02238 g007
Figure 8. Boxplot comparisons for Δ t-vectors from ECG vs. DigiPen on all tests.
Figure 8. Boxplot comparisons for Δ t-vectors from ECG vs. DigiPen on all tests.
Sensors 24 02238 g008
Table 1. Results obtained from our eight (8) participants. Mean Δ t and its standard deviation extracted from both the ECG and Digipen, as well as the mean heart rate. Pearson’s R and cosine similarity factors are computed for t-vectors. In contrast, the Welch test’s p-value is calculated from the Δ t -vectors.
Table 1. Results obtained from our eight (8) participants. Mean Δ t and its standard deviation extracted from both the ECG and Digipen, as well as the mean heart rate. Pearson’s R and cosine similarity factors are computed for t-vectors. In contrast, the Welch test’s p-value is calculated from the Δ t -vectors.
ECGDigiPenPearson RCosine
Similarity
MSE
( Δ t )
Welch’s t-Test
p-Value
α = 0.05
Δ t ¯
(s)
σ HR ¯
(bpm)
Δ t ¯
(s)
σ HR ¯
(bpm)
test 10.7150.06283.890.7140.21083.930.9999310.9999790.0460.975
test 20.8910.09267.330.8900.24067.380.9999000.9999720.0990.960
test 31.0990.07254.541.1070.30854.150.9998860.9998680.0680.681
test 40.7740.03477.460.7750.22977.370.9999090.9999750.0540.936
test 50.9560.05762.750.9650.27162.140.9998770.9999660.0770.551
test 60.7640.04378.440.7590.22478.940.9998700.9999650.0530.674
test 70.7690.07877.960.7770.21577.200.9999090.9999760.0530.521
test 81.0900.08955.031.0950.26554.760.9997920.9999470.0810.754
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Payette, J.; Vaussenat, F.; Cloutier, S.G. Heart Rate Measurement Using the Built-In Triaxial Accelerometer from a Commercial Digital Writing Device. Sensors 2024, 24, 2238. https://doi.org/10.3390/s24072238

AMA Style

Payette J, Vaussenat F, Cloutier SG. Heart Rate Measurement Using the Built-In Triaxial Accelerometer from a Commercial Digital Writing Device. Sensors. 2024; 24(7):2238. https://doi.org/10.3390/s24072238

Chicago/Turabian Style

Payette, Julie, Fabrice Vaussenat, and Sylvain G. Cloutier. 2024. "Heart Rate Measurement Using the Built-In Triaxial Accelerometer from a Commercial Digital Writing Device" Sensors 24, no. 7: 2238. https://doi.org/10.3390/s24072238

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop