Unstructured road autonomous driving path planning method, system and vehicle

Through the dynamic step module and depth-first search technology to extract center lines and perform non-uniform sampling on unstructured roads, the efficiency and completeness problems of autonomous driving path planning on unstructured roads in the existing technology are solved, and the Fast response and high security path planning.

CN114859917BActive Publication Date: 2024-09-20JIAXING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210505059.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-10
Publication Date
2024-09-20
Estimated Expiration
2042-05-10

AI Technical Summary

Technical Problem

It is difficult for existing autonomous driving path planning methods to take into account both computational efficiency and completeness of solutions in unstructured road environments, resulting in performance degradation or low computational efficiency in complex environments.

Method used

The dynamic step module is used to extract the center lines between obstacles and perform discretized path planning. Based on non-uniform sampling and depth-first search technology, combined with GPS and obstacle detection units, the automatic driving path is quickly obtained and the path processing time is determined. If the set allowed time is exceeded, the safety of the route to be traveled will be evaluated and the vehicle will brake or execute the route.

Benefits of technology

It realizes autonomous driving path planning with fast response and good planning capabilities on unstructured roads, ensuring the safety and calculation efficiency of the path, and balancing planning time and path optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114859917B
    Figure CN114859917B
Patent Text Reader

Abstract

The present invention relates to a method for automatic driving path planning on unstructured roads, comprising the following steps: A) receiving path planning input information; B) obtaining obstacle information, extracting the center line of the gap between obstacles using a dynamic step length module and processing to obtain a discretized path, and judging whether the processing time exceeds the allowed system time; C) if the processing time does not exceed the set allowed system time, performing non-uniform sampling path planning on the discretized path based on the dynamic step length to obtain an automatic driving path; D) if the dynamic step length module times out, judging whether there is a path to be driven and its safety, so as to decide whether to execute the path to be driven or brake; if the dynamic step length module successfully exits the path planning, executing the automatic driving path. The method for automatic driving path planning on unstructured roads of the present invention has strong planning capability and fast response speed. In addition, the present invention also discloses an automatic driving path planning system and vehicle for unstructured roads.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving, and in particular to a method for autonomous driving path planning on unstructured roads, and also to a system and a vehicle for autonomous driving path planning on unstructured roads. Background Art

[0002] Autonomous driving scenarios are divided into structured roads and unstructured roads (including fully unstructured and semi-structured).

[0003] For structured roads, such as highways with lane edges and lane centerlines, there are many mature solutions. However, for unstructured roads, there is still a problem of how to ensure the completeness of the method and quickly plan a feasible path that meets vehicle constraints.

[0004] Traditional path planning includes curve-based methods, sampling and search-based methods, and optimization-based methods. Curve methods include Dubins curves, Reeds-Shepp curves, clothoids, spline curves, etc. The above algorithms use the geometric rules of curves to quickly find feasible solutions without collisions in unstructured scenarios, but they cannot guarantee the completeness of the solutions, resulting in a decrease in the performance of the algorithms when the environment is complex; sampling methods (such as dynamic step size algorithms), although probabilistically complete, will perform a large amount of ineffective exploration of the configuration space, resulting in reduced computational efficiency; search methods (such as A* search algorithms and their variants) have complete resolution, but their discrete size needs to be selected empirically, and the algorithms rely heavily on heuristic items, or require a large amount of memory to store offline heuristics. Therefore, the above autonomous driving path planning methods are difficult to balance computational efficiency and completeness.

[0005] In view of this, it is necessary to provide a path planning method for autonomous driving on unstructured roads. Summary of the invention

[0006] The first aspect of the present invention is to provide a method for automatic driving path planning on unstructured roads, which has strong planning capability and fast response speed.

[0007] The second aspect of the present invention is to provide an unstructured road autonomous driving path planning system with strong planning capability and fast response speed.

[0008] A third aspect of the present invention is to provide a vehicle that has a strong road planning capability on unstructured roads, a fast response speed, and high safety.

[0009] To achieve the above invention object, the first aspect of the present invention provides a method for automatic driving path planning on an unstructured road, comprising the following steps: A) receiving path planning input information, wherein the path planning input information includes coordinate information of a current posture and a target posture;

