Home > Published Issues > 2025 > Volume 16, No. 9, 2025 >
JAIT 2025 Vol.16(9): 1217-1225
doi: 10.12720/jait.16.9.1217-1225

Automated Sleep Apnea Detection Using CNNs: Insights into the Impact of FFT Feature Extraction on EEG Signals

Mera Kartika Delimayanti 1,*, Asep Taufik Muharram 1, Ayres Pradiptyas 1, Rinaldito Ahmad Ryanari 1, Raditya Arya Prasetyo 1, Rizky Adi 1, Mohammad Reza Faisal 2, Rizqi Fitri Naryanto 3, and Haralampos Hatzikirou 4
1. Computer and Informatics Engineering Department, Politeknik Negeri Jakarta, Depok, Indonesia
2. Computer Science Department, Lambung Msangkurat University, Banjarbaru, Indonesia
3. Mechanical Engineering Department, Engineering Faculty, Universitas Negeri Semarang, Semarang, Indonesia
4. Mathematics Department, Khalifa University, Abu Dhabi, United Arab Emirates
Email: mera.kartika@tik.pnj.ac.id (M.K.D.); asep.muharram@tik.pnj.ac.id (A.T.M.); ayres.pradiptyas@tik.pnj.ac.id (A.P.); rinaldito.ahmadryanari.tik19@staff.pnj.ac.id (R.A.R.); raditya.aryaprasetyo.tik19@mhsw.pnj.ac.id (R.A.P.); rizky.adi.works@gmail.com (R.A.); reza.faisal@ulm.ac.id (M.R.F.); rizqi_fitri@mail.unnes.ac.id (R.F.N.); haralampos.hatzikirou@ku.ac.ae (H.H.)
*Corresponding author

Manuscript received February 1, 2025; revised March 26, 2025; accepted May 8, 2025; published September 5, 2025.

Abstract—Sleep apnea, a serious sleep disorder characterized by interrupted breathing during sleep, poses significant health risks such as cardiovascular disease and diabetes. Traditional diagnostic methods, such as polysomnography, are cumbersome and expensive, creating a demand for automated solutions. Previous sleep apnea detection research relied on Multi-Layer Perceptrons (MLPs), which, while functional, can be limited in capturing the complex temporal dependencies within Electroencephalogram (EEG) signals. Our study introduces a novel approach by combining Convolutional Neural Network (CNN) with Fast Fourier Transform (FFT) to detect sleep apnea. The FFT was implemented as feature extraction to capture frequency-domain characteristics of the EEG signals. Two versions of the model were developed: one trained on raw EEG data and the other on FFT-processed data. The Physionet Sleep-EDF Database served as the source for EEG recordings, labeled as “normal” or indicative of sleep-disordered breathing. Performance metrics, including accuracy, precision, recall, and F1-Score, were used to evaluate the models. The CNN trained on raw EEG data achieved superior results, with 92% accuracy, a precision of 0.86, recall of 1.00, and an F1-Score of 0.92, outperforming previous studies utilizing Multi-Layer Perceptrons (MLP). However, the result shows that the approach using FFT produces worse results. This suggests that, in the context of sleep apnea detection using our specific dataset, the most discriminative features may not reside solely in the frequency domain as extracted by FFT. The results demonstrate the potential of CNNs in developing low-cost, accessible diagnostic tools. Future efforts should address dataset limitations and explore alternative feature extraction methods to improve generalizability.
 
Keywords—Convolutional Neural Network (CNN), deep learning, Electroencephalogram (EEG), sleep disorder, sleep apnea

Cite: Mera Kartika Delimayanti, Asep Taufik Muharram, Ayres Pradiptyas, Rinaldito Ahmad Ryanari, Raditya Arya Prasetyo, Rizky Adi, Mohammad Reza Faisal, Rizqi Fitri Naryanto, and Haralampos Hatzikirou, "Automated Sleep Apnea Detection Using CNNs: Insights into the Impact of FFT Feature Extraction on EEG Signals," Journal of Advances in Information Technology, Vol. 16, No. 9, pp. 1217-1225, 2025. doi: 10.12720/jait.16.9.1217-1225

Copyright © 2025 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions