Machine Learning Trained Drowsiness Detection Using Gyroscope on a Microcontroller

Machine Learning Trained Drowsiness Detection Using Gyroscope on a Microcontroller

  IJETT-book-cover           
  
© 2023 by IJETT Journal
Volume-71 Issue-5
Year of Publication : 2023
Author : Bagas Aditya Putra, Valerius Owen, Antoni Wibowo
DOI : 10.14445/22315381/IJETT-V71I5P234

How to Cite?

Bagas Aditya Putra, Valerius Owen, Antoni Wibowo, "Machine Learning Trained Drowsiness Detection Using Gyroscope on a Microcontroller," International Journal of Engineering Trends and Technology, vol. 71, no. 5, pp. 328-335, 2023. Crossref, https://doi.org/10.14445/22315381/IJETT-V71I5P234

Abstract
In more recent years, drowsy driving has resulted in 328,000 incidents annually. Drowsiness itself is usually a sign of fatigue, and drivers who experience this may also experience temporary episodes of microsleep that can be fatal while driving. Realizing that some car manufacturers have implemented this, it has only been applied to higher-end cars. From this, a drowsiness detection device needs to be created that is portable and can be used by anyone of any background. A system is designed using a microcontroller and implemented as an Artificial Neural Network with a small size and high accuracy, ported into a header file using Tensorflow Lite. With this, the device is able to detect the drowsiness of the user using the gyroscope from the head movement and uses an LED as well as a buzzer to alert the user or others of drowsiness for real-time predictions.

Keywords
Artificial neural network, Drowsiness, Gyroscope, Machine learning, Microcontroller.

