Vehicle lane change recognition method, device, terminal and medium

By establishing the concepts of vehicle constraint areas and driving interaction areas, combined with the XGBoost model, the problem of the lack of interaction influence of surrounding vehicles and single-moment feature information in the existing technology is solved, and more accurate identification of vehicle lane-changing intentions is achieved, adapting to my country's driving habits. , improves lane changing safety and provides support for autonomous driving and traffic improvement.

CN117261920BActive Publication Date: 2024-09-03GUANGZHOU URBAN PLANNING & DESIGN SURVEY RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311215607.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-19
Publication Date
2024-09-03
Estimated Expiration
2043-09-19

AI Technical Summary

Technical Problem

Existing technology fails to consider the interaction of surrounding vehicles in the recognition of vehicle lane-changing intentions, and traditional models only focus on feature information at a single moment, making it difficult to accurately predict the safety of lane-changing, and the existing data are not suitable for driving behavior habits in my country.

Method used

By establishing the concepts of vehicle constraint area and driving interaction area, the impact of surrounding vehicles on the target vehicle is quantified, the XGBoost model is used to build a lane-changing intention recognition model, and domestic vehicle trajectory data is used for training and recognition.

Benefits of technology

It achieves more accurate recognition of driver's lane-changing intention, adapts to my country's driving habits, reduces the risk of lane-changing accidents, and provides theoretical support for automatic driving systems and traffic condition improvement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117261920B
    Figure CN117261920B
Patent Text Reader

Abstract

The present invention discloses a vehicle lane change recognition method, device, terminal and medium, the method comprising obtaining the lateral and longitudinal speeds and acceleration information of the target vehicle; establishing the vehicle constraint area and driving interaction area of ​​the target vehicle according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle, and obtaining the feature vector of lane change intention recognition; inputting into the trained XGBoost lane change intention recognition model to obtain the lane change intention recognition time window to control the target vehicle to change lanes. Therefore, the embodiment of the present invention can reconstruct and splice the vehicle lane change trajectory and the lane keeping vehicle trajectory based on domestic vehicle trajectory data, propose the concept of vehicle interaction area, attribute the influence of surrounding vehicles on the target vehicle to the function of the overlapping area of ​​the vehicle interaction area, and use the target vehicle driving parameters as feature parameters to establish the XGBoost lane change intention recognition model to recognize the driver's lane change intention.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a vehicle lane change recognition method, device, terminal and medium. Background Art

[0002] During the driving process of a vehicle, following and lane changing are the two most typical driving behaviors. Compared with following, the possibility of decision-making errors in lane changing is greater and is more likely to cause traffic accidents. Studies have shown that early perception of the driver's lane changing intention can effectively reduce the incidence of traffic accidents during lane changing and improve the safety of vehicle lane changing. Its application will also have a positive effect on the promotion of future autonomous driving systems and the improvement of traffic conditions.

[0003] As a common driving behavior, vehicle lane changing behavior has always been one of the important research areas of scholars at home and abroad. After more than 30 years of research and development, domestic and foreign scholars have conducted a lot of theoretical research on lane changing behavior by means of experiments and simulations, and have successfully applied many research methods and models to driving assistance technology and autonomous driving technology. The research on lane changing intention recognition model mainly focuses on two aspects: one is to determine the parameters used to characterize the driver's lane changing intention; the other is to select a suitable pattern recognition method to realize intention recognition. Domestic and foreign studies usually use three types of indicators: the driver's eye movement and head characteristic parameters, the vehicle running state parameters, and the surrounding environment state to determine the intention characterization parameters.

[0004] However, revealing lane-changing intentions through the driver's physiological characteristics usually requires professional equipment during the data collection process, and may involve privacy issues, so its promotion in reality will be subject to certain restrictions and obstacles. With the rapid development of traffic flow detection technology, it is possible to obtain a large amount of vehicle trajectory data, and the driver's lane-changing behavior can be intuitively characterized from the trajectory data. Therefore, in order to establish a driving model that is more in line with the driving behavior habits of Chinese drivers, it is necessary to use the vehicle driving trajectory data set collected independently in my country to establish a more accurate and adaptable lane-changing intention recognition model, which will help provide theoretical support for the vehicle lane-changing safety warning system. The traditional lane-changing intention model only considers the characteristic information of the vehicle at a certain point in time, but does not consider the historical influence of the vehicle state from the generation of the lane-changing intention to the completion of the lane-changing. Considering only the characteristic information at a single moment inevitably has certain limitations.

[0005] At present, there is no unified standard for the length of the lane change intention time window in domestic and foreign research. The selection of the driver's lane change intention time window is generally between 1s and 5s. If the lane change intention is only identified from the moment the driver starts to change lanes (i.e., the moment when the lane change starts), the prediction and evaluation of lane change safety is meaningless. In addition, the existing research lacks the consideration of the interactive impact of surrounding vehicles on the target vehicle in the lane change intention model, and because multiple vehicles are involved in the lane change process, it is costly and difficult to collect and process necessary data (such as the number of vehicles affected by the lane change). Previous studies on lane changing often lack the necessary actual data as support. Although some researchers have conducted relevant research using the US NGSIM data, the data reflects the driving behavior habits of the United States and cannot be directly applied to my country. Summary of the invention

[0006] The present invention provides a vehicle lane change recognition method, device, terminal and medium. Based on domestic vehicle trajectory data, the vehicle lane change trajectory and lane keeping vehicle trajectory are reconstructed and spliced, and the concept of vehicle interaction area is proposed. The influence of surrounding vehicles on the target vehicle is attributed to the function of the overlapping area of ​​the vehicle interaction area. The target vehicle driving parameters are used as feature parameters to establish an XGBoost lane change intention recognition model to identify the driver's lane change intention.

