Anda di halaman 1dari 4

Mental Stress Detection Using Cardiorespiratory Wavelet Cross-Bispectrum

Spyridon Kontaxis1,2 , Jesus Lazaro2,1 , Alberto Hernando4,2 , Adriana Arza3,1 , Jorge Mario Garzon3 ,
Eduardo Gil2,1 , Pablo Laguna2,1 , Jordi Aguilo3,1 , Raquel Bailon2,1
1
CIBER de Bioingeniera, Biomateriales y Nanomedicina (CIBER-BBN), Spain
2
BSICoS Group, I3A, IIS Aragon, University of Zaragoza, Spain
3
Microelectronics and Electronic Systems Dept., Autonomous University of Barcelona, Spain
4
Centro Universitario de la Defensa (CUD), Academia General Militar (AGM), Zaragoza, Spain

Abstract in HRV analysis improved the ability of HRV to discrim-


inate stress, which motivates the analysis of the relation-
In this work quadratic phase coupling between respi- ship between respiration and HRV during stress. Different
ration and heart rate variability (HRV) has been studied methods have been applied to investigate cardiorespiratory
during emotional and mental stress using wavelet cross- interactions [6]. In this work we propose to use the Wavelet
bispectrum (WCB). A total of 80 healthy volunteers sub- Cross Bispectrum (WCB), to take into account the possible
jected to a standard stress protocol have been analyzed. nonlinear relationship between respiration and cardiovas-
Some features derived from the WCB, such as the frequen- cular system, as suggested in [7], and the non stationarity
cies at which the maximum peak is located, the distribution of the signals under stress [8].
of the dominant peaks and the phase entropy have shown
statistical significant differences between stress and relax 2. Materials and methods
stages. A support vector machine classifier based on these
features discriminates stress stages from relax ones with an 2.1. Database
accuracy ranging from 68 to 89%, suggesting that the in-
teractions between respiration and HRV are altered during A data base of 80 healthy volunteers (40 men and 40
stress and may be used to assess it. women), who had not been diagnosed with any chronic
disease or psychopathology, with an age of 21.57 3.97
was recorded in the Autonomous University of Barcelona
1. Introduction and University of Zaragoza. The protocol included two
sessions, basal and stress, that were performed on different
Stress consists in a general adaptation syndrome de- days but at the same hour for each participant [4]. The
scribed as the non-specific response of the body to any de- basal session is an autogenic relaxation condition that is
mand on it [1]. Stress is a highly subjective phenomenon divided in two parts for comparison with the other session:
and indeed many factors, including personality ones, will the first 10 minutes is a baseline stage (BLB ) and the next
modulate the perception of stress and the arousal caused 25 min is a relaxing stage (RS). The stages of stress session
by the stressor. In an attempt to obtain an objective mea- are the following:
sure of stress, a variety of studies have proposed physio- i. Basline stage (BLS ): A 10-minutes length autogenic
logical markers including blood pressure (BP), heart rate relaxation condition.
(HR), various indices of heart rate variability (HRV) and ii. Story Telling (ST): 3 stories with a great amount of
respiration [24]. details were told to the subject, who was requested to
HRV is a non-invasive technique, which provides an in- remember as much details as possible.
dicator of Autonomic Nervous System (ANS) activity. A iii. Memory Task (MT): The subject had to reiterate aloud
typical power spectrum has main frequency components all the remembered details about the 3 stories.
such as the Low Frequency component (LF: 0.04-0.15 Hz) iv. Stress Anticipation (SA): The subject was instructed
that is mediated by both sympathetic and parasympathetic to wait alone during 10 minutes for the evaluation of
systems and the High Frequency component (HF: 0.15-0.4 the previous task.
Hz) that reflects the Respiratory Sinus Arrhythmia (RSA) v. Video Exposition (VE): The presentation of a video
and is mainly mediated by parasympathetic systems [5]. clip from the subject performance in MT was shown.
In [4] the inclusion of respiratory frequency information A video of an actor remembering all the details was

Computing in Cardiology 2016; VOL 43 ISSN: 2325-887X DOI:10.22489/CinC.2016.211-454


