Method and apparatus for predicting human-driven vehicle following behavior in hybrid queue
The vehicle following behavior prediction model constructed through deep learning algorithms solves the problem of predicting the following behavior of human-driven vehicles in the Internet of Vehicles environment, achieves accurate prediction of human-driven vehicle behavior, and improves the stability and control efficiency of traffic flow.
Patent Information
- Application Number
- PCT/CN2023/100505
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-19
- Filing Date
- 2023-06-15
- Publication Date
- 2024-10-24
AI Technical Summary
In the Internet of Vehicles environment, when intelligent connected vehicles coexist with traditional human-driven vehicles, it is difficult to accurately predict the following behavior of human-driven vehicles, resulting in a decrease in traffic flow stability and control efficiency.
A deep learning algorithm is used to build a vehicle following behavior prediction model. By obtaining the driving status information of the first and last vehicles in the subqueue of human-driven vehicles, the multi-layer LSTM model of the encoder and decoder is used for prediction, and The Dropout layer is used to increase the robustness of the model and predict the driving status of human-driven vehicles in the future.
It achieves accurate prediction of the car-following behavior of human-driven vehicles, provides reliable data support, and improves the safety and efficiency of road traffic control.
Smart Images

Figure CN2023100505_24102024_PF_FP_ABST
Abstract
Description
Method and device for predicting car-following behavior of mixed platoon drivers and vehicles Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a method and device for predicting the car-following behavior of a mixed queue of people driving vehicles. Background Art
[0002] With the rapid development of the global economy, the demand for transportation, particularly road transportation, continues to increase. This overwhelming demand has led to a long-term shortage of road traffic in key areas, with road traffic operating at near-capacity levels for extended periods. Under these conditions, even the slightest disturbance can easily cause traffic turbulence and propagate, leading to congestion. With the continuous advancement of connected vehicle (IoV) and intelligent connected vehicle (ICV) technologies, the real-time perception, data sharing, and precise control capabilities of roadside and onboard equipment are constantly improving. Platoon control technology for ICVs, based on real-time shared perception data, enables coordinated control, ensuring efficient and stable operation of platoons and traffic flows, and enhancing the overall efficiency, safety, and comfort of the road transportation system.
[0003] However, due to the large number of conventional vehicles on the road, the widespread adoption of IoV and ICV technologies will inevitably lead to a long period of coexistence between ICVs and traditional human-driven vehicles. In mixed traffic flows under IoV environments, CAVs (connected-automated vehicles) and HDVs (human-driven vehicles) are dispersed within a platoon, dividing long platoons into multiple CAV and HDV sub-platoons. Given the inability of roadside equipment to provide full perception, the perception network comprised of CAVs and some HDVs can only provide limited perception of human-driven vehicles. Furthermore, when the preceding or following vehicles are ICVs, the driver's following behavior and its uncertainty may also be affected. In this scenario, the uncertainty of human behavior can lead to significant uncertainty and random perturbations in the control process, reducing the efficiency of traditional control methods and making it difficult to ensure traffic flow stability. Therefore, predicting the short-term following behavior of human-driven vehicles and their uncertainty within the platoon is essential for improving the efficiency of transportation systems in mixed platoons of human-driven vehicles and ICVs. Therefore, how to accurately predict the following behavior of human-driven vehicles in a mixed queue is a technical problem that needs to be solved urgently.
[0004] Summary of the Invention
[0005] The main technical problem solved by the present invention is how to accurately predict the following behavior of human-driven vehicles in a mixed queue.
[0006] In one aspect, the present invention provides a method for predicting the following behavior of a mixed platoon of people, vehicles, and vehicles, comprising:
[0007] Obtain the driving status information of the first and last human-driven vehicles in the predicted human-driven vehicle sub-queue in the mixed queue within the current time period;
[0008] The driving status information of the first and last human-driven vehicles in the current time period is input into the trained vehicle following behavior prediction model to obtain the driving status information of the last human-driven vehicle in the predicted human-driven vehicle sub-queue in the future time period.
[0009] In one embodiment, the vehicle following behavior prediction model is trained and acquired by the following method:
[0010] Get multiple human-driven vehicle sub-queues;
[0011] For each of the human-driven vehicle sub-queues, the following processing is performed:
[0012] Acquire driving status information of the first and last human-driven vehicles in the human-driven vehicle sub-queue in the previous time period as input sample data;
[0013] Obtaining the driving status information of the last vehicle in the human-driven vehicle sub-queue in the next time period as output sample data;
[0014] The input sample data and the output sample data are used to train an initial vehicle car-following behavior prediction model to obtain the trained vehicle car-following behavior prediction model.
[0015] In one embodiment, after obtaining the plurality of human-driven vehicle sub-queues, the method further includes:
[0016] The plurality of human-driven vehicle sub-cohorts are processed to remove human-driven vehicle sub-cohorts with a sample size smaller than a preset value and human-driven vehicle sub-cohorts that do not meet the car-following condition.
[0017] In one embodiment, obtaining a plurality of human-driven vehicle sub-queues includes:
[0018] When obtaining the human-driven vehicle sub-queues, remove the human-driven vehicle sub-queues that have lane changes, lane entry or exit, or lanes that are too short.
[0019] In one embodiment, the vehicle following behavior prediction model includes an encoder and a decoder;
[0020] Inputting the driving status information of the first and last human-driven vehicles in the current time period into the trained vehicle following behavior prediction model to obtain the driving status information of the last human-driven vehicle in the predicted human-driven vehicle sub-queue in the future time period includes:
[0021] The encoder transcodes the input driving state information of the first human-driven vehicle and the last human-driven vehicle in the current time period into a fixed-length state vector;
[0022] The decoder decodes the fixed-length state vector into the predicted driving state information.
[0023] In one embodiment, using the input sample data and the output sample data to train an initial vehicle car-following behavior prediction model to obtain the trained vehicle car-following behavior prediction model includes:
[0024] Set the loss function to:
[0025] Among them, loss represents the training function, t2 represents the prediction time step, and t represents the current moment. represents the predicted acceleration, represents the actual acceleration of the vehicle, ||ω||2 represents the regularization term;
[0026] Determine whether the value of the loss function is less than a preset value. If so, determine that the training is completed and obtain the trained vehicle following behavior prediction model.
[0027] In one embodiment, the vehicle following behavior prediction model is a multi-layer LSTM model;
[0028] A dropout layer is included in the two LSTM layers, and the dropout value of the LSTM layers is set to 0.5.
[0029] On the other hand, the present invention also provides a device for predicting the following behavior of a mixed platoon of people, vehicles, and vehicles, characterized by comprising:
[0030] an acquisition unit, configured to acquire driving status information of the first and last human-driven vehicles in a human-driven vehicle sub-queue to be predicted in a mixed queue within a current time period;
[0031] A prediction unit is used to input the driving status information of the first and last human-driven vehicles in the current time period into a trained vehicle following behavior prediction model to obtain the predicted driving status information of the last human-driven vehicle in the predicted human-driven vehicle sub-queue in the future time period.
[0032] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for predicting the following behavior of a mixed queue of people and vehicles as described in any one of the above items.
[0033] On the other hand, the present invention further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method for predicting the following behavior of a mixed queue of people and vehicles as described in any one of the above items.
[0034] According to the mixed queue human-driven vehicle following behavior prediction method provided by this application, first obtain the driving status information of the first human-driven vehicle and the last human-driven vehicle in the mixed queue to be predicted in the current time period; then input the driving status information of the first human-driven vehicle and the last human-driven vehicle in the current time period into the trained vehicle following behavior prediction model to obtain the predicted driving status information of the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the future time period. It can be seen that the vehicle following behavior prediction model used in this application can accurately and quickly predict the driving status information of human-driven vehicles in the future time period, providing a reliable data basis for traffic system control and ensuring the safety and efficiency of road traffic control. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] FIG1 is a flow chart of a method for predicting car-following behavior in a mixed platoon provided by an embodiment of the present invention;
[0036] FIG2 is a schematic diagram of a mixed queue model provided by an embodiment of the present invention;
[0037] FIG3 is a schematic diagram of a process for establishing a sub-queue of vehicles and people under mixed traffic flow according to an embodiment of the present invention;
[0038] FIG4 is a schematic diagram of a person-driving vehicle prediction according to an embodiment of the present invention;
[0039] FIG5 is a schematic diagram of the structure of a vehicle following behavior prediction model provided by an embodiment of the present invention;
[0040] FIG6 is a schematic diagram showing a comparison between a predicted value and an actual value provided by an embodiment of the present invention;
[0041] FIG7 is a schematic diagram of the structure of a device for predicting the car-following behavior of a mixed platoon of people and vehicles provided by an embodiment of the present invention;
[0042] FIG8 is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] The present invention will be further described in detail below by means of specific embodiments in conjunction with the accompanying drawings. Similar elements in different embodiments are numbered with associated similar elements. In the following embodiments, many detailed descriptions are provided to enable the present application to be better understood. However, those skilled in the art will readily appreciate that some of the features may be omitted in different circumstances, or may be replaced by other elements, materials, or methods. In some cases, some operations related to the present application are not shown or described in the specification. This is to avoid the core portion of the present application being overwhelmed by excessive descriptions, and for those skilled in the art, it is not necessary to describe these related operations in detail. They will fully understand the related operations based on the description in the specification and the general technical knowledge in the art.
[0044] In addition, the features, operations, or characteristics described in the specification may be combined in any appropriate manner to form various embodiments. Furthermore, the steps or actions in the method description may be reordered or adjusted in a manner readily apparent to those skilled in the art. Therefore, the various sequences in the specification and drawings are provided solely for the purpose of clearly describing a particular embodiment and are not intended to be mandatory, unless otherwise specified.
[0045] In mixed traffic flows within the connected vehicle (IoV) environment, ICVs and human-driven vehicles divide long queues into multiple ICV sub-queues and human-driven vehicle sub-queues. ICVs can sense each other through onboard sensors and understand the following behavior of vehicles within their range. However, human-driven vehicles lack sensors and are unable to detect the following behavior of neighboring human-driven vehicles or the number of vehicles in a human-driven vehicle sub-queue. They can only determine the operating status of HDVs immediately adjacent to CAVs.
[0046] In recent years, with the development of artificial intelligence technology and the continuous enrichment of machine learning and deep learning algorithms, data-driven car-following models have developed rapidly. This application utilizes deep learning network models such as recurrent neural networks (RNNs), gated recurrent units (GRUs), and long short-term memory (LSTMs) to construct a model with complex hidden layers, focusing on exploring the inherent patterns hidden in real vehicle driving data, thereby improving the accuracy of car-following behavior prediction.
[0047] Specifically, based on a deep learning algorithm, the present application provides a method for predicting the car-following behavior of a mixed queue of human-driven vehicles. First, the driving status information of the first human-driven vehicle and the last human-driven vehicle in the sub-queue of human-driven vehicles to be predicted in the mixed queue within the current time period is obtained; then, the driving status information of the first human-driven vehicle and the last human-driven vehicle in the current time period is input into a trained vehicle-following behavior prediction model to obtain the driving status information of the last human-driven vehicle in the sub-queue of human-driven vehicles to be predicted in the future time period.
[0048] Furthermore, in order to make the prediction results more robust and to make the prediction of human-driven vehicles in the human-driven vehicle sub-queue more accurate, the present application takes into account the uncertainty of the vehicle-following behavior prediction model, that is, adds a Dropout layer to the vehicle-following behavior prediction model, so that the vehicle-following behavior prediction model is no longer overly sensitive to certain specific features, thereby increasing the robustness of the model and realizing uncertainty analysis of the prediction results.
[0049] The following specific embodiments will be used to describe in detail the method for predicting the car-following behavior of a mixed platoon of vehicles provided by the present invention. It is understood that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0050] FIG1 is a flow chart of a method for predicting the following behavior of a human-driven vehicle in a mixed platoon provided by an embodiment of the present invention. The method can be executed by software and / or hardware. Referring to FIG1 , the method for predicting the following behavior of a human-driven vehicle in a mixed platoon includes:
[0051] S101: Obtain driving status information of the first human-driven vehicle and the last human-driven vehicle in a human-driven vehicle sub-queue to be predicted in a mixed queue within a current time period.
[0052] In one embodiment, the traffic detection system may obtain the driving status information of the first human-driven vehicle and the last human-driven vehicle in the to-be-predicted human-driven vehicle sub-queue in the mixed queue during the current time period.
[0053] In one embodiment, Figure 2 is a schematic diagram of a hybrid platoon model provided by an embodiment of the present invention. Referring to Figure 2 , the position, velocity, and acceleration information of the first human-driven vehicle (HDV 1) and the last human-driven vehicle (HDV n) in a human-driven vehicle sub-platoon are used as input data for a vehicle-following behavior prediction model. The acceleration information of the last human-driven vehicle is used as output data for the vehicle-following behavior prediction model to analyze the driver's car-following behavior. Subsequently, based on the existing vehicle state and the analysis model, the short-term acceleration of the last human-driven vehicle in the platoon is predicted. Kinematic formulas are used to convert the predicted acceleration into position and velocity, resulting in the short-term car-following state of the last human-driven vehicle.
[0054] In one embodiment, the driving status information may generally include current position, speed, acceleration, etc.
[0055] S102: Input the driving status information of the first and last human-driven vehicles in the current time period into the trained vehicle following behavior prediction model to obtain the driving status information of the last human-driven vehicle in the predicted human-driven vehicle sub-queue in the future time period.
[0056] In one embodiment, FIG4 is a schematic diagram of human-driven vehicle prediction provided by an embodiment of the present invention. Referring to FIG4 , the position, velocity, and acceleration of the first and last human-driven vehicles in the predicted human-driven vehicle sub-queue within the current time period are input into a trained vehicle following behavior prediction model to obtain the predicted position, velocity, and acceleration of the last human-driven vehicle in the human-driven vehicle sub-queue within the future time period, thereby providing data support for subsequent queue collaborative control in a mixed flow environment.
[0057] In one embodiment, the vehicle following behavior prediction model is trained and acquired by the following method:
[0058] Get multiple human-driven vehicle sub-queues;
[0059] For each human-driven vehicle sub-queue, perform the following processing:
[0060] Obtain the driving status information of the first and last human-driven vehicles in the human-driven vehicle sub-queue in the previous time period as input sample data;
[0061] Obtain the driving status information of the last vehicle in the human-driven vehicle sub-queue in the next time period as output sample data;
[0062] The input sample data and the output sample data are used to train the initial vehicle following behavior prediction model to obtain a trained vehicle following behavior prediction model.
[0063] In one embodiment, when acquiring data for multiple sub-queues of human-driven vehicles, FIG3 is a schematic diagram illustrating a process for establishing sub-queues of human-driven vehicles in a mixed traffic flow according to an embodiment of the present invention. Referring to FIG3 , multiple sub-queues of human-driven vehicles can be established in a mixed traffic flow.
[0064] Please refer to Figure 3. In the mixed queue shown in Figure 3, since traditional human-driven vehicles (HDVs) do not have on-board sensors and vehicle-to-vehicle communication equipment, they cannot obtain the operating status of surrounding HDVs and therefore cannot know the number of HDVs in the current sub-queue.
[0065] However, in a mixed platoon, the control of intelligent connected vehicles (such as the CAV sub-platoon in Figure 2) will be affected by the operating status of the upstream human-driven vehicle (i.e., HDV n in Figure 3). Therefore, in this scenario, it is necessary to predict the operating status of the last human-driven vehicle in the human-driven vehicle sub-platoon.
[0066] Furthermore, during the actual prediction process, it's impossible to determine the number of human-driven vehicles in the HDV sub-queue. Therefore, the motion status of the first and last human-driven vehicles in the HDV sub-queue can generally only be determined through the perception capabilities of the intelligent connected vehicles in the mixed queue. Therefore, this embodiment only inputs the motion status information for these two vehicles. The prediction method of this embodiment does not require consideration of the specific number of vehicles in the HDV sub-queue; it only needs to predict the trajectory and motion status of the last human-driven vehicle based on the perceived motion relationship between the first and last human-driven vehicles.
[0067] In one embodiment, when acquiring data from multiple sub-cohorts of human-driven vehicles, the I-80 dataset from the Next Generation Simulation (NGSIM) dataset is used as data for constructing and validating a vehicle following behavior prediction model. The dataset is then processed to remove sub-cohort data with small sample sizes and that do not meet following conditions, forming the initial data for training the vehicle following behavior prediction model. The NGSIM dataset describes the interactions between multimodal passengers, vehicles, and the highway system, as well as the interacting devices, contours, congestion, and other environmental characteristics provided by traffic control. The I-80 dataset is a relatively high-quality and detailed dataset collected through NGSIM's efforts, capable of supporting the development of driver behavior algorithms at the micro level. The present invention analyzes the relatively common following behavior of human-driven vehicles. In dataset selection, the focus is on avoiding dataset turbulence caused by lane changes, lane entry and exit, and excessively short lanes. Therefore, the I-80 dataset trajectories-0400-0415 time period, Vehicle_ID (the ID of the current vehicle), Preceding (the ID of the preceding vehicle of the current vehicle), Frame_ID (sampling time), Local_Y (vehicle position), v_Vel (vehicle speed), and v_Acc (vehicle acceleration) data in lane 2 are used as the initial dataset (i.e., training dataset) for processing in this embodiment.
[0068] In a mixed flow queue, since human-driven vehicles do not have sensors and cannot perceive relevant data, the only way is to obtain real-time perception data (position, speed, acceleration) of human-driven vehicles HDVs adjacent to the CAVs through CAV onboard sensors. However, the short-range communication equipment equipped with intelligent connected vehicles has a certain communication range, and the distance between vehicles communicating with each other should be kept within the communication range. Therefore, the position spacing of the HDV sub-queues between the two CAV queues should be less than the communication range. This embodiment calculates the position difference between the current vehicle and the preceding vehicle, and the current vehicle and the preceding vehicle whose position difference is less than the sensor perception range constitute the last human-driven vehicle and the first human-driven vehicle of the HDV sub-queue, and iteratively calculates the vehicle position difference to establish all possible HDV sub-queues.
[0069] In one embodiment, after acquiring multiple human-driven vehicle sub-cohorts, these sub-cohorts are further processed to remove human-driven vehicle sub-cohorts with sample sizes less than a preset value and those that do not meet the car-following condition. For example, the number of "HDV n - HDV 1" data pairs is counted, and pairs with fewer than 150 or significant variation are removed. For example, pairs with a headway greater than 4 seconds are removed. The headway refers to the time required for the headways of two vehicles to travel the distance apart at a set speed. This avoids prediction errors caused by insufficient data or vehicles not following the car-following behavior.
[0070] After preprocessing, the human-driven vehicle sub-cohort data is a simple time series data that needs to be converted into supervised learning data with input and output components. In this embodiment, the position, velocity, and acceleration of the first and last human-driven vehicles in HDV 10 seconds before the current moment (i.e., the first 100 sampling times, with a sampling interval of 0.1 seconds) are used as input sample data, and the acceleration of the last human-driven vehicle in HDV 3 seconds after the current moment (i.e., the last 30 sampling times) is used as the predicted output sample data. The input and output sample data are used to train the initial vehicle following behavior prediction model to obtain the trained vehicle following behavior prediction model.
[0071] When training the car-following prediction model, since car-following prediction is a regression problem, mean squared error (MSE) is used as the model's loss function. To prevent overfitting, an L2 regularization term is added to the loss function to effectively implement weight decay during model training. The loss function after adding the L2 regularization term is as follows:
[0072] Among them, loss represents the training function, t2 represents the prediction time step, and t represents the current moment. represents the predicted acceleration, represents the actual acceleration of the vehicle, and ||ω||2 represents the regularization term.
[0073] In one embodiment, a car-following behavior prediction model is fitted and trained using 70% of the sample data as a training set and 30% of the sample data as a validation set. Training is completed when the loss values for both the training and validation sets are both small and within an acceptable range, resulting in a trained car-following behavior prediction model.
[0074] In one embodiment, Figure 5 is a schematic diagram of the structure of a vehicle following behavior prediction model provided by an embodiment of the present invention. As shown in Figure 5, the vehicle following behavior prediction model is a Decoder-Encoder LSTM model. The model is based on the tensorflow and keras frameworks, and utilizes the Sequential model in Keras. Some network layers are stacked through the .add() interface to construct a complete vehicle following behavior prediction model in the stacking order.
[0075] In one embodiment, the vehicle following behavior prediction model includes an encoder and a decoder; the position, speed, and acceleration data of the first and last human-driven vehicles in the HDV queue The driving state information in the current time period is used as the input to be predicted. The encoder encodes the driving state information of the first and last human-driven vehicles in the current time period into a fixed-length state vector (that is, the encoder processes the input sequence into a state vector and a hidden layer state, and provides a fixed-length output vector). The decoder decodes the fixed-length state vector into the driving state information of the last human-driven vehicle in the future time period. Specifically, the driving state information of the last human-driven vehicle in the future time period can be acceleration.
[0076] In one embodiment, the vehicle following behavior prediction model may be a multi-layer LSTM model, and a dropout layer is included in two LSTM layers, and the setting value of the LSTM layer is 0.5.
[0077] Specifically, the vehicle following behavior prediction model of this embodiment is designed as follows:
[0078] (1) Encoder LSTM. LSTM requires explicit configuration of the input_shape attribute, setting the input time step to 100 sampling times and the feature dimension to 6. The first hidden layer has 128 neurons, uses tanh as the activation function, and has a weight decay rate of 0.0002. The LSTM encoder outputs a hidden vector at each time step, but only the last hidden state is passed to the next layer for decoding by the decoder.
[0079] (2) RepeatVector layer (repeats the input n times). Set the parameter value of this layer to the number of output time steps 30, repeating the hidden vector received from the LSTM 30 times so that each time step has the same vector.
[0080] (3) Dropout layer. Set the dropout layer parameter value to 0.5. During the model training phase, each neuron has a 50% probability of terminating its work, that is, the activation function value is set to have a 50% probability of becoming 0. In this case, any two neurons may not always appear in the same dropout network, so that the update of the weights no longer depends on the joint action of hidden nodes with a fixed relationship. The neural network is no longer overly sensitive to certain specific features, which increases the robustness of the model.
[0081] (4) Decoder LSTM. The decoder continues to use the LSTM layer, but the difference from the encoder layer is that the return_sequences attribute value is set to True, so that each time step has an output vector, which is passed to the next layer for prediction in the next fully connected layer.
[0082] (5) Fully connected layer. The fully connected layer sets the number of neurons to the feature dimension 1 of the output vector, which is the acceleration of the last human-driven vehicle in the HDV. The LSTM decoder outputs a vector at each time step. This layer uses a fully connected layer at each time step to predict only one acceleration metric at each time step. The TimeDistributed layer developed by Keras is called and the same fully connected layer is applied to each output time step to obtain the output of the multi-time step prediction results.
[0083] The parameters of each layer of the vehicle following behavior prediction model of this embodiment are shown in Table 1 below:
[0084] Table 1 Parameters of each layer of the vehicle following behavior prediction model
[0085] The mixed-platoon human-vehicle following behavior prediction method provided in this embodiment takes into account short-term uncertainty forecast analysis. Basic LSTM models do not actually consider the specific numerical values of prediction uncertainty, but this technical shortcoming is addressed in this embodiment. For deep learning model uncertainty, the model's initial values, weights, and other parameters are fixed. Uncertainty primarily stems from the uncertainty of the prediction results, namely the error between the predicted value and the true value. This embodiment adopts the theoretical framework proposed by GAL et al., which has been validated in RNN models.
[0086] The existing theoretical framework provides a theoretical proof of modeling uncertainty using dropout as a tool to extract information from existing neural network models. The form of the neural network model itself is not changed. Instead, the average value of the prediction result and the uncertainty (i.e., variance) of the prediction result are estimated by collecting the results of multiple random forward passes through the neural network. The formula is as follows:
[0087] In the above formula, x * Indicates the actual sample value, y * represents the predicted value, represents the weight of the neural network in layer i, and T represents the prediction duration.
[0088] In this embodiment, the existing dropout theory is used to innovatively introduce a dropout layer into the constructed multi-layer LSTM model to obtain the uncertainty of the LSTM prediction. This is to obtain the uncertainty of the prediction results, so that the model prediction is closer to the real scene and the prediction results are more accurate. Dropout is introduced between the two LSTM layers, and the parameter value is set to a fixed value generally between 0 and 1, so that the neurons in the model stop working with a certain probability, making the model more generalizable. For example, setting the parameter value to 0.5 means that the activation value of the neuron stops working with a probability of 50%, making the prediction uncertain. During the model prediction process, the training attribute value is set to True, that is, dropout is turned on during the prediction process. Removing different hidden neurons is equivalent to using different neural network structures. Multiple predictions are performed to average and variance the prediction results of multiple trained neural networks to obtain the uncertainty of short-term behavior predictions.
[0089] Furthermore, the trained vehicle following behavior prediction model is used to predict the acceleration of the last human-driven vehicle in the HDV queue, and then the kinematic equations v = v0 + at and Convert the predicted acceleration into velocity and position information.
[0090] Figure 6 is a schematic diagram showing the comparison between the predicted values and the actual values provided by an embodiment of the present invention. This figure shows the comparison between the predicted values and the actual values for the next 3 seconds of a random sample, and shows the acceleration, speed, and position of the last human-driven vehicle in the HDV from top to bottom. Through a large number of prediction analyses, it is known that the error in acceleration is generally within 0.6m / s 2 The speed error is within 0.15 m / s, and the position error is within 0.3 m. It can be seen that the predicted value and the true value are almost consistent, which shows that the vehicle following behavior prediction model provided by this embodiment is highly accurate, verifying the feasibility of the model.
[0091] It can be seen that the mixed queue human-driven vehicle following behavior prediction method provided by this embodiment can accurately and quickly predict the driving status information of human-driven vehicles in the future time period, providing a reliable data basis for traffic system control and ensuring the safety and efficiency of road traffic control.
[0092] In addition, the mixed platoon driver-vehicle following behavior prediction method provided by this embodiment has the following beneficial effects compared with the prior art:
[0093] 1. Under the environment of limited perception and information sharing, this paper explores the following behavior of human-driven vehicles in a new traffic flow environment and constructs a short-term vehicle following behavior prediction model, providing a basis for the development of human-driven vehicle applications in mixed traffic in the future Internet of Vehicles environment.
[0094] 2. This invention introduces uncertainty analysis into the vehicle-following behavior prediction model to analyze the uncertainty of human-driven vehicle driving behavior and its propagation state in the human-driven vehicle sub-queue; it estimates the driver's following behavior habits and the optimal distribution fitting results of their uncertainty, providing data support for subsequent queue collaborative control in a mixed flow environment.
[0095] The following is a description of the mixed platoon car-following behavior prediction device provided by the present invention. The mixed platoon car-following behavior prediction device described below and the mixed platoon car-following behavior prediction method described above can be referenced to each other.
[0096] FIG7 is a schematic diagram of the structure of a device for predicting the following behavior of a person driving a vehicle in a mixed queue according to an embodiment of the present invention. Referring to FIG7 , the device 70 for predicting the following behavior of a person driving a vehicle may include:
[0097] An acquisition unit 701 is configured to acquire driving status information of the first and last human-driven vehicles in a human-driven vehicle sub-queue to be predicted in a mixed queue within a current time period;
[0098] The prediction unit 702 is used to input the driving status information of the first and last human-driven vehicles in the current time period into the trained vehicle following behavior prediction model to obtain the predicted driving status information of the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the future time period.
[0099] In one embodiment, the human-driven vehicle following behavior prediction device 70 may include a training unit, which is specifically configured to:
[0100] Get multiple human-driven vehicle sub-queues;
[0101] For each human-driven vehicle sub-queue, perform the following processing:
[0102] Obtain the driving status information of the first and last human-driven vehicles in the human-driven vehicle sub-queue in the previous time period as input sample data;
[0103] Obtain the driving status information of the last vehicle in the human-driven vehicle sub-queue in the next time period as output sample data;
[0104] The input sample data and the output sample data are used to train the initial vehicle following behavior prediction model to obtain a trained vehicle following behavior prediction model.
[0105] In one embodiment, the training unit is specifically configured to:
[0106] Set the loss function to:
[0107] Among them, loss represents the training function, t2 represents the prediction time step, and t represents the current moment. represents the predicted acceleration, represents the actual acceleration of the vehicle, ||ω||2 represents the regularization term;
[0108] Determine whether the value of the loss function is less than a preset value. If so, determine that the training is completed and obtain a trained vehicle following behavior prediction model.
[0109] In one embodiment, the acquiring unit 70 is further configured to:
[0110] After obtaining the plurality of human-driven vehicle sub-cohorts, the plurality of human-driven vehicle sub-cohorts are processed to remove human-driven vehicle sub-cohorts with a sample size less than a preset value and human-driven vehicle sub-cohorts that do not meet the car-following condition.
[0111] In one embodiment, the acquiring unit 70 is further configured to:
[0112] When obtaining the human-driven vehicle sub-queues, remove the human-driven vehicle sub-queues that have lane changes, lane entry or exit, or lanes that are too short.
[0113] In one embodiment, the vehicle following behavior prediction model includes an encoder and a decoder.
[0114] The prediction unit 702 is specifically configured to:
[0115] The encoder encodes the driving status information of the first and last human-driven vehicles in the current time period into a fixed-length state vector; the decoder decodes the fixed-length state vector into predicted driving status information.
[0116] FIG8 is a schematic diagram of the physical structure of an electronic device provided in an embodiment of the present invention. As shown in FIG8 , the electronic device may include: a processor 810, a communications interface 820, a memory 830, and a communications bus 840, wherein the processor 810, the communications interface 820, and the memory 830 communicate with each other via the communications bus 840. The processor 810 may call logic instructions in the memory 830 to execute a method for predicting the following behavior of a mixed queue of human-driven vehicles. The method includes: obtaining driving status information of the first and last human-driven vehicles in a sub-queue of human-driven vehicles to be predicted in the mixed queue during a current time period; inputting the driving status information of the first and last human-driven vehicles in the current time period into a trained vehicle following behavior prediction model to obtain driving status information of the last human-driven vehicle in the sub-queue of human-driven vehicles to be predicted during a future time period.
[0117] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0118] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the mixed queue human-driven vehicle following behavior prediction method provided by the above methods, the method including: obtaining the driving status information of the first human-driven vehicle and the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the mixed queue within the current time period; inputting the driving status information of the first human-driven vehicle and the last human-driven vehicle in the current time period into a trained vehicle following behavior prediction model to obtain the driving status information of the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the future time period.
[0119] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the mixed queue human-driven vehicle following behavior prediction method provided by the above-mentioned methods, the method comprising: obtaining the driving status information of the first human-driven vehicle and the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the mixed queue within the current time period; inputting the driving status information of the first human-driven vehicle and the last human-driven vehicle in the current time period into a trained vehicle following behavior prediction model to obtain the driving status information of the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the future time period.
[0120] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0121] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for predicting the following behavior of a mixed platoon of human-driven vehicles, characterized in that: include: Obtain driving status information of the first human-driven vehicle and the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the mixed queue within the current time period; The driving state information of the first human-driven vehicle and the last human-driven vehicle in the current time period is input into the trained vehicle following behavior prediction model to obtain the driving state information of the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the future time period.
2. The method for predicting the following behavior of a mixed platoon of human-driven vehicles as claimed in claim 1, characterized in that: The vehicle following behavior prediction model is trained and obtained by the following method: Get multiple human-driven vehicle sub-queues; For each of the human-driven vehicle sub-queues, the following processing is performed: Acquire driving state information of the first human-driven vehicle and the last human-driven vehicle in the human-driven vehicle sub-queue in the previous time period as input sample data; Obtaining the driving status information of the last vehicle in the human-driven vehicle sub-queue in the next time period as output sample data; The input sample data and the output sample data are used to train an initial vehicle following behavior prediction model to obtain the trained vehicle following behavior prediction model.
3. The method for predicting the following behavior of a mixed platoon of human-driven vehicles as claimed in claim 2, characterized in that: After obtaining the plurality of human-driven vehicle sub-queues, the method further includes: The multiple human-driven vehicle sub-cohorts are processed to remove human-driven vehicle sub-cohorts with sample sizes less than a preset value and human-driven vehicle sub-cohorts that do not meet the car-following condition.
4. The method for predicting the following behavior of a mixed queue of human drivers and vehicles according to any one of claims 1 to 3, characterized in that: The obtaining of multiple human-driven vehicle sub-queues includes: When obtaining the human-driven vehicle sub-queues, the human-driven vehicle sub-queues with lane changes, lane entrances and exits, or lanes that are too short are removed.
5. The method for predicting the following behavior of a mixed platoon of human drivers and vehicles according to any one of claims 1 to 4, characterized in that: The vehicle following behavior prediction model includes an encoder and a decoder; The step of inputting the driving state information of the first human-driven vehicle and the last human-driven vehicle in the current time period into the trained vehicle following behavior prediction model to obtain the driving state information of the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the future time period includes: The encoder transcodes the input driving state information of the first human-driven vehicle and the last human-driven vehicle in the current time period into a fixed-length state vector; The decoder decodes the fixed-length state vector into the predicted driving state information.
6. The method for predicting the following behavior of a mixed platoon of human-driven vehicles as claimed in claim 2, characterized in that: The input sample data and the output sample data are used to train an initial vehicle following behavior prediction model to obtain the trained vehicle following behavior prediction model, including: Set the loss function to: Among them, loss represents the training function, t2 represents the prediction time step, and t represents the current moment. represents the predicted acceleration, represents the actual acceleration of the vehicle, ||ω||2 represents the regularization term; Determine whether the value of the loss function is less than a preset value. If so, determine that the training is completed and obtain the trained vehicle following behavior prediction model.
7. The method for predicting the following behavior of a mixed platoon of human-driven vehicles as claimed in claim 2, characterized in that: The vehicle following behavior prediction model is a multi-layer LSTM model; The two LSTM layers include a dropout layer, and the setting value of the LSTM layer is a fixed value between 0 and 1.
8. A device for predicting the following behavior of a mixed queue of human-driven vehicles, characterized in that: include: An acquisition unit, used to acquire driving state information of the first human-driven vehicle and the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the mixed queue within a current time period; A prediction unit is used to input the driving state information of the first human-driven vehicle and the last human-driven vehicle in the current time period into a trained vehicle following behavior prediction model to obtain the predicted driving state information of the last human-driven vehicle in the human-driven vehicle sub-queue to be predicted in the future time period.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for predicting the following behavior of a mixed queue of human-driven vehicles as described in any one of claims 1 to 7 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for predicting the following behavior of a mixed queue of human-driven vehicles as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Automobile following speed control method and system based on front automobile speed prediction
CN111391831A
CAV state judgment method and device based on traffic track data, equipment and medium
CN111724603A
Method and system for predicting traffic state perception information
CN114399107A
Method for predicting acceleration of following vehicle in foggy weather environment based on transfer learning and LSTM-NN
CN114881200A
Vehicle track prediction method based on Newell car-following model
CN115083156A
Cited By
Method for predicting motion state of manually-driven vehicle in mixed traffic environment
CN119832731A
Method for controlling multiple vehicles to enter CAV special lane in network connection environment
CN120071621A
Artificial driving vehicle behavior prediction system and method for hybrid motorcade control
CN121157964A
Traffic flow simulation method and system considering traffic safety and efficiency
CN122551576A
