Abstract
Drowsiness generally occurs due to lack of sleep. Drowsiness can trigger various problems, such as decreasing productivity, damaging emotions, even to the point of causing serious accidents, both on the highway or in the workplace environment. One possible way to detect drowsiness is by using an Electroencephalographic (EEG) signal. EEG is a test used to evaluate the electrical activity in the brain. This research proposed a system that can detect drowsiness based on EEG signal using Discrete Wavelet Transform (DWT) as feature extraction and K-Nearest Neighbor (K-NN) as classification method of drowsy and normal conditions. At a preliminary stage, the system would perform a pre-processing to minimize noise signals using normalization and grounding magnitude. Feature extraction of these EEG signals was then decomposed using DWT function whereas the K-NN method is used to classify the EEG signals either in normal or drowsy conditions. The K-NN is done by Euclidean Distance Method. The private dataset consists of 60 signals, divided into 30 signals to normal and drowsy each. This research used DWT with eight-level decomposition of Alpha and Beta signals, and 3 wavelet family types (Coiflet, Symlet and Biorthogonal). Based on the results of tests conducted, EEG signals was decomposed using 3 different types of wavelet family generally provides accuracy values that are not much of a difference while selecting different K values for K-NN classification affects the accuracy. In conclusion, the value of k = 5 is the optimum value to classify normal dan drowsy condition. This condition is in accordance with the K-NN theory in which a greater k value can reduce noise in the classification process so it can improve accuracy of the system. This condition provides system performance with the highest accuracy around 90–100% for any type of wavelet family.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
National Center on Sleep Disorders Research (2013) Drowsy driving and automobile crashes: report and recommendations
Omidyeganeh M, Javadtalab A, Shirmohammadi S (2011) Intelligent driver drowsiness detection through fusion of yawning and eye closure. In: 2011 IEEE international conference on virtual environments, human-computer interfaces and measurement systems proceedings. IEEE, pp 1–6
de Mello MT, Narciso FV, Tu KS, Paiva T, Spence DW, BaHammam AS, Verster JC, Pandi-Perumal SR (2013) Sleep disorders as a cause of motor vehicle collisions. Int J Prev Med 4(3):246
Liu D, Sun P, Xiao Y, Yin Y (2010) Drowsiness detection based on eyelid movement. In 2010 second international workshop on education technology and computer science, Vol 2. IEEE, pp 49–52
Deng W, Wu R (2019) Real-time driver-drowsiness detection system using facial features. In: IEEE Access, Vol 7. IEEE, pp 118727–118738
Kurian D, PL JJ, Radhakrishnan K, Balakrishnan AA (2014) Drowsiness detection using photoplethysmography signal. In: 2014 fourth international conference on advances in computing and communications. IEEE, pp 73–76
Oviyaa M, Renvitha P, Swathika R, Joe Louis Paul I, Sasirekha S (2020) Arduino based real time drowsiness and fatigue detection for bikers using helmet. In: 2020 2nd international conference on innovative mechanisms for industry applications (ICIMIA). IEEE, pp 573–577
Xia X, Li H (2019) EEG: neural basis and measurement. In: EEG signal processing and feature extraction. Springer, Singapore, pp 7–21
Lu X, Li H (2019) Electroencephalography, evoked potentials, and event-related potentials. In: EEG signal processing and feature extraction. Springer, Singapore, pp 23–42
Budak Umit, Bajaj Varun, Akbulut Yaman, Atila Orhan, Sengur Abdulkadir (2019) An effective hybrid model for EEG-based drowsiness detection. IEEE Sens J 19(17):7624–7631
Guragain B, Rad AB, Wang C, Verma AK, Archer L, Wilson N, Tavakolian K (2019) EEG-based classification of micro-sleep by means of feature selection: an application in aviation. In: 2019 41st annual international conference of the IEEE engineering in medicine and biology society (EMBC). IEEE, pp 4060–4063
Ming Y, Wu D, Wang Y-K, Shi Y, Lin C-T (2020) EEG-based drowsiness estimation for driving safety using deep Q-learning. arXiv preprint arXiv:2001.02399
Natnithikarat S, Lamyai S, Leelaarporn P, Kunaseth N, Autthasan P, Wisutthisen T, Wilaiprasitporn T (2019) Drowsiness detection for once-based workload with mouse and keyboard data. In: 2019 12th biomedical engineering international conference (BMEiCON). IEEE, pp 1–4 (2019)
Purnamasari PD, Yustiana P, Ratna AAP, Sudiana D (2019) Mobile EEG based drowsiness detection using K-nearest neighbor. In: 2019 IEEE 10th international conference on awareness science and technology (iCAST). IEEE, pp 1–5
Wang, Chunwu, Bijay Guragain, Ajay K. Verma, Lewis Archer, Shubha Majumder, Abdiaziz Mohamud, Emily Flaherty-Woods et al: Spectral Analysis of EEG During Micro-sleep Events Annotated via Driver Monitoring System to Characterize Drowsiness. In IEEE Transactions on Aerospace and Electronic Systems 56, no. 2, pp 1346–1356. (2019)
Jasim Wala’a N, Harfash Esra J (2018) Recognition Normal and Abnormal Human Activities by Implementation K-Nearest Neighbor and Decision Tree Models. Journal of Theoretical and Applied Information Technology 96(19):6423–6443
Jadhav SD, Channe HP (2016) Comparative study of K-NN, naive Bayes and decision tree classification techniques. International Journal of Science and Research (IJSR) 5(1):1842–1845
Ekaputri, C., Widadi, R. and Rizal A.: EEG Signal Classification for Alcoholic and Non- Alcoholic Person using Multilevel Wavelet Packet Entropy and Support Vector Machine. In 2020 8th International Conference on Information and Communication Technology (ICoICT). IEEE (2020)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Ekaputri, C., Fu’adah, Y.N., Pratiwi, N.K.C., Rizal, A., Sularso, A.N. (2021). Drowsiness Detection Based on EEG Signal Using Discrete Wavelet Transform (DWT) and K-Nearest Neighbors (K-NN) Methods. In: Triwiyanto, Nugroho, H.A., Rizal, A., Caesarendra, W. (eds) Proceedings of the 1st International Conference on Electronics, Biomedical Engineering, and Health Informatics. Lecture Notes in Electrical Engineering, vol 746. Springer, Singapore. https://doi.org/10.1007/978-981-33-6926-9_42
Download citation
DOI: https://doi.org/10.1007/978-981-33-6926-9_42
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-33-6925-2
Online ISBN: 978-981-33-6926-9
eBook Packages: EngineeringEngineering (R0)