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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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
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
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
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
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
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
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
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
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
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
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
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
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
Lukáč, T., Ondráček, O.: Using Simulink and Matlab for real-time ECG signal processing. In: Conference on MATLAB (2012)
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 IFIP International Federation for Information Processing
About this paper
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)