Prediction method and device for driving track of intelligent automobile
Patent Information
- Application Number
- CN202410976067.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-11
AI Technical Summary
Existing smart car driving trajectory prediction technology is difficult to effectively integrate the information of the target vehicle and surrounding vehicles under complex road conditions, resulting in poor emergency prediction results.
By acquiring the real-time operating data and historical trajectory data of intelligent vehicles, a behavioral intention recognition model is established, combining fuzzy logic and time loop neural networks to determine the driving intention of the target vehicle, and based on the intention, the predicted trajectory clusters are screened to obtain the driving intention with the highest probability Trajectory prediction results.
It improves the accuracy of scene understanding and vehicle prediction, enhances driving safety, and can better respond to emergencies in complex traffic environments.
Smart Images

Figure CN118753318A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent driving technology, and in particular to a method and device for predicting the driving trajectory of an intelligent vehicle. Background Art
[0002] Trajectory prediction technology plays a vital role in the field of intelligent driving. Through accurate prediction, the system can plan obstacle avoidance paths in advance, optimize driving speed and routes, effectively respond to emergencies, and reduce traffic accidents. At the same time, it can help vehicles move freely in complex traffic environments and improve passenger comfort and trust.
[0003] In related technologies, future driving trajectories are often predicted based on historical data of smart cars. This method fails to consider uncertain environmental information under complex road conditions, resulting in poor prediction results when facing emergencies in actual applications.
[0004] Based on this, there is an urgent need for a method and device for predicting the driving trajectory of an intelligent vehicle to solve the above technical problems. Summary of the invention
[0005] The present invention provides a method and device for predicting the driving trajectory of an intelligent vehicle, which can improve the prediction effect of related technologies in the face of emergencies in practical applications. The technical solution is as follows:
[0006] On the one hand, a method for predicting a driving trajectory of an intelligent vehicle is provided, the method comprising:
[0007] Acquire real-time operation data and historical trajectory data of smart vehicles; wherein the smart vehicles include target vehicles and surrounding vehicles;
[0008] Calculating the real-time operation data to determine the driving intention of the target vehicle;
[0009] Based on the historical trajectory data, determining a predicted trajectory cluster of the target vehicle; wherein the predicted trajectory cluster includes a plurality of driving trajectory prediction results of the target vehicle;
[0010] The predicted trajectory clusters are screened based on the driving intention to obtain a driving trajectory prediction result with the highest probability for the target vehicle.
[0011] On the other hand, a device for predicting a driving trajectory of an intelligent vehicle is provided, the device comprising:
[0012] An acquisition module, used to acquire real-time operation data and historical trajectory data of the intelligent vehicle; wherein the intelligent vehicle includes a target vehicle and surrounding vehicles, and the real-time operation data includes lane change information and driving information of the target vehicle;
[0013] A calculation module, used to calculate the real-time operation data to determine the driving intention of the target vehicle;
[0014] A determination module, configured to determine a predicted trajectory cluster of the target vehicle based on the historical trajectory data; wherein the predicted trajectory cluster includes a plurality of driving trajectory prediction results of the target vehicle;
[0015] The screening module is used to screen the predicted trajectory cluster based on the driving intention to obtain the driving trajectory prediction result with the highest probability for the target vehicle.
[0016] On the other hand, a computer device is provided, which includes a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to implement the steps of the above-mentioned method for predicting the driving trajectory of an intelligent vehicle.
[0017] On the other hand, a computer-readable storage medium is provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned method for predicting the driving trajectory of an intelligent vehicle are implemented.
[0018] The technical solution provided by the present invention can at least bring the following beneficial effects: firstly, the real-time operation data and historical trajectory data of the intelligent vehicle are obtained, then the behavior intention recognition model of the intelligent vehicle is established according to the real-time operation data, and the predicted trajectory cluster of the intelligent vehicle is calculated according to the historical trajectory data; finally, the predicted trajectory cluster is screened by the behavior intention recognition model to obtain the trajectory data that best meets the driving intention. By screening the prediction results of the trajectory using the intention recognition model established by simulating the driver's cognitive process of the driving environment, the accuracy of scene understanding and vehicle prediction can be better improved, and the trajectory information of the target vehicle and its surrounding vehicles is combined with the intention probability as output, which helps to improve the driving safety level. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are 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.
[0020] Figure 1 is a flow chart of a method for predicting a driving trajectory of an intelligent vehicle provided by an embodiment of the present invention;
[0021] Figure 2 It is a structural diagram of a device for predicting the driving trajectory of an intelligent vehicle provided by an embodiment of the present invention;
[0022] Figure 3 is a hardware architecture diagram of a computer device provided by an embodiment of the present invention;
[0023] Figure 4 is a diagram describing decision variables when a vehicle changes lanes, provided by an embodiment of the present invention;
[0024] Figure 5 is a schematic diagram of a membership function of lane change information provided by an embodiment of the present invention;
[0025] Figure 6 is another schematic diagram of a membership function of lane change information provided by an embodiment of the present invention;
[0026] Figure 7 is a schematic diagram of a membership function of a fuzzy output provided by an embodiment of the present invention;
[0027] Figure 8 is a structural diagram of an intent recognition model provided by an embodiment of the present invention;
[0028] Fig. 9 is a schematic diagram of an intention recognition process provided by an embodiment of the present invention;
[0029] Fig.10 It is a schematic diagram of the structure of a target vehicle trajectory prediction model provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0031] As mentioned above, the driving trajectory prediction of traditional smart cars often finds it difficult to effectively integrate the target car with the surrounding cars, resulting in low prediction accuracy of trajectory prediction when facing emergencies.
[0032] Based on this, the inventive concept of the present invention is to determine the most likely driving intention of the target vehicle by combining the driving trajectories of the target vehicle and surrounding vehicles, and to filter the predicted driving trajectory of the target vehicle according to the driving intention to obtain the most accurate predicted driving trajectory.
[0033] The specific implementation of the above concept is described below.
[0034] Please refer to Figure 1, an embodiment of the present invention provides a method for predicting a driving trajectory of an intelligent vehicle, the method comprising:
[0035] Step 100, obtaining real-time operation data and historical trajectory data of smart vehicles; wherein the smart vehicles include target vehicles and surrounding vehicles;
[0036] Step 102, calculating the real-time operation data to determine the driving intention of the target vehicle;
[0037] Step 104, determining a predicted trajectory cluster of the target vehicle based on the historical trajectory data; wherein the predicted trajectory cluster includes a plurality of driving trajectory prediction results of the target vehicle;
[0038] Step 106 , screening the predicted trajectory clusters based on the driving intention to obtain the driving trajectory prediction result with the highest probability for the target vehicle.
[0039] In the embodiment of the present invention, the real-time operation data and historical trajectory data of the intelligent vehicle are first obtained, and then the behavior intention recognition model of the intelligent vehicle is established according to the real-time operation data, and the predicted trajectory cluster of the intelligent vehicle is calculated according to the historical trajectory data; finally, the predicted trajectory cluster is screened using the behavior intention recognition model to obtain the trajectory data that best meets the driving intention. By using the intention recognition model established by simulating the driver's cognitive process of the driving environment to screen the prediction results of the trajectory, the accuracy of scene understanding and vehicle prediction can be better improved. At the same time, the trajectory information of the target vehicle and its surrounding vehicles is combined with the intention probability as output, which helps to improve the driving safety level.
[0040] Described below Figure 1 How the various steps are performed.
[0041] First, with respect to step 100, the real-time operation data and historical trajectory data of the smart vehicle are obtained.
[0042] Considering the complexity of actual traffic scenarios, in order to improve the prediction accuracy of the driving trajectory of intelligent vehicles, it is necessary to obtain the real-time operation data and historical trajectory data of the target intelligent vehicle and its surrounding vehicles.
[0043] In an embodiment of the present invention, the real-time operating data includes driving information and lane changing information of the target vehicle, wherein the driving information includes lateral coordinates, longitudinal coordinates, vehicle speed, and vehicle acceleration; the lane changing information includes the front gap before the lane changing, the front gap after the lane changing, the rear gap after the lane changing, and the distance between the front and rear vehicles after the lane changing.
[0044] Then, for step 102, the real-time operation data is calculated to determine the driving intention of the target vehicle.
[0045] Fuzzy logic allows the system to process fuzzy, unclear and uncertain information, which can well simulate the uncertainty in the real world. The human brain's focus on useful information enables humans to solve various survival challenges. This attention mechanism similar to the human brain can make the system pay more attention to important information and useful resources, and this processing mechanism can serve as an important reference for intelligent car optimization prediction and decision-making processes.
[0046] Based on this, in order to better simulate the decision-making process of the human brain when facing complex vehicle conditions, the embodiment of the present invention introduces fuzzy logic reasoning as a simulation of the driver's behavioral decision-making process of freely changing lanes of the target vehicle on the highway. By leveraging the advantages of fuzzy logic in solving the estimation, control, pattern recognition and decision-making problems of uncertain data, the driver's ability to recognize the intentions of surrounding vehicles in complex traffic environments is improved.
[0047] In an embodiment of the present invention, the process of determining driving intention includes: performing fuzzy reasoning on lane change information to obtain a lane change prediction result for characterizing the feasibility of lane change of the target vehicle; wherein the lane change prediction result includes lane change time and lane change probability; inputting the driving information and the lane change prediction result into a pre-trained intention recognition model, and outputting the driving intention; wherein the intention recognition model is obtained by training the initial model using a time recurrent neural network.
[0048] Specifically, the fuzzy inference system (FIS) uses fuzzy logic to model the driver's decision-making process, which includes four key stages: fuzzification stage, reasoning stage, combination stage and defuzzification stage.
[0049] First, the fuzzification stage maps the crisp input to the fuzzy membership value by establishing fuzzy sets and fuzzy membership functions; then, the reasoning stage provides the fuzzified input to the fuzzy rules to generate the fuzzified output; secondly, the combination stage combines multiple rule outputs into fuzzified output quantities; finally, the defuzzification stage converts the fuzzy output into a crisp value. Figure 4 As shown, the key input variables of the process include the front gap G of the predicted traffic vehicle before changing lanes. PB , front clearance after lane change G PA , Rear clearance after lane change G FA And the distance D between the front and rear vehicles after changing lanes. The lane changing process includes left lane changing, right lane changing and straight driving.
[0050] For example, taking the target vehicle changing lanes to the right as an example, first, the four decision variables G of the target vehicle's lane change information are selected. PB , G PA , G FA , D, the corresponding fuzzy set is Each input variable is a fuzzy set I consisting of three linguistic values. I = {Close, Medium, Far}. Among them, Close, Medium and Far represent the fuzzy linguistic values of close, medium and far respectively. The output is the possibility of lane change, i.e., the fuzzy quantity RCF, and the corresponding fuzzy set is Among them, Low, Medium, and High represent the fuzzy language values of low, medium, and high possibilities of changing lanes to the right, respectively.
[0051] Furthermore, the membership functions of these variables are designed. There are 4 input decision variables, each of which has 3 fuzzy linguistic values, and a total of 12 membership functions are required. The input membership function is designed as Figure 5 As shown, the trigonometric function is used to represent the medium, the trapezoidal function form is used to represent the close distance and the far distance, the blue, green and red colors of the curve represent the fuzzy membership functions of Close, Medium and Far respectively, and the membership function is shown in the following formula:
[0052]
[0053] The input membership function is designed as Figure 6 As shown, its membership function is shown in the following formula:
[0054]
[0055] Furthermore, the fuzzy input is converted into the fuzzy output. Assuming that each rule has four input variables, each variable has three values, the maximum number of rules is 3. 4 =81, but some combinations of the 81 fuzzy rules are not feasible, such as It cannot be Far. After deleting all infeasible rules, only 51 valid rules remain in the rule base. Each rule is expected to produce three outputs, so the 51 fuzzy output values need to be merged into a single RCF value. Finally, the output is defuzzified. The RCF is converted into a lane change possibility output result of "low probability" or "medium probability" or "high probability". The membership function of the fuzzy output is designed as follows Figure 7 As shown, the membership function is shown in the following formula:
[0056]
[0057] In summary, through the above fuzzy reasoning process, the possibility of the target vehicle changing right lanes under the current vehicle condition can be obtained, and then all lane changing possibilities of the target vehicle can be obtained by repeating the above calculation process.
[0058] In an embodiment of the present invention, after obtaining the lane change prediction result of the target vehicle, that is, the possibility of lane change, it is also necessary to process it using an intention recognition model to obtain the driving intention of the target vehicle. The process includes: calculating the driving information and the lane change prediction result to obtain the hidden state and memory element of each data at any time; normalizing the hidden state and the memory element to obtain the probability value of each lane change result of the target vehicle; wherein the lane change results include left lane change, right lane change and straight driving, and the sum of the probabilities of the lane change results is 1; based on the probability value, determining the lane change result with the highest probability as the driving intention.
[0059] Specifically, the embodiment of the present invention adopts an intention recognition model obtained by training a long short-term memory network, such as Figure 8 As shown in the figure, the model has five layers: the first layer is the model input layer, which imports the input target vehicle information and lane change feasibility into the model; the second layer is the LSTM layer; the third layer is the fully connected layer, which performs nonlinear transformation on the data through the activation function to prevent gradient explosion when training the model; the fourth layer is the Softmax layer, which converts the data into three probabilities whose sum is 1, corresponding to three driving intentions respectively; the fifth layer is to screen out the highest probability and output it.
[0060] The sequence input layer imports six input time series variables, whose length is represented by the time window t. The variables are the target vehicle trajectory information and the lane change feasibility X = [x, y, v, a, LCF, RCF], where x and y represent the lateral and longitudinal coordinates of the target vehicle, v is the vehicle speed, a represents the vehicle acceleration, LCF represents the feasibility of changing lanes to the left, and RCF represents the feasibility of changing lanes to the right.
[0061] The LSTM layer is composed of LSTM units, which are calculated by input gate, output gate, forget gate, hidden unit, memory element, etc. Each layer is set to contain 64 hidden units, and the Dropout ratio between different layers is 0.2. Dropout can prevent overfitting during training. The hidden state h at time t is obtained by calculating the input of each step through LSTM. t and memory element c t .
[0062] The fully connected layer uses the ReLU function as the activation function, which passes the hidden state and memory elements of the six input variables to the next layer.
[0063] The Softmax layer is mainly composed of the softmax function, which can convert the unregulated information into non-negative and sum to 1. This function matches the driving behavior intention of changing lanes to the left, changing lanes to the right, and keeping lanes, and is classified into three possibilities. The calculation of the Softmax function is as follows:
[0064]
[0065] After processing by the Softmax layer, the probability matrix Ω = {ω1, ω2, ω3} of driving behavior intention is obtained, where ω1, ω2 and ω3 represent the probabilities of left lane change, right lane change and lane keeping, respectively.
[0066] Classification output layer, output advance detection time t p Lane-changing behavior prediction results
[0067] like Fig. 9 As shown, in this way, the driving behavior intentions of different vehicles can be identified more accurately, which helps intelligent vehicles make accurate decisions and adopt appropriate driving strategies to improve the safety of the vehicle and surrounding vehicles.
[0068] With respect to step 104 , a predicted trajectory cluster of the target vehicle is determined based on the historical trajectory data.
[0069] The human brain's selective processing and focused attention of external information enables humans to adapt and survive more effectively in the face of complex and changing environments. This understanding mechanism has spawned research on attention mechanisms and encoder-decoder architectures in the field of artificial intelligence. As a time series, trajectory sequences can combine the influence of attention mechanisms and the kinematics of the vehicle's surroundings to improve model prediction performance. Therefore, Fig.10 As shown, the embodiment of the present invention adopts a trajectory prediction model to obtain a predicted trajectory cluster of the target vehicle.
[0070] In an embodiment of the present invention, a predicted trajectory cluster of a target vehicle is obtained through the following process: encoding historical trajectory data to obtain an embedding vector of each intelligent vehicle; based on the embedding vector, establishing a spatial grid of the intelligent vehicle at the current moment; wherein the spatial grid includes a plurality of subgrids, each subgrid is composed of a hidden state vector of a group of surrounding vehicles in a target area, and the hidden state vector is obtained by calculating the embedding vector; mapping the spatial grid to obtain an attention feature for reflecting the impact of each group of surrounding vehicles on the future operation of the target vehicle; dynamically weighting the attention feature to obtain a comprehensive vector for characterizing the interaction information of all vehicles; decoding the comprehensive vector to obtain a predicted trajectory cluster of the target vehicle.
[0071] For example, the historical trajectory of the target vehicle is defined as: The output of the trajectory prediction model is the predicted position of the target vehicle: The model takes a variable-length trajectory sequence as input to the encoder, then transforms the sequence into a fixed-length encoding state and gives it to the decoder. Finally, the trajectory information of the target vehicle and its surrounding vehicles is combined with the intention probability as output, and the influence of surrounding kinematics is considered in the attention mechanism to improve the model prediction performance.
[0072] Specifically, the encoding layer of the model encodes the target vehicle and its surrounding vehicles at the current time (t o ). This layer builds a grid with the target vehicle moving in real time, and forms multiple LSTM encoders according to the number of surrounding vehicles in the grid. Through a fully connected layer, the state vector of each vehicle in the surrounding area is Embed, forming an embedding vector
[0073]
[0074] Among them, W e represents the embedding weights of the updated learning, Ψ is a nonlinear fully connected function based on LeakyReLU, and the LSTM encoder inputs the embedding vector of each vehicle and calculates the hidden state as for:
[0075]
[0076] in, represents the hidden state vector of the surrounding vehicles at time t, represents the hidden state vector of the target vehicle at time t, W e Represents the weights of the LSTM encoder, and all LSTM encoders share the same weights.
[0077] According to the positions of the surrounding vehicles, a spatial grid H consisting of the hidden states at the current moment is constructed:
[0078]
[0079] Among them, δ nm (x,y) is an indicator function that equals 1 if (x,y) is in cell (n,m) and 0 otherwise. T It consists of a set of surrounding vehicles that appear in the area under consideration. The hidden state of the encoder LSTM is used as the input of the attention module. The vehicle interactions are represented as:
[0080]
[0081] Among them, Q l The hidden state of the target vehicle is mapped to a query. The grid is mapped to form the key K l Sum value Vl :
[0082]
[0083]
[0084] in, and Represents the weight learned in each attention. l Calculated as weighted sum Attention Weight The weighted calculation is based on the relative motion state between the target and its target vehicle, reflecting the impact of surrounding vehicles on the future motion of the target vehicle:
[0085]
[0086] The attention weights are calculated by taking the dot product of the query vector and the key vector and then dividing the result by a scaling factor:
[0087]
[0088] in, is the matrix multiplication used to calculate the dot product similarity, and d is the normalization factor. In order to extend the attention mechanism to the field of high-order interactions, different queries, keys, and values will generate n h The linear mapping parameter calculation formula is:
[0089] Q l ,K l ,V l ,l∈[1,n h ]
[0090] Among them, n h represents the calculated attention features, representing the vehicle subgroups related to the target vehicle. These features are concatenated and dynamically weighted to extract the complex interaction relationships between different vehicle subgroups, namely:
[0091]
[0092] Among them, z represents the comprehensive vector that combines the interaction information of all vehicles.
[0093] The LSTM decoder is powered by a comprehensive vector z containing the relevant vehicle interaction choices and the target vehicle motion encoding features h dec :
[0094]
[0095] The role of the decoder is to generate the trajectory prediction parameters of the target vehicle in the future, namely:
[0096]
[0097] Among them, Θ t is the prediction parameter of the position distribution at time t, and Ψ is a nonlinear fully connected function based on LeakyReLU. dec represents the weights learned by the LSTM decoder, is the hidden state vector of the decoder at time t-1.
[0098] With respect to step 106 , the predicted trajectory clusters are screened based on the driving intention to obtain the driving trajectory prediction result with the highest probability for the target vehicle.
[0099] Considering the history of vehicle motion, there are many possible future trajectories, and the trajectory prediction value calculated in the above process is often the average of future trajectories. When the driver decides to perform a specific action, he will shift his attention to a group of neighboring vehicles. For example, a driver who is changing lanes will focus mainly on the vehicles in the target lane. Therefore, by filtering the predicted trajectory clusters using the driver's driving intention calculated in advance, a trajectory sequence that better meets the driving intention can be filtered out from each generated trajectory cluster.
[0100] Please refer to Figure 2 The embodiment of the present invention provides a device for predicting a driving trajectory of an intelligent vehicle, the device comprising:
[0101] The acquisition module 200 is used to acquire the real-time operation data and historical trajectory data of the intelligent vehicle; wherein the intelligent vehicle includes the target vehicle and surrounding vehicles, and the real-time operation data includes the lane change information and driving information of the target vehicle;
[0102] The calculation module 202 is used to calculate the real-time operation data to determine the driving intention of the target vehicle;
[0103] A determination module 204 is used to determine a predicted trajectory cluster of the target vehicle based on the historical trajectory data; wherein the predicted trajectory cluster includes a plurality of driving trajectory prediction results of the target vehicle;
[0104] The screening module 206 is used to screen the predicted trajectory clusters based on the driving intention to obtain the driving trajectory prediction result with the highest probability for the target vehicle.
[0105] In the embodiment of the present invention, the real-time operation data includes the driving information and lane change information of the target vehicle, and the driving information includes the lateral coordinate, the longitudinal coordinate, the vehicle speed, and the vehicle acceleration.
[0106] In the embodiment of the present invention, the lane changing information includes the front gap before the lane changing, the front gap after the lane changing, the rear gap after the lane changing, and the distance between the front and rear vehicles after the lane changing.
[0107] In the embodiment of the present invention, when the calculation module 202 calculates the real-time operating data and determines the driving intention of the target vehicle, it is specifically used to perform the following operations: perform fuzzy reasoning on the lane change information to obtain a lane change prediction result for characterizing the feasibility of the lane change of the target vehicle; wherein the lane change prediction result includes the lane change time and the lane change probability; input the driving information and the lane change prediction result into a pre-trained intention recognition model, and output the driving intention; wherein the intention recognition model is obtained by training the initial model using a time recurrent neural network.
[0108] In an embodiment of the present invention, driving information and lane change prediction results are input into a pre-trained intention recognition model, and the driving intention is output, including: calculating the driving information and lane change prediction results to obtain the hidden state and memory element of each data at any time; normalizing the hidden state and the memory element to obtain the probability value of each lane change result of the target vehicle; wherein the lane change results include left lane change, right lane change and straight driving, and the sum of the probabilities of the lane change results is 1; based on the probability value, determining the lane change result with the highest probability as the driving intention.
[0109] In an embodiment of the present invention, when the determination module 204 determines the predicted trajectory cluster of the target vehicle based on the historical trajectory data, it is specifically used to perform the following operations: encode the historical trajectory data to obtain the embedding vector of each intelligent vehicle; based on the embedding vector, establish a spatial grid of the intelligent vehicle at the current moment; wherein the spatial grid includes multiple sub-grids, each sub-grid is composed of a group of hidden state vectors of surrounding vehicles in the target area, and the hidden state vector is obtained by calculating the embedding vector; map the spatial grid to obtain attention features for reflecting the impact of each group of surrounding vehicles on the future operation of the target vehicle; dynamically weight the attention features to obtain a comprehensive vector for characterizing the interaction information of all vehicles; and decode the comprehensive vector to obtain the predicted trajectory cluster of the target vehicle.
[0110] In the embodiment of the present invention, the predicted trajectory cluster is calculated by the following formula:
[0111]
[0112] In the formula, Θ t is the predicted value of the target vehicle’s trajectory position at time t; Ψ is the nonlinear fully connected function based on LeakyReLU; W dec The weights learned by the decoder; is the hidden state vector of the target vehicle at the current moment; z is the comprehensive vector.
[0113] It should be noted that the above embodiment provides a prediction device for the driving trajectory of an intelligent vehicle, and only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the above embodiment provides a prediction device for the driving trajectory of an intelligent vehicle and an embodiment of a prediction method for the driving trajectory of an intelligent vehicle, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0114] The embodiment of the present application also provides a computer device, please refer to Figure 3 The computer device includes a processor and a memory, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement a method for predicting the driving trajectory of an intelligent vehicle provided by the above-mentioned method embodiments.
[0115] An embodiment of the present application also provides a computer-readable storage medium, on which is stored at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement a method for predicting the driving trajectory of an intelligent vehicle provided by the above-mentioned method embodiments.
[0116] An embodiment of the present application also provides a computer program product, which includes a computer program. A processor of a computer device reads the computer program from a computer-readable storage medium, and the processor executes the computer program, so that the computer device executes a method for predicting the driving trajectory of an intelligent vehicle as described in any of the above embodiments.
[0117] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0118] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0119] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0120] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for predicting the driving trajectory of an intelligent vehicle, characterized in that: The method comprises: Acquire real-time operation data and historical trajectory data of smart vehicles; wherein the smart vehicles include target vehicles and surrounding vehicles; Calculating the real-time operation data to determine the driving intention of the target vehicle; Based on the historical trajectory data, determining a predicted trajectory cluster of the target vehicle; wherein the predicted trajectory cluster includes a plurality of driving trajectory prediction results of the target vehicle; The predicted trajectory clusters are screened based on the driving intention to obtain a driving trajectory prediction result with the highest probability for the target vehicle.
2. The method according to claim 1, characterized in that The real-time operation data includes driving information and lane change information of the target vehicle, and the driving information includes lateral coordinates, longitudinal coordinates, vehicle speed, and vehicle acceleration.
3. The method according to claim 2, characterized in that The lane changing information includes a front gap before the lane changing, a front gap after the lane changing, a rear gap after the lane changing, and a distance between front and rear vehicles after the lane changing.
4. The method according to claim 3, characterized in that: The calculating the real-time operation data to determine the driving intention of the target vehicle includes: Performing fuzzy reasoning on the lane change information to obtain a lane change prediction result for characterizing the feasibility of the lane change of the target vehicle; wherein the lane change prediction result includes a lane change time and a lane change probability; The driving information and the lane change prediction result are input into a pre-trained intention recognition model, and the driving intention is output; wherein the intention recognition model is obtained by training an initial model using a long short-term memory network.
5. The method according to claim 4, characterized in that The step of inputting the driving information and the lane change prediction result into a pre-trained intention recognition model and outputting the driving intention comprises: Calculating the driving information and the lane change prediction result to obtain the hidden state and memory element of each data at any time; Normalizing the hidden state and the memory element to obtain a probability value of each lane change result of the target vehicle; wherein the lane change results include left lane change, right lane change and straight driving, and the sum of the probabilities of the lane change results is 1; Based on the probability value, a lane change result with the greatest probability is determined to be the driving intention.
6. The method according to claim 1, characterized in that The step of determining the predicted trajectory cluster of the target vehicle based on the historical trajectory data includes: Encoding the historical trajectory data to obtain an embedding vector for each of the smart vehicles; Based on the embedding vector, a spatial grid of the intelligent vehicle at the current moment is established; wherein the spatial grid includes a plurality of sub-grids, each of which is composed of a group of hidden state vectors of surrounding vehicles in a target area, and the hidden state vector is obtained by calculating the embedding vector; Mapping the spatial grid to obtain attention features reflecting the impact of each group of surrounding vehicles on the future operation of the target vehicle; Dynamically weighting the attention features to obtain a comprehensive vector for representing all vehicle interaction information; The comprehensive vector is decoded to obtain a predicted trajectory cluster of the target vehicle.
7. The method according to claim 6, characterized in that The predicted trajectory cluster is calculated by the following formula: In the formula, Θ t is the predicted value of the target vehicle’s trajectory position at time t; Ψ is a nonlinear fully connected function based on LeakyReLU; W dec The weights learned by the decoder; is the hidden state vector of the target vehicle at the current moment; z is the comprehensive vector.
8. A device for predicting the driving trajectory of an intelligent vehicle, characterized in that: The device comprises: An acquisition module, used to acquire real-time operation data and historical trajectory data of the intelligent vehicle; wherein the intelligent vehicle includes a target vehicle and surrounding vehicles, and the real-time operation data includes lane change information and driving information of the target vehicle; A calculation module, used to calculate the real-time operation data to determine the driving intention of the target vehicle; A determination module, configured to determine a predicted trajectory cluster of the target vehicle based on the historical trajectory data; wherein the predicted trajectory cluster includes a plurality of driving trajectory prediction results of the target vehicle; The screening module is used to screen the predicted trajectory cluster based on the driving intention to obtain the driving trajectory prediction result with the highest probability for the target vehicle.
9. A computer device, characterized in that: The computer device includes a memory and a processor, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to implement the steps of any one of the methods described in claims 1-7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Driving behavior prediction method and device, electronic equipment and storage medium
CN119636759A
Vehicle-road cloud collaborative mixed traffic flow optimization method, system and device
CN120853378A
Obstacle prediction trajectory processing method and electronic equipment
CN122062724A
Obstacle predicted trajectory processing method and electronic device
CN122062724B
