Real Time Detection of Human Stress Using Sensors and Machine Learning Techniques
Real Time Detection of Human Stress Using Sensors and Machine Learning Techniques
Learning Techniques
Abstract
Stress may be defined as the reaction of the body to regulate itself to
changes within the environment through mental, physical, or emotional
responses. Recurrent episodes of acute stress can disturb the physical and mental
stability of a person. This subsequently can have a negative effect on work
performance and in the long term can increase the risk of physiological disorders
like hypertension and psychological illness such as anxiety disorder.
Psychological stress is a growing concern for the worldwide population across
all age groups. A reliable, cost efficient, acute stress detection system could
enable its users to better monitor and manage their stress to mitigate its long-
term negative effects. In this article, we will review and discuss the literature
that has used machine learning based approaches for stress detection. We will
also review the existing solutions in the literature that have leveraged the
concept of edge computing in providing a potential solution in real-time
monitoring of stress.
Introduction
Stress is one of the main factors that are affecting millions of lives. Mental
stress needs to be in control as it results in different dangerous suffering. Timely
mental stress detection can help to prevent stress related health problems. It is
important to inform the person about his/her unhealthy life style and even alarm
him/her before any acute condition occurs. Stress detection technology could
help people better understand and relieve stress by increasing their awareness of
heightened level of stress that would otherwise go undetected. For this objective,
we design a smart device that has the capability of monitoring stress level
continuously in everyday activities. It not only sends alert to users via
smartphone but allows them to manage stress and share health data with doctors
and family. Remote patient monitoring using this device may increase access to
efficient caring and decrease health care delivery cost.
LITERATURE SURVEY
METHODOLOGY
In this project, the data is collected using IOT sensors such as temperature
sensor, skin conductance sensor and accelerometer. Skin conductance sensor is
used as physical activities stimulate sweat glands which can bring variation in
skin conductance. There is a data collection phase to collect the training
examples needed for the Logical regression algorithm. The collected data is
then fed into the appropriate Logical regression algorithm, which classifies
these set of parameters along with the user, into one of the stress levels. If any
abnormality in the stress level is detected, the user is notified on his smart phone
text message and is asked to take the necessary precautions. If there are major
changes in the stress level that can cause harm to the user’s health, or if any
chance of heart attack is predicted, the user, his emergency contacts and his
doctor are notified.
EXISTING SYSTEM
PROPOSED SYSTEM
The proposed system will attempt to create a device that monitors stress in
a continuous manner where the heart beat rate (using pulse sensor) and
skin conductance are used to determine the stress level.
The accelerometer sensor is a device that is used to measure acceleration
forces. Such forces maybe static or dynamic to sense movements or
vibrations.
These sensor information are collectively stored in the cloud.
Now, using an appropriate ML algorithms (like Logistic Regression), we
do the prediction on the data that is stored and the predicted results falls
into various classes such as undertrained, over trained etc.
BLOCK DIAGRAM
LCD
MICROCONTROLLER
Smoke sensor Buzzer
PYTHON Temperature
LAPTOP
(LM35)
HARDWARE REQUIREMENTS:
Computer – Processor, high speed is preferred. 64 - bit
Hard disk – Free space of 5GB
Laptop built-in Camera
Renesas Microcontroller
LCD display for Microcontroller
Temperature sensor(LM35)
Accelerometer
Smoke Sensor
Skin Conductance Sensor
Buzzer
SOFTWARE’S USED:
1. Python 3.7
2. Open CV tool
3. OS – Windows 8 / 10, 64 – bit.
4. Embedded C
5. Cube Suite+ Compiler
6. Renesas Flash Programmer V2.0
STRESS DATASET:
REFERENCES
[1] S. Cohen, R. C. Kessler, and L. U. Gordon, Strategies for measuring stress in
studies of psychiatric and physical disorders. Oxford University Press, 1995.
[2] B. Mcewen, “Protective and damaging effects of stress mediators: Central
role of the brain,” Dialogues in clinical neuroscience, vol. 8, no. 02, pp. 367–81,
2006.
[3] P. Adams, M. Rabbi, T. Rahman, M. Matthews, A. Voida, G. Gay, T.
Choudhury, and S. Voida, “Towards personal stress informatics: Comparing
minimally invasive techniques for measuring daily stress in the wild,” in
Proceedings of the 8th International Conference on Pervasive Computing
Technologies for Healthcare, 2014, pp. 72– 79.
[4] S. Greene, H. Thapliyal, and A. Caban-Holt, “A survey of affective
computing for stress detection: Evaluating technologies in stress detection for
better health,” IEEE Consumer Electronics Magazine, vol. 5, no. 4, pp. 44–56,
Oct 2016.
[5] H. Thapliyal, V. Khalus, and C. Labrado, “Stress detection and management:
A survey of wearable smart health devices,” IEEE Consumer Electronics
Magazine, vol. 6, no. 4, pp. 64–69, Oct 2017.
[6] J. Bakker, M. Pechenizkiy, and N. Sidorova, “What’s Your Current Stress
Level? Detection of Stress Patterns from GSR Sensor Data,” in Proceedings
IEEE 11th International Conference on Data Mining Workshops, 2011, pp. 573–
580.
[7] A. de Santos Sierra, C. Sanchez Avila, J. Casanova, and G. Bailador, “A
Stress-Detection System Based on Physiological Signals and Fuzzy Logic,”
IEEE Transactions on Industrial Electronics, vol. 58, pp. 4857–4865, November
2011.
[8] C. Setz, B. Arnrich, J. Schumm, R. La Marca, G. Trà ˝uster, and U. Ehlert,
“Discriminating Stress From Cognitive Load Using a Wearable EDA Device,”
IEEE Transactions on Information Technology in Biomedicine, vol. 14, no. 2,
pp. 410–417, 2010.
[9] S. Yoon, J. Kyoung Sim, and Y.-H. Cho, “A flexible and wearable human
stress monitoring patch,” Scientific Reports, vol. 6, p. 23468, 03 2016.