Vehicle local path planning method, autonomous driving system and autonomous driving vehicle

By using a combination of Frenet coordinate system and artificial potential field method in driverless vehicles, alternative paths are generated and target paths are determined, which solves the problems of unclear vehicle and road positions and insufficient smoothness in local path planning, and improves Safety and smoothness during autonomous driving.

CN114234993BActive Publication Date: 2024-09-17BEIJING FOTONDAIMLER AUTOMOTIVE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111533743.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-15
Publication Date
2024-09-17
Estimated Expiration
2041-12-15

AI Technical Summary

Technical Problem

It is difficult for existing driverless vehicles to express the relative position of the vehicle and the road when planning local paths, resulting in unclear path planning and failure to effectively avoid vehicle congestion areas.

Method used

The Frenet coordinate system is used to generate a set of alternative paths, and the operating loss is obtained based on the preset loss function. The repulsion loss is calculated using the artificial potential field method, and the target path is determined to improve the safety and smoothness of path planning.

Benefits of technology

Effectively avoid obstacles and vehicle congestion areas on the path, and improve the safety and smoothness of path planning during autonomous driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114234993B
    Figure CN114234993B
Patent Text Reader

Abstract

The present invention discloses a vehicle local path planning method, an automatic driving system and an automatic driving vehicle, wherein the vehicle local path planning method comprises: obtaining road information and obstacle information; generating a set of candidate paths in a Frenet coordinate system according to the road information and the obstacle information; obtaining the running loss of each path in the set of candidate paths according to a preset loss function; calculating the repulsion loss according to the obstacle information based on an artificial potential field method; determining a target path in the set of candidate paths according to the running loss and the repulsion loss; and controlling the driving of the vehicle according to the target path. The method can improve the safety and smoothness of local path planning during automatic driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned vehicles, and in particular to a vehicle local path planning method, an automatic driving system and an automatic driving vehicle. Background Art

[0002] With the continuous advancement of unmanned driving technology, the level of autonomy of unmanned driving is also constantly improving. The levels of autonomy of unmanned driving are as follows: L2 level represents a driving system that can support multiple operations of steering wheel and acceleration and deceleration at the same time; L3 level represents a driving system that can observe the road environment and perform driving operations, and the driver only needs to respond to all system requests; L4 level represents a driving system that can observe the road environment and perform driving operations, and the driver only needs to respond in certain complex situations; L5 level represents a fully automatic driving system, and the driver does not need to intervene at all. Among them, for L4 and L5 level unmanned driving, local path planning technology that avoids road obstacles needs to be designed.

[0003] In the related art, commonly used local path planning methods include a_star (heuristic search algorithm), dijkstra (Dijkstra algorithm), RRT (Rapidly-Exploring Random Trees), and minimum loss curve based on Frenet coordinates, etc. However, when the vehicle performs local path planning due to avoiding obstacles or other braking reasons, it is difficult to express the relative position between the vehicle and the road using the above methods during the path planning process, resulting in unclear relative relationship between the two, and when the vehicle is planning the local path, it only avoids obstacles without realizing the smoothness of driving after switching roads. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, one object of the present invention is to propose a vehicle local path planning method, which can improve the safety and smoothness of local path planning during autonomous driving.

[0005] A second objective of the present invention is to provide an automatic driving system.

[0006] A third objective of the present invention is to provide an automatic driving system.

[0007] A fourth objective of the present invention is to provide an autonomous driving vehicle.

[0008] A fifth object of the present invention is to provide a computer storage medium.

[0009] In order to solve the above problems, the first aspect of the present invention proposes a vehicle local path planning method, including: obtaining road information and obstacle information; generating a set of alternative paths in a Frenet coordinate system according to the road information and the obstacle information; obtaining the operating loss of each path in the alternative path set according to a preset loss function; calculating the repulsion loss according to the obstacle information based on an artificial potential field method; determining a target path in the alternative path set according to the operating loss and the repulsion loss; and controlling the vehicle's travel according to the target path.

