Skip to main content

Real-Time PPG-Based HRV Implementation Using Deep Learning and Simulink

  • Conference paper
  • First Online:
Technological Innovation for Digitalization and Virtualization (DoCEIS 2022)

Part of the book series: IFIP Advances in Information and Communication Technology ((IFIPAICT,volume 649))

Included in the following conference series:

  • 348 Accesses

Abstract

The Heart Rate Variability (HRV) signal computation relies on fiducial points typically obtained from the electrocardiogram (ECG) or the photoplethysmogram (PPG). Generally, these fiducial points correspond to the peaks of the ECG or PPG. Consequently, the HRV quality depends on the fiducial points detection accuracy. In a previous work, this subject has been addressed using Long Short-Term Memory (LSTM) Deep Learning algorithms for PPG segmentation, from which peak detection can be achieved. In the herein presented work, a Simulink® implementation of the LSTM algorithm is obtained for real-time PPG peak detection. HRV and outlier removal blocks are also implemented. The obtained code can be used to be embedded in hardware systems for real-time PPG acquisition and HRV visualization. A Root Mean Square Error (RMSE) mean of 0.0439 ± 0.0175 s was obtained, and no significant differences (p-value < 0.05) were found between the ground truth and the real-time implementation.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 99.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Ahmad, F.B., Anderson, R.N.: The leading causes of death in the US for 2020. JAMA 325(18), 1829 (2021). https://doi.org/10.1001/jama.2021.5469

    Article  Google Scholar 

  2. Guidelines, T.N.: American, guidelines, and task force of the European Society of Cardiology the North American Society of Pacing Electrophysiology, “guidelines heart rate variability.” Eur. Heart J. 17, 354–381 (1996). https://doi.org/10.1161/01.CIR.93.5.1043

    Article  Google Scholar 

  3. Singh, N., Moneghetti, K.J., Christle, J.W., Hadley, D., Plews, D., Froelicher, V.: Heart rate variability: an old metric with new meaning in the era of using mHealth technologies for health and exercise training guidance. Part one: physiology and methods. Arrhythmia. Electrophysiol. Rev. 7(3), 193 (2018). https://doi.org/10.15420/aer.2018.27.2

  4. Shaffer, F., Ginsberg, J.P.: An Overview of Heart Rate Variability Metrics and Norms. Front. Pub. Heal. 5, 1–17 (2017). https://doi.org/10.3389/fpubh.2017.00258

    Article  Google Scholar 

  5. Buccelletti, F., et al.: Heart rate variability and myocardial infarction: systematic literature review and metanalysis. Eur. Rev. Med. Pharmacol. Sci. 13(4), 299–307 (2009). https://www.researchgate.net/publication/26754890

  6. Sheridan, D.C., Dehart, R., Lin, A., Sabbaj, M., Baker, S.D.: Heart rate variability analysis: how much artifact can we remove? Psychiatry Investig. 17(9), 960–965 (2020). https://doi.org/10.30773/pi.2020.0168

    Article  Google Scholar 

  7. Tanji, A.K., de Brito, M.A.G., Alves, M.G., Garcia, R.C., Chen, G.-L., Ama, N.R.N.: Improved noise cancelling algorithm for electrocardiogram based on moving average adaptive filter. Electronics 10(19), 2366 (2021). https://doi.org/10.3390/electronics10192366

    Article  Google Scholar 

  8. Tejaswi, V., Surendar, A., Srikanta, N.: Simulink implementation of RLS algorithm for resilient artefacts removal in ECG signal. Int. J. Adv. Intell. Paradig. 16(3/4), 324 (2020). https://doi.org/10.1504/IJAIP.2020.107529

    Article  Google Scholar 

  9. Bhogeshwar, S.S., Soni, M.K., Bansal, D.: Design of Simulink model to denoise ECG signal using various IIR & FIR filters. In: 2014 International Conference on Reliability Optimization and Information Technology (ICROIT), February 2014, pp. 477–483 (2014). https://doi.org/10.1109/ICROIT.2014.6798370

  10. Shiraishi, Y., et al.: Real‐time analysis of the heart rate variability during incremental exercise for the detection of the ventilatory threshold. J. Am. Heart Assoc. 7(1), e006612 (2018). https://doi.org/10.1161/JAHA.117.006612

    Article  Google Scholar 

  11. Mukherjea, A., Chaudhury, P., Karkun, A., Ghosh, S., Bhowmick, S.: Synthesis of PPG waveform using PSPICE and Simulink model. In: 2019 Devices for Integrated Circuit (DevIC), March 2019, pp. 428–432 (2019). https://doi.org/10.1109/DEVIC.2019.8783684

  12. Bagha, S., Shaw, L.: A real time analysis of PPG signal for measurement of SpO2 and pulse rate. Int. J. Comput. Appl. 36, 45–50 (2011). https://doi.org/10.5120/4537-6461

    Article  Google Scholar 

  13. Esgalhado, F., Fernandes, B., Vassilenko, V., Batista, A., Russo, S.: The application of deep learning algorithms for PPG signal processing and classification. Computers 10(12), 158 (2021). https://doi.org/10.3390/computers10120158

    Article  Google Scholar 

  14. Lukáč, T., Ondráček, O.: Using Simulink and Matlab for real-time ECG signal processing. In: Conference on MATLAB (2012)

    Google Scholar 

Download references

Acknowledgments

This work was funded and supported by the Fundação para a Ciência e Tecnologia (FCT, Portugal) and NMT, S.A in the scope of the PhD grant PD/BDE/150312/2019.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Filipa Esgalhado .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Esgalhado, F., Batista, A., Vassilenko, V., Ortigueira, M. (2022). Real-Time PPG-Based HRV Implementation Using Deep Learning and Simulink. In: Camarinha-Matos, L.M. (eds) Technological Innovation for Digitalization and Virtualization. DoCEIS 2022. IFIP Advances in Information and Communication Technology, vol 649. Springer, Cham. https://doi.org/10.1007/978-3-031-07520-9_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-07520-9_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-07519-3

  • Online ISBN: 978-3-031-07520-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics