Trajectory planning method, device, equipment and vehicle for autonomous driving vehicle

By adopting hierarchical game strategies and Monte Carlo tree search algorithms in autonomous vehicles, the problem of low efficiency of trajectory planning in high-density trajectory sampling data and multi-interacting traffic participant scenarios is solved, and efficient and reliable trajectory planning is achieved to ensure ensure the safe and efficient driving of autonomous vehicles.

CN118443050BActive Publication Date: 2024-09-17NEOLIX TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410896838.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-09-17
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

In scenarios with high-density trajectory sampling data and multiple interactive traffic participants, existing self-driving vehicles have high computing power requirements for driving trajectory planning, but self-driving vehicles have low computing power, resulting in poor solution efficiency and unable to ensure driving reliability.

Method used

A trajectory planning method based on hierarchical game strategies and search algorithms is adopted. By obtaining the driving data of vehicles and agents, game processing is performed to obtain the target response trajectory, and the Monte Carlo tree search algorithm is used to optimize trajectory planning to improve solution speed and reliability. .

Benefits of technology

In multi-interacting agent scenarios, the efficiency and reliability of autonomous vehicle trajectory planning are improved, ensuring a safe, smooth and efficient driving process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118443050B
    Figure CN118443050B
Patent Text Reader

Abstract

The present application discloses a trajectory planning method, device, equipment and vehicle for an autonomous driving vehicle, and belongs to the field of computer technology. The method includes: obtaining the driving data of the vehicle and the driving data of at least one intelligent agent; at least one of the intelligent agents is located in the driving environment of the vehicle and interacts with the vehicle; for the vehicle and each intelligent agent respectively, the following operations are performed: based on a preset hierarchical game strategy, a pre-given intelligent agent infers a given reasoning level of the vehicle, the driving data of the vehicle, and the driving data of the intelligent agent, and the vehicle and the intelligent agent are subjected to game processing to obtain the target response trajectory of the intelligent agent; based on the driving data of the vehicle and the target response trajectory of each intelligent agent, the driving trajectory of the vehicle is searched and processed using a preset search algorithm to obtain the planned trajectory of the vehicle. The present application optimizes the reliability and efficiency of vehicle driving trajectory planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, specifically to technical fields such as intelligent transportation and autonomous driving, and in particular to a trajectory planning method, device, equipment and vehicle for an autonomous driving vehicle. Background Art

[0002] In the event of a space-time conflict between an autonomous vehicle and other traffic participants, the autonomous vehicle should accurately predict the behavior of these traffic participants based on the surrounding environment, make corresponding driving decisions as quickly as possible, and plan a safe and reliable drivable trajectory.

[0003] At present, the vehicle driving trajectory planning scheme in related technologies can make reasonable driving decisions and plan the vehicle's driving trajectory by using relevant algorithms based on game theory. However, in actual applications, when faced with high-density trajectory sampling data and multiple interactive traffic participants, the use of related technical solutions requires high computing power, but the computing power of ordinary autonomous driving vehicles is low, resulting in poor solution efficiency and unable to effectively guarantee the reliability of autonomous driving vehicles. Summary of the invention

[0004] The present application provides a trajectory planning method, device, equipment and vehicle for an autonomous driving vehicle, which ensures the reliability and efficiency of trajectory planning for the autonomous driving vehicle. The technical solution is as follows:

[0005] In a first aspect, a trajectory planning method for an autonomous driving vehicle is provided, the method comprising:

[0006] Acquiring driving data of a vehicle and driving data of at least one intelligent agent; at least one of the intelligent agents is located in a driving environment of the vehicle and interacts with the vehicle;

[0007] For the vehicle and each agent respectively, the following operations are performed: based on a preset hierarchical game strategy, a pre-given agent inferring a given reasoning level of the vehicle, the driving data of the vehicle, and the driving data of the agent, the vehicle and the agent are subjected to game processing to obtain a target response trajectory of the agent;

[0008] Based on the driving data of the vehicle and the target response trajectory of each intelligent agent, the driving trajectory of the vehicle is searched and processed using a preset search algorithm to obtain the planned trajectory of the vehicle.

[0009] In a possible implementation, the inference of the given reasoning level of the vehicle, the driving data of the vehicle, and the driving data of the agent based on a preset hierarchical game strategy and a pre-given agent, and performing game processing on the vehicle and the agent to obtain a target response trajectory of the agent include:

[0010] Based on the driving data of the vehicle and the driving data of the agent, respectively sampling and processing the driving actions of the vehicle and the driving actions of the agent to obtain an action set of the vehicle and an action set of the agent;

[0011] Based on the action set of the vehicle, the action set of the agent, and a given reasoning level of the vehicle inferred by the pre-given agent, the vehicle and the agent are gamed using a preset hierarchical game strategy to obtain a target response trajectory of the agent.

[0012] In a possible implementation, the inferring a given reasoning level of the vehicle based on the action set of the vehicle, the action set of the agent, and a predetermined agent, and performing game processing on the vehicle and the agent using a preset hierarchical game strategy to obtain a target response trajectory of the agent, including:

[0013] Inferring a given reasoning level of the vehicle based on a pre-given agent, and performing game processing on the vehicle and the agent to determine at least one reasoning interaction situation between the vehicle and the agent corresponding to the given reasoning level;

[0014] Based on the action set of the vehicle, the action set of the agent, and at least one reasoning interaction between the vehicle and the agent, using the preset search algorithm, obtaining a response trajectory of the agent corresponding to the given reasoning level;

[0015] The response trajectory of the intelligent agent corresponding to the given reasoning level is verified to obtain the target response trajectory of the intelligent agent.

[0016] In a possible implementation, the step of obtaining the response trajectory of the agent corresponding to the given reasoning level by using the preset search algorithm based on the action set of the vehicle, the action set of the agent, and at least one reasoning interaction between the vehicle and the agent includes:

[0017] Inferring an initial reasoning trajectory corresponding to the given reasoning level based on at least one reasoning interaction between the vehicle and the agent;

[0018] Based on the action set of the vehicle, the action set of the agent, at least one reasoning interaction situation of the vehicle and the agent, and the initial reasoning trajectory, using the preset search algorithm, search the reasoning trajectory in each reasoning interaction situation;

[0019] Based on the result of the search process, the response trajectory of the intelligent agent corresponding to the given reasoning level is obtained.

[0020] In a possible implementation, the verifying process of the response trajectory of the agent corresponding to the given reasoning level to obtain the target response trajectory of the agent includes:

[0021] Obtaining a belief value corresponding to the given reasoning level;

[0022] Based on the belief value corresponding to the given reasoning level, using a preset verification algorithm, verifying the response trajectory of the agent corresponding to the given reasoning level;

[0023] Based on the result of the verification process, the target response trajectory of the intelligent agent is obtained.

[0024] In a possible implementation, obtaining the belief value corresponding to the given reasoning level includes:

[0025] Obtain the belief value corresponding to a given reasoning level in the previous planning cycle of the current planning cycle and the response trajectory of the agent corresponding to a given reasoning level;

[0026] Based on the driving data of the intelligent agent in the current planning cycle and the response trajectory of the intelligent agent corresponding to the given reasoning level in the previous planning cycle, the belief value of the given reasoning level in the previous planning cycle is updated to obtain the belief value corresponding to the given reasoning level.

[0027] In a possible implementation, based on the driving data of the vehicle and the target response trajectory of each agent, the preset search algorithm is used to search the driving trajectory of the vehicle to obtain the planned trajectory of the vehicle, including:

[0028] Based on the driving data of the vehicle, obtaining an action set of the vehicle;

[0029] Based on the target response trajectory of each agent and the action set of the vehicle, the preset search algorithm is used to search the driving trajectory of the vehicle to obtain a reward value of the action set of the vehicle;

[0030] In response to the reward value satisfying a preset reward condition, a planned trajectory of the vehicle is obtained.

[0031] In a second aspect, a trajectory planning device for an autonomous driving vehicle is provided, the device comprising:

[0032] An acquisition unit, configured to acquire driving data of a vehicle and driving data of at least one intelligent agent; at least one of the intelligent agents is located in a driving environment of the vehicle and interacts with the vehicle;

[0033] A game unit is used to perform the following operations for the vehicle and each intelligent agent respectively: based on a preset hierarchical game strategy, a pre-given intelligent agent inferring a given reasoning level of the vehicle, the driving data of the vehicle, and the driving data of the intelligent agent, the vehicle and the intelligent agent are gamed to obtain a target response trajectory of the intelligent agent;

[0034] The planning unit is used to search and process the driving trajectory of the vehicle based on the driving data of the vehicle and the target response trajectory of each intelligent agent using the preset search algorithm to obtain the planned trajectory of the vehicle.

[0035] In a third aspect, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the method of the above-mentioned aspect and any possible implementation manner.

[0036] In a fourth aspect, an electronic device is provided, including:

[0037] at least one processor; and

[0038] a memory communicatively connected to the at least one processor; wherein,

[0039] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any possible implementation manner and the aspects described above.

[0040] According to a fifth aspect, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the above-mentioned aspects and any possible implementation method.

[0041] In a sixth aspect, an autonomous driving vehicle is provided, comprising the electronic device as described above.

[0042] The beneficial effects of the technical solution provided by this application include at least:

[0043] It can be seen from the above technical scheme that the embodiment of the present application can obtain the driving data of the vehicle and the driving data of at least one intelligent agent; at least one of the intelligent agents is located in the driving environment of the vehicle and interacts with the vehicle, and then the vehicle and each intelligent agent can execute a preset hierarchical game strategy, a pre-given intelligent agent to infer the given reasoning level of the vehicle, the driving data of the vehicle, the driving data of the agent, and perform game processing on the vehicle and the agent to obtain the target response trajectory of the agent, so that the driving trajectory of the vehicle can be obtained based on the driving data of the vehicle and the target response trajectory of each intelligent agent using the preset search algorithm. A search process is performed to obtain the planned trajectory of the vehicle. First, for each pair of game combinations of vehicles and agents, a preset hierarchical game strategy is used to determine the target response trajectory of each agent for a given reasoning level of a pre-given vehicle, and then the preset search algorithm is used to solve the planned trajectory of the vehicle corresponding to the target response trajectory of multiple agents. This can achieve the effectiveness of trajectory planning of autonomous driving vehicles in multiple interactive agent scenarios, improve the solution speed of trajectory planning of autonomous driving vehicles, and ensure the reliability of vehicle driving trajectory planning, thereby ensuring the safety, stability and efficiency of the driving process of autonomous driving vehicles in multiple interactive agent scenarios.

[0044] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0046] Figure 1 It is a flowchart of a trajectory planning method for an autonomous driving vehicle provided by an embodiment of the present application;

[0047] Figure 2 is a flow chart of a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application;

[0048] Figure 3 is a schematic diagram of an application scenario of a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application;

[0049] Figure 4is a schematic diagram of a one-to-one search of MCTs in a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application;

[0050] Figure 5 is a schematic diagram of a separation zone of a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application;

[0051] Figure 6 is a schematic diagram of a cross-validation of a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application;

[0052] Figure 7 is a schematic diagram of a one-to-many MCTs of a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application;

[0053] Figure 8 A structural block diagram of a trajectory planning device for an autonomous driving vehicle provided by an embodiment of the present application is shown;

[0054] Fig. 9 It is a block diagram of an electronic device used to implement the trajectory planning method of the autonomous driving vehicle in the embodiment of the present application. DETAILED DESCRIPTION

[0055] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0056] Obviously, the described embodiments are only part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0057] It should be noted that the terminal devices involved in the embodiments of the present application may include but are not limited to mobile phones, personal digital assistants (PDAs), wireless handheld devices, tablet computers and other smart devices; display devices may include but are not limited to personal computers, televisions and other devices with display functions.

[0058] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0059] Please refer to Figure 1 , which shows a flow chart of a trajectory planning method for an autonomous driving vehicle provided by an embodiment of the present application. The trajectory planning method for an autonomous driving vehicle may specifically include:

[0060] Step 101: Acquire driving data of a vehicle and driving data of at least one intelligent agent; at least one of the intelligent agents is located in the driving environment of the vehicle and interacts with the vehicle.

[0061] Step 102, for the vehicle and each intelligent agent respectively, perform the following operations: based on a preset hierarchical game strategy, a pre-given intelligent agent infers a given reasoning level of the vehicle, the driving data of the vehicle, and the driving data of the intelligent agent, perform game processing on the vehicle and the intelligent agent to obtain a target response trajectory of the intelligent agent.

[0062] Step 103: Based on the driving data of the vehicle and the target response trajectory of each intelligent agent, a preset search algorithm is used to search and process the driving trajectory of the vehicle to obtain the planned trajectory of the vehicle.

[0063] It should be noted that the vehicle may refer to the vehicle itself, and the number of intelligent agents that can interact with the vehicle in the driving environment of the vehicle may be multiple. The intelligent agents may include but are not limited to autonomous vehicles, unmanned vehicles, low-speed autonomous vehicles, and other intelligent traffic participants.

[0064] It should be noted that the driving data of the vehicle may include but is not limited to posture data, yaw rate data, speed data and acceleration data. The posture data of the vehicle may include but is not limited to position data and yaw angle data. The driving data of the agent may include but is not limited to posture data, yaw rate data, speed data and acceleration data. The posture data of the agent may include but is not limited to position data and yaw angle data.

[0065] It should be noted that part or all of the execution subject of steps 101 to 103 may be an application located in the local terminal, or may also be a functional unit such as a plug-in or software development kit (SDK) set in the application located in the local terminal, or may also be a processing engine located in a network-side server, or may also be a distributed system located on the network side, for example, a processing engine or distributed system in an autonomous driving platform on the network side, etc. This embodiment does not specifically limit this.

[0066] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may also be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.

[0067] In this way, by first using a preset hierarchical game strategy for each pair of game combinations of vehicles and agents, the target response trajectory of each agent for a given vehicle at a given reasoning level can be determined, and then using the preset search algorithm to solve the planned trajectory of the vehicle corresponding to the target response trajectory of multiple agents, the effectiveness of the trajectory planning of the autonomous driving vehicle in the scenario of multiple interactive agents can be achieved, and the reliability of the vehicle driving trajectory planning can be guaranteed while improving the solution speed of the trajectory planning of the autonomous driving vehicle, thereby ensuring the safety, stability and efficiency of the driving process of the autonomous driving vehicle in the scenario of multiple interactive agents. Optionally, in a possible implementation of this embodiment, in step 102, first, based on the driving data of the vehicle and the driving data of the agent, the driving actions of the vehicle and the driving actions of the agent can be sampled and processed respectively to obtain the action set of the vehicle and the action set of the agent. Secondly, based on the action set of the vehicle, the action set of the agent, and the given reasoning level of the vehicle can be inferred by the pre-given agent, the vehicle and the agent can be gamed using the preset hierarchical game strategy to obtain the target response trajectory of the agent.

[0068] In this implementation, the number of given reasoning levels of the vehicle inferred by the pre-given intelligent agent may be multiple. Exemplarily, the preset hierarchical game strategy includes three reasoning levels, and the given reasoning level may include level 0, level 1, and level 2. The corresponding reasoning depth from level 0 to level 1 to level 2 is from small to large. For example, the reasoning depth of the intelligent agent or self-vehicle at the level 2 reasoning level is large and the intelligence level is high; the reasoning depth of the intelligent agent or self-vehicle at the level 0 reasoning level is small, the intelligence level is low, and aggressive driving actions will be taken.

[0069] In a specific implementation process of this implementation method, first, a given reasoning level of the vehicle can be inferred based on a pre-given intelligent agent, and the vehicle and the intelligent agent can be gamed to determine at least one reasoning interaction between the vehicle and the intelligent agent corresponding to the given reasoning level. Secondly, based on the action set of the vehicle, the action set of the intelligent agent, and at least one reasoning interaction between the vehicle and the intelligent agent, the response trajectory of the intelligent agent corresponding to the given reasoning level can be obtained using the preset search algorithm. Thirdly, the response trajectory of the intelligent agent corresponding to the given reasoning level can be verified to obtain the target response trajectory of the intelligent agent.

[0070] In this specific implementation process, multiple reasoning interaction situations of the vehicle and the agent corresponding to a given reasoning level can represent the reasoning level of both parties obtained by inferring the interaction between the vehicle and the agent based on the given reasoning level.

[0071] Optionally, given the reasoning level of level 0, the reasoning interaction situations between the vehicle and the agent include the situation where the agent infers that the vehicle's reasoning level is level 0, the situation where the vehicle can infer that the agent is stationary when the agent infers that the vehicle's reasoning level is level 0, and the situation where the agent is stationary.

[0072] Here, when the agent infers that the vehicle's reasoning level is level 0, the vehicle's reasoning level is level 0. The vehicle with a reasoning level of 0 can infer that the agent is stationary. When the agent is stationary, the initial inference trajectory of the agent can be determined, that is, the initial inference trajectory of the agent can be a trajectory with a position point and a speed of zero based on the agent's driving data.

