Next Article in Journal
Application of Wavelet Scattering and Machine Learning on Structural Health Diagnosis for Quadcopter
Previous Article in Journal
Forecasting Hotel Room Occupancy Using Long Short-Term Memory Networks with Sentiment Analysis and Scores of Customer Online Reviews
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sample-Entropy-Based Method for Real Driving Fatigue Detection with Multichannel Electroencephalogram

1
College of Applied Technology, Shenyang University, Shenyang 110044, China
2
School of Mechanical Engineering, Shenyang University of Technology, Shenyang 110870, China
3
School of Chemical Equipment, Shenyang University of Technology, Liaoyang 111003, China
4
Department of Mechanical Engineering and Automation, Northeastern University, Shenyang 110819, China
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2021, 11(21), 10279; https://doi.org/10.3390/app112110279
Submission received: 15 September 2021 / Revised: 12 October 2021 / Accepted: 29 October 2021 / Published: 2 November 2021
(This article belongs to the Section Transportation and Future Mobility)

Abstract

:
Safe driving plays a crucial role in public health, and driver fatigue causes a large proportion of crashes in road driving. Hence, this paper presents the development of an efficient system to determine whether a driver is fatigued during real driving based on 14-channel EEG signals. The complexity of the EEG signal is then quantified with the sample entropy method. Finally, we explore the performance of multiple kernel-based algorithms based on sample entropy features for classifying fatigue and normal subjects by only analyzing noninvasive scalp EEG signals. Experimental results show that the highest classification accuracy of 97.2%, a sensitivity of 95.6%, a specificity of 98.9%, a precision of 98.9%, and the highest AUC value of 1 are achieved using SampEn feature and cubic SVM classifier (SCS Model). It is hence concluded that SampEn is an effectively distinguishing feature for classifying normal and fatigue EEG signals. The proposed system may provide us with a new and promising approach to monitoring and detecting driver fatigue at a relatively low computational cost.

1. Introduction

Traffic safety is one of the most serious problems [1,2]. Therefore, it is necessary to comprehensively analyze the causes of traffic accidents considering drivers, vehicles, and environmental factors and propose corresponding solutions to reduce the frequency of accidents and the number of casualties [3,4,5,6]. The car driver is responsible for the perception of surrounding information and the control of the car and is the most critical part of the entire system. Drivers need to focus on the driving process, comprehensive analysis of the car’s movement status, traffic conditions, and other information, to determine the correct driving strategy and make the appropriate driving action. Therefore, car driving requires the driver not only to exert a certain amount of physical strength but also to bear a certain amount of mental load. When the driver’s load is too high or too low, it may cause decision-making or operational errors, leading to traffic accidents [5].
With the increase in traffic density, complexity of roads, and use of information equipment in the car, driving has become a more complex interactive activity [7]. Drivers are often under double-tasking or multitasking conditions, and their attention may be distracted from tasks that are directly related to the driving task, such as the perception of the environment and car manipulations. However, the ability of the brain to process information has certain limitations. When it is in a complex multitasking environment, other tasks that are not directly related to the driving task are bound to compete with the driving task in terms of brain resources, thus increasing the mental stress of the driver. For a driver, a high level of mental stress can easily lead to a sense of tension, distractions, and errors in perception and decision-making, which can lead to traffic accidents [8,9,10]. In particular, long-term and long-distance driving is more likely to induce driver fatigue. Fatigue is one of the crucial factors resulting in a large proportion of crashes in road driving in the transportation industry [11,12]. Currently, existing fatigue-detection technologies mainly rely on driving behavior, vehicle driving information, and the driver’s physiological characteristics [13,14,15]. Among these three technologies, driving fatigue is highly linked to physiological signals [13].
For developing a driver fatigue detection system, in general, EEG is the most common noninvasive way to evaluate driver fatigue and also is a low-cost network of measurement compared to recent electrical neuroimaging modalities [14,15]. In recent years, the method proposed in [16] classified the driver distraction level based on the fusion of discrete wavelet packet transform and FFT and three classifiers, namely subtractive fuzzy clustering, probabilistic neural network, and K nearest neighbor, using wireless EEG signals, obtaining the highest classification accuracy of 85%. In another study [17], the authors collected 16 channels of EEG signals and then calculated 12 types of energy parameters as features and finally employed the regression equation for the classification of fatigue and nonfatigue signals from the Fp1 channel and O1 channel, and they reported an accuracy of 91.5%. Time, spectral, wavelet analysis and neural network classifier were proposed to detect the drowsiness stage in EEG records in [18]; this method achieved accuracies of 87.4% and 83.6% for alertness and drowsiness, respectively.
The aim of this study is to develop an efficient system to determine whether a driver is fatigued during real driving based on 14-channel EEG signals. A novel system combining sample entropy and multiple machine learning algorithms is proposed. The novelty of this study can be summarized as follows: (1) development of an efficient system to determine whether a driver is fatigued during real driving (recognizing the state of the driver in a real driving environment it is a challenging and rewarding task); (2) development of multiple kernel-based algorithms based on sample entropy features for classifying fatigue and normal subjects by only analyzing noninvasive scalp EEG signals; (3) achievement of high identification performance at relatively low computational cost (the highest classification accuracy of 97.2%, a sensitivity of 95.6%, a specificity of 95.7%, a precision of 98.9%, the highest AUC value of 1, and a training time of 1.225 s with cubic SVM algorithm).
The rest of the paper is organized as follows: Section 2 provides a detailed description of methods, including experiment design and data collection. The results and discussion of the experiment are shown in Section 3. Finally, the conclusion is presented in Section 4.

2. Materials and Methods

2.1. Participants

Ten participants aged between 32 and 40 years (mean age: 36.6) were recruited for this study. None of the participants reported any neurological or psychiatric disorders. All reported normal or corrected to normal vision and normal hearing. All participants had owned their driving licenses for at least two years. They were asked to have a good sleep and refrain from drinking coffee, alcohol, or tea within 48 h before the experiment [19]. Each participant was informed of the experimental procedure. They read the consent and signed it. The participants were paid for their participation in the experiment.

2.2. Task and EEG Data

In the experiment phase, the real driving route (about 254 km) was from Shenyang (41.78° N, 123.43° E) to Dandong (40.12° N, 124.38° E), Liaoning, China. The drivers drove for about 3 h along the whole drive, and almost all driving distances were chosen on a monotonous highway. To reduce artifacts in the physiological data recording, an automatic shifting car was selected, and the use of the radio was banned during the experiment [8]. The driving experiments started at about 13:00. To avoid the influence of circadian fluctuations, the experiments were scheduled at the same time each day.
Each participant was asked to keep the motor vehicle on the track as accurately as possible to avoid other vehicles. EEG signals were continuously collected by EMOTIV EPOC (very convenient to deploy under real driving conditions, wireless device, and inexpensive compared with other EEG acquisition equipment) during driving. EEG data from 14 channels (AF3, F7, F3, FC5, T7, P7, O1, O2, P8, T8, FC6, F4, F8, AF4, see Figure 1), which were arranged according to the international 10–20 standard, and two reference electrodes, which were located at the bilateral posterior mastoid [20], were recorded during the real driving. The participants’ EEG signals were captured by the neuroheadsets and then wirelessly transmitted to an external laptop via the USB receivers for further processing. The sampling frequency was kept at 128 Hz. Subsequently, the data of each participant for the first three minutes and the last three minutes out of those of 3 h were selected for further preprocessing. In the case of EEG signals, the undesired artifacts such as eye blinking were reduced by using independent component analysis (ICA) in the EEGLAB software. The subjective fatigue level of participants was investigated before and after the real driving experiments by the Stanford Sleepiness Scale (SSS) [21] (1–2 = conscious, 3–4 = slight fatigue, 5 = medium fatigue, 6–7 = severe fatigue). The facial video was recorded using a video camera installed in front of the participants.

2.3. Feature Extraction

Compared to other available feature extraction techniques, an entropy-based method is more suitable for describing nonlinear and unstable dynamic EEG signals. Sample entropy (SampEn) is a new measure of time series complexity proposed by Richman and Moorman [22]. Entropy is originally a thermodynamic concept that is a measure of the degree of chaos (disorder) in a thermodynamic system. After the establishment of information theory, the concept and theory of entropy have been developed. As a nonlinear dynamic parameter for measuring the incidence of new information in time series, entropy has been applied in many scientific fields [23]. Sample entropy is an improvement of the approximate entropy algorithm. Sample entropy is intended to reduce the error of approximate entropy. The sample entropy method is similar to the current approximate entropy method but with better precision [24]. Compared with approximate entropy, sample entropy has two major advantages: first, sample entropy does not include the comparison of its own data segments, and the calculation of the sample entropy does not depend on the data length; second, compared to approximate entropy, sample entropy has better consistency. Therefore, in the present work, we quantify the complexity of the EEG signal with the sample entropy method. The sample entropy is calculated as follows:
  • For a time series consisting of N data x(1), x(2), …, x(N), reconstruct m-dimensional vector Xm(1), Xm(2), …, Xm(Nm + 1), where Xm(i) = [x(i), x(i + 1), …, x(i + m − 1)].
  • Define the distance d [Xm(i), Xm(j)] between vectors Xm(i) and Xm(j) as the absolute value of the maximum difference between the two elements.
    d [ X m ( i ) , X m ( j ) ] = max k = 0 , , m 1 ( | x ( i + k ) x ( j + k ) | )
  • For a given Xm(i), count the number of j (1 ≤ jN − m, ji) where the distance between Xm(i) and Xm(j) is less than or equal to r, and record it as Bi. For 1 ≤ iNm, define:
    B i m ( r ) = ( N m 1 ) 1 B i
  • Define Bm(r) as:
    B m ( r ) = ( N m ) 1 i = 1 N m B i m ( r )
  • Increase the number of dimensions to m + 1, calculate the number of distances between Xm+1(i) and Xm+1(j) that are less than or equal to r, and record it as Ai. A i m ( r ) is defined as:
    A i m ( r ) = ( N m 1 ) 1 A i
  • Define Am(r) as:
    A m ( r ) = ( N m ) 1 i = 1 N m A i m ( r )
In this way, Bm(r) is the probability of two sequences matching m points under the similarity tolerance r, and Am(r) is the probability of two sequences matching m + 1 points. The sample entropy is defined as:
SampEn ( m , r , N ) = ln [ A m ( r ) B m ( r ) ]

2.4. Classification

Since there is no uniform and efficient classification method for all applications, in general, it may be useful to test and compare multiple classification methods [14]. In the present work, we explored multiple classification algorithms (K nearest neighbor (KNN), support vector machine (SVM), logistic regression (LR)) to classify EEG signals, and these classification algorithms were carried out using MATLAB R2018b. The sample entropy of different channels was fed as input to the multiple classification algorithms, and the target variables were fatigue state and normal state. For fine KNN and medium KNN, the distance was computed using Euclidean distance and distance weight was equal. For cubic KNN, the distance was computed using Minkowski distance and distance weight was equal. We obtained the highest accuracy when the number of neighbors was 1 for fine KNN and the number of neighbors was 10 for medium KNN and cubic KNN. Additionally, SVMs with three kinds of kernel functions (linear, quadratic, and cubic) were explored and compared, and the kernel scale was automatic.
The performance of the classifiers considered in the present work was evaluated in terms of sensitivity (SEN), specificity (SPE), precision (PRE), and accuracy (ACC), using the following equations:
S e n s i t i v i t y = TP TP + FN × 100 %
S p e c i f i c i t y = TN TN + FP × 100 %
P r e c i s i o n = TP TP + FP × 100 %
A c c u r a n c y = TP + TN TP + TN + FP + FN × 100 %
where TP = true positive, representing the correctly detected fatigue signals; FN = false negative, representing the undetected fatigue signals; FP = false positive, representing the wrong detections; and TN = the number of normal signals.
Furthermore, a receiver operating characteristic (ROC) curve was applied to evaluate the performance of these classification algorithms. The area under the ROC curve (AUC) was also computed to evaluate the classification performance quantitatively.

3. Results

Self-reporting plays an important role in the physiological indicators of driving fatigue. Figure 2 presents the variation in participants’ SSS scores. The results illustrate that participants were not fatigued before the real driving experiments and were quite fatigued after the real driving experiments. The SSS scores increased significantly from 1.8 to 5 (t = −12.829, p < 0.01, df = 9) after the real driving experiments. Subjective indicators reveal that a three-hour continuous real driving experiment does lead to an increase in fatigue.
In the present work, the feature considered, namely SampEn, was used directly on the preprocessed EEG data for each channel from 10 participants. Figure 3 presents the mean and variance of the SampEn in the different channels for 1800 normal and 1800 fatigue EEG data. The y-axis represents the value of SampEn, and the x-axis is for the EEG channels (1, AF3; 2, F7; 3, F3; 4, FC5; 5, T7; 6, P7; 7, O1; 8, O2; 9, P8; 10, T8; 11, FC6; 12, F4; 13, F8; 14, AF4). From Figure 3, it can be seen that the SampEn dissimilarity varies among different channels. More specifically, compared to the normal state, a lower SampEn value for almost all channels in the fatigue state can be observed in Figure 3.
The SampEn was given as input to the different classifiers considered in the present work. Ten-fold cross-validation was adopted to ensure the reliable classification performance of these classifiers. Specifically, the 1800 normal and 1800 fatigue EEG data were divided into ten sub-datasets. Each time, 1 of the 10 sub-datasets was marked as a test dataset, and the other 9 sub-datasets were put together to form a training dataset; the method was repeated 10 times. Finally, the average accuracy for all of the 10 times was calculated. Table 1 lists the performance analysis of these machine learning algorithms considered in this work on the testing dataset. Figure 4 shows 3D confusion matrices for the SampEn feature approach using multiple machine learning algorithms. Classification performance is affected by kernel functions [15]; therefore, we explored multiple classification algorithms (K nearest neighbor (KNN), support vector machine (SVM), logistic regression (LR)) with different kernel functions. From Table 1 and Figure 4, we can see that the detection accuracies of the EEG records based on the SampEn feature vary from 90.0% to 97.2%. Particularly, the proposed methodology achieves the highest accuracy of 97.2% with the cubic SVM classifier. The best performance result is indicated in bold. It can be observed that 95.6% of the fatigue EEG features are correctly classified as fatigue states. Moreover, a small percentage of 4.4% of the normal EEG features are wrongly classified as fatigue states. Additionally, a high percentage of 98.9% of the normal EEG features are correctly classified as normal states and a small percentage of 1.1% of the fatigue EEG features are wrongly classified as normal states. From Figure 5, it can be seen that the proposed methodology achieves the highest sensitivity (SEN) of 95.6%, highest precision (PRE) of 98.9%, and highest specificity (SPE) of 98.9% for the cubic SVM classifier. In addition, the quadratic SVM classifier also shows good performances, with ACC, PRE, SEN, and SPE being 96.4%, 97.7%, 95.0%, and 97.8%, respectively, with the SampEn feature. It detected 171 true positives, 9 false negatives, 4 false positives, and 176 true negatives.

4. Discussion

To illustrate the relationship between true positive rate and false positive rate in an intuitive way, we used a receiver operating characteristic (ROC) graph to evaluate the performance of the proposed method [25,26]. The area under the curve of the ROC (AUC) was calculated to assess the classification performance. Figure 6 presents the ROC curves for cubic SVM (a) and quadratic SVM (b). The y-axis represents the true positive rate and the x-axis represents the false positive rate. More specifically, a perfect result with no misclassified points is a right angle to the top left of the plot. A poor result that is no better than random is a line at 45 degrees. The AUC is a measure of the overall quality of the classifier. Larger AUC values demonstrate better classifier performance [25]. In Figure 6, the two ROC curves for cubic SVM classifier (a) and quadratic SVM classifier (b) show the curves plotted in the upper left, which indicates that these two classifiers achieve good performance with the SampEn feature. The result also shows that the ROC curve for the cubic SVM classifier achieves the best upper left curve compared to the quadratic SVM classifier. Additionally, Figure 6 shows that these two classifiers with the SampEn feature achieve the best performance result with the highest AUC of 1.
To simulate cross-subject driver fatigue recognition, we carried out leave-one-subject-out cross-validation on our dataset. In the leave-one-subject-out cross-validation setting, the data from nine subjects were pooled together and used as the training data to train the classifiers, and the data from the remaining subject were held out from the dataset and reserved as test data. The recognition accuracy was then evaluated on the remaining subject. This procedure was repeated for all 10 subjects. Usually, the leave one-subject-out cross-validation allows us to assess the adaptability of previously trained classifiers on new individuals. Table 2 shows the accuracy of leave-one-subject-out fatigue recognition across multiple machine learning algorithms. Figure 7 shows confusion matrices for leave-one-subject-out fatigue recognition with fine KNN. Performance measures (sensitivity, specificity, precision) of leave-one-subject-out fatigue recognition are presented in Figure 8. It is worth noting that for all 10 subjects, the highest average accuracy for driving fatigue of 97.8% is fine KNN with one neighbor using Euclidean distance and equal distance weight.
For a valid comparison, we used the same experimental data to compare the method considered in the present work with other published methods in terms of classification performance. We adopted the method proposed in [16], using probabilistic neural network and K nearest neighbor for different wavelets (fusion of discrete wavelet packet transform and FFT), and achieved classification accuracy rates of 92% and 89%, respectively. We also attempted the method proposed in [17], calculated 12 types of energy parameters as features, and finally used the regression equation for the classification of fatigue and nonfatigue signals from the O1 channel; the accuracy was 93%. Finally, we used time, spectral, wavelet analysis and neural network classifier, as introduced in [18], and obtained an accuracy of 89.5%. In the present work, we developed a fatigue detection system using SampEn feature and cubic SVM classifier (SCS Model) during real driving based on EEG signals, which gives the highest accuracy of 97.2%, a sensitivity of 95.6%, a specificity of 98.9%, a precision of 98.9%, and the highest value of area under the receiver operating curve (AUC = 1). In addition, compared with current EEG-based fatigue-detection technologies, our system only uses the SampEn feature. The merit of our proposed system is that it is very effective for the analysis of short-length time series and achieves high detection performance with low computational cost. For the deployment of the fatigue detection system proposed in this research, the driver’s EEG signals are continuously collected by EMOTIV EPOC and then wirelessly transmitted to an external laptop via the USB receivers for the SCS model. Finally, it is judged whether the driver is in a state of fatigue.

5. Conclusions

Driver fatigue causes a large proportion of crashes in road driving. Therefore, in this study, we developed a fatigue detection system using the SampEn feature from 14 channels and seven classifiers, namely LR, linear SVM, quadratic SVM, cubic SVM, fine KNN, medium KNN, and cubic KNN, during real driving based on EEG signals. Experimental results show that the highest classification accuracy of 97.2%, a sensitivity of 95.6%, a specificity of 95.7%, a precision of 98.9%, and the highest AUC value of 1 are achieved using SampEn feature and quadratic SVM classifier. It is hence concluded that SampEn is an effectively distinguishing feature for classifying normal and fatigue EEG signals. The proposed system may provide us with a new and promising approach to monitoring and detecting driver fatigue.

Author Contributions

T.Z. conceived the methodology and developed the algorithm; J.C. designed and performed the experiment. T.Z. and J.C. analyzed the data and wrote the paper. H.W. and E.H. finished editing and proofreading. All authors have read and agreed to the published version of the manuscript.

Funding

We gratefully acknowledge the financial support from the National Key R&D Program of China (2017YFB1300300), the Youth Program of National Natural Science Foundation of China (62101355), and the China Postdoctoral Science Foundation (2021M692228).

Institutional Review Board Statement

The study was conducted according to the guidelines of the Declaration of Helsinki, and approved by “NEU” Ethics Committee on 8 June 2014 (01_08/06/14).

Informed Consent Statement

Informed consent will be obtained from all subjects involved in the study.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Conflicts of Interest

The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Luo, H.; Qiu, T.; Liu, C.; Huang, P. Research on fatigue driving detection using forehead eeg based on adaptive multi-scale entropy. Biomed. Signal Process. Control. 2019, 51, 50–58. [Google Scholar] [CrossRef]
  2. Zhang, C.; Sun, L.; Cong, F.; Kujala, T.; Ristaniemi, T.; Parviainen, T. Optimal imaging of multi-channel eeg features based on a novel clustering technique for driver fatigue detection. Biomed. Signal Process. Control. 2020, 62, 102103. [Google Scholar] [CrossRef]
  3. Ng, A.W.Y.; Chan, A.H.S. The effects of driver factors and sign design features on the comprehensibility of traffic signs. J. Saf. Res. 2008, 39, 321–328. [Google Scholar] [CrossRef]
  4. Kar, S.; Bhagat, M.; Routray, A. EEG signal analysis for the assessment and quantification of driver’s fatigue. Transp. Res. Part F-Traffic Psychol. Behav. 2010, 13, 297–306. [Google Scholar] [CrossRef]
  5. Zhang, G.; Yau, K.K.W.; Zhang, X.; Li, Y. Traffic accidents involving fatigue driving and their extent of casualties. Accid. Anal. Prev. 2016, 87, 34–42. [Google Scholar] [CrossRef]
  6. Zhang, W.; Wang, F.; Wu, S.; Xu, Z.; Pingi, J.; Jiang, Y. Partial directed coherence based graph convolutional neural networks for driving fatigue detection. Rev. Sci. Instrum. 2020, 91, 074713. [Google Scholar] [CrossRef]
  7. Shen, K.Q.; Li, X.P.; Ong, C.J.; Shao, S.Y.; Wilder-Smith, E.P. EEG-based mental fatigue measurement using multi-class support vector machines with confidence estimate. Clin. Neurophysiol. 2008, 119, 1524–1533. [Google Scholar] [CrossRef]
  8. Khushaba, R.N.; Kodagoda, S.; Lal, S.; Dissanayake, G. Driver Drowsiness Classification Using Fuzzy Wavelet-Packet-Based Feature-Extraction Algorithm. IEEE Trans. Biomed. Eng. 2011, 58, 121–131. [Google Scholar] [CrossRef] [Green Version]
  9. Ronen, A.; Oron-Gilad, T.; Gershon, P. The combination of short rest and energy drink consumption as fatigue countermeasures during a prolonged drive of professional truck drivers. J. Saf. Res. 2014, 49, 39–43. [Google Scholar] [CrossRef]
  10. Wang, H.; Zhang, C.; Shi, T.W.; Wang, F.W.; Ma, S.J. Real-Time EEG-Based Detection of Fatigue Driving Danger for Accident Prediction. Int. J. Neural Syst. 2015, 25, 14. [Google Scholar] [CrossRef]
  11. Kong, W.; Zhou, Z.; Jiang, B.; Babiloni, F.; Borghini, G. Assessment of driving fatigue based on intra/inter-region phase synchronization. Neurocomputing 2017, 219, 474–482. [Google Scholar] [CrossRef]
  12. Zhao, C.; Zhao, M.; Yang, Y.; Gao, J.; Rao, N.; Lin, P. The Reorganization of Human Brain Networks Modulated by Driving Mental Fatigue. IEEE J. Biomed. Health Inform. 2017, 21, 743–755. [Google Scholar] [CrossRef] [PubMed]
  13. Kim, J.; Park, J.; Park, J. Development of a statistical model to classify driving stress levels using galvanic skin responses. Hum. Factors Ergon. Manuf. Serv. Ind. 2020, 30, 321–328. [Google Scholar] [CrossRef]
  14. Chen, J.; Wang, H.; Hua, C. Assessment of driver drowsiness using electroencephalogram signals based on multiple functional brain networks. Int. J. Psychophysiol. 2018, 133, 120–130. [Google Scholar] [CrossRef]
  15. Chen, J.; Wang, H.; Hua, C. Electroencephalography based fatigue detection using a novel feature fusion and extreme learning machine. Cogn. Syst. Res. 2018, 52, 715–728. [Google Scholar] [CrossRef]
  16. Wali, M.K.; Murugappan, M.; Ahmmad, B. Wavelet Packet Transform Based Driver Distraction Level Classification Using EEG. Math. Probl. Eng. 2013, 2013, 297587. [Google Scholar] [CrossRef]
  17. Li, W.; He, Q.C.; Fan, X.M.; Fei, Z.M. Evaluation of driver fatigue on two channels of EEG data. Neurosci. Lett. 2012, 506, 235–239. [Google Scholar] [CrossRef]
  18. Garces Correa, A.; Orosco, L.; Laciar, E. Automatic detection of drowsiness in EEG records based on multimodal analysis. Med. Eng. Phys. 2014, 36, 244–249. [Google Scholar] [CrossRef]
  19. Kong, W.; Lin, W.; Babiloni, F.; Hu, S.; Borghini, G. Investigating Driver Fatigue versus Alertness Using the Granger Causality Network. Sensors 2015, 15, 19181–19198. [Google Scholar] [CrossRef] [Green Version]
  20. Wang, H.; Chang, W.; Zhang, C. Functional brain network and multichannel analysis for the P300-based brain computer interface system of lying detection. Expert Syst. Appl. 2016, 53, 117–128. [Google Scholar] [CrossRef]
  21. Li, R.; Su, W.; Lu, Z. Physiological signal analysis for fatigue level of experienced and inexperienced drivers. Traffic Inj. Prev. 2017, 18, 139–144. [Google Scholar] [CrossRef] [PubMed]
  22. Huang, H.B.; Li, R.X.; Huang, X.R.; Lim, T.C.; Ding, W.P. Identification of vehicle suspension shock absorber squeak and rattle noise based on wavelet packet transforms and a genetic algorithm-support vector machine. Appl. Acoust. 2016, 113, 137–148. [Google Scholar] [CrossRef] [Green Version]
  23. Mu, Z.; Hu, J.; Min, J. Driver Fatigue Detection System Using Electroencephalography Signals Based on Combined Entropy Features. Appl. Sci. 2017, 7, 150. [Google Scholar] [CrossRef] [Green Version]
  24. Arunkumar, N.; Ramkumar, K.; Venkatraman, V.; Abdulhay, E.; Fernandes, S.L.; Kadry, S.; Segal, S. Classification of focal and non focal EEG using entropies. Pattern Recognit. Lett. 2017, 94, 112–117. [Google Scholar]
  25. Chai, R.; Ling, S.H.; San, P.P.; Naik, G.R.; Nguyen, T.N.; Tran, Y.; Craig, A.; Nguyen, H.T. Improving EEG-Based Driver Fatigue Classification Using Sparse-Deep Belief Networks. Front. Neurosci. 2017, 11, 103. [Google Scholar] [CrossRef] [Green Version]
  26. Fu, R.; Wang, S.; Wang, S. Real-time Alarm Monitoring System for Detecting Driver Fatigue in Wireless Areas. Promet-Traffic Transp. 2017, 29, 165–174. [Google Scholar] [CrossRef] [Green Version]
