Vehicle-based driving track determination method and device, equipment and storage medium

By obtaining vehicle information and environmental information, and optimizing driving trajectory based on neural network models, the problem of difficulty in taking into account safety and personification in complex environments in existing technologies is solved, and more accurate driving trajectory planning is achieved, improving the safety of autonomous driving .

CN118877017APending Publication Date: 2024-11-01BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411088204.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Existing autonomous driving technology is difficult to take into account the safety, comfort, efficiency and personified driving trajectory planning of vehicles in complex road environments, especially in the presence of obstacles, which are prone to traffic accidents.

Method used

By obtaining the vehicle's driving information and environmental information, the initial driving trajectory is determined based on the preset heuristic trajectory, and it is adjusted through the neural network model to generate a more accurate target driving trajectory to avoid obstacles and achieve trajectory optimization.

Benefits of technology

It improves the accuracy of the determination of driving trajectory, improves the driving safety of the vehicle, and ensures that safe and efficient driving in complex road environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118877017A_ABST
    Figure CN118877017A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle-based driving track determination method and device, equipment and a storage medium, and relates to the field of artificial intelligence, in particular to the field of automatic driving. According to the specific implementation scheme, driving information and vehicle environment information of a vehicle are obtained; the driving information represents the driving condition of the vehicle, and the vehicle environment information represents the information of a road where the vehicle is located; determining an initial driving track based on a preset heuristic track according to the driving information and the vehicle environment information; the heuristic track is a reference of a vehicle driving track, and the initial driving track represents a driving track planned on a preset reference of the heuristic track; adjusting the initial driving track according to the driving information and the vehicle environment information to obtain a target driving track of the vehicle; the target driving track is used for indicating vehicle driving. The initial driving track is generated on the basis of the heuristic track, and the initial driving track is adjusted, so that the determination precision of the target driving track is improved, and the driving safety of the vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence, and in particular to a method, device, equipment and storage medium for determining a vehicle's driving trajectory, which can be used in the field of autonomous driving. Background Art

[0002] With the development of autonomous driving technology, a vehicle can automatically generate a driving trajectory when driving on the road, so that the vehicle can drive automatically according to the driving trajectory. However, there may be various obstacles on the road, such as signboards and pedestrians. If the generated driving trajectory passes through obstacles, it is easy to cause traffic accidents.

[0003] Therefore, it is necessary to generate a more accurate driving trajectory based on the actual road conditions to improve the driving safety of the vehicle. Summary of the invention

[0004] The present disclosure provides a method, device, equipment and storage medium for determining a driving trajectory based on a vehicle.

[0005] According to a first aspect of the present disclosure, a method for determining a driving trajectory based on a vehicle is provided, comprising:

[0006] Acquire driving information and vehicle environment information of the vehicle; wherein the driving information represents the driving condition of the vehicle, and the vehicle environment information represents the information of the road on which the vehicle is located;

[0007] According to the driving information and the vehicle environment information, an initial driving trajectory is determined based on a preset heuristic trajectory; wherein the preset heuristic trajectory is a reference of the vehicle driving trajectory, and the initial driving trajectory represents a driving trajectory planned on the basis of the preset heuristic trajectory;

[0008] The initial driving trajectory is adjusted according to the driving information and the vehicle environment information to obtain a target driving trajectory of the vehicle; wherein the target driving trajectory is used to indicate vehicle driving.

[0009] According to a second aspect of the present disclosure, a vehicle-based driving trajectory determination device is provided, comprising:

[0010] An information acquisition unit, used to acquire driving information and vehicle environment information of the vehicle; wherein the driving information represents the driving condition of the vehicle, and the vehicle environment information represents the information of the road on which the vehicle is located;

[0011] An initial determination unit, configured to determine an initial driving trajectory based on a preset heuristic trajectory according to the driving information and the vehicle environment information; wherein the preset heuristic trajectory is a reference of the vehicle driving trajectory, and the initial driving trajectory represents a driving trajectory planned on the basis of the preset heuristic trajectory;

[0012] A target determination unit is used to adjust the initial driving trajectory according to the driving information and the vehicle environment information to obtain a target driving trajectory of the vehicle; wherein the target driving trajectory is used to indicate vehicle driving.

[0013] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0014] at least one processor; and

[0015] a memory communicatively coupled to the at least one processor;

[0016] 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 described in the first aspect of the present disclosure.

[0017] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method according to the first aspect of the present disclosure.

[0018] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, which implements the steps of the method described in the first aspect of the present disclosure when executed by a processor.

[0019] According to the technology disclosed in the present invention, the accuracy of determining the driving trajectory is improved, thereby improving the driving safety of the vehicle.

[0020] 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 disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0022] Figure 1 It is a flowchart of a method for determining a driving trajectory based on a vehicle provided in an embodiment of the present disclosure;

[0023] Figure 2 It is a flowchart of a method for determining a driving trajectory based on a vehicle provided in an embodiment of the present disclosure;

[0024] Figure 3 is a schematic diagram of a sampling trajectory provided according to an embodiment of the present disclosure;

[0025] Figure 4is a schematic diagram of screening out sampling trajectories provided according to an embodiment of the present disclosure;

[0026] Figure 5 It is a flowchart of a method for determining a driving trajectory based on a vehicle provided in an embodiment of the present disclosure;

[0027] Figure 6 is a structural schematic diagram of a trajectory generation model provided according to an embodiment of the present disclosure;

[0028] Figure 7 It is a structural block diagram of a vehicle-based driving trajectory determination device provided according to an embodiment of the present disclosure;

[0029] Figure 8 It is a structural block diagram of a vehicle-based driving trajectory determination device provided according to an embodiment of the present disclosure;

[0030] Fig. 9 is a block diagram of an electronic device for implementing the vehicle-based driving trajectory determination method according to an embodiment of the present disclosure;

[0031] Fig.10 It is a block diagram of an electronic device used to implement the vehicle-based driving trajectory determination method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0032] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure 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 may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0033] Trajectory planning is a crucial part of the autonomous driving technology system. It determines how the vehicle can drive safely and efficiently in a complex and ever-changing urban road environment, ensuring that the vehicle can flexibly respond to various emergencies and complex road conditions while complying with driving rules. Therefore, trajectory planning, as one of the key technologies for realizing autonomous driving, needs to be able to provide a safe, comfortable, efficient and human-like driving trajectory for autonomous vehicles.

[0034] The current trajectory planning schemes are difficult to take into account the safety, comfort, efficiency and anthropomorphism requirements of autonomous driving. For example, the current trajectory planning schemes can be divided into two technical schemes: rule-based and learning-based. Although the rule-based technical scheme can explicitly guarantee the safety and comfort of the trajectory through a large number of strategies, there are too many hyperparameters in the system, resulting in poor generalization, and the planned path is quite different from the human driving style, which often runs into difficulties in scenarios of interaction with social vehicles. The learning-based technical scheme can use a large amount of human driver data for training, and the planning results will be more anthropomorphic, but it simply imitates the human driving trajectory and cannot explicitly guarantee the safety of the trajectory.

[0035] The present disclosure provides a vehicle-based driving trajectory determination method, device, equipment and storage medium, which are applied to the field of autonomous driving in the field of artificial intelligence to improve the determination accuracy of the vehicle's driving trajectory, thereby improving the safety of vehicle driving.

[0036] It should be noted that the model in this embodiment is not a model for a specific user and cannot reflect the personal information of a specific user. It should be noted that the data in this embodiment comes from a public data set.

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

[0038] In order to enable readers to more deeply understand the implementation principle of the present disclosure, the following Figure 1-Figure 10 The embodiment is further refined.

[0039] Figure 1 FIG. 1 is a flow chart of a method for determining a vehicle's driving trajectory according to an embodiment of the present disclosure. The method can be performed by a device for determining a vehicle's driving trajectory. Figure 1 As shown, the method comprises the following steps:

[0040] S101. Acquire driving information and vehicle environment information of a vehicle; wherein the driving information represents the driving condition of the vehicle, and the vehicle environment information represents information of the road on which the vehicle is located.

[0041] Exemplarily, the vehicle can perform automatic driving on the road according to the generated driving trajectory. When it is necessary to generate the driving trajectory, the driving information and vehicle environment information of the vehicle can be obtained in real time or periodically. The driving information can represent the driving condition of the vehicle, for example, it can include information such as the location and speed of the vehicle, and the switch of the turn signal. The vehicle environment information can represent the relevant information of the road where the vehicle is located, for example, it can include relevant information such as the length, width, number of lanes, and obstacles on the road.

[0042] The vehicle may be equipped with various sensor devices, such as speed sensors and cameras. These devices may be used to obtain driving information and vehicle environment information. When the vehicle is driving on the road, it may continuously obtain driving information and vehicle environment information, thereby generating a new driving trajectory. Each time the vehicle completes a driving trajectory, the driving trajectory may be stored as a historical driving trajectory.

[0043] S102, determining an initial driving trajectory based on a preset heuristic trajectory according to the driving information and the vehicle environment information; wherein the preset heuristic trajectory is a reference of the vehicle driving trajectory, and the initial driving trajectory represents a driving trajectory planned on the basis of the preset heuristic trajectory.

[0044] For example, each time the vehicle determines a new driving trajectory, it predetermines a heuristic trajectory. The heuristic trajectory is a reference for determining a new driving trajectory, that is, it is necessary to generate a final driving trajectory based on the heuristic trajectory. The current position of the vehicle is the starting point of the heuristic trajectory, that is, the vehicle can travel along the heuristic trajectory without performing trajectory planning.

