Abstract

Drivers’ mistakes may cause some traffic accidents, and such accidents can be avoided if prompt advice could be given to drivers. So, how to detect driving risk is the key factor. Firstly, the selected parameters of vehicle movement are reaction time, acceleration, initial speed, final speed, and velocity difference. The ANOVA results show that the velocity difference is not significant in different driving states, and the other four parameters can be used as input variables of neural network models in deceleration zone of expressway, which have fifteen different combinations. Then, the detection model results indicate that the prediction accuracy rate of testing set is up to 86.4%. An interesting finding is that the number of input variables is positively correlated with the prediction accuracy rate. By applying the method, the dangerous state of vehicles could be released through mobile internet as well as drivers' start of risky behaviors, such as fatigue driving, drunk driving, speeding driving, and distracted driving. Numerical analyses have been conducted to determine the conditions required for implementing this detection method. Furthermore, the empirical results of the present study have important implications for the reduction of crashes.

1. Introduction

The road traffic system consists of drivers, roads, vehicles, and environment. Traffic safety is an important part in the field of social management, and 90% of traffic accidents are caused by drivers' risky behavior [1, 2]. There are four typical risky driving behaviors: fatigue driving, drunk driving, speeding driving, and distracted driving. Human, vehicle, road, and environmental risk factors are connected with fatigue-related traffic accidents, and fatigue driving is a major cause of traffic accidents [3]. Drunk driving is one of the major behavioral issues connected with problematic alcohol consumption [4]. Speed is one of the most important factors in traffic safety as higher speeds are linked to increased crash risk and higher injury severities [5]. The young adults are easily at the highest risk of engaging in distracted driving [6]. In this paper, the state of driving risk is the behaviors during deceleration zone, which can easily cause adverse consequences.

The process of driving behavior will be presented in specific vehicle movement. The parameters of vehicle movement are generally vehicle speed, acceleration, and vehicle trajectory [7]. So, the driving risk can be identified by observing parameters of vehicle movement [8]. Many measures have been proposed to monitor the driving risk, but they mainly focus on the determination of the driver’s physiological indicators [911]. Neural network is an important method to detect driving risk [12]. With the fast development and adoption of vehicle-to-infrastructure (V2I) facilities, it is very convenient to detect driving risk, and the accuracy of the detection model is a key factor [1315]. So, a neural network model of high accuracy will be established to identify driving risk in this paper.

Speed is one of the most important factors in traffic safety, and on-ramps and off-ramps in expressway are typical sections [16]. The work zone in expressways has higher rear-end crash risk than that in arterials [17]. There is strong relationship between speed compliance and the frequency and severity of traffic accidents [18]. Vehicle speed changing and driver reaction time can be measured accurately in deceleration zone of expressway [19, 20]. So, five typical parameters are selected to represent the vehicle speed changing and driver reaction time. Besides, a generalized regression neural network (GRNN) is used as a correlation method of the five typical parameters [21].

The study of driving risk detection is carried out based on GRNN model in deceleration zone of expressway, which aims to reduce the incidence of accidents and provide security for drivers’ safety.

2. Influencing Factors Analysis for Driving Risk

According to the relevant research results, there are three main factors to affect the driver’s driving ability [22], which are as follows:

Fatigue causes the driver’s body function to be unbalanced

Distracted driving makes it difficult for drivers to concentrate their attention, due to interference from external factors

There is temporary injury of the driver, such as a decrease in the actual working ability of the driver, which is due to side effects of drugs and alcohol

The state of vehicle in the deceleration zone is a specific expression of the situation in which the driver manipulates the vehicle, and it can determine whether the driver is in a dangerous condition. An important feature of drivers in a dangerous situation is an increase in reaction time of the operating vehicle, which is manifested in the running state of the vehicle. So the reaction time of deceleration is longer when traveling through the deceleration zone. The related studies have shown that drivers who are in dangerous driving conditions often respond to sudden speed brakes to reduce the speed of the vehicle. Therefore, excessive acceleration is a poor condition for driving. In addition, when the vehicle is traveling through the deceleration zone, if the speed is too large and the speed is not lowered than the prescribed speed, it is also a dangerous driving state [23]. So, it is useful to detect drivers’ state via parameters of vehicle movement.

In order to establish the detection model for driving risk, the five indicators are initially selected as characterization indicators of the danger driving assessment, which are reaction time, acceleration, initial speed, final speed, and velocity difference. The details are given in Table 1. According to the characteristics of the deceleration zone, we designed the detection process of dangerous driving state, which is as showed in Figure 1.

3. Experimental Testing and Data Optimization

The goal of this experiment is to collect data of drivers and vehicles in the deceleration zone, such as acceleration, reaction time, initial speed, final speed, and velocity difference. It is the data foundation for constructing the detection model for driving risk.

3.1. Experimental Implementation Process

Based on the experimental purpose, we have developed a comprehensive data acquisition program via simulated driving experiments. We chose the scene of expressway deceleration zone in the simulated driving platform as the typical section, and the simulated driving platform contains multiple sensors for collecting behavior and vehicle signals, which has been applied to various driving behavior experiments [24].

There are four driving states of “normal driving,” “speeding driving,” “distracted driving,” and “fatigue driving.” Each driver continues to be tested for about 30 minutes under the four driving conditions. Experimental equipment collects drivers’ physiological information, vehicle operating parameters, and driving environment information in real time. Drivers control the simulated driving platform to complete the natural operation according to the requirements of the experimental operation process, and the multiple sensors collect five required indicators, namely, the initial speed , the final speed , the velocity difference , the reaction time , and the acceleration .

When the experiment is completed, the data of each driver’s personality, vehicle running status, and driving environment are summarized, and the driving experimental database in the expressway deceleration zone is established to complete the detection model.

3.2. Extraction for Effective Data

According to the experimental scheme, we need to obtain the information of five raw parameters via the multiple sensors, and the parameters are the initial speed , the corresponding time when the drivers see the speed limit sign, the time when driver’s action starts to decelerate via seeing the speed limit sign, the time when the drivers decelerate to a certain speed and are about to move at a constant speed, and the final speed at time . After obtaining the above sample data, the reaction time , the velocity difference , and the acceleration can be calculated according to formulas (1), (2), and (3). After the above processing, we can get the five required indicators, namely, the initial speed , the final speed , the velocity difference , the reaction time , and the acceleration .

In this simulation experiment, each driver has to perform three normal driving processes and three dangerous driving processes. The dangerous driving process is divided into speeding driving, distracted driving, and fatigue driving. For normal driving, we stipulate that the driving speed cannot exceed the speed limit value of the relevant section in the expressway. Since the maximum speed of the expressway in China is 120 km/h, the parts of data whose speed is larger than 120 km/h have been excluded. For dangerous driving, due to the simulation characteristics and the errors in the experimental operation, we also have eliminated the invalid data. The style and composition of data are shown in Table 2.

In this experiment, we have obtained more than 60 hours of data from 31 drivers, and the uniform sampling method is used to extract 332 sets of valid data in the normal and dangerous state [25]. Specifically, there are 266 samples in the training set, 133 samples of which are in the normal state and dangerous state, respectively; there are 66 samples in the testing set, 33 samples of which are in the normal state and dangerous state, respectively.

3.3. Screening for Optimal Characterization

Table 2 is the raw data set based on multiple sensors, and each set of data contains five indicators of acceleration, reaction time, initial speed, final speed, and velocity difference. In the next step, the one-way ANOVA is used to test whether the five indicators have significant differences between normal and dangerous states, and the tested indicators are selected as the best indicators of driving risk [26]. The test results are given in Table 3.

The analysis results in Table 3 show that there are significant differences (P<0.05) in the initial speed, final speed, reaction time, and acceleration between normal and dangerous states. This is to say, the above four indicators can be used as the ideal indicators of driving risk. However, the velocity difference did not pass the ANOVA testing. So, the four indicators of acceleration, reaction time, initial speed, and final speed will be used as indicators for the detection mode recognition of driving risk.

4. Detection Model of Driving Risk Based on GRNN

4.1. Structure for Classic GRNN

In many nonlinear models that solve the problem of supervised pattern recognition, the artificial neural network models are widely used due to their excellent adaptive ability. Besides, in actual modeling and computation, the GRNN exhibits higher prediction accuracy and faster computational speed than other nonlinear models. So, the GRNN model has been selected to solve this pattern recognition problem. GRNN is a feed-forward neural network model based on nonlinear regression theory, which is composed of four layers in the structure, which are input layer, pattern layer, summation layer, and output layer [27]. The classic structure of GRNN is shown in Figure 2.

The input matrix is , and the output matrix is . The number of input layer neurons is equal to the dimension of the input matrix in the training sample. The input layer only sends the sample variables to the pattern layer and does not participate in the real operation. The number of pattern layer neurons is equal to the number of training set samples, and the layer neuron transfer function is

The summation layer uses two types of neurons for summation. The first type computes the sum of the output lines of all pattern layer neurons. The pattern layer and each neuron have a connection weight of 1, and the first type summation function is

The second type weights the neurons of all pattern layers, and the connection weight between the pattern layer and each neuron is taken as the output matrix of training set, and the second type summation function is

Each neuron in the output layer is associated with the two type results of the summation layer. The output function is

The GRNN can achieve good nonlinear mapping ability and learning speed. Its weight and threshold are given in the training sample in one step. It does not have to be iterated, and the calculation amount is small.

4.2. Algorithm Process of GRNN

The GRNN has been used to construct the detection model of driving risk in deceleration zone of expressway, and the algorithm process is as follows [28].

4.2.1. Generating Training Sets and Testing Sets

To avoid generality, we use a random method to generate training sets and testing sets. As mentioned above, the experimental data includes the categories of driving status (normal driving and dangerous driving) and four indicators (acceleration, reaction time, initial speed, and final speed). Some sample data are shown in Table 4. Specifically, there are 266 samples in the training set and 66 samples in the testing set.

4.2.2. Creating GRNN Model Group for Driving Risk

We use the toolbox function “newgrnn” of MATLAB neural network to create the GRNN models, and a total combination of the four variables has been established. It can be divided into 15 groups, and each model is constructed separately. For example, the variable of input layer in model 1 is the initial speed, and the variables of input layer in model 2 are the initial speed and final speed. The combinations for input variables are shown in Table 5 corresponding to the 15 GRNN models.

4.2.3. Simulation Testing

After the GRNN model for driving risk is established, the input matrix of the testing set can be taken into the model, and the output of the model is the corresponding prediction result.

4.2.4. Performance Evaluation

By calculating the error between the prediction category and the actual category of the testing set, the generalization ability of the GRNN model on driving risk can be evaluated. At the same time, the MATLAB function “cputime” can be used to calculate the running time of the program, which is to measure the running speed and performance of the program.

4.3. Discussion of Results

Since the training set and the testing set are randomly generated, the results of every calculation are slightly different. The consequences of the certain program operation have been randomly selected. So, the prediction accuracy, running time, and optimal model testing results of the model group are, respectively, shown in Figures 3, 4, and 5. After analysis, the GRNN model group of the driving risk detection in deceleration zone can clearly give the following results:

It can be seen from Figure 3 that the GRNN models have good generalization ability, and the best prediction accuracy rate of testing set is up to 86.4%

As can be seen from Figure 3, the numbers of GRNN model established by inputting each variable alone are model 1, model 5, model 8, and model 10 (acceleration, reaction time, initial speed, and final speed). Among them, the GRNN model established by acceleration alone has the worst performance, and the correct rate is just 59%. The GRNN models with separate input of reaction time, initial speed, and final speed have better performance, and the correct rate is, respectively, 74%, 80%, and 79%. This illustrates that the correlation between acceleration and vehicle motion is small, but the correlation between initial speed, final speed, reaction time, and vehicle motion is large

In Figure 3, the input variable of model 1 is acceleration, the input variables of model 2 are acceleration and reaction time, the input variables of model 3 are acceleration, reaction time, and initial speed, and the input variables of model 4 are acceleration, reaction time, initial speed, and final speed. It can be seen from Figure 3 that the prediction accuracy is gradually improved from model 1 to model 4, and the same rules are applied to models 5–7 and models 8-9, which indicates that multiple factors contribute to the recognition of the driving state. The number of input variables is positively correlated with the prediction accuracy rate

It can be seen from Figure 4 that the average running time of the 15 models is about 0.2 s, which is much faster than the BP neural network algorithm

The prediction result of testing set drawn in Figure 5 is the corresponding optimal driving risk detection for model 4, and it is a typical model in which four parameters (acceleration, reaction time, initial speed, and final speed) are involved in the operation. The prediction accuracy of model 4 is 86.4%, which is higher than the other models

5. Conclusion

One of the negatively influential issues regarding social life is a traffic accident. It has negative impacts on people’s lives and well-being due to increasing their travel pressure. It has to be mentioned that it would not only threaten individuals’ health, but also disturb the management system because of economic loss.

The study aims to develop driving risk detection model of deceleration zone in expressway. In this research, it is considered to increase prediction accuracy for the GRNN model. The four parameters have been selected via the ANOVA analysis. So, it is clear that number of input variables is positively correlated with the prediction accuracy rate. For this purpose, fifteen models are proposed to choose the best prediction model. Therefore, the risk of driving would be decreased remarkably if the GRNN model is used to detect vehicle movement.

In the future work, there are two aspects to improve. Firstly, more parameters should be collected and input to the GRNN model, in order to heighten the prediction accuracy rate. Then, data from actual traffic conditions are available to validate the simulated data.

Data Availability

The "variance analysis results of various indicators" data used to support the findings of this study are included within the article. The "sample data for training sets and testing sets" data used to support the findings of this study are currently under embargo while the research findings are commercialized. Requests for data, 12 months after publication of this article, will be considered by the corresponding author.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The study is supported by the National Natural Science Foundation of China (NO. 71701070), the Natural Science Foundation of Guangdong Province (NO. 2016A030310427), the Science and Technology Project of Guangzhou City (NO. 201804010466), and the China Scholarship Council.