[0010] B) Obtaining obstacle information, extracting the center line of the gap between obstacles according to the obstacle information using a dynamic step size module and post-processing the center line to obtain a discretized path, and determining whether the processing time of the discretized path exceeds the set allowable system time;

[0011] C) if the processing time does not exceed the set allowable system time, performing non-uniform sampling path planning on the discretized path based on a dynamic step size to obtain an autonomous driving path;

[0012] D) If the dynamic step length module times out, determine whether there is a path to be driven and whether the length of the path to be driven exceeds twice the path length required for braking. If there is no path to be driven, or the length of the path to be driven does not exceed twice the path length required for braking, output the brake flag and brake. If there is a path to be driven and the length of the path to be driven exceeds twice the path length required for braking, execute the path to be driven. If the dynamic step length module exits after successful path planning, execute the automatic driving path.

[0013] Specifically, the coordinate information in step A) includes vehicle coordinates x, y and a vehicle heading angle θ.

[0014] More specifically, the steps of extracting and discretizing the centerline in step B) include:

[0015] B1) unifying the obstacle information and the coordinate information into a unified coordinate system, and determining whether it is the first time to plan an autonomous driving path;

[0016] B2) If the automatic driving path is planned for the first time, polygonal graphics are extracted from the obstacle according to the obstacle information to obtain the main side and limited side of the obstacle, the endpoints of the main side and the limited side are bound to the corresponding vehicle heading angle θ, collision detection is performed on the vehicle posture corresponding to the endpoint to delete the side where the collision occurs, and a starting node is obtained according to the current posture, and a target node is obtained according to the target posture, and then a picture connecting the starting node and the target node is searched based on the depth-first method to obtain a complete center line, and the center line is discretized to obtain a discretized path;

[0017] B3) If it is not the first time to plan the autonomous driving path, the existing path to be driven is retrieved, and the path to be driven is detected according to the set path interval to see whether it will collide with the obstacle. If a collision occurs, the path point corresponding to the collision point and the subsequent path to be driven are deleted, and a dynamic step search tree is initialized based on the remaining safe paths. If no collision occurs, the dynamic step search tree is initialized for the path to be driven, and the dynamic step search tree is discretized.

[0018] More specifically, the centerline extraction step includes: extracting corner points of the obstacle, forming an obstacle line segment set of the obstacle with adjacent corner points, performing the polygonal figure extraction on the line segment set to screen out the main edge and the finite edge, and binding the corresponding vehicle heading angle θ to the endpoints of the main edge and the finite edge:

[0019]

[0020] Among them, (x1, y1) is the coordinate of the end point in the main edge or the finite edge, and (x0, y0) is the coordinate of the starting point in the main edge or the finite edge; collision detection is performed on the vehicle posture corresponding to the endpoint to delete the edge corresponding to the endpoint where the collision occurs, and the endpoint closest to the current posture is used as the initial node, and the endpoint closest to the target posture is used as the target node. The image connecting the initial node and the target node is searched on a first-in-first-out depth-first principle to obtain the center line from the starting node to the target node.

[0021] Furthermore, during the process of extracting and discretizing the center line, the dynamic step module executes step B2) once every set time interval.

[0022] More specifically, the step of acquiring the automatic driving path in step C) includes:

[0023] C1) performing non-uniform sampling on the discretized path based on a set bias sampling strategy to obtain a sampling node;

[0024] C2) screening out multiple nodes with the smallest path cost to the sampling node as nearby nodes, calculating the cost value of the nearby nodes, selecting the nearby nodes with the smallest cost value to access the dynamic step search tree, and adding the corresponding paths from the nearby nodes to the target node to the paths of the dynamic step search tree;

[0025] C3) randomly selecting any node on the path from the initial node to the nearby node to connect to the sampling node, calculating the node-sampling point full cost value from the selected node to the sampling node without collision and the node-sampling point-nearby node full cost value from the selected node to the sampling node and then to the nearby node without collision, and comparing the node-sampling point full cost value and the node-sampling point-nearby node full cost value with the cost value of the nearby node, so as to reconnect the path with the minimum cost when it is less than the cost value of the nearby node, and change the corresponding parent-child relationship of the corresponding node.

[0026] More specifically, the steps of the biased sampling strategy include: uniformly sampling and randomly selecting a center line segment from multiple center line segments, and uniformly sampling a point in the middle of the center line segment:

[0027] x m =(1-u)x0+x1

[0028] y m =(1-u)y0+y1

[0029] Among them, u is uniformly sampled between 0 and 1, and then the offset distance and heading angle offset are sampled using Gaussian distribution:

[0030]

[0031] Wherein σ is a variance parameter; μ is a mean parameter fixed to 0, the offset distance is sampled by the Gaussian distribution to obtain the sampling node, and the heading angle offset is sampled by the Gaussian distribution to obtain the sampling posture.

[0032] More specifically, the cost value calculation function is:

[0033] Cost(x,y)=Cost(σ x->y )=w1 C length +w2 C cusp +w3 C curv

[0034] Among them, w1, w2, w3 are weight coefficients, C length is the path length, C cusp is the number of sharp corners in the path, C curv is the sum of the squared values ​​of the path curvature calculated at intervals of Δ path length, σ x->y Represents a Reeds-Shepp curve segment path from node x to node y.

[0035] Furthermore, the second aspect of the present invention provides an unstructured road autonomous driving path planning system, comprising a GPS positioning unit, an obstacle detection unit, a data processing unit and a path storage unit, wherein the GPS positioning unit is used to receive GPS information, the obstacle detection unit is used to collect obstacle information, the path storage unit stores a previously planned autonomous driving path so that the autonomous driving path can be used as a path to be driven, and the data processing unit is prefabricated with an unstructured road autonomous driving path planning method described in any of the above technical solutions.

[0036] Furthermore, a third aspect of the present invention provides a vehicle, which includes the road automatic driving path planning system in the above technical solution.

[0037] The first aspect of the present invention provides an unstructured road automatic driving path planning method, which determines whether the time used in the process of obtaining the center line and the discretized path exceeds the set required system time, so that when the allowed system time is not exceeded, the discretized path is non-uniformly sampled based on the dynamic step size to plan the path, and obtain the automatic driving path, that is, the preferred automatic driving path made corresponding to the current road conditions; if the time exceeds the allowed system time, when the dynamic step size module times out, it is first determined whether there is a previously planned path to be driven, and if so, the safety of the path to be driven is evaluated, and if the length of the path to be driven does not exceed twice the path required for braking, the path to be driven is evaluated. If the path length is greater than twice the path length required for braking, the path to be driven is determined to be unsafe, and the brake flag is output and the brakes are applied. If the path to be driven is longer than twice the path length required for braking, the path to be driven is determined to be safe, and the path to be driven is executed. If there is no previously planned path to be driven, the brake flag is output and the brakes are applied. If the dynamic step module exits after the path planning is successful, the automatic driving path is executed. This design enables a good balance to be made between the planning time and the optimal solution of the path when planning the path, thereby ensuring that the automatic driving path planning method can respond quickly, and that the automatic driving path planning method has good planning capabilities, and can ensure the safety of automatic driving.

[0038] The unstructured road autonomous driving path planning system provided in the second aspect of the present invention also has good rapid response capabilities and path planning capabilities because the above-mentioned unstructured road autonomous driving path planning method is prefabricated in its data processing unit.

[0039] The vehicle provided in the third aspect of the present invention has the above-mentioned unstructured road automatic driving path planning system, and therefore, it also has good rapid response capabilities and path planning capabilities, thereby having high safety in driving on unstructured roads.

[0040] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a schematic diagram of the principle of the unstructured road automatic driving path planning method of the present invention;

[0042] Figure 2 It is a flow chart of the unstructured road automatic driving path planning method of the present invention;

[0043] Figure 3 is a schematic diagram of vehicle coordinates and vehicle heading angles in the unstructured road autonomous driving path planning method of the present invention;

[0044] Figure 4 It is a schematic diagram of extracting polygonal graphics of obstacles in the unstructured road automatic driving path planning method of the present invention;

[0045] Figure 5 It is a schematic diagram of route planning based on obstacle polygonal graphics in the unstructured road automatic driving path planning method of the present invention;

[0046] Figure 6 It is a schematic diagram of obtaining the main edges and limited edges of obstacles in the unstructured road automatic driving path planning method of the present invention;

[0047] Figure 7 It is a schematic diagram of bias sampling in the unstructured road autonomous driving path planning method of the present invention. DETAILED DESCRIPTION

[0048] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.

[0049] In an embodiment of the unstructured road automatic driving path planning method provided by the first aspect of the present invention, Figure 1 As shown, the unstructured road autonomous driving path planning method includes the following steps:

[0050] A) receiving path planning input information, specifically, the path planning input information includes coordinate information of the current posture and the target posture;

[0051] B) Obtain obstacle information, use the dynamic step size module to extract the center line of the gap between obstacles according to the obstacle information and post-process the center line to obtain a discretized path, and determine whether the processing time of the discretized path exceeds the set allowable system time;

[0052] C) If the processing time does not exceed the set allowable system time, the discretized path is subjected to non-uniform sampling path planning based on the dynamic step size to obtain the autonomous driving path;

[0053] D) If the dynamic step length module times out, it is determined whether there is a path to be driven and whether the length of the path to be driven exceeds twice the path length required for braking. If there is no path to be driven, or the length of the path to be driven does not exceed twice the path length required for braking, it is determined that the actual path cannot be planned, or the road length is not enough for the vehicle to brake and decelerate to a safe speed, and the safety is insufficient. Therefore, the brake flag is output and the brakes are applied. If there is a path to be driven and the length of the path to be driven exceeds twice the path length required for braking, it is determined that the path to be driven is safe enough and the path to be driven is executed. If the dynamic step length module successfully plans the path and exits after convergence, the automatic driving path is executed.

[0054] The first aspect of the present invention provides an unstructured road automatic driving path planning method, which determines whether the time used in the process of obtaining the center line and the discretized path exceeds the set required system time, so that when the allowed system time is not exceeded, the discretized path is non-uniformly sampled based on the dynamic step size to plan the path, and obtain the automatic driving path, that is, the preferred automatic driving path made corresponding to the current road conditions; if the time exceeds the allowed system time, when the dynamic step size module times out, it is first determined whether there is a previously planned path to be driven, and if so, the safety of the path to be driven is evaluated, and if the length of the path to be driven does not exceed twice the path required for braking, the path to be driven is evaluated. If the path length is greater than twice the path length required for braking, the path to be driven is determined to be unsafe, and the brake flag is output and the brakes are applied. If the path to be driven is longer than twice the path length required for braking, the path to be driven is determined to be safe, and the path to be driven is executed. If there is no previously planned path to be driven, the brake flag is output and the brakes are applied. If the dynamic step module exits after the path planning is successful, the automatic driving path is executed. This design enables a good balance to be made between the planning time and the optimal solution of the path when planning the path, thereby ensuring that the automatic driving path planning method can respond quickly, and that the automatic driving path planning method has good planning capabilities, and can ensure the safety of automatic driving.

[0055] Specifically, in one embodiment of the unstructured road autonomous driving path planning method provided by the first aspect of the present invention, Figure 3As shown, the coordinate information includes vehicle coordinates x, y and vehicle heading angle θ, so that the vehicle coordinates x, y and vehicle heading angle θ combined with the outer contour dimensions of the vehicle can be used to determine whether the vehicle will collide with an obstacle during driving, thereby determining the safety of the planned path; in addition, the coordinate information of the front posture and the target posture can be given by the GPS positioning unit on the vehicle receiving the GPS signal.

[0056] Specifically, in one embodiment of the unstructured road autonomous driving path planning method provided by the first aspect of the present invention, Figure 2 As shown, the steps of extracting and discretizing the center line in step B) include:

[0057] B1) Unify the obstacle information and coordinate information into a unified coordinate system, and determine whether it is the first time to plan the autonomous driving path; wherein the obstacle information can be obtained by the obstacle detection unit of the vehicle. Specifically, the obstacle detection unit can be a laser radar or image acquisition device arranged at the front end or roof of the vehicle. Taking the laser radar as an example, the 3D point cloud information obtained by the laser radar can be projected into 2D information with the ground as the plane, and then Figure 4 and Figure 5 As shown, a fitting algorithm is used to fit the polygonal outline of the obstacle (i.e., the obstacle boundary) as the collision-free constraint input for vehicle path planning; the obstacle information and coordinate information are unified into a coordinate system. Specifically, since the coordinates of the obstacle obtained by the obstacle detection unit are based on the vehicle as the reference point, the coordinate information given by the GPS can be converted into a coordinate system based on the vehicle as the reference point, so that the coordinates of the target posture and the coordinates of the obstacle are both in the coordinate system with the vehicle as the coordinate origin, which can facilitate subsequent path planning;