Figure 1. The names and positions of the electrodes.
Figure 1. The names and positions of the electrodes.
Applsci 11 10279 g001
Figure 2. The variation in participants’ SSS scores in different experimental conditions.
Figure 2. The variation in participants’ SSS scores in different experimental conditions.
Applsci 11 10279 g002
Figure 3. Mean and variance of the SampEn in the different channels.
Figure 3. Mean and variance of the SampEn in the different channels.
Applsci 11 10279 g003
Figure 4. 3D confusion matrices for SampEn feature approach using multiple machine learning algorithms: (a) LR; (b) linear SVM; (c) quadratic SVM; (d) cubic SVM; (e) fine KNN; (f) medium KNN; (g) cubic KNN.
Figure 4. 3D confusion matrices for SampEn feature approach using multiple machine learning algorithms: (a) LR; (b) linear SVM; (c) quadratic SVM; (d) cubic SVM; (e) fine KNN; (f) medium KNN; (g) cubic KNN.
Applsci 11 10279 g004
Figure 5. Performance plot of various classifiers.
Figure 5. Performance plot of various classifiers.
Applsci 11 10279 g005
Figure 6. ROC curves and AUCs (the areas under ROC curves): (a) cubic SVM; (b) quadratic SVM.
Figure 6. ROC curves and AUCs (the areas under ROC curves): (a) cubic SVM; (b) quadratic SVM.
Applsci 11 10279 g006
Figure 7. Confusion matrices for leave-one-subject-out fatigue recognition with fine KNN.
Figure 7. Confusion matrices for leave-one-subject-out fatigue recognition with fine KNN.
Applsci 11 10279 g007
Figure 8. Performance measures of leave-one-subject-out fatigue recognition: (a) sensitivity; (b) specificity; (c) precision.
Figure 8. Performance measures of leave-one-subject-out fatigue recognition: (a) sensitivity; (b) specificity; (c) precision.
Applsci 11 10279 g008
Table 1. Performance analysis of the KNN, SVM, and LR machine learning algorithms on the testing dataset (The best performance result is indicated in bold).
Table 1. Performance analysis of the KNN, SVM, and LR machine learning algorithms on the testing dataset (The best performance result is indicated in bold).
ClassifiersTPFNFPTNAccuracy (%)Sensitivity (%)Specificity (%)Precision (%)
LR163171616490.8%90.6%91.1%91.1%
Linear SVM161191716390.0%89.4%90.6%90.4%
Quadratic SVM1719417696.4%95.0%97.8%97.7%
Cubic SVM1728217897.2%95.6%98.9%98.9%
Fine KNN16713117996.1%92.8%99.4%99.4%
Medium KNN15822417692.8%87.8%97.8%97.5%
Cubic KNN15822717391.9%87.8%96.1%95.8%
Table 2. Accuracy of leave-one-subject-out fatigue recognition.
Table 2. Accuracy of leave-one-subject-out fatigue recognition.
Subject IDLRLinear SVMQuadratic SVMCubic SVMFine KNNMedium KNNCubic KNN
189.4%90.0%93.6%93.1%98.3%94.4%94.7%
290.6%91.1%93.3%95.8%97.8%94.2%93.9%
392.5%92.8%95.8%96.9%97.8%95.8%95.6%
490.8%90.8%93.9%95.6%98.6%93.9%93.6%
590%90.8%91.9%93.6%97.8%92.8%92.2%
690.6%91.1%93.3%95.6%97.8%94.2%93.9%
790.8%92.5%93.9%94.4%97.2%94.7%95.0%
891.7%91.7%92.8%95%97.5%94.4%93.9%
991.1%91.4%93.9%95.8%97.8%94.2%93.3%
1089.4%93.1%93.1%95.6%97.8%93.9%94.4%
Average90.69%91.53%93.55%95.14%97.8%94.25%94.05%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, T.; Chen, J.; He, E.; Wang, H. Sample-Entropy-Based Method for Real Driving Fatigue Detection with Multichannel Electroencephalogram. Appl. Sci. 2021, 11, 10279. https://doi.org/10.3390/app112110279

AMA Style

Zhang T, Chen J, He E, Wang H. Sample-Entropy-Based Method for Real Driving Fatigue Detection with Multichannel Electroencephalogram. Applied Sciences. 2021; 11(21):10279. https://doi.org/10.3390/app112110279

Chicago/Turabian Style

Zhang, Tao, Jichi Chen, Enqiu He, and Hong Wang. 2021. "Sample-Entropy-Based Method for Real Driving Fatigue Detection with Multichannel Electroencephalogram" Applied Sciences 11, no. 21: 10279. https://doi.org/10.3390/app112110279

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop