Feature Extraction and Detection of Obstructive Sleep Apnea from Raw EEG Signal

  • Ch. Usha KumariEmail author
  • Padmavathi Kora
  • K. Meenakshi
  • K. Swaraja
  • T. Padma
  • Asisa Kumar Panigrahy
  • N. Arun Vignesh
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 1087)


Electrocardiogram (EEG) signal detects the electrical activity of the brain. It records all the physiological changes occur in the brain. These signals are useful for detecting different types of sleep disorders. This paper aims in detecting obstructive sleep apnea (OSA) using SVM classifier and DWT technique. The EEG signal is extracted from the polysomnographic database removing the other artifacts, namely electrocardiogram (ECG), blood pressure (BP), respiratory signal at abdominal, respiratory signal at nasal, oxygen saturation are removed. Then, the EEG signal is segmented into four sub-bands as delta(\(\delta \)), theta(\(\theta \)), alpha(\(\alpha \)), and beta(\(\beta \)). The approximation coefficients and detailed coefficients are extracted from these sub-bands using wavelet decomposition technique with Daubechies order-2 (db2) transform. All these coefficients are given to SVM classifier for the detection of OSA. The accuracy of classifier is tested in three cases: in case 1, 90% of data is given for testing; in case 2, 70% is given; and in case 3, only 50% of data is given for testing. It is observed, case 1 has 98% of accuracy in detecting the obstructive sleep apnea. In this paper, 16 healthy subjects and 8 unhealthy subjects are considered. The detailed and approximation coefficients are extracted for all 2500 samples.


Electrocardiogram (EEG) Obstructive sleep apnea (osa) Discrete wavelet transform (DWT) Support vector machine (SVM) classifier 



The authors wish to thank the publicly available physio bank database


  1. 1.
    A.S. Al-Fahoum, A.A. Al-Fraihat, Methods of EEG signal features extraction using linear analysis in frequency and time-frequency domains. ISRN Neurosci. 13 (2014)Google Scholar
  2. 2.
    C. Cai, P.D.B. Harrington, Different discrete wavelet transforms applied to denoising analytical data. J. Chem. Inf. Comput. Sci. 38(6), 1161–1170 (1998)CrossRefGoogle Scholar
  3. 3.
    N. Sezgin, M.E. Tagluk, Energy based feature extraction for classification of sleep apnea syndrome. Comput. Biol. Med. 39(11), 1043–1050 (2009)CrossRefGoogle Scholar
  4. 4.
    U.R. Acharya, S.V. Sree, A.P.C. Alvin, J.S. Suri, Use of principal component analysis for automatic classification of epileptic EEG activities in wavelet framework. Expert Syst. Appl. 39(10), 9072–9078 (2012)CrossRefGoogle Scholar
  5. 5.
    J.M. Lee, D.J. Kim, I.Y. Kim, K.S. Park, S.I. Kim, Detrended fluctuation analysis of EEG in sleep apnea using MIT/BIH polysomnography data. Comput. Biol. Med. 32(1), 37–47 (2002)CrossRefGoogle Scholar
  6. 6.
    W.S. Almuhammadi, K.A. Aboalayon, M. Faezipour, Efficient obstructive sleep apnea classification based on EEG signals, in 2015 IEEE Systems, Applications and Technology Conference (LISAT) (IEEE, Long Island, 2015), pp. 1–6Google Scholar
  7. 7.
    U. Orhan, M. Hekim, M. Ozer, EEG signals classification using the K-means clustering and a multilayer perceptron neural network model. Expert Syst. Appl. 38(10), 13475–13481 (2011)CrossRefGoogle Scholar
  8. 8.
    P. Jahankhani, V. Kodogiannis, K. Revett, EEG signal classification using wavelet feature extraction and neural networks, in JVA ’06. IEEE John Vincent Atanasoff 2006 International Symposium on Modern Computing (IEEE, 2006), pp. 120–124Google Scholar
  9. 9.
    H.U. Amin, W. Mumtaz, A.R. Subhani, M.N.M. Saad, A.S. Malik, Classification of EEG signals based on pattern recognition approach. Front. Comput. Neurosci. 11, 103 (2017)CrossRefGoogle Scholar
  10. 10.
    L. Almazaydeh, K. Elleithy, M. Faezipour, Detection of obstructive sleep apnea through ECG signal features, in 2012 IEEE International Conference on Electro/Information Technology (EIT) (IEEE, 2012), pp. 1–6Google Scholar
  11. 11.
    A. Phinyomark, A. Nuidod, P. Phukpattaranont, C. Limsakul, Feature extraction and reduction of wavelet transform coefficients for EMG pattern classification. Elektronika ir Elektrotechnika 122(6), 27–32 (2012)CrossRefGoogle Scholar
  12. 12.
    D. Alvarez, R. Hornero, J.V. Marcos, F. del Campo, M. Lopez, Spectral analysis of electroencephalogram and oximetric signals in obstructive sleep apnea diagnosis, in Engineering in Medicine and Biology Society. EMBC 2009. Annual International Conference of the IEEE (IEEE, 2009)Google Scholar
  13. 13.
    M. Vetterli, C. Herley, Wavelets and filter banks: theory and design. IEEE Trans. Signal Process. 40 (1992)CrossRefGoogle Scholar
  14. 14.
    H.U. Amin, A.S. Malik, R.F. Ahmad, N. Badruddin, N. Kamel, M. Hussain, W.T. Chooi, Feature extraction and classification for EEG signals using wavelet transform and machine learning techniques. Aust. Phys. Eng. Sci. Med. 38(1), 139–149 (2015)CrossRefGoogle Scholar
  15. 15.
    K. Aboalayon, M. Faezipour, W. Almuhammadi, S. Moslehpour, Sleep stage classification using EEG signal analysis: a comprehensive survey and new investigation. Entropy 18(9), 272 (2016)CrossRefGoogle Scholar
  16. 16.
    Y. Kumar, M.L. Dewal, R.S. Anand, Relative wavelet energy and wavelet entropy based epileptic brain signals classification. Biomed. Eng. Lett. 2(3), 147–157 (2012)CrossRefGoogle Scholar
  17. 17.
    T.D. Bradley, J.S. Floras, Sleep apnea and heart failure: part I: obstructive sleep apnea. Circulation 107(12), 1671–1678 (2003)CrossRefGoogle Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2020

Authors and Affiliations

  • Ch. Usha Kumari
    • 1
    Email author
  • Padmavathi Kora
    • 1
  • K. Meenakshi
    • 1
  • K. Swaraja
    • 1
  • T. Padma
    • 1
  • Asisa Kumar Panigrahy
    • 1
  • N. Arun Vignesh
    • 1
  1. 1.Department of ECEGRIETHyderabadIndia

Personalised recommendations