2. Materials and Methods
2.0. Ethics Disclaimer
No identifiable human-subjects data was collected; the data collected was all simulated/self-test data for algorithm validation only. As such, Research Ethics Board (REB) approval was not required.
2.1. Device Hardware and Architecture
The wearable device sits comfortably on the wrist, consisting of a Galvanic Skin Response, PPG, body temperature, and blood oxygen sensor which measure the physiological biomarkers of stress in a non-invasive and continuous manner. The device is designed for comfort and long-term wear. The system includes a mobile platform application which data is streamed to with BLE and then processed and visualized.
Galvanic Skin Response (GSR) front end. Advances in biosensing have focused on leveraging and using gold and graphene as the sensing materials for Galvanic Skin Response (GSR) due to their superior electrical properties, biocompatibility, and mechanical properties. A gold and graphene mixture combined in a three-electrode electrochemical system with the working and counter electrode being the gold and graphene mixture, and the reference electrode being a silver or silver chloride [
4]. The gold and graphene mixture is sensitive to changes in the skin’s moisture therefore it can detect minor electrochemical fluctuations due to ion concentration shifts [
5]. The working electrode will detect these changes, the reference electrode provides a stable potential reference, and the counter electrode completes the circuit by accepting the current from the working electrode through the skin [
5]. The potential between the working and reference electrode is held at a constant, and the current between the working and counter electrodes are monitored and measured, reflecting the skin’s conductance.
Figure 1.
a-b. Three-electrode Galvanic Skin Response (GRS) front-end. (a) Schematic showing working and counter electrodes (gold–graphene), and the reference electrode (Ag/AgCl). (b) One-layer PCB layout with component labels. The circuit holds a constant potential between working and reference electrodes and measures current through the counter electrode as a proxy for skin conductance.
Figure 1.
a-b. Three-electrode Galvanic Skin Response (GRS) front-end. (a) Schematic showing working and counter electrodes (gold–graphene), and the reference electrode (Ag/AgCl). (b) One-layer PCB layout with component labels. The circuit holds a constant potential between working and reference electrodes and measures current through the counter electrode as a proxy for skin conductance.
PPG and SpO2 module. The Photoplethysmography (PPG) sensor on the wrist records green and infrared reflectance to estimate the inter-beat intervals for the Heart Rate Variability (HRV) and to compute the SpO2.
Skin-temperature module. A contact sensor was created using a thermo resistor to measure the wrist-surface temperature for slow-varying changes (
Figure 2a,b).
All sensors are connected to the Analog-to-Digital Converters (ADC) on the MCU through their respective front ends (
Figure 3). The MCU filters and buffers the data before streaming it over BLE. The MCU also manages the duty cycle and sampling rates to reduce power while preserving signal, and aligns the sensor windows with the self-reports for downstreaming analysis.
2.2. Sensor and Acquisition
Stress triggers many physiological responses as it activates the body’s fight or flight response. These physiological biomarkers such as Galvanic Skin Response, heart rate variability, body temperature, and blood oxygen levels can be objectively measured. The non-invasive measurement of these biomarkers allow for them to be monitored continuously and provide insights to the body’s response to stress.
2.2.1. Galvanic Skin Response
The Galvanic Skin Response, also referred to as the skin’s electrodermal activity, measures the changes in the skin’s electrical conductance [
4]. The skin’s electrical conductance varies with the body’s sweat gland activity which is regulated by the sympathetic nervous system [
6,
7]. When the body and mind are under stress, typically the sympathetic nervous system is activated leading to increased sweating even in miniscule amounts, altering the skin’s conductance. Galvanic Skin Response (GSR) is a reliable, non-invasive biomarker for stress detection. Galvanic Skin Response (GSR) is often combined with heart rate and body temperature monitoring for enhanced accuracy and monitoring. Studies have shown under stressed scenarios, participants’ Galvanic Skin Response (GSR) increase by 100 to 400 percent [
8,
9]. Resting Galvanic Skin Response (GSR)s measured to be around 0.9 to 1.1 μS (microsiemens) and under cognitive stress tasks and timed math problems and audio interference, the participants’ Galvanic Skin Response (GSR)s increased to 3.2 μS average and 2.5 to 4 μS [
8,
9].
2.2.2. Heart Rate Variability
Heart Rate Variability (HRV) refers to the variations in time between consecutive heartbeats, measured by the R-R or N-N intervals, which are regulated by the autonomic nervous system. Heart Rate Variability (HRV) reflects the dynamic relationship between the parasympathetic rest and digest and sympathetic fight or flight systems [
6]. When stress is induced on the body, the sympathetic nervous system activity increases, whereas the parasympathetic activity is suppressed, reducing Heart Rate Variability (HRV) [
6]. In the time domain, Heart Rate Variability (HRV) can be measured using the standard deviation of NN intervals and the root mean square of successive differences]. Acute stress-induced scenarios can reduce an individual’s SDNN by 20 to 30 percent and RMSSD by up to 40 percent, whereas chronic stress can lead to consistent reductions exceeding 25 percent [
10,
11].
2.2.3. Skin Temperature
The body’s thermoregulation can be altered due to stress, causing it to increase subtly. Since stress activates the sympathetic nervous system, it influences vasodilation and metabolic heat production as well [
12]. Though core temperature can rise slightly due to blood flow redistribution, peripheral skin temperature actually decreases during acute stress [
8]. Vasoconstriction at the wrist during a stress event may lead to a drop of 1 to 3 °C [
9]. The body prioritizes the thermal regulation of the core, which causes the decrease in peripheral temperature [
8].
2.2.4. Blood Oxygen Saturation
An individual’s blood oxygen levels are determined by respiratory patterns. Stress may alter respiratory patterns due to hyperventilation or shallow breathing, which can be experienced during stressful events [
13]. Hyperventilation and shallow breathing lead to reduced oxygen exchange efficiency, which then lowers blood oxygen saturation [
13]. Changes in blood oxygen levels are evident in individuals who experience stress-induced anxiety or panic attacks [
13].
2.3. Signal Processing Pipelines
The system implements a machine learning algorithm to successfully identify stress by processing and analyzing the physiological data and fusing it with the active data to improve accuracy. Raw signals are transformed into features suitable for modeling. For Heart Rate Variability (HRV) we use inter-beat intervals derived from the wrist PPG, and for Galvanic Skin Response (GSR), temperature, and SpO2 we use continuous time series collected on the wrist. Feature extraction and filtering steps are applied consistently across participants.
2.3.1. PPG Signal Filtration Process
DC Block Filter (High-Pass Filter). The first step in this filtering process is the DC block filter, also known as a high-pass filter. This filter is designed to remove the DC offset from the raw PPG signal. The DC component represents the steady part of light absorption, which comes from the constant tissue absorption, skin tone, or ambient light. It is not really used for heart rate or variability detection because it doesn’t carry pulsatile information. The filter uses a formula that subtracts the previous input and includes a weighted portion of the previous output, canceling out slow-changing values. the formula used is y[n] = x[n] - x[n-1] + a * y[n-1], where a is constant, 0.95, which controls how much of the previous output is retained. The result of this filter is a signal that contains the AC component, which is the actual heartbeat waveform.
Low-Pass Filter. After removing the DC offset, the signal still contains high-frequency noise, such as electrical interference, sensor jitter, or irrelevant signal fluctuations. The output of the DC block filter is passed through a low-pass filter, which smooths out the signal by averaging it over time. It retains slow, meaningful changes and discards rapid and irrelevant changes. The formula for this filter is y[n] = y[n-1] + a * (x[n] - y[n-1]), where a is constant, 0.1, that shows how responsive the smoothing is. A smaller one results in heavier smoothing. The output of this step is a clean, smooth waveform that shows the pulsatile signal with minimal noise.
Combined Filtering (filter_sample Function). Both filters are combined into a single method called filter_sample. When a raw sample is passed through the function, it first applies the DC block to remove the baseline drift, and then low-pass is applied to smooth the result. This two-step process makes sure that the output signal is both centered around zero (no DC) and free from jitter and high-frequency noise. The resulting filtered signal is ideal for detecting heartbeats accurately and consistently. This clean signal is used downstream for detecting peaks, calculating inter-beat intervals (IBIs), estimating heart rate (BPM), heart rate variability (Heart Rate Variability (HRV)), and even computing SpO2 based on the red and infrared signal components.
2.4. Firmware and BLE Protocol
The system includes a mobile platform application which serves as the user-interface. The application will prompt users to answer the mental health assessment surveys, displaying their real-time stress metrics, trends, and wellness scores. The device communicates sensor readings to the application for storage and visualization. The application links each survey response to the surrounding sensor data window for later analysis.
2.5. Data Fusion Strategy
Traditional methods for monitoring stress involve self-report questionnaires and surveys. These techniques often fall short for accuracy as they rely on subjective input. The system combines and incorporates data collected from the standardized mental health assessment with the physiological data captured from the wearable device, such as heart rate variability, Galvanic Skin Response, body temperature, and blood oxygen levels. The system implements a machine learning algorithm to successfully identify stress by processing and analyzing the physiological data and fusing it with the active data to improve accuracy. We use a time-aligned approach that pairs each self-report with the surrounding passive window. For each self-report questionnaire submitted at time , a systematic window is formed [] with minutes. For each window, the features for Heart Rate Variability (HRV), Galvanic Skin Response (GSR), skin temperature, and SpO2 are computed. The self-report at provides a label for that window. Mid-level fusion includes mapping each modality to a compact embedding, concatenate embeddings, and fit to a regressor. Late fusion uses the self-reports and combines them with the physiological prediction using a weighted equation: , where is the normalized survey score, is the physiological prediction, and is the weight selected through cross validation.
Physiological features are concatenated for mid-level fusion, and self-report scores are combined with physiology using a simple weight to improve accuracy.
2.6. Power and Resource Optimization
The device is optimized for high compliance as well as long-term usability and durability. At rest, the PPG and Galvanic Skin Response (GSR) run for 60 seconds every 5 minutes. During the completion of the self- report, the sensors run for 120 seconds. The skin temperature is sampled at 1 Hz continuously given its dynamics. The PPG is sampled at 25 Hz, and the Galvanic Skin Response (GSR) has a sampling rate of 10Hz. The Heart Rate Variability (HRV) is computed from the 60-120 second segments to stabilize the metrics.
The BLE uses notifications with a connection interval of 60 to 90 ms, a slave latency of 3 to 5, and a supervision timeout of 4 to 6 seconds. The sampled data is batched into compact packets before transmission, maintaining around 1 to 2 seconds phone UI latency with a low average current.
2.7. Questionnaires and Labeling
This work uses publicly available surveys frameworks, such as the Perceived Stress Scale (PSS), Generalized Anxiety Disorder Assessment (GAD-7), and Patient Health Questionnaire-9 (PHQ-9), to generate simulated labels for evaluating our algorithm’s performance. These frameworks are a standardized tool used by doctors and clinicians to evaluate the psychological state. They were adapted and implemented here for a technical proof-of-concept study to test the alignments between the device features and subjective rating, not for clinical diagnosis. Because of the stigma associated with mental health, these self-reporting frameworks are prone to underreporting as due to social stigma or subjective bias [
14,
15]. For this reason, this technical evaluation adapted the framework as a means of simulating a labeled dataset for algorithm development.
Perceived Stress Scale (PSS). The PSS scale measures stress by presenting 10 questions that need to be scored on a 5-point Likert scale. For the daily assessment of stress this was narrowed down to 3 questions to promote daily completion. The scale ranges from 0 never, 1 almost never, 2 sometimes, 3 fairly often, and 4 very often. The score is calculated by summing up the points for each question, with a scoring range of 0 to 15. For the purposes of this study, the levels have been divided into the following categories: Minimal Stress 0 to 4, Mild Stress 4 to 8, Moderate Stress 8 to 12, Severe Stress 12 to 15. The PSS assessment has sensitivity rates ranging from 70 percent to 90 percent, with specificity rates between 75 percent and 85 percent, demonstrating good construct validity. Although the assessment is effective for tracking perceived stress and evaluating the need for intervention, it is not a diagnostic tool. [
16]
Generalized Anxiety Disorder Assessment (GAD-7). The GAD-7 assessment is used to assess the severity of generalized anxiety. The assessment consists of 7 questions that are to be answered on the 4 point scale. For the daily assessment of anxiety, this was narrowed down to 3 questions to promote daily completion, as well as altered to be answered on a 5 point scale for consistency with assessing stress. The total score is calculated by summing up all the points from the questionnaire and dividing up the score into four categories: Minimal Anxiety 0 to 4, Mild Anxiety 4 to 8, Moderate Anxiety 8 to 12, Severe Anxiety 12 to 15. The sensitivity range for the GAD-7 assessment ranges from 76 percent to 89 percent with specificity rates between 82 percent and 95 percent. Although the GAD-7 assessment is not a diagnostic tool, it is effective in identifying and evaluating the symptoms of generalized anxiety. [17]
Patient Health Questionnaire-9 (PHQ-9). PHQ-9 is an assessment tool used to measure the severity of depressive symptoms. The assessment consists of 9 questions scored on a 4 point scale. For the daily assessment of depression, this was narrowed down to 3 questions to promote daily completion, as well as altered to be answered on a 5 point scale for consistency with assessing stress and anxiety. The total score is summed up and categorized in one of the following: Minimal Depression 0 to 3, Mild Depression 3 to 6, Moderate Depression 6 to 9, Severe Depression 9 to 12. The PHQ-9 assessment has a sensitivity rate of 88 percent and a specificity rate of 85 percent. The assessment is a valuable tool for clinicians to monitor patients that suffer from depression, but it should not be used as a diagnostic tool. [18]
Label binding. Each simulated label generated from the adapted questionnaire framework is used as a data point for the corresponding time period. These labels are then linked to the surrounding passive data for analysis.