Track planning method and device, storage medium and electronic equipment

By using the vehicle's front wheel angle and vehicle speed action expansion in the road grid map, the vehicle's driving trajectory is solved, and the problem of difficulty in reaching the end point quickly in the racing scene in the prior art is solved, and the vehicle is realized on the target road Maintain a high speed driving effect.

CN118896626APending Publication Date: 2024-11-05BEIJING JINGWEI HIRAIN TECH CO INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410961804.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The existing vehicle driving trajectory planning is difficult to quickly reach the finish line in racing scenarios, and it is impossible to effectively maintain a higher speed.

Method used

In the road grid map, through the vehicle's front wheel angle and speed action expansion, the target grid unit that is conducive to the vehicle's rapid driving is identified, the trajectory planning is performed, and the angle and speed of the vehicle when cornering is adjusted to achieve rapid reaching the end point.

Benefits of technology

By dynamically adjusting the vehicle's driving trajectory, the vehicle can maintain a high speed on the target road, shortening the driving time from the starting point to the end point, and solving the problem that the prior art cannot quickly reach the end point.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118896626A_ABST
    Figure CN118896626A_ABST
Patent Text Reader

Abstract

According to the trajectory planning method and device, the storage medium and the electronic equipment provided by the invention, the road grid map is constructed for the target road map based on the two-dimensional coordinate position dimension and the vehicle course angle dimension, and the to-be-selected action space is expanded through the front wheel turning angle and the vehicle speed action of the vehicle; according to the method, the target grid units facilitating rapid driving of the vehicle on the target road are sequentially identified, so that the corresponding vehicle driving track is planned, and the vehicle can be driven on the target road along the vehicle driving track at a high speed so as to rapidly arrive at the end point of the road.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle control technology, and in particular to a trajectory planning method, device, storage medium and electronic device. Background Art

[0002] Currently, the existing vehicle driving trajectory is mainly planned based on the center line of the road. However, it is difficult for the vehicle to reach the destination quickly by driving along the center line of the road. Especially in the vehicle racing scenario, the vehicle needs to reach the destination quickly on the designated road, so it is necessary to ensure that the vehicle maintains a high speed as much as possible while shortening the time it takes to reach the destination.

[0003] Therefore, how to plan a vehicle driving trajectory on the road to quickly reach the destination has become a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0004] In view of the above problems, the present disclosure provides a trajectory planning method, device, storage medium and electronic device that overcome the above problems or at least partially solve the above problems. The technical solution is as follows:

[0005] A trajectory planning method, comprising:

[0006] Determine a target grid cell corresponding to the current position of the target vehicle in a road grid map, wherein the road grid map is a search space constructed for a target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and the search space is composed of a plurality of grid cells;

[0007] Obtaining target vehicle state data associated with the target grid unit, wherein the target vehicle state data includes target grid position data of the target grid unit in the road grid map and target driving action data of the target vehicle on the target grid unit, and the target driving action data includes a target front wheel turning angle and a target vehicle speed;

[0008] Using the target front wheel steering angle and the target vehicle speed, the target grid unit is action expanded to obtain a candidate action space of the target grid unit;

[0009] Using the candidate action space and the target grid position data, identifying the next corresponding target grid unit of the target vehicle;

[0010] Trajectory planning is performed using a plurality of the target grid units to obtain a vehicle driving trajectory of the target vehicle on the target road map.

[0011] Optionally, the using the target front wheel turning angle and the target vehicle speed to perform action expansion on the target grid unit to obtain a candidate action space of the target grid unit includes:

[0012] Using the target front wheel steering angle and the target vehicle speed, the target grid unit is action-expanded according to a preset extension step to obtain a candidate action space, and the action extension times are updated, wherein the candidate action space includes a plurality of candidate driving action data, and the candidate driving action data includes a candidate front wheel steering angle and a candidate vehicle speed;

[0013] The step of using the candidate action space and the target grid position data to identify the next corresponding target grid unit of the target vehicle includes:

[0014] For any of the to-be-selected driving action data in the to-be-selected action space, using the target grid position data, the to-be-selected front wheel turning angle and the to-be-selected vehicle speed, determine the to-be-selected grid position data of the to-be-selected grid unit associated with the to-be-selected driving action data in the road grid map;

[0015] Using the candidate grid position data of each candidate grid unit, the candidate driving action data associated with the candidate grid unit that is not in the target road map is filtered out in the candidate action space to obtain a target action space;

[0016] The target action space and the updated action expansion times are used to identify the next corresponding target grid unit of the target vehicle.

[0017] Optionally, the determining the target grid position data, the front wheel turning angle to be selected and the vehicle speed to be selected, of the grid position data to be selected of the grid unit to be selected and associated with the driving action data to be selected in the road grid map, comprises:

[0018] The target grid position data, the to-be-selected front wheel steering angle and the to-be-selected vehicle speed are input into a vehicle kinematics model to obtain the to-be-selected grid position data of the to-be-selected grid unit associated with the to-be-selected driving action data output by the vehicle kinematics model in the road grid map.

[0019] Optionally, using the target front wheel turning angle and the target vehicle speed to perform action expansion on the target grid unit according to a preset expansion step to obtain a candidate action space includes:

[0020] Determine the front wheel steering angle movement range of the target vehicle on the target grid unit according to a preset expansion step length by using the target front wheel steering angle and the front wheel steering angle speed of the target vehicle;

[0021] Determining the speed change range of the target vehicle on the target grid unit according to the preset expansion step length by using the target vehicle speed and the vehicle speed association parameter of the target vehicle;

[0022] Action combinations are performed within the front wheel turning angle action range and the vehicle speed change action range to obtain a selectable action space.

[0023] Optionally, the using the target action space and the updated action expansion times to identify the next corresponding target grid unit of the target vehicle includes:

[0024] For any of the candidate grid cells associated with the candidate driving action data in the target action space, using the candidate grid position data of the candidate grid cell and the updated action extension times, obtain the terminal cost value of the candidate grid cell;

[0025] The destination cost value of each of the to-be-selected grid cells is used to identify the next corresponding target grid cell of the target vehicle in each of the to-be-selected grid cells.

[0026] Optionally, the step of obtaining the end point cost value of the to-be-selected grid cell by using the to-be-selected grid position data of the to-be-selected grid cell and the updated action extension times includes:

[0027] Determine the distance data of the to-be-selected grid cell by using the to-be-selected grid position data of the to-be-selected grid cell;

[0028] The distance data and the updated action extension times are input into the formula:

[0029] J1=ω1·N

[0030] J2=ω2·d n

[0031] cost=J1+J2

[0032] Obtain the endpoint cost value of the selected grid unit, where cost is the endpoint cost value of the selected grid unit, J1 is the endpoint time cost value, J2 is the endpoint distance cost value, ω1 is the preset time weight, N is the updated action extension times, ω2 is the preset distance weight, d n is the distance data.

[0033] Optionally, before using the to-be-selected grid position data of each to-be-selected grid cell to filter out the to-be-selected driving action data associated with the to-be-selected grid cell that is not in the target road map in the to-be-selected action space to obtain the target action space, the method further includes:

[0034] For any of the to-be-selected driving action data in the to-be-selected action space, using the to-be-selected driving action data and the vehicle technical parameters of the target vehicle, determining whether the to-be-selected driving action data corresponds to a vehicle instability action, and obtaining an instability determination result of the to-be-selected driving action data;

[0035] The instability determination result of each of the to-be-selected driving action data is used to filter out the to-be-selected driving action data corresponding to the vehicle instability action in the to-be-selected action space.

[0036] A trajectory planning device comprises: a target grid unit determination unit, a target vehicle state data acquisition unit, an action expansion unit, a target grid unit identification unit and a trajectory planning unit.

[0037] The target grid unit determination unit is used to determine the target grid unit corresponding to the current position of the target vehicle in the road grid map, wherein the road grid map is a search space constructed for the target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and the search space is composed of a plurality of grid units;

[0038] The target vehicle state data obtaining unit is used to obtain the target vehicle state data associated with the target grid unit, wherein the target vehicle state data includes the target grid position data of the target grid unit in the road grid map and the target driving action data of the target vehicle on the target grid unit, and the target driving action data includes the target front wheel turning angle and the target vehicle speed;

[0039] The action expansion unit is used to expand the action of the target grid unit by using the target front wheel turning angle and the target vehicle speed to obtain a candidate action space of the target grid unit;

[0040] The target grid unit identification unit is used to identify the next corresponding target grid unit of the target vehicle by using the candidate action space and the target grid position data;

[0041] The trajectory planning unit is used to perform trajectory planning using the plurality of target grid units to obtain a vehicle driving trajectory of the target vehicle on the target road map.

[0042] A computer-readable storage medium stores a program, wherein when the program is executed by a processor, the trajectory planning method described in any one of the above items is implemented.

[0043] An electronic device comprises at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; and the processor is used to call program instructions in the memory to execute any of the above-mentioned trajectory planning methods.

[0044] By means of the above technical scheme, the present disclosure provides a trajectory planning method, device, storage medium and electronic device, which determine a target grid unit corresponding to the current position of a target vehicle in a road grid map, wherein the road grid map is a search space constructed for a target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and the search space is composed of multiple grid units; obtain target vehicle state data associated with the target grid unit, wherein the target vehicle state data includes target grid position data of the target grid unit in the road grid map and target driving action data of the target vehicle on the target grid unit, and the target driving action data includes a target front wheel turning angle and a target vehicle speed; use the target front wheel turning angle and the target vehicle speed to perform action expansion on the target grid unit to obtain a candidate action space of the target grid unit; use the candidate action space and the target grid position data to identify the next corresponding target grid unit of the target vehicle; use multiple target grid units to perform trajectory planning to obtain a vehicle driving trajectory of the target vehicle on the target road map. The present invention constructs a road grid map for a target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and sequentially identifies target grid cells that are conducive to the rapid driving of the vehicle on the target road through a candidate action space expanded by the front wheel turning angle and vehicle speed action of the vehicle, thereby planning a corresponding vehicle driving trajectory, so that the vehicle can maintain a high speed on the target road along the vehicle driving trajectory, so as to quickly reach the end of the road.

[0045] The above description is only an overview of the technical solution of the present disclosure. In order to more clearly understand the technical means of the present disclosure, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present disclosure more obvious and easy to understand, the specific implementation methods of the present disclosure are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present disclosure. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0047] Figure 1 A schematic diagram showing a flow chart of an implementation of a trajectory planning method provided by an embodiment of the present disclosure;

[0048] Figure 2 A flow chart showing another implementation of the trajectory planning method provided by an embodiment of the present disclosure is shown;

[0049] Figure 3 A flow chart showing another implementation of the trajectory planning method provided by an embodiment of the present disclosure is shown;

[0050] Figure 4 A flow chart showing an implementation of step S300 in the trajectory planning method provided in an embodiment of the present disclosure is shown;

[0051] Figure 5 A flowchart of an implementation of step S330 in the trajectory planning method provided in an embodiment of the present disclosure is shown;

[0052] Figure 6 A flow chart showing another implementation of the trajectory planning method provided by an embodiment of the present disclosure is shown;

[0053] Figure 7 A schematic diagram of the structure of a trajectory planning device provided by an embodiment of the present disclosure is shown;

[0054] Figure 8 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0055] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0056] With the development of vehicle control technology, through vehicle driving trajectory planning, the vehicle can be directly controlled or assisted in controlling the vehicle to drive on the road according to the specified vehicle driving trajectory, so that the vehicle reaches the end of the trajectory along the vehicle driving trajectory. The method of directly controlling the vehicle may include automatically controlling the vehicle to drive on the road according to the specified vehicle driving trajectory through a computer. The method of assisted control of the vehicle may include displaying the vehicle driving trajectory to the vehicle driver and providing driving tips for the vehicle driver based on the vehicle driving trajectory.

[0057] Existing vehicle driving trajectory planning usually focuses on the centerline of the road, decoupling and layering the path planning and speed planning, which can only meet the basic navigation needs of the vehicle. For the vehicle driving goal of reaching the destination quickly (for example, racing sports or racing games), the vehicle needs to complete the driving from the starting point to the destination in the shortest time within the specified road, which involves the trajectory planning of the vehicle when turning, ensuring that the vehicle maintains a high speed as much as possible when turning and reaches the destination quickly, which is impossible to achieve with existing vehicle driving trajectory planning.

[0058] Based on this, in the embodiment of the present disclosure, a trajectory planning method is provided, which can identify the target grid unit in the road grid map constructed from the target road map, and the identification basis of the target grid unit depends on the front wheel turning angle, vehicle speed and action expansion times of the vehicle, and then the trajectory planning is performed with the identified target grid unit as the trajectory point to obtain the vehicle driving trajectory. It can be seen that the planning of the vehicle driving trajectory involves adjusting the angle and speed of the vehicle when turning, so that the vehicle can maintain a higher speed when turning, shortening the driving time of the vehicle from the starting point of the trajectory to the end point of the trajectory.

[0059] like Figure 1 As shown, a flow chart of an implementation of a trajectory planning method provided by an embodiment of the present disclosure is provided, and the method may include:

[0060] S100. Determine a target grid unit corresponding to a current position of a target vehicle in a road grid map, wherein the road grid map is a search space constructed for a target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and the search space is composed of a plurality of grid units.

[0061] The target road map may be a map in which the target road and its starting point and end point are marked in a Cartesian coordinate system. The disclosed embodiment may convert the target road and its starting point and end point into a Cartesian coordinate system in advance, construct a target road map, and establish a query function application program interface corresponding to the target road map. Through the query function application program interface, based on the input two-dimensional coordinate position of the vehicle, it is possible to query whether the vehicle is located within the target road, the road direction of the vehicle, and the distance from the vehicle to the end point.

[0062] The disclosed embodiment can establish a search space by rasterization in the two-dimensional coordinate position dimension and the vehicle heading angle dimension, control the dimensional range of the two-dimensional coordinate position dimension to cover the target road map, and the dimensional range of the vehicle heading angle dimension of the road grid map is 0° to 360°, with one grid unit as a search node. It can be understood that the resolution of the rasterization of each dimension can be set according to the actual accuracy requirements and the actual computing power. For example: the resolution of the road grid map can be (1, 1, 10°).

[0063] The target grid unit has a grid position in the road grid map that is within the target road map.

[0064] The disclosed embodiment can pre-set a starting grid cell corresponding to the starting point of the road in the target road map and an end grid cell corresponding to the end point of the road in the target road map in the road grid map, identify the starting grid cell as the initial target grid cell, use the target grid cell as the initial search node, and search and identify other target grid cells of the vehicle's driving trajectory.

[0065] S110. Obtain target vehicle status data associated with the target grid unit, wherein the target vehicle status data includes target grid position data of the target grid unit in the road grid map and target driving action data of the target vehicle on the target grid unit, and the target driving action data includes a target front wheel turning angle and a target vehicle speed.

[0066] The vehicle status data is data related to the driving status of the target vehicle on the target grid unit.

[0067] The target grid position data includes the two-dimensional coordinate position of the target grid unit in the road grid map and the vehicle heading angle.

[0068] The action expansion times is the number of search nodes that have been processed so far. The fewer the action expansion times, the less time the target vehicle spends on the target road.

[0069] The disclosed embodiment can initialize the target vehicle state data and action extension times associated with the target grid cell corresponding to the initial search node. Specifically, the disclosed embodiment can confirm the target grid cell corresponding to the initial search node at the target grid position in the road grid map, and set the target front wheel turning angle and target vehicle speed corresponding to the target vehicle on the target grid cell to 0, and also set the action extension times to 0.

[0070] S120 , using the target front wheel steering angle and the target vehicle speed, performing action expansion on the target grid unit to obtain a candidate action space of the target grid unit.

[0071] The action is extended to be based on the vehicle technical parameters of the target vehicle and uses the vehicle's current driving action data to infer the vehicle's subsequent possible driving action data.

[0072] Optionally, the vehicle technical parameters may include the vehicle's front wheel angular speed, the vehicle's maximum acceleration, the vehicle's maximum deceleration, the vehicle's wheelbase, the vehicle's mass, the tire adhesion ellipse limit threshold and the vehicle's rollover threshold.

[0073] It is understood that the vehicle technical parameters can be obtained from the bench test of the target vehicle, and the tire adhesion ellipse limit threshold is the limit value of the combined force of the tangential force and the cornering force under certain adhesion conditions. The vehicle rollover threshold is equal to the vehicle wheelbase divided by twice the vehicle center of mass height.

[0074] The candidate action space refers to the set of all possible actions generated according to the target front wheel angle and target vehicle speed under the current target grid unit. The candidate action space contains all potential actions that the target vehicle can take under the target grid unit, which is used for the subsequent next target grid unit decision and optimal path selection.

[0075] S130 , using the candidate action space and the target grid position data, identifying the next corresponding target grid unit of the target vehicle.

[0076] Specifically, the embodiment of the present invention can confirm the next grid unit that the target vehicle will reach after performing any action in the candidate action space based on the target grid position data, and select the target grid unit that is most conducive to the target vehicle to quickly reach the end of the road from these grid units.

[0077] Optional, based on Figure 1 The method shown, such as Figure 2 As shown, a flow chart of another implementation of the trajectory planning method provided by an embodiment of the present disclosure is shown. The method can execute step S200 when the next corresponding target grid unit of the target vehicle is identified.

[0078] S200, determining whether the identified target grid cell is a preset end grid cell, if not, returning to execute step S110 based on the target grid cell, if yes, executing step S140.

[0079] S140 , performing trajectory planning using a plurality of target grid units to obtain a vehicle driving trajectory of the target vehicle on the target road map.

[0080] Specifically, the embodiment of the present disclosure identifies the target grid unit as a trajectory point, connects each target grid unit in sequence according to the recognition order of the target grid unit, and obtains the vehicle driving trajectory of the target vehicle on the target road map.

[0081] Optionally, when a target grid cell is currently identified, the disclosed embodiment can connect the target grid cell with the last identified target grid cell to generate a corresponding trajectory segment, and by continuously extending the trajectory segment, when connected to the target grid cell corresponding to the preset end point grid cell, obtain the vehicle driving trajectory of the target vehicle on the target road map. By generating trajectory segments, the disclosed embodiment is advantageous in that when the vehicle driving trajectory is not completely generated, the generated trajectory segments can be put into the vehicle control scene, which is convenient for timely correction of the vehicle driving trajectory when the vehicle deviates from the established driving trajectory, and is beneficial for the vehicle to maintain a high speed during subsequent driving on the target road so as to quickly reach the road end.

[0082] Optionally, the present disclosure can sort multiple target grid cells according to the identification order to obtain a trajectory point sorting result when the target grid cell is identified as a preset destination grid cell. The trajectory point sorting result is used to generate a vehicle driving trajectory of the target vehicle on the target road map. By generating a complete vehicle driving trajectory, the embodiment of the present disclosure is conducive to controlling the vehicle to maintain a high speed on the target road along the vehicle driving trajectory, thereby meeting the vehicle automatic control requirements with the vehicle reaching the destination quickly as the vehicle driving goal.

[0083] The disclosed embodiment constructs a road grid map for a target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension. The selected action space expanded by the front wheel turning angle and vehicle speed action of the vehicle can plan the vehicle's driving trajectory including when the vehicle is turning, which helps to adjust the vehicle's heading angle when the vehicle is turning, so that the vehicle can maintain a high speed when turning, thereby quickly reaching the destination.

[0084] The present disclosure provides a trajectory planning method, which determines a target grid unit corresponding to a current position of a target vehicle in a road grid map, wherein the road grid map is a search space constructed for a target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and the search space is composed of a plurality of grid units; obtains target vehicle state data associated with the target grid unit, wherein the target vehicle state data includes target grid position data of the target grid unit in the road grid map and target driving action data of the target vehicle on the target grid unit, and the target driving action data includes a target front wheel turning angle and a target vehicle speed; uses the target front wheel turning angle and the target vehicle speed to perform action expansion on the target grid unit to obtain a candidate action space of the target grid unit; uses the candidate action space and the target grid position data to identify a next corresponding target grid unit of the target vehicle; and uses a plurality of target grid units to perform trajectory planning to obtain a vehicle driving trajectory of the target vehicle on the target road map. The present invention constructs a road grid map for a target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and sequentially identifies target grid cells that are conducive to the rapid driving of the vehicle on the target road through a candidate action space expanded by the front wheel turning angle and vehicle speed action of the vehicle, thereby planning a corresponding vehicle driving trajectory, so that the vehicle can maintain a high speed on the target road along the vehicle driving trajectory, so as to quickly reach the end of the road.

[0085] Optional, based on Figure 1 The method shown, such as Figure 3 As shown, a flow chart of another implementation of the trajectory planning method provided by an embodiment of the present disclosure is provided, and step S120 of the method may specifically include:

[0086] S300, using the target front wheel steering angle and the target vehicle speed, performing action expansion on the target grid unit according to a preset expansion step, obtaining a candidate action space, and updating the number of action expansions, wherein the candidate action space includes a plurality of candidate driving action data, and the candidate driving action data includes a candidate front wheel steering angle and a candidate vehicle speed.

[0087] The preset extension step is the time variation amplitude value of each action extension. Based on the target front wheel angle and the target vehicle speed, the disclosed embodiment can obtain the variation range of the front wheel angle and the target vehicle speed within the preset extension step, thereby performing action combinations for all possible front wheel angles and vehicle speeds within the variation range, and obtaining a candidate action space including multiple candidate driving action data.

[0088] Specifically, in the embodiment of the present disclosure, after each vehicle action extension, one may be added to the action extension times before the vehicle action extension, so as to update the action extension times.

[0089] Optional, such as Figure 3The method shown, step 130 in the trajectory planning method provided by the embodiment of the present disclosure may specifically include:

[0090] S310, for any driving action data to be selected in the driving action space to be selected, using the target grid position data, the front wheel turning angle to be selected and the vehicle speed to be selected, determine the grid position data of the grid unit to be selected associated with the driving action data to be selected in the road grid map.

[0091] The disclosed embodiment can determine, based on the target grid position data, that the grid unit to which the vehicle travels under the conditions of the selected front wheel turning angle and the selected vehicle speed is the selected grid unit associated with the selected driving action data, thereby determining the selected grid position data of the selected grid unit on the road grid map.

[0092] S320 , using the candidate grid position data of each candidate grid unit, filter out the candidate driving action data associated with the candidate grid unit that is not in the target road map in the candidate action space to obtain the target action space.

[0093] Specifically, the disclosed embodiment can query the to-be-selected grid position data through the query function application program interface corresponding to the target road map to determine whether the to-be-selected grid unit corresponding to the to-be-selected grid position data is in the target road map; if so, retain the to-be-selected driving action data associated with the to-be-selected grid unit in the to-be-selected action space; if not, delete the to-be-selected driving action data associated with the to-be-selected grid unit in the to-be-selected action space.

[0094] The disclosed embodiment can ensure that the subsequently identified target grid cells are within the target road map by screening out the candidate driving action data associated with the candidate grid cells that are not within the target road map, thereby preventing the planned vehicle driving trajectory from exceeding the target road map and ensuring that the vehicle always drives on the target road along the vehicle driving trajectory.

[0095] S330 , using the target action space and the updated action expansion times, identifying the next corresponding target grid unit of the target vehicle.

[0096] The disclosed embodiment can utilize the candidate grid position data of the candidate grid cells associated with the candidate driving action data in the target action space and the updated action extension times to evaluate the cost of the vehicle traveling from each candidate grid cell to the end point of the road, thereby identifying the target grid cell in each candidate grid cell that is conducive to the vehicle quickly reaching the end point of the road.

[0097] The disclosed embodiment, through the action-expanded grid cells to be selected, as well as the screening and identification of the grid cells to be selected, can accurately identify the target grid cells that are within the target road map and are conducive to the vehicle's rapid travel to the end of the road, and help to subsequently plan a vehicle travel trajectory that is conducive to the vehicle's rapid travel from the starting point of the road to the end point of the road.

[0098] Optional, in the above Figure 3 On the basis of one or more corresponding embodiments, in another embodiment provided by the present disclosure, step S310 may specifically include: inputting the target grid position data, the selected front wheel steering angle and the selected vehicle speed into the vehicle kinematic model, and obtaining the selected grid position data of the selected grid unit associated with the selected driving action data output by the vehicle kinematic model in the road grid map.

[0099] If the target grid position data includes the target X-axis coordinate, the target Y-axis coordinate and the target vehicle heading angle, and the selected position data includes the selected X-axis coordinate, the selected Y-axis coordinate and the selected vehicle heading angle, then the vehicle kinematic model can be:

[0100] x2=x1+v2·cosθ1·T

[0101] y2=y1+v2·sinθ1·T

[0102]

[0103] Among them, x2 is the selected X-axis coordinate, y2 is the selected Y-axis coordinate, θ2 is the selected vehicle heading angle, x1 is the target X-axis coordinate, y1 is the target Y-axis coordinate, θ1 is the target vehicle heading angle, v2 is the selected vehicle speed, δ f2 is the front wheel turning angle to be selected, and L is the wheelbase of the target vehicle.

[0104] The disclosed embodiment uses a vehicle kinematic model to accurately calculate the candidate grid position data of the candidate grid unit in the road grid map, which is conducive to the subsequent screening of the candidate driving action data associated with the candidate grid units in the candidate action space that are not in the target road map, and the accurate identification of the target grid units.

[0105] Optional, based on Figure 3 The method shown, such as Figure 4 As shown, a flowchart of an implementation of step S300 in the trajectory planning method provided in an embodiment of the present disclosure is shown, and step S300 may specifically include:

[0106] S400: Determine the front wheel steering angle movement range of the target vehicle on the target grid unit according to a preset expansion step size by using the target front wheel steering angle and the front wheel steering angle speed of the target vehicle.

[0107] Specifically, the disclosed embodiment can multiply the vehicle's front wheel steering speed by a preset expansion step to obtain the maximum change in the front wheel steering angle of the target vehicle on the target grid unit, and determine the front wheel steering angle movement range of the target vehicle on the target grid unit based on the maximum change in the front wheel steering angle and the target front wheel steering angle.

[0108] For ease of understanding, an example is given here: assuming that the front wheel steering speed of the vehicle is 10° and the preset expansion step is 0.1 seconds, the maximum change in the front wheel steering angle calculated is 1°. If the target front wheel steering angle is 3°, the determined front wheel steering angle range is 2° to 4°.

[0109] S410: Determine the speed change range of the target vehicle on the target grid unit according to a preset expansion step size by using the target vehicle speed and the speed association parameter of the target vehicle.

[0110] The vehicle speed associated parameters may include a maximum vehicle acceleration and a maximum vehicle deceleration of the target vehicle.

[0111] In the disclosed embodiment, the maximum acceleration of the vehicle can be multiplied by a preset expansion step length to obtain the maximum acceleration of the target vehicle on the target grid unit. The maximum deceleration of the vehicle can be multiplied by a preset expansion step length to obtain the maximum deceleration of the target vehicle on the target grid unit. Based on the maximum acceleration, the maximum deceleration and the target vehicle speed, the speed change range of the target vehicle on the target grid unit is determined.

[0112] For ease of understanding, an example is given here: assuming that the maximum acceleration of the target vehicle on the target grid unit is 43 kilometers per hour, the maximum deceleration is 105 kilometers per hour, and the target speed is 200 kilometers per hour, the speed change range of the target vehicle on the target grid unit can be 95 kilometers per hour to 243 kilometers per hour.

[0113] Normally, the vehicle is set with a maximum speed and a minimum speed, and the speed change range does not exceed the speed interval of the maximum speed and the minimum speed. For example: Assume that the speed interval of the target vehicle is 0 kilometers per hour to 325 kilometers per hour. If the maximum acceleration of the target vehicle on the target grid unit is 43 kilometers per hour, the maximum deceleration is 105 kilometers per hour, and the target speed is 300 kilometers per hour, then the speed change range of the target vehicle on the target grid unit can be 195 kilometers per hour to 325 kilometers per hour. If the maximum acceleration of the target vehicle on the target grid unit is 43 kilometers per hour, the maximum deceleration is 105 kilometers per hour, and the target speed is 100 kilometers per hour, then the speed change range of the target vehicle on the target grid unit can be 0 kilometers per hour to 143 kilometers per hour.

[0114] S420: Perform action combinations within the front wheel turning angle action range and the vehicle speed change action range to obtain a candidate action space.

[0115] The action space to be selected is a set of possible front wheel angle and vehicle speed combinations obtained by expanding the vehicle action. For example, assuming that the front wheel angles to be selected obtained by expanding the vehicle action include front wheel angle A, front wheel angle B, and front wheel angle C, and the vehicle speeds to be selected include vehicle speed a, vehicle speed b, vehicle speed c, and vehicle speed d, then the action space to be selected obtained by action expansion includes 12 driving action data to be selected, namely, Aa, Ab, Ac, Ad, Ba, Bb, Bc, Bd, Ca, Cb, Cc, and Cd.

[0116] The disclosed embodiment uses the target front wheel angle and target vehicle speed, combined with the target vehicle's own front wheel angle rotation speed and vehicle speed-related parameters, to accurately define the target vehicle's front wheel angle action range and vehicle speed change action range on the target grid unit, thereby providing a reliable basis for the combined action in the selected driving action data, which is facilitating the subsequent accurate identification of the next corresponding target grid unit of the target vehicle.

[0117] Optional, based on Figure 3 The method shown, such as Figure 5 As shown, a flowchart of an implementation of step S330 in the trajectory planning method provided in an embodiment of the present disclosure is shown, and step S330 may specifically include:

[0118] S500 , for any candidate grid unit associated with the candidate driving action data in the target action space, using the candidate grid position data of the candidate grid unit and the updated action extension times, obtain the terminal cost value of the candidate grid unit.

[0119] The destination cost value represents the cost of the target vehicle traveling to the destination of the road on the corresponding grid unit to be selected. The smaller the destination cost value, the less time and shorter distance the target vehicle can spend on the corresponding grid unit to reach the destination of the road.

[0120] The disclosed embodiment can input the candidate grid position data of the candidate grid unit and the updated action expansion times into a preset endpoint cost evaluation model to obtain the endpoint cost value of the candidate grid unit output by the preset endpoint cost evaluation model, wherein the preset endpoint cost evaluation model can be composed of a set endpoint cost algorithm.

[0121] Optionally, the endpoint cost algorithm may be at least one of a hierarchical analysis algorithm, a grey correlation algorithm, an entropy weight method and a network analysis algorithm.

[0122] S510 , using the end point cost value of each to-be-selected grid cell, identifying the next corresponding target grid cell of the target vehicle in each to-be-selected grid cell.

[0123] The disclosed embodiment can identify the candidate grid cell with the smallest terminal cost value as the next corresponding target grid cell of the target vehicle. The disclosed embodiment can avoid exponential growth of data in the trajectory planning process and save computing resources by guiding with the smallest terminal cost value.

[0124] The disclosed embodiment can accurately identify the candidate grid cell with the lowest cost for the vehicle to travel to the end point of the road through the end point cost value of the candidate grid cell, providing a reliable basis for accurately identifying the target grid cell, which is conducive to planning the vehicle's driving trajectory for quickly traveling from the starting point of the road to the end point of the road.

[0125] Optional, in the above Figure 5 Based on one or more corresponding embodiments, step S500 may specifically include: using the to-be-selected grid position data of the to-be-selected grid cell and the preset distance weight, obtaining the terminal distance cost value of the to-be-selected grid cell. Using the updated action extension times and the preset time weight, obtaining the terminal time cost value of the to-be-selected grid cell. Using the terminal distance cost value and the terminal time cost value, obtaining the terminal cost value of the to-be-selected grid cell.

[0126] The terminal distance cost value represents the distance cost of the target vehicle traveling to the road terminal on the corresponding grid unit to be selected. The smaller the terminal distance cost value is, the shorter the distance the target vehicle can travel to reach the road terminal on the corresponding grid unit to be selected.

[0127] The destination time cost value represents the time cost of the target vehicle traveling to the destination of the road on the corresponding grid unit to be selected. The smaller the destination time cost value is, the less time the target vehicle can spend on the corresponding grid unit to reach the destination of the road.

[0128] The preset distance weight and the preset time weight may be positive real numbers. The disclosed embodiment may adjust the preset distance weight and the preset time weight according to the actual planning of the vehicle's driving trajectory, so as to more accurately plan a vehicle driving trajectory that is conducive to the vehicle's fast driving on the target road.

[0129] Specifically, the embodiment of the present disclosure can use the candidate grid position data of the candidate grid unit to determine the distance data of the candidate grid unit. The distance data and the updated action extension times are input into the formula:

[0130] J1=ω1·N

[0131] J2=ω2·d n

[0132] cost=J1+J2

[0133] Get the endpoint cost value of the selected grid cell, where cost is the endpoint cost value of the selected grid cell, J1 is the endpoint time cost value, J2 is the endpoint distance cost value, ω1 is the preset time weight, N is the updated action extension times, ω2 is the preset distance weight, d n The distance data.

[0134] Specifically, the embodiment of the present disclosure can use the two-dimensional position coordinates in the candidate grid position data of the candidate grid unit to query the distance data from the two-dimensional position coordinates to the road end point of the target road map, and use the distance data and the preset distance weight to obtain the end point distance cost value of the candidate grid unit.

[0135] The disclosed embodiment uses preset distance weights and preset time weights to evaluate the driving goal of a vehicle quickly reaching the end of the road from a candidate grid cell using distance and time as cost indicators, and can obtain a reliable end point cost value of the candidate grid cell, which is conducive to the subsequent accurate identification of the target grid cell, thereby planning a vehicle driving trajectory that allows the vehicle to quickly travel on the target road.

[0136] In actual vehicle driving situations (for example, real racing or high-fidelity racing games), it is necessary to prevent the vehicle from becoming unstable during driving to ensure safe driving of the vehicle.

[0137] Optional, based on Figure 3 The method shown, such as Figure 6 As shown, a flow chart of another implementation of the trajectory planning method provided by an embodiment of the present disclosure is shown. Before step S320, the method may further include:

[0138] S600: for any driving action data to be selected in the driving action space to be selected, using the driving action data to be selected and vehicle technical parameters of the target vehicle, determine whether the driving action data to be selected corresponds to a vehicle instability action, and obtain an instability determination result of the driving action data to be selected.

[0139] Optionally, as can be seen from the above embodiments, the vehicle technical parameters may include the vehicle wheelbase, the vehicle mass and the tire adhesion ellipse limit threshold, and the selected driving action data may include the selected front wheel steering angle and the selected vehicle speed. The disclosed embodiment may use the vehicle wheelbase, the vehicle mass, the selected front wheel steering angle, the selected vehicle speed and the tire adhesion ellipse limit threshold to determine whether the selected driving action data corresponds to a vehicle instability action.

[0140] The disclosed embodiment can use the vehicle wheelbase and the selected front wheel turning angle to obtain the turning radius of the target vehicle under the selected driving action data. Use the turning radius, vehicle mass and the selected vehicle speed to obtain the tire cornering force of the target vehicle under the selected driving action data. Use the selected vehicle speed, the preset extension step, the vehicle mass and the target vehicle speed in the target driving action data to obtain the tire longitudinal force of the target vehicle under the selected driving action data. Use the tire cornering force, the tire longitudinal force and the preset amplification factor to obtain the tire adhesion ellipse value. Compare the tire adhesion ellipse value with the tire adhesion ellipse limit threshold, and determine that the selected driving action data corresponding to the tire adhesion ellipse value that exceeds the tire adhesion ellipse limit threshold corresponds to the vehicle instability action.

[0141] Specifically, based on the steering geometry principle, the embodiment of the present disclosure can input the vehicle wheelbase and the selected front wheel steering angle into the following formula:

[0142]

[0143] Obtain the turning radius of the target vehicle under the selected driving action data, where R is the turning radius, L is the vehicle wheelbase, and δ f2 is the front wheel turning angle to be selected.

[0144] Specifically, ignoring other lateral forces such as lateral wind, and when the tires of the vehicle are consistent and in neutral steering, the embodiment of the present disclosure may input the turning radius, the vehicle mass, and the selected vehicle speed into the following formula:

[0145]

[0146] Obtain the tire cornering force of the target vehicle under the selected driving action data, where F 侧 is the tire cornering force, F Y is the lateral force of the vehicle, E is the number of tires of the vehicle, m is the mass of the vehicle, v2 is the speed to be selected, and R is the turning radius. It can be understood that the number of tires of the vehicle is usually 4.

[0147] Specifically, when the longitudinal forces of the tires of the vehicles are consistent, the embodiment of the present disclosure may input the selected vehicle speed, the preset extension step length, the vehicle mass, and the target vehicle speed in the target driving action data into the following formula:

[0148]

[0149] Obtain the tire longitudinal force of the target vehicle under the selected driving action data, where F 纵 is the tire longitudinal force, F X is the longitudinal force of the vehicle, a X is the longitudinal acceleration of the vehicle, E is the number of tires, m is the mass of the vehicle, v2 is the selected speed, v1 is the target speed, and T is the preset expansion step.

[0150] Specifically, the embodiment of the present disclosure calculates the tire resultant force value of the tire cornering force and the tire longitudinal force, and multiplies the tire resultant force value by a preset amplification factor to obtain the tire adhesion ellipse value.

[0151] Optionally, as can be seen from the above embodiments, the vehicle technical parameters may include the vehicle wheelbase and the vehicle rollover threshold, and the selected driving action data may include the selected front wheel turning angle and the selected vehicle speed. The disclosed embodiments may use the vehicle wheelbase, the vehicle rollover threshold, the selected front wheel turning angle and the selected vehicle speed to determine whether the selected driving action data corresponds to a vehicle instability action.

[0152] The disclosed embodiment can use the vehicle wheelbase and the selected front wheel turning angle to obtain the turning radius of the target vehicle under the selected driving action data. Use the turning radius and the selected vehicle speed to obtain the vehicle lateral acceleration of the target vehicle under the selected driving action data. Compare the vehicle lateral acceleration with the vehicle rollover threshold, and determine that the selected driving action data corresponding to the vehicle lateral acceleration exceeding the vehicle rollover threshold corresponds to the vehicle instability action.

[0153] Specifically, the embodiment of the present disclosure may input the turning radius and the selected vehicle speed into the following formula:

[0154]

[0155] Obtain the lateral acceleration of the target vehicle under the selected driving action data, where a Y is the lateral acceleration of the vehicle, R is the turning radius, and v2 is the speed to be selected.

[0156] Optionally, the disclosed embodiment may determine that the corresponding to-be-selected driving action data corresponds to a vehicle instability action when the tire adhesion ellipse value exceeds the tire adhesion ellipse limit threshold, and / or the vehicle lateral acceleration exceeds the vehicle rollover threshold.

[0157] S610: Filter out the to-be-selected driving action data corresponding to the vehicle instability action in the to-be-selected action space by using the instability determination result of each to-be-selected driving action data.

[0158] The disclosed embodiment filters out the candidate driving actions corresponding to the vehicle instability actions in the candidate action space, and can plan a vehicle driving trajectory that avoids the vehicle instability problem. While ensuring that the vehicle can drive safely along the vehicle driving trajectory, the vehicle can maintain a high speed on the target road and quickly reach the end of the road.

[0159] In order to facilitate the understanding of the overall planning process of the trajectory planning method provided by the embodiment of the present disclosure, an example is given here to illustrate: confirm the initial search node in the road grid map, and establish the initial search node and the vehicle state data (x0, y0, θ0, δf0 ,v0). Input the initial search node into the expansion list. Perform action expansion on the adjacent nodes of the node input into the expansion list, with the input node as the parent node (x1,y1,θ1,δ f1 ,v1), the adjacent node expanded to is the child node (x2,y2,θ2,δ f2 ,v2), update the child nodes obtained after screening to the open list. If the same child node already exists in the open list (that is, the grid position data (x, y, θ) is the same), and the terminal cost value of the new child node is less than the terminal cost value of the atomic node, then update the vehicle status data, terminal cost value and its corresponding parent node associated with the child node. Select the node with the smallest terminal cost value in the open list, and determine whether the node is the road terminal node. If not, enter the node into the extended list. If yes, confirm the node as the terminal node, query the parent node of the terminal node, and then query the parent node of the parent node of the terminal node..., and so on, query the parent node along the terminal node until backtracking to the initial search node, and obtain a node list consisting of the searched nodes from the initial search node to the terminal node. Take the nodes in the node list as trajectory points, sort the trajectory points according to the search order, and you can plan the vehicle driving trajectory.

[0160] The trajectory planning method provided by the disclosed embodiment no longer refers to the lane line for vehicle driving trajectory planning, but is based on the goal of facilitating the vehicle to drive to the end point as quickly as possible on the target road. Through the vehicle's front wheel angle, vehicle speed, and the number of action extensions, path planning and speed planning are performed simultaneously, so that the vehicle can still maintain a high speed when turning. In the process of trajectory planning, the instability judgment can effectively avoid the vehicle instability problem under extreme driving conditions and ensure the safe driving of the vehicle. In the process of trajectory planning, road constraints are also considered to prevent the vehicle from driving off the road.

[0161] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.

[0162] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0163] Corresponding to the above method embodiment, the present disclosure also provides a trajectory planning device, whose structure is as follows: Figure 7As shown, it may include: a target grid unit determination unit 10, a target vehicle state data acquisition unit 20, an action expansion unit 30, a target grid unit identification unit 40 and a trajectory planning unit 50.

[0164] The target grid unit determination unit 10 is used to determine the target grid unit corresponding to the current position of the target vehicle in the road grid map, wherein the road grid map is a search space constructed for the target road map based on the two-dimensional coordinate position dimension and the vehicle heading angle dimension, and the search space is composed of multiple grid units.

[0165] The target vehicle state data obtaining unit 20 is used to obtain the target vehicle state data associated with the target grid unit, wherein the target vehicle state data includes the target grid position data of the target grid unit in the road grid map and the target driving action data of the target vehicle on the target grid unit, and the target driving action data includes the target front wheel turning angle and the target vehicle speed.

[0166] The action expansion unit 30 is used to expand the action of the target grid unit by using the target front wheel steering angle and the target vehicle speed to obtain the candidate action space of the target grid unit.

[0167] The target grid unit identification unit 40 is used to identify the next corresponding target grid unit of the target vehicle by using the candidate action space and the target grid position data.

[0168] The trajectory planning unit 50 is used to perform trajectory planning using a plurality of target grid units to obtain a vehicle driving trajectory of a target vehicle on a target road map.

[0169] Optionally, the action expansion unit 30 can be specifically used to utilize the target front wheel angle and the target vehicle speed to perform action expansion on the target grid unit according to a preset expansion step, obtain a selected action space, and update the number of action expansions, wherein the selected action space includes a plurality of selected driving action data, and the selected driving action data includes a selected front wheel angle and a selected vehicle speed.

[0170] Optionally, the target grid unit identification unit 40 may include: a to-be-selected grid position data determination subunit, a target action space acquisition subunit and a target grid unit identification subunit.

[0171] The subunit for determining the grid position data to be selected is used to determine the grid position data of the grid unit to be selected associated with any driving action data to be selected in the driving action space to be selected, using the target grid position data, the front wheel turning angle to be selected and the vehicle speed to be selected, in the road grid map.

[0172] The target action space acquisition subunit is used to use the candidate grid position data of each candidate grid unit to filter out the candidate driving action data associated with the candidate grid unit that is not in the target road map in the candidate action space to obtain the target action space.

[0173] The target grid unit identification subunit is used to identify the next corresponding target grid unit of the target vehicle by using the target action space and the updated action expansion times.

[0174] Optionally, the subunit for determining the grid position data to be selected can be specifically used to input the target grid position data, the front wheel turning angle to be selected and the vehicle speed to be selected into the vehicle kinematic model, and obtain the grid position data of the selected grid unit in the road grid map output by the vehicle kinematic model and associated with the driving action data to be selected.

[0175] Optionally, the action extension unit 30 can be specifically used to determine the front wheel angle action range of the target vehicle on the target grid unit according to a preset extension step size using the target front wheel angle and the front wheel angle speed of the target vehicle; determine the speed change action range of the target vehicle on the target grid unit according to a preset extension step size using the target vehicle speed and the vehicle speed-related parameters of the target vehicle; and perform action combinations within the front wheel angle action range and the vehicle speed change action range to obtain a selected action space.

[0176] Optionally, the target grid unit identification sub-unit can be specifically used to obtain the terminal cost value of the selected grid unit for any selected grid unit associated with the selected driving action data in the target action space using the selected grid position data of the selected grid unit and the updated number of action extensions; and use the terminal cost value of each selected grid unit to identify the next corresponding target grid unit of the target vehicle in each selected grid unit.

[0177] Optionally, the target grid cell identification subunit can be specifically used to determine the distance data of the candidate grid cell using the candidate grid position data of the candidate grid cell. The distance data and the updated action extension times are input into the formula:

[0178] J1=ω1·N

[0179] J2=ω2·d n

[0180] cost=J1+J2

[0181] Get the endpoint cost value of the selected grid cell, where cost is the endpoint cost value of the selected grid cell, J1 is the endpoint time cost value, J2 is the endpoint distance cost value, ω1 is the preset time weight, N is the updated action extension times, ω2 is the preset distance weight, d n The distance data.

[0182] Optionally, the target grid unit identification unit 40 may further include: a vehicle instability action determination subunit and a vehicle instability action screening subunit.

[0183] The vehicle instability action determination subunit is used for the target action space acquisition subunit to use the candidate grid position data of each candidate grid unit to screen out the candidate driving action data associated with the candidate grid unit that is not in the target road map in the candidate action space. Before obtaining the target action space, for any candidate driving action data in the candidate action space, use the candidate driving action data and the vehicle technical parameters of the target vehicle to determine whether the candidate driving action data corresponds to a vehicle instability action, and obtain the instability determination result of the candidate driving action data.

[0184] The vehicle instability action screening subunit is used to use the instability determination result of each to-be-selected driving action data to screen out the to-be-selected driving action data corresponding to the vehicle instability action in the to-be-selected action space.

[0185] The present disclosure provides a trajectory planning device, which determines a target grid unit corresponding to a current position of a target vehicle in a road grid map, wherein the road grid map is a search space constructed for a target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and the search space is composed of a plurality of grid units; obtains target vehicle state data associated with the target grid unit, wherein the target vehicle state data includes target grid position data of the target grid unit in the road grid map and target driving action data of the target vehicle on the target grid unit, and the target driving action data includes a target front wheel turning angle and a target vehicle speed; uses the target front wheel turning angle and the target vehicle speed to perform action expansion on the target grid unit to obtain a candidate action space of the target grid unit; uses the candidate action space and the target grid position data to identify a next corresponding target grid unit of the target vehicle; and uses a plurality of target grid units to perform trajectory planning to obtain a vehicle driving trajectory of the target vehicle on the target road map. The present invention constructs a road grid map for a target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and sequentially identifies target grid cells that are conducive to the rapid driving of the vehicle on the target road through a candidate action space expanded by the front wheel turning angle and vehicle speed action of the vehicle, thereby planning a corresponding vehicle driving trajectory, so that the vehicle can maintain a high speed on the target road along the vehicle driving trajectory, so as to quickly reach the end of the road.

[0186] Regarding the device in the above embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0187] The trajectory planning device includes a processor and a memory. The target grid unit determination unit 10, the target vehicle status data acquisition unit 20, the action expansion unit 30, the target grid unit identification unit 40 and the trajectory planning unit 50 are all stored in the memory as program units, and the processor executes the above program units stored in the memory to realize the corresponding functions.

[0188] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters are adjusted to construct a road grid map for the target road map based on the two-dimensional coordinate position dimension and the vehicle heading angle dimension. The target grid units that are conducive to the vehicle's rapid driving on the target road are identified in turn through the candidate action space expanded by the front wheel turning angle and vehicle speed action of the vehicle, thereby planning the corresponding vehicle driving trajectory, so that the vehicle can maintain a high speed on the target road along the vehicle driving trajectory, so as to quickly reach the end of the road.

[0189] An embodiment of the present disclosure provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the trajectory planning method is implemented.

[0190] An embodiment of the present disclosure provides a processor, which is used to run a program, wherein the trajectory planning method is executed when the program is run.

[0191] like Figure 8 As shown, an embodiment of the present disclosure provides an electronic device 1000, which includes at least one processor 1001, and at least one memory 1002 and a bus 1003 connected to the processor 1001; wherein the processor 1001 and the memory 1002 communicate with each other through the bus 1003; the processor 1001 is used to call the program instructions in the memory 1002 to execute the above-mentioned trajectory planning method. The electronic device in this article can be a server, a PC, a PAD, a mobile phone, an ECU (Electronic Control Unit), a VCU (Vehicle Control Unit), an MCU (Micro Controller Unit), an HCU (Hybrid Control Unit), etc.