[0010] According to the vehicle local path planning method of an embodiment of the present invention, in the process of planning the optimal driving path of the vehicle, that is, determining the target path, a set of alternative paths is generated based on the Frenet coordinate system, and the operating loss of each path in the alternative path set is obtained according to a preset loss function, so that under the condition of considering the vehicle's kinematic performance, the minimum operating loss can be selected to effectively avoid obstacles on the path and improve the safety of the vehicle during automatic driving. On this basis, an artificial potential field method is introduced, that is, the repulsive force loss of obstacles is considered, so that when switching roads, the optimal driving path can be selected according to the road conditions, thereby improving the smoothness of the vehicle during automatic driving. Therefore, a combination of Frenet reference path and artificial potential field method is adopted to realize local path planning in the process of vehicle automatic driving, which can avoid obstacles on the driving path while avoiding vehicle congested areas, effectively improving the safety and smoothness of path planning in the process of automatic driving.

[0011] In some embodiments, generating a set of alternative paths in a Frenet coordinate system based on the road information includes: determining a road centerline based on the road information, and using the road centerline as a reference line and establishing a Frenet coordinate system with the vehicle as the origin, wherein a tangent vector and a normal vector of the reference line are used as coordinate axes; obtaining a longitudinal trajectory planning and a lateral trajectory planning based on the Frenet coordinate system; and performing trajectory fitting based on the longitudinal trajectory planning and the lateral trajectory planning to generate the set of alternative paths.

[0012] In some embodiments, longitudinal trajectory planning and lateral trajectory planning are obtained based on the Frenet coordinate system, including: determining the lateral initial configuration and longitudinal initial configuration of the vehicle in the Frenet coordinate system; based on the lateral initial configuration, taking the lateral displacement (dmin, dmax) and braking time (Tmin, Tmax) as the lateral target configuration for trajectory sampling to obtain the lateral trajectory planning; based on the longitudinal initial configuration, taking the longitudinal speed and longitudinal acceleration as the longitudinal target configuration for trajectory sampling to obtain the longitudinal trajectory planning.

[0013] In some embodiments, based on the artificial potential field method, the repulsion loss amount is calculated according to the obstacle information, including: the obstacle information includes the distance between the vehicle and the obstacle; the repulsion loss amount can be obtained by the following formula:

[0014] r=K0 / p 2

[0015] Wherein, r is the repulsion loss, K0 is the repulsion coefficient, and p is the distance between the vehicle and the obstacle.

[0016] In some embodiments, the operation loss includes a lateral operation loss and a longitudinal operation loss; determining a target path in the set of alternative paths according to the operation loss and the repulsion loss function, including: taking the sum of the lateral operation loss of each alternative path, the longitudinal operation loss of each alternative path and the repulsion loss as the final loss of each alternative path; determining the minimum loss among the final losses of all alternative paths; and taking the alternative path corresponding to the minimum loss as the target path.

[0017] In some embodiments, the preset loss function can be expressed by the following formula:

[0018] Cd=K i *J+K d *d

[0019] Wherein, Cd is the preset loss function, K i , K d is a constant, J is the longitudinal velocity loss or the lateral velocity loss, and d is the lateral position loss.

[0020] The second aspect of the present invention proposes an automatic driving system, comprising: at least one processor; a memory communicatively connected to at least one of the processors; wherein the memory stores a computer program executable by at least one of the processors, and when at least one of the processors executes the computer program, the vehicle local path planning method described in the above embodiment is implemented.

[0021] According to the automatic driving system of the embodiment of the present invention, the safety and smoothness of path planning during automatic driving can be improved by using the vehicle local path planning method provided by the above embodiment through the processor.

[0022] The third aspect of the present invention provides an automatic driving system, including: a first acquisition module, used to acquire road information and obstacle information; a generation module, used to generate a set of alternative paths in a Frenet coordinate system based on the road information; a second acquisition module, used to obtain the operating loss of each path in the alternative path set according to a preset loss function; a calculation module, used to calculate the repulsion loss according to the obstacle information based on an artificial potential field method; a determination module, used to determine a target path in the alternative path set based on the operating loss and the repulsion loss; and a control module, used to control the vehicle's travel according to the target path.

[0023] According to the automatic driving system of the embodiment of the present invention, in the process of planning the best driving path of the vehicle, that is, determining the target path, the generation module can generate a set of alternative paths based on the Frenet coordinate system, and obtain the operation loss of each path in the set of alternative paths according to the preset loss function, so that under the condition of considering the kinematic performance of the vehicle, the minimum operation loss can be selected to effectively avoid obstacles on the path and improve the safety of the vehicle during automatic driving. On this basis, the artificial potential field method is introduced, that is, the repulsive force loss of obstacles is considered, so that when switching roads, the best driving path can be selected according to the road conditions, thereby improving the smoothness of the vehicle during automatic driving. Therefore, the combination of Frenet reference path and artificial potential field method is adopted to realize local path planning in the process of automatic driving of the vehicle, which can avoid obstacles on the driving path while avoiding areas with vehicle congestion, effectively improving the safety and smoothness of path planning in the process of automatic driving.

