Submitted:
02 September 2025
Posted:
03 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Physiological Data
2.2. Signal Preprocessing
2.3. Inter-Subject Normalization
2.3.1. ECG Signal
- If a driver exhibited a heart rate higher than 70 bpm at rest in the original signal, the value of the new resampling frequency was lower than 250 Hz.
- If the driver presented a heart rate lower than 70 bpm at rest, the value of the new resampling frequency was higher than 250 Hz.
2.3.2. Respiratory Signal
2.4. Feature Extraction
2.5. Data Organization and Imbalance Class Management
- The resting condition had 1132 samples.
- The city driving condition had 1275 samples.
- The highway driving condition had 572 samples.
2.6. Stress State Classification
3. Inter-Subject Normalization Validation
4. Results
- Original signals
- Subject-normalized signals
- Feature transformations through standardization
- Feature transformations using scaling procedures
5. Discussion
6. Conclusions
Funding
Conflicts of Interest
References
- J. Taelman, S. Vandeput, A. Spaepen, and S. Van Huffel, “Influence of mental stress on heart rate and heart rate variability,” IFMBE Proc., vol. 22, pp. 1366–1369, 2008. [CrossRef]
- B. S. McEwen and P. J. Gianaros, “Stress and Allostasis Induced Brain Plasticity,” Annu. Rev. Med., vol. 62, no. 1, pp. 431–445, 2011. [CrossRef]
- J. J. Strain, “The psychobiology of stress, depression, adjustment disorders and resilience,” World J. Biol. Psychiatry, vol. 19, no. sup1, pp. S14–S20, 2018. [CrossRef]
- B. S. McEwen, “Mood disorders and allostatic load,” Biol. Psychiatry, vol. 54, no. 3, pp. 200–207, 2003. [CrossRef]
- S. Rabbani and N. Khan, “Contrastive Self-Supervised Learning for Stress Detection from ECG Data,” Bioengineering, vol. 9, no. 8, p. 374, 2022. [CrossRef]
- J. M. Taylor, “Psychometric analysis of the ten-item perceived stress scale,” Psychol. Assess., vol. 27, no. 1, pp. 90–101, 2015. [CrossRef]
- S. Cohen, T. Kamarck, and R. Mermelstein, “A Global Measure of Perceived Stress,” J. Health Soc. Behav., vol. 24, no. 4, pp. 385–396, 1983.
- F.-X. Lesage, S. Berjot, and F. Deschamps, “Clinical stress assessment using a visual analogue scale,” Occup. Med., vol. 62, no. 8, pp. 600–605, 2012.
- N. Ali and U. M. Nater, “Salivary Alpha-Amylase as a Biomarker of Stress in Behavioral Medicine,” Int. J. Behav. Med., vol. 27, no. 3, pp. 337–342, 2020. [CrossRef]
- D. H. Hellhammer, S. Wüst, and B. M. Kudielka, “Salivary cortisol as a biomarker in stress research,” Psychoneuroendocrinology, vol. 34, no. 2, pp. 163–171, 2009. [CrossRef]
- S. Patel, H. Park, P. Bonato, L. Chan, and M. Rodgers, “A review of wearable sensors and systems with application in rehabilitation,” J. Neuroengineering Rehabil., pp. 1–17, 2012.
- M. Zanetti et al., “Assessment of mental stress through the analysis of physiological signals acquired from wearable devices,” Lect. Notes Electr. Eng., vol. 544, pp. 243–256, 2018. [CrossRef]
- N. Garau, D. Fruet, A. Luchetti, F. De Natale, and N. Conci, “A multimodal framework for the evaluation of patients’ weaknesses, supporting the design of customised AAL solutions,” Expert Syst. Appl., vol. 202, no. December 2021, p. 117172, 2022. [CrossRef]
- P. Karthikeyan, M. Murugappan, and S. Yaacob, “ECG signals based mental stress assessment using wavelet transform,” Proc. - 2011 IEEE Int. Conf. Control Syst. Comput. Eng. ICCSCE 2011, pp. 258–262, 2011. [CrossRef]
- S. Z. Bong, M. Murugappan, and S. Yaacob, “Analysis of electrocardiogram (ECG) signals for human emotional stress classification,” Commun. Comput. Inf. Sci., vol. 330 CCIS, no. September 2013, pp. 198–205, 2012. [CrossRef]
- S. Pourmohammadi and A. Maleki, “Stress detection using ECG and EMG signals: A comprehensive study,” Comput. Methods Programs Biomed., vol. 193, 2020. [CrossRef]
- T. Rahman, A. K. Ghosh, M. H. Shuvo, and M. Rahman, “Mental Stress Recognition using K-Nearest Neighbor ( KNN ) Classifier on EEG Signals,” Int. Conf. Mater. Electron. Inf. Eng. ICMEIE, no. June 2015, pp. 1–4, 2015.
- S. Heo, S. Kwon, and J. Lee, “Stress Detection with Single PPG Sensor by Orchestrating Multiple Denoising and Peak-Detecting Methods,” IEEE Access, vol. 9, pp. 47777–47785, 2021. [CrossRef]
- M. Zanetti et al., “Multilevel assessment of mental stress via network physiology paradigm using consumer wearable devices,” J. Ambient Intell. Humaniz. Comput., 2019. [CrossRef]
- R. Gupta, M. A. Alam, and P. Agarwal, “Modified Support Vector Machine for Detecting Stress Level Using EEG Signals,” Comput. Intell. Neurosci., vol. 2020, 2020. [CrossRef]
- K. Soman, A. Sathiya, and N. Suganthi, “Classification of stress of automobile drivers using Radial Basis Function Kernel Support Vector Machine,” 2014 Int. Conf. Inf. Commun. Embed. Syst. ICICES 2014, no. 978, pp. 4–8, 2015. [CrossRef]
- A. H. Association, “All About Heart Rate (Pulse).” [Online]. Available: https://www.heart.org/en/health-topics/high-blood-pressure/the-facts-about-high-blood-pressure/all-about-heart-rate-pulse.
- D. Wu et al., “Optimal arousal identification and classification for affective computing using physiological signals: Virtual reality stroop task,” IEEE Trans. Affect. Comput., vol. 1, no. 2, pp. 109–118, 2010. [CrossRef]
- J. A. Healey and R. W. Picard, “Detecting stress during real-world driving tasks using physiological sensors,” IEEE Trans. Intell. Transp. Syst., vol. 6, no. 2, pp. 156–166, 2005. [CrossRef]
- X. Cui et al., “On the variability of heart rate variability—evidence from prospective study of healthy young college students,” Entropy, vol. 22, no. 11, pp. 1–26, 2020. [CrossRef]
- C.-C. Lin and C.-M. Yang, “Heartbeat Classification Using Normalized RR Intervals and Morphological Features,” Math. Probl. Eng., vol. 2014, no. 1, p. 712474, Jan. 2014. [CrossRef]
- C. C. Lin and C. M. Yang, “Heartbeat Classification Using Normalized RR Intervals and Wavelet Features,” in 2014 International Symposium on Computer, Consumer and Control, Taichung, Taiwan: IEEE, June 2014, pp. 650–653. [CrossRef]
- F. Gasparini, A. Grossi, M. Giltri, and S. Bandini, “Personalized PPG Normalization Based on Subject Heartbeat in Resting State Condition,” Signals, vol. 3, no. 2, pp. 249–265, 2022. [CrossRef]
- J. A. Healey and R. W. Picard, “Detecting stress during real-world driving tasks using physiological sensors,” IEEE Trans. Intell. Transp. Syst., vol. 6, no. 2, pp. 156–166, 2005. [CrossRef]
- D. Fruet, C. Bara, R. Pernice, L. Faes, and G. Nollo, “Assessment Of Driving Stress Through SVM And KNN Classifiers On Multi-Domain Physiological Data,” MELECON 2022 - IEEE Mediterr. Electrotech. Conf. Proc., pp. 920–925, 2022. [CrossRef]
- J. Tervonen, K. Pettersson, and J. Mäntyjärvi, “Ultra-short window length and feature importance analysis for cognitive load detection from wearable sensors,” Electron. Switz., vol. 10, no. 5, pp. 1–19, 2021. [CrossRef]
- E. Smets et al., “Comparison of Machine Learning Techniques for Psychophysiological Stress Detection,” Pervasive Comput. Paradig. Ment. Health, pp. 13–22, 2016. [CrossRef]
- M. Gjoreski et al., “Datasets for cognitive load inference using wearable sensors and psychological traits,” Appl. Sci. Switz., vol. 10, no. 11, 2020. [CrossRef]
- M. A. Farias da Silva, R. L. De Carvalho, and T. da S. Almeida, “Evaluation of a Sliding Window mechanism as DataAugmentation over Emotion Detection on Speech,” Acad. J. Comput. Eng. Appl. Math., vol. 2, no. 1, pp. 11–18, 2021. [CrossRef]
- MathWorks, MatLab. (2022). [Online]. Available: https://it.mathworks.com.
- A. Addeh, F. Vega, P. R. Medi, R. J. Williams, G. B. Pike, and M. E. MacDonald, “Direct machine learning reconstruction of respiratory variation waveforms from resting state fMRI data in a pediatric population,” NeuroImage, vol. 269, no. October 2022, p. 119904, 2023. [CrossRef]
- G. Nollo, G. Speranza, R. Grasso, R. Bonamini, L. Mangiardi, and R. Antolini, “Spontaneous beat-to-beat variability of the ventricular repolarization duration,” J. Electrocardiol., vol. 25, no. 1, pp. 9–17, 1992. [CrossRef]
- F. Shaffer, S. Steven, and Z. Meehan, “The Promise of Ultra-Short-Term ( UST ) Heart Rate Variability Measurements,” Biofeedback, vol. 44, 2016. [CrossRef]
- G. Volpes et al., “Feasibility of Ultra-Short-Term Analysis of Heart Rate and Systolic Arterial Pressure Variability at Rest and during Stress via Time-Domain and Entropy-Based Measures,” Sensors, 2022.
- J. Pan and W. J. Tompkins, “A real-time QRS detection algorithm,” IEEE Trans. Biomed. Eng., no. 3, pp. 230–236, 1985.
- F. Shaffer and J. P. Ginsberg, “An overview of heart rate variability metrics and norms,” Front. Public Health, p. 258, 2017.
- F. Shaffer, Z. M. Meehan, and C. L. Zerr, “A Critical Review of Ultra-Short-Term Heart Rate Variability Norms Research,” Front. Neurosci., vol. 14, no. November, pp. 1–11, 2020. [CrossRef]
- N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Synthetic Minority Over-sampling Technique Nitesh,” J. Artif. Intell. Res., pp. 321–357, 2002. [CrossRef]
- P. Virdi, Y. Narayan, P. Kumari, and L. Mathew, “Discrete Wavelet Packet based Elbow Movement classification using Fine Gaussian SVM,” 1st IEEE Int. Conf. Power Electron. Intell. Control Energy Syst. ICPEICES 2016, pp. 1–5, 2017. [CrossRef]
- D. Fruet, “Affective state classification using timing-related features from short windowed PPG signal,” 2023 IEEE Int. Workshop Metrol. Ind. 40 IoT MetroInd40IoT, pp. 153–158, 2023. [CrossRef]
- Y. Zhang, S. Wei, L. Zhang, and C. Liu, “Comparing the Performance of Random Forest, SVM and Their Variants for ECG Quality Assessment Combined with Nonlinear Features,” J. Med. Biol. Eng., vol. 39, no. 3, pp. 381–392, 2019. [CrossRef]
- L. Han, Q. Zhang, X. Chen, Q. Zhan, T. Yang, and Z. Zhao, “Detecting work-related stress with a wearable device,” Comput. Ind., vol. 90, pp. 42–49, 2017. [CrossRef]
- M. Zanetti et al., “Information dynamics of the brain, cardiovascular and respiratory network during different levels of mental stress,” Entropy, vol. 21, no. 3, 2019. [CrossRef]



