Expressway tunnel vehicle lane change guiding method based on travel time prediction model

The PSO-CNN-LSTM-AM model is used to predict travel time and vehicle lane changing control in highway tunnel scenarios, which solves the problem of low prediction accuracy in the existing technology and improves tunnel traffic rate and traffic efficiency.

CN118658301AActive Publication Date: 2024-09-17CHONGQING UNIV

Patent Information

Application Number
CN202410890894.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-09-17
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

Existing travel time prediction methods have low prediction accuracy in highway tunnel scenarios, making it difficult to reasonably allocate traffic flow, resulting in low tunnel traffic rates.

Method used

The PSO-CNN-LSTM-AM model is used to obtain the trajectory data of intelligent connected vehicles for filtering preprocessing and feature extraction to construct a travel time prediction data set, and use one-dimensional convolution and LSTM layers to capture spatiotemporal features, combined with PSO optimization Use the attention mechanism to predict travel time, and propose a lane-changing control strategy at the entrance area of ​​the highway tunnel based on the predicted value.

Benefits of technology

It achieves more accurate travel time prediction and vehicle lane changing control, improves tunnel dual-lane utilization and traffic efficiency, and alleviates traffic congestion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658301A
    Figure CN118658301A
Patent Text Reader

Abstract

The invention belongs to the field of intelligent traffic, and discloses an expressway tunnel vehicle lane change guiding method based on a travel time prediction model, which comprises the following steps: S1, acquiring trajectory data of an intelligent network connection vehicle in a tunnel, and preprocessing the trajectory data; s2, carrying out correlation analysis on the travel time characteristics, extracting the travel time characteristics by taking Tpre seconds as a detection period, carrying out normalization processing on data, and constructing a travel time prediction data set; s3, building a travel time prediction model of PSO-CNN-LSTM-AM, inputting a travel time prediction data set into the model for training, and then performing experimental comparison and verification; and S4, performing periodic prediction by using the model trained in the step S3, and proposing a lane change control method for an expressway tunnel entrance area based on a travel time prediction value. According to the method, important features can be better extracted, a more accurate prediction effect is achieved, the tunnel double-lane utilization rate and the traffic efficiency can be improved, and traffic congestion is relieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of intelligent transportation, and in particular relates to a method for guiding vehicles to change lanes in a highway tunnel based on a travel time prediction model. Background Art

[0002] Travel time prediction is the estimation of the time required to traverse a specific road section or path within a specific timeframe. Accurate predictions can reflect changing trends in road traffic and vehicle operations, and are crucial for dynamic traffic control in highway tunnels. Furthermore, the development of intelligent connected vehicles (ICVs) has effectively addressed traffic congestion and safety challenges in highway tunnels by integrating advanced sensors, control systems, actuators, and communication and networking technologies to achieve real-time information exchange. Therefore, given the unique structure and environment of existing highway tunnels, the inconsistent speeds of fast and slow lanes, and the diverse vehicle types, which can lead to uneven lane utilization and low traffic efficiency, it is necessary to develop a dual-lane tunnel travel time prediction method based on ICV trajectory data, as well as a lane change guidance method for highway tunnel vehicles based on predicted travel time values, to rationally distribute traffic and improve tunnel efficiency.

[0003] By reviewing relevant patents and papers, it was found that in existing travel time predictions, scholars mainly rely on macro data such as toll data. Patent CN106228268A establishes a travel time prediction model combining autoencoders and BP neural networks based on toll data, which improves the adaptability and stability of the model; Patent CN113065684A establishes a highway travel time prediction method based on a VAE and deep learning combination model based on highway toll data, which improves the prediction accuracy. However, the above methods are all based on macro data, and their generalization ability and prediction accuracy are not ideal. At the same time, their prediction time is relatively long, which makes them less suitable for real-time traffic control strategies. At the same time, when existing scholars use trajectory data for prediction, they do not do enough to explore key features. Patent CN106228808A uses floating vehicle data to develop a travel time prediction method for urban expressways, factoring in multiple factors such as weekdays and non-workdays, historical travel times, and average speed. This method demonstrates strong robustness and fault tolerance. Patent CN115565376A uses trajectory data to develop a travel time prediction method that integrates graph2vec and a two-layer LSTM, factoring in multiple factors such as traffic congestion status, historical travel times, weather, weekdays and non-workdays, and temperature, improving resource utilization efficiency. However, these methods fail to fully exploit the key features of trajectory data for travel time prediction. In highway tunnel scenarios, factors such as headway, the proportion of large vehicles, and the number of vehicles can all have an impact. Research has also been conducted on methods for guiding vehicle lane changes at highway tunnel entrances based on travel time prediction models. Currently, there are relatively few reports and documentation on this topic, both domestically and internationally. Summary of the Invention

[0004] In view of this, the present invention aims to provide a method for guiding vehicle lane changes in highway tunnels based on a travel time prediction model. This method aims to address the problems of low prediction accuracy in existing methods, making it difficult to rationally allocate traffic flow and improve tunnel traffic efficiency.

[0005] The present invention provides a method for guiding vehicles to change lanes in a highway tunnel based on a travel time prediction model, comprising the following steps:

[0006] S1. Obtain trajectory data of the intelligent connected vehicle in the tunnel and preprocess the trajectory data;

[0007] The trajectory data includes the speed V and position X of the intelligent connected vehicle;

[0008] S2. Perform correlation analysis on travel time characteristics, using T pre Seconds are used as the detection period to extract travel time features, normalize the data, and construct a travel time prediction dataset;

[0009] S3. Build a PSO-CNN-LSTM-AM travel time prediction model, input the travel time prediction dataset into the model for training, and then conduct experimental comparison and verification.

[0010] S4. Perform periodic predictions using the model trained in step S3, and propose a lane-changing control method for the entrance area of ​​a highway tunnel based on the predicted travel time.

[0011] Furthermore, in step S1, the steps of filtering and preprocessing the trajectory data are as follows:

[0012] I. Use first-order inertial filtering to filter n trajectory data D per second. First, initialize the smoothing result to the first sample value, and then use the following formula to perform filtering:

[0013] D smooth [i]=α*D[i]+(1-α)*D smooth [i-1]

[0014] Where, α represents the filter coefficient, α = 0.2; D smooth [i] represents the output value of the current filtering data; D smooth [i-1] represents the output value of the last filtered data; D[i] represents the current sampling data value;

[0015] II. Use median averaging to remove the highest data value D among n data. high and the lowest data value D low, calculate the average value of the remaining n-2 data as the data information D with a time interval of 1s i , D i The calculation expression is as follows:

[0016]

[0017] Furthermore, step S2 includes the following sub-steps:

[0018] S2.1 performs autocorrelation analysis on historical travel time, and the calculation formula is as follows:

[0019]

[0020] Where k is the travel time order; μ is the mean of the travel time series; T i and T i+k is the i-th item of the two subsequences split by the time lag; ρ is the autocorrelation coefficient, which is used to quantitatively describe the correlation strength between travel times and has directionality. The value range of ρ is [-1, 1]. The closer it is to 1, the higher the positive correlation of travel times; the closer it is to -1, the lower the negative correlation of travel times; N represents the number of vehicles.

[0021] S2.2 uses the Pearson correlation coefficient to analyze travel time characteristics, including the historical travel time series of the tunnel's two-lane Large vehicle proportion sequence data P, vehicle headway characteristics T L , vehicle number feature N and speed feature V;

[0022] Assume that variable X={x1,x2,x3,......,x n}, X represents P, T L , N, V ​​any one variable;

[0023] Variable T={T1,T2,T3,......T n}, the Pearson correlation coefficient between two variables is calculated as follows:

[0024]

[0025] Where r represents the correlation coefficient between two variables; Cov(X,T) represents the covariance between the feature variable X and the travel time T; Var(X) and Var(T) represent the sample variances of the feature variable X and the travel time T, respectively;

[0026] S2.3 extracts travel time features with T = k as the detection period and normalizes the data;

[0027] The maximum and minimum normalization method is used to normalize the travel time data and feature data in the original data set, and the travel time data and feature data are converted into values ​​in the range of [0,1]. The calculation expression is as follows:

[0028]

[0029] Where, X Norm Represents the travel time and the normalized data of the characteristic data; X chushi Represents the original travel time and characteristic data; min(X) and max(X) are the minimum and maximum values ​​in the original data respectively;

[0030] S2.4 Build a travel time prediction dataset and divide it into a training set and a test set.

[0031] Furthermore, step S3 includes the following sub-steps:

[0032] S3.1 builds a CNN layer to capture travel time and vehicle trajectory data features, using one-dimensional convolution, a convolution kernel size of 3, a number of filters set to 64, and an activation function set to ReLU;