[0007] In order to achieve the above objectives, in a first aspect, an embodiment of the present invention provides a vehicle lane change recognition method, comprising:

[0008] The lateral and longitudinal speeds and acceleration information of the target vehicle are obtained, and based on the interaction between the target vehicle and surrounding vehicles, the vehicle constraint area and driving interaction area of ​​the target vehicle are established to obtain the feature vector for driver lane change intention recognition; the feature vector is input into the lane change intention recognition model of XGBoost to obtain the lane change intention recognition time window to control the target vehicle to change lanes;

[0009] Acquire the lateral and longitudinal speeds and acceleration information of the target vehicle; establish the vehicle restraint area and driving interaction area of ​​the target vehicle according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle, and obtain the feature vector for lane change intention recognition;

[0010] Input into the trained XGBoost lane change intention recognition model to obtain a lane change intention recognition time window to control the target vehicle to change lanes;

[0011] The training and testing process of the XGBoost lane change intention recognition model specifically includes:

[0012] Extract and reconstruct the vehicle driving trajectory data within the time range of t in the traffic system dataset to obtain sample trajectory data, and divide the sample trajectory data into a training set and a test set; 0 < t ≤ 90 days;

[0013] Obtain the longitudinal and lateral speeds and acceleration information of the sample vehicles in the training set, and establish the vehicle constraint area and driving interaction area of the sample vehicles according to the interaction between the sample vehicles and the surrounding vehicles of the sample vehicles, so as to obtain the sample feature vectors for lane change intention recognition;

[0014] Use the XGBoost model to construct the lane change intention recognition model of XGBoost, and iteratively update and train the parameters of the lane change intention recognition model of XGBoost according to the sample feature vectors for lane change intention recognition in an iterative learning manner until convergence, so as to obtain the trained lane change intention recognition model of XGBoost;

[0015] Test the trained lane change intention recognition model of XGBoost through the test set to obtain the calibration value of the lane change intention recognition time window.

[0016] Further, the extraction and reconstruction of the vehicle driving trajectory data within the time range of t in the traffic system dataset to obtain sample trajectory data, and the division of the sample trajectory data into a training set and a test set specifically include:

[0017] Extract the vehicle driving trajectory data within the time range of t in the traffic system dataset according to a specific duration to obtain a trajectory set of left lane change trajectories, right lane change trajectories, and lane keeping trajectories; among them, the number of lane keeping trajectories is equal to the sum of the number of left lane change trajectories and the number of right lane change trajectories;

[0018] Normalize all the trajectory coordinates in the trajectory set to the origin, take any one of the lane keeping trajectories as the starting point, randomly splice one of the left lane change trajectories or the right lane change trajectories, and then splice one lane keeping trajectory, and so on until all the trajectories in the trajectory set have been spliced; thus obtaining sample trajectory data, and dividing the sample trajectory data into a training set and a test set.

[0019] Further, the expression of the vehicle constraint area of the target vehicle is:

[0020]

[0021] The expression of the driving interaction area of the target vehicle is:

[0022]

[0023] Where a1 and b1 are the shape parameters of the vehicle restraint area of ​​the target vehicle, the size of a1 depends on the length of the target vehicle, and the size of b1 depends on the width of the target vehicle; (x1, y1) is the range trajectory point of the vehicle restraint area of ​​the target vehicle; a2 and b2 are the shape parameters of the driving interaction area of ​​the target vehicle, the size of a2 depends on the minimum vehicle spacing when the target vehicle is following the vehicle; b2 is set so that the interaction areas of vehicles in non-adjacent lanes are strictly non-overlapping, 2b2=2d L , d L is the width of the lane where the target vehicle is located; (x2, y2) is the range trajectory point of the driving interaction area of ​​the target vehicle.

[0024] Furthermore, the vehicle constraint area and driving interaction area of ​​the target vehicle are established according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle, and the feature vector for lane change intention recognition is obtained, which specifically includes:

[0025] Establishing a vehicle restraint area and a driving interaction area of ​​the target vehicle according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle;

[0026] When the driving interaction area of ​​the target vehicle overlaps with the driving interaction area of ​​the surrounding vehicles, the influence degree between the vehicles is analyzed, the influence of the surrounding vehicles on the driving intention of the target vehicle is quantified, and the longitudinal influence coefficient and the lateral influence coefficient of the target vehicle are obtained, so as to obtain the feature vector for lane change intention recognition;

[0027] The longitudinal impact coefficient I of the target vehicle x and the lateral influence coefficient I y They are:

[0028]

[0029]

[0030] In the formula, S I , S II , S III , S IV are the overlapping areas of the driving interaction area of ​​the target vehicle and the driving interaction areas of the front, rear, left and right surrounding vehicles of the target vehicle, respectively, and S0 is the area of ​​the driving interaction area of ​​the target vehicle;

[0031] The feature vector of lane change intention recognition is:

[0032] f c = {v lon ,v lat ,alon , a lat , I lon , I lat}

[0033] In the formula, v lon is the longitudinal speed of the target vehicle; v lat is the lateral speed of the target vehicle; a lon is the longitudinal acceleration of the target vehicle; a lat is the lateral acceleration of the target vehicle; I lon is the longitudinal influence of the surrounding vehicles on the target vehicle; I lat is the lateral influence of the surrounding vehicles on the target vehicle.

[0034] Furthermore, the parameters of the XGBoost model are divided into two categories: the input parameters of the model and the hyperparameters of the model;

[0035] The hyperparameters are used to adjust and balance the complexity and generalization ability of the XGBoost model, including the maximum depth max_depth, the L1 regularization coefficient reg_lambda, the L2 regularization coefficient reg_alpha, the subsampling rate subsample, the feature subsampling rate colsample_bytree, and the learning rate eta;

[0036] The hyperparameters of the XGBoost model are optimized using a grid search algorithm based on 5-fold cross-validation.

[0037] In a second aspect, an embodiment of the present invention provides a vehicle lane change recognition device, including:

[0038] A data acquisition module, configured to acquire the longitudinal and lateral speed and acceleration information of the target vehicle; according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle, establish a vehicle constraint area and a driving interaction area of the target vehicle, and obtain a feature vector for lane change intention recognition;

[0039] A data input module, configured to input to the trained XGBoost lane change intention recognition model to obtain a lane change intention recognition time window, so as to control the target vehicle to change lanes;

[0040] Among them, the training and testing processes of the XGBoost lane change intention recognition model specifically include:

[0041] Extract and reconstruct the vehicle driving trajectory data within the t time range in the traffic system dataset to obtain sample trajectory data, and divide the sample trajectory data into a training set and a testing set; 0 < t ≤ 90 days;

[0042] Acquire the lateral and longitudinal speeds and acceleration information of the sample vehicles in the training set, establish the vehicle restraint area and driving interaction area of ​​the sample vehicle according to the interaction between the sample vehicle and the surrounding vehicles of the sample vehicle, and obtain the sample feature vector for lane change intention recognition;

[0043] The XGBoost lane-changing intention recognition model is constructed by adopting the XGBoost model, and the parameters of the XGBoost lane-changing intention recognition model are iteratively updated and trained according to the sample feature vector of the lane-changing intention recognition by iterative learning until convergence, so as to obtain the trained XGBoost lane-changing intention recognition model;

[0044] The trained XGBoost lane-changing intention recognition model is tested using the test set to obtain a calibration value of the lane-changing intention recognition time window.

[0045] Furthermore, the vehicle driving trajectory data within the time range t in the traffic system data set is extracted and reconstructed to obtain sample trajectory data, and the sample trajectory data is divided into a training set and a test set, specifically including:

[0046] The vehicle driving trajectory data in the time range t in the traffic system data set is extracted according to a specific time length to obtain a trajectory set of left lane change trajectory, right lane change trajectory and lane keeping trajectory; wherein the number of lane keeping trajectories is equal to the sum of the number of left lane change trajectories and the number of right lane change trajectories;

[0047] The coordinates of all trajectories in the trajectory set are normalized to the origin, and any lane keeping trajectory is selected as the starting point, and a left lane changing trajectory or a right lane changing trajectory is randomly spliced, and then a lane keeping trajectory is spliced, and so on until all trajectories in the trajectory set have been spliced; thereby, sample trajectory data are obtained, and the sample trajectory data are divided into a training set and a test set.

[0048] Furthermore, the expression of the vehicle restraint area of ​​the target vehicle is:

[0049]

[0050] The expression of the driving interaction area of ​​the target vehicle is:

[0051]

[0052] Where a1 and b1 are the shape parameters of the vehicle restraint area of ​​the target vehicle, the size of a1 depends on the length of the target vehicle, and the size of b1 depends on the width of the target vehicle; (x1, y1) is the range trajectory point of the vehicle restraint area of ​​the target vehicle; a2 and b2 are the shape parameters of the driving interaction area of ​​the target vehicle, the size of a2 depends on the minimum vehicle spacing when the target vehicle is following the vehicle; b2 is set so that the interaction areas of vehicles in non-adjacent lanes are strictly non-overlapping, 2b2=2d L , d L is the width of the lane where the target vehicle is located; (x2, y2) is the range trajectory point of the driving interaction area of ​​the target vehicle.

[0053] In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor implements the above-mentioned vehicle lane change recognition method when executing the computer program.

[0054] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned vehicle lane change recognition method.

[0055] Compared with the prior art, a vehicle lane change recognition method, device, terminal and medium disclosed in an embodiment of the present invention obtain the lateral and longitudinal speeds and acceleration information of the target vehicle; establish the vehicle constraint area and driving interaction area of ​​the target vehicle according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle, and obtain the feature vector for lane change intention recognition; input it into the trained XGBoost lane change intention recognition model to obtain the lane change intention recognition time window to control the target vehicle to change lanes. Therefore, the embodiment of the present invention can reconstruct and splice the vehicle lane changing trajectory and the lane keeping vehicle trajectory based on domestic vehicle trajectory data, propose the concept of vehicle interaction area, attribute the influence of surrounding vehicles on the target vehicle to the function of the overlapping area of ​​the vehicle interaction area, and use the target vehicle driving parameters as feature parameters to establish an XGBoost lane changing intention recognition model to identify the driver's lane changing intention; using the domestic vehicle trajectory dataset to train and test the lane changing intention recognition model can better meet the driving habits of Chinese drivers. At the same time, the vehicle trajectory dataset can be obtained through drone aerial photography and image recognition technology, and has wide applicability and popularization, which has a positive role in promoting the promotion of automatic driving systems and the improvement of urban traffic conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1is a flow chart of a vehicle lane change recognition method provided by an embodiment of the present invention;

[0057] Figure 2 is a structural schematic diagram of a vehicle lane change recognition device provided by an embodiment of the present invention;

[0058] Figure 3 A vehicle trajectory mosaic diagram with a lane change intention time window of 1 s provided by an embodiment of the present invention;

[0059] Figure 4 It is a schematic diagram of a vehicle restraint area and a driving interaction area provided by an embodiment of the present invention;

[0060] Figure 5 It is a schematic diagram of analyzing the influence of surrounding vehicles on a target vehicle provided by an embodiment of the present invention;

[0061] Figure 6 is an XGBoost error curve diagram under different numbers of iterations provided by an embodiment of the present invention;

[0062] Figure 7 It is a lane change intention recognition accuracy diagram under different time windows provided by an embodiment of the present invention;. DETAILED DESCRIPTION

[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the 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 the present invention.

[0064] It should be noted that the terms "comprises" and "specifically" and any variations of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0065] See also Figure 1 , Figure 1 1 is a flow chart of a vehicle lane change recognition method provided by an embodiment of the present invention, the vehicle lane change recognition method comprises steps S11 to S12:

[0066] S11: Acquire the lateral and longitudinal speeds and acceleration information of the target vehicle; establish the vehicle restraint area and driving interaction area of ​​the target vehicle according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle, and obtain the feature vector for lane change intention recognition;

[0067] S12: Input into the lane-changing intention recognition model of the trained XGBoost to obtain the lane-changing intention recognition time window, so as to control the target vehicle to change lanes;

[0068] Among them, the training and testing processes of the lane-changing intention recognition model of the XGBoost specifically include:

[0069] Extract and reconstruct the vehicle driving trajectory data within the t-time range in the traffic system dataset to obtain sample trajectory data, and divide the sample trajectory data into a training set and a testing set; 0 < t ≤ 90 days;

[0070] Obtain the longitudinal and lateral speeds and acceleration information of the sample vehicles in the training set. According to the interaction between the sample vehicles and the surrounding vehicles of the sample vehicles, establish the vehicle constraint area and driving interaction area of the sample vehicles, and obtain the sample feature vectors for lane-changing intention recognition;

[0071] Use the XGBoost model to construct the lane-changing intention recognition model of the XGBoost. Through iterative learning, iteratively update and train the parameters of the lane-changing intention recognition model of the XGBoost according to the sample feature vectors for lane-changing intention recognition until convergence, and obtain the trained lane-changing intention recognition model of the XGBoost;

[0072] Test the trained lane-changing intention recognition model of the XGBoost through the testing set to obtain the calibration value of the lane-changing intention recognition time window.

[0073] Furthermore, the extraction and reconstruction of the vehicle driving trajectory data within the t-time range in the traffic system dataset to obtain sample trajectory data, and the division of the sample trajectory data into a training set and a testing set specifically include:

[0074] Extract the vehicle driving trajectory data within the t-time range in the traffic system dataset according to a specific duration to obtain a trajectory set of left lane-changing trajectories, right lane-changing trajectories, and lane-keeping trajectories; among them, the number of lane-keeping trajectories is equal to the sum of the number of left lane-changing trajectories and the number of right lane-changing trajectories;

[0075] Normalize all the trajectory coordinates in the trajectory set to the origin. Select any one of the lane-keeping trajectories as the starting point, randomly splice one of the left lane-changing trajectories or the right lane-changing trajectories, and then splice another lane-keeping trajectory, and so on until all the trajectories in the trajectory set have been spliced; thus obtaining sample trajectory data, and dividing the sample trajectory data into a training set and a testing set.

[0076] It should be noted that building an effective driver lane change intention recognition model requires a sufficient number of data samples for training. However, the trajectories of different vehicles in the Ubiquitous Traffic Eye dataset are independent of each other and cannot be effectively learned and trained. In addition, due to the limited length of the observed road section in the trajectory data of a single vehicle, some vehicles may only have lane keeping and no lane changing behavior. For vehicles with lane changing behavior, there is only one lane changing state in the extracted data, which will also weaken the training effect of the model. Therefore, it is necessary to re-extract and reconstruct the vehicle driving trajectory data in the Ubiquitous Traffic Eye dataset to meet the training and testing requirements of the lane change intention recognition model.

[0077] The embodiment of the present invention divides the driver's lane-changing intention into three types: left lane change, lane keeping, and right lane change. In order to make the reconstructed trajectory sample contain these three lane-changing intentions at the same time, it is necessary to extract the vehicle trajectory data segments of the three lane-changing intentions in the original sample data. For example, for the lane-keeping behavior trajectory of the vehicle, a 7-second trajectory segment is extracted for each vehicle. To ensure the quality of the model, the number of lane-keeping samples selected is consistent with the number of lane-changing samples. Finally, 70 left lane-changing trajectories, 95 right lane-changing trajectories, and 165 lane-keeping trajectories are obtained.

[0078] In order to create a trajectory dataset that contains three states at the same time, it is necessary to splice the trajectory data of left lane change, right lane change and lane keeping, splice the start and end points of different trajectory segments, take the lane keeping trajectory as the starting point, randomly splice a left or right lane change trajectory, and then splice a lane keeping trajectory, and repeat this process. Since the starting coordinates of each trajectory are inconsistent before splicing, the starting coordinates need to be normalized to the origin. When splicing, for the trajectory to be spliced, the starting coordinates are added to the end coordinates of the spliced ​​trajectory to achieve trajectory splicing. In this way, multiple trajectories can be seamlessly connected at the connection point, thereby constructing a complete trajectory dataset. For different lane change intention time window lengths, a total of 17 datasets of lane change intention recognition models containing three states were extracted and spliced. Taking the lane change intention time window of 1s as an example, the vehicle trajectory after splicing is as follows Figure 3 shown.

[0079] Furthermore, the expression of the vehicle restraint area of ​​the target vehicle is:

[0080]

[0081] The expression of the driving interaction area of ​​the target vehicle is:

[0082]

[0083] Where a1 and b1 are the shape parameters of the vehicle restraint area of ​​the target vehicle, the size of a1 depends on the length of the target vehicle, and the size of b1 depends on the width of the target vehicle; (x1, y1) is the range trajectory point of the vehicle restraint area of ​​the target vehicle; a2 and b2 are the shape parameters of the driving interaction area of ​​the target vehicle, the size of a2 depends on the minimum vehicle spacing when the target vehicle is following the vehicle; b2 is set so that the interaction areas of vehicles in non-adjacent lanes are strictly non-overlapping, 2b2=2d L , d L is the width of the lane where the target vehicle is located; (x2, y2) is the range trajectory point of the driving interaction area of ​​the target vehicle.

[0084] It should be noted that the vehicle trajectory data contains a lot of driver driving characteristic information. In order to comprehensively consider the characteristic information of the vehicle at every moment, the features extracted by the embodiment of the present invention mainly include the lateral and longitudinal speeds and acceleration information of the target vehicle. At the same time, because the driver's intention is also affected by the surrounding vehicles, the interactive influence of the surrounding vehicles on the target vehicle is analogized to the effect of the potential energy field, so as to describe and explain the interaction between the target vehicle and the surrounding vehicles, and establish the vehicle constraint area and the driving interaction area. When the driving interaction areas of different vehicles intersect, an interactive influence is generated. Figure 4 As shown, a rectangular coordinate system is established with the geometric center of the target vehicle as the origin, the vehicle's driving direction as the positive direction of the x-axis, and the direction perpendicular to and to the right of the vehicle's driving direction as the positive direction of the y-axis. Figure 4 The closed ellipses (1) and (2) represent the vehicle constraint area and the driving interaction area, respectively. The vehicle heading angle is not considered, and the straight-line driving and lane-changing driving of the target vehicle are regarded as the translation process of the vehicle driving interaction area. The minimum vehicle spacing in this embodiment is defined as the sum of the distance traveled within the 1s safety time and 20% of the vehicle length; b2 is set so that the vehicle interaction areas of non-adjacent lanes are strictly non-overlapping, such as the vehicle interaction areas of lane 1 and lane 3 are tangent.

[0085] Furthermore, the vehicle constraint area and driving interaction area of ​​the target vehicle are established according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle, and the feature vector for lane change intention recognition is obtained, which specifically includes:

[0086] Establishing a vehicle restraint area and a driving interaction area of ​​the target vehicle according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle;

[0087] When the driving interaction area of ​​the target vehicle overlaps with the driving interaction area of ​​the surrounding vehicles, the influence degree between the vehicles is analyzed, the influence of the surrounding vehicles on the driving intention of the target vehicle is quantified, and the longitudinal influence coefficient and the lateral influence coefficient of the target vehicle are obtained, so as to obtain the feature vector for lane change intention recognition;

[0088] The longitudinal impact coefficient I of the target vehicle x and the lateral influence coefficient I y They are:

[0089]

[0090]

[0091] In the formula, S I , S II , S III , S IV are the overlapping areas of the driving interaction area of ​​the target vehicle and the driving interaction areas of the front, rear, left and right surrounding vehicles of the target vehicle, respectively, and S0 is the area of ​​the driving interaction area of ​​the target vehicle;

[0092] The feature vector of lane change intention recognition is:

[0093] f c = {v lon ,v lat ,a lon ,a lat ,I lon ,I lat},

[0094] In the formula, v lon is the longitudinal velocity of the target vehicle; v lat is the lateral speed of the target vehicle; a lon is the longitudinal acceleration of the target vehicle; a lat I is the lateral acceleration of the target vehicle; lon I is the longitudinal influence of the surrounding vehicles on the target vehicle; lat is the lateral impact of the surrounding vehicles on the target vehicle.

[0095] It should be noted that during the traffic flow, when the distance between vehicles is large enough, the vehicles are in a free driving state, and there is no mutual influence between vehicles, that is, the vehicle driving interaction areas do not overlap. When the distance is insufficient, there is an interactive influence between vehicles. The vehicle driving interaction areas overlap. At this time, the driver will feel the pressure from the surrounding vehicles, and the size depends on the position and area of ​​the overlapping vehicle driving interaction areas. Analyzing the degree of influence between vehicles and quantifying the influence of surrounding vehicles on the driving intention of the target vehicle can improve the reliability and persuasiveness of the model.

[0096] The target vehicle is subjected to kinematic analysis, taking into account the impact of surrounding vehicles on it, thereby generating interactions. In this process, the driver will be subjected to pressure from surrounding vehicles, so the vehicle will generate longitudinal and lateral forces, which will in turn generate corresponding accelerations and affect the vehicle's motion state, thereby affecting the vehicle's lane change intention. For example, the impact of surrounding vehicles on the target vehicle is as follows: Figure 5 As shown in the shaded area, the vehicle driving interaction area is divided into four quadrants for analysis.

[0097] The embodiment of the present invention takes into account the memory effect in the lane changing process, and comprehensively considers the characteristic information of each moment in a period of time before the lane changing. This period of time is called the lane changing intention time window. When selecting the length of the lane changing intention time window, it is necessary to conduct a specific analysis based on the specific situation. By integrating the characteristic information in the historical period, the driving state of the vehicle can be predicted more accurately, thereby improving the prediction accuracy of the lane changing model; the length of the lane changing intention time window is set to 1s-5s, and is increased in steps of 0.25s at a time, and a total of 17 lane changing intention time windows of different lengths are obtained.

[0098] Specifically, the parameters of the XGBoost model are divided into two categories: input parameters of the model and hyperparameters of the model;

[0099] The hyperparameters are used to adjust to balance the complexity and generalization ability of the XGBoost model, including the maximum depth max_depth, L1 regularization coefficient reg_lambda, L2 regularization coefficient reg_alpha, subsampling rate subsample, feature subsampling rate colsample_bytree, and learning rate eta;

[0100] The grid search algorithm is used to tune the hyperparameters of the XGBoost model based on 5-fold cross validation. It should be noted that XGBoost continuously improves its prediction accuracy through iterative learning. However, too many iterations will cause the model to overfit, thereby reducing the generalization of the lane change intention recognition model. Therefore, before using XGBoost for lane change intention recognition, the maximum number of iterations of the model must be determined. The iteration range can be selected from 50-2000 with a step size of 50 for verification, and 5-fold cross validation can be used. Figure 6 As shown in the figure, when the number of iterations is greater than 500, the error of the model has stabilized and converged when it reaches 950 times, so the maximum number of iterations is selected as 950 times.