| Subject (n) |
Heart rate (beats per minute) |
Resampling frequency (Hz) |
|---|---|---|
| 1 | 67.3 | 260.0 |
| 2 | 66.2 | 264.4 |
| 3 | 80.7 | 216.9 |
| 4 | 71.9 | 243.4 |
| 5 | 61.3 | 285.5 |
| 6 | 76.6 | 228.5 |
| 7 | 61.4 | 285.0 |
| 8 | 60.7 | 288.3 |
| 9 | 83.7 | 209.1 |
| 10 | 62.4 | 280.4 |
| Subject (n) |
Breath rate (beats per minute) |
Resampling frequency (Hz) |
|---|---|---|
| 1 | 14.3 | 244.8 |
| 2 | 14.9 | 234.9 |
| 3 | 16.7 | 209.6 |
| 4 | 13.7 | 255.5 |
| 5 | 11.8 | 296.6 |
| 6 | 11.6 | 301.7 |
| 7 | 16.2 | 216.0 |
| 8 | 18.1 | 193.4 |
| 9 | 8.9 | 393.3 |
| 10 | 13.9 | 251.8 |
| Metric | Original data | Standardization | Scaling | Inter-subject normalization |
|---|---|---|---|---|
| mean (SD) | mean (SD) | mean (SD) | mean (SD) | |
| Precision (%) | ||||
| Sensitivity (%) |
||||
| Specificity (%) | ||||
| Accuracy (%) |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).