[0073] Optionally, given the reasoning level is level 1, the reasoning interaction situations between the vehicle and the agent include the situation where the agent infers that the vehicle's reasoning level is level 1, the situation where the agent infers that the vehicle's reasoning level is level 1, the situation where the vehicle can infer that the agent is level 0, the situation where the vehicle infers that the agent is level 0, the situation where the agent can infer that the vehicle is stationary, and the situation where the vehicle is stationary.

[0074] Here, when the agent infers that the vehicle's reasoning level is level 1, the vehicle's reasoning level is level 1. The vehicle with reasoning level 1 can infer that the agent is level 0. When the agent is level 0, the agent can infer that the vehicle is stationary. When the vehicle is stationary, the initial inferred trajectory of the vehicle can be determined, that is, the initial inferred trajectory of the vehicle can be a trajectory with a position point and a speed of zero based on the vehicle's driving data.

[0075] Optionally, given that the reasoning level is level 2, the reasoning interaction situations between the vehicle and the agent include the situation where the agent infers that the vehicle's reasoning level is level 2, that is, the situation where the vehicle's reasoning level is level 2, the situation where the agent infers that the vehicle's reasoning level is level 2, the situation where the vehicle's reasoning level is level 2, and the vehicle can infer that the agent is level 1, the situation where the vehicle infers that the agent is level 1, the agent's reasoning level is level 1, and the agent can infer that the vehicle is level 0, the situation where the agent infers that the vehicle is level 0, the vehicle's reasoning level is level 0, and the vehicle can infer that the agent is stationary, and the situation where the agent is stationary.

[0076] Here, when the agent infers that the vehicle's reasoning level is level 2, the vehicle's reasoning level is level 2. The vehicle with reasoning level 2 can infer that the agent is level 1. When the agent is level 1, the level 1 agent can infer that the vehicle is level 0. When the vehicle is level 0, the level 0 vehicle can infer that the agent is stationary. When the agent is stationary, the initial inference trajectory of the agent can be determined, that is, the initial inference trajectory of the agent can be a trajectory with a position point and a speed of zero based on the driving data of the agent.

[0077] One situation of the specific implementation process is that, first, the initial reasoning trajectory corresponding to the given reasoning level can be inferred based on at least one reasoning interaction between the vehicle and the agent. Secondly, based on the action set of the vehicle, the action set of the agent, at least one reasoning interaction between the vehicle and the agent, and the initial reasoning trajectory, the preset search algorithm can be used to search and process the reasoning trajectory in each reasoning interaction situation. Thirdly, based on the result of the search process, the response trajectory of the agent corresponding to the given reasoning level can be obtained.

[0078] Here, the initial inference trajectory may be a trajectory when the vehicle or the agent is inferred to be stationary, that is, a trajectory corresponding to the vehicle or the agent being stationary. The initial inference trajectory when the vehicle or the agent is stationary may be determined based on the driving data of the vehicle or the agent in the current planning frame.

[0079] For example, the initial inference trajectory of the vehicle may include but is not limited to the current position data and speed data of the vehicle in the current planning frame, etc. The initial inference trajectory of the agent may include but is not limited to the current position data and speed data of the agent in the current planning frame, etc.

[0080] Exemplarily, first, when the given reasoning level is level 0, that is, when the agent infers the vehicle's reasoning level to be level 0, the vehicle can infer that the agent is stationary. Secondly, when the agent is stationary, the initial reasoning trajectory of the agent being stationary can be obtained. Thirdly, based on the vehicle's action set, the agent's action set, and the initial reasoning trajectory of the agent being stationary, a preset search algorithm is used to search for the vehicle's reasoning trajectory of the vehicle that infers the agent to be stationary. Thirdly, based on the vehicle's action set, the agent's action set, and the vehicle's reasoning trajectory of the vehicle that infers the agent to be stationary, a preset search algorithm is used to search for the response trajectory of the agent that infers the vehicle's reasoning level to be level 0, that is, the response trajectory of the agent given a reasoning level of 0.

[0081] Exemplarily, first, when the given reasoning level is level 1, that is, when the agent infers that the vehicle's reasoning level is level 1, the vehicle can infer that the agent's reasoning level is level 0; when the vehicle infers that the agent's reasoning level is level 0, the agent can infer that the vehicle is stationary; when the agent infers that the vehicle is stationary, the vehicle can be stationary. Secondly, when the vehicle is stationary, the initial reasoning trajectory of the vehicle being stationary can be obtained. Thirdly, based on the vehicle's action set, the agent's action set, and the initial reasoning trajectory of the vehicle being stationary, a preset search algorithm is used to search for the reasoning trajectory of the agent that infers the vehicle to be stationary. Thirdly, based on the vehicle's action set, the agent's action set, and the agent's reasoning trajectory that the vehicle infers to be stationary, a preset search algorithm is used to search for the reasoning trajectory of the vehicle that the vehicle infers that the agent's reasoning level is level 0. Thirdly, based on the action set of the vehicle, the action set of the agent, and the reasoning trajectory of the vehicle whose reasoning level is 0, the preset search algorithm is used to search for the reasoning trajectory of the agent whose reasoning level is 1, that is, the response trajectory of the agent given the reasoning level 1.

[0082] Exemplarily, first, given the reasoning level of 2, that is, when the agent infers the reasoning level of the vehicle to be 2, the vehicle can infer the reasoning level of the agent to be 1; when the vehicle infers the reasoning level of the agent to be 1, the agent can infer the reasoning level of the vehicle to be 0; when the agent infers the reasoning level of the vehicle to be 0, the vehicle can infer that the agent is stationary; when the vehicle infers that the agent is stationary, the agent can be stationary. Secondly, when the agent is stationary, the initial reasoning trajectory of the agent with the agent being stationary can be obtained. Thirdly, based on the action set of the vehicle, the action set of the agent, and the initial reasoning trajectory of the agent with the agent being stationary, a preset search algorithm is used to search for the reasoning trajectory of the vehicle with the agent inferring that the agent is a stationary vehicle. Thirdly, based on the action set of the vehicle, the action set of the agent, and the reasoning trajectory of the vehicle with the agent inferring that the agent is a stationary vehicle, a preset search algorithm is used to search for the reasoning trajectory of the agent with the agent inferring that the vehicle has a reasoning level of 0. Thirdly, based on the action set of the vehicle, the action set of the agent, and the reasoning trajectory of the agent whose reasoning level is 0, the preset search algorithm is used to search for the reasoning trajectory of the vehicle whose reasoning level is 1. Thirdly, based on the action set of the vehicle, the action set of the agent, and the reasoning trajectory of the vehicle whose reasoning level is 1, the preset search algorithm is used to search for the reasoning trajectory of the vehicle whose reasoning level is 2, that is, the response trajectory of the agent whose reasoning level is 2.

[0083] Preferably, the preset search algorithm may include a Monte Carlo tree search (MCTS) algorithm.

[0084] In this way, the MCTs algorithm can be used to calculate the reasoning trajectory in each game interaction situation to obtain the final response trajectory of the intelligent agent, which can further improve the solution speed of the trajectory planning of the autonomous driving vehicle.

[0085] Another situation of the specific implementation process is that, first, the belief value corresponding to the given reasoning level can be obtained. Secondly, based on the belief value corresponding to the given reasoning level, a preset verification algorithm can be used to verify the response trajectory of the agent corresponding to the given reasoning level. Thirdly, based on the result of the verification process, the target response trajectory of the agent is obtained.

[0086] Preferably, the preset verification algorithm may include a cross-validation algorithm. The reward value of the cross-validation may be calculated based on the reward function of the cross-validation algorithm. The reward function of the cross-validation algorithm may be determined based on the safety reward function, efficiency reward function and comfort reward function of the cross-validation algorithm.

[0087] Here, preferably, the belief value corresponding to a given reasoning level in the previous planning cycle of the current planning cycle and the response trajectory of the intelligent agent corresponding to the given reasoning level can be obtained, and then based on the driving data of the intelligent agent in the current planning cycle and the response trajectory of the intelligent agent corresponding to the given reasoning level in the previous planning cycle, the belief value of the given reasoning level in the previous planning cycle can be updated to obtain the belief value corresponding to the given reasoning level.

[0088] Exemplarily, the belief values ​​corresponding to a given reasoning level in the previous planning cycle of the current planning cycle may include a belief value of 1 for level 0, a belief value of 0 for level 1, and a belief value of 0 for level 2. The updated belief values ​​of a given reasoning level may include a belief value of 0 for level 0, a belief value of 0.2 for level 1, and a belief value of 0.6 for level 2.

[0089] In this way, the belief value corresponding to a given reasoning level can be updated in real time during each planning cycle of the vehicle trajectory, which can further ensure the reliability of vehicle trajectory planning, thereby ensuring the safety, stability and efficiency of the autonomous driving vehicle driving process in multiple interactive intelligent agent scenarios.

[0090] Moreover, by defining belief values ​​for the agent, the data structure can be simplified, thereby further reducing the complexity of trajectory solving.

[0091] Optionally, in a possible implementation of this embodiment, in step 103, first, the action set of the vehicle can be obtained based on the driving data of the vehicle. Secondly, based on the target response trajectory of each agent and the action set of the vehicle, the driving trajectory of the vehicle can be searched and processed using the preset search algorithm to obtain the reward value of the action set of the vehicle. Thirdly, in response to the reward value satisfying the preset reward condition, the planned trajectory of the vehicle can be obtained.

[0092] In this implementation, the preset search algorithm may include a heuristic search algorithm such as the MCTS algorithm. The reward value may be calculated based on a reward function of the preset search algorithm. The reward function of the preset search algorithm may include a forward deduction reward function. The forward deduction reward function may be determined based on a safety reward function, an efficiency reward function, and a comfort reward function.

[0093] It should be noted that the specific implementation process provided in this implementation method can be combined with the various specific implementation processes provided in the aforementioned implementation methods to implement the trajectory planning method of the autonomous driving vehicle of this embodiment. For a detailed description, please refer to the relevant content in the aforementioned implementation method, which will not be repeated here.

[0094] In order to better understand the method of the embodiment of the present application, the method of the embodiment of the present application is described below in conjunction with the accompanying drawings and specific application scenarios.

[0095] Figure 2 is a flow chart of a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application, such as Figure 2 shown.

[0096] Step 201: Acquire driving data of a vehicle and driving data of at least one intelligent agent.

[0097] In an embodiment, a vehicle, i.e., an ego driving vehicle executing the method, may be referred to as an ego. An agent may be other obstacles in the driving environment of the ego that can interact with the ego. The number of agents may be multiple.

[0098] Preferably, the driving data of the vehicle may include but is not limited to posture data, yaw rate data, speed data and acceleration data. The posture data of the vehicle may include but is not limited to position data and yaw angle data. The driving data of the agent may include but is not limited to posture data, yaw rate data, speed data and acceleration data. The posture data of the agent may include but is not limited to position data and yaw angle data.

[0099] In an embodiment, Figure 3 is a schematic diagram of an application scenario of a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application, such as Figure 3 As shown, first, the vehicle can form a set of game combinations with each agent. Secondly, by using the preset hierarchical game strategy, each set of game combinations is processed to obtain the target response trajectories of multiple agents, that is, a level K game is performed on each set of ego-agent interactions to obtain the level K target response trajectory. Thirdly, based on the target response trajectories of multiple agents and the action set of the vehicle, the preset MCTs algorithm is used to search for the optimal vehicle driving trajectory, and the optimal vehicle driving trajectory can be used as the planning trajectory of the vehicle. Here, the preset hierarchical game strategy can be a K-level game strategy.

[0100] Here, the target response trajectory of each intelligent agent can be obtained by executing steps 202 to 206 for the vehicle and each intelligent agent respectively.

[0101] Step 202: Based on the driving data of the vehicle and the driving data of the agent, the driving actions of the vehicle and the driving actions of the agent are sampled and processed respectively to obtain an action set of the vehicle and an action set of the agent.

[0102] In this embodiment, on the one hand, a sampling algorithm based on multi-branch tree mapping can be used to sample and process the driving actions of the vehicle according to the driving data of the vehicle to obtain a set of vehicle actions.

[0103] On the other hand, a sampling algorithm based on multi-branch tree mapping can also be used to sample the driving actions of the intelligent agent according to the driving data of the intelligent agent to obtain the action set of the intelligent agent.

[0104] For example, taking the sampling process of the vehicle's driving action as an example, first, the vehicle kinematics can be represented by a discrete time model, as shown in formula (1):

[0105] Where t is the discrete time, (x, y) is the global position of the vehicle, v is the vehicle speed, is the vehicle's yaw angle, a is the vehicle's acceleration, ω is the vehicle's yaw velocity, is the time step.

[0106] Here, the vehicle’s action set can consist of action pairs (a, ω), and the sampled actions can include:

[0107] “Lane keeping”: (a, ω) = (0, 0); “Turn left”: (a, ω) = (0, π / 4); “Turn right”: (a, ω) = (0, -π / 4); “Accelerate”: (a, ω) = (2.5, 0); “Decelerate”: (a, ω) = (-2.5, 0); “Emergency brake”: (a, ω) = (-5, 0).

[0108] Secondly, based on the sampled action set and the preset vehicle dynamics, the vehicle driving data corresponding to each time frame can be calculated, that is, the inferred vehicle state information.

[0109] Step 203: Based on a given reasoning level of the vehicle inferred by the pre-given agent, the vehicle and the agent are subjected to game processing to determine at least one reasoning interaction situation between the vehicle and the agent corresponding to the given reasoning level.

[0110] In this embodiment, the preset hierarchical game strategy may be a K-level game strategy. The reasoning level is determined based on the K-level game strategy. The reasoning level may represent the reasoning depth of the agent or vehicle. The number of reasoning levels may be multiple.

[0111] Preferably, the reasoning levels of the two parties in the game may include level 0, level 1, and level 2. Here, the given reasoning level of the vehicle inferred by the pre-given agent may be the reasoning level to which the pre-given agent believes the vehicle belongs. The reasoning depth of level 0 to level 1 to level 2 may be from small to large. Level 0 reasoning level may represent the lowest reasoning depth, and the agent or vehicle at level 0 reasoning level may be an aggressive agent or vehicle, and the agent or vehicle at level 0 reasoning level may predict that other agents interacting with it are static obstacles.

[0112] In this embodiment, multiple reasoning interaction situations of the vehicle and the agent corresponding to a given reasoning level may represent the reasoning level of both parties inferred by the interaction between the vehicle and the agent based on the given reasoning level.

[0113] Optionally, when the given reasoning level is level 0, the reasoning interaction between the vehicle and the agent includes a case where the agent infers that the vehicle's reasoning level is level 0, and a case where the vehicle infers that the agent is stationary when the agent infers that the vehicle's reasoning level is level 0.

[0114] Optionally, given the reasoning level is level 1, the reasoning interaction situations between the vehicle and the agent include the case where the agent infers that the vehicle's reasoning level is level 1, the case where the agent infers that the vehicle's reasoning level is level 1, and the case where the vehicle infers that the agent is level 0, and the case where the vehicle infers that the agent is level 0, and the agent infers that the vehicle is stationary.

[0115] Optionally, given the reasoning level is level 2, the reasoning interaction situations between the vehicle and the agent include the case where the agent infers that the vehicle's reasoning level is level 2, the case where the agent infers that the vehicle's reasoning level is level 2, the case where the vehicle infers that the agent is level 1, the case where the vehicle infers that the agent is level 1, and the case where the agent infers that the vehicle is level 0, and the case where the agent infers that the vehicle is level 0, and the vehicle infers that the agent is stationary.

[0116] Step 204: Based on at least one reasoning interaction between the vehicle and the agent, an initial reasoning trajectory corresponding to a given reasoning level is inferred.

[0117] In this embodiment, the initial reasoning trajectory may be a trajectory when the vehicle or the agent is inferred to be stationary. The trajectory when the vehicle or the agent is stationary may be determined based on the driving data of the vehicle or the agent in the current planning frame.

[0118] It is understandable that, since the vehicle or agent is stationary, the trajectory points are the same.

[0119] Step 205: Based on the action set of the vehicle, the action set of the agent, at least one reasoning interaction between the vehicle and the agent, and the initial reasoning trajectory, a preset search algorithm is used to search and process the reasoning trajectory in each reasoning interaction situation to obtain the response trajectory of the agent corresponding to a given reasoning level.

[0120] In this embodiment, first, based on the action set of the vehicle, the action set of the agent, and the initial reasoning trajectory, a preset search algorithm can be used to search and process the reasoning trajectory in each reasoning interaction case to obtain the reasoning trajectory in each reasoning interaction case. Thirdly, based on the reasoning trajectory in each reasoning interaction case and the reasoning interaction case corresponding to the given reasoning level, the reasoning trajectory of the agent corresponding to the given reasoning level can be obtained, so that the reasoning trajectory of the agent corresponding to the given reasoning level can be used as the response trajectory of the agent.

[0121] Exemplarily, first, when the given reasoning level is level 0, that is, when the agent infers the vehicle's reasoning level to be level 0, the vehicle can infer that the agent is stationary. Secondly, when the agent is stationary, the initial reasoning trajectory of the agent being stationary can be obtained. Thirdly, based on the vehicle's driving data, the agent's driving data, the vehicle's action set, the agent's action set, and the initial reasoning trajectory of the agent being stationary, a preset search algorithm is used to search for the vehicle's reasoning trajectory of the vehicle that infers the agent to be stationary. Thirdly, based on the vehicle's driving data, the agent's driving data, the vehicle's action set, the agent's action set, and the vehicle's reasoning trajectory of the vehicle that infers the agent to be stationary, a preset search algorithm is used to search for the response trajectory of the agent whose reasoning level of the vehicle is level 0, that is, the response trajectory of the agent whose given reasoning level is level 0.

[0122] Exemplarily, first, when the given reasoning level is level 1, that is, when the agent infers that the vehicle's reasoning level is level 1, the vehicle can infer that the agent's reasoning level is level 0; when the vehicle infers that the agent's reasoning level is level 0, the agent can infer that the vehicle is stationary; when the agent infers that the vehicle is stationary, the vehicle can be stationary. Secondly, when the vehicle is stationary, the initial reasoning trajectory of the vehicle being stationary can be obtained. Thirdly, based on the vehicle's driving data, the agent's driving data, the vehicle's action set, the agent's action set, and the initial reasoning trajectory of the vehicle being stationary, a preset search algorithm is used to search for the agent's reasoning trajectory of the vehicle inferring that the vehicle is stationary. Thirdly, based on the vehicle's driving data, the agent's driving data, the vehicle's action set, the agent's action set, and the agent's reasoning trajectory of the vehicle inferring that the vehicle is stationary, a preset search algorithm is used to search for the vehicle's reasoning trajectory of the vehicle inferring that the agent's reasoning level is level 0. Again, based on the vehicle's driving data, the agent's driving data, the vehicle's action set, the agent's action set, and the vehicle's inference trajectory of the vehicle with a reasoning level of 0, a preset search algorithm is used to search for the agent's inference trajectory of the vehicle with a reasoning level of 1, that is, the response trajectory of the agent given a reasoning level of 1.

[0123] Exemplarily, first, given the reasoning level of 2, that is, when the agent infers the reasoning level of the vehicle to be 2, the vehicle can infer the reasoning level of the agent to be 1; when the vehicle infers the reasoning level of the agent to be 1, the agent can infer the reasoning level of the vehicle to be 0; when the agent infers the reasoning level of the vehicle to be 0, the vehicle can infer that the agent is stationary; when the vehicle infers that the agent is stationary, the agent can be stationary. Secondly, when the agent is stationary, the initial reasoning trajectory of the agent with the agent being stationary can be obtained. Thirdly, based on the vehicle's driving data, the agent's driving data, the vehicle's action set, the agent's action set, and the initial reasoning trajectory of the agent with the agent being stationary, a preset search algorithm is used to search for the reasoning trajectory of the vehicle with the agent inferring that the agent is a stationary vehicle. Thirdly, based on the vehicle's driving data, the agent's driving data, the vehicle's action set, the agent's action set, and the vehicle infers the reasoning trajectory of the vehicle with the agent inferring that the agent is a stationary vehicle, a preset search algorithm is used to search for the reasoning trajectory of the agent with the agent inferring that the vehicle's reasoning level is 0. Thirdly, based on the driving data of the vehicle, the driving data of the agent, the action set of the vehicle, the action set of the agent, and the inference trajectory of the agent whose reasoning level is 0, the preset search algorithm is used to search for the inference trajectory of the vehicle whose reasoning level is 1. Thirdly, based on the driving data of the vehicle, the driving data of the agent, the action set of the vehicle, the action set of the agent, and the inference trajectory of the vehicle whose reasoning level is 1, the preset search algorithm is used to search for the inference trajectory of the vehicle whose reasoning level is 2, that is, the response trajectory of the agent whose reasoning level is 2.

[0124] In this embodiment, the vehicle's driving data may include the current vehicle's posture data, yaw rate data, speed data, acceleration data, etc. acquired during the search process. The agent's driving data may include the current agent's posture data, yaw rate data, speed data, acceleration data, etc. acquired during the search process.

[0125] In this embodiment, the preset search algorithm may include a Monte Carlo tree search (MCTS) algorithm. Figure 4 is a schematic diagram of a one-to-one search of MCTs in a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application, such as Figure 4As shown, it is a one-to-one Monte Carlo tree search. Monte Carlo tree search can be used to infer the optimal strategy of another interactive agent (ego) given the strategy of an interactive agent. Here, the interactive agent can include an agent and a vehicle. The interactive agent (agent) strategy can include an action set of the interactive agent. The reasoning trajectory of the interactive agent can be determined based on the action set of the interactive agent. It can be understood that during the game, the reasoning trajectories of the agent and the vehicle can be determined alternately, and the strategies of the agent and the vehicle can be alternately used as the strategy of the given interactive agent.

[0126] For example, Figure 4 As shown in the figure, the root node structure of the Monte Carlo search tree includes the driving data corresponding to the reasoning trajectory of a given intelligent agent, that is, the state information , and the vehicle's driving data, i.e., status information ,Based on the time frame t, the first-level sub-node structure includes the driving data corresponding to the reasoning trajectory of a given agent, that is, the state information, , and the driving data corresponding to the actions a0, a1, a2 of the vehicle to be solved, that is, the state information , , ; The second-level subnode structure includes the driving data corresponding to the reasoning trajectory of a given intelligent agent, that is, the state information , and the driving data corresponding to the actions a0, a1, a1, a1 of the vehicle to be solved, that is, the state information , , , ; The third-level subnode structure includes the driving data corresponding to the reasoning trajectory of a given intelligent agent, that is, the state information , and the driving data corresponding to the action a0 of the vehicle to be solved, that is, the state information .

[0127] Exemplarily, when the agent strategy is a given strategy, the optimal strategy of the vehicle (ego) can be obtained using the following formula (2): (2)

[0128] in, Can be an agent strategy, can be the optimal strategy for the vehicle (ego), can be a reward function, t can be time, and represents the time frame.

[0129] It is understood that the policy may include actions that the agent or vehicle may perform in each frame. The policy given to the agent may be determined based on the agent's reasoning trajectory. The optimal policy of the vehicle (ego) may be mapped to the optimal reasoning trajectory of the vehicle (ego).

[0130] In this embodiment, the reward function of the preset search algorithm may include a forward deduction reward function. The reward value of the preset search algorithm may include a forward deduction reward value. The forward deduction reward function can be used to step search for the optimal response strategy given the interactive agent strategy to obtain the optimal response trajectory, so it pays more attention to the safety, efficiency and comfort of a single step. The cumulative reward function of forward deduction for executing a set of actions in time sequence, that is, the forward deduction reward function can be expressed as formula (3): (3)

[0131] in, It can be the forward deduction reward value, It can be the stage reward value, or the action performed at time t under the predicted traffic conditions. The function of It can be a discount factor, and n is the actual number of actions performed.

[0132] Optionally, the forward deduction reward function may take into account safety, efficiency and comfort. The forward deduction reward function may be determined based on the safety reward function, the efficiency reward function and the comfort reward function. It can be defined as the following formula (4): (4)

[0133] in, is the weight coefficient, index , , They represent efficiency, safety and comfort rewards respectively, namely, efficiency reward function, safety reward function and comfort reward function.

[0134] Optionally, safety may include absolute safety and separation safety. Absolute safety refers to the absolute boundary shape of the vehicle, that is, the collision judgment result between polygons is no collision, and separation safety refers to the overlap relationship between the vehicle and the relative polygon is no overlap. The relative polygon can be a polygon with a safety buffer added. Here, absolute safety must be met, and no reward function is set. If absolute safety is violated, the MCTs are directly pruned. The calculated safety reward function can be a reward function for separation safety.

[0135] Figure 5 is a schematic diagram of a separation zone of a trajectory planning method for an autonomous driving vehicle provided in another embodiment of the present application, such as Figure 5As shown, the area formed by lc and wc can be an absolute safety area (C area), and the area formed by lc+sr+sf and ws can be a relatively safe area (S area), that is, a separation area. The position data of the vehicle can be (x, y), and the speed data of the vehicle is v.

[0136] Here, the reward function for separation safety can be calculated by accumulating the overlapping area, as shown in the following formula (5): (5)

[0137] in, is the prediction of the overlapping area of ​​the separation zone (s zone) of vehicles i and j, and the parameter is a preset parameter used to adjust the relative contribution of the overlap area to the velocity. , are the speeds of the two cars respectively, I(⋅) is the indicator function, which takes 1 if (⋅) is true, otherwise it takes 0.

[0138] It can be understood that the process of determining the separation safety reward function is to perform collision detection between vehicles. Here, when searching for the response trajectory of any intelligent agent interacting with the vehicle, the collision detection can be a local collision detection.

[0139] Optionally, for different levels of trajectories of the interactive agent (vehicle), the efficiency evaluation of the agent is fixed, and the efficiency should be approximately proportional to the speed v and position s at the end point of the response trajectory corresponding to the response strategy. The efficiency reward function can be expressed as the following formula (6):

[0140] in, is the expected speed, is the speed of vehicle i, is the efficiency loss coefficient, is the overspeed loss coefficient, is an indicator function, which takes 1 if (.) is true, otherwise takes 0. Punishment for blocking ahead, is the distance between vehicle i and the vehicle in front, is the forward threshold, is the loss coefficient due to the blocking caused by the presence of the preceding vehicle, is the loss coefficient of the speed difference between the preceding vehicle and its expected speed, is the expected speed of the preceding vehicle.

[0141] Optionally, comfort mainly considers the impact of vehicle acceleration and deceleration behavior, and the comfort reward function can be expressed as follows: (7)

[0142] in, is the trade-off coefficient of the impact of acceleration and deceleration on comfort, is the action chosen at time t.

[0143] Step 206: Based on the belief value corresponding to the given reasoning level, a preset verification algorithm is used to verify the response trajectory of the agent corresponding to the given reasoning level to obtain the target response trajectory of the agent.

[0144] In this embodiment, the preset validation algorithm may include a cross validation algorithm.

[0145] Preferably, based on the known trajectories of an agent (the vehicle) at different levels For example, the reasoning trajectory of vehicles at different levels can be used to calculate the response trajectory of another agent (interactive agent). For example, given the response trajectory of the agent corresponding to the reasoning level, it is necessary to judge the comprehensive performance of each response trajectory for different level trajectories, that is, to perform cross-validation.

[0146] For example, Figure 6 FIG. 1 is a schematic diagram of a cross-validation of a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application. Figure 6 As shown, the response trajectory of the agent corresponding to a given reasoning level: level 0: respond, level 1: respond, level 2: respond can be cross-validated based on the corresponding belief values ​​b1, b2, b3, respectively, and the reasoning trajectory of the known vehicle, the reasoning trajectory of the vehicle solved during the game for interacting with the response trajectory of the agent: level 0: reasoning trajectory (level0: original), level 1: reasoning trajectory (level 1: original), level 2: reasoning trajectory (level 2: original), and then the corresponding total cross-validation reward value of each level can be calculated: the total reward value of the response trajectory of level 0 (overall for resp0), the total reward value of the response trajectory of level 1 (overall for resp0), and the total reward value of the response trajectory of level 2 (overall for resp0).

[0147] In this embodiment, cross-validation can be used to verify the performance of the response trajectory of the agent corresponding to a given reasoning level on the reasoning trajectory of the corresponding vehicle at different levels. Therefore, it mainly involves the overall safety, efficiency and comfort. The verification reward function of the cross-validation algorithm, that is, the cumulative reward, can be expressed as formula (8): (8)

[0148] in, Can be used to verify the reward value, >0, =1,2,3 are weight coefficients, indicators They represent efficiency, safety and comfort rewards respectively, namely, efficiency reward function, safety reward function and comfort reward function.

[0149] Optionally, in the calculation of the cross-validation safety reward function, absolute safety and separation safety can be considered. The absolute safety reward function is as follows (9): (9)

[0150] in, is the prediction of the overlapping area of ​​the “safe zone” (zone c) of vehicles i and j, and the parameter Adjust the relative contribution of the overlap area to the velocity, are the speeds of the two cars, is an indicator function, which takes the value 1 if (⋅) is true and 0 otherwise.

[0151] The safety reward function is as follows (10): (10)

[0152] in, It can be the separation safety reward function, which can be calculated using the above formula (5): It can be an absolute safety reward function, ,Right now Much greater than .

[0153] Here, the cross-validated safety reward function includes collision detection, and the cross-validated safety reward function can be used to detect the collision required for cross-validating whether the trajectory has a risk when the vehicle trajectory and the trajectory of the interactive agent correspond to each other and are fixed. It can be understood that the collision detection can be a local detection.

[0154] Optionally, for the trajectories of different levels of the interactive agent, the efficiency evaluation of the agent is fixed, and the efficiency should be approximately proportional to the speed v and position s at the end point of the response trajectory corresponding to the response strategy. The efficiency reward function of the cross-validation can be expressed as the following formula (11): (11)

[0155] in, is the expected speed, is the speed of vehicle i, is the efficiency loss coefficient, is the overspeed loss coefficient, is an indicator function, which takes 1 if (.) is true, otherwise takes 0. is the target position s, is the expected position loss coefficient.

[0156] Alternatively, similar to the efficiency reward function, the comfort of a fixed response trajectory is determined only by the acceleration and deceleration actions at each step, and the comfort evaluation is the same. The comfort reward function can be expressed as the following formula (12): (12)

[0157] in, is the trade-off coefficient of the impact of acceleration and deceleration on comfort, is the action chosen at time t.

[0158] In this embodiment, during the cross-validation process, the expected cumulative reward of an action sequence of an agent's response trajectory can be expressed as the following formula (13): (13)

[0159] in, It can represent the expected cumulative reward value of an agent's response trajectory. It can represent the belief value that the agent infers that the vehicle is at a given reasoning level, that is, the belief value corresponding to a given reasoning level can be expressed as a probability, It can be defined as the following formula (14): (14)

[0160] in, is the discount factor, It can be the verification reward value of the agent's action sequence (action set) and the verification reward value of the agent's response trajectory. K can represent the reasoning level.

[0161] Based on formulas (13) and (14), the agent can select the action sequence (action set) that best corresponds to the reward function (cost function), that is, the action set with the maximum benefit / minimum loss. The agent infers the response trajectory of the vehicle for a given reasoning layer. It can be expressed as the following formula (15): (15)

[0162] in, Can represent trajectories.

[0163] In this embodiment, first, the belief value of a given reasoning level in the previous planning cycle of the current planning cycle and the target response trajectory of the agent are obtained. Secondly, based on the driving data of the agent in the current planning cycle and the target response trajectory of the agent in the previous planning cycle, the belief value of a given reasoning level in the previous planning cycle is updated using a preset belief value update algorithm to obtain the belief value corresponding to the given reasoning level in the current planning cycle.

[0164] For example, while the agent (self-car) is driving, it can update the belief value of the reasoning level of other agents in real time. The agent should have the belief of other agent models (probability distribution of all models), which is updated and modified by analyzing the actual actions taken by each other agent.

[0165] Here, the belief value of the agent (the vehicle), that is, the probability that an agent believes that the agent it interacts with is modeled as a k-level agent, is P(k). Here, we can only consider the highest reasoning level of the agent as level 2, which can be specifically shown as formula (16): (16)

[0166] Optionally, here, the belief update may be to update the belief value of a given reasoning level, that is, the agent infers that the vehicle is a belief value corresponding to a given reasoning level, and the belief value may be on the agent side. The given reasoning level may include level 0 / level 1 / level 2. The inter-frame belief update process of the planning cycle may include: first, the obstacle belief value set of the previous frame may be obtained , and the corresponding optimal action set response trajectories are Secondly, obtain the state of the actual arrival position of the agent in the current frame based on the previous frame planning, recorded as , determine the trajectory points and The degree of closeness, calculation The response trajectory input by the minimum value of the two norm between the response trajectory points can then determine the trajectory point with the greatest proximity and the agent infers that the vehicle is at a given reasoning level, and increase the belief value of the agent inferring that the vehicle is at a given reasoning level. The belief value update algorithm can be expressed as the following formulas (17) to (20): (17)

[0167] Raising the level of reasoning Belief probability, (18)

[0168] Update belief probabilities, (19)

[0169] in, It can represent the belief value that the agent infers that the vehicle is at a given reasoning level, Can represent assignment, It can represent the preset change value, and ||.|| can represent the multi-dimensional Euclidean distance between the actual arrival position of the agent and the trajectory point on the optimal response trajectory of the agent inferring the vehicle for a given reasoning level, which is expressed by the following formula: (20)

[0170] in, and is the global position of the actual point and trajectory point, and is the yaw angle between the actual point and the trajectory point, and is the velocity of the actual point and the trajectory point.

[0171] It is understandable that the belief value can represent a general driving style. Here, the belief value can be defined on the intelligent agent that interacts with the vehicle, which can simplify the complexity of the data structure and thus greatly reduce the complexity of the solution.

[0172] Step 207: Based on the target response trajectory of each agent and the action set of the vehicle, a preset search algorithm is used to search and process the vehicle's driving trajectory until the reward value of the vehicle's action set meets the preset reward condition, thereby obtaining the planned trajectory of the vehicle.

[0173] In this embodiment, firstly, based on the action set of the vehicle whose reward value meets the preset reward condition, the position data and speed data of the vehicle corresponding to the action set can be calculated. Secondly, based on the position data and speed data of the vehicle corresponding to the action set, the planned trajectory of the vehicle can be obtained.

[0174] In this embodiment, Figure 7 is a schematic diagram of a one-to-many MCTs of a trajectory planning method for an autonomous driving vehicle provided by another embodiment of the present application, such as Figure 7 As shown in , given the target response trajectories of all agents interacting with the vehicle, the Monte Carlo tree search algorithm can be used to infer the optimal planning trajectory of the vehicle. Figure 7 As shown, the root node structure of the Monte Carlo search tree includes the driving data corresponding to the target response trajectory of all given intelligent agents interacting with the vehicle, that is, the state information. , and the vehicle's driving data, i.e., status information , based on the time frame t, the first-level sub-node structure includes the driving data corresponding to the target response trajectory of all given intelligent agents interacting with the vehicle, that is, the state information, , and the driving data corresponding to the actions a0, a1, a2 of the vehicle to be solved, that is, the state information , , ; The second-level subnode structure includes the driving data corresponding to the target response trajectory of all given intelligent agents interacting with the vehicle, that is, the state information, , and the driving data corresponding to the actions a0, a1, a1, a1 of the vehicle to be solved, that is, the state information , , , ; The third-level subnode structure includes the state information of all given agents interacting with the vehicle, , and the driving data corresponding to the action a0 of the vehicle to be solved, that is, the state information .

[0175] In this embodiment, based on the target response trajectory of all interactive agents , using the Monte Carlo tree search algorithm, the optimal trajectory of the vehicle can be inferred , here, the trajectory can be mapped to the corresponding strategy, and then the Monte Carlo tree search algorithm is specifically shown in the following formula (21): (twenty one)

[0176] in, Can be all agent strategies, can be the optimal strategy for the vehicle (ego), can be a reward function, t can be time, and represents the time frame.

[0177] Here, the reward value of the vehicle's action set may represent the cost of the vehicle's action set, and the preset reward condition may include that the reward value of the vehicle's action set is a maximum value / optimal value, that is, the cost of the vehicle's action set is the smallest.

[0178] Optionally, the vehicle's action set may include an action sequence, and the predicted vehicle's driving data may be calculated based on the action sequence of the vehicle with the largest reward value, and then the vehicle's planned trajectory may be obtained based on the predicted vehicle's driving data.

[0179] It can be understood that here, the process of determining the reward value of the vehicle's action set can refer to the process of determining the reward value of the forward deduction reward function of the Monte Carlo tree search algorithm in the aforementioned steps, which will not be repeated here.

[0180] Optionally, since in step 207, the vehicle's driving trajectory is searched and processed based on the target response trajectory of each agent and the action set of the vehicle using a preset search algorithm, here, when determining the safety reward function of the forward deduction reward function, here, the target response trajectory of all agents interacting with the vehicle is searched, and the collision detection can be a global collision detection. Based on the vehicle's action set and the target response trajectory of all agents, the vehicle performs collision detection with all agents.

[0181] By adopting the scheme in the present embodiment, the scheme in the present embodiment can first determine the target response trajectory of each agent for a given reasoning level of a pre-given vehicle for each pair of game combinations of vehicles and agents using a preset hierarchical game strategy, and then use a preset search algorithm to solve the planned trajectories of vehicles corresponding to the target response trajectories of multiple agents. This can achieve the effectiveness of trajectory planning of autonomous driving vehicles in scenarios with multiple interactive agents, and can improve the solution speed of trajectory planning of autonomous driving vehicles while ensuring the reliability of vehicle driving trajectory planning, thereby ensuring the safety, stability and efficiency of the driving process of autonomous driving vehicles in scenarios with multiple interactive agents.

[0182] In addition, by adopting the scheme in this embodiment, when hierarchical game processing is performed for each game combination of a vehicle and an intelligent agent and the reasoning trajectory is calculated, the reasoning trajectory in multiple interactive situations during the game process can be solved by adopting the MCTs-inspired solution method, which can better accelerate the solution speed of the game algorithm based on high-density trajectory sampling methods such as multi-branch tree mapping, thereby greatly improving the overall solution efficiency of the game algorithm.

[0183] In addition, the solution in this embodiment can also effectively cope with the trajectory planning of the vehicle in complex scenarios of multiple vehicle interactions such as intersections. Moreover, the solution in this embodiment can determine the positional relationship between the vehicle and multiple interactive intelligent agents without relying on the topological relationship of the map.

[0184] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0185] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0186] Figure 8 A structural block diagram of a trajectory planning device for an autonomous driving vehicle provided by an embodiment of the present application is shown. Figure 8As shown. The trajectory planning device 800 of the autonomous driving vehicle of this embodiment may include an acquisition unit 801, a game unit 802, and a planning unit 803. Among them, the acquisition unit 801 is used to acquire the driving data of the vehicle and the driving data of at least one intelligent agent; at least one of the intelligent agents is located in the driving environment of the vehicle and interacts with the vehicle; the game unit 802 is used to perform the following operations on the vehicle and each intelligent agent respectively: based on the preset hierarchical game strategy, the pre-given intelligent agent infers the given reasoning level of the vehicle, the driving data of the vehicle, the driving data of the intelligent agent, and performs game processing on the vehicle and the intelligent agent to obtain the target response trajectory of the intelligent agent; the planning unit 803 is used to search and process the driving trajectory of the vehicle based on the driving data of the vehicle and the target response trajectory of each intelligent agent using a preset search algorithm to obtain the planned trajectory of the vehicle.

[0187] It should be noted that part or all of the trajectory planning device of the autonomous driving vehicle of this embodiment may be an application located in the local terminal, or may also be a functional unit such as a plug-in or software development kit (SDK) set in the application located in the local terminal, or may also be a processing engine located in a network-side server, or may also be a distributed system located on the network side, for example, a processing engine or distributed system in an autonomous driving platform on the network side, etc. This embodiment does not specifically limit this.

[0188] It is understandable that the application may be a local program (nativeApp) installed on the local terminal, or may also be a webpage program (webApp) of a browser on the local terminal, which is not limited in this embodiment.

[0189] Optionally, in a possible implementation of the present embodiment, the game unit 802 can be specifically used to sample and process the driving actions of the vehicle and the driving actions of the agent, respectively, based on the driving data of the vehicle and the driving data of the agent, so as to obtain the action set of the vehicle and the action set of the agent; based on the action set of the vehicle, the action set of the agent, and a given reasoning level of the vehicle inferred by the pre-given agent, and using a preset hierarchical game strategy, perform game processing on the vehicle and the agent to obtain the target response trajectory of the agent.

[0190] Optionally, in a possible implementation of this embodiment, the game unit 802 can be specifically used to infer a given reasoning level of the vehicle based on a pre-given intelligent agent, and perform game processing on the vehicle and the intelligent agent to determine at least one reasoning interaction situation between the vehicle and the intelligent agent corresponding to the given reasoning level; based on the action set of the vehicle, the action set of the intelligent agent, and at least one reasoning interaction situation between the vehicle and the intelligent agent, using the preset search algorithm, obtain the response trajectory of the intelligent agent corresponding to the given reasoning level; verify the response trajectory of the intelligent agent corresponding to the given reasoning level to obtain the target response trajectory of the intelligent agent.

[0191] Optionally, in a possible implementation of this embodiment, the game unit 802 can be specifically used to infer the initial reasoning trajectory corresponding to the given reasoning level based on at least one reasoning interaction situation between the vehicle and the agent; based on the action set of the vehicle, the action set of the agent, at least one reasoning interaction situation between the vehicle and the agent, and the initial reasoning trajectory, use the preset search algorithm to search and process the reasoning trajectory in each reasoning interaction situation; based on the result of the search processing, obtain the response trajectory of the agent corresponding to the given reasoning level.

[0192] Optionally, in a possible implementation of this embodiment, the game unit 802 can be specifically used to obtain the belief value corresponding to the given reasoning level; based on the belief value corresponding to the given reasoning level, using a preset verification algorithm, verify the response trajectory of the agent corresponding to the given reasoning level; based on the result of the verification process, obtain the target response trajectory of the agent.

[0193] Optionally, in a possible implementation of the present embodiment, the game unit 802 can be specifically used to obtain the belief value corresponding to a given reasoning level in the previous planning cycle of the current planning cycle and the response trajectory of the agent corresponding to the given reasoning level; based on the driving data of the agent in the current planning cycle and the response trajectory of the agent corresponding to the given reasoning level in the previous planning cycle, the belief value of the given reasoning level in the previous planning cycle is updated to obtain the belief value corresponding to the given reasoning level.