[0024] A fourth aspect of the present invention provides an autonomous driving vehicle, comprising the autonomous driving system described in the above embodiments.

[0025] According to the autonomous driving vehicle of the embodiment of the present invention, the safety and smoothness of path planning during the autonomous driving process can be improved by adopting the autonomous driving system provided by the above embodiment.

[0026] A fifth aspect of the present invention provides a computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the vehicle local path planning method described in the above embodiment.

[0027] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0029] Figure 1 is a flow chart of a vehicle local path planning method according to an embodiment of the present invention;

[0030] Figure 2 is a schematic diagram of an artificial potential field method according to an embodiment of the present invention;

[0031] Figure 3 is a schematic diagram of a Frenet coordinate system according to an embodiment of the present invention;

[0032] Figure 4 is a schematic diagram of a vehicle changing lanes according to an embodiment of the present invention;

[0033] Figure 5 is a schematic diagram of lateral trajectory planning according to one embodiment of the present invention;

[0034] Figure 6 is a schematic diagram of longitudinal trajectory planning according to one embodiment of the present invention;

[0035] Figure 7 is a structural block diagram of an automatic driving system according to an embodiment of the present invention;

[0036] Figure 8 is a structural block diagram of an automatic driving system according to another embodiment of the present invention;

[0037] Fig. 9 is a structural block diagram of an autonomous driving vehicle according to an embodiment of the present invention.

[0038] Reference numerals:

[0039] Autonomous driving vehicle 10; Autonomous driving system 9;

[0040] Processor 1; memory 2; first acquisition module 3; generation module 4; second acquisition module 5; calculation module 6; determination module 7; control module 8. DETAILED DESCRIPTION

[0041] Embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. Embodiments of the present invention are described in detail below.

[0042] When a vehicle is planning a local path to avoid obstacles or for other braking reasons, the Cartesian coordinate system is difficult to express the relative position between the vehicle and the road, resulting in an unclear relative relationship between the two. When planning a local path for the vehicle, it can only avoid obstacles and vehicles without realizing the smoothness of driving after switching roads.

[0043] In order to solve the above problems, the present invention provides a vehicle local path planning method, which effectively improves the safety and smoothness of path planning during the automatic driving process.

[0044] Reference below Figure 1 The vehicle local path planning method according to an embodiment of the present invention is described as follows: Figure 1 As shown, the method at least includes steps S1 to S5.

[0045] Step S1, obtaining road information and obstacle information.

[0046] Among them, road information can be understood as information about the road that the vehicle is currently traveling on. For example, the road information at least includes the position of the road that the vehicle is traveling on during the driving process, the position of the vehicle on the road, and road attributes such as road speed limit or road fork. Obstacles can be surrounding vehicles, pedestrians or other objects that hinder the normal driving of the current vehicle. Obstacle information can be understood as information about obstacles on the driving road that hinder the normal driving of the vehicle. For example, the obstacle information at least includes information such as the position, size and shape of the obstacle.

[0047] In an embodiment, in order to facilitate the autonomous driving vehicle to perceive the external environment, sensors may be configured on the autonomous driving vehicle, such as installing sensors on the wire-controlled chassis. The sensors may collect road information and obstacle information in real time during the driving process of the autonomous driving vehicle, and transmit the information collected by the sensors to the processor of the autonomous driving vehicle, so that the processor can perform local path planning based on the road information and obstacle information.

[0048] Step S2: Generate a set of candidate paths in the Frenet coordinate system according to the road information and obstacle information.

[0049] The candidate path set may be understood as a set of all paths planned under current road information to ensure safe driving of the vehicle.

[0050] In the embodiment, since the Cartesian coordinate system is difficult to express the relative position between the vehicle and the road, resulting in unclear relative relationship between the two, the embodiment of the present invention adopts the Frenet coordinate system for local path planning, so that when the vehicle changes its driving path due to avoiding obstacles, changing lanes or other braking reasons, it has the advantages of safety, comfort, simplicity and efficiency of autonomous driving, and improves the intelligence of path selection during autonomous driving.

[0051] Specifically, when performing local path planning, the vehicle trajectory Frenet coordinate mapping is performed according to the road information, the vehicle terminal motion state in the planning time domain is densely sampled in the state space of the vehicle's driving, and the local trajectory planning is completed by interpolating the vehicle during the process of changing the driving path using quintic and quartic polynomial curves respectively. Obstacle collision detection is performed based on the obstacle information, thereby comprehensively considering all paths that safely avoid obstacles and evaluating the smoothness and comfort of the path. Under the condition of considering the vehicle's kinematic performance, all the planned paths suitable for safe driving of the vehicle are combined into an alternative path set, so that the driving path subsequently selected in the alternative path set can effectively avoid obstacles on the path, thereby improving the safety of the vehicle during automatic driving.

[0052] Step S3, obtaining the running loss of each path in the candidate path set according to a preset loss function.

[0053] Among them, in order to facilitate the selection of the best driving path in the set of alternative paths, all paths in the set of alternative paths are screened by presetting a preset loss function, so as to screen out the relatively safest, most comfortable, simple and efficient path under the limitation of the vehicle's braking capacity. The running loss of each path can be understood as the loss generated by the vehicle during the driving process along the path, such as comfort loss, planned speed loss, offset loss and obstacle potential field. It can be understood that the lower the running loss, the better the corresponding path.

[0054] Specifically, each path in the planned set of alternative paths affects the vehicle's dynamic performance to a certain extent, such as driving stability, comfort, road driving efficiency, etc. When the vehicle changes its driving path due to avoiding obstacles, changing lanes, or other braking reasons, the above influencing factors are comprehensively considered, and the operating loss of each path is calculated through a preset loss function, so as to decide the optimal path based on the amount of operating loss, so that the vehicle can effectively avoid obstacles on the path and improve the safety of the vehicle during automatic driving.

[0055] Step S4, based on the artificial potential field method, the repulsive force loss is calculated according to the obstacle information.

[0056] Among them, the artificial potential field includes the gravitational field and the repulsive field. Figure 2As shown in the figure, the artificial potential field method refers to designing the movement of an object in the surrounding environment into a movement in an abstract artificial gravitational field, in which the target point generates gravitational force on the object to guide the object to move toward it; the obstacle generates repulsive force on the object to prevent the object from colliding with it, and the movement of the object is controlled by the resultant force exerted on the object at each point on the path, where the resultant force is the sum of all repulsive forces and gravitational forces at each point. The repulsive force loss can be understood as the sum of the repulsive forces formed between the vehicle and all obstacles on the planned path, and the sum of the repulsive forces is used as a loss amount as a consideration for screening the best path in the set of alternative paths. It can be understood that the lower the repulsive force loss, the fewer obstacles there are on the corresponding path.

[0057] In the embodiment, since there are many vehicles traveling on the road at the same time, when the vehicle performs local path planning to avoid obstacles, there are multiple options for switching lanes. Assuming that there are more vehicles in the left lane and the traffic condition is more congested, while the traffic on the right road is relatively smooth, then when the difference in loss between switching to the left road and switching to the right road is small, even if the path planned by Frenet coordinates has the smallest path curve loss for switching to the left road, it is objectively preferred to switch to the right road. Therefore, the path planned by Frenet coordinates can only plan the expected path to avoid the nearest obstacle, and does not consider the road conditions at the next moment when driving along the expected path. Therefore, based on the above reasons, the embodiment of the present invention introduces the repulsion field in the artificial potential field method on the basis of adopting the Frenet coordinate planning path, so that when the vehicle switches lanes, the repulsion loss caused by the obstacle on each path in the alternative path set is determined according to the obstacle information, so as to judge the repulsion factor of all paths in the alternative path set. When the vehicle switches lanes, if the difference in loss between two different roads is small, even if the path curve loss corresponding to the road selected under the Frenet coordinate planning path is smaller, a more desired path can still be planned under the introduction of the artificial potential field method, thereby improving the smoothness of the vehicle during automatic driving.

[0058] Step S5, determining a target path in a set of candidate paths according to the running loss amount and the repulsion loss amount.

[0059] The target path is the path that the vehicle eventually travels when switching roads.

[0060] In an embodiment, the embodiment of the present invention adopts a method that combines the Frenet reference path with the artificial potential field method. When the vehicle performs local path planning, it takes into account both the smoothness and comfort of the path and the smoothness of driving after switching roads. The target path is determined according to the operating loss and repulsion loss of each path in the alternative path set, thereby realizing local path planning during the vehicle's automatic driving process, thereby avoiding obstacles on the driving path while avoiding areas with vehicle congestion, effectively improving the safety and smoothness of path planning during automatic driving.

[0061] Specifically, the sum of the running loss and the repulsion loss is used as the total loss of each path in the set of candidate paths, the total loss of each path is sorted and the minimum total loss is selected, and the path corresponding to the minimum total loss is used as the target path. Thus, the target path is selected by combining the running loss with the repulsion loss, realizing the local path planning of the vehicle during driving, and avoiding obstacles on the driving path while avoiding vehicle congestion areas, effectively improving the safety and smoothness of path planning during autonomous driving.

[0062] Step S6, controlling the driving of the vehicle according to the target path.

[0063] Specifically, the vehicle sends the collected road information and obstacle information to the processor through sensors. The processor performs calculations according to steps S1 to S5 based on the collected information, and transmits the calculation results, i.e., the determined target path, to the vehicle's body control mechanism through the CAN network, so as to control the vehicle's steering wheel, accelerator, brake and other mechanisms to drive the vehicle according to the planned target path.

[0064] According to the vehicle local path planning method of an embodiment of the present invention, in the process of planning the optimal driving path of the vehicle, that is, determining the target path, a set of alternative paths is generated based on the Frenet coordinate system, and the operating loss of each path in the alternative path set is obtained according to a preset loss function, so that under the condition of considering the vehicle's kinematic performance, the minimum operating loss can be selected to effectively avoid obstacles on the path and improve the safety of the vehicle during automatic driving. On this basis, an artificial potential field method is introduced, that is, the repulsive force loss of obstacles is considered, so that when switching roads, the optimal driving path can be selected according to the road conditions, thereby improving the smoothness of the vehicle during automatic driving. Therefore, a combination of Frenet reference path and artificial potential field method is adopted to realize local path planning in the process of vehicle automatic driving, which can avoid obstacles on the driving path while avoiding vehicle congested areas, effectively improving the safety and smoothness of path planning in the process of automatic driving.

[0065] In some embodiments, a road centerline is determined based on road information, and a Frenet coordinate system is established with the road centerline as a reference line and the vehicle as the origin, wherein the tangent vector and normal vector of the reference line are used as coordinate axes; longitudinal trajectory planning and lateral trajectory planning are obtained based on the Frenet coordinate system; trajectory fitting is performed based on the longitudinal trajectory planning and the lateral trajectory planning to generate a set of alternative paths.

[0066] Specifically, refer to Figure 3 As shown in the figure, in the Frenet coordinate system, the center line of the road is used as the reference line, the vehicle is used as the origin, the tangent vector and the normal vector of the reference line are used as the coordinate axes, and the coordinate axes are perpendicular to each other. Among them, the tangent vector of the reference line is in the s direction, also known as the longitudinal direction; the normal vector of the reference line is in the d direction, also known as the transverse direction. By adopting the Frenet coordinate system to plan the path, the configuration space in the action planning problem can be divided into three dimensions: longitudinal s, transverse d and time t, among which time t is the time point of each action of the planned vehicle, and based on the Frenet coordinate system, the high-dimensional optimization problem of local path planning can also be divided into two independent optimization problems in the longitudinal s and transverse d directions, so that based on the Frenet coordinate system, the terminal motion state of the vehicle in the planning time domain is densely sampled in the state space of vehicle driving, and the vehicle switching road process is interpolated using quintic and quartic polynomial curves to complete the transverse and longitudinal local trajectory replanning, so as to obtain the longitudinal trajectory planning and the transverse trajectory planning.

[0067] For example, for Figure 4 In the case of vehicle switching roads shown in FIG. 8 , the current vehicle crosses the dotted line at time t8 to complete a lane change, that is, the vehicle needs to complete a movement of Δd in the lateral direction and Δs in the longitudinal direction, which are respectively expressed as functions of time t: s(t) and d(t). Therefore, the selection of the optimal path of lateral d and longitudinal s about time t, after the above conversion, divides the action planning problem into two independent optimization problems, that is, the lateral trajectory planning is performed for the lateral direction and the longitudinal trajectory planning is performed for the longitudinal direction, for example, Figure 5 and Figure 6 Shown are the schematic diagrams of the lateral trajectory planning and the longitudinal trajectory planning obtained by sampling.

[0068] Furthermore, although path planning can be performed separately in the horizontal and vertical directions, at a certain moment, the horizontal and vertical action planning must be unified. Therefore, it is necessary to synthesize the longitudinal trajectory planning and the horizontal trajectory planning in a certain way so as to plan a path that satisfies both the horizontal trajectory planning and the longitudinal trajectory planning at the same time as an alternative path. Specifically, according to the longitudinal trajectory planning and the horizontal trajectory planning, the trajectory is fitted using quintic and quartic polynomial curves respectively to generate a set of alternative paths.

[0069] In some embodiments, the lateral initial configuration and longitudinal initial configuration of the vehicle are determined in the Frenet coordinate system; based on the lateral initial configuration, trajectory sampling is performed with the lateral displacement (dmin, dmax) and braking time (Tmin, Tmax) as the lateral target configuration to obtain lateral trajectory planning; based on the longitudinal initial configuration, trajectory sampling is performed with the longitudinal speed and longitudinal acceleration as the longitudinal target configuration to obtain longitudinal trajectory planning.

[0070] The lateral initial configuration may be understood as the initial state of the current vehicle in the lateral direction d; and the longitudinal initial configuration may be understood as the initial state of the current vehicle in the longitudinal direction s.

[0071] Specifically, the lateral initial configuration of the vehicle is determined in the lateral d direction in the Frenet coordinate system, which may include, for example, the lateral position, lateral velocity, and lateral acceleration, and then based on the lateral initial configuration, the trajectory is sampled with the lateral target configuration, i.e., the lateral displacement and the braking time, as the terminal motion state of the vehicle. That is, within the range limited by the lateral displacement (dmin, dmax) and the braking time (Tmin, Tmax), any lateral displacement and any braking time are used as sampling points to plan the trajectory of the vehicle from the initial state to the terminal running state, thereby forming a lateral trajectory plan. Thus, based on the lateral initial configuration, multiple lateral trajectory plans can be formed by discretely sampling the lateral displacement and the braking time. Similarly, the longitudinal initial configuration of the vehicle is determined in the longitudinal s direction in the Frenet coordinate system, which may include, for example, the longitudinal velocity and the longitudinal acceleration. Based on the longitudinal initial configuration, the longitudinal target configuration, i.e., the longitudinal velocity and the longitudinal acceleration, is used as the terminal motion state of the vehicle, and multiple longitudinal trajectory plans are formed by discretely sampling the longitudinal velocity, the longitudinal acceleration, and the braking time.

[0072] In some embodiments, the obstacle information includes the distance between the vehicle and the obstacle; the repulsion loss amount can be obtained by the following formula.

[0073] r=K0 / p 2

[0074] Among them, r is the repulsion loss, K0 is the repulsion coefficient, and p is the distance between the vehicle and the obstacle.

[0075] From the above formula, we can see that the repulsion loss is inversely proportional to the distance between the vehicle and the obstacle. When the distance between the vehicle and the obstacle is larger, the repulsion loss is smaller; and when the distance between the vehicle and the obstacle is smaller, the repulsion loss is larger. Therefore, when performing local path planning, by increasing the repulsion loss, the number of vehicles traveling simultaneously on the switching road can be judged according to the size of the repulsion loss, so as to facilitate the selection of the best path as the target path and improve the smoothness of the vehicle during automatic driving.

[0076] In some embodiments, the running loss includes a lateral running loss and a longitudinal running loss. The lateral running loss refers to the loss generated when the vehicle is displaced in the lateral d direction, for example, the lateral running loss may include lateral position loss, lateral velocity loss, and lateral acceleration loss. The longitudinal running loss refers to the loss generated in the longitudinal s direction, for example, the longitudinal running loss may include longitudinal velocity loss and longitudinal acceleration loss.

[0077] In an embodiment, when performing local path planning, the problem of avoiding obstacles and vehicle congestion areas on the path is comprehensively considered. The sum of the lateral operation loss of each alternative path, the longitudinal operation loss of each alternative path and the repulsion loss is taken as the final loss of each alternative path, and then the minimum loss among the final losses of all alternative paths is determined. The alternative path corresponding to the minimum loss is the best driving path planned under the limitation of the vehicle's braking capacity. Therefore, the alternative path corresponding to the minimum loss is taken as the target path, so that the vehicle can travel according to the planned target path, which can not only ensure the safety of the vehicle's automatic driving, but also ensure the smoothness of the vehicle's automatic driving.

[0078] In some embodiments, the preset loss function can be expressed by the following formula.

[0079] Cd=K i *J+K d *d

[0080] Among them, Cd is the preset loss function, K i , K d is a constant, J is the longitudinal velocity loss or the lateral velocity loss, and d is the lateral position loss. The lateral position loss can be understood as the lateral distance loss between the planned trajectory and the target trajectory.

[0081] Specifically, in the lateral direction d, the lateral velocity loss, lateral acceleration loss and lateral position loss are substituted into the above preset loss function formula, that is, Cd = K i *J+K d*d, to obtain the lateral running loss; and, in the longitudinal s direction, since there is no position loss in the longitudinal direction, the longitudinal velocity loss and longitudinal acceleration loss are substituted into the above preset loss function formula, that is, Cd = K i *J, to obtain the longitudinal running loss.

[0082] The second embodiment of the present invention provides an automatic driving system 9, such as Figure 7 As shown, the automatic driving system 9 includes at least one processor 1 and a memory 2 communicatively connected to the at least one processor 1 .

[0083] The memory 2 stores a computer program that can be executed by at least one processor 1, and when the at least one processor 1 executes the computer program, the vehicle local path planning method in the above embodiment is implemented.

[0084] It should be noted that the specific implementation method of the automatic driving system 9 of the embodiment of the present invention is similar to the specific implementation method of the vehicle local path planning method of any of the above-mentioned embodiments of the present invention. Please refer to the description of the method part for details. In order to reduce redundancy, it will not be repeated here.

[0085] According to the automatic driving system 9, the vehicle local path planning method provided by the above embodiment is adopted by the processor 1 to improve the safety and smoothness of the path planning during the automatic driving process.

[0086] A third aspect of the present invention provides an automatic driving system 9, such as Figure 8 As shown, the automatic driving system 9 includes a first acquisition module 3, a generation module 4, a second acquisition module 5, a calculation module 6, a determination module 7 and a control module 8.

[0087] Among them, the first acquisition module 3 is used to acquire road information and obstacle information; the generation module 4 is used to generate a set of alternative paths in the Frenet coordinate system based on the road information; the second acquisition module 5 is used to obtain the operating loss of each path in the alternative path set according to a preset loss function; the calculation module 6 is used to calculate the repulsion loss according to the obstacle information based on the artificial potential field method; the determination module 7 is used to determine the target path in the alternative path set according to the operating loss and the repulsion loss; the control module 8 is used to control the vehicle's travel according to the target path.

[0088] It should be noted that the specific implementation method of the automatic driving system 9 of the embodiment of the present invention is similar to the specific implementation method of the vehicle local path planning method of any of the above-mentioned embodiments of the present invention. Please refer to the description of the method part for details. In order to reduce redundancy, it will not be repeated here.

[0089] According to the automatic driving system 9 of the embodiment of the present invention, in the process of planning the best driving path of the vehicle, that is, determining the target path, the generation module can generate a set of alternative paths based on the Frenet coordinate system, and obtain the operation loss of each path in the set of alternative paths according to the preset loss function, so that under the condition of considering the kinematic performance of the vehicle, the minimum operation loss can be selected to effectively avoid obstacles on the path and improve the safety of the vehicle during automatic driving. On this basis, the artificial potential field method is introduced, that is, the repulsive force loss of obstacles is considered, so that when switching roads, the best driving path can be selected according to the road conditions, thereby improving the smoothness of the vehicle during automatic driving. Therefore, the combination of Frenet reference path and artificial potential field method is adopted to realize local path planning in the process of automatic driving of the vehicle, which can avoid obstacles on the driving path while avoiding vehicle congested areas, effectively improving the safety and smoothness of path planning in the process of automatic driving.

[0090] A fourth aspect of the present invention provides an automatic driving vehicle 10, such as Fig. 9 As shown, the autonomous driving vehicle 10 includes the autonomous driving system 9 in the above-mentioned embodiment.

[0091] Among them, the automatic driving system 9 of the above embodiment is used to perform local path planning, and the planned optimal driving path, i.e., the target path, is transmitted to the body control mechanism of the automatic driving vehicle 10 through the CAN network to control the automatic driving vehicle 10 to drive according to the planned target path, thereby realizing the automatic driving of the automatic driving vehicle 10. In addition, when the automatic driving system 9 performs local path planning, it not only considers that under the condition of vehicle kinematic performance, it can avoid obstacles on the driving path with the minimum running loss, thereby ensuring the smoothness and comfort of the target path, improving the safety of the automatic driving vehicle 10 during automatic driving, but also considers the smoothness of driving after switching roads. The automatic driving system 9 introduces the repulsive factor in the artificial potential field theory to perform local path planning, thereby improving the intelligence of the automatic driving system 9 in selecting the optimal driving path and improving the smoothness of the automatic driving vehicle 10 during automatic driving. .

