LSTM-based real-time stress detection using PPG signals on raspberry Pi

被引:1
作者
Rostami, Amin [1 ]
Motaman, Koorosh [1 ]
Tarvirdizadeh, Bahram [1 ]
Alipour, Khalil [1 ]
Ghamari, Mohammad [2 ]
机构
[1] Univ Tehran, Coll Interdisciplinary Sci & Technol, Sch Intelligent Syst Engn, Adv Serv Robots ASR Lab,Dept Mechatron Engn, Tehran, Iran
[2] Calif Polytech State Univ San Luis Obispo, Dept Elect Engn, San Luis Obispo, CA USA
关键词
biosensors; deep learning; signal processing; stress detection; WEARABLE SENSORS; NEURAL-NETWORKS;
D O I
10.1049/wss2.12083
中图分类号
TN [电子技术、通信技术];
学科分类号
0809 ;
摘要
Stress, widely recognised for its profound adverse effects on both physical and mental health, necessitates the development of innovative real-time detection methods. In this context, the escalating prevalence of wearable embedded systems, integrated with artificial intelligence (AI) for the continuous monitoring of critical physiological indicators like heart rate and blood pressure, accentuates their growing relevance in the efficient detection of stress. This article presents an innovative methodology employing deep learning algorithms on the Raspberry Pi 3, a platform distinguished by its cost-effectiveness and limited resources. The authors have developed an advanced AI algorithm that achieves high accuracy in real-time stress detection using photoplethysmography (PPG) sensors while significantly reducing computational demands. The authors' method utilises an artificial neural network with long short-term memory (LSTM) layers, proving highly effective in time-series data analysis. In this study, the authors implement key TensorFlow toolkit optimisation techniques including quantisation aware training (QAT), Pruning and prune-preserving quantisation aware training. These techniques are applied to refine the authors' model, decreasing size and latency without sacrificing accuracy. The results highlight the LSTM-based model's proficiency in accurately detecting stress using raw PPG sensor data on the Raspberry Pi 3, a comparatively affordable platform. The model attains an accuracy of 89.32% and an F1 score of 89.55% on the diverse wearable stress and affect detection stress-level dataset. Additionally, the authors' optimised model exhibits substantial reductions in both size and latency while maintaining high accuracy. This approach shows great potential for various applications, such as stress monitoring in healthcare, sports, and workplace settings. The use of the Raspberry Pi 3 makes the system portable, cost-effective, and energy-efficient, enhancing its potential impact and accessibility.
引用
收藏
页码:333 / 347
页数:15
相关论文
共 64 条
[1]   Private and Energy-Efficient Decision Tree-Based Disease Detection for Resource-Constrained Medical Users in Mobile Healthcare Network [J].
Alex, Sona ;
Dhanaraj, K. J. ;
Deepthi, P. P. .
IEEE ACCESS, 2022, 10 :17098-17112
[2]   Wearable Devices for Remote Monitoring of Heart Rate and Heart Rate Variability-What We Know and What Is Coming [J].
Alugubelli, Navya ;
Abuissa, Hussam ;
Roka, Attila .
SENSORS, 2022, 22 (22)
[3]  
[Anonymous], 2018, Big Data Cogn Comput, DOI [DOI 10.3390/BDCC2030026, 10.3390/bdcc2030026]
[4]   The Feasibility of Wearable and Self-Report Stress Detection Measures in a Semi-Controlled Lab Environment [J].
Aristizabal, Sara ;
Byun, Kunjoon ;
Wood, Nadia ;
Mullan, Aidan F. ;
Porter, Paige M. ;
Campanella, Carolina ;
Jamrozik, Anja ;
Nenadic, Ivan Z. ;
Bauer, Brent A. .
IEEE ACCESS, 2021, 9 :102053-102068
[5]   Stress Analysis Based on Simultaneous Heart Rate Variability and EEG Monitoring [J].
Attar, Eyad Talal ;
Balasubramanian, Vignesh ;
Subasi, Ersoy ;
Kaya, Mehmet .
IEEE JOURNAL OF TRANSLATIONAL ENGINEERING IN HEALTH AND MEDICINE, 2021, 9
[6]  
Awasthi K., 2020, 2020 IEEE International Conference on Electronics, Computing and Communication Technologies (CONECCT), P1
[7]  
Bobade Pramod, 2020, Proceedings of Second International Conference on Inventive Research in Computing Applications (ICIRCA 2020), P51, DOI 10.1109/ICIRCA48905.2020.9183244
[8]  
Castaldo R, 2016, IEEE ENG MED BIO, P3805, DOI 10.1109/EMBC.2016.7591557
[9]   Towards Human Stress and Activity Recognition: A Review and a First Approach Based on Low-Cost Wearables [J].
Castro-Garcia, Juan Antonio ;
Molina-Cantero, Alberto Jesus ;
Gomez-Gonzalez, Isabel Maria ;
Lafuente-Arroyo, Sergio ;
Merino-Monge, Manuel .
ELECTRONICS, 2022, 11 (01)
[10]   Psychological stress and disease [J].
Cohen, Sheldon ;
Janicki-Deverts, Denise ;
Miller, Gregory E. .
JAMA-JOURNAL OF THE AMERICAN MEDICAL ASSOCIATION, 2007, 298 (14) :1685-1687