[0194] Optionally, in a possible implementation of this embodiment, the planning unit 803 can be specifically used to obtain an action set of the vehicle based on the driving data of the vehicle; based on the target response trajectory of each intelligent agent and the action set of the vehicle, the driving trajectory of the vehicle is searched and processed using the preset search algorithm to obtain a reward value of the action set of the vehicle; in response to the reward value satisfying a preset reward condition, the planned trajectory of the vehicle is obtained.

[0195] In this embodiment, the driving data of the vehicle and the driving data of at least one intelligent agent can be obtained by the acquisition unit; at least one of the intelligent agents is located in the driving environment of the vehicle and interacts with the vehicle, and then the game unit 802 can execute a game process on the vehicle and each intelligent agent based on a preset hierarchical game strategy, a pre-given intelligent agent to infer a given reasoning level of the vehicle, the driving data of the vehicle, and the driving data of the intelligent agent, so as to obtain the target response trajectory of the intelligent agent, so that the planning unit can use the preset search algorithm to calculate the driving trajectory of the vehicle based on the driving data of the vehicle and the target response trajectory of each intelligent agent. The trajectories are searched and processed to obtain the planned trajectory of the vehicle. Since the target response trajectory of each agent for a given vehicle of a given reasoning level can be determined for each pair of game combinations of vehicles and agents by using a preset hierarchical game strategy, and then the planned trajectories of the vehicles corresponding to the target response trajectories of multiple agents are solved by using the preset search algorithm, the effectiveness of trajectory planning of the autonomous driving vehicle in multiple interactive agent scenarios can be achieved, and the solution speed of the trajectory planning of the autonomous driving vehicle can be improved while ensuring the reliability of the vehicle driving trajectory planning, thereby ensuring the safety, stability and efficiency of the driving process of the autonomous driving vehicle in multiple interactive agent scenarios.

[0196] An embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the trajectory planning method for the autonomous driving vehicle as described above.

[0197] An embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the trajectory planning method for the autonomous driving vehicle as described above.

[0198] One embodiment of the present application provides an autonomous driving vehicle, including the electronic device as described above. Specifically, the autonomous driving vehicle may be a vehicle of level L2 or above. The autonomous driving vehicle may include but is not limited to an unmanned delivery vehicle, an unmanned logistics vehicle, etc.

[0199] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the relevant laws and regulations and do not violate public order and good morals.

[0200] Fig. 9A schematic block diagram of an example electronic device 900 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0201] like Fig. 9 As shown, the electronic device 900 includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 906 is also connected to the bus 904.

[0202] Multiple components in the electronic device 900 are connected to the I / O interface 905, including: an input unit 906, such as a keyboard, a mouse, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the electronic device 900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0203] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods and processes described above, such as a trajectory planning method for an autonomous driving vehicle. For example, in some embodiments, the trajectory planning method for an autonomous driving vehicle may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 900 via the ROM 902 and / or the communication unit 909. When the computer program is loaded into the RAM 903 and executed by the computing unit 901, one or more steps of the trajectory planning method for the autonomous driving vehicle described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to execute the trajectory planning method for the autonomous driving vehicle in any other appropriate manner (e.g., by means of firmware).

[0204] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0205] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0206] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0207] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0208] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0209] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0210] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0211] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A trajectory planning method for an autonomous driving vehicle, characterized in that: The method comprises: Acquiring driving data of a vehicle and driving data of at least one intelligent agent; at least one of the intelligent agents is located in a driving environment of the vehicle and interacts with the vehicle; The following operations are performed for the vehicle and each intelligent agent: based on the driving data of the vehicle and the driving data of the intelligent agent, the driving actions of the vehicle and the driving actions of the intelligent agent are sampled and processed respectively to obtain the action set of the vehicle and the action set of the intelligent agent; based on the predetermined intelligent agent, a given reasoning level of the vehicle is inferred, and the vehicle and the intelligent agent are game-processed to determine at least one reasoning interaction situation of the vehicle and the intelligent agent corresponding to the given reasoning level; based on at least one reasoning interaction situation of the vehicle and the intelligent agent, an initial reasoning trajectory corresponding to the given reasoning level is inferred; based on the action set of the vehicle, the action set of the intelligent agent, at least one reasoning interaction situation of the vehicle and the intelligent agent, and the initial reasoning trajectory, a preset search algorithm is used to search the reasoning trajectory in each reasoning interaction situation; based on the result of the search process, a response trajectory of the intelligent agent corresponding to the given reasoning level is obtained; the response trajectory of the intelligent agent corresponding to the given reasoning level is verified to obtain the target response trajectory of the intelligent agent; Based on the driving data of the vehicle and the target response trajectory of each intelligent agent, the driving trajectory of the vehicle is searched and processed using a preset search algorithm to obtain the planned trajectory of the vehicle.

2. The method according to claim 1, characterized in that The verifying process of the response trajectory of the agent corresponding to the given reasoning level to obtain the target response trajectory of the agent includes: Obtaining a belief value corresponding to the given reasoning level; Based on the belief value corresponding to the given reasoning level, using a preset verification algorithm, verifying the response trajectory of the agent corresponding to the given reasoning level; Based on the result of the verification process, the target response trajectory of the intelligent agent is obtained.

3. The method according to claim 2, characterized in that The obtaining of the belief value corresponding to the given reasoning level includes: Obtain the belief value corresponding to a given reasoning level in the previous planning cycle of the current planning cycle and the response trajectory of the agent corresponding to a given reasoning level; Based on the driving data of the intelligent agent in the current planning cycle and the response trajectory of the intelligent agent corresponding to the given reasoning level in the previous planning cycle, the belief value of the given reasoning level in the previous planning cycle is updated to obtain the belief value corresponding to the given reasoning level.

4. The method according to claim 1, characterized in that: The method of searching and processing the driving trajectory of the vehicle based on the driving data of the vehicle and the target response trajectory of each intelligent agent using a preset search algorithm to obtain the planned trajectory of the vehicle includes: Based on the driving data of the vehicle, obtaining an action set of the vehicle; Based on the target response trajectory of each agent and the action set of the vehicle, the preset search algorithm is used to search the driving trajectory of the vehicle to obtain a reward value of the action set of the vehicle; In response to the reward value satisfying a preset reward condition, a planned trajectory of the vehicle is obtained.

5. A trajectory planning device for an autonomous driving vehicle, characterized in that: The device comprises: An acquisition unit, configured to acquire driving data of a vehicle and driving data of at least one intelligent agent; at least one of the intelligent agents is located in a driving environment of the vehicle and interacts with the vehicle; A game unit is used to perform the following operations for the vehicle and each intelligent agent: based on the driving data of the vehicle and the driving data of the intelligent agent, the driving actions of the vehicle and the driving actions of the intelligent agent are sampled and processed respectively to obtain the action set of the vehicle and the action set of the intelligent agent; based on the predetermined intelligent agent, a given reasoning level of the vehicle is inferred, and the vehicle and the intelligent agent are gamed to determine at least one reasoning interaction situation of the vehicle and the intelligent agent corresponding to the given reasoning level; based on at least one reasoning interaction situation of the vehicle and the intelligent agent, an initial reasoning trajectory corresponding to the given reasoning level is inferred; based on the action set of the vehicle, the action set of the intelligent agent, at least one reasoning interaction situation of the vehicle and the intelligent agent, and the initial reasoning trajectory, a preset search algorithm is used to search the reasoning trajectory in each reasoning interaction situation; based on the result of the search process, a response trajectory of the intelligent agent corresponding to the given reasoning level is obtained; the response trajectory of the intelligent agent corresponding to the given reasoning level is verified to obtain the target response trajectory of the intelligent agent; The planning unit is used to search and process the driving trajectory of the vehicle based on the driving data of the vehicle and the target response trajectory of each intelligent agent using a preset search algorithm to obtain the planned trajectory of the vehicle.

6. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 4.

7. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 4.

8. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 4.

9. An autonomous driving vehicle comprising the electronic device as claimed in claim 6.

Citation Information

Patent Citations

  • Multi-agent model training method and system, computer equipment and storage medium

    CN116629114A

  • Automatic driving vehicle driving track planning method, device and equipment and storage medium

    CN117492447A

  • Trajectory planning method, device and equipment for autonomous vehicle and vehicle

    CN117889884A

  • Movement path planning method and apparatus and intelligent driving device

    WO2024036580A1

  • Intelligent driving decision-making method, decision-making apparatus and vehicle

    WO2024066572A1