Unmanned driving method and system

By acquiring and analyzing lane change failure data in driverless assistance systems, calculating vehicle position configuration characteristics and atypicality, clustering lane change failure scenarios, and using neural networks to predict automatic lane change times, we solve the problem of driverless driver assistance technology The difficult problem of determining the lane change duration under complex vehicle conditions improves the accuracy of automatic lane changes and user trust.

CN116729381BActive Publication Date: 2024-09-06ZHEJIANG TONGTONGDA TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310646836.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-02
Publication Date
2024-09-06
Estimated Expiration
2043-06-02

AI Technical Summary

Technical Problem

Existing driverless assistance technology is difficult to determine the duration of automatic lane changes in complex vehicle conditions, resulting in a high failure rate and affecting user trust and driving experience.

Method used

By obtaining the lane change failure duration and vehicle position configuration characteristics of the target road section, calculate the lane change failure atypicality and descriptor, cluster different lane change failure scenarios, obtain the overtime scaling factor, and use the neural network to predict the automatic lane change time and Regulating the autonomous driving process.

Benefits of technology

It improves the prediction accuracy and user trust of the automatic lane change function, reduces the frequency and waiting time of user intervention, and enhances the driving experience and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116729381B
    Figure CN116729381B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and in particular to an unmanned driving method and system. First, based on the distribution characteristics of the lane change failure distance of the vehicle in the second historical data of the lane change failure distance, the vehicle position configuration characteristics and the half-distance vehicle position configuration characteristics are obtained, and the vehicle's lane change failure atypicality is obtained according to the similarity of the vehicle position configuration characteristics of different vehicles. A lane change failure descriptor is obtained according to the lane change failure duration and the lane change failure atypicality of the vehicle, and sample distances are obtained and clustered according to the lane change failure descriptor and the vehicle position configuration characteristics to obtain different lane change failure scenario categories. According to the lane change failure scenario category, the vehicle's timeout time scaling factor is obtained, and a prediction neural network is trained based on the timeout time scaling factor and the half-distance vehicle position configuration characteristics to predict and adjust the target user's subsequent automatic lane change duration, thereby improving the user's driving experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to an unmanned driving method and system. Background Art

[0002] With the development of technology and science in the automotive industry, more and more car models have added unmanned driving assistance configurations. Unmanned driving assistance functions can realize automatic lane changing, lane centering, adaptive cruise control and many other functions on some roads, which can reduce the user's operation frequency and improve driving experience and safety to a certain extent.

[0003] However, the current driverless assistance technology is not fully perfect. The driverless system's processing effect is not ideal in some scenarios with complex vehicle conditions. For example, in complex vehicle conditions, the driverless assistance system finds it difficult to determine the duration of automatic lane change, and the failure rate is high, which can easily lead to road accidents. It is difficult for users to grasp the time to intervene in vehicle control, which over time affects users' trust in and experience of driverless automatic lane change assistance. Summary of the invention

[0004] In order to solve the technical problem that the automatic lane change function is difficult to determine the lane change time, the purpose of the present invention is to provide an unmanned driving method and system, and the technical solution adopted is as follows:

[0005] Obtain first historical data of lane change failure duration and second historical data of lane change failure vehicle distances of all vehicles in the target road section during unmanned driving, obtain vehicle position configuration features and half-distance vehicle position configuration features according to distribution features of lane change failure vehicle distances of the target vehicle in a single lane change process in the second historical data, and obtain a lane change failure atypicality of the target vehicle according to similarities between the vehicle position configuration features and all vehicle position configuration features;

[0006] A lane change failure descriptor is obtained according to the lane change failure duration and the lane change failure atypicality of the target vehicle, and a sample distance is obtained for clustering according to the lane change failure descriptors of all historical lane change failure scenarios in the target road section and the vehicle position configuration features to obtain categories of different lane change failure scenarios in the target road section;

[0007] Obtain a timeout time scaling factor according to the difference feature of the first historical data of the target vehicle in the category to which the target user's lane change failure occurs most frequently; obtain a similar lane change failure scenario according to the sample distance of the target vehicle, and obtain a time label corresponding to the half-distance vehicle position configuration feature according to the size relationship between the lane change failure time of the similar lane change failure scenario and the lane change failure scenario of the target vehicle and the timeout time scaling factor;

[0008] A neural network training set is obtained according to the mid-distance vehicle position configuration characteristics of the target vehicle and the time label, and the lane change time of the target vehicle in the subsequent unmanned driving process of the target section is trained and predicted according to the neural network training set, and the unmanned driving process is adjusted according to the prediction result.

[0009] Furthermore, the step of acquiring the vehicle position configuration feature and the half-distance vehicle position configuration feature comprises:

[0010] According to the second historical data of the lane change failure vehicle distance, the area around the target vehicle is equally divided into at least two intervals, and the closest distance and corresponding interval of the target vehicle to other vehicles at each moment in the lane change process are counted, and at any moment, the reciprocal of the sum of the shortest distance and the positive integer 1 is calculated as the first value of the corresponding moment of the interval corresponding to the shortest distance, until the end of the lane change failure, the cumulative value of the first value of each interval at all moments is obtained and the range normalization processing is performed to obtain the distribution histogram of different intervals, and the value of each interval in the distribution histogram is constructed as a vector as the vehicle position configuration feature;

[0011] According to the moment when the target vehicle reaches half of the time duration of lane change failure, the accumulated value of the first value of each interval is calculated and the range normalization is performed to obtain the half-distance distribution histogram of different intervals, and the value of each interval in the distribution histogram is constructed as a half-distance vector as the half-distance vehicle position configuration feature.

[0012] Furthermore, the step of obtaining the atypical degree of lane change failure includes:

[0013] Calculate the vehicle position configuration features of all vehicles in the target section, calculate the Euclidean distance between the target vehicle and all vehicle position configuration features, sort the Euclidean distances from small to large, take the minimum Euclidean distance as the first distance, take the preset order Euclidean distance as the second distance, and calculate the average of the first distance and the second distance as the atypicality of the lane change failure.

[0014] Furthermore, the step of obtaining the lane change failure descriptor includes:

[0015] The lane change failure duration and the lane change failure atypicality degree of the target vehicle in the lane change failure process are constructed into a two-dimensional vector to obtain the lane change failure descriptor of the target vehicle.

[0016] Furthermore, the step of acquiring the sample distance includes:

[0017] Obtain lane change failure descriptors and vehicle position configuration features of all lane change failure cases in the target road section history, calculate the similarity between different lane change failure descriptors as the first similarity; calculate the similarity between different vehicle position configuration features as the second similarity;

[0018] The product of the first similarity and the second similarity corresponding to the channel failure case is calculated as the first product, and the difference between the positive integer 1 and the first product is calculated as the sample distance.

[0019] Furthermore, the step of obtaining the timeout scaling factor includes:

[0020] Obtain the category with the most number of lane change failure cases of the target user, obtain the median of the lane change failure durations of the target vehicles in the category as the timeout period, and calculate the average of the lane change failure durations of the target users in the category that are greater than the timeout period as the second value;

[0021] The ratio of the timeout time to the second value is calculated to obtain the timeout time scaling factor.

[0022] Furthermore, the step of obtaining the time tag includes:

[0023] Get the timeout time of similar lane change failure scenarios of the target vehicle. If the timeout time of the target vehicle is greater than the timeout time of its similar lane change failure scenarios, the time label is the product of the timeout time scaling factor of the target vehicle and the corresponding timeout time; if the timeout time of the target vehicle is less than or equal to the timeout time of its similar lane change failure scenarios, the time label is the timeout time of the target vehicle.

[0024] Furthermore, the steps of training and predicting the lane changing time of the target vehicle during the subsequent unmanned driving process of the target road section by the neural network training set include:

[0025] A TCN prediction neural network for predicting the lane changing time of a target user is trained according to the neural network training set. When the automatic lane changing time of the target vehicle exceeds a preset time value, the vehicle position configuration characteristics of the target vehicle are obtained in real time. The lane changing time is predicted by the TCN prediction neural network corresponding to the target user according to the vehicle position configuration characteristics obtained in real time. If the real-time automatic lane changing time exceeds half of the predicted lane changing time, the prediction is stopped and the predicted automatic lane changing time is output.

[0026] Furthermore, the step of adjusting the unmanned driving process according to the prediction result includes:

[0027] If the difference between the automatic lane change time predicted by the target vehicle and the real-time automatic lane change time is greater than a first preset value, the automatic lane change operation is performed normally;

[0028] If the difference between the automatic lane change time predicted by the target vehicle and the real-time automatic lane change time is less than or equal to a first preset value, a lane change attempt is made again to find a variable road line. If there is no variable road line, the user is reminded to intervene and no longer wait for unmanned driving to assist in lane change.

[0029] The present invention also proposes an unmanned driving system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any step of an unmanned driving method.

[0030] The present invention has the following beneficial effects:

[0031] In an embodiment of the present invention, the first historical data of the lane change failure duration of all vehicles on the target road section obtained can characterize the user's trust and tolerance for the automatic lane change function, and the vehicle position configuration features and half-distance vehicle position configuration features obtained by the second historical data of the lane change failure vehicle distance can reflect the road condition scene of the lane change failure process of the target vehicle, and then the lane change failure atypicality of the target vehicle is obtained by the vehicle position configuration features, and whether the lane change failure scene is common can be analyzed according to the lane change failure atypicality. In order to obtain different lane change failure scene categories, the lane change failure descriptor is obtained by the lane change failure duration and the lane change failure atypicality to express the characteristics of the lane change failure process. The sample distance between different vehicles is obtained by the lane change failure descriptor and the vehicle position configuration features, and different lane change failure scenes can be clustered more accurately to obtain different lane change failure scene categories. In order to analyze whether the target user's multiple lane change failure durations are common, a timeout scaling factor is obtained, and the time label used for prediction is corrected by the timeout scaling factor to improve the prediction accuracy of the final automatic lane change time. Obtaining similar lane change failure scenarios based on the sample distance of the target vehicle can increase the training set in the prediction process and increase the accuracy of the neural network prediction. Predicting the subsequent automatic lane change time of the target user based on the target user's mid-trip vehicle configuration characteristics and corresponding time tags can improve the accuracy of the prediction and obtain the automatic lane change time more accurately, thereby effectively adjusting and reminding the automatic lane change function in unmanned driving, improving the user's driving experience and trust in autonomous driving. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 A flow chart of an unmanned driving method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of an unmanned driving method and system proposed according to the present invention, its specific implementation, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0035] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0036] The specific scheme of an unmanned driving method and system provided by the present invention is described in detail below with reference to the accompanying drawings.

[0037] See also Figure 1 , which shows a flow chart of an unmanned driving method provided by an embodiment of the present invention, the method comprising the following steps:

[0038] Step S1, obtaining first historical data of lane change failure duration and second historical data of lane change failure vehicle distance in unmanned driving of all vehicles on the target section, obtaining vehicle position configuration characteristics and half-way vehicle position configuration characteristics according to the distribution characteristics of lane change failure vehicle distance in a single lane change process of the target vehicle in the second historical data, and obtaining the lane change failure atypicality of the target vehicle according to the similarity between the vehicle position configuration characteristics and the position configuration characteristics of all vehicles.

[0039] In the embodiment of the present invention, the implementation scenario is a fixed road planning range, and the lane change assistance function in unmanned driving is adjusted for vehicles that frequently travel to and from this road planning range. Because the automatic lane change function of unmanned driving is prone to long lane change waiting time in complex road conditions, or the risk of collision causes the user to intervene in vehicle control and the unmanned driving function automatically exits. The long lane change waiting time and the user's intervention in vehicle control are collectively referred to as unmanned driving lane change failure. In the embodiment of the present invention, the situation where the automatic lane change fails to change lanes after the turn signal is turned on for more than 40 seconds is defined as a long lane change waiting time, and the implementer can set the lane change waiting time according to the implementation scenario. Since the embodiment of the present invention is an analysis of the automatic lane change function of users who frequently travel to and from a fixed section of road, in the embodiment of the present invention, users who pass this fixed section of road five times or more are taken as target users.

[0040] In order to be able to more accurately adjust the user's unmanned driving automatic lane change assistance function, it is necessary to obtain all historical case data of automatic lane change failures in this fixed road section, including: the first historical data of the lane change failure duration of all vehicles in unmanned driving, and the second historical data of the lane change failure vehicle distance. The first historical data refers to the time taken for each vehicle to automatically change lanes from the beginning to the end of failure. In an embodiment of the present invention, the lane change failure duration refers to the minimum value between the time from the beginning of automatic lane change to the time when the user intervenes in vehicle control or the set 40 seconds of no lane change duration. The lane change failure vehicle distance refers to the shortest distance between the vehicle and surrounding objects at different angles at any time from the beginning to the end of failure of each vehicle's automatic lane change.

[0041] Because different users have different levels of trust and tolerance for the automatic lane change function, some users who feel that the road conditions are complicated may intervene in the vehicle control in time to complete the lane change by themselves, while some users trust that the unmanned driving will not intervene in the vehicle control early. Therefore, the lane change failure duration of different users' driving vehicles is different. In order to be able to accurately adjust the automatic lane change function based on user experience in the future, it is necessary to obtain the first historical data of the lane change failure duration of all vehicles in the target section during unmanned driving. The target section refers to the fixed road planning section analyzed in the embodiment of the present invention. It should be noted that all the vehicles obtained are not only users who frequently travel to and from the target section, but all vehicles that have experienced cases of automatic lane change failure in the target section. The purpose is to provide more complete historical case data of automatic lane change failure for subsequent analysis.

[0042] Because the road conditions are complex and changeable during vehicle driving, there are many reasons for the failure of automatic lane change. In order to analyze the road condition scenarios during the vehicle lane change failure process and accurately predict the subsequent automatic lane change process according to different road condition scenarios, it is necessary to obtain the vehicle position configuration characteristics and half-way vehicle position configuration characteristics based on the distribution characteristics of the lane change failure vehicle distance during a single lane change of the target vehicle. It should be noted that the target vehicle is any vehicle that fails to change lanes automatically when passing through the target section. The same vehicle passing the target section multiple times is different target vehicles, and a lane change failure of a target vehicle corresponds to a lane change failure scenario case. The vehicle position configuration feature acquisition process specifically includes:

[0043] According to the second historical data of the distance between vehicles when lane change failed, the area around the target vehicle is equally divided into at least two intervals, and the distance and corresponding interval of the target vehicle at each moment in the lane change process are counted. For any moment, the reciprocal of the sum of the shortest distance and the positive integer 1 is calculated as the first value of the corresponding moment of the interval corresponding to the shortest distance, until the moment when the lane change failed ends, the cumulative value of the first value of each interval at all moments is obtained and the range normalization is performed to obtain the distribution histogram of different intervals, and the values ​​of each interval in the distribution histogram are constructed as a vector as the vehicle position configuration feature. The calculation formula of the first value includes:

[0044]

[0045] Wherein, h is the first value, and d is the shortest distance of all intervals at any time. In the embodiment of the present invention, the center of the target vehicle is taken as the origin, and the surrounding 360° is equally divided into 15 intervals, each interval is 24°, and the implementer can determine the number of equally divided intervals according to the implementation scenario. The intervals where the shortest distance is located at all times from the beginning of the lane change to the end of the lane change failure, as well as the first values ​​at all times, are counted. At the end of the lane change failure, the cumulative value corresponding to the first value is obtained for each interval and the range normalization is performed, so that the maximum value of any interval is 1. It should be noted that the range normalization is a public technology, and the specific steps will not be repeated. The larger the h value is, the closer the distance between vehicles in the corresponding interval is, and the more serious the impact on the lane change failure of the target vehicle is.

[0046] According to the results of the normalization of the range of the accumulated values ​​of the first values ​​corresponding to each interval, a distribution histogram of the vehicle condition of the lane change failure case of the target vehicle is constructed. In one embodiment of the present invention, the distribution histogram contains the results of the normalization of the range of the accumulated values ​​of the first values ​​of 15 different intervals. The distribution histogram can reflect the distribution characteristics of the distance between vehicles around the target vehicle during the lane change failure process. All the interval values ​​of the distribution histogram are constructed as vectors as the vehicle position configuration characteristics corresponding to the lane change failure case of the target vehicle. The larger a certain component in the distribution histogram is, the greater the degree of encroachment during the lane change process, and the more serious the impact on the lane change failure of the target vehicle.

[0047] Because it is ultimately necessary to predict the final lane change time based on the change in vehicle distance in the first half of the vehicle lane change process, it is also necessary to obtain the vehicle distance distribution characteristics of the target vehicle in the first half of the lane change process. The specific steps include: according to the moment up to half of the target vehicle's lane change failure duration, calculate the cumulative value of the first value of each interval and perform range normalization processing to obtain the half-distance distribution histogram of different intervals, and construct the values ​​of each interval in the distribution histogram into a half-distance vector as the half-distance vehicle position configuration feature. The acquisition method of the half-distance vehicle position configuration feature is the same as that of the vehicle position configuration feature, except that the deadline for accumulating the first value is the middle moment corresponding to the lane change process failure duration, that is, the vehicle distance distribution characteristics of the first half of the vehicle lane change failure.

[0048] Because the acquired vehicle lane change failure cases are in fixed sections, the road conditions in some lane change failure cases are similar and common. Therefore, it is possible to analyze whether the road conditions encountered in a certain lane change failure case are common based on the similarity between the vehicle position configuration features of different lane change failure cases, that is, the lane change failure atypicality of the target vehicle is obtained based on the similarity between the vehicle position configuration features of the target vehicle and the position configuration features of all vehicles, specifically including: calculating the vehicle position configuration features of all vehicles in the target section, calculating the Euclidean distance between the target vehicle and the position configuration features of all vehicles, sorting the Euclidean distances from small to large, taking the minimum Euclidean distance as the first distance, taking the preset order Euclidean distance as the second distance, and calculating the average of the first distance and the second distance as the lane change failure atypicality. The calculation formula for the lane change failure atypicality includes:

[0049]

[0050] Where P is the atypical degree of lane change failure of the target vehicle, L2() represents the Euclidean distance, and T feat represents the vehicle position configuration characteristics of the target vehicle, T baseline1 represents the vehicle position configuration feature that is most similar to the target vehicle, L2(T feat ,T baseline1 ) represents the first distance, T baselineK represents the position configuration feature of the Kth vehicle similar to the target vehicle, L2(T feat ,T baselineK ) represents the second distance. In the embodiment of the present invention, the preset order value K=8, that is, the eighth vehicle position configuration feature in the Euclidean distance sorting, and the implementer can determine the preset order value according to the implementation scenario.

[0051] Because the significance of lane change failure atypicality P is to determine whether the road condition scenario encountered by the target vehicle during the process of automatic lane change failure is common and atypical. The judgment method is to calculate the Euclidean distance between the vehicle position configuration features of the lane change failure cases of all historical vehicles. The shorter the Euclidean distance between different vehicle position configuration features, the more similar the two vehicle position configuration features are. The purpose of calculating the preset order of Euclidean distances involved in the lane change failure atypicality P is to prevent T baseline1 and T feat They are all similar situations of uncommon road conditions, which affect the accuracy of the atypicality of lane change failure. When the first distance and the second distance values ​​are relatively small, the P value is small, which means that the lane change failure scenario of the target vehicle is common and atypical.

[0052] So far, the vehicle position configuration characteristics and half-distance position configuration characteristics of the target vehicle are obtained based on the second historical data, and the lane change failure atypicality of the target vehicle is obtained based on the difference characteristics between the vehicle position configuration characteristics of all vehicles in the target section history. Subsequent analysis needs to be continued based on the lane change failure scenario information of different vehicles in the target section.

[0053] Step S2, obtaining a lane change failure descriptor according to the lane change failure duration and the lane change failure atypicality of the target vehicle, obtaining sample distances for clustering according to the lane change failure descriptors of all historical lane change failure scenarios in the target section and the vehicle position configuration features, and obtaining categories of different lane change failure scenarios in the target section.

[0054] In order to accurately analyze the lane change failure scenarios of different vehicles and make the clustering results of different lane change failure scenarios more accurate, it is necessary to describe the characteristics of the lane change failure scenarios of the target vehicle, and obtain the lane change failure descriptor according to the lane change failure duration and lane change failure atypicality of the target vehicle, which specifically includes: constructing the lane change failure duration and lane change failure atypicality of the target vehicle in the lane change failure process into a two-dimensional vector to obtain the lane change failure descriptor of the target vehicle. The lane change failure descriptor can reflect the lane change failure duration of different vehicles, that is, the user's experience of unmanned driving, and whether the road condition scenario of lane change failure is a common situation. According to the lane change failure descriptor, different lane change failure scenarios can be distinguished more accurately.

[0055] Since some lane change failure scenarios are similar in fixed road sections, in order to increase the accuracy of subsequent lane change time prediction results, it is necessary to cluster and distinguish different lane change failure scenarios, and then continue to analyze based on the clustering results. In an embodiment of the present invention, the specific steps of clustering include: calculating the sample distance between different lane change failure scenarios, and clustering according to the sample distance using the OPTICS clustering algorithm. The steps of obtaining the sample distance specifically include: obtaining the lane change failure descriptors and vehicle position configuration features of all lane change failure cases in the history of the target road section, calculating the similarity between different lane change failure descriptors as the first similarity; calculating the similarity between different vehicle position configuration features as the second similarity; calculating the product of the first similarity and the second similarity of the corresponding lane change failure case as the first product, and calculating the difference between the positive integer 1 and the first product as the sample distance. The calculation formula for the sample distance includes:

[0056] D(X,Y)=1-sim(T X ,T Y )*sim(U X ,U Y )

[0057] Where D() represents the sample distance between different lane change failure scenarios, X and Y represent lane change failure scenarios of different vehicles, sim() represents the calculation similarity function, and T X represents the vehicle position configuration characteristics of X, T Y represents the vehicle position configuration characteristics of Y, U X represents the lane change failure descriptor of X, U Y Represents the lane change failure descriptor of Y.

[0058] The sample distance of lane change failure scenario cases of all historical vehicles in the target road section is calculated. The shorter the sample distance between two lane change failure scenario cases, the more similar the experience of the auxiliary function of automatic lane change and the more similar the road conditions during the automatic lane change failure process. In the process of calculating the sample distance, because the vehicle position configuration feature can represent the distribution and movement characteristics of other vehicles around the target vehicle during the lane change process, it represents the lane change decision scenario of the target vehicle. If the decision scenario of the target vehicle is not similar to that of other vehicles, the sample distance will be larger. Therefore, the similarity between the vehicle position configuration features is calculated in the sample distance of the target vehicle. The sample distance is obtained by the similarity between the lane change failure descriptor and the vehicle position configuration feature between different lane change failure scenario cases. When the vehicle position configuration features and the lane change failure descriptor between the two lane change failure scenario cases are more similar, the sample distance is shorter; when the vehicle position configuration features and the lane change failure descriptor between the two lane change failure scenario cases are more different, the sample distance is larger.

[0059] Furthermore, after obtaining the sample distance, the OPTICS clustering algorithm can be used to perform clustering according to the sample distances between different lane change failure cases, and similar lane change failure scenario case categories can be clustered into a cluster. In an embodiment of the present invention, the search radius Eps in the clustering algorithm is set to 0.15, and the minimum value Minpts within the cluster is set to 4. It should be noted that the OPTCIS clustering algorithm is a public technology, and the specific clustering steps will not be repeated here. The implementer can determine the hyperparameters in the clustering algorithm according to the implementation scenario.

[0060] At this point, the lane change failure scenario cases of all vehicles in the target road section have been clustered, and different lane change failure scenario categories have been obtained. Further analysis is needed based on different sample distances and lane change failure scenario case categories.

[0061] Step S3, obtaining a timeout time scaling factor according to the difference characteristics of the first historical data of the target vehicle in the category to which the target user's lane change failure occurs most frequently; obtaining a similar lane change failure scenario according to the sample distance of the target vehicle, and obtaining a time label corresponding to the half-distance vehicle position configuration feature according to the size relationship between the lane change failure time of the similar lane change failure scenario and the lane change failure scenario of the target vehicle and the timeout time scaling factor.

[0062] For target users who frequently travel to and from the target road section, if the same type of lane change failure scenario cases often occur, it means that the unmanned driving strategy based on road planning has affected the driving experience of some users. For the lane change failure scenarios that affect the user experience, the automatic lane change assistance function needs to be adjusted later. First, it is necessary to analyze the timeout time scaling factor of the target user. Because the target user refers to the user who travels to and from the target road section many times, the target user has multiple lane change failure scenario cases, so it is necessary to determine the category in which the target user's lane change failure occurs the most times, and analyze the time difference of each lane change failure of the target user in the category to obtain the timeout time scaling factor. Specifically, it includes: obtaining the category in which the target user's lane change failure case occurs the most times, obtaining the median value of the lane change failure duration of the target vehicle in the category as the timeout time, calculating the average value of the corresponding lane change failure duration of the target user in the category that is greater than the timeout time, as the second value; calculating the ratio of the timeout time to the second value, obtaining the timeout time scaling factor, and the timeout time scaling factor is greater than zero and less than or equal to one.

[0063] The timeout scaling factor is the ratio of the target user's common timeout to a second value greater than the timeout. That is, the closer the timeout scaling factor is to 1, the more concentrated and normal the target user's lane change failure duration is; when the timeout scaling factor is closer to 0, the more different and abnormal the target user's lane change failure duration is. The timeout scaling factor can reflect whether the target user's lane change failure duration is reasonable and can correct the subsequent calculated time label.

[0064] At this point, each target user has obtained the corresponding timeout scaling factor. In order to be able to predict the time taken for the target user's subsequent automatic lane change process, it is necessary to obtain the time labels under different lane change failure scenario cases. Because the subsequent prediction through the neural network requires sufficient training sets, it is not enough to only obtain the lane change failure scenario cases of the target user's history, and sample amplification is required. Because different lane change failure scenario case categories are obtained through step S2, all lane change failure scenario cases in the history of the target user can be used as a benchmark, that is, the lane change failure scenario cases of all target vehicles in the history of the target user are used as a benchmark. According to the sample distance of the target vehicle of the target user, the similar lane change failure scenarios in the corresponding lane change failure scenario case category are searched. The number of similar lane change failure scenarios for each target vehicle can be controlled by the limit size of the sample distance. The implementer can determine the limit size of the sample distance according to the implementation scenario to determine the similar lane change failure scenario cases. After obtaining the similar lane change failure scenario cases of all target vehicles of the target user, it is necessary to obtain the time label of the corresponding scenario case based on the lane change failure scenario case of the target user and the corresponding similar lane change failure scenario case. The specific steps for obtaining the time label:

[0065] Obtain the timeout time of similar lane change failure scenarios of the target vehicle. If the timeout time of the target vehicle is greater than the timeout time of its similar lane change failure scenarios, the time label is the product of the timeout time factor of the target vehicle and the corresponding timeout time; if the timeout time of the target vehicle is less than or equal to the timeout time of its similar lane change failure scenarios, the time label is the timeout time of the target vehicle.

[0066] The role of the time label is to obtain the duration of automatic lane change based on the mid-distance vehicle position configuration characteristics of the vehicle during the neural network prediction process. The selection of the time label is obtained by comparing the target user's target vehicle timeout with the corresponding similar lane change failure scenario timeout. Since the timeout scaling factor can reflect whether the target user's lane change failure duration is reasonable, the target user's timeout and the corresponding similar lane change failure scenario timeout are first compared. If the target user's timeout is long, it may be an uncommon timeout. Therefore, the target user's timeout is multiplied by the corresponding timeout scaling factor to obtain a smaller timeout as a time label, thereby avoiding the predicted lane change time being too long, affecting the automatic lane change process and user experience; if the target user's timeout is less than the corresponding similar lane change failure scenario timeout, it is considered that the target user's timeout is common, and then directly used as a time label to predict the subsequent target user's lane change duration.

[0067] So far, each lane change failure scenario of the target user and the corresponding similar lane change failure scenario correspond to a time tag, and each lane change failure scenario of the target user and the corresponding similar lane change failure scenario have their corresponding half-distance vehicle position configuration features, so each half-distance vehicle position configuration feature of the target user corresponds to a time tag, and the half-distance vehicle position configuration feature of the corresponding similar lane change failure scenario corresponds to a time tag. Subsequently, the target user's lane change duration is predicted based on the half-distance vehicle position configuration features and time tags.

[0068] Step S4, obtaining a neural network training set based on the mid-distance vehicle position configuration characteristics and time labels of the target vehicle, training and predicting the lane change time of the target vehicle during the subsequent unmanned driving process on the target road section based on the neural network training set, and adjusting the unmanned driving process based on the prediction results.

[0069] Because the embodiment of the present invention predicts the subsequent automatic lane change duration of the target user who frequently commutes to the target road section, each user has his own exclusive TCN prediction neural network, and the training set of TCN is all the half-distance vehicle position configuration features of the target user obtained in step S3 and the half-distance vehicle position configuration features corresponding to similar lane change failure scenarios, as well as the time labels corresponding to each half-distance vehicle position configuration feature. The purpose of selecting the half-distance vehicle position configuration features for prediction is because the half-distance vehicle position configuration features belong to the characteristics of the lane change process, which are closer to the situation of the target user's subsequent automatic lane change process, thereby improving the accuracy of the automatic lane change duration prediction. The TCN neural network exclusive to the target user is trained through the TCN training set, and different half-distance vehicle position configuration features are input, and the labels are the corresponding time labels for training. It should be noted that the TCN prediction neural network belongs to public technology, and the specific training and prediction steps will not be repeated.

[0070] After the training is completed, it is necessary to predict the time required for the target user to perform subsequent automatic lane changes in the target section. When the automatic lane change starts to exceed the preset time, the preset time is set to 4 seconds in the embodiment of the present invention, that is, the vehicle position configuration characteristics of the target user at the beginning of the automatic lane change are obtained and updated in real time from 4 seconds onwards. Since this is the time in the automatic lane change process, what is obtained is the vehicle position configuration characteristics of the latest moment rather than the half-way position configuration characteristics. According to the vehicle position configuration characteristics obtained in real time, the automatic lane change duration is predicted by TCN. When the automatic lane change duration exceeds half of the predicted lane change duration, it is considered that the predicted value is close to the target user's tolerance for automatic lane changes. Therefore, when the automatic lane change duration is half of the predicted value, the vehicle position configuration characteristics of the vehicle are similar to the target user's historical half-way vehicle position configuration characteristics, that is, the predicted value is close to the target user's lane change failure duration value. At this time, the prediction is stopped and the predicted automatic lane change time is output.

[0071] In an embodiment of the present invention, after the predicted automatic lane change time is output, if the difference between the predicted automatic lane change time of the target vehicle and the real-time automatic lane change time is greater than a first preset value, the automatic lane change operation is performed normally, that is, the automatic lane change time of the target vehicle is less than half of the predicted lane change time, and the automatic lane change assistance function performs the lane change operation to reduce the user's operation frequency; if the difference between the predicted automatic lane change time of the target vehicle and the real-time automatic lane change time is less than or equal to the first preset value, the lane change attempt is performed again to find a variable road line. If there is no variable road line, the user is reminded to intervene and no longer wait for the unmanned driving to perform lane change assistance. In an embodiment of the present invention, the first predicted value is half of the corresponding predicted lane change time, that is, when the automatic lane change time of the target vehicle does not exceed half of the predicted lane change time, the unmanned driving automatic lane change controls the lane change; when the automatic lane change time reaches half of the predicted lane change time, another lane change attempt is made. If there is no lane change line, the user is reminded to intervene and take over, reducing the user's waiting time, increasing the safety of the unmanned driving, and improving the user's driving experience.

[0072] In summary, an embodiment of the present invention provides an unmanned driving method, which first obtains the first historical data of the lane change failure duration and the second historical data of the lane change failure vehicle distance of all historical vehicles on the target road section. The vehicle position configuration characteristics and the half-distance vehicle position configuration characteristics are obtained based on the distribution characteristics of the lane change failure vehicle distance of the target vehicle in the second historical data, and the lane change failure atypicality of the target vehicle is obtained according to the similarity of the vehicle position configuration characteristics between different vehicles. A lane change failure descriptor is obtained according to the lane change failure duration and the lane change failure atypicality of the target vehicle, and the sample distance is obtained and clustered according to the lane change failure descriptors and vehicle position configuration characteristics of different vehicles to obtain different lane change failure scenario categories. The timeout time scaling factor of the target vehicle is obtained according to the lane change failure scenario category, and a training set for neural network prediction is obtained based on the timeout time scaling factor and the half-distance vehicle position configuration characteristics, and the subsequent automatic lane change duration of the target user is predicted and adjusted to improve the user's driving experience.

[0073] The present invention also proposes an unmanned driving system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any step of an unmanned driving method.

[0074] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0075] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. An unmanned driving method, characterized in that: The method comprises the following steps: Obtain first historical data of lane change failure duration and second historical data of lane change failure vehicle distances of all vehicles in the target road section during unmanned driving, obtain vehicle position configuration features and half-distance vehicle position configuration features according to distribution features of lane change failure vehicle distances of the target vehicle in a single lane change process in the second historical data, and obtain a lane change failure atypicality of the target vehicle according to similarities between the vehicle position configuration features and all vehicle position configuration features; A lane change failure descriptor is obtained according to the lane change failure duration and the lane change failure atypicality of the target vehicle, and a sample distance is obtained for clustering according to the lane change failure descriptors of all historical lane change failure scenarios in the target road section and the vehicle position configuration features to obtain categories of different lane change failure scenarios in the target road section; Obtain a timeout time scaling factor according to the difference feature of the first historical data of the target vehicle in the category to which the target user's lane change failure occurs most frequently; obtain a similar lane change failure scenario according to the sample distance of the target vehicle, and obtain a time label corresponding to the half-distance vehicle position configuration feature according to the size relationship between the lane change failure time of the similar lane change failure scenario and the lane change failure scenario of the target vehicle and the timeout time scaling factor; A neural network training set is obtained according to the mid-distance vehicle position configuration characteristics of the target vehicle and the time label, and the lane change time of the target vehicle in the subsequent unmanned driving process of the target section is trained and predicted according to the neural network training set, and the unmanned driving process is adjusted according to the prediction result.

2. The unmanned driving method according to claim 1, characterized in that: The steps of acquiring the vehicle position configuration feature and the half-distance vehicle position configuration feature include: According to the second historical data of the lane change failure vehicle distance, the area around the target vehicle is equally divided into at least two intervals, and the closest distance and corresponding interval of the target vehicle to other vehicles at each moment in the lane change process are counted, and at any moment, the reciprocal of the sum of the shortest distance and the positive integer 1 is calculated as the first value of the corresponding moment of the interval corresponding to the shortest distance, until the end of the lane change failure, the cumulative value of the first value of each interval at all moments is obtained and the range normalization processing is performed to obtain the distribution histogram of different intervals, and the value of each interval in the distribution histogram is constructed as a vector as the vehicle position configuration feature; According to the moment when the target vehicle reaches half of the time duration of lane change failure, the accumulated value of the first value of each interval is calculated and the range normalization is performed to obtain the half-distance distribution histogram of different intervals, and the value of each interval in the distribution histogram is constructed as a half-distance vector as the half-distance vehicle position configuration feature.

3. The unmanned driving method according to claim 1, characterized in that: The step of obtaining the atypical degree of lane change failure includes: Calculate the vehicle position configuration features of all vehicles in the target section, calculate the Euclidean distance between the target vehicle and all vehicle position configuration features, sort the Euclidean distances from small to large, take the minimum Euclidean distance as the first distance, take the preset order Euclidean distance as the second distance, and calculate the average of the first distance and the second distance as the atypicality of the lane change failure.

4. The unmanned driving method according to claim 1, characterized in that: The step of obtaining the lane change failure descriptor comprises: The lane change failure duration and the lane change failure atypicality degree of the target vehicle in the lane change failure process are constructed into a two-dimensional vector to obtain the lane change failure descriptor of the target vehicle.

5. The unmanned driving method according to claim 1, characterized in that: The step of obtaining the sample distance comprises: Obtain lane change failure descriptors and vehicle position configuration features of all lane change failure cases in the target road section history, calculate the similarity between different lane change failure descriptors as the first similarity; calculate the similarity between different vehicle position configuration features as the second similarity; The product of the first similarity and the second similarity corresponding to the channel failure case is calculated as the first product, and the difference between the positive integer 1 and the first product is calculated as the sample distance.

6. The unmanned driving method according to claim 1, characterized in that: The step of obtaining the timeout scaling factor comprises: Obtain the category with the most number of lane change failure cases of the target user, obtain the median of the lane change failure durations of the target vehicles in the category as the timeout period, and calculate the average of the lane change failure durations of the target users in the category that are greater than the timeout period as the second value; The ratio of the timeout time to the second value is calculated to obtain the timeout time scaling factor.

7. The unmanned driving method according to claim 1, characterized in that: The step of obtaining the time tag includes: Get the timeout time of similar lane change failure scenarios of the target vehicle. If the timeout time of the target vehicle is greater than the timeout time of its similar lane change failure scenarios, the time label is the product of the timeout time scaling factor of the target vehicle and the corresponding timeout time; if the timeout time of the target vehicle is less than or equal to the timeout time of its similar lane change failure scenarios, the time label is the timeout time of the target vehicle.

8. The unmanned driving method according to claim 1, characterized in that: The steps of training and predicting the lane changing time of the target vehicle in the subsequent unmanned driving process of the target road section by the neural network training set include: A TCN prediction neural network for predicting the lane changing time of a target user is trained according to the neural network training set. When the automatic lane changing time of the target vehicle exceeds a preset time value, the vehicle position configuration characteristics of the target vehicle are obtained in real time. The lane changing time is predicted by the TCN prediction neural network corresponding to the target user according to the vehicle position configuration characteristics obtained in real time. If the real-time automatic lane changing time exceeds half of the predicted lane changing time, the prediction is stopped and the predicted automatic lane changing time is output.

9. The unmanned driving method according to claim 1, characterized in that: The step of adjusting the unmanned driving process according to the prediction result comprises: If the difference between the automatic lane change time predicted by the target vehicle and the real-time automatic lane change time is greater than a first preset value, the automatic lane change operation is performed normally; If the difference between the automatic lane change time predicted by the target vehicle and the real-time automatic lane change time is less than or equal to a first preset value, a lane change attempt is made again to find a variable road line. If there is no variable road line, the user is reminded to intervene and no longer wait for unmanned driving to assist in lane change.

10. An unmanned driving system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method for prejudging behaviors of surrounding vehicles of unmanned vehicle

    CN111079590A

  • Method for training lane change prediction regression model, and lane change predicton method and apparatus

    WO2022099526A1