Multi-source heterogeneous data fusion-based driver cognitive distraction behavior identification method and system
Through multi-source heterogeneous data fusion and deep neural network models, the problem of insufficient accuracy and real-time performance in cognitive distraction behavior detection in the existing technology is solved, and efficient identification and real-time identification of drivers' cognitive distraction behavior are achieved. Safety warning has significantly improved road traffic safety.
Patent Information
- Application Number
- CN202410877448.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technology has insufficient accuracy and robustness in detecting drivers' cognitive distraction behaviors. It is particularly difficult to identify cognitive distractions that lack obvious external features, and is not real-time enough to provide effective safety protection in complex driving environments. .
Using a method based on multi-source heterogeneous data fusion, by fusing vehicle operating data, driver physiological data and image data, combined with a deep neural network model, an initial driver cognitive distraction recognition model is constructed, the data is collected and analyzed in real time, and the recognition output is results and provide security warnings.
It improves the recognition accuracy and real-time performance of drivers' cognitive distraction behavior, can detect and provide immediate safety warnings in complex driving environments in real time, significantly reduces traffic accidents caused by distracted driving, and improves road traffic safety.
Smart Images

Figure CN118709019A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent driving assistance systems, and in particular to a method and system for identifying driver's cognitive distraction behavior based on multi-source heterogeneous data fusion. Background Art
[0003] There are three main types of distracted driving: visual distraction, manual distraction and cognitive distraction. Visual distraction occurs when the driver takes their eyes off the road, such as checking their phone or the in-car display. Manual distraction occurs when the driver takes their hands off the steering wheel, such as adjusting the radio or eating. Cognitive distraction occurs when the driver's attention is diverted from the driving task, such as talking to a passenger or thinking about other issues.
[0004] Compared with visual distraction and manual distraction, cognitive distraction is more hidden and difficult to detect. Cognitive distraction does not show obvious external characteristics, such as changes in the driver's line of sight or hand movements, but involves the driver's internal thinking and attention state. This makes it difficult for traditional distraction detection methods based on external characteristics to effectively identify cognitive distraction. In addition, the impact of cognitive distraction on driving behavior may be more serious, because when the driver's attention is distracted, he may not be able to react and deal with sudden traffic situations in time, increasing the risk of traffic accidents. Therefore, research on cognitive distracted driving has important practical significance and urgency.
[0005] Currently, much research and technology development is focused on detecting and reducing distracted driving behaviors. However, existing technologies still have many limitations in detecting driver distraction. Most existing distraction detection systems rely mainly on a single type of data source, such as visual data or vehicle operation data. These systems often lack detection accuracy and robustness when faced with complex driving environments (such as light changes, occlusions, etc.). In addition, cognitive distraction is more difficult to detect and quantify due to the lack of obvious external features.
[0006] In order to improve the accuracy and reliability of distracted driving behavior recognition, multi-source heterogeneous data fusion methods have emerged. By fusing data from different sensors (such as vehicle operation data, driver physiological data, and image data, etc.), the driver's state and behavior can be more comprehensively reflected, thereby improving the ability to detect distracted behavior. For example, combining the driver's facial expressions and eye movement trajectories with the vehicle's speed, direction and other data can more accurately determine whether the driver is in a distracted state.
[0007] Deep learning technology has made significant progress in image processing and behavior recognition, and has become an important tool for distracted driving behavior detection. By building deep neural network (DNN) and convolutional neural network (CNN) models, a large amount of complex driving data can be analyzed and processed, thereby achieving efficient distracted behavior recognition. For example, some studies have used deep learning models to analyze the driver's facial expressions and head movements to identify whether he is distracted.
[0008] In order to deal with the problem of distracted driving, governments and relevant agencies have also taken a series of measures. For example, the National Transportation Safety Board (NTSB) of the United States recommends that states prohibit drivers from using handheld devices. At the same time, many new cars have integrated advanced driver assistance systems (ADAS) such as lane departure warning and automatic emergency braking to reduce accidents caused by distracted driving. However, policies and single technical means alone are not enough to completely solve this problem. Intelligent systems that combine multi-source data fusion and deep learning technology are expected to become an important direction for the identification of distracted driving behavior in the future.
[0009] In summary, a method and system for identifying driver cognitive distraction based on multi-source heterogeneous data fusion is proposed, which not only has important theoretical significance, but also can provide effective technical support for improving road traffic safety. This method can achieve efficient identification of driver distraction by comprehensively utilizing vehicle operation data, image data and other physiological data, combined with deep learning technology, thus providing a new solution for reducing traffic accidents and improving driving safety. Summary of the invention
[0010] In order to solve the above technical problems, the present invention proposes a method and system for identifying driver cognitive distraction behavior based on multi-source heterogeneous data fusion. By fusing numerical data and image data and using a deep neural network model, efficient identification of driver cognitive distraction behavior is achieved, thereby improving driving safety.
[0011] On the one hand, to achieve the above-mentioned purpose, the present invention provides a method for identifying driver's cognitive distraction behavior based on multi-source heterogeneous data fusion, comprising:
[0012] Collecting vehicle driving data and driver human factor information, preprocessing the vehicle driving data and driver human factor information, performing feature-level fusion based on the preprocessed data, and generating a fusion feature vector;
[0013] Constructing an initial driver cognitive distraction recognition model, and training the initial driver cognitive distraction recognition model based on the fused feature vector and the deep neural network to obtain the driver cognitive distraction recognition model;
[0014] The vehicle driving data and driver's human factors information collected in real time are processed and input into the driver's cognitive distraction recognition model, the recognition result is output, and the recognition result is uploaded to the cloud server.
[0015] Preferably, the vehicle driving data and driver human factors information are collected, including:
[0016] The speed sensor, acceleration sensor and direction sensor respectively collect the vehicle's driving speed, acceleration and driving direction;
[0017] The heart rate data and skin potential response data of the driver are collected respectively by a heart rate sensor device and a skin electrical response sensor device;
[0018] Collecting the driver's facial image in real time by means of a camera device;
[0019] Among them, each device is connected to the vehicle-mounted central processing unit through the CAN bus for real-time transmission and processing of data.
[0020] Preferably, the vehicle driving data and the driver's human factor information are preprocessed, including preprocessing the numerical data and preprocessing the image data;
[0021] The numerical data is preprocessed as follows:
[0022] The box plot method is used to clean the data, remove outliers, standardize the cleaned data to eliminate the differences between different dimensions, and use factor analysis to extract key features; the standardization methods include minimum and maximum value standardization, Z value standardization or PCA whitening method;
[0023] The image data is preprocessed as follows:
[0024] The collected driver's facial image data is grayed out, and the grayscale image is histogram-equalized. Finally, the Haar cascade classifier is used to detect the driver's facial area and extract facial features.
[0025] The processed images are divided into non-cognitive distracted driving images and cognitive distracted driving images.
[0026] Preferably, the initial driver cognitive distraction recognition model comprises: an input layer, a hidden layer and an output layer, wherein the input layer is set to 1 layer, including 24 nodes; the hidden layer is set to 15 layers, each layer includes a number of neurons, and an ELU activation function is used; the output layer includes 1 node;
[0027] When training the initial driver cognitive distraction recognition model, the Adam optimizer is used to optimize the model parameters, and the Dropout mechanism is used to prevent overfitting.
[0028] Preferably, the recognition result includes the driver's cognitive distraction behavior and severity, wherein the severity is displayed through a graphical interface.
[0029] Preferably, the method can also provide a safety warning according to the identification result, and the warning method includes:
[0030] Visual warning: Display warning information on the in-car display screen, including flashing warning signs or eye-catching text prompts;
[0031] Sound warning: a warning sound is played through the car's audio system;
[0032] Vibration reminder: A vibration device is embedded in the steering wheel or seat. When distraction is detected, the device vibrates to attract the driver's attention.
[0033] Preferably, uploading the recognition result to a cloud server includes:
[0034] The recognition results and data are uploaded to the cloud server through the built-in wireless communication module, and the locally stored data is synchronized to the cloud regularly or in real time. During the uploading process, the data format is converted at the same time.
[0035] On the other hand, in order to achieve the above-mentioned purpose, the present invention also provides a driver cognitive distraction behavior recognition system based on multi-source heterogeneous data fusion, comprising:
[0036] Data collection module: used to collect vehicle driving data and driver’s human factors information;
[0037] Data preprocessing module: used for preprocessing the vehicle driving data and driver human factor information, including preprocessing numerical data and preprocessing image data;
[0038] Data fusion module: used to fuse the pre-processed numerical data and image data to generate a fused feature vector;
[0039] Recognition model training module: used to construct an initial driver cognitive distraction recognition model, train the initial driver cognitive distraction recognition model based on the fused feature vector and the deep neural network, and obtain the driver cognitive distraction recognition model;
[0040] Identification module: used to analyze the real-time collected data through the driver cognitive distraction identification model to identify the driver's cognitive distraction behavior;
[0041] Result output module: used to output recognition results and provide corresponding safety warnings; wherein the recognition results include the type and severity of distracting behaviors.
[0042] Preferably, the data acquisition module comprises:
[0043] Vehicle operation information collection unit: used to collect vehicle speed, acceleration and direction data;
[0044] Human factors information collection unit: used to collect the driver's physiological data;
[0045] Image information acquisition unit: used to collect the driver's facial image and eye movement trajectory data.
[0046] Preferably, the data preprocessing module includes:
[0047] Numerical data preprocessing unit: used to clean, standardize and extract features of vehicle operation data and human factor data;
[0048] Image data preprocessing unit: used to grayscale, histogram equalize and detect the driver's facial image.
[0049] Compared with the prior art, the present invention has the following advantages and technical effects:
[0050] (1) The present invention constructs a multi-dimensional feature vector by fusing numerical data and image data, so that the recognition model can comprehensively analyze the various behaviors and states of the driver;
[0051] (2) The present invention can accurately identify cognitive distraction behaviors by comprehensively analyzing the driver's facial expressions, eye movement trajectories, vehicle operation data, and physiological data. The deep neural network model based on fused data performs better in identifying cognitive distraction behaviors than the single data source model and can better capture the driver's cognitive distraction state;
[0052] (3) The present invention improves the real-time processing capability of the system through optimized algorithm and model design. The deep learning model is used to quickly process and analyze multi-source data, so that the system can detect and identify the driver's distracted behavior in real time during actual driving, providing the driver with immediate safety warnings. The system of the present invention has a high response speed and processing efficiency when processing complex driving scenarios;
[0053] (4) The implementation of the present invention can significantly reduce traffic accidents caused by distracted driving, improve road traffic safety, and thus bring significant social and economic benefits, and can effectively reduce the incidence of accidents, reduce economic losses and social burdens. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0055] Figure 1 A schematic diagram of the structure of a driver's cognitive distraction behavior recognition system based on multi-source heterogeneous data fusion according to an embodiment of the present invention;
[0056] Figure 2 A schematic diagram of an electrocardiogram signal waveform according to an embodiment of the present invention;
[0057] Figure 3 A schematic diagram of a box plot for detecting outliers according to an embodiment of the present invention;
[0058] Figure 4 The integral original image of the embodiment of the present invention;
[0059] Figure 5 Schematic diagram of the extended Haar feature in an embodiment of the present invention;
[0060] Figure 6 This is a flow chart of feature-level data fusion according to an embodiment of the present invention;
[0061] Figure 7 It is an ELU activation function diagram of an embodiment of the present invention;
[0062] Figure 8 This is a DNN network model diagram of an embodiment of the present invention;
[0063] Fig. 9 This is a DNN accuracy change curve diagram of an embodiment of the present invention;
[0064] Fig.10 This is a DNN loss value variation curve of an embodiment of the present invention;
[0065] Fig.11 Schematic diagram of the DNN confusion matrix of an embodiment of the present invention. DETAILED DESCRIPTION
[0066] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0067] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0068] The existing technology has several deficiencies in the identification of driver distraction behavior, which are mainly reflected in the following aspects:
[0069] 1. Single data source: Currently, most distracted driving detection systems rely on a single type of data source, such as vehicle operation data or image data. This method is difficult to fully capture the driver's state and behavior, resulting in insufficient detection accuracy and robustness.
[0070] 2. Limited detection methods: Existing detection methods mostly use traditional machine learning algorithms or simple rule-based detection. These methods are not very effective in dealing with complex and changing driving environments, especially in situations such as light changes and occlusion, where detection performance is significantly reduced.
[0071] 3. Cognitive distraction is difficult to quantify: Compared with visual distraction and manual distraction, cognitive distraction is difficult to detect and quantify by traditional methods due to the lack of obvious external features. Existing systems have limited ability to detect cognitive distraction and cannot effectively prevent traffic accidents caused by cognitive distraction.
[0072] 4. Lack of real-time performance: Many distraction detection systems have high computational complexity when processing and analyzing data, which results in the system being unable to respond to and detect the driver's distracted behavior in real time, and thus unable to provide effective safety protection during actual driving.
[0073] The present invention provides a method and system for identifying driver's cognitive distraction behavior based on multi-source heterogeneous data fusion, which specifically solves the following technical problems:
[0074] 1. Data diversity: By integrating numerical data (including vehicle operation data and human factor data) and image data (including driver’s face images), comprehensive monitoring of the driver’s status and behavior can be achieved, and the accuracy and robustness of distraction behavior recognition can be improved.
[0075] 2. Advanced detection methods: Utilize advanced deep learning technologies such as deep neural networks (DNN) and convolutional neural networks (CNN) to efficiently process and analyze multi-source heterogeneous data, overcoming the limitations of traditional methods in complex driving environments.
[0076] 3. Cognitive distraction detection: By comprehensively analyzing the driver's facial expressions, eye movement trajectories, vehicle operation data and physiological data, it can accurately identify cognitive distraction behaviors and make up for the shortcomings of existing systems in cognitive distraction detection.
[0077] 4. Improved real-time performance: The use of optimized algorithms and models significantly improves the system's real-time processing capabilities, enabling it to detect and identify distracting behaviors in real time during actual driving, providing drivers with immediate safety reminders and warnings.
[0078] In order to realize the method and system for identifying driver's cognitive distraction behavior based on multi-source heterogeneous data fusion proposed by the present invention, its specific implementation method will be described in detail below.
[0079] A driver's cognitive distraction behavior recognition method based on multi-source heterogeneous data fusion, comprising:
[0080] Collecting vehicle driving data and driver human factor information, preprocessing the vehicle driving data and driver human factor information, performing feature-level fusion based on the preprocessed data, and generating a fusion feature vector;
[0081] Constructing an initial driver cognitive distraction recognition model, and training the initial driver cognitive distraction recognition model based on the fused feature vector and the deep neural network to obtain the driver cognitive distraction recognition model;
[0082] The vehicle driving data and driver's human factors information collected in real time are processed and input into the driver's cognitive distraction recognition model, the recognition result is output, and the recognition result is uploaded to the cloud server.
[0083] Specifically include:
[0084] 1. Data collection: When the vehicle starts, each sensor and camera begins to collect data in real time and transmits it to the data preprocessing module through the CAN bus and Ethernet interface.
[0085] 2. Data preprocessing:
[0086] (1) Cleaning, standardization and feature extraction of numerical data.
[0087] ①Vehicle operation data
[0088] According to previous studies, the following vehicle operation data parameters are selected for research. The specific parameters are shown in Table 1 below.
[0089] Table 1
[0090]
[0091] The speed in Table 1 refers to the longitudinal speed of the vehicle; the acceleration of the vehicle is divided into lateral acceleration and longitudinal acceleration. The vehicle acceleration is The steering wheel of the simulated driver can rotate 900 degrees, or two and a half circles. 0 means that the steering wheel is not turned, and 1 means that the steering wheel has reached the maximum rotation range. From 0 to 1 is the process of gradually increasing the steering wheel rotation range. In the lane where the vehicle is driving, with the center line of the driving lane as the reference, a vehicle deviation to the left is recorded as a negative value, and a vehicle deviation to the right is recorded as a positive value.
[0092] In this embodiment, 11 variables, including speed mean, speed standard deviation, lateral acceleration mean, lateral acceleration standard deviation, longitudinal acceleration mean, longitudinal acceleration standard deviation, following distance mean, following distance standard deviation, steering wheel rotation amplitude, mean of vehicle position offset from the center of the driving lane, and standard deviation of vehicle position offset from the center of the driving lane, are selected as characteristic indicators.
[0093] Since the distraction task is imposed on the driver, the driver's brain load in each distraction task can be considered stable, so the vehicle speed, lateral acceleration, longitudinal acceleration, following distance obtained by subtracting the distance between the front and rear vehicles, vehicle position offset, and steering wheel rotation amplitude collected every 5 seconds are averaged as a sample data of following car after processing. The mean of the selected indicators is as follows, and the specific calculation formula is as follows:
[0094]
[0095] G=s”-s' (4)
[0096]
[0097]
[0098] Where v' refers to the average speed of the vehicle within 5 seconds, v1, v2, ..., v n refers to the instantaneous vehicle speed counted within 5 seconds, n refers to the number of instantaneous vehicle speed counted within 5 seconds; a x ' refers to the average lateral acceleration of the vehicle within 5 seconds, a x1 , a x2 , …, a xm Refers to the instantaneous lateral acceleration counted within 5 seconds, a y ′ refers to the average longitudinal acceleration of the vehicle within 5 seconds, a y1 , a y2 , …, a ym It refers to the instantaneous longitudinal acceleration counted within 5 seconds, m refers to the number of acceleration counted within 5 seconds. For the convenience of data statistics, the following distance between the guide vehicle and the vehicle is counted once every 5 seconds of vehicle travel. s" is the distance traveled by the guide vehicle, s' is the distance traveled by the vehicle, G is the following distance, R is the average steering amplitude of the steering wheel within 5 seconds, R1, R2, ..., R r is the instantaneous steering amplitude counted within 5 seconds, r is the number of steering wheel turns within 5 seconds; L refers to the vehicle position offset from the center of the driving lane. In the original data, the left offset is a negative value, and the right offset is a positive value. Since we only look at the offset of the vehicle from the center of the lane, we take the absolute value of L here, L1, L2, …, L l Refers to the offset counted every 5 seconds, and l refers to the number of offsets within 5 seconds.
[0099] An example of the processing results of the average value of the above vehicle operation data is shown in Table 2.
[0100] Table 2
[0101]
[0102] The calculation formulas for the selected indicators, the standard deviation of speed, the standard deviation of lateral acceleration, the standard deviation of longitudinal acceleration, the standard deviation of following distance, and the standard deviation of the vehicle position offset from the center of the driving lane are as follows:
[0103]
[0104]
[0105] In the formula, v s is the standard deviation of velocity, a xs is the standard deviation of lateral acceleration, a ys is the standard deviation of longitudinal acceleration, G s is the standard deviation of the following distance, L s is the standard deviation of the vehicle position offset from the center of the driving lane.
[0106] After the collected vehicle data was processed preliminarily in the above steps, 11 characteristic indicators were selected. Each driver obtained 1020 seconds of vehicle driving test data. According to a time series sample of 5 seconds, the 1st to 5th seconds was a sample, the 2nd to 6th seconds was a sample, ..., the 166th to 170th seconds was a sample. Each driver had a total of 996 samples. 16 drivers obtained a total of 15936 samples, including 7968 normal driving samples, 2656 low-load cognitive distraction samples, 2656 medium-load cognitive distraction samples, and 2656 high-load cognitive distraction samples. The standard deviation of some vehicle data preliminarily counted is shown in Table 3.
[0107] Table 3
[0108]
[0109] In order to facilitate the establishment of the recognition model later, the normal driving data is divided into one data set, and the low-load cognitive distracted driving, medium-load cognitive distracted driving, and high-load cognitive distracted driving are divided into one data set, totaling two data sets, and the samples are labeled, and the 7968 normal driving data sets are marked as 0, and the 7968 low-, medium-, and high-load cognitive distracted driving data sets are marked as 1. In order to train and test the model more directly, 7500 normal driving data sets are randomly selected from the 7968 normal driving data sets, and 7500 data sets are selected from the 7968 different degrees of cognitive distracted driving data sets, including 2500 low-level cognitive distracted driving data sets, 2500 medium-level cognitive distracted driving data sets, and 2500 high-level cognitive distracted driving data sets.
[0110] ②Physiological data
[0111] According to different experimental scenarios each time, the sensor connected to the data acquisition computer host receives the signal and collects the corresponding skin electricity, electrocardiogram, electromyography and other physiological data. Since the derived values are raw data, they need to be quantified. The mean can reflect the central trend of the data. The standard deviation is also called standard deviation. It is a set of measures of the degree of dispersion of the mean value of a set of data, which can reflect the degree of dispersion of the data set. The following data indicators are selected to study the characteristics of cognitive distracted drivers. The specific indicator parameters are shown in Table 4.
[0112] Table 4
[0113]
[0114] Physiological signal indicators can detect the driver's psychological load, inattention and distraction to a certain extent. According to the Yerkes-Dodson law, as the driver's psychological load increases, the pressure generated will lead to distraction. As for the generation mechanism of ECG, from a macroscopic perspective, the right atrium of the human body receives venous blood from the whole body, which is pumped out from the pulmonary artery by the right ventricle. At this time, the venous blood flows in the pulmonary artery. Through gas exchange in the lungs, it becomes oxygen-rich arterial blood, which is sent to the left atrium by the pulmonary vein, and then pumped to various tissues and organs throughout the body through the aorta of the left ventricle to meet the needs of their normal physiological activities. In this cycle, a complete electrocardiogram waveform is formed, also known as the P-QRS-T wave, such as Figure 2 shown.
[0115] The selected ECG signal features are concentrated on the RR interval in the QRS band and its adjacent QRS band. The most commonly used in driving behavior are the heart rate HR and heart rate variability HRV derived from the RR interval. Heart rate HR refers to the number of heartbeats per minute, and heart rate variability refers to the slight difference in time between consecutive normal (sinus) cardiac cycles. Under physiological conditions, the generation of HRV is mainly due to the regulation of the autonomic activity of the heart's sinoatrial node through factors such as the sympathetic and vagus nerves, nerve centers, pressure reflexes and respiratory activities, which generally causes a difference of tens of milliseconds between heart beats. Commonly used related indicators for HRV are AVHR, AVNN, and SDNN. There may be noise in the collected physiological data (heart rate, skin electricity). The Process function of the main interface of various physiological signal analysis of the Psylab human factors system is used to remove white noise in the physiological signal. The relevant calculations and meanings of the characteristic indicators in Table 4 above are as follows:
[0116] AVHR (beats / minute): This value represents the average heart rate value of the ECG signal in the distraction experiment every 5 seconds.
[0117] AVNN (milliseconds): This value represents the average heartbeat interval of the distracted driver's ECG signal every 5 seconds, that is, the average of all RR intervals in this time period.
[0118]
[0119] Where n rr is the number of RR intervals in each 5-second distraction experiment segment, RR i is the value of the i-th RR interval.
[0120] SDNN (milliseconds): refers to the standard deviation of the heartbeat intervals of the distracted driver every 5 seconds, representing the standard deviation of the RR intervals. This value can be used to assess the magnitude of the overall change in HRV (heart rate variability).
[0121]
[0122] Where n p The total number of heart beats during this period, RR i The meaning of is the same as that of formula (13), Represents the average value of normal RR intervals during the period.
[0123] Next, we will introduce the selected electrodermal (EDA) and electromyographic (EMG) indicators. Studies have shown that the above indicators, including electrocardiogram (ECG) signals, can reflect the mental workload of the human body to a certain extent. When the driver is in a cognitive load task, his load level can reflect the changes in physiological indicators to a certain extent.
[0124] E m:This value represents the mean skin electrical value, and is calculated as follows:
[0125]
[0126] In the formula, the collected skin electrical value is in seconds, n t For every 5 seconds of distraction experiment time, E i is the skin electrical value at the i-th second in each distraction experiment.
[0127] E s :This value represents the standard deviation of skin electrical activity and is calculated as follows:
[0128]
[0129] In the above formula, n t , E i , E m The meaning of is the same as that of formula (15), which will not be repeated here.
[0130] The source signal of the electromyographic signal is from the brain. The electromyographic signal is the bioelectric current generated by the contraction of the surface muscles of the human body. In this embodiment, the standard deviation of the electromyographic signal is selected to discuss and analyze the next step of research. Table 5 below is the processing results of some human factor data indicator parameters.
[0131] Table 5
[0132]
[0133] ③Data cleaning
[0134] Data cleaning is the first step after data collection, and its purpose is to improve data quality and facilitate the next step of data analysis. Outliers refer to individual values in the collected data samples, whose values are significantly deviated from other observed values. During the simulated driving experiment, outliers may appear in the experimental data due to factors such as failure of the experimental equipment itself, improper operation of the experimenter, and external environment. Therefore, after collecting the data, it is necessary to select appropriate methods to deal with outliers.
[0135] The box plot, also known as the box-and-whisker plot, is a statistical analysis method that detects outliers in data based on the descriptive information of the features and the range of feature values. It uses five statistics in the data: minimum value, first quartile (Q1), median, third quartile (Q3), and maximum value to describe the data. Outliers are defined as less than Q1-1.5IQR or greater than Q3+1.5IQR. IQR refers to the interquartile range, which is the difference between the first quartile and the third quartile, which is half of all observed values.
[0136] If there are abnormal values (also called outliers) in the collected data, which exceed the maximum value (upper edge value) or the minimum value (lower edge value), the abnormal values will be displayed as dots. The box plot detects abnormal values as follows Figure 3 shown.
[0137] ④Data standardization
[0138] The driving simulator and human factors equipment are used to obtain the data information of the driving vehicle and the physiological signals of the driver, that is, numerical data. After the original data is collected, due to the different sources of the sample features and different measurement units, in order to eliminate the correlation between different features, after the box plot method is used to process the abnormal data, the original data samples need to be standardized to achieve a more ideal recognition result. Common methods of data standardization include minimum and maximum value standardization (Min-max Normalization), Z-score normalization (Z-Score Normalization), PCA whitening, etc. The following is a detailed introduction:
[0139] (1) Minimum and maximum value standardization
[0140] The minimum and maximum standardization process is a linear transformation of the original data. It normalizes the value range of each feature to [0, 1] or [-1, 1] by scaling. For each dimension feature x i , i = 1, 2, ..., p, p represents the number of characteristic variables, and the characteristic value of the jth sample is x ij , j = 1, 2, ..., n s , n s is the total number of samples, after normalization:
[0141]
[0142] So that the result value is between [0,1], where x ij is the original value, min(x i ) is the feature x i The minimum value of all samples, max(x i ) is the feature x i The maximum value over all samples, It is the value after linear transformation of the original data.
[0143] (2) Z-value standardization
[0144] Z-value standardization is also called Z-value normalization, which can effectively improve the ability of data analysis. Due to the different orders of magnitude and units of various feature indicators, directly using the original data will affect the analysis of indicators with different values. Z-value standardization is to map the sample values of a set of data to a standard distribution with a mean of 0 and a standard deviation of 1. For each dimension of feature x i , the mean μ and standard deviation σ of the original data are as follows:
[0145]
[0146] z i The new eigenvalue obtained after standardization is calculated as follows:
[0147]
[0148] Among them, n s is the total number of samples.
[0149] ⑤ Feature extraction based on factor analysis
[0150] The method of feature-level data fusion is selected to fuse the data. After the above preliminary collection and processing of vehicle data and human factor data, there may be a certain correlation between their variables. In order to eliminate the correlation, reduce the data processing time and improve the accuracy of the built model. The factor analysis method is selected to reduce the dimension of the data, use fewer variables to explain most of the variables in the data, and perform factor analysis on vehicle operation information parameters and human factor information parameters. The division of human factor data set samples is consistent with the division of vehicle operation information data set samples. The main steps of factor analysis are as follows.
[0151] (1) First, the divided vehicle operation information and human factor information sample data need to be standardized.
[0152] (2) Calculate the correlation coefficient matrix of the selected original vehicle operation information parameters and human factor information parameters to determine whether there is a correlation between the original variables, so as to test whether factor analysis can be performed.
[0153]
[0154] In the above formula, R cov represents the covariance matrix (i.e., correlation coefficient matrix) between the parameters of each indicator, Q represents the sample set after data standardization, And Q i =(q i1 ,q i2 ,…,q i(p-1) ,q ip ) T , p represents the number of variables, p = 17, i = 1, 2, ..., ns , n s The representative sample size is 15,000.
[0155] (3) Next, we solve the factor loading matrix and select the principal component method to solve the factor loading matrix. According to the correlation coefficient matrix solved in the previous step, there are p variables, that is, there are p principal components. Arrange these p principal components from large to small in the order of variance. The principal components are Y1, Y2, ..., Y p The following relationship is satisfied with the original variable:
[0156]
[0157] In the above formula, α ij The eigenvalue λ of the correlation coefficient matrix representing the random vector X i The corresponding unit orthogonalized eigenvector components, since the eigenvectors are mutually orthogonal, the conversion between X and Y is also reversible, thus obtaining the following formula (23):
[0158]
[0159] In the above formula (23), only the first k principal components are left, that is, only the first k terms are left in each equation in the above formula, and the rest are represented by ε i To represent (i=1,2,…,p), the above formula (23) can be transformed into the following formula:
[0160]
[0161] In the above formula (24), Y1, Y2, ..., Y k Y m are independent of each other, Y1, Y2, ..., Y k , ε1, ε2, …, ε m are independent of each other, var(Y i )=λ i , so let So var(F i )=1, so Formula (24) can be transformed into the following formula (25):
[0162]
[0163] Obtain a set of initial common factors F1, F2, ..., F k and the factor loading matrix A, where
[0164]
[0165] (4) Rotate the factor loading matrix to better explain the common factors. There are two major methods of factor rotation: orthogonal rotation and oblique rotation. This embodiment adopts the most commonly used maximum variance orthogonal rotation. The factor model after orthogonal rotation is as follows (26):
[0166]
[0167] In the above formula, F1 * , F * 2, …, F * k represents the new common factor obtained after factor rotation, and A' is the new common factor obtained after rotation.
[0168] The factor loading matrix is
[0169] (5) Finally, calculate the factor scores and use the regression method to calculate the factor scores.
[0170] F i * =β i1 X1+β i2 X2+…β ip X p (i=1,2,…,k) (27)
[0171] In the above formula, β i1 , β i2 , …β ip Representing F1 * , F * 2, …, F * k In the factor score function, X1, X2, …, X p The coefficient of .
[0172] The processed vehicle operation information data and human factor data are subjected to factor analysis to obtain the characteristic vector F i * (i=1, 2, ..., k), so as to establish a cognitive distracted driving behavior recognition model based on a neural network according to the feature vector later.
[0173] (2) Image data is grayscaled, histogram equalized and face detected.
[0174] ① Image grayscale processing and face capture
[0175] After acquiring the images, we get 7968 normal driving images, 2656 low-load cognitive distracted driving images, 2656 medium-load cognitive distracted driving images, and 2656 high-load cognitive distracted driving images. Next, we will grayscale the image dataset. The images captured from the video are color images. For each color, its representation model defines a color space. The RGB color space is the most common color space. RGB images are represented by three color channels: red (R), green (G), and blue (B). These three primary colors are mixed in different proportions to obtain various colors. However, RGB images are not suitable for image processing. Converting them into grayscale images is convenient for reducing the amount of calculation in subsequent processing. Grayscale images take up less memory than color images, can also improve the running speed, and increase the contrast visually, thereby highlighting the target area.
[0176] Image grayscale refers to the process of converting a color image into a gray image. Therefore, the grayscale image changes from the original three color channels of the RGB image to one channel, that is, the three components of R, G, and B are equal. In the grayscale image, grayscale refers to the color value of each pixel, which refers to the color depth of the point in the black and white image. There are 256 grayscale image levels, ranging from 0-255. The brightness of the pixel gradually becomes brighter from 0 to 255. The minimum pixel value is black, which is 0, and the maximum pixel value is white, which is 255.
[0177] There are three most commonly used methods for image grayscale algorithms, namely the maximum value method, the average value method, and the weighted average value method. In this paper, the weighted average value method is selected to grayscale the original RGB image because this method can adjust the weight value according to the needs to highlight the features of interest in the image or reduce the influence of noise. Compared with other methods, this method can better retain the detail information in the original image, making the grayscale image more recognizable. The calculation formula of the weighted average method is shown in the following formula (28):
[0178] Gray=0.2989*R+0.5870*G+0.1140*B(28)
[0179] In the above formula, Gray represents the color after grayscale processing, R, G, and B represent the pixel values of the red, green, and blue color channels respectively, and the numbers before R, G, and B are weights set according to the sensitivity of the human eye to different colors.
[0180] ②Histogram equalization
[0181] After converting the color image into a grayscale image, the grayscale histogram is then used to adjust the contrast of the image. The grayscale histogram refers to the function of the grayscale level of the image. Generally speaking, the horizontal axis refers to the 256 grayscale levels of 0-255, and the vertical axis refers to the probability of the occurrence of pixels at that grayscale level. It represents the statistical relationship between each grayscale level in the digital image and the number of pixels that reflect that grayscale. The definition of the grayscale histogram is shown in the following formula (29):
[0182]
[0183] In the above formula, r k is the kth gray level, N represents the total number of pixels in the image, n k is the number of grayscale pixels at level k, P(r k ) refers to r k Frequency of occurrence.
[0184] Histogram equalization is to transform the grayscale histogram of the original image from a relatively concentrated grayscale interval to a distribution with a wider grayscale range. It is a histogram correction method that uses the cumulative distribution function of the grayscale level r as the transformation function. Let p(r) represent the grayscale probability density function of the grayscale level r of the original image. The histogram equalization transformation function is as follows:
[0185]
[0186] In the above formula, T(r) represents the cumulative distribution function of r, s increases monotonically with the increase of r, and the maximum value is 1.
[0187] For each captured image, since it has L gray levels, N total number of pixels, the jth gray level r j The corresponding number of pixels is n j , and obtain the transformation function T(r) after histogram equalization:
[0188]
[0189] ③OpenCV-Haar cascade face detection
[0190] The cascade classifier based on Haar features was first proposed and improved by Viola and Jones in 2001. The present invention uses Haar cascade classifier to perform face recognition. The core idea is to determine whether a given image matches a known object by analyzing adjacent image regions. Haar features can be divided into the following four types, namely edge features, linear features, center features and diagonal features. Haar features use black and white rectangular frames to form a feature template, and define the feature value of the template as the pixel sum of the white rectangular pixel block minus the pixel sum of the black rectangular pixel block. Through the above method, the difference of the rectangular frame can be used to represent the features of the face. For example, the color of the eyes is darker than other parts of the face, and the color on both sides of the bridge of the nose is darker than the bridge of the nose. For the rectangular frame of the Haar feature, there are the following three variables, namely the position, size and type of the rectangle. Although the above variables can fully obtain feature information, they are limited by the number of variables and the number of features, resulting in an increase in the amount of calculation and high complexity.
[0191] To solve the above problem, some scholars proposed the concept of integral map. The principle is to start from the second traversal of the image and use the values of the four corners of the rectangular area retained in the first traversal of the image to provide the sum of the required pixels, as follows Figure 4 The original integral image is shown. In this way, if you need to calculate the area of any rectangular region in the image, you do not need to traverse all the pixels in the region.
[0192] In order to further improve the computational efficiency, some scholars later expanded the above four types of features, namely edge features, linear features, circle center surround features and specific direction features, as shown below. Figure 5 As shown in the figure, OpenCV uses the Haar cascade classifier to locate the face of a person based on the above.
[0193] After the Haar cascade classifier locates the face, in order to improve the accuracy of the model, the equalized image needs to be cropped, because the face only occupies a small area of the entire image. By cropping the face, the number of pixels that need to be processed can be reduced, thereby improving computational efficiency.
[0194] Since the position of the driving simulator seat is fixed during the simulated driving experiment, the only thing that changes is the different drivers. After many tests, the driver's face is located in an area 100 pixels to the left and 20 pixels above the captured image. The cropped image pixel is 192*192. Since the image has been grayscaled, the pixel value of the cropped face image is 36864 (192*192).
[0195] ④Build a driving behavior image dataset
[0196] After a series of operations such as video frame capture, grayscale, histogram equalization, face detection and cropping, the collected video data is subjected to a series of operations, and a 192*192 pixel image is obtained. In order to facilitate the training and testing of the model, 7500 normal driving images, 2500 low-load cognitive distracted driving images, 2500 medium-load cognitive distracted driving images, and 2500 high-load cognitive distracted driving images are selected from the normal driving images and different levels of cognitive distracted driving images to establish a driver image dataset, with a total of 15,000 images. The 7500 normal driving images are marked as 0, and the other 7500 cognitive distracted driving images are marked as 1.
[0197] 3. Data fusion: The preprocessed numerical data and image data are fused at the feature level to generate a 24-dimensional fused feature vector.
[0198] Feature-level data fusion is selected to process the data, and on this basis, a cognitive distracted driving behavior recognition model based on deep neural network (DNN) is established. Figure 6 This is the feature level data fusion flow chart.
[0199] In the data preprocessing stage, by performing factor analysis on the selected vehicle operation information data and human factor data, 8 common factors are finally obtained. In order to facilitate the subsequent feature-level fusion, the 8 common factors obtained after factor analysis are normalized. The following Table 6 shows the results after normalization.
[0200] Table 6
[0201]
[0202]
[0203] By using CNN to extract features from the captured normal driving face pictures and the face pictures of the driver's cognitive distraction, the output value of the second fully connected layer in the CNN network model is the extracted feature vector, and the feature vector size is 1*16, so the extracted driving face pictures are all 16-dimensional feature vectors. Table 7 below shows the normalized results.
[0204] Table 7
[0205]
[0206] Since the sample size and time of the two types of data collected are consistent, the present invention concatenates the feature vectors of the two types of data, laying the foundation for the subsequent establishment of a cognitive distraction behavior recognition model based on the above two types of data. Table 8 below shows the fused 24-dimensional vector.
[0207] Table 8
[0208]
[0209] 4. Model Construction
[0210] A deep neural network (DNN) is selected to establish a driver cognitive distraction recognition model based on the fused numerical data and image data, and the 24-dimensional feature vector after feature-level fusion is used as the input layer node.
[0211] For the selection of back-propagation algorithm, the Adam (Adaptive Momentum) optimizer is selected, which is mainly based on two main ideas: momentum method and adaptive learning rate. The purpose of momentum method is to introduce momentum in the process of gradient descent to speed up convergence and reduce oscillation; the purpose of adaptive learning rate is to automatically adjust the learning rate according to the change of gradient to obtain better results in different parameter update stages. The following is the principle calculation formula of Adam algorithm, which uses exponentially weighted moving average to estimate the momentum and second moment of gradient, that is, it uses state variables, see the following formulas (32) and (33).
[0212] v t =β1v t-1 +(1-β1)g t (32)
[0213] s t =β2s t-1 +(1-β2)g t 2 (33)
[0214] Where β1 and β2 are non-negative weighted parameters, usually set β1 = 0.9, β2 = 0.999. t ,s t Initialized to 0, and β1 and β2 are close to 1. During the update process, especially in the initial stage, v t ,s t tends to 0. To solve this problem, use To solve, the standardized state variable is obtained by the following formula (34).
[0215]
[0216] Rescaling the gradient yields equation (35), choosing ∈ = 10 -6 , in order to achieve a good balance between numerical stability and realism.
[0217]
[0218] That is, as shown in formula (36).
[0219] x t =x t-1 -g t ′ (36)
[0220] For the selection of activation function in the hidden layer, the ELU (Exponential Linear Unit) function is selected as the activation function. The ELU function reduces the influence of the bias, making the normal gradient closer to the unit natural gradient, which can accelerate the learning of the mean toward zero. Compared with the RELU (Rectified Linear Unit) activation function, the ELU activation function avoids the problem of neuron death and can obtain negative output, which can help the neural network push the weight and bias changes in the right direction. It is activated when the gradient is calculated instead of changing its value to 0. Figure 7 It is the ELU activation function graph.
[0221] The DNN neural network recognition model constructed by the present invention includes an input layer, which uses the 24-dimensional feature vector obtained after feature-level fusion as the input layer, a hidden layer is set to 15 layers, and an output layer is 1 layer, that is, the prediction result of the output model. The deep neural network driver cognitive distraction behavior recognition model established based on numerical data and image data is as follows Figure 8 shown.
[0222] 5. Model training: Based on the fused feature vector, the DNN model is used for training to optimize the model parameters.
[0223] The numerical data and driver face image data after feature-level fusion are input into the deep neural network model DNN. The number of samples is 15,000. The training set and test set of the samples are divided according to the same 8:2 division ratio. The training set data samples are 12,000 and the test set data samples are 3,000. Among the 3,000 data samples, there are 1,500 normal driving samples and 1,500 cognitive distracted driving samples. The model is iterated 25 times. Fig. 9 This is the accuracy curve of the model after 25 training iterations. Fig.10 The loss value change curve of the model training iteration 25 times.
[0224] After 25 iterations of training the deep neural network DNN model, the recognition accuracy of the model reached 86.5%, reaching more than 85%, and the loss value was maintained at around 0.33, with good model recognition results. To further evaluate the effect of the model, the confusion matrix and other related indicators are used for further evaluation. The confusion matrix obtained based on the deep neural network DNN model is shown in the figure below. Fig.11As shown, there are 3000 samples in the test set. Among the 1500 groups of normal driving data samples, 1284 groups of samples are correctly predicted by the model, and 165 groups of samples are incorrectly predicted by the model; among the 1500 groups of cognitive distracted driving data samples, 1260 groups of samples are correctly predicted by the model, and 240 groups of samples are incorrectly predicted by the model.
[0225] Similarly, according to Fig.11 From the confusion matrix diagram, it can be seen that the classification accuracy of the model is (Accuracy) is 86.50%, Accuracy = (1335 + 1260) / (1335 + 1260 + 165 + 240), the precision (Precision) is 84.76%, Precision = 1335 / (1335 + 240), the recall rate (Recall) is 89%, Recall = 1335 / (1335 + 165), and the F1Score is 86.83%, F1Score = (2 × Precision × Recall) / (Precision + Recall). The accuracy of the above recognition model has reached more than 85%.
[0226] 6. Real-time recognition: The recognition module receives real-time data, identifies the driver's cognitive distraction behavior through the trained deep neural network (DNN) model, and outputs the recognition results and safety warnings. The specific steps are as follows:
[0227] (1) Data Reception
[0228] The recognition module receives real-time data from the data acquisition module, including vehicle operation information, human factor information and image data. These data are transmitted to the recognition module through the CAN bus and Ethernet interface.
[0229] Vehicle operation data: including speed, acceleration, direction and other information.
[0230] Human factors data: including physiological information such as heart rate and skin electrical response.
[0231] Image data: includes the driver's facial image (including the eye area).
[0232] (2) Data preprocessing
[0233] Before the data enters the recognition module, it is preprocessed. The preprocessing module includes:
[0234] Numerical data preprocessing unit: performs data cleaning, standardization and feature extraction.
[0235] Image data preprocessing unit: grayscale conversion, histogram equalization and face detection.
[0236] (3) Feature Fusion
[0237] The preprocessed numerical data and image data are fused at the feature level to generate a fused feature vector. The specific steps include:
[0238] Extract feature vectors from numeric data.
[0239] Extract feature vectors from image data.
[0240] The above feature vectors are concatenated to form a fused feature vector.
[0241] (4) Model prediction
[0242] The fused feature vector is analyzed and predicted through the trained deep neural network (DNN) model. The specific steps are as follows:
[0243] Input layer: contains 24 nodes, corresponding to the fused feature vector.
[0244] Hidden layer: 15 layers are set, each layer contains several neurons, and the ELU (Exponential Linear Unit) activation function is used.
[0245] Output layer: contains 1 node and outputs the recognition results.
[0246] (5) Recognition result output
[0247] The recognition results are output through the in-car display and voice prompt system to provide immediate safety warnings. The specific steps include:
[0248] Recognition result display: Displays the type and severity of the driver’s distracted behavior.
[0249] Safety warning: Provide corresponding safety reminders and warning information based on the identification results.
[0250] (6) Data storage and management
[0251] The recognition results can be stored in the vehicle storage device and transmitted to the cloud server through the wireless communication module for further analysis and management. The specific steps include:
[0252] Local storage: Store the recognition results in the vehicle's onboard storage device for subsequent analysis and inspection.
[0253] Cloud storage: Upload data to the cloud server through the wireless communication module to achieve remote storage and management of data.
[0254] Through the above steps, the recognition module can identify the driver's cognitive distraction behavior in real time and efficiently, and provide timely safety warnings, thereby improving driving safety.
[0255] 7. Result output: The result output module is responsible for displaying and recording the recognition results and uploading the data to the cloud server. The specific functions and operation steps of this module are as follows:
[0256] (1) Display of recognition results
[0257] After receiving the output of the recognition module, the recognition result module is responsible for displaying the recognition results on the in-vehicle display screen. These results include the driver's cognitive distraction behavior and severity.
[0258] Cognitive distraction behaviors: Displays identified cognitive distraction behaviors (e.g., visual distraction, manual distraction, or cognitive distraction).
[0259] Severity of distraction: The severity of distraction is displayed through a graphical interface (such as color coding or warning signs) to help drivers intuitively understand the current driving status.
[0260] (2) Safety warning
[0261] To ensure driving safety, the recognition result module provides immediate safety warnings when distracted behavior is detected. These warnings are communicated to drivers in a variety of ways, including:
[0262] Visual warning: Displays a warning message on the in-car display, such as a flashing warning sign or eye-catching text prompt.
[0263] Sound warning: A warning sound is played through the car's audio system to remind the driver to pay attention to the current driving status.
[0264] Vibration reminder: A vibration device is embedded in the steering wheel or seat. When distraction is detected, the device vibrates to attract the driver's attention.
[0265] (3) Data recording and local storage
[0266] Identification results and warning information not only need to be displayed in real time, but also need to be recorded and stored for subsequent analysis and use.
[0267] Local storage: The recognition results and warning information are stored in the vehicle storage device. The stored information includes cognitive distraction behavior, severity, timestamp and related data (such as vehicle speed, physiological data and image data).
[0268] Data compression and encryption: Before storage, data is compressed and encrypted to ensure storage efficiency and data security.
[0269] (4) Upload data to the cloud
[0270] In order to achieve centralized data management and further analysis, the recognition result module also uploads the data to the cloud server.
[0271] Wireless communication module: The recognition results and related data are uploaded to the cloud server through the built-in wireless communication module (such as 4G / 5G module or Wi-Fi).
[0272] Data synchronization: Regularly or in real time synchronize locally stored data to the cloud to ensure the timeliness and integrity of cloud data.
[0273] Data format conversion: During the upload process, the data format is converted to meet the storage and processing requirements of the cloud server.
[0274] (5) Cloud data management and analysis
[0275] Data uploaded to the cloud can be centrally managed and deeply analyzed to improve the overall performance and security of the system.
[0276] Data storage: Store all uploaded data on cloud servers and establish a centralized data warehouse.
[0277] Data analysis: Utilize cloud computing resources to conduct in-depth data analysis and mining to extract valuable information, such as driver behavior patterns and the causes of distracted behavior.
[0278] Remote access and management: Through the cloud platform, users and system administrators can remotely access and manage data, enabling real-time monitoring and analysis of data.
[0279] Through the above steps, the result output module can effectively display and record the recognition results, provide timely safety warnings, and upload the data to the cloud server to achieve centralized data management and further analysis, thereby improving driving safety and the overall performance of the system.
[0280] In summary, the present invention achieves efficient recognition of driver's cognitive distraction behavior by fusing multi-source heterogeneous data and utilizing deep learning technology, providing an effective technical means for improving road traffic safety.
[0281] This embodiment also provides a driver's cognitive distraction behavior recognition system based on multi-source heterogeneous data fusion, such as Figure 1 ,include:
[0282] Data collection module: used to collect vehicle driving data and driver’s human factors information;
[0283] Data preprocessing module: used for preprocessing the vehicle driving data and driver human factor information, including preprocessing numerical data and preprocessing image data;
[0284] Data fusion module: used to fuse the pre-processed numerical data and image data to generate a fused feature vector;
[0285] Recognition model training module: used to construct an initial driver cognitive distraction recognition model, train the initial driver cognitive distraction recognition model based on the fused feature vector and the deep neural network, and obtain the driver cognitive distraction recognition model;
[0286] Identification module: used to analyze the real-time collected data through the driver cognitive distraction identification model to identify the driver's cognitive distraction behavior;
[0287] Result output module: used to output recognition results and provide corresponding safety warnings; wherein the recognition results include cognitive distraction behaviors and severity.
[0288] The data acquisition module includes:
[0289] Vehicle operation information collection unit: used to collect vehicle speed, acceleration and direction data;
[0290] Human factors information collection unit: used to collect the driver's physiological data;
[0291] Image information acquisition unit: used to acquire the driver's facial image (including the eye area).
[0292] The data preprocessing module includes:
[0293] Numerical data preprocessing unit: used to clean, standardize and extract features of vehicle operation data and human factor data;
[0294] Includes: Data cleaning: Clean the data collected by vehicle information sensors and human information sensors to remove abnormal values. Data standardization: Standardize the cleaned data to eliminate the differences between different dimensions. Feature extraction: Use factor analysis to extract key features, such as speed, acceleration, heart rate changes, etc.
[0295] Image data preprocessing unit: used to grayscale, histogram equalize and detect the driver's facial image.
[0296] Includes: Grayscale processing: convert the color image captured by the camera into a grayscale image to reduce the computational complexity. Histogram equalization: perform histogram equalization on the grayscale image to improve the image contrast. Face detection: use the Haar cascade classifier to detect the driver's facial area and extract facial features.
[0297] The present invention integrates multi-source heterogeneous data and uses a deep neural network model to achieve efficient recognition of driver cognitive distraction, thereby improving driving safety. The specific technical effects are as follows:
[0298] 1. Improve recognition accuracy and robustness
[0299] By fusing numerical data (such as vehicle operation data and human factor data) and image data (such as driver's face image), the present invention constructs a multi-dimensional feature vector, so that the recognition model can comprehensively analyze the driver's various behaviors and states.
[0300] 2. Effectively detect cognitive distraction behaviors
[0301] The existing technology has limited ability to detect cognitive distraction, but the present invention can accurately identify cognitive distraction behavior by comprehensively analyzing the driver's facial expressions, eye movement trajectories, vehicle operation data and physiological data.
[0302] 3. Improve the real-time performance of the system
[0303] The present invention improves the real-time processing capability of the system through optimized algorithm and model design. The deep learning model (such as DNN and CNN) is used to quickly process and analyze multi-source data, so that the system can detect and identify the driver's distracted behavior in real time during actual driving, and provide the driver with immediate safety warning. The system of the present invention has a high response speed and processing efficiency when processing complex driving scenarios.
[0304] 4. Social and economic benefits
[0305] The implementation of the present invention can significantly reduce traffic accidents caused by distracted driving, improve road traffic safety, and thus bring significant social and economic benefits. According to statistics, traffic accidents caused by distracted driving cause a large number of casualties and economic losses every year. Through the system of the present invention, the incidence of these accidents can be effectively reduced, reducing economic losses and social burdens.
[0306] 5.Scientific analysis and test results
[0307] Through multiple simulation experiments and actual road tests, the system of the present invention has demonstrated excellent performance in various driving environments. The system can operate stably under different light, weather and road conditions and accurately identify the driver's cognitive distraction behavior.
[0308] In summary, the present invention realizes efficient recognition of driver's cognitive distraction behavior through multi-source data fusion and deep learning technology, significantly improves the accuracy and real-time performance of recognition, provides strong technical support for improving road traffic safety, and has significant social and economic benefits.
[0309] The above are only preferred specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A driver cognitive distraction behavior recognition method based on multi-source heterogeneous data fusion, characterized in that: include: Collecting vehicle driving data and driver human factor information, preprocessing the vehicle driving data and driver human factor information, performing feature-level fusion based on the preprocessed data, and generating a fusion feature vector; Constructing an initial driver cognitive distraction recognition model, and training the initial driver cognitive distraction recognition model based on the fused feature vector and the deep neural network to obtain the driver cognitive distraction recognition model; The vehicle driving data and driver's human factors information collected in real time are processed and input into the driver's cognitive distraction recognition model, the recognition result is output, and the recognition result is uploaded to the cloud server.
2. The method for identifying driver's cognitive distraction behavior based on multi-source heterogeneous data fusion according to claim 1 is characterized in that: Collect vehicle driving data and driver information, including: The speed sensor, acceleration sensor and direction sensor respectively collect the vehicle's driving speed, acceleration and driving direction; The heart rate data and skin potential response data of the driver are collected respectively by a heart rate sensor device and a skin electrical response sensor device; Collecting the driver's facial image in real time by means of a camera device; Among them, each device is connected to the vehicle-mounted central processing unit through the CAN bus for real-time transmission and processing of data.
3. The driver cognitive distraction behavior recognition method based on multi-source heterogeneous data fusion according to claim 1 is characterized in that: Preprocessing the vehicle driving data and the driver's human factor information, including preprocessing numerical data and preprocessing image data; The numerical data is preprocessed as follows: The box plot method is used to clean the data, remove outliers, standardize the cleaned data to eliminate the differences between different dimensions, and use factor analysis to extract key features; the standardization methods include minimum and maximum value standardization, Z value standardization or PCA whitening method; The image data is preprocessed as follows: The collected driver's facial image data is grayed out, and the grayscale image is histogram-equalized. Finally, the Haar cascade classifier is used to detect the driver's facial area and extract facial features. The processed images are divided into non-cognitive distracted driving images and cognitive distracted driving images.
4. The method for identifying driver's cognitive distraction behavior based on multi-source heterogeneous data fusion according to claim 3 is characterized in that: The initial driver cognitive distraction recognition model includes: an input layer, a hidden layer and an output layer, wherein the input layer is set to 1 layer, including 24 nodes; the hidden layer is set to 15 layers, each layer includes a number of neurons, and an ELU activation function is used; the output layer includes 1 node; When training the initial driver cognitive distraction recognition model, the Adam optimizer is used to optimize the model parameters, and the Dropout mechanism is used to prevent overfitting.
5. The method for identifying driver's cognitive distraction behavior based on multi-source heterogeneous data fusion according to claim 1, characterized in that: The recognition result includes the driver's cognitive distraction behavior and severity, wherein the severity is displayed through a graphical interface.
6. The method for identifying driver's cognitive distraction behavior based on multi-source heterogeneous data fusion according to claim 5 is characterized in that: The method can also provide a safety warning based on the recognition result, and the warning method includes: Visual warning: Display warning information on the in-car display screen, including flashing warning signs or eye-catching text prompts; Sound warning: a warning sound is played through the car's audio system; Vibration reminder: A vibration device is embedded in the steering wheel or seat. When distraction is detected, the device vibrates to attract the driver's attention.
7. The method for identifying driver's cognitive distraction behavior based on multi-source heterogeneous data fusion according to claim 6 is characterized in that: Uploading the recognition result to the cloud server includes: The recognition results and data are uploaded to the cloud server through the built-in wireless communication module, and the locally stored data is synchronized to the cloud regularly or in real time. During the uploading process, the data format is converted at the same time.
8. A driver cognitive distraction behavior recognition system based on multi-source heterogeneous data fusion, characterized in that: include: Data collection module: used to collect vehicle driving data and driver’s human factors information; Data preprocessing module: used for preprocessing the vehicle driving data and driver human factor information, including preprocessing numerical data and preprocessing image data; Data fusion module: used to fuse the pre-processed numerical data and image data to generate a fused feature vector; Recognition model training module: used to construct an initial driver cognitive distraction recognition model, train the initial driver cognitive distraction recognition model based on the fused feature vector and the deep neural network, and obtain the driver cognitive distraction recognition model; Identification module: used to analyze the real-time collected data through the driver cognitive distraction identification model to identify the driver's cognitive distraction behavior; Result output module: used to output recognition results and provide corresponding safety warnings; wherein the recognition results include the type and severity of distracting behaviors.
9. The driver cognitive distraction behavior recognition system based on multi-source heterogeneous data fusion according to claim 8 is characterized in that: The data acquisition module comprises: Vehicle operation information collection unit: used to collect vehicle speed, acceleration and direction data; Human factors information collection unit: used to collect the driver's physiological data; Image information acquisition unit: used to acquire the driver's facial image.
10. The driver cognitive distraction behavior recognition system based on multi-source heterogeneous data fusion according to claim 8, characterized in that: The data preprocessing module comprises: Numerical data preprocessing unit: used to clean, standardize and extract features of vehicle operation data and human factor data; Image data preprocessing unit: used to grayscale, histogram equalize and detect the driver's facial image.
Citation Information
Patent Citations
Cognitive distraction assessing method and system
CN107233104A
Cloud-based driver state early warning reporting and distribution system
CN108022451A
Driving style identification algorithm based on factor analysis and machine learning
CN112046489A
Power load prediction method based on principal component analysis and LSTM neural network
CN113139605A
Hierarchical driver cognitive distraction detection system
CN113171095A
Cited By
Device and system for dynamic human driving analysis
CN120902748A