[0033] S3.2 superimposes an LSTM layer to capture the autocorrelation of the travel time series and the long-term and short-term characteristics of the travel time series data. A Dropout layer is introduced to prevent overfitting and is set to 0.3.

[0034] S3.3 Use the PSO optimization function to optimize the LSTM learning rate alpha and the number of neurons in the first hidden layer hidden_nodes;

[0035] S3.4 introduces the AM layer, uses the additive model to obtain the attention score, superimposes the Dense layer, uses the Softmax activation function output to obtain the weight value, and multiplies the weighted integration with the LSTM output result to obtain the travel time prediction output value;

[0036] S3.5 performs denormalization on the travel time prediction output value and conducts experimental comparison and verification.

[0037] Furthermore, step S4 includes the following sub-steps:

[0038] S4.1 Use the PSO-CNN-LSTM-AM travel time prediction model established in step S3 to calculate the travel time prediction model T pre The travel time of each lane in the tunnel is predicted with a period of seconds.

[0039] S4.2 Analysis of the travel time difference threshold ΔT for lane change strategy at tunnel entrance area threshold , and determine the two-lane travel time prediction difference ΔTT preWhether it exceeds the difference threshold ΔT threshold ;

[0040] If the threshold is not exceeded, the operation is repeated to predict the travel time at the next moment;

[0041] If the threshold is exceeded, the intelligent connected vehicle lane change strategy is activated; if the lane change strategy is activated, the relationship between the travel time difference and the optimal number of lane changes in the highway tunnel is analyzed, and the corresponding optimal number of lane changes N is calculated. change ;

[0042] S4.3 In the lane change control period T C Control the highway tunnel entrance area to meet the optimal lane change number N change The intelligent connected vehicle changes lanes from a lane with a long travel time to a lane with a short travel time, and then realizes periodic real-time prediction and intelligent connected vehicle lane change control strategy.

[0043] Furthermore, in step S4.2, the travel time difference threshold ΔT is analyzed. threshold , the multi-objective function of average travel time, average loss time, and average fuel consumption is selected as the traffic efficiency evaluation after the implementation of the lane changing strategy. The objective function is as follows:

[0044]

[0045] Where β1, β2, and β3 represent the average travel time Average time lost Average fuel consumption The correlation coefficient is β1=β2=β3=1.

[0046] Furthermore, in step S4.2, the optimal lane change number N change The calculation steps are as follows:

[0047] Using average travel time Average time lost Average fuel consumption The objective function constructed is used to analyze the optimal number of lane changes. By minimizing the objective function, the predicted difference ΔTT of each travel time is obtained. pre The optimal number of lane changes under ;

[0048]

[0049] Where,

[0050] Beneficial effects:

[0051] Based on the trajectory data of intelligent connected vehicles on the road, this paper fully explores the influence of multiple characteristic factors such as historical travel time, the proportion of large vehicles, headway, the number of vehicles in the lane, and average speed, and proposes a PSO-CNN-LSTM-AM method for predicting travel time in highway tunnels. This method can better extract important features and achieve more accurate prediction results. At the same time, based on the predicted difference in travel time between two lanes, this paper analyzes the difference threshold and the optimal number of lane changes, and proposes a lane change guidance method for intelligent connected vehicles at the entrance area of ​​a highway tunnel based on the difference in travel time between two lanes. This method can improve the utilization rate of the tunnel's two lanes and traffic efficiency, thereby alleviating traffic congestion.

[0052] Other advantages, objects, and features of the present invention will be described in part in the following description and, in part, will be apparent to those skilled in the art upon examination of the following description or may be learned from practice of the present invention. The objects and other advantages of the present invention may be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 Schematic diagram of the steps for predicting travel time in a highway tunnel;

[0054] Figure 2 Schematic diagram of the model structure of the travel time prediction method based on PSO-CNN-LSTM-AM;

[0055] Figure 3 This is a flow chart of a lane-changing control method for a highway tunnel entrance area based on a dual-lane travel time prediction model;

[0056] Figure 4 This is a schematic diagram of a two-lane highway tunnel scenario in this embodiment;

[0057] Figure 5 Schematic diagram of traffic efficiency changes under different travel time difference thresholds;

[0058] Figure 6 Schematic diagram of the optimal lane change number prediction model based on random forest in this embodiment;

[0059] Figure 7 This is a comparison chart of the predicted and actual travel time for a two-lane tunnel in this embodiment;

