ArticlePDF Available

ECG based sleep apnea detection using wavelet analysis of instantaneous heart rates

Authors:

Abstract and Figures

The time series of instantaneous heart rates (IHR) derived from overnight sleep electrocardiography (ECG) are analyzed by using wavelet decompositions. It is aimed to find a reliable and practical way for detecting the minute by minute occurrence of sleep-disordered breathing (SDB). The two sets of single-lead ECGs extracted from polysomnography recordings are obtained from PhysioNet apnea-ECG database. Wavelet decompositions are implemented to the segments of 6-minutes length IHR signals in which the 4th minute is accepted as deciding minute for SDB. Results obtained from analysis of the first set of the 35 recordings showed that variances of the 5th, 6th and 7th detail components of IHR time series can be used as distinguishing features disclosing the minute-based real time sleep apneas. Second set of the 35 ECG recordings is used for testing this result. For this aim, a nonlinear autoregressive (NARX) type artificial neural network (ANN) classifier is configured and trained, by using the feature vectors obtained from the first data set. Evaluations based on the assessment of whole length of overnight sleep ECGs showed that implementation of the NARX based classification following the feature extraction with wavelet decompositions has success level greater then %96.6 to decide on whether a subject is apneic or non-apneic. The same approach has %83.4 and %82.6 success level, respectively, referring to the minute-based deciding on the first (learning) and second (test) data set.
Content may be subject to copyright.
ECG Based Sleep Apnea Detection Using Wavelet
Analysis of Instantaneous Heart Rates
İbrahim Delibaşoğlu1, Cafer Avcı2, Ahmet Akbaş3
Department of Computer Engineering
Yalova University
Yalova, Turkey
idelibasoglu@yalova.edu.tr1, cavci@acm.org2, ahmedakbas@gmail.com3
ABSTRACT
The time series of instantaneous heart rates (IHR) derived
from overnight sleep electrocardiography (ECG) are analyzed
by using wavelet decompositions. It is aimed to find a reliable
and practical way for detecting the minute by minute
occurrence of sleep-disordered breathing (SDB). The two sets
of single-lead ECGs extracted from polysomnography
recordings are obtained from PhysioNet apnea-ECG database.
Wavelet decompositions are implemented to the segments of 6-
minutes length IHR signals in which the 4th minute is accepted
as deciding minute for SDB. Results obtained from analysis of
the first set of the 35 recordings showed that variances of the
5th, 6th and 7th detail components of IHR time series can be
used as distinguishing features disclosing the minute-based real
time sleep apneas. Second set of the 35 ECG recordings is used
for testing this result. For this aim, a nonlinear autoregressive
(NARX) type artificial neural network (ANN) classifier is
configured and trained, by using the feature vectors obtained
from the first data set. Evaluations based on the assessment of
whole length of overnight sleep ECGs showed that
implementation of the NARX based classification following the
feature extraction with wavelet decompositions has success
level greater then %96.6 to decide on whether a subject is
apneic or non-apneic. The same approach has %83.4 and
%82.6 success level, respectively, referring to the minute-based
deciding on the first (learning) and second (test) data set.
Keywords
sleep apnea; ecg; ihr; disordered breathing; sdb
1. INTRODUCTION
SDB describes a group of disorders characterized by
abnormalities of respiratory pattern or the quantity of
ventilation during the sleep. It has two main categories:
obstructive sleep apnea (OSA) and central sleep apnea (CSA).
Some SDB subjects have a combination of both: mixed sleep
apnea. If there is a shallow breathing disorder but not complete
cessation of airflow, generally smaller than 50% of normal, the
episode is called hypopnea [1].
The first category of SDB, OSA, is characterized by repetitive
pauses caused by a physical block to airflow in breathing.
Entering the air to the lungs is prevented due to the temporary
closure of upper airway. In this case, the signs, symptoms, and
consequences are direct result of the repetitive collapse of the
upper airway. Some of them are sleep fragmentation,
hypoxemia and hypercapnia [2]. The second category, CSA, is
characterized by a lack of respiratory effort managed by the
central nervous system. In this case, the brain's respiratory
control centers are imbalanced during sleep. The carbon
dioxide level of blood and the neurological feedback
mechanism monitoring it do not react quickly enough to
maintain respiratory rate. After the episode of stopping breath,
as a compensatory mechanism, breathing may be faster for a
period of time to absorb more oxygen [3].
Traditionally SDBs are evaluated by the sleep studies. These
studies are carried out by taking the overnight
polysomnography records consisting of the multiple physiologic
variables including electromyography (EMG) and some
respiratory signals. Disordered breathing and its effects on
sleep can be exactly quantified by this way. However, sleep
studies are expensive and frustrate for SDB subjects, because
of that subjects must be stayed in sleep laboratories over a
night with intense hardware connections of polysomnography.
On the other hand, besides their own problematic situation
SDBs might cause various other health problems, such as heart
failure and stroke which are more common in people having
CSA (1). Therefore, real-time detection of SDBs can help
taking precautions against important health problems that
might be caused by SDBs. An easy implemented hardware,
such as single-lead ECG holter, can be used for this aim. Real
time SDB decisions can be extracted from such a system by
using various signal analyzing methods.
For instance, appealing to the fact that the low-frequency
oscillation in the frequency spectrum of the IHRs indicates the
variability of respiratory rates. Therefore frequency content of
the IHR time series can give supporting data for SDB analysis.
As a consequence of this tendency Sleep Scoring Manual now
includes the scoring of a continuous-lead ECG as a
recommended component of polysomnography [4].
In the context of ECG based study, the cyclical variation in IHR
was described as being characteristic of OSA, in 1984 [5]. This
was applied to the detection of sleep apnea by few groups [6, 7,
8]. Chazal et. al. [9] studied the presence of major sleep apnea
Permission to make digital or hard copies of all or part of this work for
personal or classroom use is granted without fee provided that copies are
not made or distributed for profit or commercial advantage and that copies
bear this notice and the full citation on the first page. To copy otherwise, to
republish, to post on servers or to redistribute to lists, requires prior specific
permission and/or a fee.
ISABEL '11, October 26-29, Barcelona, Spain Copyright©
2011 ACM ISBN 978-1-4503-0913-4/11/10... $10.00
by analyzing the ECG derived respiratory signal (EDR)
obtained from ECG recordings. Subjects were classified as
apneic or normal, however, minute-based diagnosis was not
carried out in this study. Similar approach using the wavelet
based features of ECG has been used in another study [10].
For minute-based real time detection of apnea episodes
Babaeizadeh et.al [11] implemented spectral analysis of the
power spectral density (PSD) on the 6-minutes length of ECG
recordings by using the Lomb’s method [12]. Similar analysis
has been implemented in this study by using the wavelet
decompositions of the time series of IHRs derived from the
overnight sleep ECG. A NARX type ANN based classifier has
been configured and trained for this aim.
2. MATERIAL & METHODS
Single-lead ECG recordings used in this study have been
obtained from apnea-ECG databank of PhysioNet which is a
web-based library of physiologic data and analytic software
sponsored by the US National Institutes of Health [13]. The
time series of estimated IHRs have been determined for all of
the subjects in given data sets.
2.1 Data
PhysioNet apnea-ECG databank includes freely accessible
overnight ECG recordings extracted from polysomnogram
measurements. It is provided by Philipps University, Marburg,
Germany, and divided into two data sets each containing 35
recordings: the learning and test data sets. Each set includes 20
apnea subjects, 10 control subjects and 5 borders subjects.
The subject codes in the first data set are a01-a20 for apnea
subjects, b01-b05 for border subjects, and c01-c10 for control
subjects. For the second data set the subject codes are between
x01 and x35. Each ECG signal in database is sampled at a rate
of 100 samples per second with an amplitude resolution of 5
μV. Duration of the recordings for each subject varies between
401 and 578 minutes. The subjects are between 27 and 63
years of age with weights between 53 and 135kg.
The database includes the standard apnea annotations done by
an expert who visually scored each minute of each recording for
sleep apnea events on the basis of respiration and oxygen
saturation signals using amplitude criteria for airflow and de-
saturation. An epoch is classified as apneic if apnea was in
progress at the beginning of the associated minute; otherwise, it
is classified as non-apneic (normal). By counting the number of
apnea events over a given period of time (e.g., a night's sleep)
and averaging these counts on a per-hour basis leads to
commonly used standards such as the apnea/hypopnea index
(AHI) [14].
Subjects in the PhysioNet database are classified into three
classes: A, B, and C. Recordings in class A (OSAS+) contain at
least 1 h with an AHI of 10 or more, and at least 100 min with
apnea during the recording. There are 40 recordings in this
class. Recordings in class B (borderline) contain at least 1 h
with an AHI of five or more, and between 5 and 99 min with
apnea during the recording. There are 10 recordings in this
class. We have excluded 10 recordings of class B from the
analysis in this study for subject-based diagnosis but all
recordings were analyzed for minute-based apnea detection.
2.2 Obtaining the Time Series of IHRs
At the end of each minute, estimated time series of IHRs have
been calculated over the last 6-minutes length of ECG. For this
aim, we used the ready C-code for IHR calculation in the
PhysioNet web site [15]. For the wavelet decompositions,
homogeneous time series of IHRs have been produced by a 2
Hz re-sampling process following the FFT-interpolation.
Wavelet decompositions have been applied to the segments of
6-minutes length IHR signals in which the 4th minute has been
accepted as apnea deciding minute.
The two 6-minutes length of ECG segments and their
corresponding homogeneous time series of IHRs with
indication of minute-based ‘N’ (non-apneic) and ‘A’ (apneic)
markings are shown in Figure 1 and Figure 2, respectively.
Figure 1. A 6-minutes length ECG and corresponding IHRs
with markings ‘N’
Figure 2. A 6-minutes length ECG and corresponding IHRs
with markings ‘A’
2.3 Feature Extraction by Wavelet Analysis
Wavelet is suitable for the analyses of non-stationary signals.
Because there is no prerequisite regarding the stability of the
frequency content along the signal analyzed. For a given signal
x(t), wavelet decomposition is given as follows:
(1)
Here cN,k represents approximation coefficients at level N,
while dj,k (j=1,….., N) represents detail coefficients or wavelet
coefficients at level j. ψ(t) is the wavelet function, while ϕ(t) is
a companion function, named scaling function [16].
Decomposed signals include the detail and approximation
components. IHR signal has been decomposed into 8-levels of
signals (a1 to a8, and d1 to d8) using Daubechies order 3 (db3)
wavelet transformation. After splitting we have obtained the
variances of 6-minutes length of detail components for all 8-
levels, over the 35 recordings of the first data set. The mean of
the variances have been calculated for each detail components.
Table 1 includes the calculated mean variances for all subjects
of first data set (a01-a20, b01-b05, c01-c10).
Table1. The mean variances of 8-levels detail components
and average variances for the subject groups (a, b, c) of
first data set
mean variance
sub.
d1
d2
d3
d4
d5
d6
d7
d8
a01
0,13
2,48
3,71
6,94
13,96
15,98
10,49
3,91
a02
0,12
0,42
0,75
2,47
6,16
6,90
5,84
4,63
a03
0,12
1,08
2,00
3,07
8,21
14,82
3,85
2,60
a04
0,10
0,61
0,68
1,92
7,20
14,11
2,39
1,11
a05
0,08
0,69
1,31
1,65
3,79
6,17
5,62
2,27
a06
0,08
0,85
1,64
1,76
2,22
3,53
3,43
2,44
a07
0,29
2,55
5,50
8,73
13,20
10,39
8,74
7,97
a08
0,24
0,65
0,98
2,97
6,68
8,50
3,88
2,08
a09
0,05
0,34
0,20
0,70
1,68
2,38
2,82
1,80
a10
0,08
0,51
1,82
1,86
2,51
4,55
3,93
2,75
a11
0,22
1,19
0,88
1,44
1,94
1,65
1,43
1,65
a12
0,07
0,60
1,02
2,48
7,60
11,10
2,88
1,55
a13
0,21
0,69
1,18
3,62
7,73
11,10
4,31
2,76
a14
0,09
2,26
3,47
4,87
8,83
9,42
7,66
4,59
a15
0,07
0,39
0,78
2,21
8,33
11,15
5,74
3,31
a16
0,22
1,40
2,60
4,70
9,10
9,11
5,51
4,47
a17
0,28
1,84
4,42
4,25
6,50
6,03
3,07
1,67
a18
0,04
0,26
0,18
0,58
1,46
1,68
1,62
0,72
a19
0,10
0,27
0,50
1,18
3,11
5,11
1,44
0,85
a20
0,14
0,72
1,23
1,48
3,24
3,86
3,09
1,01
avg.
0,14
0,99
1,74
2,94
6,17
7,88
4,39
2,71
b01
0,24
1,47
2,61
3,45
4,76
5,89
5,26
4,69
b02
0,05
0,23
0,45
1,45
4,07
4,95
1,99
1,47
b03
0,05
0,24
0,41
1,23
3,87
4,52
1,78
1,16
b04
0,12
1,58
2,55
4,50
4,15
4,22
3,84
2,92
b05
0,08
0,96
3,24
3,24
3,11
4,50
5,08
4,63
avg.
0,11
0,89
1,85
2,77
3,99
4,82
3,59
2,97
c01
0,12
1,61
4,06
4,38
2,95
3,02
4,31
2,00
c02
0,21
0,75
0,73
0,97
1,34
2,32
3,21
2,16
c03
0,09
2,57
5,90
6,09
4,10
4,57
4,75
4,27
c04
0,02
0,62
1,73
1,76
1,84
2,09
2,46
2,78
c05
0,09
1,07
2,88
2,40
2,00
2,23
2,55
1,97
c06
0,09
1,05
2,91
2,39
2,05
2,18
3,04
1,63
c07
0,17
0,77
2,20
3,65
3,25
3,31
3,73
2,64
c08
0,07
1,09
2,40
5,10
4,53
4,01
5,08
4,00
c09
0,14
0,51
0,81
1,32
1,48
2,23
3,13
2,14
c10
0,06
0,93
2,43
2,12
2,60
3,85
3,15
3,46
avg.
0,11
1,10
2,61
3,02
2,61
2,98
3,54
2,70
Average variances of detail components are given at the end of
each group for apnea (a), border (b) and control (c) subjects in
Table 1. These are also plotted in Figure 3. It is clear from the
Figure 3 that the variances of the 5th, 6th and 7th detail
components can be used as distinguishing features disclosing
the minute-based real time sleep apneas.
2.4 Classification
It has been used a tree-layer NARX type ANN model as the
classifier. It has an input layer with 6 neurons, a hidden layer
with 3 neurons, and an output layer with one neuron. Number
of inputs and output are 3 and 1, respectively.
The input layer (or first hidden layer) collects the weighted
values of the actual and previous inputs, and weighted values of
the first and second previous output. The transfer functions are
chosen as tan-sigmoid function for all the nodes. Figure 4
shows the MATLAB configuration of the NARX classifier [17].
Figure 3. Average variances of detail components for the
subject groups
Figure 4. MATLAB configuration of NARX type ANN
classifier
For the training process it is used the Levenberg-Marquardt
error backpropagation training algorithm (trainlm) with
adaptive learning function (leangdm). Training time is reduced
by using the adaptive learning function, which attempted to
keep the learning step size as large as possible, while keeping
the learning stable. Data division for the training process is
carried out automatically by a random process. Mean square
error (MSE) algorithm is selected as the performance function,
so that training automatically stops when generalization stops
improving, as indicated by an increase in the MSE of the
validation samples. In the output stage, the aim is to assign the
input patterns to one of the two classes: apneic (‘A’ or ‘1’) and
non-apneic (‘N’ or ‘0’).
Minute-based feature vectors derived from the learning and test
data sets have been used for training process. However, for the
testing process, both the learning and test data sets have been
used for evaluation of the trained NARX classifier.
3. RESULTS
Feature vectors were extracted from the time series of IHRs
through the minute-based epochs of the learning and test data
sets. Totally 16810 feature vectors have been obtained from
annotations of the learning data set. This was 17038 for test
data set. The NARX type ANN has been trained by using the
learning data set with its corresponding outputs which are
annotated originally. Border subjects have been excluded for
the training process. Trained network has been used to classify
the two data sets. The classification results due to the obtained
minute-based correct epoch numbers related to learning and
test data sets are given in Table 2. The total numbers of
correctly classified epochs are 14007 and 14070, respectively
for learning and test data sets. Subject-based evaluations have
been carried out by using the AHI implementation of the
obtained results. Subject-based evaluation results are given in
Table 3.
Due to the results given in Table 3, the number of correctly
classified subjects are 19 for apneic and 10 for non-apneic
classes, while they are 20 and 10 due to the annotations.
Therefore, resulting accuracy depending on the subject-based
classification is %96.66 for learning set and %100 for test set.
Table 2. Minute-based classification results for learning and test data sets
Data set
Number of annotated epochs
Total number of epochs
Accuracy
apneic
non-apneic
apneic
non-apneic
correctly
classified
annotated
learning
4679
9328
5703
11107
14007
16810
%83,33
test
4787
9283
6044
10994
14070
17038
%82,58
Table 3. Subject-based classification results for learning and test data sets
Data set
Number of correctly classified
subjects
Number of annotated subjects
Total number of subjects
Accuracy
apneic
non-apneic
apneic
non-apneic
correctly
classified
annotated
learning
19
10
20
10
29
30
%96,66
test
20
10
20
10
30
30
%100
4. DISCUSSION AND CONCLUSIONS
In this study, the time series of IHRs derived from overnight
sleep ECGs have been analyzed. Homogenous time series of
IHRs have been produced by a process of 2 Hz re-sampling
following the FFT-interpolation. Wavelet decompositions have
been implemented to the segments of 6-minutes length IHR
signals in which the 4th minute has been accepted as deciding
minute for SDB. Results obtained from analysis of the first set
of the 35 ECG recordings showed that variances of the 5th, 6th
and 7th detail components of IHR time series can be used as
distinguishing features disclosing the minute-based real time
sleep apneas. Second set of the 35 ECG recordings is used for
testing this result. However, 5 recordings with borderline apnea
were excluded for learning and evaluation data sets. A NARX
type ANN classifier is configured and trained, by using the
feature vectors obtained from the learning data set. Evaluations
depending on assessment of the whole length of overnight sleep
ECGs showed that implementation of the NARX classification
following the feature extraction with wavelet decompositions
has success level greater then %96.6 to decide on whether a
subject is apneic or non-apneic. The same approach has %83.4
and %82.6 success level, respectively, referring to the minute-
based deciding on the learning and test data sets.
As a result of this study we can conclude that the minute-based
implementation of NARX classifier following the wavelet
decomposition of a IHR time series extracted from single-lead
ECG recording can be sufficiently used to decide the minute-
based real time occurrence of SDBs.
5. REFERENCES
[1] Somers V.K., White, D.P., Amin, R. , 2008, Sleep apnea
and cardiovascular disease: an American Heart
Association/American College of Cardiology Foundation
scientific statement from the American Heart Association
Council for High Blood Pressure Research Professional
Education Committee, Council on Clinical Cardiology,
Stroke Council, and Council on Cardiovascular Nursing.
In collaboration with the National Heart, Lung, and Blood
Institute National Center on Sleep Disorders Research
(National Institutes of Health). American College of
Cardiology Foundation Circulation, pp.118-1080.
[2] Epstein, L.J., Kristo, D., Strollo, P.J. , 2009, Clinical
guideline for the evaluation, management and long-term
care of obstructive sleep apnea in adults. J Clin Sleep
Med., pp.5-263.
[3] www.wikipedia.org , visited at the date 01.07.2011
[4] Caples, S.M, Somers, V.K, Rosen, C.L. , 2007, The
scoring of cardiac events during sleep. J Clin Sleep Med
,pp.3-147.
[5] Guilleminault, C., Connolly, S., Winkle, R., Melvin, K.,
Tilkian, A. , 1999, Cyclical variation of the heart rate in
sleep apnoea syndrome. Mechanisms, and usefulness of
24 h electrocardiography as a screening technique. Lancet,
pp.1-126.
[6] Roche, F., Gaspoz, J.M., Court-Fortune, I. ,1999,
Screening of obstructive sleep apnea syndrome by heart
rate variability analysis. Circulationpp.100-1411.
[7] Penzel, T., Amend, G., Meinzer, K., Peter, J.H. ,1990,
VonWichert P. ,Mesam. A heart rate and snoring recorder
for detection of obstructive sleep apnea. Sleep pp.13-175.
[8] Hilton, M.F., Bates, R.A., Godfrey, K.R., Chappell, M.J.,
Cayton, R.M. , 1999, Evaluation of frequency and time-
frequency spectral analysis of heart rrate variability as a
diagnostic marker of the sleep apnoea syndrome. Medical
and Biological Engineering and Computing 37 pp.760
769.
[9] Chazal, P., Heneghan, C., Sheridan, E., Reilly, R., Nolan,
P. and O’Malley, M. , 2003, Automated Processing of the
Single-Lead Electrocardiogram for the Detection of
Obstructive Sleep Apnea. IEEE Transactions on
Biomedical Engineering, Vol.50, No.6, pp. 686-696
University College Dublin, Ireland.
[10] Khandoker, A. H., Karmakar, C.K., Palaniswami, M.,
2009, Automated recognition of patients with obstructive
sleep apnoea using wavelet-based features of
electrocardiogram recordings . Computers in Biology and
Medicine 39 pp. 88 96.
[11] Babaeizadeh, S., White, D.P., Pittman, S. D., Zhou, H.
,2010, Automatic detection and quantification of sleep
apnea using heart rate variability. Journal of
Electrocardiology 43 pp.535541.
[12] Lomb, N.R. ,1976, Least-squares frequency analysis of
unequally spaced data. Astrophysics and Space Science
pp.39-447.
[13] www.physionet.org , visited at the date 01.07.2011
[14] Ruehland, W.R., Rochford, P.D., O'Donoghue, F.J.,
Pierce, R.J., Singh, P., Thornton, A.T. ,2009, The new
AASM criteria for scoring hypopneas: impact on the apnea
hypopnea index. PubMed Central Journals, Sleep 32 (2)
pp. 150157.
[15] http://www.physionet.org/physiotools/wfdb/app/ihr.c ,
visited at the date 01.07. 2011
[16] Ebrahimi, F., ,Mikaeili, M., Estrada, E., Nazeran, H.
,2008, Automatic sleep stage classification based on EEG
signals by using neural networks and wavelet packet
coefficients. 30th Annual International IEEE Conference,
Vancouver, British Columbia, Canada, pp.1151-1154.
[17] MATLAB version 7.12.0.635 (2011a).
... At the same time, HCI also has devoted significant efforts in mapping personal informatics into sleep research. Table 1 summarizes recent sleep studies, indicating that various aspects of sleep are being supported, from introducing novel approach to monitor sleep [3] to supporting sleep-related problems such as apnea detection [23]. However, apart from SleepTight [24] that is a low burden, self-monitoring application for capturing sleep and limited contributing factors, little is studied on how to make sense of sleep data through contextual information. ...
... • Correlation analysis: Spearman correlation coefficients were calculated for each pair of variables with missing values pairwisely removed. We used Spearman correlation rather than Pearson correlation mainly for the following two reasons: (1) The relationships between sleep and potential contributing factors are not [3]; Toss 'N' Turn [4]; iSleep [11]; Poster [12] Measuring sleep stage and sleep duration Best Effort Sleep Model [13]; SleepHunter [14] Recognizing sleep patterns Sleep pattern analysis system [15,16] Understanding sleep environment Lullaby [8]; combining wearable environmental sensing [17] Improving sleep quality and promoting sleep health ShutEye [18]; the Wearable Lullaby [19]; EZwakeup [20]; opportunities for computing technologies to support healthy sleep behavior [7] Reliving sleep disorders SNORES [21]; ZZZoo Pollows [22]; sleep apnea detection [23] Exploring relationships to contributing factors SleepTight [24] Others Sleep quality prediction: SleepMiner [25]; social alarm clock: Somnometer [26]; nap supporting system [27]; Sleepwalk supporting system: Sleepstellar [28] Pers Ubiquit Comput (2016) 20:985-1000 987 necessarily linear, e.g., previous studies suggest that the relationship between sleep and exercise is nonlinear [35]; (2) variables in our study were ordinal instead of being continuous. Therefore, only Spearman correlation is suitable for the analysis. ...
Article
Full-text available
Getting enough quality sleep is a key part of a healthy lifestyle. Many people are tracking their sleep through mobile and wearable technology, together with contextual information that may influence sleep quality, like exercise, diet, and stress. However, there is limited support to help people make sense of this wealth of data, i.e., to explore the relationship between sleep data and contextual data. We strive to bridge this gap between sleep-tracking and sense-making through the design of SleepExplorer, a web-based tool that helps individuals understand sleep quality through multi-dimensional sleep structure and explore correlations between sleep data and contextual information. Based on a two-week field study with 12 participants, this paper offers a rich understanding on how technology can support sense-making on personal sleep data: SleepExplorer organizes a flux of sleep data into sleep structure, guides sleep-tracking activities, highlights connections between sleep and contributing factors, and supports individuals in taking actions. We discuss challenges and opportunities to inform the work of researchers and designers creating data-driven health and well-being applications.
... This is because, the HR of sleep apnea patients shows cyclic increases and decreases followed by the resumption of breathing. Another similar approach [Delibasoglu et al. 2011] prepares the time series of instant HRs (IHR) derived from overnight sleep ECGs which are then analyzed using wavelet decomposition. This approach tries to find a reliable and practical technique to detect sleep apnea by measuring the real time occurrences of sleep-disordered-breathing (SDB). ...
Article
Full-text available
Pervasive healthcare is an emerging technology that aims to provide round-the-clock monitoring of several vital signs of patients using various health sensors, specialized communication protocols, and intelligent context-aware applications. Pervasive healthcare applications proactively contact the caregiver provided any abnormality arises in the health condition of a monitored patient. It has been a boon to the patients suffering from different diseases and requiring continuous monitoring and care, such as, disabled individuals, elderly and weak persons living alone, children of different ages, and adults who are susceptible to near-fatal falls or sudden increases in blood pressure, heart rates, stress level, etc. Existing surveys on pervasive healthcare cover generic techniques or a particular application, like fall detection. In this paper, we carry out a comprehensive coverage of several common disorders addressed by pervasive healthcare in recent years. We roughly classify different diseases by age groups of patients and then discuss various hardware and software tools and techniques to detect or treat them. We have also included detailed tabular classification of a large selection of significant research articles in pervasive healthcare.
Article
Background and objective: Sleep apnea syndrome (SAS), which can significantly decrease the quality of life is associated with a major risk factor of health implications such as increased cardiovascular disease, sudden death, depression, irritability, hypertension, and learning difficulties. Thus, it is relevant and timely to present a systematic review describing significant applications in the framework of computational intelligence-based SAS, including its performance, beneficial and challenging effects, and modeling for the decision-making on multiple scenarios. Methods: This study aims to systematically review the literature on systems for the detection and/or prediction of apnea events using a classification model. Results: Forty-five included studies revealed a combination of classification techniques for the diagnosis of apnea, such as threshold-based (14.75%) and machine learning (ML) models (85.25%). In addition, the ML models, were clustered in a mind map, include neural networks (44.26%), regression (4.91%), instance-based (11.47%), Bayesian algorithms (1.63%), reinforcement learning (4.91%), dimensionality reduction (8.19%), ensemble learning (6.55%), and decision trees (3.27%). Conclusions: A classification model should provide an auto-adaptive and no external-human action dependency. In addition, the accuracy of the classification models is related with the effective features selection. New high-quality studies based on randomized controlled trials and validation of models using a large and multiple sample of data are recommended.
Article
Full-text available
Obstructive sleep apnea (OSA) is a common chronic disorder that often requires lifelong care. Available practice parameters provide evidence-based recommendations for addressing aspects of care. This guideline is designed to assist primary care providers as well as sleep medicine specialists, surgeons, and dentists who care for patients with OSA by providing a comprehensive strategy for the evaluation, management and long-term care of adult patients with OSA. The Adult OSA Task Force of the American Academy of Sleep Medicine (AASM) was assembled to produce a clinical guideline from a review of existing practice parameters and available literature. All existing evidence-based AASM practice parameters relevant to the evaluation and management of OSA in adults were incorporated into this guideline. For areas not covered by the practice parameters, the task force performed a literature review and made consensus recommendations using a modified nominal group technique. Questions regarding OSA should be incorporated into routine health evaluations. Suspicion of OSA should trigger a comprehensive sleep evaluation. The diagnostic strategy includes a sleep-oriented history and physical examination, objective testing, and education of the patient. The presence or absence and severity of OSA must be determined before initiating treatment in order to identify those patients at risk of developing the complications of sleep apnea, guide selection of appropriate treatment, and to provide a baseline to establish the effectiveness of subsequent treatment. Once the diagnosis is established, the patient should be included in deciding an appropriate treatment strategy that may include positive airway pressure devices, oral appliances, behavioral treatments, surgery, and/or adjunctive treatments. OSA should be approached as a chronic disease requiring long-term, multidisciplinary management. For each treatment option, appropriate outcome measures and long-term follow-up are described.
Article
Full-text available
To compare apnea-hypopnea indices (AHIs) derived using 3 standard hypopnea definitions published by the American Academy of Sleep Medicine (AASM); and to examine the impact of hypopnea definition differences on the measured prevalence of obstructive sleep apnea (OSA). Retrospective review of previously scored in-laboratory polysomnography (PSG). Two tertiary-hospital clinical sleep laboratories. 328 consecutive patients investigated for OSA during a 3-month period. N/A. AHIs were originally calculated using previous AASM hypopnea scoring criteria (AHI(Chicago)), requiring either >50% airflow reduction or a lesser airflow reduction with associated >3% oxygen desaturation or arousal. AHIs using the "recommended" (AHI(Rec)) and the "alternative" (AHI(Alt)) hypopnea definitions of the AASM Manual for Scoring of Sleep and Associated Events were then derived in separate passes of the previously scored data. In this process, hypopneas that did not satisfy the stricter hypopnea definition criteria were removed. For AHI(Rec), hypopneas were required to have > or =30% airflow reduction and > or =4% desaturation; and for AHI(Alt), hypopneas were required to have > or =50% airflow reduction and > or =3% desaturation or arousal. The median AHI(Rec) was approximately 30% of the median AHI(Chicago), whereas the median AHI(Alt), was approximately 60% of the AHI(Chicago), with large, AHI-dependent, patient-specific differences observed. Equivalent cut-points for AHI(Rec) and AHI(Alt), compared to AHI(Chicago) cut-points of 5, 15, and 30/h were established with receiver operator curves (ROC). These cut-points were also approximately 30% of AHI(Chicago) using AHI(Rec) and 60% of AHI(Chicago) using AHI(Alt). Failure to adjust cut-points for the new criteria would result in approximately 40% of patients previously classifled as positive for OSA using AHI(Chicago) being negative using AHI(Rec) and 25% being negative using AHI(Alt). This study demonstrates that using different published standard hypopnea definitions leads to marked differences in AHI. These results provide insight to clinicians and researchers in interpreting results obtained using different published standard hypopnea definitions, and they suggest that consideration should be given to revising the current scoring recommendations to include a single standardized hypopnea definition.
Article
Full-text available
Currently in the world there is an alarming number of people who suffer from sleep disorders. A number of biomedical signals, such as EEG, EMG, ECG and EOG are used in sleep labs among others for diagnosis and treatment of sleep related disorders. The usual method for sleep stage classification is visual inspection by a sleep specialist. This is a very time consuming and laborious exercise. Automatic sleep stage classification can facilitate this process. The definition of sleep stages and the sleep literature show that EEG signals are similar in Stage 1 of non-rapid eye movement (NREM) sleep and rapid eye movement (REM) sleep. Therefore, in this work an attempt was made to classify four sleep stages consisting of Awake, Stage 1 + REM, Stage 2 and Slow Wave Stage based on the EEG signal alone. Wavelet packet coefficients and artificial neural networks were deployed for this purpose. Seven all night recordings from Physionet database were used in the study. The results demonstrated that these four sleep stages could be automatically discriminated from each other with a specificity of 94.4 +/- 4.5%, a of sensitivity 84.2+3.9% and an accuracy of 93.0 +/- 4.0%.
Article
Full-text available
The high prevalence of sleep-related breathing disorders demands the development of ambulatory recording devices that can handle data with a high degree of selectivity and are easy to use and to interpret. A digital device based on the recording of heart rate and breathing sounds was developed. Patients with sleep-related breathing disorders can be preselected before they undergo sleep laboratory investigations. Treatment control can be achieved ambulatory, having an initial recording.
Article
The statistical properties of least-squares frequency analysis of unequally spaced data are examined. It is shown that, in the least-squares spectrum of gaussian noise, the reduction in the sum of squares at a particular frequency is aX 2 2 variable. The reductions at different frequencies are not independent, as there is a correlation between the height of the spectrum at any two frequencies,f 1 andf 2, which is equal to the mean height of the spectrum due to a sinusoidal signal of frequencyf 1, at the frequencyf 2. These correlations reduce the distortion in the spectrum of a signal affected by noise. Some numerical illustrations of the properties of least-squares frequency spectra are also given.
Article
Detection of sleep apnea using electrocardiographic (ECG) parameters is noninvasive and inexpensive. Our approach is based on the hypothesis that the patient's sleep-wake cycle during episodes of sleep apnea modulates heart rate (HR) oscillations. These HR oscillations appear as low-frequency fluctuations of instantaneous HR (IHR) and can be detected using HR variability analysis in the frequency domain. The purpose of this study was to evaluate the efficacy of our ECG-based algorithm for sleep apnea detection and quantification. The algorithm first detects normal QRS complexes and R-R intervals used to derive IHR and to estimate its spectral power in several frequency ranges. A quadratic classifier, trained on the learning set, uses 2 parameters to classify the 1-minute epoch in the middle of each 6-minute window as either apneic or normal. The windows are advanced by 1-minute steps, and the classification process is repeated. As a measure of quantification, the algorithm correctly classified 84.7% of all the 1-minute epochs in the evaluation database; and as a measure of the accuracy of apnea classification, the algorithm correctly classified all 30 test recordings in the evaluation database either as apneic or normal. Our sleep apnea detection algorithm based on analysis of a single-lead ECG provides accurate apnea detection and quantification. Because of its noninvasive and low-cost nature, this algorithm has the potential for numerous applications in sleep medicine.
Article
Patients with obstructive sleep apnoea syndrome (OSAS) are at increased risk of developing hypertension and other cardiovascular diseases. This paper explores the use of support vector machines (SVMs) for automated recognition of patients with OSAS types (+/-) using features extracted from nocturnal ECG recordings, and compares its performance with other classifiers. Features extracted from wavelet decomposition of heart rate variability (HRV) and ECG-derived respiration (EDR) signals of whole records (30 learning sets from physionet) are presented as inputs to train the SVM classifier to recognize OSAS+/- subjects. The optimal SVM parameter set is then determined by using a leave-one-out procedure. Independent test results have shown that an SVM using a subset of a selected combination of HRV and EDR features correctly recognized 30/30 of physionet test sets. In comparison, classification performance of K-nearest neighbour, probabilistic neural network, and linear discriminant classifiers on test data was lower. These results, therefore, demonstrate considerable potential in applying SVM in ECG-based screening and can aid sleep specialists in the initial assessment of patients with suspected OSAS.
Article
In the context of the current epidemics of obesity, hypertension, atrial fibrillation, and heart failure, the prevalence and consequences of both OSA and CSA are likely to increase. Numerous hurdles face the cardiovascular community in the development of consensus regarding best practice. One objective of this document is to help develop the platform from which, in collaboration with specialists in sleep medicine and related disciplines, such consensus may emerge. Challenges to be met include 1) the general absence of any structured sleep medicine education in cardiovascular training programs; 2) the logistic and economic obstacles to diagnosing and treating sleep apnea; 3) widespread comorbidities, including obesity, that obscure clearer understanding of any independent cardiovascular consequence of sleep apnea per se; 4) treatment options that are varied, predominantly device based, and not easily tolerated, particularly in patients with CSA; and 5) the absence of robust longitudinal interventional studies addressing whether treating sleep apnea confers any tangible benefit in terms of cardiovascular events. We also remain uncertain about what in the apneic patient facilitates cardiovascular disease and its progression. There is no clear evidence as to the best measurement for quantifying the severity of sleep apnea. Is it the frequency of apneas, the severity of desaturation, the overall burden of nocturnal hypoxemia, the arousals, sleep deprivation, or a combination of these and perhaps other characteristics that are key in promoting heart and blood vessel damage? In addition, we do not know the threshold of severity of apnea that we should treat and whether the thresholds for therapy are different in people with cardiovascular disease compared with those who are otherwise healthy. Recognition that a multidisciplinary strategy is critical to appropriate evaluation of sleep-related disease (416) and heightened interaction between specialists in cardiovascular and sleep medicine hold promise for future improved and integrated patient care. In the meantime, the relative lack of definitive outcomes data to guide clinical practice necessitates a highly individualized approach to evaluation and management of those patients with comorbid cardiovascular disease and sleep apnea. There will likely be continued rapid evolution in interpretation, dissemination, and implementation of mechanistic, prognostic, and therapeutic data. Evidence of activation of cardiovascular disease mechanisms by sleep apnea and evidence of sleep apnea as an independent etiologic factor in cardiovascular disease should serve as catalysts for definitive intervention studies. Important next steps in understanding and treating SDB as a means of preventing and mitigating cardiac and vascular disease should include further characterizing fundamental disease mechanisms, identifying economical and better-tolerated therapeutic options, confirming whether therapy attenuates cardiovascular morbidity and mortality, and defining appropriate therapeutic targets and cost-effective benefits of such therapy. © 2008 American Heart Association, Inc, and the American College of Cardiology Foundation.
Article
Sleep-related breathing disorders are highly prevalent in patients with established cardiovascular disease. Obstructive sleep apnea (OSA) affects an estimated 15 million adult Americans and is present in a large proportion of patients with hypertension and in those with other cardiovascular disorders, including coronary artery disease, stroke, and atrial fibrillation.1–14 In contrast, central sleep apnea (CSA) occurs mainly in patients with heart failure.15–19 The purpose of this Scientific Statement is to describe the types and prevalence of sleep apnea and its relevance to individuals who either are at risk for or already have established cardiovascular disease. Special emphasis is given to recognizing the patient with cardiovascular disease who has coexisting sleep apnea, to understanding the mechanisms by which sleep apnea may contribute to the progression of the cardiovascular condition, and to identifying strategies for treatment. This document is not intended as a systematic review but rather seeks to highlight concepts and evidence important to understanding the interactions between sleep apnea and cardiovascular disease, with particular attention to more recent advances in patient-oriented research. Implicit in this first American Heart Association/American College of Cardiology Scientific Statement on Sleep Apnea and Cardiovascular Disease is the recognition that, although holding great promise, this general area is in need of a substantially expanded knowledge base. Specific questions include whether sleep apnea is important in initiating the development of cardiac and vascular disease, whether sleep apnea in patients with established cardiovascular disease accelerates disease progression, and whether treatment of sleep apnea results in clinical improvement, fewer cardiovascular events, and reduced mortality. Experimental approaches directed at addressing these issues are limited by several considerations. First, the close association between obesity and OSA often obscures differentiation between the effects of obesity, the effects of OSA, and the effects of synergies between these conditions. Second, multiple comorbidities, …
Article
400 sleep-apnoeic patients with an intact autonomic nervous system underwent twenty-four-hour electrocardiography with simultaneous polygraphy recording at night. At onset of sleep apnoea all showed progressive bradycardia, followed by abrupt tachycardia on resumption of breathing. The electrocardiographic pattern, which is identifiable by computer analysis, can be used as a screening tool for sleep apnoea; it was not seen in controls without sleep apnoea syndrome. A subgroup of patients with sleep apnoea and impairment of autonomic nervous control of the heart (heart transplants, autonomic neuropathy, Shy-Drager syndrome) did not show the cyclical heart rate pattern. In obstructive sleep apnoeic patients with normal autonomic nervous function, atropine sulphate blocked the pattern by eliminating the bradycardia component, while 100% oxygen, even at high rates of administration, caused only moderate blunting of the heart rate variation. The electrocardiographic changes observed in sleep apnoea syndrome are therefore mediated by the autonomic nervous system; hypoxia is not the only factor involved.