[0058] B2) If the autonomous driving path is planned for the first time, polygonal graphics are extracted from the obstacles according to the obstacle information to obtain the following Figure 6 The main sides and limited sides of the obstacle shown in the figure are bound to the corresponding vehicle heading angle θ of the endpoints in the main sides and limited sides, collision detection is performed on the vehicle posture corresponding to the endpoint to delete the colliding side, and the starting node is obtained according to the current posture, and the target node is obtained according to the target posture, and then the image connecting the initial node and the target node is searched based on the depth-first method to obtain the complete center line, and the center line is discretized to obtain a discretized path S0, wherein the center line extraction step specifically includes: extracting the corner points of the obstacle, forming an obstacle line segment set of the obstacle with adjacent corner points, performing polygonal graphics extraction on the line segment set to screen out the main sides and limited sides, and binding the corresponding vehicle heading angle θ to the endpoints in the main sides and limited sides:

[0059]

[0060] Among them, (x1, y1) is the coordinate of the end point in the main edge or finite edge, (x0, y0) is the coordinate of the starting point in the main edge or finite edge. The purpose of filtering the main edge is to ensure that the edge does not pass through the obstacle and the extracted channel is meaningful; then the vehicle posture corresponding to the endpoint is collided to delete the edge corresponding to the endpoint, and the endpoint closest to the current posture is used as the starting node, and the endpoint closest to the target posture is used as the target node. The image connecting the starting node and the target node is searched according to the first-in-first-out depth-first principle to obtain the center line from the starting node to the target node. Among them, filtering the main edge is to ensure that the edge of the obstacle does not pass through the obstacle, so as to ensure that the boundary of the channel for vehicle passage can be accurately extracted, and filtering the finite edge is to ensure that the endpoint on the edge of the obstacle is not at infinity, so that the edge of the obstacle that is filtered is close to the vehicle itself, that is, to be able to extract the channel boundary information close to the vehicle, so as to reduce unnecessary calculations and make path planning faster;

[0061] B3) If it is not the first time to plan the autonomous driving path, it means that the path storage unit storing the autonomous driving path stores a previously planned autonomous driving path, so that it can be used as the current path to be driven. Therefore, it is preferred to retrieve the existing path to be driven, and treat the driving path according to the set path interval to detect whether the path to be driven will collide with the obstacle. If a collision occurs, the path point corresponding to the collision location and its subsequent path to be driven are deleted, and the dynamic step search tree is initialized for the remaining safe path. If no collision occurs, the dynamic step search tree is initialized for the driving path, and the dynamic step search tree is discretized to obtain a discretized path S0. It should be noted that in the process of extracting and discretizing the center line, a new thread can be opened according to the computing power of the data processing unit. During the calculation and processing of step B3), a new thread will execute step B2) once at every set time interval. That is to say, when planning an autonomous driving path based on an existing path to be driven, the existing path to be driven may not have a similar trajectory to the autonomous driving path that actually needs to be planned. As a result, when planning an autonomous driving path based on the existing path to be driven, the amount of calculation is large and the time is long. Therefore, it is necessary to perform step B2) after a certain set time, that is, directly plan a new autonomous driving path without considering the existing path to be driven, and step B3) and step B2) are performed simultaneously, so as to take the fastest one of the two to obtain the discretized path S0 for the next step, so that the discretized path S0 can be obtained more quickly to improve the planning speed of the autonomous driving path.

[0062] Specifically, in one embodiment of the unstructured road autonomous driving path planning method provided by the first aspect of the present invention, Figure 2 As shown, the step of obtaining the automatic driving path in step C) includes:

[0063] C1) Perform non-uniform sampling in the vehicle configuration space (x, y, θ) for the discretized path S0 based on the set bias sampling strategy:

[0064] p(x,y,θ)=(1-ε)p0+εU

[0065] Among them, p is the probability of sampling nodes with non-uniform dynamic step size, U is uniform sampling in all configuration spaces, p0 is the set bias sampling strategy, ε is a constant that controls the strength of uniform sampling. The bias sampling strategy specifically selects a center line segment from multiple center lines with uniform probability sampling and uniformly samples a point in the middle of the center line segment:

[0066] x m =(1-u)x0+x1

[0067] y m =(1-u)y0+y1

[0068] Among them, u is uniformly sampled between 0 and 1, and then the offset distance r and heading angle offset δ are sampled using Gaussian distribution:

[0069]

[0070] Where σ is the variance parameter; μ is the mean parameter fixed to 0. After sampling the offset distance r, (x, y) can be obtained. The angular rotation amount δ of the heading angle relative to the line segment (x0, y0)(x1, y1) is also randomly selected according to the above formula, θ′=θ+δ, and the result is as follows Figure 7 The sampled pose (x, y, θ′) shown;

[0071] C2) Filter out the sampling nodes x within the set radius rand The multiple nodes with the smallest path cost are selected as nearby nodes x near , the corresponding path cost is given by the function Cost(σ near ) is calculated, where σ near is the sampling node x rand and nearby nodes x near Then, the calculated path cost value is added to the cost value of the existing tree node to obtain the nearby node x near The cost of near = Cost(x near )+Cost(σ near ), then we can get a set of cnear 、x near , σ near The set L is constructed, and then the set is divided into near Sort from small to large, select σ near No collision and full generation value c near +CostToGo(x near )The smallest nearby node x near Add a dynamic step search tree, where CostToGo is: CostToGo(x) = Cost(x, x goal ), that is, from computing node x to target node x goal The cost value of the node to the target node is added to the path of the dynamic step search tree to select a path from the nearby node x near To sampling node x rand The minimum cost path used by

[0072] C3) Step C2) has sampled node x rand Tried to select nearby node x near , ensuring that the starting node to the nearby node x near Then go to sampling node x rand The cost is the smallest, but it cannot guarantee that the starting node to the sampling node x rand Then go to nearby node x near The cost will not be lower, so from the starting node to the nearby node x near On the path, randomly select node x to connect to the sampling node x rand Then calculate CostToGo(x rand ) to get Cost(x)+Cost(x,x rand )+CostToGo(x rand ) and Cost(x)+Cost(x, x rand )+Cost(x rand , x near )+CostToGo(x near ), where Cost(x, y) is the Reeds-Shepp distance between nodes x and y. If both newly calculated cost values ​​are less than σ near The total generation value without collision is to reconnect the path with the minimum cost and change the corresponding parent-child relationship of the corresponding node. If a node x can be found so that Cost(x)+Cost(x, x rand )+CostToGo(x rand ) is smaller, then delete the sampling node x rand The original parent node relationship, and x is used as the sampling node x randNew parent node; if x can be found such that Cost(x)+Cost(x, x rand )+Cost(x rand , x near )+CostToGo(x near ) is smaller, then x is used as the sampling node x rand The new parent node and the sampling node x rand As a nearby node x near The parent node of ; the cost function used is:

[0073] Cost(x, y) = Cost(σ x->y )=w1 C length +w2 C cusp +w3 C curv

[0074] Among them, w1, w2, w3 are weight coefficients, C length is the path length, C cusp is the number of sharp corners in the path, C curv is the sum of the squared values ​​of the path curvature calculated at intervals of Δ path length, σ x->y Represents the Reeds-Shepp curve segment path from node x to node y. After cost value calculation and comparison, the final selected autonomous driving path can take into account both the path driving efficiency and the passenger riding comfort; preferably, Δ is 0.5, w1=1, w2=4.5, w3=0.2.

[0075] In the above step C3), a bidirectional version of tree search is actually performed. Specifically, the forward search tree takes the current posture as the starting point and the target posture as the target point. Correspondingly, a reverse search tree is constructed with the target posture as the starting point and the current posture as the target point. The two search trees grow alternately until they are connected together. After the connection is successful, the cost value of the current complete path is recorded as a basis for judging whether the cost has converged; if subsequent successful sampling is n times and the change value of the minimum cost each time is less than the threshold k, it is judged to be converged. Preferably, n=5, k=0.3.

