journal article·2025-12-06Open access

An IoT-Enabled Smart Pillow with Multi-Spectrum Deep Learning Model for Real-Time Snoring Detection and Intervention

Zhuofu Liu, Kotchoni K. O. Perin, Gaohan Li, Jian Wang, Tian He, Yuewen Xu, Peter W. McCarthy

Applied Sciences· Volume 15· Issue 24

Abstract

Snoring, a common sleep-disordered breathing phenomenon, impairs sleep quality for both the sufferer and any bed partner. While mild snoring primarily disrupts sleep continuity, severe cases often indicate obstructive sleep apnea (OSA), a disorder affecting 9–17% of the global population, linked to significant comorbidities and socioeconomic burden (see Introduction for supporting data). Here, we propose a low-cost, real-time snoring detection and intervention system that integrates a multiple-spectrum deep learning framework with an Internet of Things (IoT)-enabled smart pillow. The modified Parallel Convolutional Spatiotemporal Network (PCSN) combines three parallel convolutional neural network (CNN) branches processing Constant-Q Transform (CQT), Synchrosqueezing Wavelet Transform (SWT), and Hilbert–Huang Transform (HHT) features with a Long Short-Term Memory (LSTM) network to capture spatial and temporal characteristics of sounds associated with snoring. The smart pillow prototype incorporates two Micro-Electro-Mechanical System (MEMS) microphones, an ESP8266 off-shelf board, a speaker, and two vibration motors for real-time audio acquisition, cloud-based processing via Arduino cloud, and closed-loop haptic/audio feedback that encourages positional changes without fully awakening the snorers. Experiments demonstrated that the modified PCSN model achieves 98.33% accuracy, 99.29% sensitivity, 98.34% specificity, 98.3% recall, and 98.32% F1-score, outperforming existing systems. Hardware costs are under USD 8 and a smartphone app provides authorized users with real-time visualization and secure data access. This solution offers a cost-effective and accurate approach for home-based OSA screening and intervention.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Obstructive Sleep Apnea Research · Neuroscience of respiration and sleep · Phonocardiography and Auscultation Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

The Higher Educational Key Laboratory for Measuring & Control Technology and Instrumentations of Heilongjiang Province, Harbin University of Science and Technology, Harbin 150080, China

Faculty of Life Science and Education, University of South Wales, Treforest, Pontypridd CF37 1DL, UK

Faculty of Health Sciences, Durban University of Technology, Durban 1334, South Africa

References (51)

Show source-provided references
1. 0325 Snoring and Obstructive Sleep Apnea Associations Through the Lens of a Smart Bed Platform
2. Prevalence of obstructive sleep apnea in the general population: A systematic review10.1016/j.smrv.2016.07.002 ↗
3. A narrative review on obstructive sleep apnea in China: A sleeping giant in disease pathology10.4103/hm.hm_49_22 ↗
4. Increased prevalence of sleep-disordered breathing in adults10.1093/aje/kws342 ↗
5. Adult obstructive sleep apnoea10.1016/S0140-6736(13)60734-5 ↗
6. Impact of Obstructive Sleep Apnea Treatment on Marital Relationships: Sleeping Together Again?
7. Berry, R.B., Brooks, R., Gamaldo, C.E., Harding, S.M., Marcus, C., and Vaughn, B.V. (2012). The AASM Manual for the Scoring of Sleep and Associated Events. Rules, Terminology and Technical Specifications, American Academy of Sleep Medicine.
8. Lakhan, P., Ditthapron, A., Banluesombatkul, N., and Wilaiprasitporn, T. (2018, January 28–31). Deep Neural Networks with Weighted Averaged Overnight Airflow Features for Sleep Apnea–Hypopnea Severity Classification. Proceedings of the TENCON 2018—IEEE Region 10 Conference, Jeju, Republic of Korea.10.1109/TENCON.2018.8650491 ↗
9. Automatic detection of obstructive sleep apnea events using a deep CNN-LSTM model10.1155/2021/5594733 ↗
10. Predicting response to oxygen therapy in obstructive sleep apnoea patients using a 10-minute daytime test10.1183/13993003.01587-2017 ↗
11. Sleep Apnea Detection Based on Thoracic and Abdominal Movement Signals of Wearable Piezoelectric Bands10.1109/JBHI.2016.2636778 ↗
12. Gutta, S., and Cheng, Q. (2016, January 6–9). Modeling of oxygen saturation and respiration for sleep apnea detection. Proceedings of the 2016 50th Asilomar Conference on Signals, Systems and Computers, Pacific Grove, CA, USA.10.1109/ACSSC.2016.7869657 ↗
13. Automatic detection of obstructive sleep apnea using wavelet transform and entropy-based features from single-lead ECG signal10.1109/JBHI.2018.2842919 ↗
14. Heterogeneous recurrence analysis of heartbeat dynamics for the identification of sleep apnea events10.1016/j.compbiomed.2016.05.006 ↗
15. Automated detection of obstructive sleep apnea events from a single-lead electrocardiogram using a convolutional neural network10.1007/s10916-018-0963-0 ↗
16. Zappalà, P., Lentini, M., Ronsivalle, S., Lavalle, S., La Via, L., and Maniaci, A. (2025). The Global Socioeconomic Burden of Obstructive Sleep Apnea: A Comprehensive Review. Healthcare, 13.10.3390/healthcare13172115 ↗
17. Yang, M.S., Abdallah, M.B., Bashir, Z., and Khalife, W. (2024). Heart Failure Beyond the Diagnosis: A Narrative Review of Patients’ Perspectives on Daily Life and Challenges. J. Clin. Med., 13.10.3390/jcm13237278 ↗
18. Wang, T., Wu, D.J., Coates, A., and Ng, A.Y. (2012, January 11–15). End-to-End Text Recognition with Convolutional Neural Networks. Proceedings of the 21st International Conference on Pattern Recognition (ICPR 2012), Tsukuba, Japan.
19. Abdel-Hamid, O., Mohamed, A.-r., Jiang, H., and Penn, G. (2012, January 25–30). Applying Convolutional Neural Networks Concepts to Hybrid NN-HMM Model for Speech Recognition. Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP 2012), Kyoto, Japan.10.1109/ICASSP.2012.6288864 ↗
20. Imagenet Classification with Deep Convolutional Neural Networks10.1145/3065386 ↗
21. MetaSleepLearner: A Pilot Study on Fast Adaptation of Bio-Signals-Based Sleep Stage Classifier to New Individual Subjects Using Meta-Learning10.1109/JBHI.2020.3037693 ↗
22. Cyclical variation of the heart rate in sleep apnoea syndrome: Mechanisms, and usefulness of 24 h electrocardiography as a screening technique10.1016/S0140-6736(84)90062-X ↗
23. Automatic snoring sounds detection from sleep sounds based on deep learning10.1007/s13246-020-00876-1 ↗
24. Khan, T. (2019). A deep learning model for snoring detection and vibration notification using a smart wearable gadget. Electronics, 8.10.3390/electronics8090987 ↗
25. Classification of the excitation location of snore sounds in the upper airway by acoustic multifeature analysis10.1109/TBME.2016.2619675 ↗
26. Fang, Y., Liu, D., Zhao, S., and Deng, D. (2023). Improving OSAHS prevention based on multidimensional feature analysis of snoring. Electronics, 12.10.3390/electronics12194148 ↗
27. Ultra-wideband radar detection based on target response and time reversal10.1109/JSEN.2024.3376696 ↗
28. Towards generalized uav object detection: A novel perspective from frequency domain disentanglement10.1007/s11263-024-02108-5 ↗
29. Jin, W., Wang, X., and Zhan, Y. (2022). Environmental sound classification algorithm based on region joint signal analysis feature and boosting ensemble learning. Electronics, 11.10.3390/electronics11223743 ↗
30. Tadem, S.P. (2022). Traditional Methods in Edge, Corner and Boundary Detection. arXiv.
31. Wibisono, J.K., and Hang, H.-M. (2020, January 25–28). Traditional Method Inspired Deep Neural Network for Edge Detection. Proceedings of the IEEE International Conference on Image Processing (ICIP 2020), Abu Dhabi, United Arab Emirates.10.1109/ICIP40778.2020.9190982 ↗
32. Yang, H., Wang, L., Zhang, J., Cheng, Y., and Xiang, A. (2024). Research on Edge Detection of LiDAR Images Based on Artificial Intelligence Technology. arXiv.
33. Beyond smart homes: An in-depth analysis of smart aging care system security10.1145/3610225 ↗
34. Mostafa, S.S., Mendonça, F., Ravelo-García, A.G., and Morgado-Dias, F. (2019). A systematic review of detecting sleep apnea using deep learning. Sensors, 19.10.3390/s19224934 ↗
35. Prabhakar, S.K., Rajaguru, H., and Won, D.-O. (2024). Coherent Feature Extraction with Swarm Intelligence Based Hybrid Adaboost Weighted ELM Classification for Snoring Sound Classification. Diagnostics, 14.10.3390/diagnostics14171857 ↗
36. A novel enhancement approach following MVMD and NMF separation of complex snoring signals
37. Yan, J., Liao, J., Zhang, W., Dai, J., Huang, C., Li, H., and Yu, H. (2024). Graph Convolutional Network Based on CQT Spectrogram for Bearing Fault Diagnosis. Machines, 12.10.3390/machines12030179 ↗
38. Forced oscillation source location of bulk power systems using synchrosqueezing wavelet transform10.1109/TPWRS.2024.3351915 ↗
39. The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis10.1098/rspa.1998.0193 ↗
40. Liu, Z., Li, G., Wang, C., Cascioli, V., and McCarthy, P.W. (2025). Unobtrusive Sleep Posture Detection Using a Smart Bed Mattress with Optimally Distributed Triaxial Accelerometer Array and Parallel Convolutional Spatiotemporal Network. Sensors, 25.10.3390/s25123609 ↗
41. Automatic detection, segmentation and assessment of snoring from ambient acoustic data10.1088/0967-3334/27/10/010 ↗
42. An efficient method for snore/nonsnore classification of sleep sounds10.1088/0967-3334/28/8/007 ↗
43. Automatic and unsupervised snore sound extraction from respiratory sound signals10.1109/TBME.2010.2061846 ↗
44. Detection, recognition and transmission of snoring signals by ESP3210.1016/j.measen.2024.101397 ↗
45. Dafna, E., Tarasiuk, A., and Zigel, Y. (2013). Automatic detection of whole night snoring events using non-contact microphone. PLoS ONE, 8.10.1371/journal.pone.0084139 ↗
46. Swarnkar, V.R., Abeyratne, U.R., and Sharan, R.V. (2017, January 11–15). Automatic picking of snore events from overnight breath sound recordings. Proceedings of the 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Jeju Island, Repulic of Korea.10.1109/EMBC.2017.8037444 ↗
47. Arsenali, B., van Dijk, J., Ouweltjes, O., den Brinker, B., Pevernagie, D., Krijn, R., van Gilst, M., and Overeem, S. (2018, January 18–21). Recurrent neural network for classification of snoring and non-snoring sound events. Proceedings of the 2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Honolulu, HI, USA.10.1109/EMBC.2018.8512251 ↗
48. Shin, H., and Cho, J. (2014). Unconstrained snoring detection using a smartphone during ordinary sleep. Biomed. Eng. Online, 13.10.1186/1475-925X-13-116 ↗
49. Xie, J., Aubert, X., Long, X., van Dijk, J., Arsenali, B., Fonseca, P., and Overeem, S. (2021). Audio-based snore detection using deep neural networks. Comput. Methods Programs Biomed., 200.10.1016/j.cmpb.2020.105917 ↗
50. Automated sleep apnea detection from snoring and carotid pulse signals using an innovative neck wearable piezoelectric sensor10.1016/j.measurement.2024.116102 ↗
51. Efficacy of a smart antisnore pillow in patients with obstructive sleep apnea syndrome10.1155/2021/8824011 ↗