Skip to main content

Sleep postures monitoring based on capacitively coupled electrodes and deep recurrent neural networks

Abstract

Background

Capacitively coupled electrode (CC electrode), as a non-contact and unobtrusive technology for measuring physiological signals, has been widely applied in sleep monitoring scenarios. The most common implementation is capacitive electrocardiogram (cECG) that could provide useful clinical information for assessing cardiac function and detecting cardiovascular diseases. In the current study, we sought to explore another potential application of cECG in sleep monitoring, i.e., sleep postures recognition.

Methods

Two sets of experiments, the short-term experiment, and the overnight experiment, were conducted. The cECG signals were measured by a smart mattress based on flexible CC electrodes and sleep postures were recorded simultaneously. Then, a classifier model based on a deep recurrent neural network (RNN) was proposed to distinguish sleep postures (supine, left lateral and right lateral). To verify the reliability of the proposed model, leave-one-subject-out cross-validation was introduced.

Results

In the short-term experiment, the overall accuracy of 96.2% was achieved based on 30-s segment, while the overall accuracy was 88.8% using one heart beat segment. For the unconstrained overnight experiment, the accuracy of 91.0% was achieved based on 30-s segment, while the accuracy was 81.4% using one heart beat segment.

Conclusions

The results suggest that cECG could render valuable information about sleep postures detection and potentially be helpful for sleep disorder diagnosis.

Introduction

Capacitively coupled electrode (CC electrode) has been widely studied in the last decade because of its user-friendly characteristic [1]. It senses the electrical potential on the body surface through coupling capacitance between the skin and electrodes, which allows measuring physiological signals over the clothes without subject awareness. Since the skin–electrode impedance is very large in this non-contact setting, a voltage buffer is usually designed at the signal input end of the hardware to increase its input impedance and enhance the anti-interference ability and load capacity of signal acquisition [2]. Compared with the conventional wet electrode, CC electrode has many advantages. For example, it works without the need of skin preparation and the risk of skin irritation [3], and can be used repeatedly [4]. Therefore, CC electrode has been embedded into diverse objects including toilet seats [5], bathtubs [6], driver’s seats [7], chairs [2], bedsheets, and mattresses [8]. It has found a wide range of applications in many scenarios, such as sleep [9], car driving [10] and exercise monitoring [11], as well as during office work and other daily life [12]. Capacitive electrocardiogram (cECG) measurement is the most common implementation of CC electrodes, from which heart-related parameters including RR interval, heart rate (HR), and heart rate variability (HRV) are often calculated [13]. Based on cECG and heart-related parameters, further researches are carried out, including monitoring of arrhythmias such as premature ventricular contraction [14], diagnosis of cardiovascular disease (e.g., acute myocardial infarction [15]), fatigue detection [16], and man–machine emotional communication [17]. It is worth noting that the lead modes of cECG measurement in sleep monitoring are not standard leads, since CC electrodes are usually fixed in the mattress. It senses ECG signal from different positions of the body surface when the subjects lie on the bed in different sleep postures. Therefore, cECG signals obtained from mattress may contain information that reflects the current sleep posture of the subjects and could be used for sleep posture recognition.

Sleep posture recognition, as an effective method for sleep quality assessment, has been extensively studied. It has been proved to be helpful in pressure ulcer prevention [18] as well as diseases diagnoses and treatment [19, 20]. The most intuitive and visual way to recognize sleep posture is camera-based approaches [21], including motion capture, depth scans, and infrared imaging. However, the main problem with camera-based approaches is the invasion of user privacy. Another common way of sleep posture recognition is based on wearable devices [22], such as accelerometers, magnetometers, and gyroscopes. These sensors can monitor sleep posture accurately without privacy concerns and are even used in polysomnography (PSG) which is the golden standard of sleep monitoring. However, all of them need to be attached to the body, leading to discomfort and inconvenience during sleep. Most recently, sleep posture recognition using a pressure sensor array on the bed, also known as the pressure map [23], has aroused extensive attention. It identifies the sleep postures by the pressure distribution map of the subject lying on bed and the state-of-the-art accuracy has already exceeded 97% under the high-density sensor array [24, 25]. However, a large number of sensors lead to a huge increase in the complexity of the system and the burden of signal processing.

The only study we found on sleep posture recognition based on cECG was proposed by Lee et al. [26]. Capacitive ECG signals from 13 subjects were collected using 12 CC electrodes and a conductive textile sheet. Then, based on the morphological characteristics of the QRS complex and three machine learning algorithms, the highest accuracy of the sleep posture recognition was 98.4%. However, the CC electrodes they used were made of a printed circuit board, which may cause discomfort and seriously disturb natural sleep. In addition, too many electrodes may lead to a jumble of wires on the bed. Finally, the channel selection caused by small size of CC electrode increases the complexity and difficulty of signal preprocessing. Therefore, the performance of sleep monitoring may decrease if the channel selection is performed on-line in real-time monitoring.

In this study, a smart mattress embedded with only three flexible electrodes was presented. And a classifier model based on deep recurrent neural network (RNN) was proposed to distinguish sleep postures. We designed two sets of experiments, the short-term experiment and the overnight experiment to evaluate the performance of the system. To the best of our knowledge, it is currently the first work that recognizes sleep posture using ECG signal measured by flexible CC electrode. The main contributions of this work can be summarized as follows:

  • 1) A smart mattress based on flexible CC electrode was designed to monitor sleep posture. The system only contains three electrodes embedded in the mattress, reducing the complexity of the sleep posture monitoring system and facilitating its implementation. It can measure physiological signals comfortably, unobtrusively and without privacy concerns.

  • 2) The bidirectional Long Short-Term Memory (biLSTM) network, was used to classify sleep posture. The proposed network achieved considerably high accuracy without any manual feature extraction.

  • 3) The overnight experiment was carried out to evaluate the performance of the proposed system in a real sleep scenario. Results suggested that the mattress could be potentially promising in long-term sleep monitoring.

Results

Short-term experiment results

Leave-one-subject-out cross-validation (LOSOCV) was introduced to verify the reliability of the classifier model. That is, testing set contained only one subject’s data in each validation and the data of each subject was used once for testing. So, the process was repeated 15 times in the whole data set. The classifier performance was calculated by three indices including sensitivity (\(\mathrm{SEN}\)), accuracy (\(\mathrm{ACC}\)) and Cohen’s kappa coefficient (\(\mathrm{Kappa}\)), as defined below were used to evaluate the model performance:

$${\text{SEN}} = \frac{{{\text{TP}}}}{{{\text{TP}} + {\text{FN}}}} \times 100\% ,$$
(1)
$${\text{ACC}} = \frac{{{\text{TP}} + {\text{TN}}}}{{{\text{TP}} + {\text{TN}} + {\text{FP}} + {\text{FN}}}} \times 100\% ,$$
(2)
$${\text{Kappa}} = \frac{{p_{o} - p_{e} }}{{1 - p_{e} }},$$
(3)

wherein \(\mathrm{TP}\), \(\mathrm{FP}\), \(\mathrm{TN}\), \(\mathrm{FN}\) represent “true positive”, “false positive”, “true negative” and “false negative”, respectively, while \({p}_{\mathrm{o}}\) and \({p}_{\mathrm{e}}\) stand for the observed and the expected agreement, respectively. The calculation method of kappa value can be found in [27].

The confusion matrix of the short-term sleep posture prediction is shown in Fig. 1. Table 1 summarizes the posture classification performances of each subject and the whole dataset when the data segment length is one heat beat. Although the sensitivity of several cases (such as right lateral of subject 10 and supine of subject 15) was not very high, a relatively good result was obtained on the average sensitivity, especially in left lateral posture with average sensitivity of 97.6%. Besides, an average accuracy of 88.8% was acquired, proving the overall recognition ability of the proposed method for three sleep postures. The average kappa value of 0.831 showed an almost perfect consistency between ground truth and prediction.

Fig. 1
figure 1

Confusion matrices of sleep posture prediction in short-term data where the length of each data segment is one heat beat (a) or 30 s (b)

Table 1 Performances of sleep posture classification using 1 heart beat segment

Table 2 summarizes the posture classification performances using 30-s-length segment. The sensitivities of three sleep postures were 95.3%, 100% and 93.3%, respectively, while the average accuracy and kappa is 96.2% and 0.943.

Table 2 Performance indices of sleep posture classification using 30-s segment

Overnight experiment results

The confusion matrix of the overnight sleep posture prediction is shown in Fig. 2. And the performance indices including sensitivity, accuracy and kappa are shown in Table 3. The sensitivities of three sleep postures using one heart beat segment on were 80.8%, 90.5% and 63.0%, respectively, while the average accuracy and kappa is 81.4% and 0.626. The performance was significantly improved based on 30-s segment, with an accuracy of 91.0% and a kappa of 0.806.

Fig. 2
figure 2

Confusion matrices of sleep posture prediction in overnight data where the length of each data segment is one heat beat (a) or 30 s (b)

Table 3 Performance indices of sleep posture prediction in overnight data

Discussion

Sleep quality assessment has received increasing attention in recent years [28,29,30,31]. As mentioned in Section I, sleep posture plays an important role in sleep monitoring. Previous studies have proven that it has a certain influence on the incidence of diseases such as bedsores, sleep apnea syndrome, and carpal tunnel syndrome. Recently, unobtrusive monitoring has become an important direction in sleep monitoring research [32], which sets stricter requirements on the flexibility of sensors and the convenience of the system. A large number of sensors in a system may cause hardware complexity and wire clutter. This increases the instability of measurement under unconstrained sleep for more than 6 h, and disturbs users’ natural sleep. In this work, a smart mattress based on flexible conductive fabric which has only three CC electrodes was used for sleep posture recognition. It provided an inexpensive solution to facilitating the convenience of operation, increasing the stability of the measurement, and improving comfort of the subjects.

Table 4 presents some representative studies in the sleep posture recognition methods. Since it is a novel method to recognize sleep posture using ECG signal measured by flexible CC electrodes, it is inappropriate to directly compare the classification accuracy between our work and other researches. Pressure-sensing mats with large number of sensors in reference [23, 24, 33] may cause hardware complexity and wire clutter, and data size in reference [34] was too small. As mentioned above, reference [26] is the only similar study we have found. ECG signal was measured using 12 electrodes made of hard materials, which may disturb natural sleep. In reference [35], hard CC electrodes were also used to detect sleeping positions. Unlike reference [26], it was based on changes in capacitance distribution when changing body posture, rather than cECG. In comparison with other works, our work is the only one that can unobtrusively monitor sleep posture with very few sensors. Although the accuracy of our method is not the best of all the studies listed, the gap between them is not large. Moreover, the smart mattress we used can unobtrusively obtain ECG signal throughout the night. The promising results of the overnight experiment showed that the proposed method could be able to monitor sleep posture in real sleep scenarios with considerably high accuracy.

Table 4 The comprehensive comparison between our method and other research

It was worth noting that the classification based on 30-s segment demonstrated superior performance over one heart beat in both short-term experiment and overnight experiment. It suggested that a relatively longer time-length may help the classifier model to extract more features in comparison with a single heartbeat and conclusions drawn from a longer period (such as 30 s) may be of more clinical value.

There are several limitations in this study. First, only three sleep postures were focused on and the prone posture was not studied. It has an important effect on gas exchange, and is of great significance for daily monitoring and early warning of patients with sleep apnea syndrome and cardiovascular diseases. Although prone posture is relatively rare, it should also be taken into consideration in the follow-up work. Second, the data size of our study, especially in the overnight experiment, was relatively small, and the experiments were implemented in the sleep lab. Further validation with larger samples in a variety of environments, including but not limited to sleep labs, student dormitories, and family bedrooms, is warranted. Third, respiratory signals were not extracted from the mattress signals by baseline extraction, heart rate variability calculation, and R-wave amplitude. In future work, joint analysis of respiration signals and ECG signals will be carried out to improve the performance of sleep posture recognition.

Conclusion

This paper provided a novel method for sleep posture recognition based on capacitive ECG signals. A smart mattress embedded with only three flexible electrodes was introduced first. It can unobtrusively measure two channels of cECG signal through clothes without privacy concerns. Then two sets of experiments (the short-term experiment and the overnight experiment) were designed to evaluate the effectiveness of the proposed system for sleep posture recognition. The overall accuracy of 96.2% was achieved in the short-term experiment was, while the accuracy was 91.0% in the unconstrained overnight experiment. In comparison with existing studies, the proposed system can achieve a considerable classification performance unobtrusively and comfortably. The results suggested that the CC electrode-based smart mattress is potentially promising in sleep posture recognition and sleep quality assessment.

Methods

Capacitive ECG and sleeping positions

ECG is the projection of cardiac electrical activity on the body surface. Since the electrodes are attached to different positions on the body surface, ECG waveforms vary in different leads. Figure 3a shows the projections of electric vector during ventricular depolarization in three standard leads. Similarly, according to reference [32], the CC electrodes fixed on the mattress contact different positions of the body through clothes when subjects sleep with different postures. As shown in Fig. 3b, projections of electric vector changes as the sleep postures change. In this work, data mining techniques were used to discover the underlying differences in different ECG vector projections, so as to distinguish cECG signals into three categories, namely supine, left lateral and right lateral.

Fig. 3
figure 3

ECG vector projection onto the three limb leads (leads I, II and III) (a) and the cECG of three sleep postures (b) [36]. The ring-shaped dotted line represents the ECG vector during ventricular depolarization. Three sleep postures include supine, left lateral and right lateral

System design

A mattress that can monitor ECG signals unobtrusively is proposed. The mattress system consists of four modules, namely CC electrodes, signal acquisition module, data transmission module, and user interface, as shown in Fig. 4a. Three CC electrodes are embedded in the mattress and the signal acquisition module is used to detect and convert the ECG from the analog signal to the digital signal. Then, ECG signals are transmitted from signal acquisition module to microcontroller unit (MCU) through serial peripheral interface (SPI) and finally transmitted to user interface by Wi-Fi. Through the user interface, we can process ECG signals, observe ECG waveforms and record ECG data in real-time.

Fig. 4
figure 4

Smart mattress: a the system frame; b ECG acquisition channel; c the hardware of data acquisition and transmission; d the mattress structure; e the prototype of the smart mattress

The signal acquisition module is composed of buffers designed by an operational amplifier (AD8606, Analog Device Inc., Norwood, MA, USA), a programmable gain amplifier (PGA), and an analog-to-digital converter (ADC), as shown in Fig. 4b. The PGA, the ADC, and the SPI are implemented by an integrated circuit ADS1292 (Texas Instruments, Dallas, Texas, USA), which has two analog signal channels and is very suitable for ECG acquisition at low cost. The data transmission module is composed of the MCU and Wi-Fi module. The hardware prototype of the proposed system is shown in Fig. 4c.

The silver fiber conductive fabric is chosen as the main material of the electrodes due to its flexible and user-friendly characteristics. The electrodes length is 80 cm, which ensures the stability of unconstrained ECG measurement during the whole night even if the subject may move or change sleep postures frequently. Besides, the electrodes are flexible and thin (only about 0.1 cm), and will not disturb the user's sleep. The detailed information about size and arrangement of three electrodes is shown in Fig. 4d and the prototype of the smart mattress is shown in Fig. 4e.

Data collection

We designed two sets of experiments, the short-term experiment and the overnight experiment. Both experiments were conducted in a sleep lab at the Center for Intelligent Medical Electronics, Fudan University. The experiment was a non-clinical study without any harmful procedure and followed the principles of the Declaration of Helsinki strictly. All subjects were required to read experimental instructions and sign informed consent before the experiment.

The short-term experiment

Fifteen healthy subjects (10 males, 5 females) aged between 21 and 35 volunteered to participate in the first experiment. The subjects came to the sleep lab wearing their own cottas or shirts. Prior to formal recording, each subject was asked to lie in supine position on the smart mattress for at least 3 min to allow the stabilization. During the experiment, the subjects lay in three sleep postures (including supine, left lateral and right lateral) according to their own habits. After enough relaxation, they kept each sleep posture for 5–6 min and the experiment operator recorded the cECG signals and sleep posture information simultaneously using the user interface. The sampling frequency of cECG signal was set to 500 Hz. The experimental scene is shown in Fig. 5.

Fig. 5
figure 5

The experimental scene images: a raw signal of channel 1; b filtered signal of channel 1; c raw signal of channel 2; d filtered signal of channel 2

The overnight experiment

Considering the differences between the data measured under simulated sleep and real sleep, an overnight experiment under unconstrained sleep was carried out to evaluate the performance of the proposed system in a real sleep scenario. A new subject was invited to participate. The testing time was based on the subject’s sleep habits, from about 12:00 pm (midnight) to 6:00 am next day. To record the reference sleep posture, a position sensor of a PSG product (Grael, Compumedics, Victoria, Australia) was used. In this experiment, the subject was wearing pajamas and the position sensor of PSG was attached to a chest strap tied to the body. The cECG signals measured by the mattress and sleep postures recorded by PSG overnight are shown in Fig. 6.

Fig. 6
figure 6