[0076] Furthermore, in an embodiment of the unstructured road automatic driving path planning system provided in the second aspect of the present invention, the system includes a GPS positioning unit, an obstacle detection unit, a data processing unit and a path storage unit, wherein the GPS positioning unit is used to receive GPS information so as to obtain the coordinate information of the current position of the vehicle and the coordinate information of the target position of the vehicle; the obstacle detection unit is used to collect obstacle information, specifically, the obstacle detection unit can be a laser radar or a picture acquisition device arranged at the front end or roof of the vehicle. Taking the laser radar as an example, the 3D point cloud information obtained by the laser radar can be projected into 2D information with the ground as the plane, and then the polygonal shape contour of the obstacle is fitted by a fitting algorithm as the collision-free constraint input for vehicle path planning; the path storage unit stores the previously planned automatic driving path so that the automatic driving path can be used as the path to be driven, so that when needed, the path to be driven with the highest matching degree with the current road conditions can be retrieved as the basis for the re-planned automatic driving path, thereby greatly reducing the planning time of the automatic driving path; the data processing unit is prefabricated with the unstructured road automatic driving path planning method in the above technical solution.

[0077] The unstructured road autonomous driving path planning system provided in the second aspect of the present invention has the unstructured road autonomous driving path planning method in the above-mentioned technical solution. Therefore, it can have a faster response speed when planning the autonomous driving path, and can quickly determine whether to brake or drive based on the path to be driven or according to the autonomous driving path. The data processing unit is divided into multiple threads, and the existing path to be driven and the new autonomous driving path are analyzed and planned at the same time, which can shorten the time to obtain the driving path and greatly improve the path planning ability and efficiency. In addition, it can also plan a path with lower cost, which can take into account both the time for path planning and the driving comfort of the planned path.

[0078] Furthermore, in an embodiment of the vehicle provided in the third aspect of the present invention, since the vehicle includes the unstructured road autonomous driving path planning system in the above-mentioned technical solution, it also has the technical effects possessed by the above-mentioned technical solution of the unstructured road autonomous driving path planning system, and can make the vehicle safer.

[0079] The optional implementation modes of the embodiments of the present invention are described in detail above in conjunction with the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details in the above implementation modes. Within the technical concept of the embodiments of the present invention, various simple modifications can be made to the technical scheme of the embodiments of the present invention, and these simple modifications all belong to the protection scope of the embodiments of the present invention.

[0080] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, the embodiments of the present invention will not further describe various possible combinations.

[0081] In addition, various implementation modes of the embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the embodiments of the present invention, they should also be regarded as the contents disclosed by the embodiments of the present invention.

Claims

1. A method for automatic driving path planning on unstructured roads, characterized in that: The steps include: A) receiving path planning input information, wherein the path planning input information includes coordinate information of a current posture and a target posture; B) Obtaining obstacle information, extracting the center line of the gap between obstacles according to the obstacle information using a dynamic step size module and post-processing the center line to obtain a discretized path, and determining whether the processing time of the discretized path exceeds the set allowable system time; C) if the processing time does not exceed the set allowable system time, performing non-uniform sampling path planning on the discretized path based on a dynamic step size to obtain an autonomous driving path; D) If the dynamic step length module times out, determine whether there is a path to be driven, and whether the length of the path to be driven exceeds twice the path length required for braking. If there is no path to be driven, or the length of the path to be driven does not exceed twice the path length required for braking, output a brake flag and brake. If there is a path to be driven, and the length of the path to be driven exceeds twice the path length required for braking, execute the path to be driven; If the dynamic step size module exits after successful path planning, the automatic driving path is executed.

2. The unstructured road automatic driving path planning method according to claim 1, characterized in that: The coordinate information in step A) includes vehicle coordinates x, y and vehicle heading angle θ.

3. The unstructured road automatic driving path planning method according to claim 2, characterized in that: The steps of extracting and discretizing the center line in step B) include: B1) unifying the obstacle information and the coordinate information into a unified coordinate system, and determining whether it is the first time to plan an autonomous driving path; B2) If the autonomous driving path is planned for the first time, polygonal graphics are extracted from the obstacle according to the obstacle information to obtain the main side and limited side of the obstacle, the endpoints of the main side and the limited side are bound to the corresponding vehicle heading angle θ, collision detection is performed on the vehicle posture corresponding to the endpoint to delete the side where the collision occurs, and an initial node is obtained according to the current posture, and a target node is obtained according to the target posture, and then a picture connecting the initial node and the target node is searched based on the depth-first method to obtain a complete center line, and the center line is discretized to obtain a discretized path; B3) If it is not the first time to plan the autonomous driving path, the existing path to be driven is retrieved, and the path to be driven is detected according to the set path interval to see whether it will collide with the obstacle. If a collision occurs, the path point corresponding to the collision point and the subsequent path to be driven are deleted, and a dynamic step search tree is initialized based on the remaining safe paths. If no collision occurs, the dynamic step search tree is initialized for the path to be driven, and the dynamic step search tree is discretized.

4. The unstructured road automatic driving path planning method according to claim 3, characterized in that: The centerline extraction step includes: extracting corner points of the obstacle, forming an obstacle line segment set of the obstacle with adjacent corner points, performing polygonal figure extraction on the line segment set to screen out the main edge and the finite edge, and binding the corresponding vehicle heading angle θ to the endpoints of the main edge and the finite edge: Among them, (x1, y1) is the coordinate of the end point in the main edge or the finite edge, and (x0, y0) is the coordinate of the starting point in the main edge or the finite edge; collision detection is performed on the vehicle posture corresponding to the endpoint to delete the edge corresponding to the endpoint where the collision occurs, and the endpoint closest to the current posture is used as the starting node, and the endpoint closest to the target posture is used as the target node. The image connecting the starting node and the target node is searched on a first-in-first-out depth-first principle to obtain the center line from the starting node to the target node.

5. The unstructured road automatic driving path planning method according to claim 3, characterized in that: During the process of extracting and discretizing the center line, the dynamic step module executes step B2) once every set time interval.

6. The method for automatic driving path planning on unstructured roads according to any one of claims 3 to 5, characterized in that: The step of obtaining the automatic driving path in step C) includes: C1) performing non-uniform sampling on the discretized path based on a set bias sampling strategy to obtain a sampling node; C2) screening out multiple nodes with the smallest path cost to the sampling node as nearby nodes, calculating the cost value of the nearby nodes, selecting the nearby nodes with the smallest cost value to access the dynamic step search tree, and adding the corresponding paths from the nearby nodes to the target node to the paths of the dynamic step search tree; C3) randomly selecting any node on the path from the initial node to the nearby node to connect to the sampling node, calculating the node-sampling point full cost value from the selected node to the sampling node without collision and the node-sampling point-nearby node full cost value from the selected node to the sampling node and then to the nearby node without collision, and comparing the node-sampling point full cost value and the node-sampling point-nearby node full cost value with the cost value of the nearby node, so as to reconnect the path with the minimum cost when it is less than the cost value of the nearby node, and change the corresponding parent-child relationship of the corresponding node.

7. The unstructured road automatic driving path planning method according to claim 6, characterized in that: The steps of the biased sampling strategy include: uniformly sampling and randomly selecting a center line segment from multiple center line segments, and uniformly sampling a point in the middle of the center line segment: x m =(1-u)x0+x1 y m =(1-u)y0+y1 Among them, u is uniformly sampled between 0 and 1, and then the offset distance and heading angle offset are sampled using Gaussian distribution: Wherein σ is a variance parameter; μ is a mean parameter fixed to 0, the offset distance is sampled by the Gaussian distribution to obtain the sampling node, and the heading angle offset is sampled by the Gaussian distribution to obtain the sampling posture.

8. The unstructured road automatic driving path planning method according to claim 6, characterized in that: The calculation function of the cost value is: Cost(x,y)=Cost(σ x->y )=w1 C length +w2 C cusp +w3 C curv Among them, w1, w2, w3 are weight coefficients, C length is the path length, C cusp is the number of sharp corners in the path, C curv is the sum of the squared values ​​of the path curvature calculated at intervals of Δ path length, σ x->y Represents a Reeds-Shepp curve segment path from node x to node y.

9. An unstructured road autonomous driving path planning system, characterized in that: It includes a GPS positioning unit, an obstacle detection unit, a data processing unit and a path storage unit, the GPS positioning unit is used to receive GPS information, the obstacle detection unit is used to collect obstacle information, the path storage unit stores a previously planned autonomous driving path so that the autonomous driving path can be used as a path to be driven, and the data processing unit is prefabricated with the unstructured road autonomous driving path planning method described in any one of claims 1 to 8.

10. A vehicle, characterized in that: Including the road automatic driving path planning system as described in claim 9.