[0060] Figure 8 3 is a comparison chart of the two-lane travel time prediction and actual value with and without the CAV lane change control strategy when the CAV penetration rate is 60% in this embodiment. DETAILED DESCRIPTION

[0061] To make the technical solutions, advantages, and purposes of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the described embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0062] like Figure 1 As shown, the present invention provides a method for guiding lane change of vehicles in a highway tunnel based on a travel time prediction model, comprising the following steps:

[0063] S1. Obtain trajectory data of the intelligent connected vehicle in the tunnel and preprocess the trajectory data;

[0064] Obtaining the trajectory data of intelligent connected vehicles in the tunnel. The output vehicle trajectory data D may have large fluctuations. Therefore, it is necessary to smooth the vehicle trajectory data D (including speed V and position X) and filter the n data per second to only retain one data per second.

[0065] In step S1, the steps of filtering and preprocessing the trajectory data are as follows:

[0066] I. Use first-order inertial filtering to filter n trajectory data D per second. First, initialize the smoothing result to the first sample value, and then use the following formula to perform filtering:

[0067] D smooth [i]=α*D[i]+(1-α)*D smooth [i-1]

[0068] Where, α represents the filter coefficient, α = 0.2; D smooth [i] represents the output value of the current filtering data; D smooth [i-1] represents the output value of the last filtered data; D[i] represents the current sampling data value; the current sampling value and the last filtered output value are weighted to obtain the effective data filtering value, so that the output has a feedback effect on the input.

[0069] II. Use median averaging to remove the highest data value D among n data. high and the lowest data value D low , calculate the average value of the remaining n-2 data as the data information D with a time interval of 1s i , D i The calculation expression is as follows:

[0070]

[0071] S2. Perform correlation analysis on travel time characteristics, using T pre Seconds are used as the detection period to extract travel time features, normalize the data, and construct a travel time prediction dataset;

[0072] S2.1 In the travel time series data, there is a certain correlation between the travel time value in the current period and its lagged historical travel time. The autocorrelation analysis of the historical travel time is performed, and the calculation formula is as follows:

[0073]

[0074] Where k is the travel time order; μ is the mean of the travel time series; T i and T i+k is the i-th item of the two subsequences split by the time lag; ρ is the autocorrelation coefficient, which is used to quantitatively describe the correlation strength between travel times and has directionality. The value range of ρ is [-1, 1]. The closer it is to 1, the higher the positive correlation of travel times; the closer it is to -1, the lower the negative correlation of travel times; N represents the number of vehicles.

[0075] S2.2 uses the Pearson correlation coefficient to analyze travel time characteristics, including the historical travel time series of the tunnel's two-lane Large vehicle proportion sequence data P, vehicle headway characteristics T L , vehicle number feature N and speed feature V;

[0076] Assume that variable X={x1,x2,x3,......,x n}, X represents P, T L , N, V ​​any one variable;

[0077] Variable T={T1,T2,T3,......T n}, the Pearson correlation coefficient between two variables is calculated as follows:

[0078]

[0079] Where r represents the correlation coefficient between two variables; Cov(X,T) represents the covariance between the feature variable X and the travel time T; Var(X) and Var(T) represent the sample variances of the feature variable X and the travel time T, respectively;

[0080] S2.3 extracts travel time features with T = k as the detection period and normalizes the data;

[0081] In order to effectively improve the convergence speed and accuracy of the prediction model and prevent the gradient explosion of the prediction model, the maximum and minimum normalization method is used to normalize the travel time data and feature data in the original data set, and convert the travel time data and feature data into values ​​in the range of [0,1]. The calculation expression is as follows:

[0082]

[0083] Where, X Norm Represents the travel time and the normalized data of the characteristic data; X chushi Represents the original travel time and characteristic data; min(X) and max(X) are the minimum and maximum values ​​in the original data respectively;

[0084] S2.4 Build a travel time prediction dataset and divide it into a training set and a test set.

[0085] S3. Figure 2 As shown in the figure, a PSO-CNN-LSTM-AM travel time prediction model is built, and the travel time prediction dataset is input into the model for training, and then experimental comparison and verification are carried out;

[0086] S3.1 builds a CNN layer to capture travel time and vehicle trajectory data features, using one-dimensional convolution, a convolution kernel size of 3, a number of filters set to 64, and an activation function set to ReLU;

[0087] First, build the CNN layer and input the tunnel dual-lane historical travel time series Large vehicle proportion sequence data P, vehicle headway characteristics T L , vehicle number feature N, speed feature V are input to the convolution layer, using the Relu activation function:

[0088]

[0089] where Y c represents the output of the convolutional layer, f(z) represents the activation function, and W c represents the weight of the filter, represents the convolution operator, X Norm represents the normalized travel time and characteristic data, B c Represents the bias value of the filter. Then, the output of the convolution layer is connected to the pooling layer, and the maximum pooling method is used for pooling. The purpose is to obtain the local optimal solution in the convolution feature matrix and effectively alleviate the overfitting problem. The calculation process is as follows:

[0090] Y p =Pool max (Y c )

[0091] where Y p Represents the output of the pooling layer, Pool max (z) represents the maximum pooling function.

[0092] S3.2 superimposes an LSTM layer to capture the autocorrelation of the travel time series and the long-term and short-term characteristics of the travel time series data. A Dropout layer is introduced to prevent overfitting and is set to 0.3.

[0093] The pooling layer data is then flattened and an LSTM layer is added to capture the dependencies of the travel time series data, achieving accurate predictions. The activation function is designed to be Selu by setting the learning rate alpha and the number of neurons in the first hidden layer, hidden_nodes.

[0094] S3.3 Use the PSO optimization function to optimize the LSTM learning rate alpha and the number of neurons in the first hidden layer hidden_nodes;

[0095] Next, we introduce the PSO optimization algorithm to optimize the two parameters of the LSTM layer, thereby improving the LSTM model's prediction and generalization capabilities. Using the Adam optimizer, we set the Mean Squared Error (MSE) as the loss function and the mean squared error (MSE) between the predicted and actual travel times as the fitness function. We record the global optimal solution and fitness, and determine the optimal learning rate alpha and the number of neurons in the first hidden layer, hidden_nodes.

[0096] S3.4 introduces the AM layer, uses the additive model to obtain the attention score, superimposes the Dense layer, uses the Softmax activation function output to obtain the weight value, and multiplies the weighted integration with the LSTM output result to obtain the travel time prediction output value;

[0097] Finally, build the AM layer and use the attention mechanism to learn the weight of each LSTM time point. Use softmax as the activation function. The weight probability calculation formula is as follows:

[0098]

[0099] Where s(x i ,q) represents the attention scoring function, which is calculated using the additive model:

[0100] s(x i ,q)=v T tanh(Wx i +Uq)

[0101] Where W, U, and v represent network parameters. Finally, the travel time prediction values ​​are multiplied and weighted by weighted average to obtain the travel time prediction output value TT.pre , the calculation formula is as follows:

[0102]

[0103] S3.5 performs denormalization on the travel time prediction output value and performs experimental comparison and verification;

[0104] TTs pre =TT pre *(max(TT pre )-min(TT pre ))+min(TT pre )

[0105] Finally, the trained tunnel travel time prediction model based on PSO-CNN-LSTM-AM was experimentally verified and compared.

[0106] S4. Using the model trained in step S3 to perform periodic predictions, a lane change control method for the entrance area of ​​a highway tunnel is proposed based on the predicted travel time.

[0107] S4.1 Use the PSO-CNN-LSTM-AM travel time prediction model established in step S3 to calculate the travel time prediction model T pre Seconds is the cycle, and the travel time of each lane in the tunnel is predicted. The predicted double lane travel time prediction value TTs pre1 and TTs pre2 Input into the subsequent lane-changing strategy;

[0108] Based on the two-lane travel time prediction value TTs obtained above pre1 and TTs pre2 ,like Figure 3 As shown, the present invention proposes a lane-changing control method for a highway tunnel entrance area based on a travel time prediction model;

[0109] S4.2 Analysis of the travel time difference threshold ΔT for lane change strategy at tunnel entrance area threshold , and determine the two-lane travel time prediction difference ΔTT pre Whether it exceeds the difference threshold ΔT threshold ;

[0110] like Figure 4 As shown in the figure, the two-lane highway tunnel scenario includes the tunnel entrance area: the intelligent connected vehicle lane change control area, the tunnel interior: the no lane change control area, and the tunnel exit area. threshold , the multi-objective function of average travel time, average loss time, and average fuel consumption is selected as the traffic efficiency evaluation after the implementation of the lane changing strategy. The objective function is as follows:

[0111]

[0112] Where β1, β2, and β3 represent the average travel time Average time lost Average fuel consumption The correlation coefficient is: β1 = β2 = β3 = 1. Considering the inconsistency of the data dimensions, the maximum and minimum normalization method is used for normalization. Next, considering that the three variables have a significant impact on the objective function, the correlation coefficient is set to: β1 = β2 = β3 = 1.

[0113] like Figure 5 As shown in the figure, the traffic efficiency changes under different travel time difference thresholds are obtained by minimizing the above objective function. threshold Then, the predicted difference of the two-lane travel time ΔTT is determined. pre Whether it exceeds the difference threshold ΔT threshold .

[0114] If the threshold is not exceeded, the operation is repeated to predict the travel time at the next moment;

[0115] If the threshold is exceeded, the intelligent connected vehicle lane change strategy is activated; if the lane change strategy is activated, the relationship between the travel time difference and the optimal number of lane changes in the highway tunnel is analyzed, and the corresponding optimal number of lane changes N is calculated. change ;

[0116] Number of lane changes N change Difference ΔTT from travel time prediction pre is closely related. As the difference between the two lanes increases, the number of lane changes will also increase. Similarly, using the average travel time Average time lost Average fuel consumption The objective function constructed is used to analyze the optimal number of lane changes. By minimizing the objective function, the predicted difference ΔTT of each travel time is obtained. pre The optimal number of lane changes under ;

[0117]

[0118] Similarly, set the above correlation coefficient to:

[0119] Then use random forest to predict the travel time difference ΔTT pre The relationship with the number of lane changes of CAV is quantified, such as Figure 6 As shown in Figure 2, a lane change number prediction model based on random forest is obtained.

[0120] After the CAV lane-changing strategy is activated, the optimal number of lane changes N is calculated based on the lane-changing number prediction model mentioned above and the travel time difference. change .

[0121] S4.3 In the lane change control period T C Control the highway tunnel entrance area to meet the optimal lane change number N change The intelligent connected vehicle changes lanes from a lane with a long travel time to a lane with a short travel time, and then realizes periodic real-time prediction and intelligent connected vehicle lane change control strategy.

[0122] Example

[0123] This example uses the vehicle trajectory data of the Taiping Tunnel on the Chongqing Expressway as the research object. The vehicle trajectory data for four days from August 18 to August 21, 2023, is selected as the example data. The data frequency is 10 frames per second, and the training set and test set are divided into 7:3. The travel time prediction period is set to T pre =5.

[0124] Two-lane travel time prediction results based on PSO-CNN-LSTM-AM

[0125] like Figure 7 As shown in the figure, the travel time prediction model built above is used to predict the travel time of two lanes in the tunnel. The predicted values ​​of the two lanes are close to the actual values, and the prediction error is small. Figure 7 (a) is the travel time of one lane when T=5s interval, Figure 7 (b) is the travel time of two lanes when T=5s. To verify the effectiveness of the model, mean absolute error (MAE), root mean square error (RMSE), and mean absolute percentage error (MAPE) are used as evaluation indicators:

[0126]

[0127] To verify the effectiveness of the model, we compared it with various neural network models. Table 1 below shows the prediction results between different models.

[0128] Table 1

[0129]

[0130] The results show that compared with the travel time prediction of traditional methods, the PSO-CNN-LSTM-AM highway tunnel travel time prediction model proposed in this paper, which takes into account the influence of multiple factors, can fully explore the temporal and spatial characteristics of the travel time process and has high prediction accuracy. It can also achieve ideal prediction effects when applied to different lanes, providing a basis for the subsequent establishment of a CAV lane change guidance method in the tunnel entrance area.

[0131] Next, to verify the impact of different data sizes on the two-lane travel time prediction, the above trajectory data was sampled. Table 2 below is a table of two-lane travel time prediction errors when the trajectory data sampling data size = 20%, 40%, 60%, and 80%.

[0132] Table 2

[0133]

[0134] The results show that as the amount of trajectory data sampling increases, the prediction errors for both one-lane and two-lane travel times decrease. Furthermore, when the trajectory data sampling volume is 20%, the MAE is greater than 10, indicating poor prediction results, due to the limited data collection and the significant discrepancy between the overall traffic conditions. However, when the trajectory data sampling volume reaches 40%, the error reaches a more accurate prediction result. Overall, when the trajectory data sampling volume exceeds 20%, the model prediction results of the present invention are generally consistent with the changing trends of the actual travel time data, resulting in relatively ideal prediction results.

