1. Introduction
Nowadays, there are some devices available in the market focused on the processing of biomedical signals in relation to the emotions of individuals, but they are neither numerous nor affordable to all. Focusing on those applied to autism, again, we find that those that exist are not accessible. The cost ranges from EUR 300 to EUR 2000. The aim of this project was to develop a bracelet able to measure electrodermal activity (EDA) and photoplethysmography (PPG) signals in autistic children but developing an accessible and affordable device for the public. This type of technology is very useful in helping the emotional control and development of children on the autistic spectrum. The processing of their heart rate (HR) and electrodermal activity helps to classify the individual into one of the basic emotions. This information allows both the subject and their tutors or relatives to assess this emotional state and to act, respond, and evolve accordingly. In other words, this device is a tool for the growth, education, and personal development of these individuals.
2. Materials and Methods
The hardware design had an EDA and a PPG module. An Arduino Nano-programmed using the library BSP [
1] at 256 Hz of sampling frequency was used for data acquisition and sent them via Bluetooth (HC05). The EDA circuit was presented in [
2]. The PPG circuit had a first-order [0.7–28] Hz bandpass filter and a total gain of 100.
The PCB board developed for the prototype is shown in
Figure 1. It was made with surface-mounting device (SMD) components, with the intention of reducing the size of the board as much as possible.
Due to the COVID-19 pandemic, it was not possible to test the prototype on volunteers. However, the circuits used during this project (EDA and PPG) had previously been tested in [
2,
3]; then, we used a database [
4] that collected some biological signals— EDA, PPG, EEG, EMG, BVP, breath rate, etc.—when participants were playing the Pacman game, to test the algorithms to apply. This version of the game was designed to introduce the loss of control (LOC) states and measure physiological reactions in volunteers. The controls were reduced to two buttons for the index fingers of both hands. The left one rotated the game avatar clockwise by 90 degrees, and the right one rotated it dual clockwise. The experimental design consisted of introducing the LOC into the game in two-minute blocks, interspersed with unmodified blocks of the same duration. In total, each session lasted 30 min. The blocks with LOC were distributed evenly throughout the experiment, building a series from sequences of three blocks; one LOC and two normal blocks. Modifications to induce LOC consisted of randomly ignoring 15% of the actions typed by the subject and occasionally freezing the screen to produce a delay in the image. After each block, the subjects rated their mental state in terms of valence (pleasure), arousal, and dominance (subjective feelings of control) on a scale presented with the Software Asset Management (SAM) assessment test [
5].
Data Processing
The PPG signal was processed in 3 steps: firstly, we calculated the derivative of the signal, then a bandpass filter was applied, and finally, the Wavelet transform. This algorithm calculates the time difference between two consecutive RR segments and determines the individual’s cardiac variability (HRV) [
6]. PPG and electrocardiography (ECG) are signals that could be considered redundant, as we were interested in analysing the heart rate and its variability. The derivative was performed to resemble the PPG signal to the ECG and process it with one of the algorithms commonly used to analyse these types of signals, such as the Wavelet. The bandpass filter has a cutoff frequency of 1 Hz and 40 Hz. It does not allow frequencies lower than 1 Hz or higher than 40 Hz.
For the processing of the EDA signal, the variables extracted with Ledalab [
7], an open source EDA signal processing package for MATLAB, were used. For the Ledalab processing, software-understandable events were manually added every 10 s to evaluate the EDA signal in 10 s windows within each block. The continuous decomposition analysis (CDA) method was applied, which aimed to recover the underlying signal characteristics of the sudomotor nerve.
3. Results and Discussions
As an example of the results of the statistical processing of the PPG, some of the data obtained for the individual s4 is shown below. The discrete analysis recording of the EDA signal for subject s0 shows that during the course of the entire video game, he underwent four steps of increase in skin conductance. This was consistent over time with the blocks of frustration and with the peak values of phasic activity, as can be seen in
Figure 2.
4. Conclusions
The developed device allows the PPG and EDA of individuals to be measured correctly. It has been determined that, when an individual becomes upset or nervous, either positively or negatively to a stimulus, their heart rate and sweating increase. This is the relationship between these signals and external stimuli that this project was intended to confirm. In addition, with the indicators of autonomic nervous system (ANS) activity (acquired from the analysis of cardiac variability obtained through the PPG recording) and knowing the behaviour of skin conductivity in response to each stimulus, it is possible to determine whether the subject is in a situation of pleasure or frustration in response to each observed reaction.
Funding
This research was funded by the Spanish Ministry of Science and Innovation, State Plan 2017–2020: Challenges—R&D&I Projects with grant codes PID2019-104323RB-C32.
Institutional Review Board Statement
The study was conducted according to the guidelines of the Declaration of Helsinki, and approved by the Ethics Committee of Junta de Andalucía (protocol code C.P. TAIS-C.I. 1130-N-17, 2018).
Informed Consent Statement
Informed consent was obtained from all subjects involved in the study.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Molina-Cantero, A.J.; Castro-García, J.A.; Lebrato-Vázquez, C.; Gómez-González, I.M.; Merino-Monge, M. Real-time processing library for open-source hardware biomedical sensors. Sensors 2018, 18, 1033. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Castro-García, J.A.; Molina-Cantero, A.J.; Merino-Monge, M.; Gómez-González, I.M. An Open-Source Hardware Acquisition Platform for Physiological Measurements. IEEE Sens. J. 2019, 19, 11526–11534. [Google Scholar] [CrossRef]
- Molina, A.J.; Gómez, I.M.; Guerrero, J.; Merino, M.; Castro, J.A.; Quesada, R.; Berrazueta, S.; Hermoso-de-Mendoza, M. A HW/SW Platform to Acquire Bioelectrical Signals. A Case Study: Characterizing Computer Access through Attention. In Proceedings of the 4th International Conference on Physiological Computing Systems; SciTePress: Setúbal, Portugal, 2017; pp. 76–83. [Google Scholar]
- Reuderink, B.; Nijholt, A.; Poel, M. Affective Pacman: A Frustrating Game for Brain-Computer Interface Experiments. In Intelligent Technologies for Interactive Entertainment; Nijholt, A., Reidsma, D., Hondorp, H., Eds.; Springer: Berlin/Heidelberg, Germany, 2009; pp. 221–227. [Google Scholar]
- Bradley, M.M.; Lang, P.J. Measuring emotion: The self-assessment manikin and the semantic differential. J. Behav. Ther. Exp. Psychiatry 1994, 25, 49–59. [Google Scholar] [CrossRef]
- Shaffer, F.; Ginsberg, J.P. An Overview of Heart Rate Variability Metrics and Norms. Front. Public Health 2017, 5, 258. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Benedek, M.; Kaernbach, C. A continuous measure of phasic electrodermal activity. J. Neurosci. Methods 2010, 190, 80–91. [Google Scholar] [CrossRef] [PubMed] [Green Version]
| Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 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 (https://creativecommons.org/licenses/by/4.0/).