2.2. Setup and Procedure
To ensure a familiar and safe environment for the best driving conditions, participants used their own vehicles for the sessions. All devices used in this study are battery-powered, ensuring the portability of the configuration in any vehicle. The setup was executed in three sequential phases: initial hardware configuration, subsequent software integration, and finally the placement and positioning of the sensors on the driver. Following the driving session, the same sequence was executed in reverse order during the concluding phase. To log the driving and its metrics, a video recording was performed. It integrates six data streams: the road ahead video; video of the driver’s movements; raw physiological signal visualization; ambient temperature and humidity inside the vehicle cabin; GPS route and speed of the vehicle; and current local time and a stopwatch for session time duration.
Before each driving session, the interior and driver setup followed a checklist protocol. The initial setup included a laptop and two Android smartphones. One smartphone camera, used as a dashcam, recorded the road ahead to log the traffic situations; outdoor conditions, such as weather and lighting; and the various road environments. A second laptop-integrated camera was positioned facing the driver, recording only the upper body and hands to ensure anonymity by avoiding facial capture. This arrangement allows for the identification of motion artifacts in the biosignal analysis and data processing. This can be achieved because of the simultaneous recording of all video streams. For example, an event captured on video, such as a driver drinking from a water bottle or turning the steering wheel sharply to avoid a potential collision, could result in a motion artifact in the raw signal at that exact moment. Thus, the video would explain the origin of the artifact. A portable temperature and humidity monitor, the Mi Temperature and Humidity Monitor 3 (Xiaomi, Beijing, China), recorded the ambient temperature and the humidity inside the vehicle. Its data was displayed on the video via Bluetooth synchronization with the second smartphone. A Google Maps (v7.3.7.1155)navigation screen was integrated into the video recording to track speed and route information. A digital on-screen clock and a timer were included in the laptop video recording; both served as a visual timestamp for data synchronization from different devices to supplement digital timestamps included in each individual data file. The driving route comprises three sections with different road traffic conditions. The starting point was located in the intensive urban traffic of Plovdiv, Bulgaria, during midday. This was followed by the city’s ring road, characterized by higher speeds, and subsequently a section of highway. The return route led back to the starting point in reverse order, passing through the opposite side of the city. The average duration of such a driving session was approximately 60 min, depending on the traffic conditions.
2.3. Instrumentation
The driver setup incorporates five different sensor modalities for HR and RR monitoring. A CardioBAN BLE wearable Electrocardiogram (ECG) device (PLUX Wireless Biosignals S.A., Lisbon, Portugal) was attached to each participant to acquire a “Lead I” configuration signal. The negative electrode was placed at the level of the heart on the sternum, and the positive electrode was placed to the left (from the driver’s perspective), forming a horizontal alignment. Its selection and anatomical positioning were based on the findings of a previous study by the authors [
6]. This 16-bit, high-resolution, research-grade device features a sampling rate of 1000 Hz and a default position below the chest line, making it suitable as a “gold-standard” reference benchmark. It was attached to the driver’s skin by two long-term, disposable, adhesive, electrodes (Ambu A/S, Ballerup, Denmark).
A respiBAN BLE wearable RR extraction device (PLUX Wireless Biosignals S.A., Lisbon, Portugal) was attached to the driver’s body with an inductive belt. It was positioned at the level of the diaphragm [
6] over a thin layer of clothing, such as a lightweight T-shirt, to avoid direct contact with the skin and for hygiene reasons. The positioning of both devices was optimized to ensure maximum signal quality while accommodating the seatbelt of the vehicle, ensuring it did not exert pressure on the housing of each sensor or the electrodes, as shown in
Figure 1.
The respiBAN raw signal was also used as a “gold standard”. The available high-resolution ECG data also allows for the comparison of various techniques for the extraction of the ECG-Derived Respiration (EDR) signal. The signals acquired by CardioBAN and respiBAN can be visualized and retrieved in real time using the Biosignals Studio software (version 1.0.3 Build 2026-01-27, PLUX Wireless Biosignals S.A., Lisbon, Portugal), integrated within the driving video stream. The raw signals are stored in output files in .h5 data format.
For consumer-grade tracking, a smartwatch Huawei Watch D2 (Huawei Device Co., Ltd., Shenzhen, China) was used for continuous HR data acquisition during driving. As the device is a certified medical-grade instrument for blood pressure and ECG monitoring, each participant’s baseline measurements were recorded in a resting state before the initiation of the driving task. After the driving session, the same measurements were obtained and recorded. Following the manufacturer’s clinical guidelines, the watch was positioned on each participant’s non-dominant wrist, approximately two centimeters above the ulnar styloid process, moving toward the forearm, as shown in
Figure 2.
As wrist diameter varies among participants, the tightness of the strap was adjusted by the researcher to ensure optimal contact between watch sensors and the skin.
For comparative analysis, two distinct categories of smart rings were employed: a premium, clinically cited device “Oura ring Gen3” (Oura Health Oy, Oulu, Finland) [
7,
8] and a low-cost alternative “Xmart” smart ring (Xmart, Sofia, Bulgaria, manufactured in China). This study aims to assess their performance and accuracy in measuring HR compared to the reference devices described above. Both rings were positioned on fingers in accordance with the manufacturer’s recommendations. The alignment was maintained by ensuring that the sensors were positioned against the palmar side of the finger (
Figure 2), providing stable contact with the digital vasculature while minimizing movement related noise. Due to anatomical variations among participants, a proper fit was not always achievable for the ring sizes used. If one of the rings did not fit tightly on the finger, it was not used in the driving session.
The corresponding smartphone application for the smartwatch and the Oura ring was used to initiate exercise mode. In this mode, the measurements of the two wearables were extracted every five seconds. Both applications support the exportation of the data to cloud services, enabling them to be downloaded as data files in .csv and .tcx formats. Those files are available for retrieval after the termination of the exercise mode at the end of the driving session. In contrast, the Xmart ring application was operated in normal mode, which records HR at 5 min sampling intervals and does not provide a native data export feature. To meet the privacy requirements, every participant’s data was stored in an anonymized research account for each application of the corresponding wearable device. All three downloaded files were converted into Excel format and stored in anonymized files.
Upon the completion of the session, each device generated a dedicated output file used as input for a MATLAB (version R2024a, 24.1.0) script. This script was developed to extract raw ECG and RR signals from the .h5 file, and we combined them with the data from the three wearables into a single spreadsheet. While the smartwatch is used by every driver by adjusting its strap, one or both rings can occasionally be omitted because of misalignment with finger sizes. For this reason, the smartwatch timestamp was selected as the reference for time synchronization. The script identifies the nearest timestamps in the rings’ data files to the reference one and aligns the corresponding measured HR values with the smartwatch data (matching date, hours, minutes and seconds where possible). This strategy yields four HR values and one RR value for each reference timestamp, enabling future direct data comparison and accuracy evaluation. If data from one or both rings is missing for a particular timestamp, the script fills the corresponding cells with Not a Number (NaN) values. This ensures that the spreadsheet structure remains consistent for the final data comparison and accuracy evaluation.