Simultaneously recorded body position signal (L: left lateral. S: supine. R: right lateral) and cECG signal in the overnight experiment

Data preprocessing

For the data of the short-term experiment, first, large motion artifacts caused by changing sleep postures were removed, and 5-min continuous ECG was cut out from the data of each sleep posture, so that the 15-min signal corresponding to the three postures were obtained. In each 5-min ECG signal, all data were retained without specifically removing motion artifacts caused by small movement. Thus, the data set of 15 subjects contains 225 min data, including two channels of ECG signals and labels for 3 sleep postures. Further, raw ECG signals were bandpass filtered with high and low cut-off frequency of 0.5 Hz and 40 Hz, respectively. Then R-wave peaks of ECGs were extracted automatically based on multiscale morphological derivative transform [37]. The RR interval time series were formed by the intervals of adjacent R-wave peaks.

For the overnight experiment, the total test time is about 366 min. All motion artifacts with amplitude exceeding 5 mV were searched and cut out. After removal, the length of effective data for algorithm evaluation is 337 min, accounting for 92.1% of the total test time. Further, the obtained ECG signals were processed according to the above short-term experiment, and were then put into the following classifier.

Classifier model

In this study, a recurrent neural network (RNN) model based on bidirectional long short-term memory (biLSTM) was used to classify sleep posture. The idea of using RNN model came from the temporal nature of the sleep posture [38] and ECG signals [39]. The long short-term memory (LSTM) network, a special variant of RNNs, has been widely used in time-sequence modeling task. It can capture the temporal dependencies in both short-term and long-term sequences, and avoid the gradient explosion or disappearance commonly existed in artificial neural networks through three control gates in the neuron [40, 41]. The LSTM network can be computed as follows:

$${g}_{\mathrm{t}}=\sigma \left({x}_{\mathrm{t}}{W}_{\mathrm{xc}}+{h}_{\mathrm{t}-1}{W}_{\mathrm{hc}}+{b}_{\mathrm{c}}\right),$$
(4)
$${i}_{\mathrm{t}}={\sigma }_{\mathrm{i}}\left({x}_{\mathrm{t}}{W}_{\mathrm{xi}}+{h}_{\mathrm{t}-1}{W}_{\mathrm{hi}}+{W}_{\mathrm{ci}}\otimes {c}_{\mathrm{t}-1}+{b}_{\mathrm{i}}\right),$$
(5)
$${f}_{\mathrm{t}}={\sigma }_{\mathrm{f}}\left({x}_{\mathrm{t}}{W}_{\mathrm{xf}}+{h}_{\mathrm{t}-1}{W}_{\mathrm{hf}}+{W}_{\mathrm{cf}}\otimes {c}_{\mathrm{t}-1}+{b}_{\mathrm{f}}\right),$$
(6)
$${c}_{\mathrm{t}}={f}_{\mathrm{t}}\otimes {c}_{\mathrm{t}-1}+{g}_{\mathrm{t}}\otimes {i}_{\mathrm{t}},$$
(7)
$${o}_{\mathrm{t}}={\sigma }_{\mathrm{o}}\left({x}_{\mathrm{t}}{W}_{\mathrm{xo}}+{h}_{\mathrm{t}-1}{W}_{\mathrm{ho}}+{W}_{\mathrm{co}}\otimes {c}_{\mathrm{t}-1}+{b}_{\mathrm{o}}\right),$$
(8)
$${h}_{\mathrm{t}}={o}_{\mathrm{t}}\otimes \sigma \left({c}_{\mathrm{t}}\right),$$
(9)

where xt is the input data and it, ft, ct and ot represent the input gate, forget gate, cell and output gate, respectively. And σ denotes the activation function while σi, σf and σo are the logistic sigmoid function of the input gate, forget gate and output gate, respectively. The symbol denotes the scalar product between two vectors. Additionally, W and b denote the corresponding weight coefficients and bias vectors.

As an improved version of LSTM, biLSTM can read the input from the forward and reverse directions of the data sequence, so as to acquire the contextual semantic information [42]. In our previous work, BiLSTM has been proven an efficient end-to-end approach for noisy photoplethysmography (PPG) segmentation and denoising [43] [44]. This makes biLSTM more suitable for analyzing complex ECG waveforms and extracting significant information from the details.

The model for sleep posture classification contains three biLSTM layers and one dense layer, as shown in Fig. 7. The first biLSTM layer has 200 neurons and two data segments acquired from two channels of cECG signal are input into it. The second and third layers contain 100 neurons and 50 neurons, respectively. The last layer is a dense layer with activation function of SoftMax. It is used to connect the third layer and output the category of the sleep posture, namely supine (\({S}_{\mathrm{p}}\)), left lateral (\({L}_{\mathrm{p}}\)) and right lateral (\({R}_{\mathrm{p}}\)). Detailed training parameters are summarized in Table 5.

Fig. 7
figure 7

Network structure of the model for sleep posture classification

Table 5 The detailed parameters of the model

In previous sleep posture studies based on ECG signal, the input signal segment was RR interval or segment with different window lengths. The window length of the input signal segment in reference [26], the only study we found on sleep posture recognition based on CC electrodes, is 30 s. Considering that 30-s length is the epoch length usually used for sleep staging, we defined two types of window length of the input signal, namely one heart beat (i.e., RR interval) and 30 s in this study. Each cECG segment was normalized and resampled to 250 samples to avoid different lengths of different input segments due to variable heart rate. Taking the dataset of the short-term experiment as an example, the 5-min data of each subject in one sleep posture were divided to 10 data segments with the length of 30 s, and only one sleep posture prediction was estimated in each 30-s segment. If the outputs of the proposed classifier in each 30-s segment contain two or more sleep postures, the posture with the most occurrences is chosen as the final prediction.

Availability of data and materials

The datasets used and analyzed in the current study are available from the corresponding author on reasonable request.

Abbreviations

CC:

Capacitively coupled electrode

cECG:

Capacitive ECG

RNN:

Recurrent neural network

HR:

Heart rate

HRV:

Heart rate variability

PSG:

Polysomnography

MCU:

Microcontroller unit

SPI:

Serial peripheral interface

PGA:

Programmable gain amplifier

ADC:

Analog-to-digital converter

LSTM:

Long short-term memory

biLSTM:

Bidirectional LSTM

LOSOCV:

Leave-one-subject-out cross-validation

TP:

True positive

FP:

False positive

TN:

True negative

FN:

False negative

References

  1. Majumder S, Chen L, Marinov O, Chen C-H, Mondal T, Deen MJ. Noncontact wearable wireless ECG systems for long-term monitoring. IEEE Rev Biomed Eng. 2018;11:306–21.

    Article  Google Scholar 

  2. Peng S, Xu K, Chen W. Comparison of active electrode materials for non-contact ECG measurement. Sensors. 2019;19(16):3585.

    Article  Google Scholar 

  3. Searle A, Kirkup L. A direct comparison of wet, dry and insulating bioelectric recording electrodes. Physiol Meas. 2000;21(2):271.

    Article  Google Scholar 

  4. Peng S, Bao S, Chen W. Capacitive coupled electrodes based non-contact ECG measurement system with real-time wavelet denoising algorithm. In 2019 41st annual international conference of the IEEE engineering in medicine and biology society (EMBC), 2019, pp. 6587–6590.

  5. Baek HJ, Kim JS, Kim KK, and Park KS. System for unconstrained ECG measurement on a toilet seat using capacitive coupled electrodes: The efficacy and practicality. In 2008 30th annual international conference of the IEEE engineering in medicine and biology society, 2008, pp. 2326–2328

  6. Osinski K, Bujnowski A, P Przystup, Wtorek J. Electrodes array for contactless ECG measurement of a bathing person-a sensitivity analysis. In 2019 41st annual international conference of the IEEE engineering in medicine and biology society (EMBC), 2019, pp. 6583–6586

  7. Leicht L, et al. Capacitive ECG monitoring in cardiac patients during simulated driving. IEEE Trans Biomed Eng. 2018;66(3):749–58.

    Article  Google Scholar 

  8. Peng S, Xu K, Bao S, Yuan Y, Dai C, Chen W. Flexible electrodes based smart mattress for monitoring physiological signals of heart and autonomic nerves in a non-contact way. IEEE Sens J. 2020;21(1):6–15.

    Article  Google Scholar 

  9. Yu X, et al. A multi-modal sensor for a bed-integrated unobtrusive vital signs sensing array. IEEE Trans Biomed Circuits Syst. 2019;13(3):529–39.

    Article  Google Scholar 

  10. Leonhardt S, Aleksandrowicz A. Non-contact ECG monitoring for automotive application. In 2008 5th Int Summer School Symposium on medical Devices Biosensors. 2018;183–185.

  11. Gargiulo G, et al. An ultra-high input impedance ECG amplifier for long-term monitoring of athletes. Med Dev. 2010;3:1.

    Google Scholar 

  12. Sun Y, Yu XB. Capacitive biopotential measurement for electrophysiological signal acquisition: a review. IEEE Sens J. 2016;16(9):2832–53.

    Article  Google Scholar 

  13. Sun Y, Yu X, Berilla J. An innovative non-invasive ECG sensor and comparison study with clinic system. In 2013 39th Annual Northeast Bioengineering Conference. 2013, pp. 163–164.

  14. Peltokangas M, Verho J, Vehkaoja A. Night-time EKG and HRV monitoring with bed sheet integrated textile electrodes. IEEE Trans Inf Technol Biomed. 2012;16(5):935–42.

    Article  Google Scholar 

  15. Weil MB, Oehler M, Schilling M, Maier LS. First clinical evaluation of a novel capacitive ECG system in patients with acute myocardial infarction. Clin Res Cardiol. 2012;101(3):165–74.

    Article  Google Scholar 

  16. Sun Y, Yu X. An innovative nonintrusive driver assistance system for vital signal monitoring. IEEE J Biomed Health Inform. 2014;18(6):1932–9.

    Article  MathSciNet  Google Scholar 

  17. Maruyama T, Makikawa M, Shiozawa N, Fujiwara Y. “ECG measurement using capacitive coupling electrodes for man–machine emotional communication. 2007 IEEE/ICME international conference on complex medical engineering, 2007, pp. 378–383.

  18. Shi C, Dumville JC, Cullum N. Support surfaces for pressure ulcer prevention: a network meta-analysis. PLoS ONE. 2018;13(2): e0192707.

    Article  Google Scholar 

  19. Lee CH, Kim DK, Kim SY. Changes in site of obstruction in obstructive sleep apnea patients according to sleep position: a DISE study. Laryngoscope. 2015;125(1):248–54.

    Article  Google Scholar 

  20. Mccabe SJ, Gupta A, Tate DE, Myers J. Preferred sleep position on the side is associated with carpal tunnel syndrome. Hand. 2011;6(2):132–7.

    Article  Google Scholar 

  21. Grimm T, Martinez M, Benz A, Stiefelhagen R. Sleep position classification from a depth camera using bed aligned maps. In 2016 23rd international conference on pattern recognition (ICPR). 2016;319–324.

  22. Jiang P, Zhu R. Dual tri-axis accelerometers for monitoring physiological parameters of human body in sleep. In 2016 IEEE Sensors. 2016, pp. 1–3.

  23. Pouyan MB, Birjandtalab J, Heydarzadeh M, Nourani M, Ostadabbas S. A pressure map dataset for posture and subject analytics. In 2017 IEEE EMBS international conference on biomedical & health informatics (BHI). 2017, pp. 65–68

  24. Matar G, Lina J-M, Kaddoum G. Artificial neural network for in—bed posture classification using bed-sheet pressure sensors. IEEE J Biomed Health Inform. 2019;24(1):101–10.

    Article  Google Scholar 

  25. Diao H, Chen C, Yuan W, Amara A, Tamura T, Fan J, Chen W. Deep residual networks for sleep posture recognition with unobtrusive miniature scale smart mat system. IEEE Trans Biomed Circuits Syst. 2021;15(1):111–21.

    Article  Google Scholar 

  26. Lee HJ, Hwang SH, Lee SM, Lim YG, Park KS. Estimation of body postures on bed using unconstrained ECG measurements. IEEE J Biomed Health Inform. 2013;17(6):985–93.

    Article  Google Scholar 

  27. Viera AJ, Garrett JM. Understanding interobserver agreement: the kappa statistic. Fam Med. 2005;37(5):360–3.

    Google Scholar 

  28. Malekzadeh, Masoud, et al. Review of deep learning methods for automated sleep staging. In 2022 IEEE 12th Annual Computing and Communication Workshop and Conference (CCWC). 2022, pp. 0080–0086.

  29. Mousavi Z, et al. Deep convolutional neural network for classification of sleep stages from single-channel EEG signals. J Neurosci Methods. 2019;324: 108312.

    Article  Google Scholar 

  30. Loh HW, et al. Automated detection of cyclic alternating pattern and classification of sleep stages using deep neural network. Appl Intell. 2021;52(3):1–15.

    Google Scholar 

  31. Yuyang Y, et al. Automatic sleep stage classification: a light and efficient deep neural network model based on time, frequency and fractional Fourier transform domain features. Artif Intell Med. 2022;127:102279.

    Article  Google Scholar 

  32. Brüser C, Antink CH, Wartzek T, Walter M, Leonhardt S. Ambient and unobtrusive cardiorespiratory monitoring techniques. IEEE Rev Biomed Eng. 2015;8:30–43.

    Article  Google Scholar 

  33. Matar G, Lina JM, Carrier J, Riley A, Kaddoum G. Internet of things in sleep monitoring: an application for posture recognition using supervised learning. In 2016 IEEE 18th international conference on e-health networking, applications and services (healthcom). 2016, pp. 1–6.

  34. Hsia CC, Hung YW, Chiu YH, Kang CH. Bayesian classification for bed posture detection based on kurtosis and skewness estimation. In HealthCom 2008-10th International Conference on e-health Networking, Applications and Services. 2018, pp. 165–168.

  35. Nakamura S, et al. Capacitively coupled electrode array sensors for body posture and ECG measurement during sleep. IEEE Access. 2021;9:24363–72.

    Article  Google Scholar 

  36. Kido K, et al. A novel CNN-based framework for classification of signal quality and sleep position from a capacitive ECG measurement. Sensors. 2019;19(7):1731.

    Article  Google Scholar 

  37. Sun Y, Chan KL, Krishnan SM. Characteristic wave detection in ECG signal using morphological transform. BMC Cardiovasc Disord. 2005;5(1):1–7.

    Article  Google Scholar 

  38. Gill HK, Sehgal VK, Verma AK. Sleep quality and best posture prediction using contextual body sensors using LSTM. In 2021 Asian Conference on Innovation in Technology (ASIANCON), pp. 1–4. IEEE.

  39. Michael S, et al. Uncovering non-linear structure in human ECG recordings. Chaos Solitons Fractals. 2002;13(8):1755–62.

    Article  Google Scholar 

  40. Hochreiter S, Schmidhuber J. Long short-term memory. Neural Comput. 1997;9(8):1735–80.

    Article  Google Scholar 

  41. Sainath, Tara N, et al. Convolutional, long short-term memory, fully connected deep neural networks. 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2015.

  42. Graves A, Schmidhuber J. Framewise phoneme classification with bidirectional LSTM and other neural network architectures. Neural Netw. 2005;18(5–6):602–10.

    Article  Google Scholar 

  43. Xu K, Jiang X, Lin S, Dai C, Chen W. Stochastic modeling based nonlinear Bayesian filtering for photoplethysmography denoising in wearable devices. IEEE Trans Industr Inf. 2020;16(11):7219–30.

    Article  Google Scholar 

  44. Xu K, Jiang X, Ren H, Liu X, Chen W. Deep recurrent neural network for extracting pulse rate variability from photoplethysmography during strenuous physical exercise. In 2019 IEEE Biomedical Circuits Systems Conference (BioCAS). 2019 ;1–4

Download references

Acknowledgements

We would like to thank all the volunteers and researchers who participated in this study.

Funding

This work was supported in part by the Shanghai Committee of Science and Technology under Grant No. 20S31903900, in part by Greater Bay Area Institute of Precision Medicine (Guangzhou) under Grant No. IPM2021C011, in part by Shanghai Municipal Science and Technology International R&D Collaboration Project (Grant No. 20510710500), and in part by the National Natural Science Foundation of China under Grant No. 62001118.

Author information

Authors and Affiliations

Authors

Contributions

SP and YL prepared the manuscript; RC, KX and YW participated in the hardware design and data acquisition; MH, CD, TT, SM and CC participated in the results interpretation; WC guided the whole study. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Wei Chen.

Ethics declarations

Ethics approval and consent to participate

The experiment was a non-clinical study without any harmful procedure and performed in accordance with the Declaration of Helsinki. All participants signed the informed consent document before taking part in the study.

Consent for publication

All the authors give consent for the publication.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Peng, S., Li, Y., Cui, R. et al. Sleep postures monitoring based on capacitively coupled electrodes and deep recurrent neural networks. BioMed Eng OnLine 21, 75 (2022). https://doi.org/10.1186/s12938-022-01031-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12938-022-01031-5

Keywords