[0045] The heuristic trajectory can be a pre-planned trajectory or a historical driving trajectory generated in a historical time period. For example, the actual driving trajectory of the vehicle in the historical time period can be used as the heuristic trajectory. Each time the vehicle generates a driving trajectory, it can first obtain a fixed heuristic fixed, or it can obtain a different historical driving trajectory each time as the heuristic trajectory for this time.

[0046] After obtaining the heuristic trajectory, one or more driving trajectories can be planned based on the heuristic trajectory according to the driving information and the vehicle environment information as the initial driving trajectory. That is, the initial driving trajectory is a driving trajectory planned on the basis of the heuristic trajectory. For example, multiple initial driving trajectories can be generated within a certain range on the left and right sides of the heuristic trajectory according to the driving information and the vehicle environment information. The starting point of the initial driving trajectory is the same as the starting point of the heuristic trajectory, which is the current position of the vehicle. Through three-dimensional search, a coordinate point located near the heuristic trajectory can be determined within a certain range in front of the vehicle as the end point of the initial driving trajectory. The starting point and the end point are connected to obtain the initial driving trajectory. Alternatively, on the basis of the heuristic trajectory, the position where there is an obstacle in the heuristic trajectory is detoured to obtain the initial driving trajectory.

[0047] Vehicles need to comply with certain rules when driving on the road, for example, vehicles need to drive on the right, turn on the turn signal when turning, etc. In this embodiment, an initial driving trajectory can also be generated based on the heuristic trajectory according to preset rules, so that the initial driving trajectory can explicitly ensure driving safety.

[0048] S103, adjusting the initial driving trajectory according to the driving information and the vehicle environment information to obtain a target driving trajectory of the vehicle; wherein the target driving trajectory is used to indicate vehicle driving.

[0049] For example, after obtaining the initial driving trajectory, the initial driving trajectory can be adjusted based on the driving information and the vehicle environment information to obtain the final target driving trajectory, so that the vehicle can automatically drive according to the target driving trajectory. After obtaining the target driving trajectory, the target driving trajectory can be stored and used as a new historical driving trajectory. When the vehicle performs trajectory planning next time, the new historical driving trajectory can be used as an inspiration trajectory to obtain a new target driving trajectory.

[0050] According to the driving information and the vehicle environment information, multiple initial driving trajectories can be aggregated to obtain a target driving trajectory. For example, the width of the road and the location of obstacles can be determined according to the driving information and the vehicle environment information, and within the width of the road, multiple driving trajectories can be aggregated into a target driving trajectory that can avoid obstacles. Alternatively, a neural network model can be pre-trained, and the driving information, the vehicle environment information, and multiple initial driving trajectories can be input into the model to output the target driving trajectory. In this embodiment, the model structure is not specifically limited.

[0051] When determining the initial driving trajectory, a three-dimensional search can be performed based on the heuristic trajectory to obtain the initial driving trajectory. When determining the target driving trajectory, a pre-trained neural network model can be used to implement joint trajectory planning of three-dimensional search and neural network model, so as to deal with the problems of multi-obstacle decision-making conflicts, unclear trajectory intentions and weak anthropomorphism in unmanned driving decision-making planning, improve the ability of unmanned vehicle trajectory planning under urban road conditions, and meet the needs of autonomous driving.

[0052] In the disclosed embodiment, by obtaining the driving information and vehicle environment information of the vehicle, a three-dimensional search can be performed on the basis of the heuristic trajectory to obtain one or more initial driving trajectories. The initial driving trajectory is then adjusted according to the driving information and vehicle environment information to obtain the final target driving trajectory. The two trajectory planning processes are implemented to jointly optimize the trajectory, effectively improve the determination accuracy of the target driving trajectory, and thus improve the safety of the vehicle on the road.

[0053] Figure 2 A flow chart of a method for determining a driving trajectory based on a vehicle provided in an embodiment of the present disclosure.

[0054] In this embodiment, the vehicle environment information includes layout information and obstacle information of the road, the obstacles in the road include static obstacles and dynamic obstacles, and the obstacle information includes position information of static obstacles and motion trajectory of dynamic obstacles; according to the driving information and the vehicle environment information, the initial driving trajectory is determined based on the preset heuristic trajectory, including: according to the driving information, the layout information, and the position information of the static obstacles, based on the preset heuristic trajectory, multiple sampling trajectories are determined; wherein the starting point of the sampling trajectory and the starting point of the preset heuristic trajectory are both the current position of the vehicle, and there is an offset between the end point of the sampling trajectory and the end point of the preset heuristic trajectory; according to the multiple sampling trajectories and the motion trajectory of the dynamic obstacles, the initial driving trajectory is determined; wherein the number of initial driving trajectories is less than or equal to the number of sampling trajectories.

[0055] like Figure 2 As shown, the method comprises the following steps:

[0056] S201. Acquire driving information and vehicle environment information of a vehicle; wherein the driving information represents the driving condition of the vehicle, and the vehicle environment information represents information of the road on which the vehicle is located.

[0057] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.

[0058] S202. Determine multiple sampling trajectories based on the preset heuristic trajectory according to the driving information, layout information, and the position information of the static obstacles; wherein the starting point of the sampling trajectory and the starting point of the preset heuristic trajectory are both the current position of the vehicle, and there is an offset between the end point of the sampling trajectory and the end point of the preset heuristic trajectory.

[0059] Exemplarily, the vehicle environment information may include layout information and obstacle information of the road, wherein the layout information may include information such as the direction, number of lanes, width, length, etc. of the road. Obstacles on the road may include static obstacles and dynamic obstacles. For example, static obstacles may be road signs, trees, and buildings, etc., and dynamic obstacles may be pedestrians, bicycles, and other vehicles, etc. For static obstacles, the obstacle information may be the location information and size information of the static obstacles; for dynamic obstacles, the obstacle information may be the motion trajectory of the dynamic obstacles, and the motion trajectory may represent information such as the location and speed of the dynamic obstacles.

[0060] The initial driving trajectory is determined based on the driving information and the vehicle environment information. The initial driving trajectory can be determined based on the driving information, the layout information of the road, and the obstacle information. The layout information of the road and the location information of all static obstacles can be determined from the vehicle environment information first, and then based on the heuristic trajectory, multiple trajectories are determined as sampling trajectories based on the driving information, the layout information, and the location information of each static obstacle. The sampling trajectory is located near the heuristic trajectory, and the starting point of the sampling trajectory and the starting point of the heuristic trajectory are both the current position of the vehicle. That is, the sampling trajectory can be a trajectory obtained by offsetting the end point of the heuristic trajectory. For example, the sampling trajectory can be a trajectory obtained by rotating the heuristic trajectory appropriately to the left and right sides with the starting point as the center.

[0061] When determining the sampling trajectory, a sampling trajectory that can avoid static obstacles within a certain range of the road can be obtained based on the driving information, layout information, and location information of the static obstacles. Planning rules for the sampling trajectory can be preset, for example, the preset planning rule can be that the minimum distance between the sampling trajectory and the static obstacle must be equal to or greater than 3 meters.

[0062] In this embodiment, the driving information includes the position information and speed information of the vehicle; according to the driving information, the layout information, and the position information of the static obstacle, based on the preset heuristic trajectory, multiple sampling trajectories are determined, including: determining the driving range of the vehicle according to the layout information and the position information of the static obstacle; within the driving range of the vehicle, offsetting the end point of the heuristic trajectory to obtain multiple sampling points, and determining the position information of the sampling points; wherein the sampling point represents the end point of the sampling trajectory; determining the sampling trajectory according to the position information, the speed information of the vehicle, and the position information of the sampling point.

[0063] Specifically, the vehicle needs to travel on the road and avoid static obstacles. The vehicle's driving range can be determined based on the layout information of the road and the location information of the static obstacles. That is, the sampling trajectory of the vehicle must be within the driving range. For example, if the width of the road is 5 meters and there are no static obstacles on the road, the vehicle's driving range is the entire road with a width of 5 meters. For another example, there are three lanes on the road, the vehicle is in the middle lane, both lane lines are solid lines, the static obstacle is in the rightmost lane, and the vehicle travels within the range of the middle lane.

[0064] Within the driving range of the vehicle, the end point of the inspiration trajectory is offset. For example, the offset processing can be performed to the left and right sides of the inspiration trajectory to achieve lateral sampling of the sampling points and construct a solution space for generating the driving trajectory. The offset end point is used as the sampling point, that is, the sampling point can be located on the left and right sides of the inspiration trajectory. In other words, lateral sampling is performed within the constraints of the road and static obstacles, and sampling is performed at a certain distance on the left and right sides of the inspiration trajectory to obtain multiple sampling points. For an inspiration trajectory, multiple offset processing can be performed to obtain multiple sampling points. Determine the position information of each sampling point, the sampling point is the end point of the sampling trajectory, and the number of sampling points represents the number of sampling trajectories.

[0065] The driving information may include the vehicle's position, speed, acceleration and other information. Based on the vehicle's position information, speed information, and the position information of the sampling point, the trajectory of the vehicle from the current position to the sampling point according to the speed information is determined, that is, the sampling trajectory is obtained.

[0066] The beneficial effect of this arrangement is that, according to the distribution of static obstacles, the heuristic trajectory is offset within the driving range to obtain the sampling trajectory, and the sampling trajectory is prevented from intersecting with the static obstacles. This ensures that the driving range of the vehicle does not exceed the range allowed by road traffic and improves the safety of vehicle driving.

