Professional Documents
Culture Documents
Real TimeSleepDetectionandWarningSystemtoEnsureDriversSafetyBasedonEEG
Real TimeSleepDetectionandWarningSystemtoEnsureDriversSafetyBasedonEEG
net/publication/303772868
Real-time sleep detection and warning system to ensure driver's safety based on
EEG
CITATIONS READS
5 719
4 authors, including:
Klaus Hofmann
Technische Universität Darmstadt
151 PUBLICATIONS 567 CITATIONS
SEE PROFILE
All content following this page was uploaded by Micheal Saleab on 18 December 2020.
Abstract—A Real-Time Sleep Detection and Warning System hospital or being under supervision[9]. Although different
for Driver’s Safety Based on EEG is proposed and implemented researches had been issued In Sleep Detection and Warning
to ensure the safety for the drivers and pilots. This system is System, non of them provided vital signs monitoring system.
implemented to estimate and measure the driver attention, the
percentage of oxygen in the blood of the driver and to check if
driver is failing a sleep. The design and implementation of oxygen The main focus of this paper is to present an efficient Sleep
saturation sensor is also provided. In addition this system Detection and Warning System using brain sensor. It operates
contains a Real time vital signs monitoring system to measure the with low power and fully wearable that can be used outdoors.
vital signs values. The proposed system achieved an Accuracy of The oxygen saturation sensor is proposed to make an
96.3%, 100% of sensitivity, 92.4% of Predictability and 93% integrated efficient and wearable system. The system also
Specificity. The accuracy, predictability and specificity of the provides Electrocardiography, Electrical conductance of the
vital signs monitoring system is increased by 2%, 3% and 1%, skin which can be used to detect the driver emotional status. It
respectively. is critical to implement a system that can be used outdoors
without the need of personal computer. In addition a Real-time
Keywords-brain sensor; monitoring system; wearable device; Vital Signs monitoring system is added to the system to check
avionics; real-time; vital signs; drowsiness; pilot; driver; EEG the driver medical status The architecture of the proposed
system is shown in Figure 1.
I. INTRODUCTION
Sleep Detection and Warning System to Ensure Driver’s
Safety is a system which measures the driver attention and
check if driver is sleeping as described in[1][2][3][4]. It also
sends alerts to the driver if the driver is not concentrated in
driving or if the driver is sleeping.
III. DATA COLLECTION FROM THE SENSORS AND DEVICES TO 1) ACCU-CHEK Performa: Wireless infrared connected
THE CONTROL UNIT device which records the blood glucose level.
The system consists of 5 sensors and 2 devices. All of these 2) ACCU-CHEK Smart Pix: Infrared device that collects
sensors send the data to the control unit. The control unit the data from ACCU-CHEK Performa and transmits this
collects this data as an input. The control unit has an algorithm data to personal computer or the control unit.
that receives the signals from the sensors and processes the
signals to get vital activities values. The sensors are used to 3) BOSO-Medicus prestige: A Blood pressure monitor that
measure the exact values of the vital activities as follows: measures and saves the data. Then the data is transmits
via Bluetooth.
1) Pulse sensor: Is a very small sensor which provides
measurements at user defined time intervals. It measures The control unit of the proposed design receives the measured
heart rate, inter-beat interval and electrocardiography. signals from all these sensors, process these signal, converts it
The pulse sensor transmits a signal to the control unit. to digital data and puts this data in the form that can be
First the resolution of the signal must be high enough to transmitted using bluetooth. In this design AVR Atmega328p
make the difference between the beats clear and chip is used as a control unit. The control unit is responsible to
observable. A beat to beat timing resolution of 2 convert the signals from the sensors to real vital activities
milliseconds is achieved with sample rate of 500 Hz. In values. Figure 3 is a diagram shows the transmission of the
addition a real time sample counter is established to data to the control unit and the conversation of the signals to
receive the signal from the sensor in real time with
almost no time delay. vital activity measurements using the control unit.
As shown in Figure 4, the transmitter circuit transmits the
optical signal to the receiver. The receiver unit consists of
optical receiver to receive the signal and processing unit to
convert the optical signal to analog signal. The receiver unit
transmits the analog signal to the control unit. The control
unit converts the analog signal to digital and transmits the
oxygen saturation value to the system.
• ARED is the rate of absorb of the light from the Red LED.
A Real-Time Sleep Detection and Warning System is • b1 and b2 are constants, this constants are derived by
proposed and implemented using an EEG headset. This system comparing the baseline signal to the signal amplitude
can be used for drivers and pilots to check their concentration. during sleeping.
The system will sends alarms to the drivers when they are
beginning to fall asleep. The concept of this system is an • B1 is high alpha mean.
algorithm designed to filter the signal from EEG to 4
categories low Beta, high Beta, low alpha and high alpha[14]. • B2 is high alpha standard deviation.
The Neurosky Mindset headset EEG is used in this system as
an EEG electrode. The Neurosky Mindset headset estimate the
alpha, beta, theta and gamma waves comes from the brain and
transmits their values using Bluetooth technology. The
measurements from the Neurosky Mindset headset is processed
using an algorithm in the control unit. This algorithm based on
dividing the signal into 30 seconds baseline signal, and divide
this 30 seconds signal into 15360 baseline signal.
Incase of falling asleep the driver smartphone will produce a Using Neurosky brains sensor headset the proposed Sleep
warning alarm, eq.3 and eq.5 is for calculating low alpha Detection System is implemented shows an accuracy of 97.4%
threshold and high alpha threshold respectively. And eq.4 for and the Kappa value is 91%. Using the calculation methods
comparing low alpha threshold with the low alpha signal from in[15], given the collecting 20 data sets from 30 driver to have
the brain-sensor. Also eq.6 is for comparing high alpha a total 600 drivers data, the performance parameters are
threshold with the high alpha signal from the brain-sensor. calculated. By comparison with others Sleep Detection
Systems as conducted in table I the proposed and implemented
system shows a positive values. In addition this system uses
If the case of eq.4 and eq.6 is confirmed this means that low power, wearable and can be used outdoors. Also the
driver is sleeping. proposed system estimate the concentration percentage and
the sleeping status and transmit it to the driver smartphone. As
conducted in table I.
• A2 is low alpha standard deviation. The Vital Signs Monitoring System consists of two parts;
hardware part and software. The hardware part consists of 5
sensors, 2 small devices and control unit as described in
section III. The control unit is implemented using micro-
controller chip (AVR Atmega328p). The printed circuit board
(PCB) is designed using Eagle tool and implemented in a very
small scale.
This server saves the data of each driver in a text file that
shows all the parameters and time. Thus there is a file that
saves the data of each driver, the supervisor can view this log
at any time. If there is a problem in server, this file will be
saved immediately on the supervisor personal computer. The
supervisor has Android application on his smart phone, and
another one on his personal computer. The supervisor can sent
his recommendations to the driver through the server. The Vital Signs Monitoring System achieves an Accuracy of 97%,
driver can read this recommendations using the driver 100% of sensitivity, 93% of Predictability and 94% of
applications. In the implementation of the proposed system a Specificity. The accuracy of the proposed system is increased
feature is added to the proposed system to integrate the by 2% as compared to the conventional monitoring system.
proposed system with the hospital and the emergency. If the The predictability and specificity of the Vital Signs
driver has a problem in his vital activities, the driver android Monitoring System are increased by 3% and 1%, respectively.
VII. CONCLUSION Technologies (CISTI), 6th Iberian Conference on, pp. 1-6, September
2011.
In this paper the Real-Time Sleep Detection and Warning [6] A.E. Tan K.K.M. Chan and K. Rambabu. ”Circularly Polarized Ultra-
System to Ensure Driver’s Safety Based on EEG is proposed Wideband Radar System for Vital Signs Monitoring”. IEEE Transactions
and implemented. The oxygen saturation is also implemented on Microwave Theory and Techniques, vol. 61, no. 5, May 2013.
to estimate the oxygen percentage in the blood. The proposed
system is fully wearable system. First every system is [7] J. Dominguez G. Boothby A. Das V. Lopez-J. Nguyen T. ; Banister R.E. ;
Lie D.Y.C. Hall, T. Tsay. ”Robust Phased Array Non-Contact Vital Signs
implemented separately to compare the system with others Monitoring in an Office Cubicle Setting”. Intelligent Green Building
implemented to system to make sure that the system accuracy and Smart Grid (IGBSG), pp. 1-4, April 2014.
and efficiency is acceptable. Then both systems the Real-Time
Sleep Detection and the Vital Signs Monitoring System is [8] H. Nor N.M. Ibrahim T. Nyamasvisva T.E. Gulcharan, N.F.I. Daud.
integrated together on the same control unit. ”Investigation and Development of Remote Vital Signs Monitoring
Device Using Wireless Communication”. Intelligent and Advanced
Systems (ICIAS), 2014 5th, pp. 1-6, June 2014.
The warning system (Vital Signs Monitoring System) shows
positive results The system performs Accuracy of 97%, 100% [9] M. M. Baig and H. GholamHosseini. ”Wireless remote patient moni-
of sensitivity, 93% of Predictability and 94% Specificity. The toring in older adults”. Engineering in Medicine and Biology Society
accuracy of the proposed system is increased by 2% as (EMBC), 35th Annual International Conference of the IEEE, pp. 2429-
compared to the conventional monitoring system. The 2432, July 2013.
predictability and specificity of the proposed system are
[10] Yong-Su Seo Young-Dong Lee, Sang-Joong Jung and Wan-Young
i n c r e a s e d b y 3 % a n d 1 % , r e s p e c t i v e l y. A l s o Chung. ”Measurement of Motion Activity during Ambulatory Using
Electrocardiography and Electrical conductance of the skin is Pulse Oximeter and Triaxial Accelerometer”. Third International
added to the system. The Real-Time Sleep Detection system Conference on Convergence and Hybrid Information Technology pp.
shows also positive results it shows an accuracy of 97.4%, 436 - 441, November 2008.
100% of Sensitivity and 96% of Specificity.
[11] Mike McEvoy. ”Oxymoron: Our Love-Hate Relationship with Oxygen”.
16th Annual Respiratory Care Symposium Rising to the Challenge: A
The Vital Signs Monitoring System and the Real-Time Sleep Pulmonary Medicine Update, March 2010.
Detection system is integrated on the same system using the
same control unit to implement a new system. This new [12] M. Rajarajan D. Weerasinghe and V. Rakocevic. ”Device Data Protection
system can ensure 100% of safety for the drivers and pilots as in Mobile Healthcare Applications Electronic Healthcare”. Springer
all the vital signs parameters in addition to the emotional Berlin Heidelberg, vol. 0001, pp. 82-89, September 2008.
status and the electrocardiogram is measured. Also the Real-
[13] ”advanced industrial systems”. http://www.advindsys.com/ApNotes/
Time Sleep Detection system is added to measure the driver YSI400SeriesProbesRvsT.htm.
concentration percentage also to produce warning if the driver
is start to falling asleep. [14] Sotelo M.A. Barea R. Lopez M.E Bergasa L.M., Nuevo J. ”Real-Time
system for monitoring driver vigilance”. IEEE Trans. Intell. Transp.
Post the integration the two system into one system. The Syst, 2006.
system performs Accuracy of 96.3%, 100% of Sensitivity,
[15] H. L. Kundel and M. Polansky. ”Measurement of observer agreement”.
92.4% of Predictability and 93% Specificity. Radiology journal, vol. 228, pp. 303-308, August 2003.
[5] Guimaraes J.A. Fernandes, B. and R. Simoes. ”Vital Signs Monitoring and
Management using Mobile Devices”. Information Systems and