[0101] The parameters of the XGBoost model are divided into two categories: the input parameters of the model and the hyperparameters of the model. The hyperparameters of the model need to be set manually, and the model complexity and generalization ability are balanced through adjustment. Among them, by adjusting the parameters such as the maximum depth of the model max_depth, the L1 regularization coefficient reg_lambda, and the L2 regularization coefficient reg_alpha, the complexity of the model can be effectively controlled to avoid overfitting problems. In addition, by adjusting the subsampling rate subsample and the feature subsampling rate colsample_bytree, the random sampling ratio of the model can be controlled to avoid noise interference. At the same time, adjusting the learning rate eta can control the weight reduction ratio of each base classifier, thereby avoiding the risk of overfitting. The grid search algorithm is used to tune the hyperparameters of the model based on 5-fold cross validation. The hyperparameter adjustment range of the XGBoost model and the optimal value after grid search are shown in Table 1.

[0102] The test set data is input into the model, and the driver's lane change intention at each moment is obtained. The recognition results are evaluated to assess the performance of the lane change intention recognition model. Based on the selected 17 lane change intention time windows of different durations, the lane change intention recognition accuracy is shown in Table 2 and Figure 7 As shown in the table, when the lane change intention time window is 1.25s, the overall optimal recognition accuracy reaches 0.9781. As the length of the lane change intention time window increases, the overall accuracy of lane change intention recognition shows a downward trend, and when the lane change intention time window length is greater than 2.5s, the recognition accuracy begins to be lower than 95%.

[0103] Table 1 XGBoost hyperparameter tuning range and optimal value

[0104]

[0105]

[0106] Table 2 Lane change intention recognition accuracy under different time windows

[0107]

[0108] Figure 2 It is a schematic structural diagram of a vehicle lane - changing recognition device provided by an embodiment of the present invention. The vehicle lane - changing recognition device includes:

[0109] A data acquisition module 21, configured to acquire the longitudinal and lateral speeds and acceleration information of a target vehicle; establish a vehicle constraint area and a driving interaction area of the target vehicle according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle, and obtain a feature vector for lane - changing intention recognition;

[0110] A data input module 22, configured to input to a trained XGBoost lane - changing intention recognition model to obtain a lane - changing intention recognition time window, so as to control the target vehicle to change lanes;

[0111] Among them, the training and testing processes of the XGBoost lane - changing intention recognition model specifically include:

[0112] Extract and reconstruct the vehicle driving trajectory data within a t - time range in the traffic system dataset to obtain sample trajectory data, and divide the sample trajectory data into a training set and a testing set; 0 < t ≤ 90 days;

[0113] Obtain the longitudinal and lateral speeds and acceleration information of the sample vehicles in the training set, establish a vehicle constraint area and a driving interaction area of the sample vehicles according to the interaction between the sample vehicles and the surrounding vehicles of the sample vehicles, and obtain a sample feature vector for lane - changing intention recognition;

[0114] Use the XGBoost model to construct the XGBoost lane - changing intention recognition model, and iteratively update and train the parameters of the XGBoost lane - changing intention recognition model according to the sample feature vector for lane - changing intention recognition in an iterative learning manner until convergence, to obtain a trained XGBoost lane - changing intention recognition model;

[0115] Test the trained XGBoost lane - changing intention recognition model through the testing set to obtain a calibration value of the lane - changing intention recognition time window.

[0116] Further, the extracting and reconstructing the vehicle driving trajectory data within a t - time range in the traffic system dataset to obtain sample trajectory data, and dividing the sample trajectory data into a training set and a testing set specifically includes:

[0117] The vehicle driving trajectory data in the time range t in the traffic system data set is extracted according to a specific time length to obtain a trajectory set of left lane change trajectory, right lane change trajectory and lane keeping trajectory; wherein the number of lane keeping trajectories is equal to the sum of the number of left lane change trajectories and the number of right lane change trajectories;

[0118] The coordinates of all trajectories in the trajectory set are normalized to the origin, and any lane keeping trajectory is selected as the starting point, and a left lane changing trajectory or a right lane changing trajectory is randomly spliced, and then a lane keeping trajectory is spliced, and so on until all trajectories in the trajectory set have been spliced; thereby, sample trajectory data are obtained, and the sample trajectory data are divided into a training set and a test set.

[0119] Furthermore, the expression of the vehicle restraint area of ​​the target vehicle is:

[0120]

[0121] The expression of the driving interaction area of ​​the target vehicle is:

[0122]

[0123] Where a1 and b1 are the shape parameters of the vehicle restraint area of ​​the target vehicle, the size of a1 depends on the length of the target vehicle, and the size of b1 depends on the width of the target vehicle; (x1, y1) is the range trajectory point of the vehicle restraint area of ​​the target vehicle; a2 and b2 are the shape parameters of the driving interaction area of ​​the target vehicle, the size of a2 depends on the minimum vehicle spacing when the target vehicle is following the vehicle; b2 is set so that the interaction areas of vehicles in non-adjacent lanes are strictly non-overlapping, 2b2=2d L , d L is the width of the lane where the target vehicle is located; (x2, y2) is the range trajectory point of the driving interaction area of ​​the target vehicle.

[0124] A vehicle lane change recognition device provided by an embodiment of the present invention can implement all the processes of the vehicle lane change recognition method of the above embodiment. The functions of each module in the device and the technical effects achieved are respectively the same as the functions and technical effects achieved by the vehicle lane change recognition method of the above embodiment, and will not be repeated here.

[0125] An embodiment of the present invention provides a terminal device, the terminal device comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the above-mentioned vehicle lane change recognition method embodiment are implemented. Alternatively, when the processor executes the computer program, the functions of each module in the above-mentioned vehicle lane change recognition device embodiment are implemented.

[0126] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the schematic diagram is merely an example of a terminal device and does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the diagram, or may combine certain components, or different components. For example, the terminal device may also include an input / output device, a network access device, a bus, etc.

[0127] The processor may be a central processing unit, or other general-purpose processors, digital signal processors, application-specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.

[0128] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the terminal device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card, at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0129] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0130] An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the vehicle lane change recognition method as described in the above embodiment.

[0131] In summary, a vehicle lane change recognition method, device, terminal and medium disclosed in an embodiment of the present invention obtain the lateral and longitudinal speeds and acceleration information of the target vehicle; establish the vehicle constraint area and driving interaction area of ​​the target vehicle according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle, and obtain the feature vector for lane change intention recognition; input it into the trained XGBoost lane change intention recognition model to obtain the lane change intention recognition time window to control the target vehicle to change lanes. Therefore, the embodiment of the present invention can reconstruct and splice the vehicle lane changing trajectory and the lane keeping vehicle trajectory based on domestic vehicle trajectory data, propose the concept of vehicle interaction area, attribute the influence of surrounding vehicles on the target vehicle to the function of the overlapping area of ​​the vehicle interaction area, and use the target vehicle driving parameters as feature parameters to establish an XGBoost lane changing intention recognition model to identify the driver's lane changing intention; using the domestic vehicle trajectory dataset to train and test the lane changing intention recognition model can better meet the driving habits of Chinese drivers. At the same time, the vehicle trajectory dataset can be obtained through drone aerial photography and image recognition technology, and has wide applicability and popularization, which has a positive role in promoting the promotion of automatic driving systems and the improvement of urban traffic conditions.

[0132] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A vehicle lane change recognition method, characterized in that: Including: Obtaining the longitudinal and lateral speed and acceleration information of the target vehicle; Establishing a vehicle constraint area and a driving interaction area of the target vehicle according to the interaction between the target vehicle and the surrounding vehicles of the target vehicle; When the driving interaction area of the target vehicle overlaps with the driving interaction area of the surrounding vehicles, analyzing the influence degree between the vehicles, quantifying the influence of the surrounding vehicles on the driving intention of the target vehicle, and obtaining the influence coefficient in the longitudinal direction and the influence coefficient in the lateral direction of the target vehicle, so as to obtain a feature vector for lane change intention recognition; Inputting it into the trained XGBoost lane change intention recognition model to obtain a lane change intention recognition time window, so as to control the target vehicle to change lanes; Wherein, the training and testing process of the XGBoost lane change intention recognition model specifically includes: Extracting and reconstructing the vehicle driving trajectory data in the t time range in the traffic system dataset to obtain sample trajectory data, and dividing the sample trajectory data into a training set and a testing set; 0 < t ≤ 90 days; Obtaining the longitudinal and lateral speed and acceleration information of the sample vehicles in the training set, establishing a vehicle constraint area and a driving interaction area of the sample vehicles according to the interaction between the sample vehicles and the surrounding vehicles of the sample vehicles, and obtaining a sample feature vector for lane change intention recognition; Using the XGBoost model to construct the XGBoost lane change intention recognition model, and iteratively updating and training the parameters of the XGBoost lane change intention recognition model according to the sample feature vector for lane change intention recognition in an iterative learning manner until convergence, so as to obtain the trained XGBoost lane change intention recognition model; Testing the trained XGBoost lane change intention recognition model through the testing set to obtain the calibration value of the lane change intention recognition time window; The longitudinal impact coefficient I of the target vehicle x and the lateral influence coefficient I y They are: In the formula, S I , S II , S III , S IV are the overlapping areas of the driving interaction area of ​​the target vehicle and the driving interaction areas of the front, rear, left and right surrounding vehicles of the target vehicle, respectively, and S0 is the area of ​​the driving interaction area of ​​the target vehicle; The feature vector for lane change intention recognition is: f c ={v lon ,v lat ,a lon ,a lat ,I lon ,I lat }, In the formula, v lon is the longitudinal velocity of the target vehicle; v lat is the lateral speed of the target vehicle; a lon is the longitudinal acceleration of the target vehicle; a lat I is the lateral acceleration of the target vehicle; lon I is the longitudinal influence of the surrounding vehicles on the target vehicle; lat is the lateral impact of the surrounding vehicles on the target vehicle.

2. The vehicle lane change recognition method according to claim 1, characterized in that: The extracting and reconstructing the vehicle driving trajectory data in the t time range in the traffic system dataset to obtain sample trajectory data, and dividing the sample trajectory data into a training set and a testing set specifically includes: Extracting the vehicle driving trajectory data in the t time range in the traffic system dataset according to a specific duration to obtain a trajectory set of left lane change trajectories, right lane change trajectories and lane keeping trajectories; wherein, the number of lane keeping trajectories is equal to the sum of the number of left lane change trajectories and the number of right lane change trajectories; Normalizing all the trajectory coordinates in the trajectory set to the origin, taking any one of the lane keeping trajectories as the starting point, randomly splicing one of the left lane change trajectories or the right lane change trajectories, and then splicing one of the lane keeping trajectories, and so on until all the trajectories in the trajectory set have been spliced; thereby obtaining sample trajectory data, and dividing the sample trajectory data into a training set and a testing set.

3. The vehicle lane change recognition method according to claim 1, characterized in that: The expression of the vehicle constraint area of the target vehicle is: The expression of the driving interaction area of the target vehicle is: In the formula, a1 and b1 are shape parameters of the vehicle constraint area of the target vehicle. The magnitude of a1 depends on the length of the target vehicle, and the magnitude of b1 depends on the width of the target vehicle; (x1, y1) is the range trajectory point of the vehicle constraint area of ​​the target vehicle; a2 and b2 are the shape parameters of the driving interaction area of ​​the target vehicle, and the size of a2 depends on the minimum vehicle spacing when the target vehicle is following the vehicle; b2 is set so that the interaction areas of vehicles in non-adjacent lanes are strictly non-overlapping, 2b2=2d L , d L is the width of the lane where the target vehicle is located; (x2, y2) is the range trajectory point of the driving interaction area of ​​the target vehicle.

4. The vehicle lane change recognition method according to claim 1, characterized in that: The parameters of the XGBoost model are divided into two categories: the input parameters of the model and the hyperparameters of the model; The hyperparameters are used to adjust and balance the complexity and generalization ability of the XGBoost model, including the maximum depth max_depth, the L1 regularization coefficient reg_lambda, the L2 regularization coefficient reg_alpha, the subsampling rate subsample, the feature subsampling rate colsample_bytree, and the learning rate eta; The grid search algorithm is used to optimize the hyperparameters of the XGBoost model based on 5-fold cross-validation.

5. A vehicle lane change recognition device, characterized in that: Including: A data acquisition module for acquiring the longitudinal and lateral speed and acceleration information of the target vehicle; According to the interaction between the target vehicle and the surrounding vehicles of the target vehicle, a vehicle constraint area and a driving interaction area of the target vehicle are established; When the driving interaction area of the target vehicle overlaps with the driving interaction area of the surrounding vehicles, analyze the influence degree between the vehicles, quantify the influence of the surrounding vehicles on the driving intention of the target vehicle, and obtain the influence coefficient received longitudinally and the influence coefficient received laterally by the target vehicle, so as to obtain the feature vector for lane change intention recognition; A data input module for inputting into the trained lane change intention recognition model of XGBoost to obtain a lane change intention recognition time window to control the target vehicle to change lanes; Among them, the training and testing processes of the lane change intention recognition model of XGBoost specifically include: Extract and reconstruct the vehicle driving trajectory data in the t time range in the traffic system dataset to obtain sample trajectory data, and divide the sample trajectory data into a training set and a testing set; 0 < t ≤ 90 days; Obtain the longitudinal and lateral speed and acceleration information of the sample vehicles in the training set. According to the interaction between the sample vehicles and the surrounding vehicles of the sample vehicles, establish a vehicle constraint area and a driving interaction area of the sample vehicles, and obtain the sample feature vector for lane change intention recognition; Use the XGBoost model to construct the lane change intention recognition model of XGBoost, and iteratively update and train the parameters of the lane change intention recognition model of XGBoost according to the sample feature vector for lane change intention recognition in an iterative learning manner until convergence, and obtain the trained lane change intention recognition model of XGBoost; Test the trained lane change intention recognition model of XGBoost through the testing set to obtain the calibration value of the lane change intention recognition time window; The longitudinal impact coefficient I of the target vehicle x and the lateral influence coefficient I y They are: In the formula, S I , S II , S III , S IV are the overlapping areas of the driving interaction area of ​​the target vehicle and the driving interaction areas of the front, rear, left and right surrounding vehicles of the target vehicle, respectively, and S0 is the area of ​​the driving interaction area of ​​the target vehicle; The feature vector for lane change intention recognition is: f c ={v lon ,v lat ,a lon ,a lat ,I lon ,I lat }, In the formula, v lon is the longitudinal velocity of the target vehicle; v lat is the lateral speed of the target vehicle; a lon is the longitudinal acceleration of the target vehicle; a lat I is the lateral acceleration of the target vehicle; lon I is the longitudinal influence of the surrounding vehicles on the target vehicle; lat is the lateral impact of the surrounding vehicles on the target vehicle.

6. The vehicle lane change recognition device according to claim 5, characterized in that: The extraction and reconstruction of the vehicle driving trajectory data in the t time range in the traffic system dataset to obtain sample trajectory data, and the division of the sample trajectory data into a training set and a testing set specifically include: The vehicle driving trajectory data in the time range t in the traffic system data set is extracted according to a specific time length to obtain a trajectory set of left lane change trajectory, right lane change trajectory and lane keeping trajectory; wherein the number of lane keeping trajectories is equal to the sum of the number of left lane change trajectories and the number of right lane change trajectories; The coordinates of all trajectories in the trajectory set are normalized to the origin, and any lane keeping trajectory is selected as the starting point, and a left lane changing trajectory or a right lane changing trajectory is randomly spliced, and then a lane keeping trajectory is spliced, and so on until all trajectories in the trajectory set have been spliced; thereby, sample trajectory data are obtained, and the sample trajectory data are divided into a training set and a test set.

7. The vehicle lane change recognition device according to claim 5, characterized in that: The expression of the vehicle restraint area of ​​the target vehicle is: The expression of the driving interaction area of ​​the target vehicle is: Wherein, a1 and b1 are shape parameters of the vehicle restraint area of ​​the target vehicle, the size of a1 depends on the length of the target vehicle, and the size of b1 depends on the width of the target vehicle; (x1, y1) is the range trajectory point of the vehicle constraint area of ​​the target vehicle; a2 and b2 are the shape parameters of the driving interaction area of ​​the target vehicle, and the size of a2 depends on the minimum vehicle spacing when the target vehicle is following the vehicle; b2 is set so that the interaction areas of vehicles in non-adjacent lanes are strictly non-overlapping, 2b2=2d L , d L is the width of the lane where the target vehicle is located; (x2, y2) is the range trajectory point of the driving interaction area of ​​the target vehicle.

8. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the vehicle lane change recognition method as claimed in any one of claims 1 to 4 when executing the computer program.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the vehicle lane change recognition method according to any one of claims 1 to 4.