[0067] In this embodiment, the sampling trajectory is determined according to the vehicle's position information, speed information, and the position information of the sampling points, including: determining the sampling path according to the vehicle's position information and the position information of the sampling points; determining the sampling trajectory according to the sampling path and the vehicle's speed information.

[0068] Specifically, according to the position information of the vehicle and the position information of the sampling points, the vehicle and the sampling points are connected to obtain a sampling path. For example, a cubic polynomial curve can be used to connect the current position of the vehicle and the sampling points.

[0069] The sampling path only indicates the planning of the route, and does not indicate the speed, time and other driving information of the vehicle at different locations. Each sampling path is sampled longitudinally according to the vehicle's driving time, speed, acceleration and other information. Longitudinal sampling means that for each sampling path after horizontal sampling, different accelerations can be sampled at different positions of the sampling path to obtain an acceleration-time series, and the speed-time series and distance-time series can be derived by calculation. The obtained sequence is combined with the sampling path to obtain the sampling trajectory. For one sampling path, there can be multiple corresponding sampling trajectories. The sampling trajectory includes both the route of the sampling path and the driving information of the vehicle on the sampling path.

[0070] The beneficial effect of such a setting is that, through horizontal sampling and vertical sampling, a three-dimensional search of the sampling trajectory can be realized. The three-dimensional search can provide an explicit planning intention for the subsequent determination of the target driving trajectory and improve the generation accuracy of the driving trajectory.

[0071] S203: determining an initial driving trajectory according to the plurality of sampling trajectories and the motion trajectory of the dynamic obstacle; wherein the number of the initial driving trajectories is less than or equal to the number of the sampling trajectories.

[0072] Exemplarily, the motion trajectory of each dynamic obstacle is determined from the vehicle environment information. For example, the motion trajectory of the dynamic obstacle can be recorded by a camera or other equipment. According to the motion trajectory of the dynamic obstacle, the sampling trajectory is adjusted, and the trajectory obtained after the adjustment is determined as the initial driving trajectory. The number of initial driving trajectories must be less than or equal to the number of sampling trajectories. For example, the sampling trajectories can be screened according to the motion trajectory of the dynamic obstacle, and the sampling trajectories that overlap with the motion trajectory of the dynamic obstacle can be screened out, that is, the initial driving trajectory can be the trajectory obtained after the sampling trajectory is screened. For another example, according to the motion trajectory of the dynamic obstacle, it can be determined whether the sampling trajectory and the dynamic obstacle will intersect. If so, at the position of the intersecting dynamic obstacle in the sampling trajectory, a turn is made with a certain curvature, so that the dynamic obstacle can be bypassed to obtain the initial driving trajectory; if not, the sampling trajectory can be directly used as the initial driving trajectory without processing.

[0073] In this embodiment, according to the static obstacles, a search is performed around the heuristic trajectory to obtain a sampling trajectory. According to the motion trajectory of the dynamic obstacle, the initial driving trajectory is determined on the basis of the sampling trajectory to ensure that the initial driving trajectory does not intersect with the motion trajectory of the dynamic obstacle. The collision avoidance of static and dynamic obstacles is achieved, effectively improving the safety of vehicle driving.

[0074] In this embodiment, an initial driving trajectory is determined based on multiple sampling trajectories and the motion trajectory of a dynamic obstacle, including: determining the vehicle's overtaking information under each sampling trajectory based on the motion trajectory of the dynamic obstacle; wherein the overtaking information includes the vehicle's overtaking and detour conditions; and determining the initial driving trajectory based on multiple sampling trajectories and the overtaking information corresponding to each sampling trajectory.

[0075] Specifically, the motion trajectory of the dynamic obstacle is determined, and for each sampling trajectory, the vehicle's overtaking information is determined based on the sampling trajectory and the motion trajectory of the dynamic obstacle. That is, the overtaking information corresponding to the vehicle under each sampling trajectory is determined. The overtaking information may include the overtaking situation and detour situation of the vehicle. The overtaking situation may refer to the overtaking relationship between the vehicle and the dynamic obstacle, and the detour situation may refer to the nudge direction of the vehicle to the dynamic obstacle. For example, when the vehicle is traveling along a certain sampling trajectory, it can overtake from the left side of the dynamic obstacle. The overtaking information can be determined based on a pre-defined overtaking rule. In this embodiment, the preset overtaking rule is not specifically limited.

[0076] After obtaining the yielding information corresponding to each sampling trajectory, the sampling trajectories can be adjusted according to the yielding information corresponding to the multiple sampling trajectories to obtain the initial driving trajectory. For example, the number of overtaking times of the vehicle can be determined according to the yielding relationship, and the sampling trajectories with a large number of overtaking times can be screened out. The remaining sampling trajectories are determined as the initial driving trajectory.

[0077] The beneficial effect of such a setting is that the yielding information corresponding to the sampled trajectory is determined, thereby obtaining an initial driving trajectory with a reasonable yielding relationship, and improving the generation accuracy of the driving trajectory.

[0078] In this embodiment, an initial driving trajectory is determined according to multiple sampling trajectories and the yielding information corresponding to each sampling trajectory, including: grouping the multiple sampling trajectories according to the yielding information corresponding to each sampling trajectory to obtain at least one trajectory group; wherein the trajectory group includes at least one sampling trajectory; and clustering the sampling trajectories in the trajectory group to obtain an initial driving trajectory corresponding to the trajectory group.

[0079] Specifically, it is determined whether the let-super relations corresponding to the sampling trajectories are consistent, and the sampling trajectories with consistent let-super relations are divided into a trajectory group to obtain one or more trajectory groups, each of which may include one or more sampling trajectories.

[0080] If there is only one sampling trajectory in the trajectory group, the sampling trajectory can be determined as an initial driving trajectory; if there are multiple sampling trajectories in the trajectory group, the multiple sampling trajectories can be clustered, and the multiple sampling trajectories can be merged into one trajectory, and the merged trajectory can be determined as the initial driving trajectory. That is, each trajectory group can correspond to an initial driving trajectory, and the number of trajectory groups is consistent with the number of initial driving trajectories. In this embodiment, the clustering process of the sampling trajectories is not specifically limited. For example, for multiple sampling trajectories that need to be clustered, determine the position of the trajectory points in each sampling trajectory at the same time. Determine the average position of these positions as the position of the trajectory point at that moment in the initial driving trajectory.

[0081] The beneficial effect of this setting is that each group is grouped according to the let-pass information, and each group corresponds to an initial driving trajectory, ensuring that each let-pass information can be reflected in the initial driving trajectory, avoiding the omission of let-pass information, and improving the accuracy of trajectory generation. By merging multiple sampled trajectories, the subsequent calculation amount of the initial driving trajectory can be reduced, and the efficiency of trajectory generation can be improved.

[0082] In this embodiment, according to the yielding information corresponding to each sampling trajectory, multiple sampling trajectories are grouped and processed to obtain at least one trajectory group, including: if it is determined that the sampling trajectory overlaps with the motion trajectory of the dynamic obstacle, the sampling trajectory is screened out to obtain the sampling trajectory retained after screening; according to the yielding information, the sampling trajectory retained after screening is grouped and processed to obtain at least one trajectory group.

[0083] Specifically, the sampling trajectory is determined according to the position of the static obstacle, and the sampling trajectory may overlap with the motion trajectory of the dynamic obstacle. When grouping the sampling trajectories, you can first determine whether each sampling trajectory will overlap with the motion trajectory of the dynamic obstacle. If there are multiple dynamic obstacles, you need to determine whether the sampling trajectory will overlap with the motion trajectory of any dynamic obstacle.

[0084] If it is determined that the sampling trajectory overlaps with the motion trajectory of the dynamic obstacle, the sampling trajectory is screened out, that is, pruning is performed; if it is determined that the sampling trajectory does not overlap with the motion trajectory of the dynamic obstacle, the sampling trajectory is retained. The sampling trajectories retained after screening are determined, and the sampling trajectories retained after screening are grouped according to the let-behind information to obtain multiple trajectory groups.

[0085] The beneficial effect of this setting is that those sampling trajectories that have spatial overlap with the motion trajectories of dynamic obstacles can be directly pruned, reducing the number of sampling trajectories, improving the subsequent clustering efficiency, and avoiding collisions between subsequently generated trajectories and dynamic obstacles, thereby improving the safety of vehicle driving.

[0086] S204. Adjust the initial driving trajectory according to the driving information and the vehicle environment information to obtain a target driving trajectory of the vehicle; wherein the target driving trajectory is used to indicate vehicle driving.

[0087] Exemplarily, this step may refer to the above-mentioned step S103 and will not be described in detail.

[0088] Figure 3 Schematic diagram of the sampling trajectory. Figure 3The solid rectangle in the figure represents the vehicle, and the dotted rectangle represents the dynamic obstacle, which can be another vehicle. There are three lanes on the road. The vehicle that needs to plan the trajectory is located in the middle lane, and the dynamic obstacles are located in the lanes on the left and right sides. The solid trajectory emitted from the vehicle is the inspiration trajectory, the dotted trajectory is the sampling trajectory, and the black circle represents the sampling point.

[0089] Figure 4 Schematic diagram of the screening of sampling trajectories. Figure 4 There are three sampling trajectories in , namely trajectory 1, trajectory 2, and trajectory 3. The solid rectangular box represents the vehicle, and the dotted rectangular box represents the dynamic obstacle. The movement trajectory of the dynamic obstacle is to move straight forward. As the dynamic obstacle moves, trajectory 2 will intersect with the dynamic obstacle. Therefore, trajectory 2 can be filtered out, and trajectory 1 and trajectory 3 are retained.

[0090] In the disclosed embodiment, by obtaining the driving information and vehicle environment information of the vehicle, a three-dimensional search can be performed on the basis of the heuristic trajectory to obtain one or more initial driving trajectories. The initial driving trajectory is then adjusted according to the driving information and vehicle environment information to obtain the final target driving trajectory. The two trajectory planning processes are implemented to jointly optimize the trajectory, effectively improve the determination accuracy of the target driving trajectory, and thus improve the safety of the vehicle on the road.

[0091] Figure 5 A flow chart of a method for determining a driving trajectory based on a vehicle provided in an embodiment of the present disclosure.

[0092] In this embodiment, the initial driving trajectory is adjusted according to the driving information and the vehicle environment information to obtain the target driving trajectory of the vehicle, including: determining candidate driving trajectories according to the driving information, the vehicle environment information, and the initial driving trajectory; wherein each initial driving trajectory corresponds to a candidate driving trajectory; and determining the target driving trajectory of the vehicle according to the candidate driving trajectories.

[0093] like Figure 5 As shown, the method comprises the following steps:

[0094] S501. Acquire driving information and vehicle environment information of a vehicle; wherein the driving information represents the driving condition of the vehicle, and the vehicle environment information represents information of the road on which the vehicle is located.

[0095] Exemplarily, this step may refer to the above-mentioned step S101 and will not be described in detail.

[0096] S502. Determine an initial driving trajectory based on a preset heuristic trajectory according to the driving information and the vehicle environment information; wherein the preset heuristic trajectory is a reference of the vehicle driving trajectory, and the initial driving trajectory represents a driving trajectory planned on the basis of the preset heuristic trajectory.

[0097] Exemplarily, this step may refer to the above-mentioned step S102 and will not be described in detail.

[0098] S503, determining candidate driving trajectories according to the driving information, the vehicle environment information, and the initial driving trajectory; wherein each initial driving trajectory corresponds to a candidate driving trajectory.

[0099] Exemplarily, the driving information and the vehicle environment information are determined, and based on the driving information and the vehicle environment information, a new driving trajectory is determined as a candidate driving trajectory on the basis of the initial driving trajectory. Each initial driving trajectory may correspond to a candidate driving trajectory, that is, a plurality of candidate driving trajectories may be obtained. For example, the initial driving trajectory may be moved or deformed according to the driving information and the vehicle environment information to obtain a candidate driving trajectory.

[0100] In this embodiment, candidate driving trajectories are determined based on driving information, vehicle environment information, and an initial driving trajectory, including: inputting the driving information, vehicle environment information, and the initial driving trajectory into a preset trajectory generation model to obtain multiple three-dimensional trajectories corresponding to each initial driving trajectory; wherein the preset trajectory generation model is a pre-constructed neural network model, which is used to generate multiple three-dimensional trajectories based on the initial driving trajectory, and the three-dimensional trajectories include position information and speed information of trajectory points; and determining a candidate driving trajectory corresponding to each initial driving trajectory based on the multiple three-dimensional trajectories corresponding to each initial driving trajectory.

[0101] Specifically, a trajectory generation model can be pre-built and trained. The trajectory generation model is a neural network model, and the input data can be driving information, vehicle environment information, and initial driving trajectory. The driving information, vehicle environment information, and initial driving trajectory are input into the preset trajectory generation model, and multiple three-dimensional trajectories can be output. Each initial driving trajectory corresponds to multiple three-dimensional trajectories, and the three-dimensional trajectory includes the position information and speed information of each trajectory point. In other words, for each initial driving trajectory, the trajectory generation model can use the initial driving trajectory as a reference to obtain multiple three-dimensional trajectories near the initial driving trajectory. In this embodiment, the model structure of the trajectory generation model is not specifically limited.

[0102] It is also possible to obtain information such as map information and global navigation information, which can indicate the boundary conditions of the road, etc. Map information and global navigation information can also be used as input data for the trajectory generation model to improve the output accuracy of the three-dimensional trajectory.

[0103] For each of the multiple three-dimensional trajectories corresponding to the initial driving trajectory, the multiple three-dimensional trajectories can be screened or merged to convert the multiple three-dimensional trajectories into one three-dimensional trajectory as a candidate driving trajectory corresponding to the initial driving trajectory. For example, a trajectory can be randomly selected from the multiple three-dimensional trajectories as a candidate driving trajectory.

[0104] The beneficial effect of this setting is that, based on the preset trajectory generation model, multiple three-dimensional trajectories corresponding to each initial trajectory can be automatically generated, improving the anthropomorphism of trajectory generation. The combination of three-dimensional search and neural network model is realized, effectively improving the generation accuracy of trajectory.

[0105] In this embodiment, according to the multiple three-dimensional trajectories corresponding to each initial driving trajectory, determining the candidate driving trajectory corresponding to each initial driving trajectory includes: determining a first scoring result of the three-dimensional trajectory through a preset trajectory generation model; wherein the first scoring result represents the rationality of the three-dimensional trajectory; and determining the candidate driving trajectory corresponding to each initial driving trajectory from the multiple three-dimensional trajectories corresponding to each initial driving trajectory according to the first scoring results of each three-dimensional trajectory corresponding to each initial driving trajectory.

[0106] Specifically, the trajectory generation model can also score each three-dimensional trajectory and determine the scoring result of each three-dimensional trajectory as the first scoring result. The first scoring result can characterize the rationality of the three-dimensional trajectory. For example, it can determine whether the three-dimensional trajectory complies with relevant road traffic rules. If so, the first scoring result is high; if not, the first scoring result is low. In this embodiment, the calculation process of the first scoring result is not specifically limited.

[0107] For each initial driving trajectory, after determining the first scoring results of the three-dimensional trajectories of the initial driving trajectory, the three-dimensional trajectories can be selected according to the first scoring results of the three-dimensional trajectories, and the selected three-dimensional trajectories can be determined as candidate driving trajectories of the initial driving trajectory. For example, the three-dimensional trajectory with the highest first scoring result can be used as a candidate driving trajectory.

[0108] The beneficial effect of such a setting is that the candidate driving trajectory is determined by the first scoring result, the rationality of the candidate driving trajectory is ensured, and the determination accuracy of the target driving trajectory is improved.

[0109] In this embodiment, it also includes: obtaining a pre-collected data set to be trained; wherein the data set to be trained is concentrated on the actual driving trajectory of the vehicle within a preset historical time period; according to the data set to be trained, based on a preset loss function, the initial model is trained to obtain a trained trajectory generation model; wherein the preset loss function includes at least one of a boundary loss function, a supervised learning loss function, and a contrastive learning loss function.

[0110] Specifically, an initial model is pre-built and trained. When the training is completed, the trajectory generation model is obtained. When training the model, a training data set is collected in advance. The training data set may include the actual vehicle driving trajectory in the historical time period, that is, the trajectory truth value. The preset initial model is trained with the trajectory truth value, and the trajectory generation model is finally obtained.

[0111] The trajectory truth value can be used as the heuristic trajectory to be trained, and the horizontal and vertical sampling and clustering pruning process of the three-dimensional search can be performed. That is, according to the actual driving information and vehicle environment information of the vehicle in the historical time period, based on the heuristic trajectory to be trained, the initial driving trajectory to be trained is determined. The specific determination process can be, according to the driving information, the layout information of the road, and the location information of the static obstacles, based on the heuristic trajectory, horizontal sampling is performed to determine multiple sampling trajectories to be trained. Then, according to the multiple sampling trajectories to be trained and the motion trajectory of the dynamic obstacles, pruning and clustering are performed to determine the initial driving trajectory to be trained. After obtaining the initial driving trajectory to be trained, the initial driving trajectory to be trained can also be smoothed, and the initial driving trajectory after smoothing and the trajectory truth value are scored for risk cost and comfort cost. Each trajectory can get a score value, and the score value can be the sum of the risk cost score and the comfort cost score. Compare these scoring values, select the smoothed initial driving trajectory with a score less than the true value of the trajectory as the positive sample, and the smoothed initial driving trajectory with the largest score as the negative sample. The positive sample, negative sample and the true value of the trajectory are used together for subsequent model training.

[0112] A loss function for model training is pre-set. In this embodiment, the loss functions used include boundary loss function, supervised learning loss function, and contrastive learning loss function. The boundary loss function is used to train the driving trajectory output by the model to within a preset boundary range. The supervised learning loss function mainly measures the degree of deviation between the driving trajectory output by the model and the true value of the trajectory. The contrastive learning loss function mainly measures the similarity between the positive and negative samples and the true value of the trajectory. Based on these three loss functions, the final loss value of each model training can be obtained. The calculation formula for the final loss value can be:

[0113] Loss = w1loss boundary +w2loss supervise +w3loss compare ;

[0114] Among them, Loss represents the final loss value, w1 is the weight of the preset boundary loss function, w2 is the weight of the preset supervised learning loss function, and w3 is the weight of the preset contrastive learning loss function. boundary is the loss value of the boundary loss function, losssupervise is the loss value of the supervised learning loss function, loss compare is the loss value of the contrastive learning loss function.

[0115] The beneficial effect of this setting is that the model is trained in advance to ensure that the model can output accurate driving trajectories. Three loss functions are used for training to further improve the training accuracy of the model.

[0116] S504: Determine a target driving trajectory of the vehicle according to the candidate driving trajectories.

[0117] Exemplarily, each initial driving trajectory corresponds to a candidate driving trajectory, that is, multiple candidate driving trajectories can be obtained. Based on the multiple candidate driving trajectories, a target driving trajectory can be determined. For example, a target driving trajectory can be selected from the candidate driving trajectories, or multiple candidate driving trajectories can be merged to obtain the target driving trajectory.

[0118] In this embodiment, the candidate driving trajectory is first determined according to the initial driving trajectory, and then the target driving trajectory is determined according to the candidate driving trajectory, so that the target driving trajectory is gradually determined, and the determination accuracy of the target driving trajectory is effectively improved.

[0119] In this embodiment, a target driving trajectory of a vehicle is determined based on candidate driving trajectories, including: determining a second scoring result of the candidate driving trajectory based on distance information between the candidate driving trajectory and obstacles in the road; wherein the second scoring result represents the driving risk of the candidate driving trajectory; determining lateral impact degree information and longitudinal impact degree information of the candidate driving trajectory; wherein the lateral impact degree information represents the degree of left-right swing of the vehicle when driving, and the longitudinal impact degree information represents the degree of front-back swing of the vehicle when driving; determining a third scoring result of the candidate driving trajectory based on the lateral impact degree information and the longitudinal impact degree information of the candidate driving trajectory; wherein the third scoring result represents the degree of influence of the candidate driving trajectory on the vehicle swing; and determining a target driving trajectory from the candidate driving trajectories based on the first scoring result, the second scoring result, and the third scoring result.

[0120] Specifically, after determining the candidate driving trajectory, the candidate driving trajectory can be scored. For example, the risk cost and the comfort cost can be scored. The risk cost represents the risk of collision when the vehicle is traveling along the candidate driving trajectory, and the comfort cost represents the comfort feeling of the occupants when the vehicle is traveling along the candidate driving trajectory.

[0121] The closer the distance between the candidate driving trajectory and the obstacle, the greater the risk of collision. Therefore, the distance information between the candidate driving trajectory and each obstacle on the road can be determined. According to the distance information, the second scoring result of the candidate driving trajectory is determined, and the second scoring result is used to characterize the driving collision risk of the candidate driving trajectory.

[0122] When the vehicle is driving, the greater the degree of the vehicle swinging, the worse the comfort of the occupants. Therefore, the comfort cost can also characterize the degree of the vehicle swinging. The degree of the vehicle swinging can be determined by the lateral impact information and the longitudinal impact information. The lateral impact information characterizes the degree of left and right swinging of the vehicle when driving, and the longitudinal impact information characterizes the degree of front and back swinging of the vehicle when driving. Different candidate driving trajectories may correspond to different lateral impact information and longitudinal impact information. When the vehicle drives to different trajectory points, different lateral impact information and longitudinal impact information may also correspond to different lateral impact information and longitudinal impact information. The lateral impact information and longitudinal impact information of the trajectory points on each candidate driving trajectory can be determined based on a preset impact determination method. In this embodiment, the preset impact determination method is not specifically limited. According to the lateral impact information and the longitudinal impact information of the candidate driving trajectory, the candidate driving trajectory is scored to obtain a third scoring result of the candidate driving trajectory, which characterizes the degree of influence of the candidate driving trajectory on the vehicle swing, that is, the comfort feeling of the occupants.

[0123] The first scoring result, the second scoring result, and the third scoring result are combined to select a target driving trajectory from the candidate driving trajectories. For example, the first scoring result, the second scoring result, and the third scoring result may be summed, and the candidate driving trajectory with the highest sum value may be determined as the target driving trajectory.

[0124] The beneficial effect of this setting is that the candidate driving trajectories are scored in different aspects, the risk cost, comfort cost, and rationality are comprehensively considered, the optimal trajectory is selected, the accuracy of determining the target driving trajectory is improved, and the riding experience of the occupants is enhanced.

[0125] In this embodiment, a second scoring result of the candidate driving trajectory is determined based on the distance information between the candidate driving trajectory and the obstacle in the road, including: determining a target point in the candidate driving trajectory based on a preset distance threshold; wherein the target point represents a trajectory point in the candidate driving trajectory, where the value of the distance information between the candidate driving trajectory and the obstacle in the road is less than the preset distance threshold; and determining the second scoring result of the candidate driving trajectory based on the value of the distance information corresponding to the target point and the preset distance threshold.

[0126] Specifically, for each obstacle on the road, the distance information between the candidate driving trajectory and the obstacle is determined at each moment. The distance information is the minimum value of the distance between the candidate driving trajectory and the obstacle. For example, for any obstacle, the distance between each trajectory point in the candidate driving trajectory and the obstacle is determined, and the minimum distance is determined as the distance information between the candidate driving trajectory and the obstacle. In other words, there are multiple obstacles on the road, and for each candidate driving trajectory, multiple distance information can be obtained, and each distance information corresponds to a trajectory point on the candidate driving trajectory.

[0127] A distance threshold is set in advance, and the distance information of each candidate driving trajectory is compared with the distance threshold to determine whether the value of the distance information is less than the distance threshold. If so, the trajectory point corresponding to the distance information is determined as the target point; if not, the distance information is not needed in the future. One candidate driving trajectory can determine one or more target points.

[0128] Determine the value of the distance information corresponding to the target point, and calculate the second scoring result of the candidate driving trajectory according to the value of the distance information corresponding to the target point and the preset distance threshold. The calculation formula of the second scoring result can be:

[0129]

[0130] Among them, C2 is the second scoring result, t is the time point, and w d is the preset coefficient corresponding to the second scoring result. 0.0 means a negative number and takes 0. min Indicates the preset distance threshold, d i Indicates the distance information corresponding to the target point.

[0131] The beneficial effect of such a setting is that by calculating the risk cost based on the distance between the candidate driving trajectory and the obstacle, the risk of collision when the vehicle follows the candidate driving trajectory can be effectively determined, thereby improving the safety of vehicle driving.

[0132] In this embodiment, a third scoring result of the candidate driving trajectory is determined based on the lateral impact degree information and the longitudinal impact degree information of the candidate driving trajectory, including: obtaining a preset lateral impact degree threshold and a preset longitudinal impact degree threshold; determining the third scoring result of the candidate driving trajectory based on the preset lateral impact degree threshold, the preset longitudinal impact degree threshold, the lateral impact degree information of the candidate driving trajectory, and the longitudinal impact degree information.

[0133] Specifically, a lateral impact threshold and a longitudinal impact threshold are pre-set. For each track point on the candidate driving track, the lateral impact information and longitudinal impact information of each track point can be determined. The lateral impact information of each track point is compared with the preset lateral impact threshold, and the longitudinal impact information of each track point is compared with the preset longitudinal impact threshold, and the third scoring result is determined according to the comparison result. The calculation formula of the third scoring result can be:

[0134]

[0135] Among them, C3 is the third scoring result, w J is the preset coefficient corresponding to the third scoring result, J a Indicates the lateral impact information of the trajectory point, J b Indicates the longitudinal impact information of the trajectory point, is the preset lateral impact threshold, is the preset longitudinal impact threshold.

[0136] The beneficial effect of such a setting is that the comfort level of the candidate driving trajectories is scored, the accuracy of determining the target driving trajectory is improved, and the riding experience of the passengers in the vehicle is enhanced.

[0137] In this embodiment, a target driving trajectory is determined from candidate driving trajectories based on the first scoring result, the second scoring result, and the third scoring result, including: obtaining a preset first weight corresponding to the first scoring result, a preset second weight corresponding to the second scoring result, and a preset third weight corresponding to the third scoring result; determining a target scoring result for the candidate driving trajectory based on the first scoring result, the second scoring result, the third scoring result, the preset first weight, the preset second weight, and the preset third weight; wherein the target scoring result represents the quality of the candidate driving trajectory; and determining a target driving trajectory from multiple candidate driving trajectories based on the target scoring result of each candidate driving trajectory.

[0138] Specifically, the first scoring result, the second scoring result, and the third scoring result are combined to obtain the final scoring result of each candidate driving trajectory as the target scoring result. For example, the sum of the first scoring result, the second scoring result, and the third scoring result can be calculated as the target scoring result, or the average of the first scoring result, the second scoring result, and the third scoring result can be calculated as the target scoring result.

[0139] For the three scoring results, respective weights are preset. The first scoring result corresponds to the preset first weight, the second scoring result corresponds to the preset second weight, and the third scoring result corresponds to the preset third weight. According to the respective preset weights, the first scoring result, the second scoring result, and the third scoring result are combined to perform weighted calculation to obtain the target scoring result of each candidate driving trajectory. The calculation formula of the target scoring result can be:

[0140] C=w a C1+w b C2+w c C3;

[0141] Among them, C is the target scoring result, w a is the preset first weight, w b is the preset second weight, w c The third weight is preset.

[0142] According to the target scoring results of each candidate driving trajectory, a target driving trajectory is determined from the candidate driving trajectories. For example, the candidate driving trajectory with the highest target scoring result can be determined as the target driving trajectory.

[0143] The beneficial effect of such a setting is that different scoring results are comprehensively considered to determine the target scoring result, ensure that the target driving trajectory can meet various driving requirements, and improve the determination accuracy of the target driving trajectory.

[0144] Figure 6 Schematic diagram of the trajectory generation model. Figure 6 In the process, the vehicle's driving information, road layout information, obstacle information, map information, etc. can be input into the trajectory generation model. The trajectory generation model is provided with a vehicle encoder, an obstacle encoder, a lane encoder, a boundary encoder, etc. The vehicle encoder can be used to encode the driving information, the obstacle encoder can be used to encode the obstacle information, the lane encoder can be used to encode the layout information, and the boundary encoder can be used to encode the map information. The feature vector obtained after encoding is processed by feature interaction or extraction. For example, the driving information, obstacle information, lane layout information and map information representing the state of the vehicle can be encoded and feature-interacted first, and then the result of the feature interaction is processed by feature fusion and extraction with the initial driving trajectory, and finally the output data is obtained. The MLP (Multilayer Perceptron) network can be used to extract the features of the initial driving trajectory, and then feature interaction and other processing are performed to obtain a multimodal path. The multimodal path refers to multiple three-dimensional trajectories.

[0145] In the disclosed embodiment, by obtaining the driving information and vehicle environment information of the vehicle, a three-dimensional search can be performed on the basis of the heuristic trajectory to obtain one or more initial driving trajectories. The initial driving trajectory is then adjusted according to the driving information and vehicle environment information to obtain the final target driving trajectory. The two trajectory planning processes are implemented to jointly optimize the trajectory, effectively improve the determination accuracy of the target driving trajectory, and thus improve the safety of the vehicle on the road.

[0146] Figure 7 This is a structural block diagram of a vehicle-based driving trajectory determination device provided in an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 7 The vehicle driving trajectory determination device 700 includes: an information acquisition unit 701, an initial determination unit 702 and a target determination unit 703.

[0147] The information acquisition unit 701 is used to acquire the driving information and vehicle environment information of the vehicle; wherein the driving information represents the driving condition of the vehicle, and the vehicle environment information represents the information of the road where the vehicle is located;

[0148] An initial determination unit 702 is used to determine an initial driving trajectory based on a preset heuristic trajectory according to the driving information and the vehicle environment information; wherein the preset heuristic trajectory is a reference of the vehicle driving trajectory, and the initial driving trajectory represents a driving trajectory planned on the basis of the preset heuristic trajectory;

[0149] The target determination unit 703 is used to adjust the initial driving trajectory according to the driving information and the vehicle environment information to obtain a target driving trajectory of the vehicle; wherein the target driving trajectory is used to indicate vehicle driving.

[0150] Figure 8 A structural block diagram of a vehicle-based driving trajectory determination device provided in an embodiment of the present disclosure, such as Figure 8 As shown, the vehicle-based driving trajectory determination device 800 includes an information acquisition unit 801, an initial determination unit 802 and a target determination unit 803, wherein the vehicle environment information includes road layout information and obstacle information, the obstacles in the road include static obstacles and dynamic obstacles, and the obstacle information includes the position information of the static obstacles and the motion trajectory of the dynamic obstacles; the initial determination unit 802 includes a trajectory sampling module 8021 and an initial determination module 8022.

[0151] The trajectory sampling module 8021 is used to determine a plurality of sampling trajectories based on the preset heuristic trajectory according to the driving information, the layout information, and the position information of the static obstacle; wherein the starting point of the sampling trajectory and the starting point of the preset heuristic trajectory are both the current position of the vehicle, and there is an offset between the end point of the sampling trajectory and the end point of the preset heuristic trajectory;

[0152] The initial determination module 8022 is used to determine the initial driving trajectory according to the multiple sampling trajectories and the motion trajectory of the dynamic obstacle; wherein the number of the initial driving trajectories is less than or equal to the number of sampling trajectories.

[0153] In one example, the driving information includes the location information and speed information of the vehicle; the trajectory sampling module 8021 includes:

[0154] A range determination submodule, used to determine the driving range of the vehicle according to the layout information and the position information of the static obstacle;

[0155] A sampling point determination submodule is used to perform an offset process on the end point of the inspiration trajectory within the driving range of the vehicle to obtain a plurality of sampling points, and determine the position information of the sampling points; wherein the sampling points represent the end point of the sampling trajectory;

[0156] The trajectory sampling submodule is used to determine the sampling trajectory according to the position information, speed information of the vehicle and the position information of the sampling point.

[0157] In one example, the trajectory sampling submodule is specifically used to:

[0158] Determining a sampling path according to the location information of the vehicle and the location information of the sampling point;

[0159] The sampling trajectory is determined according to the sampling path and the speed information of the vehicle.

[0160] In one example, the initial determination module 8022 includes:

[0161] A letting-pass determination submodule is used to determine the letting-pass information of the vehicle under each sampling trajectory according to the motion trajectory of the dynamic obstacle; wherein the letting-pass information includes the overtaking situation and detour situation of the vehicle;

[0162] The initial determination submodule is used to determine the initial driving trajectory according to the multiple sampling trajectories and the overtaking information corresponding to each sampling trajectory.

[0163] In one example, the submodule is initially determined, specifically for:

[0164] According to the yielding information corresponding to each sampling trajectory, the plurality of sampling trajectories are grouped to obtain at least one trajectory group; wherein the trajectory group includes at least one sampling trajectory;

[0165] Clustering is performed on the sampled trajectories in the trajectory group to obtain an initial driving trajectory corresponding to the trajectory group.

[0166] In one example, the submodule is initially determined, specifically for:

[0167] If it is determined that the sampling trajectory overlaps with the motion trajectory of the dynamic obstacle, the sampling trajectory is screened out to obtain a sampling trajectory retained after the screening;

[0168] The sampled trajectories retained after the screening are grouped according to the yielding information to obtain at least one trajectory group.

[0169] In one example, the target determination unit 803 includes:

[0170] A candidate determination module, configured to determine a candidate driving trajectory according to the driving information, the vehicle environment information, and the initial driving trajectory; wherein each initial driving trajectory corresponds to a candidate driving trajectory;

[0171] A target determination module is used to determine a target driving trajectory of the vehicle based on the candidate driving trajectory.

[0172] In one example, the candidate determination module includes:

[0173] A trajectory generation submodule, for inputting the driving information, the vehicle environment information, and the initial driving trajectory into a preset trajectory generation model to obtain a plurality of three-dimensional trajectories corresponding to each initial driving trajectory; wherein the preset trajectory generation model is a pre-constructed neural network model, for generating a plurality of three-dimensional trajectories based on the initial driving trajectory, wherein the three-dimensional trajectories include position information and speed information of trajectory points;

[0174] The candidate determination submodule is used to determine a candidate driving trajectory corresponding to each initial driving trajectory according to the multiple three-dimensional trajectories corresponding to each initial driving trajectory.

[0175] In one example, the candidate determination submodule is specifically used for:

[0176] Determining a first scoring result of the three-dimensional trajectory through the preset trajectory generation model; wherein the first scoring result represents the rationality of the three-dimensional trajectory;

[0177] According to the first scoring results of the three-dimensional trajectories corresponding to each initial driving trajectory, a candidate driving trajectory corresponding to each initial driving trajectory is determined from the multiple three-dimensional trajectories corresponding to each initial driving trajectory.

[0178] In one example, the target determination module includes:

[0179] A risk scoring submodule, configured to determine a second scoring result of the candidate driving trajectory according to the distance information between the candidate driving trajectory and the obstacle on the road; wherein the second scoring result represents the driving risk of the candidate driving trajectory;

[0180] An impact degree determination submodule, used to determine the lateral impact degree information and longitudinal impact degree information of each track point on the candidate driving track; wherein the lateral impact degree information represents the left-right swing degree of the vehicle when driving, and the longitudinal impact degree information represents the front-back swing degree of the vehicle when driving;

[0181] An impact degree scoring submodule, used to determine a third scoring result of the candidate driving trajectory according to the lateral impact degree information and the longitudinal impact degree information of each trajectory point on the candidate driving trajectory; wherein the third scoring result represents the degree of influence of the candidate driving trajectory on the vehicle swing;

[0182] A target determination submodule is used to determine the target driving trajectory from the candidate driving trajectories according to the first scoring result, the second scoring result, and the third scoring result.

[0183] In one example, the risk scoring submodule is specifically used to:

[0184] Determine a target point in the candidate driving trajectory according to a preset distance threshold; wherein the target point represents a trajectory point in the candidate driving trajectory whose distance information to an obstacle on the road is less than a preset distance threshold;

[0185] A second scoring result of the candidate driving trajectory is determined according to the value of the distance information corresponding to the target point and the preset distance threshold.

[0186] In one example, the impact rating submodule is specifically used to:

[0187] Obtaining a preset lateral impact degree threshold and a preset longitudinal impact degree threshold;

[0188] A third scoring result of the candidate driving trajectory is determined according to the preset lateral impact degree threshold, the preset longitudinal impact degree threshold, the lateral impact degree information and the longitudinal impact degree information of each trajectory point on the candidate driving trajectory.

[0189] In one example, the target determination submodule is specifically used to:

[0190] Obtaining a preset first weight corresponding to the first scoring result, a preset second weight corresponding to the second scoring result, and a preset third weight corresponding to the third scoring result;

[0191] Determine a target scoring result of the candidate driving trajectory according to the first scoring result, the second scoring result, the third scoring result, the preset first weight, the preset second weight, and the preset third weight; wherein the target scoring result represents the excellence of the candidate driving trajectory;

[0192] The target driving trajectory is determined from a plurality of candidate driving trajectories according to the target scoring results of the candidate driving trajectories.

[0193] In one example, it also includes:

[0194] A data collection unit, used to obtain a pre-collected data set to be trained; wherein the data set to be trained is the actual driving trajectory of the vehicle within a preset historical time period;

[0195] A model training unit is used to train the initial model according to the data set to be trained based on a preset loss function to obtain a trained trajectory generation model; wherein the preset loss function includes at least one of a boundary loss function, a supervised learning loss function, and a contrastive learning loss function.

[0196] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device.

[0197] Fig. 9 A structural block diagram of an electronic device provided in an embodiment of the present disclosure, such as Fig. 9 As shown, the electronic device 900 includes: at least one processor 902; and a memory 901 communicatively connected to the at least one processor 902; wherein the memory stores instructions executable by the at least one processor 902, and the instructions are executed by the at least one processor 902 so that the at least one processor 902 can execute the vehicle-based driving trajectory determination method disclosed in the present invention.

[0198] The electronic device 900 further includes a receiver 903 and a transmitter 904. The receiver 903 is used to receive instructions and data sent by other devices, and the transmitter 904 is used to send instructions and data to external devices.

[0199] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0200] According to an embodiment of the present disclosure, the present disclosure also provides a computer program product, which includes: a computer program, the computer program is stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device executes the solution provided by any of the above embodiments.

[0201] Fig.10 A schematic block diagram of an example electronic device 1000 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, 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 disclosure described and / or required herein.

[0202] like Fig.10 As shown, the device 1000 includes a computing unit 1001, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1002 or a computer program loaded from a storage unit 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the device 1000 can also be stored. The computing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0203] A number of components in the device 1000 are connected to the I / O interface 1005, including: an input unit 1006, such as a keyboard, a mouse, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a disk, an optical disk, etc.; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1009 allows the device 1000 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0204] The computing unit 1001 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1001 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 1001 performs the various methods and processes described above, such as a vehicle-based driving trajectory determination method. For example, in some embodiments, a vehicle-based driving trajectory determination method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1008. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1000 via ROM 1002 and / or communication unit 1009. When the computer program is loaded into RAM 1003 and executed by the computing unit 1001, one or more steps of the vehicle-based driving trajectory determination method described above may be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured to execute the vehicle-based driving trajectory determination method in any other appropriate manner (eg, by means of firmware).

[0205] 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.

[0206] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may 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, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may 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.

[0207] In the context of the present disclosure, 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 equipment, 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.

[0208] 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).

[0209] 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.

[0210] 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 between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0211] 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 solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0212] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. 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 modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for determining a vehicle's driving trajectory, include: Acquire driving information and vehicle environment information of the vehicle; wherein the driving information represents the driving condition of the vehicle, and the vehicle environment information represents the information of the road on which the vehicle is located; Determining an initial driving trajectory based on a preset heuristic trajectory according to the driving information and the vehicle environment information; wherein the preset heuristic trajectory is a reference of the vehicle driving trajectory, and the initial driving trajectory represents a driving trajectory planned on the basis of the preset heuristic trajectory; The initial driving trajectory is adjusted according to the driving information and the vehicle environment information to obtain a target driving trajectory of the vehicle; wherein the target driving trajectory is used to indicate vehicle driving.

2. The method according to claim 1, in, The vehicle environment information includes layout information and obstacle information of the road, the obstacles on the road include static obstacles and dynamic obstacles, and the obstacle information includes position information of static obstacles and motion trajectory of dynamic obstacles; The determining of the initial driving trajectory based on the driving information and the vehicle environment information and based on a preset heuristic trajectory includes: According to the driving information, the layout information, and the position information of the static obstacle, a plurality of sampling trajectories are determined based on a preset heuristic trajectory; wherein the starting point of the sampling trajectory and the starting point of the preset heuristic trajectory are both the current position of the vehicle, and there is an offset between the end point of the sampling trajectory and the end point of the preset heuristic trajectory; The initial driving trajectory is determined according to the multiple sampling trajectories and the motion trajectory of the dynamic obstacle; wherein the number of the initial driving trajectories is less than or equal to the number of sampling trajectories.

3. The method according to claim 2, in, The driving information includes the location information and speed information of the vehicle; the determining of multiple sampling trajectories based on the driving information, the layout information, and the location information of the static obstacle and the preset heuristic trajectory includes: Determining a driving range of the vehicle according to the layout information and the position information of the static obstacle; Within the driving range of the vehicle, the end point of the inspiration trajectory is offset to obtain a plurality of sampling points, and the position information of the sampling points is determined; wherein the sampling points represent the end point of the sampling trajectory; The sampling trajectory is determined according to the position information and speed information of the vehicle and the position information of the sampling point.

4. The method according to claim 3, in, Determining the sampling trajectory according to the position information, speed information of the vehicle, and the position information of the sampling point includes: Determining a sampling path according to the location information of the vehicle and the location information of the sampling point; The sampling trajectory is determined according to the sampling path and the speed information of the vehicle.

5. The method according to any one of claims 2 to 4, in, The determining the initial driving trajectory according to the plurality of sampled trajectories and the motion trajectory of the dynamic obstacle comprises: According to the motion trajectory of the dynamic obstacle, determining the overtaking information of the vehicle under each sampling trajectory; wherein the overtaking information includes the overtaking situation and detour situation of the vehicle; The initial driving trajectory is determined according to the multiple sampling trajectories and the yielding information corresponding to each sampling trajectory.

6. The method according to claim 5, in, The determining the initial driving trajectory according to the plurality of sampling trajectories and the yielding information corresponding to each sampling trajectory includes: According to the yielding information corresponding to each sampling trajectory, the plurality of sampling trajectories are grouped to obtain at least one trajectory group; wherein the trajectory group includes at least one sampling trajectory; Clustering is performed on the sampled trajectories in the trajectory group to obtain an initial driving trajectory corresponding to the trajectory group.

7. The method according to claim 6, in, The step of grouping the plurality of sampling trajectories according to the yielding information corresponding to each sampling trajectory to obtain at least one trajectory group includes: If it is determined that the sampling trajectory overlaps with the motion trajectory of the dynamic obstacle, the sampling trajectory is screened out to obtain a sampling trajectory retained after the screening; The sampled trajectories retained after the screening are grouped according to the yielding information to obtain at least one trajectory group.

8. The method according to any one of claims 1 to 7, in, The adjusting the initial driving trajectory according to the driving information and the vehicle environment information to obtain the target driving trajectory of the vehicle includes: Determine a candidate driving trajectory according to the driving information, the vehicle environment information, and the initial driving trajectory; wherein each initial driving trajectory corresponds to a candidate driving trajectory; A target driving trajectory of the vehicle is determined according to the candidate driving trajectory.

9. The method according to claim 8, in, The determining of a candidate driving trajectory according to the driving information, the vehicle environment information, and the initial driving trajectory includes: Inputting the driving information, the vehicle environment information, and the initial driving trajectory into a preset trajectory generation model to obtain a plurality of three-dimensional trajectories corresponding to each initial driving trajectory; wherein the preset trajectory generation model is a pre-constructed neural network model, which is used to generate a plurality of three-dimensional trajectories based on the initial driving trajectory, wherein the three-dimensional trajectories include position information and speed information of trajectory points; According to the multiple three-dimensional trajectories corresponding to each initial driving trajectory, a candidate driving trajectory corresponding to each initial driving trajectory is determined.

10. The method according to claim 9, in, The step of determining a candidate driving trajectory corresponding to each initial driving trajectory according to the multiple three-dimensional trajectories corresponding to each initial driving trajectory includes: Determining a first scoring result of the three-dimensional trajectory through the preset trajectory generation model; wherein the first scoring result represents the rationality of the three-dimensional trajectory; According to the first scoring results of the three-dimensional trajectories corresponding to each initial driving trajectory, a candidate driving trajectory corresponding to each initial driving trajectory is determined from the multiple three-dimensional trajectories corresponding to each initial driving trajectory.

11. The method according to claim 10, in, Determining the target driving trajectory of the vehicle according to the candidate driving trajectory includes: Determining a second scoring result of the candidate driving trajectory according to the distance information between the candidate driving trajectory and the obstacle in the road; wherein the second scoring result represents the driving risk of the candidate driving trajectory; Determine the lateral impact degree information and the longitudinal impact degree information of each track point on the candidate driving track; wherein the lateral impact degree information represents the left-right swing degree of the vehicle when driving, and the longitudinal impact degree information represents the front-back swing degree of the vehicle when driving; Determine a third scoring result of the candidate driving trajectory according to the lateral impact degree information and the longitudinal impact degree information of each trajectory point on the candidate driving trajectory; wherein the third scoring result represents the degree of influence of the candidate driving trajectory on the vehicle swing; The target driving trajectory is determined from the candidate driving trajectories according to the first scoring result, the second scoring result, and the third scoring result.

12. The method according to claim 11, in, The step of determining a second scoring result of the candidate driving trajectory according to the distance information between the candidate driving trajectory and the obstacle on the road includes: Determine a target point in the candidate driving trajectory according to a preset distance threshold; wherein the target point represents a trajectory point in the candidate driving trajectory whose distance information to an obstacle on the road is less than a preset distance threshold; A second scoring result of the candidate driving trajectory is determined according to the value of the distance information corresponding to the target point and the preset distance threshold.

13. The method according to claim 11, in, The step of determining a third scoring result of the candidate driving trajectory according to the lateral impact degree information and the longitudinal impact degree information of each trajectory point on the candidate driving trajectory comprises: Obtaining a preset lateral impact degree threshold and a preset longitudinal impact degree threshold; A third scoring result of the candidate driving trajectory is determined according to the preset lateral impact degree threshold, the preset longitudinal impact degree threshold, the lateral impact degree information and the longitudinal impact degree information of each trajectory point on the candidate driving trajectory.

14. The method according to claim 12 or 13, in, Determining the target driving trajectory from the candidate driving trajectories according to the first scoring result, the second scoring result, and the third scoring result includes: Obtaining a preset first weight corresponding to the first scoring result, a preset second weight corresponding to the second scoring result, and a preset third weight corresponding to the third scoring result; Determine a target scoring result of the candidate driving trajectory according to the first scoring result, the second scoring result, the third scoring result, the preset first weight, the preset second weight, and the preset third weight; wherein the target scoring result represents the excellence of the candidate driving trajectory; The target driving trajectory is determined from a plurality of candidate driving trajectories according to the target scoring results of the candidate driving trajectories.

15. The method according to any one of claims 9 to 14, further comprising: include: Acquire a pre-collected data set to be trained; wherein the data set to be trained is concentrated on the actual driving trajectory of the vehicle within a preset historical time period; According to the data set to be trained, based on a preset loss function, the initial model is trained to obtain a trained trajectory generation model; wherein the preset loss function includes at least one of a boundary loss function, a supervised learning loss function, and a contrastive learning loss function.

16. A device for determining a vehicle's driving trajectory, include: An information acquisition unit, used to acquire driving information and vehicle environment information of the vehicle; wherein the driving information represents the driving condition of the vehicle, and the vehicle environment information represents the information of the road on which the vehicle is located; An initial determination unit, configured to determine an initial driving trajectory based on a preset heuristic trajectory according to the driving information and the vehicle environment information; wherein the preset heuristic trajectory is a reference of the vehicle driving trajectory, and the initial driving trajectory represents a driving trajectory planned on the basis of the preset heuristic trajectory; A target determination unit is used to adjust the initial driving trajectory according to the driving information and the vehicle environment information to obtain a target driving trajectory of the vehicle; wherein the target driving trajectory is used to indicate vehicle driving.

17. The device according to claim 16, in, The vehicle environment information includes layout information and obstacle information of the road, the obstacles on the road include static obstacles and dynamic obstacles, and the obstacle information includes position information of static obstacles and motion trajectory of dynamic obstacles; The initial determination unit comprises: A trajectory sampling module, configured to determine a plurality of sampling trajectories based on a preset heuristic trajectory according to the driving information, the layout information, and the position information of the static obstacle; wherein the starting point of the sampling trajectory and the starting point of the preset heuristic trajectory are both the current position of the vehicle, and there is an offset between the end point of the sampling trajectory and the end point of the preset heuristic trajectory; An initial determination module is used to determine the initial driving trajectory according to the multiple sampling trajectories and the motion trajectory of the dynamic obstacle; wherein the number of the initial driving trajectories is less than or equal to the number of sampling trajectories.

18. The device according to claim 17, in, The driving information includes the position information and speed information of the vehicle; The trajectory sampling module comprises: A range determination submodule, used to determine the driving range of the vehicle according to the layout information and the position information of the static obstacle; A sampling point determination submodule is used to perform an offset process on the end point of the inspiration trajectory within the driving range of the vehicle to obtain a plurality of sampling points, and determine the position information of the sampling points; wherein the sampling points represent the end point of the sampling trajectory; The trajectory sampling submodule is used to determine the sampling trajectory according to the position information, speed information of the vehicle and the position information of the sampling point.

19. The device according to claim 18, in, The trajectory sampling submodule is specifically used for: Determining a sampling path according to the location information of the vehicle and the location information of the sampling point; The sampling trajectory is determined according to the sampling path and the speed information of the vehicle.

20. The device according to any one of claims 17 to 19, in, The initial determination module comprises: A letting-pass determination submodule is used to determine the letting-pass information of the vehicle under each sampling trajectory according to the motion trajectory of the dynamic obstacle; wherein the letting-pass information includes the overtaking situation and detour situation of the vehicle; The initial determination submodule is used to determine the initial driving trajectory according to the multiple sampling trajectories and the overtaking information corresponding to each sampling trajectory.

21. The device according to claim 20, in, The initial determination submodule is specifically used for: According to the yielding information corresponding to each sampling trajectory, the plurality of sampling trajectories are grouped to obtain at least one trajectory group; wherein the trajectory group includes at least one sampling trajectory; Clustering is performed on the sampled trajectories in the trajectory group to obtain an initial driving trajectory corresponding to the trajectory group.

22. The device according to claim 21, in, The initial determination submodule is specifically used for: If it is determined that the sampling trajectory overlaps with the motion trajectory of the dynamic obstacle, the sampling trajectory is screened out to obtain a sampling trajectory retained after the screening; The sampled trajectories retained after the screening are grouped according to the yielding information to obtain at least one trajectory group.

23. The device according to any one of claims 16 to 22, in, The target determination unit comprises: A candidate determination module, configured to determine a candidate driving trajectory according to the driving information, the vehicle environment information, and the initial driving trajectory; wherein each initial driving trajectory corresponds to a candidate driving trajectory; A target determination module is used to determine a target driving trajectory of the vehicle based on the candidate driving trajectory.

24. The device according to claim 23, in, The candidate determination module comprises: A trajectory generation submodule, for inputting the driving information, the vehicle environment information, and the initial driving trajectory into a preset trajectory generation model to obtain a plurality of three-dimensional trajectories corresponding to each initial driving trajectory; wherein the preset trajectory generation model is a pre-constructed neural network model, for generating a plurality of three-dimensional trajectories based on the initial driving trajectory, wherein the three-dimensional trajectories include position information and speed information of trajectory points; The candidate determination submodule is used to determine a candidate driving trajectory corresponding to each initial driving trajectory according to the multiple three-dimensional trajectories corresponding to each initial driving trajectory.

25. The device according to claim 24, in, The candidate determination submodule is specifically used for: Determining a first scoring result of the three-dimensional trajectory through the preset trajectory generation model; wherein the first scoring result represents the rationality of the three-dimensional trajectory; According to the first scoring results of the three-dimensional trajectories corresponding to each initial driving trajectory, a candidate driving trajectory corresponding to each initial driving trajectory is determined from the multiple three-dimensional trajectories corresponding to each initial driving trajectory.

26. The device according to claim 25, in, The target determination module comprises: A risk scoring submodule, configured to determine a second scoring result of the candidate driving trajectory according to the distance information between the candidate driving trajectory and the obstacle on the road; wherein the second scoring result represents the driving risk of the candidate driving trajectory; An impact degree determination submodule, used to determine the lateral impact degree information and longitudinal impact degree information of each track point on the candidate driving track; wherein the lateral impact degree information represents the left-right swing degree of the vehicle when driving, and the longitudinal impact degree information represents the front-back swing degree of the vehicle when driving; An impact degree scoring submodule, used to determine a third scoring result of the candidate driving trajectory according to the lateral impact degree information and the longitudinal impact degree information of each trajectory point on the candidate driving trajectory; wherein the third scoring result represents the degree of influence of the candidate driving trajectory on the vehicle swing; A target determination submodule is used to determine the target driving trajectory from the candidate driving trajectories according to the first scoring result, the second scoring result, and the third scoring result.

27. The device according to claim 26, in, The risk scoring submodule is specifically used for: Determine a target point in the candidate driving trajectory according to a preset distance threshold; wherein the target point represents a trajectory point in the candidate driving trajectory whose distance information to an obstacle on the road is less than a preset distance threshold; A second scoring result of the candidate driving trajectory is determined according to the value of the distance information corresponding to the target point and the preset distance threshold.

28. The device according to claim 26, in, The impact rating submodule is specifically used for: Obtaining a preset lateral impact degree threshold and a preset longitudinal impact degree threshold; A third scoring result of the candidate driving trajectory is determined according to the preset lateral impact degree threshold, the preset longitudinal impact degree threshold, the lateral impact degree information and the longitudinal impact degree information of each trajectory point on the candidate driving trajectory.

29. The device according to claim 27 or 28, in, The target determination submodule is specifically used for: Obtaining a preset first weight corresponding to the first scoring result, a preset second weight corresponding to the second scoring result, and a preset third weight corresponding to the third scoring result; Determine a target scoring result of the candidate driving trajectory according to the first scoring result, the second scoring result, the third scoring result, the preset first weight, the preset second weight, and the preset third weight; wherein the target scoring result represents the excellence of the candidate driving trajectory; The target driving trajectory is determined from a plurality of candidate driving trajectories according to the target scoring results of the candidate driving trajectories.

30. The device according to any one of claims 24 to 29, further comprising: include: A data collection unit, used to obtain a pre-collected data set to be trained; wherein the data set to be trained is the actual driving trajectory of the vehicle within a preset historical time period; A model training unit is used to train the initial model according to the data set to be trained based on a preset loss function to obtain a trained trajectory generation model; wherein the preset loss function includes at least one of a boundary loss function, a supervised learning loss function, and a contrastive learning loss function.

31. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, 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 according to any one of claims 1 to 15.

32. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-15.

33. A computer program product, in, The invention comprises a computer program, which implements the steps of the method according to any one of claims 1 to 15 when being executed by a processor.

Citation Information

Cited By

  • Vehicle driving track acquisition method, electronic equipment and storage medium

    CN120445250A

  • Method for acquiring vehicle driving track, electronic device and storage medium

    CN120445250B

  • Trajectory determination method, apparatus, and intelligent driving device

    WO2026195048A1