[0092] According to the automatic driving vehicle 10 of the embodiment of the present invention, the safety and smoothness of path planning during the automatic driving process can be improved by adopting the automatic driving system 9 provided in the above embodiment.

[0093] A fifth aspect of the present invention provides a computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the vehicle local path planning method of the above-mentioned embodiment.

[0094] In the description of this specification, any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code including one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0095] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0096] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0097] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0098] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0099] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

[0100] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example.

[0101] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A vehicle local path planning method, characterized in that: include: Obtain road information and obstacle information; Generate a set of candidate paths in a Frenet coordinate system according to the road information and the obstacle information; Obtaining the running loss amount of each path in the set of candidate paths according to a preset loss function; Based on the artificial potential field method, the repulsive force loss is calculated according to the obstacle information; Determine a target path in the set of candidate paths according to the running loss amount and the repulsion loss amount, wherein the running loss amount includes a lateral running loss amount and a longitudinal running loss amount; Wherein, determining a target path in the set of candidate paths according to the running loss amount and the repulsion loss amount includes: The sum of the lateral running loss amount of each alternative path, the longitudinal running loss amount of each alternative path and the repulsive force loss amount is taken as the final loss amount of each alternative path; Determine the minimum loss amount among the final loss amounts of all alternative paths; Taking the alternative path corresponding to the minimum loss amount as the target path; The driving of the vehicle is controlled according to the target path.

2. The vehicle local path planning method according to claim 1, characterized in that: Generating a set of candidate paths in a Frenet coordinate system according to the road information includes: Determine a road centerline according to the road information, and establish a Frenet coordinate system with the road centerline as a reference line and the vehicle as an origin, wherein a tangent vector and a normal vector of the reference line are used as coordinate axes; Obtaining longitudinal trajectory planning and lateral trajectory planning based on the Frenet coordinate system; Trajectory fitting is performed according to the longitudinal trajectory planning and the lateral trajectory planning to generate the set of candidate paths.

3. The vehicle local path planning method according to claim 2, characterized in that: The longitudinal trajectory planning and the lateral trajectory planning are obtained based on the Frenet coordinate system, including: Determining a lateral initial configuration and a longitudinal initial configuration of the vehicle in the Frenet coordinate system; Based on the lateral initial configuration, trajectory sampling is performed with lateral displacement (dmin, dmax) and braking time (Tmin, Tmax) as lateral target configuration to obtain the lateral trajectory planning; Based on the longitudinal initial configuration, trajectory sampling is performed with the longitudinal velocity and the longitudinal acceleration as the longitudinal target configuration to obtain the longitudinal trajectory planning.

4. The vehicle local path planning method according to claim 1, characterized in that: Based on the artificial potential field method, the repulsion loss is calculated according to the obstacle information, including: The obstacle information includes the distance between the vehicle and the obstacle; The repulsion loss can be obtained by the following formula: Wherein, r is the repulsive force loss, is the repulsion coefficient, is the distance between the vehicle and the obstacle.

5. The vehicle local path planning method according to claim 1, characterized in that: The preset loss function is expressed by the following formula: in, 1 is the lateral running loss, 2 is the longitudinal running loss, , is a constant, is the longitudinal velocity loss, is the lateral velocity loss, and d is the lateral position loss.

6. An automatic driving system, characterized in that: include: at least one processor; a memory communicatively coupled to at least one of the processors; Wherein, the memory stores a computer program that can be executed by at least one of the processors, and when at least one of the processors executes the computer program, the vehicle local path planning method according to any one of claims 1 to 5 is implemented.

7. An automatic driving system, characterized in that: include: A first acquisition module, used to acquire road information and obstacle information; A generating module, used for generating a set of candidate paths in a Frenet coordinate system according to the road information; A second acquisition module, used to acquire the running loss amount of each path in the candidate path set according to a preset loss function; A calculation module, used for calculating the repulsive force loss according to the obstacle information based on an artificial potential field method; A determination module, configured to determine a target path from the set of candidate paths according to the running loss amount and the repulsion loss amount; A control module is used to control the driving of the vehicle according to the target path.

8. An autonomous driving vehicle, characterized in that: Including the automatic driving system as described in claim 6 or 7.

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