[0192] The present disclosure also provides a computer program product, which, when executed on an electronic device, is suitable for executing a program that initializes the steps of the trajectory planning method.

[0193] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, apparatuses, electronic devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processor of the computer or other programmable device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0194] In a typical configuration, an electronic device includes one or more processors (CPU), a memory, and a bus. The electronic device may also include an input / output interface, a network interface, and the like.

[0195] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.

[0196] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0197] In the description of the present disclosure, it should be understood that the terms "up", "down", "front", "back", "left" and "right" etc. indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description. They do not indicate or imply that the positions or elements referred to must have specific directions, be constructed and operate in specific directions. Therefore, they should not be understood as limitations of the present disclosure.

[0198] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0199] It will be appreciated by those skilled in the art that the embodiments of the present disclosure may be provided as methods, systems or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0200] The above are only embodiments of the present disclosure and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the scope of the claims of the present disclosure.

Claims

1. A trajectory planning method, characterized in that: include: Determine a target grid cell corresponding to the current position of the target vehicle in a road grid map, wherein the road grid map is a search space constructed for a target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and the search space is composed of a plurality of grid cells; Obtaining target vehicle state data associated with the target grid unit, wherein the target vehicle state data includes target grid position data of the target grid unit in the road grid map and target driving action data of the target vehicle on the target grid unit, and the target driving action data includes a target front wheel turning angle and a target vehicle speed; Using the target front wheel steering angle and the target vehicle speed, the target grid unit is action expanded to obtain a candidate action space of the target grid unit; Using the candidate action space and the target grid position data, identifying the next corresponding target grid unit of the target vehicle; Trajectory planning is performed using a plurality of the target grid units to obtain a vehicle driving trajectory of the target vehicle on the target road map.

2. The method according to claim 1, characterized in that The step of performing action expansion on the target grid unit by using the target front wheel turning angle and the target vehicle speed to obtain a candidate action space of the target grid unit includes: Using the target front wheel steering angle and the target vehicle speed, the target grid unit is action-expanded according to a preset extension step to obtain a candidate action space, and the action extension times are updated, wherein the candidate action space includes a plurality of candidate driving action data, and the candidate driving action data includes a candidate front wheel steering angle and a candidate vehicle speed; The step of using the candidate action space and the target grid position data to identify the next corresponding target grid unit of the target vehicle includes: For any of the to-be-selected driving action data in the to-be-selected action space, using the target grid position data, the to-be-selected front wheel turning angle and the to-be-selected vehicle speed, determine the to-be-selected grid position data of the to-be-selected grid unit associated with the to-be-selected driving action data in the road grid map; Using the candidate grid position data of each candidate grid unit, the candidate driving action data associated with the candidate grid unit that is not in the target road map is filtered out in the candidate action space to obtain a target action space; The target action space and the updated action expansion times are used to identify the next corresponding target grid unit of the target vehicle.

3. The method according to claim 2, characterized in that The method of determining the target grid position data, the front wheel turning angle to be selected and the vehicle speed to be selected, and the grid position data to be selected of the grid unit to be selected and associated with the driving action data to be selected in the road grid map, comprises: The target grid position data, the to-be-selected front wheel steering angle and the to-be-selected vehicle speed are input into a vehicle kinematics model to obtain the to-be-selected grid position data of the to-be-selected grid unit associated with the to-be-selected driving action data output by the vehicle kinematics model in the road grid map.

4. The method according to claim 2, characterized in that: The step of using the target front wheel turning angle and the target vehicle speed to perform action expansion on the target grid unit according to a preset expansion step to obtain a candidate action space includes: Determine the front wheel steering angle movement range of the target vehicle on the target grid unit according to a preset expansion step length by using the target front wheel steering angle and the front wheel steering angle speed of the target vehicle; Determining the speed change range of the target vehicle on the target grid unit according to the preset expansion step length by using the target vehicle speed and the vehicle speed association parameter of the target vehicle; Action combinations are performed within the front wheel turning angle action range and the vehicle speed change action range to obtain a selectable action space.

5. The method according to claim 2, characterized in that: The step of using the target action space and the updated action expansion times to identify a next corresponding target grid unit of the target vehicle includes: For any of the candidate grid cells associated with the candidate driving action data in the target action space, using the candidate grid position data of the candidate grid cell and the updated action extension times, obtain the terminal cost value of the candidate grid cell; The destination cost value of each of the to-be-selected grid cells is used to identify the next corresponding target grid cell of the target vehicle in each of the to-be-selected grid cells.

6. The method according to claim 5, characterized in that The step of obtaining the end point cost value of the to-be-selected grid unit by using the to-be-selected grid position data of the to-be-selected grid unit and the updated action extension times includes: Determine the distance data of the to-be-selected grid cell by using the to-be-selected grid position data of the to-be-selected grid cell; The distance data and the updated action extension times are input into the formula: J1=ω1·N J2=ω2·d n cost=J1+J2 Obtain the endpoint cost value of the selected grid unit, where cost is the endpoint cost value of the selected grid unit, J1 is the endpoint time cost value, J2 is the endpoint distance cost value, ω1 is the preset time weight, N is the updated action extension times, ω2 is the preset distance weight, d n is the distance data.

7. The method according to any one of claims 2 to 6, characterized in that Before obtaining the target action space by using the to-be-selected grid position data of each to-be-selected grid cell and filtering out the to-be-selected driving action data associated with the to-be-selected grid cell that is not in the target road map in the to-be-selected action space, the method further includes: For any of the to-be-selected driving action data in the to-be-selected action space, using the to-be-selected driving action data and the vehicle technical parameters of the target vehicle, determining whether the to-be-selected driving action data corresponds to a vehicle instability action, and obtaining an instability determination result of the to-be-selected driving action data; The instability determination result of each of the to-be-selected driving action data is used to filter out the to-be-selected driving action data corresponding to the vehicle instability action in the to-be-selected action space.

8. A trajectory planning device, characterized in that: include: target grid unit determination unit, target vehicle status data acquisition unit, action expansion unit, target grid unit identification unit and trajectory planning unit, The target grid unit determination unit is used to determine the target grid unit corresponding to the current position of the target vehicle in the road grid map, wherein the road grid map is a search space constructed for the target road map based on a two-dimensional coordinate position dimension and a vehicle heading angle dimension, and the search space is composed of a plurality of grid units; The target vehicle state data obtaining unit is used to obtain the target vehicle state data associated with the target grid unit, wherein the target vehicle state data includes the target grid position data of the target grid unit in the road grid map and the target driving action data of the target vehicle on the target grid unit, and the target driving action data includes the target front wheel turning angle and the target vehicle speed; The action expansion unit is used to expand the action of the target grid unit by using the target front wheel turning angle and the target vehicle speed to obtain a candidate action space of the target grid unit; The target grid unit identification unit is used to identify the next corresponding target grid unit of the target vehicle by using the candidate action space and the target grid position data; The trajectory planning unit is used to perform trajectory planning using the plurality of target grid units to obtain a vehicle driving trajectory of the target vehicle on the target road map.

9. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the trajectory planning method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: The electronic device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call the program instructions in the memory to execute the trajectory planning method as described in any one of claims 1 to 7.