[0135] Verification of the effectiveness of a vehicle lane-changing guidance method at tunnel entrances based on dual-lane travel time predictions

[0136] This embodiment builds a joint simulation platform based on Sumo and Python to verify the travel time prediction method and lane change control method provided by the present invention. A highway tunnel in Chongqing is selected as the test background section. The total length of the tunnel is 4.237km, with two lanes in one direction. The section before the tunnel entrance is 2000m, the tunnel length is 2037m, and the section after the tunnel exit is 200m. Taking the CAV penetration rate of 60% as an example, Figure 8 As shown in Figure 2, the prediction and actual value of the two-lane travel time with and without the CAV lane change control strategy are compared, where Figure 8 (a) Comparison of actual and predicted travel time for two-lane no-lane-change control under 60% CAV penetration rate. Figure 8 (b) Comparison of actual and predicted travel time for a two-lane lane with lane-changing control under 60% CAV penetration.

[0137] Finally, the total travel time, total loss time, total fuel consumption, and total traffic volume were used to evaluate the traffic efficiency with and without the lane change control strategy. Table 3 below is a comparison of the traffic efficiency with and without the lane change control strategy at different CAV penetration rates.

[0138] Table 3

[0139]

[0140] Results show that, compared to control without lane changes, the lane change control proposed in this invention can increase tunnel throughput and reduce travel time and lost time at any CAV penetration rate. Furthermore, as CAV penetration increases, both control without and with lane changes can increase tunnel throughput. This is because as the number of CAVs increases, their ability to adaptively adjust to congestion increases. Furthermore, higher prediction accuracy can provide more precise control. In summary, the proposed highway tunnel lane change control method based on a travel time prediction model can accurately predict travel time, effectively improve tunnel traffic efficiency, and alleviate traffic congestion.

[0141] It is hereby stated that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the purpose and scope of the technical solutions, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for guiding vehicles to change lanes in a highway tunnel based on a travel time prediction model, characterized in that: The following steps are involved: S1. Obtain the trajectory data of the intelligent connected vehicle in the tunnel and pre-process the trajectory data; The trajectory data includes the speed V and position X of the intelligent connected vehicle; S2. Correlation analysis of travel time characteristics, based on T pre The travel time features are extracted with the detection period of seconds, the data is normalized, and the travel time prediction dataset is constructed; S3. Build a PSO-CNN-LSTM-AM travel time prediction model, input the travel time prediction dataset into the model for training, and then conduct experimental comparison and verification; S4. Perform periodic prediction using the model trained in step S3, and propose a lane change control method for the entrance area of ​​a highway tunnel based on the predicted travel time value.

2. The method for guiding lane change of vehicles in a highway tunnel based on a travel time prediction model according to claim 1, characterized in that: In step S1, the steps of filtering and preprocessing the trajectory data are as follows: I. Use the first-order inertial filter to filter the n trajectory data D per second. First, initialize the smoothing result to the first sample value, and then use the following formula for filtering: D smooth [i]=α*D[i]+(1-α)*D smooth [i-1] Where α represents the filter coefficient, α = 0.2; D smooth [i] represents the output value of the current filtering data; D smooth [i-1] indicates the output value of the last filtered data; D[i] represents the data value of this sampling; II. Use median average to remove the highest data value D among n data high and the lowest data value D low , calculate the average value of the remaining n-2 data as the data information with a time interval of 1s, D i The calculation expression is as follows:

3. The method for guiding lane change of vehicles in a highway tunnel based on a travel time prediction model according to claim 2, characterized in that: The step S2 comprises the following sub-steps: S2.1 performs autocorrelation analysis on historical travel time, and the calculation formula is as follows: Where k is the travel time order; μ is the mean of the travel time series; T i and T i+k is the i-th item of the two subsequences separated by the time lag; ρ is the autocorrelation coefficient, which is used to quantitatively describe the strength of the correlation between travel times and has directionality. The value range of ρ is [-1,1]. The closer it is to 1, the higher the degree of positive correlation of travel time. The closer it is to -1, the lower the negative correlation of travel time; N represents the number of vehicles; S2.2 uses the Pearson correlation coefficient to analyze the travel time characteristics, including the historical travel time series of the tunnel double lane Large vehicle proportion sequence data P, headway characteristics T L , vehicle number feature N and speed feature V; Assume that variable X = {x1, x2, x3, ..., x n }, X represents P, T L , N, V ​​any one variable; Variable T={T1,T2,T3,......T n }, the Pearson correlation coefficient between two variables is calculated as follows: Where r represents the correlation coefficient between two variables; Cov(X,T) represents the covariance between the feature variable X and the travel time T; Var(X) and Var(T) represent the sample variances of the feature variable X and the travel time T, respectively; S2.3 extracts travel time features with T = k as the detection period and normalizes the data; The maximum and minimum normalization method is used to normalize the travel time data and feature data in the original data set, and the travel time data and feature data are converted into values ​​in the range of [0,1]. The calculation expression is as follows: Where, X Norm Indicates the travel time and the data after the feature data is standardized; X chushi Represents the original travel time and characteristic data; min(X) and max(X) are the minimum and maximum values ​​in the original data respectively; S2.4 constructs a travel time prediction dataset and divides it into a training set and a test set.

4. The method for guiding vehicles to change lanes in a highway tunnel based on a travel time prediction model according to claim 3, characterized in that: The step S3 comprises the following sub-steps: S3.1 constructs a CNN layer to capture travel time and vehicle trajectory data features, using one-dimensional convolution, with a convolution kernel size of 3, the number of filters set to 64, and the activation function set to Relu; S3.2 superimposes the LSTM layer to capture the autocorrelation of the travel time series and the long-term and short-term characteristics of the travel time series data. The Dropout layer is introduced to prevent overfitting and is set to 0.3; S3.3 Use the PSO optimization function to optimize the LSTM learning rate alpha and the number of neurons in the first hidden layer hidden_nodes; S3.4 introduces the AM layer, uses the additive model to obtain the attention score, superimposes the Dense layer, uses the Softmax activation function output to obtain the weight value, and multiplies the weighted integration with the LSTM output result to obtain the travel time prediction output value; S3.5 performs denormalization on the travel time prediction output value and conducts experimental comparison and verification.

5. The method for guiding vehicles to change lanes in a highway tunnel based on a travel time prediction model according to claim 4, characterized in that: The step S4 comprises the following sub-steps: S4.1 Use the PSO-CNN-LSTM-AM travel time prediction model established in step S3 to calculate the travel time prediction model based on T pre The travel time is predicted for each lane in the tunnel with a period of seconds. S4.2 Analysis of the travel time difference threshold ΔT for lane change strategy at tunnel entrance area threshold , and determine the two-lane travel time prediction difference ΔTT pre Whether it exceeds the difference threshold ΔT threshold ; If the threshold is not exceeded, the operation is repeated to predict the travel time at the next moment; If the threshold is exceeded, the smart connected car lane change strategy is activated; If the lane-changing strategy is enabled, the relationship between the travel time difference and the optimal number of lane changes in the highway tunnel is analyzed, and the corresponding optimal number of lane changes N is calculated. change ; S4.3 In the lane change control period T C Control the highway tunnel entrance area to meet the optimal lane change number N change The intelligent connected vehicles change lanes from the lane with a long travel time to the lane with a short travel time, and then realize periodic real-time prediction and lane changing control strategy of intelligent connected vehicles.

6. The method for guiding vehicles to change lanes in a highway tunnel based on a travel time prediction model according to claim 5, characterized in that: In step S4.2, the travel time difference threshold ΔT is analyzed. threshold , the multi-objective function of average travel time, average loss time and average fuel consumption is selected as the traffic efficiency after the implementation of the lane changing strategy. The objective function is as follows: Where β1, β2, and β3 represent the average travel time Average time lost Average fuel consumption The correlation coefficient is β1=β2=β3=1.

7. The method for guiding vehicles to change lanes in a highway tunnel based on a travel time prediction model according to claim 6, characterized in that: In step S4.2, the optimal lane change number N change The calculation steps are as follows: Using average travel time Average time lost Average fuel consumption The objective function constructed is used to analyze the optimal number of lane changes. By minimizing the objective function, each travel time prediction difference ΔTT is obtained. pre The optimal number of lane changes under ; In the formula,

Citation Information

Patent Citations

  • Method for predicting influence of vehicle lane change on traffic efficiency

    CN113674521A

  • Large and long tunnel vehicle guiding method based on Leiyu fusion data

    CN117198062A

  • Traffic jam prediction device and method

    US20070005230A1

Cited By

  • Method and system for all-weather monitoring of port congestion by using synthetic aperture radar

    CN119335537A