References
[1] Simon James Knopp, “A Multi-Modal Device for Application in Microsleep Detection,” PhD Thesis, University of Canterbury, Electrical and Computer Engineering, 2015.
[CrossRef] [Google Scholar] [Publisher Link]
[2] M. Doudou, A. Bouabdallah, and V. Berge-Cherfaoui, “Driver Drowsiness Measurement Technologies: Current Research, Market Solutions, and Challenges,” International Journal of Intelligent Transportation Systems Research, vol. 18, no. 2, pp. 297–319, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[3] Radovan Fusek, “Pupil Localization Using Geodesic Distance,” Advances in Visual Computing, vol. 11241, pp. 433–444, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[4] Jonathan Flores-Monroy et al., “SOMN_IA: Portable and Universal Device for Real-Time Detection of Driver’s Drowsiness and Distraction Levels,” Electronics, vol. 11, no. 16, p. 2558, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[5] Bahjat Fatima et al., “Driver Fatigue Detection Using Viola Jones and Principal Component Analysis,” Applied Artificial Intelligence, vol. 34, no. 6, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[6] Sameer Raju Dhole et al., “A Novel Helmet Design and Implementation for Drowsiness and Fall Detection of Workers on-Site Using EEG and Random-Forest Classifier,” Procedia Computer Science, vol. 151, pp. 947–952, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[7] F. J. M. Newport, What is Attention Assist®? | Mercedes-Benz Safety Features, Fletcher Jones Motorcars, 2019. [Online]. Available: https://www.fjmercedes.com/mercedes-benz-attention-assist/
[8] Anneke Hertig-Godeschalk et al., “Microsleep Episodes in the Borderland between Wakefulness and Sleep,” Sleep, vol. 43, no. 1, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[9] H. Ueno, M. Kaneda, and M. Tsukino, “Development of Drowsiness Detection System,” Proceedings of VNIS'94 - 1994 Vehicle Navigation and Information Systems Conference, pp. 15-20, 1994.
[CrossRef] [Google Scholar] [Publisher Link]
[10] Aqsa Mehreen et al., “A Hybrid Scheme for Drowsiness Detection Using Wearable Sensors,” IEEE Sensors Journal, vol. 19, no. 13, pp. 5119–5126, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[11] D Mahalingam et al., "Real Time Monitoring for Drowsiness Detection using EEG System," SSRG International Journal of Electronics and Communication Engineering, vol. 2, no. 5, pp. 42-44, 2015.
[CrossRef] [Google Scholar] [Publisher Link]
[12] Marco Taboga, ‘Multinoulli Distribution’, Lectures on Probability Theory and Mathematical Statistics, 2021. [Online]. Available: https://www.statlect.com/probability-distributions/multinoulli-distribution
[13] A. Aylin Tokuç, How to Improve Naive Bayes Classification Performance? | Baeldung on Computer Science, www.baeldung.com, 2021. [Online]. Available: https://www.baeldung.com/cs/naive-bayes-classification-performance
[14] Ashwin Raj, The Not So Naive Bayes, Medium, 2021. [Online]. Available: https://towardsdatascience.com/the-not-so-naive-bayes-b795eaa0f69b
[15] Marina Chatterjee, The Introduction of KNN Algorithm | What is KNN Algorithm?, GreatLearning, 2020. [Online]. Available: https://www.mygreatlearning.com/blog/knn-algorithm-introduction/
[16] Niklas Donges, A Complete Guide to the Random Forest Algorithm, Built In, 2021. [Online]. Available: https://builtin.com/data-science/random-forest-algorithm
[17] Pham Anh Tuan et al., "Micro-Opto-Electro-Mechanical Transducers for Measurement and Control Systems," SSRG International Journal of Electrical and Electronics Engineering, vol. 5, no. 10, pp. 7-11, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[18] Susmita Ray, “A Quick Review of Machine Learning Algorithms,” IEEE Xplore, pp. 35-39, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[19] Swapnil Sayan Saha, Sandeep Singh Sandha, and Mani Srivastava, “Machine Learning for Microcontroller-Class Hardware: A Review,” IEEE Sensors Journal, vol. 22, no. 22, pp. 21362–21390, 2022.
[CrossRef] [Google Scholar] [Publisher Link]
[20] Pete Warden, and Daniel Situnayake, TinyML: Machine Learning with TensorFlow Lite on Arduino and Ultra-Low-Power Microcontrollers. “O’Reilly Media, Inc., 2019.
[Google Scholar] [Publisher Link]
[21] Ngan T.T. Le, Huyen T.T. Tran, "Robot Control Based On Image Processing To Follow The Target," SSRG International Journal of Electrical and Electronics Engineering, vol. 7, no. 4, pp. 5-8, 2020.
[CrossRef] [Publisher Link]
[22] Naveen Senniappan Karuppusamy, and Bo-Yeong Kang, “Multimodal System to Detect Driver Fatigue Using EEG, Gyroscope, and Image Processing,” IEEE Access, vol. 8, pp. 129645–129667, 2020.
[CrossRef] [Google Scholar] [Publisher Link]
[23] Charlotte Jacobé de Naurois et al., “Detection and Prediction of Driver Drowsiness Using Artificial Neural Network Models,” Accident Analysis & Prevention, vol. 126, pp. 95–104, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[24] M. Asjid Tanveer et al., “Enhanced Drowsiness Detection Using Deep Learning: An fNIRS Study,” IEEE Access, vol. 7, pp. 137920–137929, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[25] Umit Budak et al., “An Effective Hybrid Model for EEG-Based Drowsiness Detection,” IEEE Sensors Journal, vol. 19, no. 17, pp. 7624–7631, 2019.
[CrossRef] [Google Scholar] [Publisher Link]
[26] Maya Ameliasari, Aji Gautama Putrada, and Rizka Reza Pahlevi, “An Evaluation of SVM in Hand Gesture Detection Using IMU-Based Smartwatches for Smart Lighting Control,” Jurnal Infotel, vol. 13, no. 2, pp. 47–53, 2021.
[CrossRef] [Google Scholar] [Publisher Link]
[27] Brian C Tefft, “Acute Sleep Deprivation and Culpable Motor Vehicle Crash Involvement,” Sleep, vol. 41, no. 10, 2018.
[CrossRef] [Google Scholar] [Publisher Link]
[28] Gang Li, and Wan-Young Chung, “Combined EEG-Gyroscope-tDCS Brain Machine Interface System for Early Management of Driver Drowsiness,” IEEE Transactions on Human-Machine Systems, vol. 48, no. 1, pp. 50–62, 2018.
[CrossRef] [Google Scholar] [Publisher Link]