A Safety Collision Avoidance Algorithm Based on Comprehensive Characteristics

Aiming at the requirements of vehicle safety collision avoidance system, a safety collision avoidance algorithm based on environmental characteristics and driver characteristics is proposed. By analyzing the relationship between collision avoidance time and the environment, a safety time model is established. In the established safety time model, parameters based on driver characteristics are added, which increases the flexibility of the algorithm. .e algorithm can adapt to more different driving conditions and give appropriate warning thresholds. After simulation and comparison with other algorithms, the algorithm proposed in this paper can satisfied the requirements of reducing vehicle collision risk. .e effectiveness and feasibility of the algorithm are verified, and the safety of vehicle driving can be improved.


Introduction
Since entering the 21st century, the number of vehicles has increased exponentially, and the number of vehicles and drivers has further increased [1]. How to reduce the number of traffic accident deaths and economic losses has become an important issue in the context of such a large number of vehicles [2].
In recent years, some research studies have been made on the collision warning algorithm. e existing collision warning algorithms are mainly divided into two categories, namely, the Safety Time Algorithm and the Safety Distance Algorithm [3]. e safety time logic algorithm compares the collision time between the two workshops with the safety time threshold to determine the safety status. e safety time algorithm mainly uses Time to Collision (TTC) as the research object [4]. e safety distance model refers to the minimum distance between the vehicle and the obstacle, which is also the distance the vehicle needs to maintain to avoid the collision with the obstacle under the current conditions of the vehicle [5].
However, neither the TTC model nor the safety distance model is flexible enough to adapt to various situations during driving [6]. Because the traffic environment is very complicated, drivers, pedestrians, roads, and the environment are all factors that cause a complicated traffic environment [7]. For the same driver, different weather conditions, such as rain, snow, and fog [8], will have different requirements for the driver; on the contrary, for the same environment, different drivers differ widely in age, driving habits, driving skills, personality, and other factors [9]. Differences can also be complex, time varying, and unpredictable; therefore, the existing collision avoidance algorithm is not suitable for direct application [10]. It is imperative to design a collision avoidance algorithm that takes into account the environment and driver characteristics to suit the needs of different situations [11].
Based on the collision avoidance algorithm of collision avoidance time TTC, this paper proposes a safety collision avoidance algorithm that adapts to environmental characteristics and driver characteristics. e algorithm proposed in this paper takes driver characteristics and environment characteristics into comprehensive consideration, introduces environmental parameters, age, and other variables, and gives corresponding weights. Compared with previous algorithms, this algorithm has higher adaptability and flexibility under complex conditions, which is of great help to improve traffic safety and efficiency. e algorithm is simulated by MATLAB and VISSIUM, and the effectiveness of the algorithm is verified.

Mazda Algorithm.
e algorithm uses an algorithm based on kinematics analysis to determine the critical braking distance. However, the calculated distance is too conservative for braking and must be used as a critical warning distance [12]. ere is a critical alarm distance: where d 0 is the head offset distance, v is the rear car speed, v 0 is the relative speed between the vehicles, t 1 is the system delay, t 2 is the driver reaction time, a 1 is the maximum brake deceleration of the rear car, and a 2 is the front car maximum brake deceleration. e algorithm assumes that the preceding vehicle starts braking at the maximum deceleration, and after the system delay time and the driver reaction time have elapsed, the tail vehicle begins to brake at the maximum deceleration. In order to make the algorithm more rigorous, the head offset distance is added to equation (1) to perform the calculation together.

Berkeley Algorithm.
e algorithm is based on the Mazda algorithm and has been improved, and the critical alarm distance equation (2) is given: where d 0 is the head offset distance, v is the rear vehicle speed, v 0 is the relative speed between the vehicles, t 1 is the system delay, t 2 is the driver reaction time, and a is the vehicle maximum brake deceleration. e algorithm has been improved based on the Mazda algorithm in order to obtain a more conservative warning distance than Mazda. e warning is given by a dimensionless warning value ψ, which is defined as follows: In equation (3), d is the current two-vehicle distance, D b is the critical braking distance, and D b is calculated as follows: When the value of ψ gradually increases, the risk of collision increases; when the value of ψ decreases, the risk of collision decreases. When ψ > 1, it means there is no risk of collision at present [13,14].

Honda Algorithm.
e Honda algorithm is a critical alarm distance equation (5) based on experimentally obtained data: e limit value reminder distance D j equation is as follows: where t 1 is the time required for the system delay process, t 2 is the time required for the system braking, v 1 is the own vehicle speed, v 2 is the current vehicle speed of the preceding vehicle, a 1 is the maximum deceleration of the own vehicle, and a 2 is the maximum deceleration of the preceding vehicle. Since the Honda model is divided into critical value and limit value reminder distance, and the parameters are adjusted and improved according to a large number of experimental data; the final result of the model is less affected by the driver factor. However, the model has high requirements on the sample data. It is necessary to repeatedly calculate and experiment with a large amount of sample data to ensure the accuracy of the model and the output results are in line with the actual driving situation. If the sample is not representative or the sample size is small, the output will seriously deviate from the actual driving situation [15][16][17][18].

Driving Data Information Collection.
rough the data acquisition technology based on the Internet of Vehicles, after the vehicle is equipped with Dedicated Short Range Communications (DSRC) and Global Positioning System (GPS) [19], the vehicle sensor device provides the vehicle's driving speed, GPS latitude and longitude coordinates, heading angle, and the vehicle's own working condition parameters [20].
DSRC is an efficient wireless communication technology that can quickly identify high-speed moving targets and two-way communication within a short distance [21], enabling wireless communication between vehicles and vehicles and vehicles and roads in intelligent transportation systems [22]. DSRC can provide a high data transmission speed, ensuring the low latency and low interference in the transmission process [23]. Besides, DSRC can transmit a large amount of real-time information in the intelligent transportation system quickly [24]. e surrounding road environment information can be obtained by indirectly querying the database [25]. e traffic information can be divided into static road network information and dynamic road network information by the frequency of data information collected from the information source. In order to meet the requirement of real-time interact of vehicles information, it is necessary to determine the information update frequency by considering the frequency of information changes [26]. e application of DSRC technology in the intelligent transportation system improves people's travel efficiency. DSRC can establish the connection between vehicle and road, provide the optimized driving route in real time according to the road conditions, and relieve the traffic pressure. It can also establish the connection between vehicles, prompt the safety distance between vehicles, warn the accidents ahead of the traffic in advance, and improve the coefficient of traffic safety. e relevant data of the vehicle includes not only driving information such as driving speed, GPS coordinates, and heading angle but also information about the working conditions of the vehicle itself, such as tire pressure and fuel remaining [27]. at information can be obtained from the vehicle's own sensors and Electronic Control Unit (ECU), and the vehicle's position coordinates and heading are obtained through the GPS navigation and positioning system [28]. In the Controller Area Network (CAN) bus of the automobile, the vehicle parameters can be obtained to determine whether the vehicle is in an emergency state such as the tire pressure of the vehicle and the shortage of oil [29], and the prompt is given in the terminal system. en, through real-time acquisition of the state information of the car and the adjacent car, including the latitude, longitude, vehicle speed, and heading angle information of the vehicle, these data are entered into a safety collision avoidance algorithm for processing and alert when there is a danger.

Establishing a Gaussian Plane Coordinate System.
e position information normally received by the vehicle equipment is in the latitude and longitude form, typically using World Geodetic System-1984 Coordinate System (WGS-84) coordinates. Since the coordinates of the latitude and longitude form have positive values and negative values in the abscissa of the same projection zone, the calculation of the relative distance between the vehicles on the processing plane and the establishment of the vehicle model are very complicated [30]. e Gaussian plane coordinate system can solve this problem, so we can use the method of converting latitude and longitude coordinates into Gaussian plane coordinates. e x-axis of the Gaussian plane coordinate system is the projection of the central meridian, and the north direction is positive; the y-axis is the projection of the equator, and the east direction is positive. For example, China is located in the northern hemisphere. After the projection, the x-axis coordinates are positive and the y-axis coordinates are positive and negative. To avoid negative abscissa, the abscissa is added with 500 km. e latitude and longitude coordinates (B, L) can be transformed into Gaussian plane coordinates (x, y) by the coordinate transformation equation. Suppose there are two points P 1 and P 2 symmetric to the central meridian.
eir geodetic coordinates are (L, B) and (l, B), respectively, where l is the longitude difference between the longitude of point P on the ellipsoid and the central meridian L 0 : l � L-L 0 , P point is east of the central meridian, l is positive, and negative in the west; the plane coordinates after projection must be P 1 ′ (x, y) and P 1 ′ (x, −y). After the coordinate transformation is completed, all the coordinates are converted into positive values, which is beneficial to simplify the calculation of the relative distance and the establishment of the vehicle model. e coordinate relationship of WGS-84 coordinate transformation Gaussian plane is At present, the positioning accuracy provided by the GPS system is better than 10 meters. To obtain higher positioning accuracy, we usually use differential GPS technology. A GPS receiver is placed on the reference station for observation. Based on the known precise coordinates of the reference station, the distance corrections from the reference station to the satellite are calculated and sent out by the reference station in real time. At the same time of GPS observation, the user's receiver also receives the correction number sent by the reference station and corrects the positioning result, thus improving the positioning accuracy. When the conversion accuracy is required to be 0.00 l meters, the following equations are used:

Scene Analysis.
For a frontal collision, since the two cars that are relatively driven are generally not in a straight line, when the horizontal distance between the two vehicles is greater than the average of the width of the two vehicles, even if the distance between the two cars is already very close, there is no possibility of collision. erefore, only when the distance between the two vehicles perpendicular to the traveling direction is less than the average value k of the two vehicle widths (the A vehicle width is W A and the B vehicle width is W B ), that is, when k ≤ |d × sin θ 1 |, a frontal collision will occur. e general vehicle width is about 1.5 meters to 1.8 meters, so here k takes 1.7 meters. e distance d between the two vehicles can be derived from the vehicle coordinates received by the Dedicated Short Range Communication (DSRC) module in meters as follows: e self-vehicle speed is V A , the adjacent car speed is V B , and the unit is km/h. For the frontal collision shown in Figure 1, the time required is as follows: When |θ 1 | ≤ 90 ∘ and |θ 2 | > 90 ∘ , the calculation of the collision time is performed; if it is |θ 1 | ≥ 90 ∘ and |θ 2 | ≤ 90 ∘ , the processing is not performed. For the rear-end collision model, most of the rear-end collisions occur in the same lane. erefore, when we study the rear-end collision model, we no longer consider the heading angle problem but only consider the relative motion of the vehicle. In the rear-end model, the variable is the relative speed and relative distance of the two cars.
For the rear-end collision model shown in Figure 2, when the vehicle is actively rear-ended, if V A > V B , the time required for collision is as follows: If V A < V B , the collision avoidance algorithm is not processed. When the car is passive rear-end collision, if V A > V B , the time required for collision is the time required for collision is as follows: If V A < V B , the anticollision algorithm is not processed. rough the analysis of the abovementioned scenarios, it can be seen that the calculation method of collision occurrence time is the same whether it is a head-on collision or a rear-end collision, and the unified calculation method is conducive to enhancing the adaptability of the algorithm in the complex scene.

Design of Safety Collision Avoidance Algorithm.
e key of the safety collision avoidance algorithm is to choose a reasonable warning distance threshold. If the warning distance is too long, it will cause great interference to the driver. e safe driving system will frequently alert, which will bring certain adverse effects to the driver's psychology. If the warning distance is too short, the warning effect is worse and the danger cannot be avoided, which is not conducive to driving safety. erefore, we need to choose a suitable warning threshold, which will not only interfere with the driver's driving but also help for the driving safety. Moreover, under different weather conditions, the safety collision avoidance algorithm cannot be used for different drivers. erefore, this paper proposes a safety warning distance threshold method based on different environments and driver's characteristics, which can effectively solve the abovementioned problems.
It is very important to add environmental parameters and driver characteristic parameters to the algorithm. For example, for a young driver who is responsive, the warning at a certain time may be too early for him, but it will cause bad interference to him [31]. However, for older drivers who are slower to respond, if the warning time is the same as that of the young driver, then the driving process of older drivers becomes more dangerous. Similarly, under different weather conditions, the time at which the early warning system issues an early warning signal should not be the same.
When the vehicle is being driven, if the driver finds the danger early, the safety warning system is not required to be involved. Once the driver does not find the danger in time, the safety collision time issued by the safety warning system is the minimum time for the driver to take measures against the danger, including driver reaction time and time required to control the vehicle [11]. When the safety collision warning system indicates a danger, the driver then reacts to deceleration or avoidance to avoid collision with the adjacent car. Here, we set the driver's reaction time to t. At present, many scholars have established three driving modes according to the driver's driving style when establishing the safety warning algorithm, namely, the camber type, the medium tilt type, and the inward tilt type driving mode [1].
is Figure 1: Frontal collision algorithm model. algorithm essentially means that the driver reaction time in the early warning algorithm is correspondingly different according to the driving style. Table 1 shows the average reaction time corresponding to the drivers of three different driving styles. According to the abovementioned table, different driving styles of the driver can be expressed by different reaction times. According to [10], the early warning algorithm considering the driver's driving style can adapt to the driving needs of different drivers to a certain extent, and during the driving process, the driver can perform according to his own physical condition and driving environment.
According to a large number of theoretical and experimental studies on drivers' driving tendency in [11], the factors that affect drivers' driving tendency mainly include physiological characteristics (gender, age, physical health, etc.), psychological characteristics (ability, personality, emotion, etc.), and other factors such as drivers' occupation and education level. Here, we select the driver's age, driving years, eyesight, physical condition, and mental status of the six factors.
We assign different weights to the abovementioned factors to determine the impact of the driver's personal factors on the safety warning time. We set the driver's age X 1 (weight ω 1 ), driving age X 2 (weight ω 2 ), health index X 3 (X 3 � 1, 2, 3, 4, 5) (weight ω 3 ), mental state index X 4 (X 4 � 1, 2, 3, 4, 5) (weight ω 4 ), and visual acuity X 5 (weight ω 5 ). e factors and weights were scored by the entropy method [16], suppose the decision matrix of each influencing factor and reaction time is as follows: P ij represents the contribution of the ith attribute to factor X ij . E j can be used to represent the total contribution of all schemes to attribute X j : where the constant K � 1/ln(m). Hence, we can guarantee that 0 ≤ E j ≤ 1. It can be seen from the formula that when the contribution of each scheme under a certain attribute tends to be the same, E tends to one. Especially when all are equal, the role of the attribute of the target in the decision can be ignored, that is, the weight of the attribute is zero. We can see that the attribute value is determined by the difference of all schemes. erefore, d j can be defined as the consistency degree of contribution of each factor under the jth attribute: en, the factor weight is en, the reaction time is modified by Braking system response time includes the reaction time of the brake system, the time of brake coordination, and the time of continuous braking [32]. Here, the reaction time of the brake system is t 1 , the brake action time is t 2 , and the continuous braking time is set to t 3 . In the continuous braking time, we assume that the deceleration is constant, and the calculation equation is as follows: where v is the vehicle speed, which is the driving speed of the vehicle; g is the gravitational acceleration, the value is 9.8 m/ s 2 ; μ is the road surface adhesion coefficient; and a is the environmental coefficient. According to [12], the rainy day a has a value of 0.5, the icy road surface is 0.1, the snow surface is 0.3, and the dry road surface is 1. e continuous braking time varies with the vehicle speed, and g is the maximum brake reduction speed. e adhesion coefficient of road surface is negatively correlated with the braking distance: e definition of TTC is as follows: where D is the distance between two vehicles, v τ is the relative speed of the two vehicles, and the dimension of the TTC parameter is seconds. In the TTC algorithm, the shortest time between the two vehicles is calculated by the ratio of the distance to the relative speed of the two vehicles. When the collision time is greater than the warning time, the early warning system will not alarm, and when the collision time is less than the warning time, the early warning system will alarm [33]. According to the abovementioned analysis, the risk warning from the safety collision avoidance system to the minimum time that the driver takes the reaction to stop the vehicle or avoid the danger, that is, the safety collision avoidance time threshold TTC is calculated as follows: Substituting t 4 and τ dr as follows: e value of X i is input according to the actual situation of the driver.

Complexity
Since the data obtained by the vehicle-mounted system are relative speed and relative vehicle distance, equation (22) is used to convert the collision avoidance time into corresponding vehicle distance and standardize the variables, so as to avoid the step of converting the relative vehicle distance variable into corresponding time through calculation again, which can reduce the time and space complexity of the algorithm. e corresponding safety warning/braking algorithm is shown as follows: where D w is the warning distance; D b is the brake distance; v τ is the relative speed; t 1 is the brake reaction time; t 2 is the brake action time; t 3 is the continuous braking time; g is the gravity acceleration; a is the environmental coefficient; μ is the road surface adhesion coefficient; and X i and ω i are the driver characteristics and their weights. It can be seen from the abovementioned equations that we convert the collision avoidance time into the corresponding warning distance and provide the necessary reminder for the driver during the driving process by inputting the corresponding speed and environmental characteristics and the driver characteristics into the algorithm. During the driving process, we can fix these two values in the braking reaction time and brake action time. e main influencing factors of the continuous braking time are the current speed and deceleration. e influencing factors of the deceleration are the road adhesion coefficient and the environmental coefficient. e road surface adhesion coefficient in different environments is inevitably different, so we have increased the environmental coefficient to change the deceleration in different weather conditions. Different drivers have different reaction times for danger. e flow chart of the algorithm is shown in Figure 3. Finally, each parameter is input into the algorithm to find the early warning distance D W . When the distance between the two vehicles is D W , the early warning system issues an early warning. D B is the brake distance, which is the shortest braking distance between the two vehicles to avoid collision. It refers to the shortest braking distance that the driver has reacted to take the braking measures and the vehicle brake system has started to brake. e pseudocode of the algorithm is shown in Algorithm1.

Simulation Experiment
After understanding the working principle and construction idea of the algorithm, the algorithm is simulated by MATLAB and compared the efforts with three classical safety distance algorithms. en, VISSUM is used to simulate collision, and the effect is compared with three classical algorithms. e three classical algorithms are Mazda algorithm, Berkeley algorithm, and Honda algorithm. In this paper, the effectiveness of the algorithm is judged by comparing the safe-braking distance determined by the three classical algorithms and this algorithm under different relative speeds. e simulation of the safe distance model can be divided into three situations: front vehicle emergency braking condition, front vehicle static condition, and front vehicle uniform speed condition.
In order to facilitate the comparison with other safe distance models, the speed and acceleration of the vehicle itself and the speed and acceleration of the vehicle in front are set in the same way, that is, the relative speed v τ between the vehicles is the only variable in this environment, and the braking response time t 1 � 0.1 s, brake action time t 2 � 0.1 s, continuous braking time t 3 � 2 s, and road adhesion coefficient μ � 1. In this simulation environment, the characteristics of the two drivers are shown in Table 2.

Simulation of Front Vehicle Emergency Braking Condition
Model. Figure 4, respectively, show the comparison and analysis diagram of the algorithm with sunny, foggy, rainy, and snowy environmental characteristics under the front vehicle emergency braking condition.
As can be seen from Figure 4(a), under different vehicle speeds, the warning distance of Driver A calculated by the model established in this paper is conservative when the speed is low and longer when the speed is high, which is more sensitive to the speed change. e warning distance of Driver B determined by this algorithm is longer than that determined by other algorithms due to the age factor. Analysis of Figure 4(b) shows that in foggy environment, the warning distance of Driver B calculated by this algorithm is always greater than the warning distance calculated by other algorithms in the foggy environment. e warning distance of Driver A calculated by this algorithm also has increased more that than in sunny days.
It can be seen from the analysis of Figures 4(c) and 4(d) that both the warning distance of Driver A and the warning distance of Driver B in rainy environmental and snowy environmental are more conservative than that of the sunny day environment in Figure 4(a), which is the result of considering the environmental characteristics.   Figure 5, respectively, show the comparison and analysis diagram of the algorithm with sunny, foggy, rainy, and snowy environmental characteristics under the front vehicle static condition. As can be seen from Figure 5(a), in the comparison of warning distance, the warning distance of Driver A calculated by the model established in this paper matches the warning distance height calculated by the Berkeley model, which is slightly more conservative than the Berkeley model in low-speed environment. e warning distance calculated by the model established in this paper is close to that calculated by the Mazda model, both of which provide a relatively conservative warning distance and an early warning time. Compared with Berkeley and Mazda algorithm, the model established in this paper adjusts the warning distance at low speed and high speed, providing a more appropriate warning time.

Simulation of Front Vehicle Static Condition Model.
It can be seen from Figures 5(b)-5(d) that under the same trend of speed change, the warning distance of Driver A calculated by the model established in this paper presents  8 Complexity almost the same trend as that calculated by the Berkeley model. e warning distance of Driver B calculated by the model established in this paper and that calculated by the Mazda model also showed almost the same trend, but the difference between them gradually increased with the increase of their own speed, that is, the faster the speed, the greater the difference. erefore, it can be concluded that in foggy, rainy, and snowy environmental the model established in this paper is more adaptable to the environment and can effectively improve traffic safety.

Simulation of Front Vehicle Uniform Speed Condition
Model. Figure 6, respectively, show the comparison and analysis diagram of the algorithm with sunny, foggy, rainy, and snowy environmental characteristics under the front vehicle uniform speed condition.
As can be seen from Figure 6(a), in the comparison of warning distance, the warning distance determined by the Berkeley model changes little with the relative speed. In addition, when the relative speed is high, warning is not timely, and when the relative speed is low, false alarm is easily caused. However, the warning distance of driver A calculated by the model established in this paper is more sensitive to the change of relative speed, which can ensure the safety of vehicles under different relative speeds.
As can be seen from Figures 6(b)-6(d) you can see that in foggy, rainy, and snowy environment, we compared the warning distance of Driver A calculated by the model established in this paper with that calculated by the Berkeley model. When the speed is slow, the warning distance calculated by this algorithm is very close to that calculated by Berkeley algorithm. When the speed increases, the difference between the warning distance of Driver A calculated by the model established in this paper and the warning distance calculated by Berkeley model also increase, and the difference between the warning distance of Driver A and Berkeley model is positively related to the speed. e Honda model has a relatively late alarm time under three conditions, short warning distance and too aggressive, which has a great disadvantage compared with the model established in this paper.

Collision Simulation Based on VISSUM.
VISSIM can simulate the vehicle, road and signal light changes intuitively and meticulously and can accurately and truly reflect the traffic operation [33]. VISSIM includes road network, vehicle, signal light, and other components, which can meet the simulation requirements of collision avoidance algorithm [34]. In order to verify the efficiency of the algorithm, we will choose Berkeley algorithm, Honda algorithm, and Mazda algorithm to compare with this algorithm.
In the simulation process, the relative speed of the two vehicles is set as the only variable, set the relative speed to 10 km/h, 30 km/h, 50 km/h, and 70 km/h. ere are two experimental scenarios, and their settings are shown in Table 3. e position coordinate of the vehicle is obtained by calling the encapsulated function in VISSUM, and the collision avoidance algorithm is processed. After the   Figure 7. e blue column is the average of each set of experiments, and the red line is the standard deviation of each set of experiments. e equation for calculating the mean and standard deviation is as follows: It can be seen from Figure 7 that the error range of the experiment is not large and the error is within the acceptable range. After analysis, we selected the data with the smallest experimental error, as shown in Tables 4 and 5. e performance of the two algorithms is compared according to the data in Tables 4 and 5. e equation of the false alarm rate is e equation of the missing alarm rate is In equation (25), κ 1 is the number of collisions under the condition of warning display and o 1 is the number of warning displays. In equation (26), κ 2 is the number of collisions without warning display and o 2 is the number of collisions without warning display.   Compared with the Berkeley algorithm, Honda algorithm, and Mazda algorithm, the false alarm rate of the method in this paper decreased by 5%, 4%, and 14%. e missing alarm rate of the method in this paper decreased by 3%, 6%, and 1%. So, the method in this paper can better carry out vehicle collision prevention and the algorithm is more accurate. erefore, the algorithm proposed in this paper is more efficient than Berkeley algorithm and more conducive to driving safety.

Conclusion
In this paper, we propose a novel vehicle collision avoidance algorithm. By analyzing the relationship between collision avoidance time and environmental characteristics and driver characteristics, a corresponding early warning algorithm is established. e algorithm not only considers the relative positional relationship between vehicles but also considers the impact on safe driving under different weather conditions. Different weather conditions will have different road adhesion coefficients and visibility, so it is necessary to add the weather factor in the collision avoidance algorithm. Since different drivers have different driving habits and reaction times, the collision avoidance algorithm must consider adapting to different driver characteristics. erefore, it is necessary to add driver characteristics. Finally, we simulated the algorithm using MATLAB and VISSUM. After MATLAB simulation, we found that the algorithm is more adaptable to different weather conditions and different drivers than the classic collision avoidance algorithm, which can effectively improve the safety of driving. After VISSUM simulation, this algorithm reduces the false alarm rate and missing alarm rate compared with the classic Berkeley algorithm. e algorithm proposed in this paper proves its rationality and feasibility through rigorous design and experiment. Still more experimental data are required to improve and optimize. With the advent of the era of big data and the popularity of the Internet of Vehicles, more weather characteristics and driver characteristics will be counted at the big data level to obtain a more accurate collision avoidance warning threshold, thereby setting a more dynamic safety warning distance for different drivers in different weather conditions.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare that there are no conflicts of interest regarding the publication of this paper.