displayed before that, trying to make the subject be- and components of HRV at frequency f1 + f2 . Thus, the
lieve that his/her performance was very low. WCB can be considered a measure of cardiorespiratory
vi. Arithmetic Task (AT): The subject had to perform in coupling. Due to the symmetries in the definition and the
5 minutes successive subtractions of 13, starting from limitation set by fs the WCB estimation is done in the re-
the number 1022 and in case of a calculation error, the gion : f1 + f2 fs /2.
countdown was restarted from the beginning. The different stages of the experiment have different du-
Only the last five stages of the Stress Session are con- rations. In order to have the same resolution in all of them
sidered stressful. In order to avoid possible transient phe- the WCB is computed in segments of duration (T ) 502.5
nomena between the different stages, only the six central sec with an overlap of 12.5 2.5 sec. Regarding the im-
minutes in the stages BLB , RS, BLS and SA are analyzed. plementation of CWT the complex Morlet wavelet was
In this approach the MT and AT are not examined due to used with bandwidth parameter fb = 0.5 Hz and center
the fact that the interpretation of results would be difficult frequency fc = 0.3 Hz. These values were selected based
while the subject was speaking. on the frequency content of cardiovascular and respiratory
A Medicom system, ABP-10 module (Medicom MTD oscillations.
Ltd, Russia), was used for recording respiratory signal
(chest-band based) at 250 Hz and 3 orthogonal leads of 2.3. Cardiorespiratory features
the ECG signal, at 1 kHz. The HRV signal was generated
from the beat occurrence time series, detected on Z-lead Different features are computed for each segment. The
of the ECG, based on the integral pulse frequency modu- final feature set consists of the mean of the features values
lation (IPFM) model, which accounts for the presence of in all the segments for each stage. The features that are
ectopic beats [9] and sampled at a sample frequency (fs ) related to the wavelet biamplitude are the following:
of 4 Hz. The respiration signal was downsampled to 4 Hz. (fHRV , fR ) = argmax{AWCB (f1 , f2 )} (3)
HRV and respiration were filtered, with a pass-band filter f1 ,f2
(Butterworth 6th order with cutoff frequencies of 0.04 and
Then, the M local maxima, which are at least higher
0.8 Hz). Both signals were normalized to have the same
than half of the AWCB (fHRV , fR ), are detected and denoted
energy.
(fHRVi , fRi ). Subsequently, the mean distance (DM ) of the
M local maxima to absolute maximum is computed:
2.2. Wavelet Cross-Bispectrum (WCB) M 1 q
1 X 2 2
A generalization of bispectral analysis leads to Wavelet DM = (fHRV fHRVi ) + (fR fRi ) (4)
M i=0
Cross-Bispectrum (BWCB ) that consists of wavelet biampli-
tude (AWCB ) and wavelet
Z biphase (WCB ) [10]: Note that DM remains a feature which measures the en-
BWCB (f1 ,f2 ) = Wx (f1 , )Wy (f2 , )Wx (f12 , ) d ergy distribution around the absolute maximum. The next
T feature is related with the wavelet biphase and it is called
= AWCB (f1 ,f2 ) ejWCB (f1 ,f2 ) (1) phase entropy (Pe ). The WCB (f1 , f2 ) is quantized in N
bins sized 2/N radians, indexed by Bn (n = 0, ..., N1),
where f12 = f1 +f2 . The integration is done over a finite with N being the number of samples in the interval T .
time interval T : 0 1 . The Wx (f, ) and Wy (f, ) Then, a relative histogram p(Bn ) (Figure 1) is computed
in (1) are the Continuous Wavelet Transform (CWT) coef- by dividing the number of elements in each bin Bn by the
ficients and are given by: total number, L, of possible pairs (f1 , f2 ) which compose
Z   the domain . The next step is to calculate the Shanon en-
1 tb
Wx (f, b) = x(t) dt (2) tropy, which is a measure of randomness and it is taken as
a a a feature [11]:

N
X 1
where (t) is the mother wavelet scaled by a factor a, a>0, Pe = p (Bn ) log (p (Bn )) (5)
and dilated by a factor b. The frequencies could be inter- n=0
preted as inverse scales, i.e. a = fc fs /f where fc is center
frequency of the mother wavelet and fs the sampling fre- 2.4. Statistical analysis and classification
quency. procedure
The signal x (t) corresponds to the HRV signal and y (t)
is the respiration signal, so the WCB measures, in the fi- A statistical analysis was performed for the cardiorespi-
nite time interval T , the amount of Quadratic Phase Cou- ratory features. A Student Test or a Wilcoxon paired sta-
pling (QPC) that occurs between components of HRV at tistical test is implemented depending on the distribution
frequency f1 , components of respiration at frequency f2 of the data, Gaussian or not, respectively. The purpose
Pe = 3.76 Pe = 4.23 had been used in the classification procedure in each stage.
0.06 0.03
p (Bn )

0.04 0.02

0.02 0.01 Table 1. The p-values of statistical paired tests


0
/2 0 /2 0
/2 0 /2 Cardiorespiratory Features
Bn Bn Stages fR DM Pe
(a) (b)
BLB vs BLS
Figure 1. The histograms for (a) relax, (b) stress stage ST vs BLS 4.731014 3.15108 1.55106
SA vs BLS 6.04105 4.03106 1.41105
VE vs BLS 1.09107 5.03105 2.06109
of this analysis is to find statistical differences in features
values between stress (ST, SA, VE) and relax (BLS ) stages
within the same subject (paired test) and day. Furthermore,
the two relax stages from the same subject but on different Table 2. The metrics CA and F1 for the SVM classifier
days (BLS , BLB ) were compared to test the repeatability of Metrics
the measurement. Stages CA std(%) F1 std(%)
Then, we approached the problem of classification of ST vs RS 89.373.65 88.254.07
each stage as stressful or relaxing. All stress stages (ST, SA vs RS 67.895.65 66.456.06
SA, VE) were pooled together to form the stress group, VE vs RS 85.824.71 84.945.11
while the relax stage of basal session (RS) formed the relax
group. The rationale for using (RS) instead of BLS and BLB
was that it had a similar timing within the session as stress
stages. In order not to over-fit the classifier, only the three 4. Discussion
most significant features were used. A Support Vector Ma-
In this paper changes of QPC of HRV and respiration
chines classifier (SVM) was used (Gaussian radial basis
during stress have been investigated, in particular through
kernel, scaling factor = 1). A 3-fold cross-validation
features fR , DM , and Pe . Based on the results of statistical
scheme was adopted and repeated 50 times. The classifi-
analysis (Table 1) the three selected features have the ca-
cation performance was evaluated through the classifica-
pacity to discriminate between stress and relax stages. Two
tion accuracy rate (CA), that is the number of corrected
of them, ST and VE, have the most significant differences
predictions divided by the total number of predictions, av-
respect to basal. In the SA stage, the subject was waiting
eraged for the total number of repetitions and the metric
for the evaluation of previous tasks, in contrast with the ST
F-measure or F1 score (F1), that is the harmonic mean of
and VE stages, wherein there was a specific stressful stim-
precision (true positives divided by the sum of true posi-
uli. The absence of a specific stressful stimuli in SA could
tives and false positives) and recall(true positives divided
imply that SA is less stressful than ST and VE, and that
by the sum of true positives and false negatives) averaged
could explain the lower significant differences. No sig-
for the total number of repetitions.
nificant differences were found between the two relaxing
stages (BLS , BLB ).
3. Results Results of classification (Table 2), suggest that the se-
lected features have discriminant power in the stress condi-
Table 1 shows the p-values of statistical paired tests. tions ST (CA=89.37%) and VE (CA=85.82%) rather than
Each comparison BLB , ST, SA, VE vs BLS was done indi- SA. Figure 2 shows that the index fR tends to get higher
vidually, maximizing the number of subjects in each com- values in stress stages (ST, VE). Furthermore, regarding
parison (37, 40, 44, 44 respectively). The reduced number DM , the local maxima representing other significant cou-
of the subjects in each comparison is due to the rejection of plings between frequency components are closer to the
respiration signals with motion artifacts in different stages. maximum peak in the relax conditions than in stress, fact
The Wilcoxon tests are marked with different color and that is compatible also with the Pe feature. The Pe is lower
when the null hypothesis was not rejected is marked with (relax) when the process tends to be harmonic, while is in-
. creased (stress) when the process becomes more random.
Table 2 shows the results of the classification problem.
For each stage of the classification procedure, i.e. ST, SA, 5. Conclusion
VE, RS all the possible subjects (47, 52, 53, 57 respec-
tively) with measurements were selected. This work has studied changes in quadratic phase cou-
The Figure 2 represents the boxplots for the features that pling between respiration and HRV during emotional and
0.25 4.5
0.4
0.2
0.3
4

Pe
DM
0.15
fR

0.2
0.1
3.5 Stress
0.1
0.05 Relax

E
SA

SA
ST

ST
RS

RS
E
SA
ST
RS
V

V
V
(a) (b) (c)

Figure 2. The boxplot for the feature (a) fR , (b) DM , (c) Pe

mental stress using wavelet cross- bispectrum (WCB). [5] Task Force of the European Society of Cardiology and the
Some features derived from the WCB have shown statisti- North American Society of Pacing and Electrophysiology.
cal significant differences between stress and relax stages. Heart rate variability: standards of measurement, physio-
logical interpretation and clinical use. Circulation 1996;
Among them one feature related to respiratory frequency
93(5):10431065.
achieved the best results (p-value < 1013 ). Classification
[6] Pompe B, Blidh P, Hoyer D, Eiselt M. Using mutual in-
based on features related to respiratory frequency, the en- formation to measure coupling in the cardiorespiratory sys-
ergy distribution around the maximum peak and phase en- tem. Engineering in Medicine and Biology Magazine IEEE
tropy discriminates ST from relax with 89% accuracy and 1998;17(6):3239.
VE with 86%. These results supports that the interactions [7] Novak V, Novak P, de Champlain J, Le Blanc AR, Martin R,
between respiration and HRV are altered during stress and Nadeau R. Influence of respiration on heart rate and blood
may be used to assess it. pressure fluctuations. Journal of Applied Physiology 1993;
74(2):617626.
6. Acknowledgment [8] Jamsek J, Stefanovska A, McClintock PV. Nonlinear
cardio-respiratory interactions revealed by time-phase bis-
This work is supported by Universidad de Zaragoza pectral analysis. Physics in medicine and biology 2004;
under fellowship UZ2014-TEC-01 by Ministerio de 49(18):4407.
Economa y Competitividad (MINECO), FEDER; un- [9] Mateo J, Laguna P. Analysis of heart rate variability in
der projects FIS-PI12/00514 and TIN2014-53567-R, by the presence of ectopic beats using the heart timing sig-
nal. Biomedical Engineering IEEE Transactions on 2003;
CIBER in Bioengineering, Biomaterials & Nanomedicine
50(3):334343.
through Instituto de Salud Carlos III, and by Grupo Con-
[10] Van Milligen BP, Sanchez E, Estrada T, Hidalgo C, Branas
solidado BSICoS from DGA (Aragon) and European So- B, Carreras B, Garcia L. Wavelet bicoherence: a new turbu-
cial Fund (EU). lence analysis tool. Physics of Plasmas 1994 present 1995;
2(8):30173032.
References [11] Chua KC, Chandran V, Acharya R, Lim C. Higher order
spectral (hos) analysis of epileptic eeg signals. In Engineer-
[1] Selye H. The stress of life, 1957. ing in Medicine and Biology Society, 2007. EMBS 2007.
[2] Vrijkotte TG, Van Doornen LJ, De Geus EJ. Effects of work 29th Annual International Conference of the IEEE. IEEE,
stress on ambulatory blood pressure, heart rate, and heart 2007; 64956498.
rate variability. Hypertension 2000;35(4):880886.
[3] Grossman P. Respiration, stress, and cardiovascular func-
tion. Psychophysiology 1983;20(3):284300.
Address for correspondence:
[4] Hernando A, Lazaro J, Gil E, Valdes AA, Garzon-Rey J,
Lopez-Anton R, de la Camara C, Laguna P, Aguilo J, Bailon Spyridon Kontaxis
R. Inclusion of respiratory frequency information in heart Dep. Ingeniera Electronica y Comunicaciones. Universidad de
rate variability analysis for stress assessment. IEEE Journal Zaragoza, C/ Mara de Luna 1, 50018 Zaragoza, Spain
of Biomedical and Health Informatics 2016;20(4):1016 sikontax@gmail.com
1025.

Anda mungkin juga menyukai