A method and system for unmanned vehicle path planning in three-dimensional terrain

By introducing the target offset strategy and multi-point sampling strategy into the RRT algorithm, combined with elevation detection and path search cutoff detection, the complexity of path planning under three-dimensional terrain is solved, and the rationality and efficiency of path planning are improved. The generated path More suitable for the work needs of unmanned vehicles.

CN114942629BActive Publication Date: 2024-10-18CHONGQING UNIV +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210422548.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-21
Publication Date
2024-10-18
Estimated Expiration
2042-04-21

AI Technical Summary

Technical Problem

The existing RRT algorithm is mainly used in two-dimensional obstacle space, and it is difficult to effectively plan safe and collision-free paths under three-dimensional terrain, resulting in long path planning time and poor optimality in complex environments.

Method used

A random tree algorithm based on the target offset strategy and multi-point sampling strategy is used to generate random nodes under the three-dimensional terrain, and the path planning is optimized through elevation detection and path search cutoff detection to determine a reasonable path.

Benefits of technology

It improves the rationality and efficiency of path planning under three-dimensional terrain, reduces planning time, and generates paths that are more suitable for the working needs of unmanned vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114942629B_ABST
    Figure CN114942629B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for unmanned vehicle path planning under three-dimensional terrain, which relates to the field of path planning technology. The starting point of the path to be planned is used as a node to construct a random tree; random nodes are generated based on a target bias strategy and a multi-point sampling strategy; the node with the smallest two-dimensional distance from the random node in the random tree is determined as the nearest node; the direction from the nearest node to the random node is determined as the extension direction; taking the nearest node as the starting point, along the extension direction, the point corresponding to the preset step length is determined as the to-be-determined node; the random tree is updated or the path cutoff random tree is determined through elevation detection and path search cutoff detection, and then the path to be planned is determined. The target bias strategy, multi-point sampling strategy, elevation detection and path search cutoff detection optimize the RRT algorithm, which can complete the path planning under three-dimensional terrain and improve the rationality of path planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of path planning, and in particular to a method and system for unmanned vehicle path planning in three-dimensional terrain. Background Art

[0002] In recent years, the rapid development of robot technology has brought great convenience to all walks of life. For example, in field enemy reconnaissance and disaster relief, robots are widely used because of their strong mobility, continuous work through battery recharge, assistance or replacement of rescue and reconnaissance personnel, and reduced safety risks. How to plan a safe and collision-free path in complex terrain is a prerequisite for the robot's own safety and even the entire work.

[0003] At present, there are endless algorithms for mobile robot path planning, such as graph search method, bionic intelligence algorithm, visibility graph method, etc. The Rapidly-Exploring RandomTree (RRT) algorithm based on sampling proposed by LaValle in 1998 is widely used because of its probabilistic completeness, simple algorithm structure, and strong search ability in complex environments. However, most of the current research on RRT algorithms is based on two-dimensional obstacle space, which is inconsistent with most robot application scenarios. For example, military mobile robots need to select an asymptotically optimal route based on terrain and enemy situation when conducting reconnaissance. Therefore, the path planning problem of RRT algorithm in three-dimensional terrain is an urgent problem to be solved. Summary of the invention

[0004] The purpose of the present invention is to provide a method and system for unmanned vehicle path planning in three-dimensional terrain, which can complete path planning in three-dimensional terrain and improve the rationality of path planning.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] A method for unmanned vehicle path planning in three-dimensional terrain, comprising:

[0007] Obtaining a map of the path planning area, and the starting point and the target point of the path to be planned; the map includes the two-dimensional coordinates and elevation value of each point on the path planning area;

[0008] Constructing a random tree using the starting point as a node;

[0009] Generate random nodes based on target bias strategy and multi-point sampling strategy;

[0010] Determine a node in the random tree that has the smallest two-dimensional distance to the random node as the nearest node;

[0011] Determine the direction from the nearest node to the random node as the extension direction;

[0012] Taking the nearest node as the starting point and along the extension direction, determining the point corresponding to the preset step length as the pending node;

[0013] Performing elevation detection on the node to be determined according to the elevation value of the node to be determined and the elevation value of the nearest node;

[0014] Adding the pending node that passes the elevation detection to the random tree as a child node of the nearest node, and determining the child node of the nearest node as the most recently updated node;

[0015] Performing a path search cutoff detection on the most recently updated node;

[0016] When the most recently updated node fails to pass the path search cutoff detection, returning to the step of "generating a random node based on a target bias strategy and a multi-point sampling strategy";

[0017] When the most recently updated node passes the path search cutoff detection, determining that the target point is a child node of the most recently updated node, and adding the child node of the most recently updated node to the random tree to obtain a path cutoff random tree;

[0018] The path to be planned is constructed according to the path cutoff random tree.

[0019] Optionally, the generating of random nodes based on the target bias strategy and the multi-point sampling strategy specifically includes:

[0020] According to the uniform probability distribution, according to the formula Randomly obtain a target bias probability; where p is the target bias probability; p1 and p2 are both constants, a is the shortest distance between the random tree and the target point after the random node expansion is completed, and b is the two-dimensional straight line distance between the starting point and the target point for quality inspection;

[0021] Determine whether the target bias probability is less than a target bias probability threshold, and obtain a first determination result;

[0022] If the first judgment result is yes, the target point is determined to be a random node;

[0023] If the first judgment result is no, then a point closest to the target point among any two points in the path planning area is determined as the random node.

[0024] Optionally, the performing elevation detection on the to-be-determined node according to the elevation value of the to-be-determined node and the elevation value of the nearest node specifically includes:

[0025] Determine whether the elevation value of the pending node is less than an elevation threshold, and obtain a second determination result;

[0026] If the second judgment result is no, the pending node fails the elevation detection;

[0027] If the second judgment result is yes, then judging whether the absolute value of the difference between the elevation value of the pending node and the elevation value of the nearest node is less than the elevation difference threshold, and obtaining a third judgment result;

[0028] If the third judgment result is no, the pending node fails the elevation detection;

[0029] If the third judgment result is yes, inserting a plurality of virtual nodes at equal intervals between the pending node and the nearest node;

[0030] Determine whether there is any adjacent virtual node whose absolute value of the difference in elevation is greater than or equal to the elevation difference threshold, and obtain a fourth determination result;

[0031] If the fourth judgment result is yes, the pending node fails the elevation detection;

[0032] If the fourth judgment result is no, the pending node passes the elevation detection.

[0033] Optionally, after the pending node fails the elevation detection, the method further includes:

[0034] Taking the nearest node as the rotation center, the extension direction is deflected clockwise and counterclockwise by preset angles respectively to obtain a first alternative direction and a second alternative direction;

[0035] Taking the nearest node as the starting point, along the first alternative direction, determine a point corresponding to a preset step length as the first alternative node;

[0036] Taking the nearest node as the starting point, along the second alternative direction, determine a point corresponding to a preset step length as the second alternative node;

[0037] Performing elevation detection on the first alternative node and the second alternative node respectively;

[0038] Determine whether both of the two alternative nodes pass the elevation detection to obtain a fifth determination result; the alternative node is the first alternative node or the second alternative node;

[0039] If the fifth judgment result is yes, then determine that the point with the smallest absolute value of the difference between the elevation value of the two alternative nodes and the elevation value of the nearest node is the pending node that passes the elevation detection, and return to the step of "performing a path search cutoff detection on the pending node that passes the elevation detection";

[0040] If the fifth judgment result is no, then judging whether both replacement nodes fail the elevation detection, and obtaining a sixth judgment result;

[0041] If the sixth judgment result is yes, return to the step of "generating random nodes based on the target bias strategy and the multi-point sampling strategy";

[0042] If the sixth judgment result is no, the node that passes the elevation detection is used as the pending node that passes the elevation detection and the process returns to the step of "performing a path search cutoff detection on the pending node that passes the elevation detection".

[0043] Optionally, performing a path search cutoff detection on the most recently updated node specifically includes:

[0044] Determine whether the two-dimensional distance between the most recently updated node and the target point is less than a distance threshold, to obtain a seventh determination result;

[0045] If the seventh judgment result is no, the most recently updated node fails the path search cutoff detection;

[0046] If the seventh judgment result is yes, performing elevation detection on the target point according to the elevation value of the target point and the elevation value of the most recently updated node;

[0047] When the target point passes the elevation detection, it is determined that the most recently updated node passes the path search cutoff detection.

[0048] A path planning system for an unmanned vehicle in three-dimensional terrain, comprising:

[0049] A data acquisition module, used to acquire a map of the path planning area, and a starting point and a target point of the path to be planned; the map includes two-dimensional coordinates and elevation values ​​of each point on the path planning area;

[0050] A random tree construction module, used to construct a random tree using the starting point as a node;

[0051] A random node generation module is used to generate random nodes based on the target bias strategy and multi-point sampling strategy;

[0052] A nearest node determination module, used to determine the node with the smallest two-dimensional distance to the random node in the random tree as the nearest node;

[0053] An extension direction determination module, used to determine the direction from the nearest node to the random node as the extension direction;

[0054] A first pending node determination module is used to determine, with the nearest node as the starting point, along the extension direction, a point corresponding to a preset step length as a pending node;

[0055] A first elevation detection module, configured to perform elevation detection on the pending node according to the elevation value of the pending node and the elevation value of the nearest node;

[0056] A random tree updating module, used for adding the pending node that passes the elevation detection to the random tree as a child node of the nearest node, and determining the child node of the nearest node as the most recently updated node;

[0057] A path search cutoff detection module, used for performing a path search cutoff detection on the most recently updated node;

[0058] A loop module, used for returning to the step of "generating random nodes based on target bias strategy and multi-point sampling strategy" when the most recently updated node fails to pass the path search cutoff detection;

[0059] A path cutoff random tree determination module, configured to determine that the target point is a child node of the most recently updated node when the most recently updated node passes the path search cutoff detection, and add the child node of the most recently updated node to the random tree to obtain a path cutoff random tree;

[0060] The module for constructing a path to be planned is used to construct the path to be planned according to the path cutoff random tree.

[0061] Optionally, the random node generation module specifically includes:

[0062] The target bias probability acquisition unit is used to obtain the target bias probability according to the uniform probability distribution according to the formula Randomly obtain a target bias probability; where p is the target bias probability; p1 and p2 are both constants, a is the shortest distance between the random tree and the target point after the random node expansion is completed, and b is the two-dimensional straight line distance between the starting point and the target point for quality inspection;

[0063] A first judgment unit, used to judge whether the target bias probability is less than a target bias probability threshold, and obtain a first judgment result; if the first judgment result is yes, calling the first random node determination unit; if the first judgment result is no, calling the second random node determination unit;

[0064] A first random node determination unit, used to determine that the target point is a random node;

[0065] The second random node determination unit is used to determine a point closest to the target point among any two points in the path planning area as the random node.

[0066] Optionally, the first altitude detection module specifically includes:

[0067] A second judgment unit is used to judge whether the elevation value of the pending node is less than the elevation threshold value to obtain a second judgment result; if the second judgment result is no, calling the elevation detection failure judgment unit; if the second judgment result is yes, calling the third judgment unit;

[0068] An elevation detection failure determination unit is used to determine whether the pending node fails the elevation detection;

[0069] A third judgment unit is used to judge whether the absolute value of the difference between the elevation value of the pending node and the nearest node is less than the elevation difference threshold value, and obtain a third judgment result; if the third judgment result is no, then call the elevation detection failure judgment unit; if the third judgment result is yes, then call the virtual node insertion unit;

[0070] A virtual node insertion unit, used for inserting a plurality of virtual nodes at equal intervals between the pending node and the nearest node;

[0071] A fourth judgment unit is used to judge whether the absolute value of the difference in elevation values ​​between any adjacent virtual nodes is greater than or equal to the elevation difference threshold, and obtain a fourth judgment result; if the fourth judgment result is yes, the elevation detection failure judgment unit is called; if the fourth judgment result is no, the elevation detection pass judgment unit is called;

[0072] The elevation detection passing determination unit is used to determine whether the pending node passes the elevation detection.

[0073] Optionally, the system further includes:

[0074] An alternative direction determination module is used to deflect the extension direction clockwise and counterclockwise by preset angles with the nearest node as the rotation center to obtain a first alternative direction and a second alternative direction;

[0075] A first alternative node determination module, configured to take the nearest node as a starting point and determine a point corresponding to a preset step length along the first alternative direction as a first alternative node;

[0076] A second alternative node determination module, configured to determine, with the nearest node as the starting point, along the second alternative direction, a point corresponding to a preset step length as the second alternative node;

[0077] A second elevation detection module, used for performing elevation detection on the first alternative node and the second alternative node respectively;

[0078] a fifth judgment module, used to judge whether both of the two alternative nodes pass the elevation detection, and obtain a fifth judgment result; the alternative node is the first alternative node or the second alternative node; if the fifth judgment result is yes, then call the second pending node determination module; if the fifth judgment result is no, then call the sixth judgment module;

[0079] A second pending node determination module is used to determine a point in two alternative nodes whose absolute value of the difference between the elevation value and the elevation value of the nearest node is the smallest as the pending node that passes the elevation detection, and call the path search cutoff detection module;

[0080] A sixth judgment module, used to judge whether both replacement nodes fail the elevation detection, and obtain a sixth judgment result; if the sixth judgment result is yes, the random node generation module is called; if the sixth judgment result is no, the third pending node determination module is called;

[0081] The third pending node determination module is used to call the path search cutoff detection module by taking the alternative node that passes the elevation detection as the pending node that passes the elevation detection.

[0082] Optionally, the path search cutoff detection module specifically includes:

[0083] a seventh judgment unit, configured to judge whether the two-dimensional distance between the most recently updated node and the target point is less than a distance threshold, and obtain a seventh judgment result; if the seventh judgment result is no, calling the first path search cutoff detection result determination unit; if the seventh judgment result is no, calling the target point elevation detection unit;

[0084] A first path search cutoff detection result determination unit, used to determine whether the most recently updated node has not passed the path search cutoff detection;

[0085] A target point elevation detection unit, used for performing elevation detection on the target point according to the elevation value of the target point and the elevation value of the most recently updated node;

[0086] The second path search cutoff detection result determination unit is used to determine that the most recently updated node has passed the path search cutoff detection when the target point has passed the elevation detection.

[0087] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0088] The present invention provides a method and system for unmanned vehicle path planning under three-dimensional terrain, which uses the starting point of the path to be planned as a node to construct a random tree; generates random nodes based on a target bias strategy and a multi-point sampling strategy; determines the node with the smallest two-dimensional distance from the random node in the random tree as the nearest node; determines the direction from the nearest node to the random node as the extension direction; takes the nearest node as the starting point, and determines the point corresponding to the preset step length along the extension direction as the to-be-determined node; updates the random tree or determines the path cutoff random tree through elevation detection and path search cutoff detection, and then determines the path to be planned. By optimizing the RRT algorithm (the method of using the random tree to plan the path is the RRT algorithm) through the target bias strategy, multi-point sampling strategy, elevation detection and path search cutoff detection, the path planning under three-dimensional terrain can be completed, and the rationality of path planning is improved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0090] Figure 1 This is a flow chart of a method for unmanned vehicle path planning under three-dimensional terrain in Embodiment 1 of the present invention;

[0091] Figure 2 A three-dimensional map of the path planning area in the first embodiment of the present invention;

[0092] Figure 3 This is a schematic diagram of a path to be planned in the first embodiment of the present invention. DETAILED DESCRIPTION

[0093] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0094] The purpose of the present invention is to provide a method and system for unmanned vehicle path planning in three-dimensional terrain, which can complete path planning in three-dimensional terrain and improve the rationality of path planning.

[0095] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0096] Embodiment 1

[0097] like Figure 1 The present invention provides a method for unmanned vehicle path planning in three-dimensional terrain, comprising:

[0098] Obtain a map of the path planning area, as well as the starting point and target point of the path to be planned; the map includes the two-dimensional coordinates and elevation value of each point on the path planning area;

[0099] Build a random tree using the starting point as a node;

[0100] Generate random nodes based on target bias strategy and multi-point sampling strategy;

[0101] Determine the node with the smallest two-dimensional distance to the random node in the random tree as the nearest node;

[0102] Determine the direction from the nearest node to the random node as the extension direction;

[0103] Taking the nearest node as the starting point, along the extension direction, determine the point corresponding to the preset step length as the pending node;

[0104] According to the elevation value of the node to be determined and the elevation value of the nearest node, the elevation of the node to be determined is detected;

[0105] Add the pending nodes that pass the elevation test to the random tree as the child nodes of the nearest node, and determine the child nodes of the nearest node as the most recently updated nodes;

[0106] Perform path search cutoff detection on the most recently updated nodes;

[0107] When the most recently updated node fails the path search cutoff test, return to step “generating random nodes based on target bias strategy and multi-point sampling strategy”;

[0108] When the most recently updated node passes the path search cutoff detection, the target point is determined to be a child node of the most recently updated node, and the child node of the most recently updated node is added to the random tree to obtain a path cutoff random tree;

[0109] The path to be planned is constructed based on the path cutoff random tree.

[0110] Generate random nodes based on target bias strategy and multi-point sampling strategy, including:

[0111] According to the uniform probability distribution, according to the formula Randomly obtain a target bias probability; where p is the target bias probability; p1 and p2 are both constants, a is the shortest distance between the random tree and the target point after the random node expansion is completed, and b is the two-dimensional straight line distance between the starting point and the target point for quality inspection;

[0112] Determine whether the target bias probability is less than a target bias probability threshold, and obtain a first determination result;

[0113] If the first judgment result is yes, the target point is determined to be a random node;

[0114] If the first judgment result is no, then the point closest to the target point among any two points in the path planning area is determined as a random node.

[0115] According to the elevation value of the pending node and the elevation value of the nearest node, the elevation detection of the pending node specifically includes:

[0116] Determine whether the elevation value of the node to be determined is less than the elevation threshold, and obtain a second determination result;

[0117] If the second judgment result is no, the pending node fails the elevation test;

[0118] If the second judgment result is yes, then determine whether the absolute value of the difference between the elevation value of the pending node and the nearest node is less than the elevation difference threshold, and obtain a third judgment result;

[0119] If the third judgment result is no, the pending node fails the elevation test;

[0120] If the third judgment result is yes, multiple virtual nodes are inserted at equal intervals between the pending node and the nearest node;

[0121] Determine whether there is any adjacent virtual node whose absolute value of the difference in elevation value is greater than or equal to the elevation difference threshold, and obtain a fourth determination result;

[0122] If the fourth judgment result is yes, the pending node fails the elevation test;

[0123] If the fourth determination result is no, the pending node passes the elevation detection.

[0124] After the pending node fails the elevation test, it also includes:

[0125] Taking the nearest node as the rotation center, the extension direction is deflected clockwise and counterclockwise by preset angles to obtain a first alternative direction and a second alternative direction;

[0126] Taking the nearest node as the starting point, along the first alternative direction, determine the point corresponding to the preset step length as the first alternative node;

[0127] Taking the nearest node as the starting point, along the second alternative direction, determine the point corresponding to the preset step length as the second alternative node;

[0128] Perform elevation detection on the first alternative node and the second alternative node respectively;

[0129] Determine whether both replacement nodes pass the elevation detection, and obtain a fifth determination result; the replacement node is the first replacement node or the second replacement node;

[0130] If the fifth judgment result is yes, then determine the point with the smallest absolute value of the difference between the elevation value of the two alternative nodes and the nearest node as the pending node that passes the elevation detection, and return to the step of "performing path search cutoff detection on the pending node that passes the elevation detection";

[0131] If the fifth judgment result is no, then determine whether both alternative nodes fail the elevation detection to obtain a sixth judgment result;

[0132] If the sixth judgment result is yes, return to step “generating random nodes based on target bias strategy and multi-point sampling strategy”;

[0133] If the result of the sixth judgment is no, the node that passes the elevation detection is replaced as the pending node that passes the elevation detection and the process returns to the step of "performing a path search cutoff detection on the pending node that passes the elevation detection".

[0134] Perform path search cutoff detection on the most recently updated node, including:

[0135] Determine whether the two-dimensional distance between the most recently updated node and the target point is less than a distance threshold, and obtain a seventh determination result;

[0136] If the seventh judgment result is no, the most recently updated node does not pass the path search cutoff test;

[0137] If the seventh judgment result is yes, then the target point is subjected to elevation detection according to the elevation value of the target point and the elevation value of the most recently updated node;

[0138] When the target point passes the elevation test, it is determined that the most recently updated node passes the path search cutoff test.

[0139] Specifically, the present invention mainly studies the path planning of mobile robots when operating in outdoor mountainous environments, and mainly solves the problems of the original RRT algorithm having a large sampling range and strong blindness when performing random point sampling in three-dimensional terrain, resulting in long path planning time and poor optimality of the obtained path. The present invention improves the RRT algorithm, adopts a certain strategy for the generation of sampling points in the sampling area, accelerates the newly generated nodes to approach the target point, and further reduces the planning time; improves the quality of the planned path by establishing a new node evaluation and expansion mechanism; and makes the obtained path more conducive to the operation of the unmanned vehicle.

[0140] The specific steps are as follows:

[0141] Step 1: Create a 3D map Figure 2 As shown ( Figure 2-3The horizontal and vertical coordinates in the path planning area represent the two-dimensional coordinates, and the vertical coordinates represent the elevation data), obtain the map height data, and obtain the robot's starting point X start , given the target point X goal , initialize the random tree T, and set the starting point X start Add to the random tree T;

[0142] Step 2: Change the original RRT algorithm random point generation method, and combine the RRT Goal Bias (target bias strategy) and Multi sampling Strategy (multi-sampling point strategy) two sampling rules to generate random points; the specific steps are as follows:

[0143] 1. Improve the target bias strategy and dynamically process the target bias probability p, that is, determine the value of p according to the degree of algorithm execution. The specific steps are as follows:

[0144] To ensure the probability completeness and convergence speed of the algorithm, p1 = 0.1, p2 = 0.2, a is the shortest distance between the random tree and the target point after each new node expansion, and b is the straight-line distance between the starting point and the target point. That is, when the expansion reaches a certain extent, the target point is taken as X. rand , which accelerates the convergence of the algorithm.

[0145] 2. Before each sampling, a random value rand between (0,1) is obtained through the random number function random(), and the following processing is performed according to its relationship with p:

[0146]

[0147] Where X better are two random points (X rand1 and X rand2 ) is the one that is closer to the target point, as follows:

[0148]

[0149] Step 3: According to X rand Find the node X that is closest to the position in the random tree T nearest As X rand The parent node X parent , at this time X rand For X parent The expansion direction of the new node is determined according to the position relationship between the parent and child nodes. Determine the new node X by giving a step length L new ;

[0150] Step 4: Use the established new evaluation criteria to evaluate the new node X obtained through expansion new Perform a test to determine whether the new node meets the requirements. The specific determination is as follows:

[0151] Criterion 1: By setting the height threshold H max , after getting the new node X new Afterwards, determine X new Does the height value satisfy Δh≤H max ;

[0152] Criterion 2: By setting the height difference threshold h max Determine the new node X new Whether the height difference Δh with its parent node satisfies Δh≤h max ;

[0153] Principle 3: To prevent the situation where the parent and child nodes are impassable due to the large expansion step size, the current parent and child nodes are interpolated with equal spacing according to the obstacle crossing and trench crossing capabilities of the unmanned vehicle to obtain several control points X1, X2…X between the two points. n , the height difference threshold h set by criterion 2 is used for these adjacent control points max Check to ensure that there is no high mutation between parent and child nodes;

[0154] Step 5: If the new node X new If the node passes the test in step 4, the node and its corresponding parent node information are added to the random tree T; for the new node X that does not pass the test in step 4 new Perform semi-acceptance processing, that is, find two alternative points X1 and X2 near this node, re-test them, and select the better one as the new node determined by the current random point to add to the random tree; the specific steps are as follows:

[0155] Considering the characteristics of three-dimensional terrain, when the new node obtained by the original RRT algorithm expansion method fails to pass the detection of step 4, it will not be discarded immediately, but the original expansion direction will be changed from becomes is the preset angle, and two replacement points are obtained. The two replacement points are re-tested according to step 4, and the best one is selected as X new The alternative point is selected and added to the random tree; the smaller one of the height differences between the two alternative points and the parent node is the optimal alternative point. If the two alternative points X1 and X2 found do not pass the test of step 4, they are all discarded and return to step 2;

[0156] Step 6: Set the endpoint connection threshold λ and determine the new node X that passes the above test each time by calculation. new To target point Xgoal Does the distance z satisfy the above three criteria and z≤λ? If so, then the new node X new As target point X goal The parent node is directly connected, and the target point X goal and its corresponding parent node information are added to the random tree T. If one of the two is not satisfied, return to step 2 until the target point X goal Add to random tree;

[0157] Step 7: In the random tree T, from the target point X goal Towards starting point X start Backtracking path; that is, from X goal Start by finding the parent node of each node step by step until you backtrack to X start Add these parent nodes to the array path(), connect the nodes in path() in sequence, and use the resulting path as the preliminary path of this improved algorithm, such as Figure 3 shown.

[0158] The present invention integrates two sampling rules, namely, the target bias strategy and the multi-sampling point strategy, to generate random points, thereby accelerating the convergence speed of the algorithm; an improvement is proposed to the target bias strategy, and the target bias probability p is dynamically processed, that is, the value of p is determined according to the degree of algorithm execution; the new evaluation criteria established for the expanded new nodes are detected, thereby indirectly optimizing the quality of the path; the nodes that fail to pass the detection are semi-accepted, and the purpose of improving the success rate of sampling is indirectly achieved by finding the optimal replacement point, thereby solving the problems of the original RRT algorithm having a large range and strong blindness when performing random point sampling, resulting in a long path planning time and poor optimality of the obtained path. By considering the inaccessible area on the map, the height difference between the parent and child nodes, and the passability between them, three evaluation criteria are proposed for whether the expanded new nodes are accepted, so that the obtained path is more conducive to the operation of the unmanned vehicle.

[0159] In addition, the present invention also provides a path planning system for an unmanned vehicle under three-dimensional terrain, comprising:

[0160] A data acquisition module is used to obtain a map of the path planning area, as well as the starting point and target point of the path to be planned; the map includes the two-dimensional coordinates and elevation value of each point on the path planning area;

[0161] A random tree construction module is used to construct a random tree using the starting point as a node;

[0162] A random node generation module is used to generate random nodes based on the target bias strategy and multi-point sampling strategy;

[0163] A nearest node determination module, used to determine the node with the smallest two-dimensional distance to the random node in the random tree as the nearest node;

[0164] An extension direction determination module is used to determine the direction from the nearest node to the random node as the extension direction;

[0165] The first pending node determination module is used to determine the point corresponding to the preset step length as the pending node along the extension direction, taking the nearest node as the starting point;

[0166] The first elevation detection module is used to perform elevation detection on the node to be determined according to the elevation value of the node to be determined and the elevation value of the nearest node;

[0167] A random tree update module is used to add the pending nodes that pass the elevation detection to the random tree as the child nodes of the nearest node, and determine the child nodes of the nearest node as the most recently updated nodes;

[0168] A path search cutoff detection module is used to perform path search cutoff detection on the most recently updated node;

[0169] A loop module, used for returning to the step of “generating random nodes based on a target bias strategy and a multi-point sampling strategy” when the most recently updated node fails to pass the path search cutoff test;

[0170] A path cutoff random tree determination module is used to determine that the target point is a child node of the most recently updated node when the most recently updated node passes the path search cutoff detection, and add the child node of the most recently updated node to the random tree to obtain the path cutoff random tree;

[0171] The module for constructing a path to be planned is used to construct a path to be planned according to a path cutoff random tree.

[0172] Random node generation module, specifically including:

[0173] The target bias probability acquisition unit is used to obtain the target bias probability according to the uniform probability distribution according to the formula Randomly obtain a target bias probability; where p is the target bias probability; p1 and p2 are both constants, a is the shortest distance between the random tree and the target point after the random node expansion is completed, and b is the two-dimensional straight line distance between the starting point and the target point for quality inspection;

[0174] A first judgment unit is used to judge whether the target bias probability is less than the target bias probability threshold value to obtain a first judgment result; if the first judgment result is yes, the first random node determination unit is called; if the first judgment result is no, the second random node determination unit is called;

[0175] A first random node determination unit, used to determine that the target point is a random node;

[0176] The second random node determination unit is used to determine a point closest to the target point among any two points in the path planning area as a random node.

[0177] The first elevation detection module specifically includes:

[0178] The second judgment unit is used to judge whether the elevation value of the pending node is less than the elevation threshold value, and obtain a second judgment result; if the second judgment result is no, the elevation detection failure judgment unit is called; if the second judgment result is yes, the third judgment unit is called;

[0179] The elevation detection failure determination unit is used to determine whether the pending node fails the elevation detection;

[0180] The third judgment unit is used to judge whether the absolute value of the difference between the elevation value of the pending node and the nearest node is less than the elevation difference threshold value, and obtain a third judgment result; if the third judgment result is no, the elevation detection failure judgment unit is called; if the third judgment result is yes, the virtual node insertion unit is called;

[0181] A virtual node insertion unit, used to insert multiple virtual nodes at equal intervals between the pending node and the nearest node;

[0182] The fourth judgment unit is used to judge whether the absolute value of the difference between the elevation values ​​of any adjacent virtual nodes is greater than or equal to the elevation difference threshold value, and obtain a fourth judgment result; if the fourth judgment result is yes, the elevation detection failure judgment unit is called; if the fourth judgment result is no, the elevation detection pass judgment unit is called;

[0183] The elevation detection pass determination unit is used to determine whether the pending node has passed the elevation detection.

[0184] The present invention provides a path planning system for an unmanned vehicle in three-dimensional terrain, further comprising:

[0185] An alternative direction determination module is used to deflect the extension direction clockwise and counterclockwise by preset angles with the nearest node as the rotation center to obtain a first alternative direction and a second alternative direction;

[0186] A first alternative node determination module is used to determine a point corresponding to a preset step length as a first alternative node along a first alternative direction, taking the nearest node as a starting point;

[0187] A second alternative node determination module is used to determine the point corresponding to the preset step length as the second alternative node along the second alternative direction with the nearest node as the starting point;

[0188] A second elevation detection module, used for performing elevation detection on the first alternative node and the second alternative node respectively;

[0189] A fifth judgment module is used to judge whether both alternative nodes pass the elevation detection to obtain a fifth judgment result; the alternative node is the first alternative node or the second alternative node; if the fifth judgment result is yes, the second pending node determination module is called; if the fifth judgment result is no, the sixth judgment module is called;

[0190] The second pending node determination module is used to determine a point with the smallest absolute value of the difference between the elevation value of the two alternative nodes and the nearest node as the pending node that passes the elevation detection, and call the path search cutoff detection module;

[0191] The sixth judgment module is used to judge whether both replacement nodes fail the elevation detection, and obtain a sixth judgment result; if the sixth judgment result is yes, the random node generation module is called; if the sixth judgment result is no, the third pending node determination module is called;

[0192] The third pending node determination module is used to call the path search cutoff detection module by taking the alternative node that passes the elevation detection as the pending node that passes the elevation detection.

[0193] Among them, the path search cutoff detection module specifically includes:

[0194] The seventh judgment unit is used to judge whether the two-dimensional distance between the most recently updated node and the target point is less than the distance threshold, and obtain a seventh judgment result; if the seventh judgment result is no, the first path search cutoff detection result judgment unit is called; if the seventh judgment result is no, the target point elevation detection unit is called;

[0195] A first path search cutoff detection result determination unit, used to determine whether the most recently updated node has not passed the path search cutoff detection;

[0196] A target point elevation detection unit is used to detect the elevation of the target point according to the elevation value of the target point and the elevation value of the most recently updated node;

[0197] The second path search cutoff detection result determination unit is used to determine that the most recently updated node has passed the path search cutoff detection when the target point passes the elevation detection.

[0198] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0199] This article uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only used to help understand the method and core ideas of the present invention. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for unmanned vehicle path planning in three-dimensional terrain, characterized in that: include: Obtain a map of the path planning area, as well as the starting point and destination point of the path to be planned; The map includes two-dimensional coordinates and elevation values ​​of each point on the path planning area; Constructing a random tree using the starting point as a node; Generate random nodes based on target bias strategy and multi-point sampling strategy; Determine a node in the random tree that has the smallest two-dimensional distance to the random node as the nearest node; Determine the direction from the nearest node to the random node as the extension direction; Taking the nearest node as the starting point and along the extension direction, determining the point corresponding to the preset step length as the pending node; Performing elevation detection on the node to be determined according to the elevation value of the node to be determined and the elevation value of the nearest node; Adding the pending node that passes the elevation detection to the random tree as a child node of the nearest node, and determining the child node of the nearest node as the most recently updated node; Performing a path search cutoff detection on the most recently updated node; When the most recently updated node fails to pass the path search cutoff detection, return to step "generating a random node based on a target bias strategy and a multi-point sampling strategy"; When the most recently updated node passes the path search cutoff detection, determining that the target point is a child node of the most recently updated node, and adding the child node of the most recently updated node to the random tree to obtain a path cutoff random tree; Constructing the path to be planned according to the path cutoff random tree; Generate random nodes based on target bias strategy and multi-point sampling strategy, including: According to the uniform probability distribution, according to the formula Randomly obtain a target bias probability; where p is the target bias probability; and are all constants, a is the shortest distance between the random tree and the target point after the random node expansion, and b is the two-dimensional straight-line distance between the starting point and the target point; Determine whether the target bias probability is less than a target bias probability threshold, and obtain a first determination result; If the first judgment result is yes, the target point is determined to be a random node; If the first judgment result is no, determining a point closest to the target point among any two points in the path planning area as the random node; According to the elevation value of the pending node and the elevation value of the nearest node, performing elevation detection on the pending node specifically includes: Determine whether the elevation value of the pending node is less than an elevation threshold, and obtain a second determination result; If the second judgment result is no, the pending node fails the elevation detection; If the second judgment result is yes, then judging whether the absolute value of the difference between the elevation value of the pending node and the elevation value of the nearest node is less than the elevation difference threshold, and obtaining a third judgment result; If the third judgment result is no, the pending node fails the elevation detection; If the third judgment result is yes, inserting a plurality of virtual nodes at equal intervals between the pending node and the nearest node; Determine whether there is any adjacent virtual node whose absolute value of the difference in elevation is greater than or equal to the elevation difference threshold, and obtain a fourth determination result; If the fourth judgment result is yes, the pending node fails the elevation detection; If the fourth judgment result is no, the pending node passes the elevation detection; Performing a path search cutoff detection on the most recently updated node specifically includes: Determine whether the two-dimensional distance between the most recently updated node and the target point is less than a distance threshold, to obtain a seventh determination result; If the seventh judgment result is no, the most recently updated node fails the path search cutoff detection; If the seventh judgment result is yes, performing elevation detection on the target point according to the elevation value of the target point and the elevation value of the most recently updated node; When the target point passes the elevation detection, it is determined that the most recently updated node passes the path search cutoff detection.

2. The method for unmanned vehicle path planning in three-dimensional terrain according to claim 1, characterized in that: After the pending node fails the elevation detection, the method further includes: Taking the nearest node as the rotation center, the extension direction is deflected clockwise and counterclockwise by preset angles respectively to obtain a first alternative direction and a second alternative direction; Taking the nearest node as the starting point, along the first alternative direction, determine a point corresponding to a preset step length as the first alternative node; Taking the nearest node as the starting point, along the second alternative direction, determine a point corresponding to a preset step length as the second alternative node; Performing elevation detection on the first alternative node and the second alternative node respectively; Determine whether both of the two alternative nodes pass the elevation detection to obtain a fifth determination result; the alternative node is the first alternative node or the second alternative node; If the fifth judgment result is yes, then determine that the point with the smallest absolute value of the difference between the elevation value of the two alternative nodes and the elevation value of the nearest node is the pending node that passes the elevation detection, and return to the step of "performing a path search cutoff detection on the pending node that passes the elevation detection"; If the fifth judgment result is no, then judging whether both replacement nodes fail the elevation detection, and obtaining a sixth judgment result; If the sixth judgment result is yes, return to step "generating random nodes based on target bias strategy and multi-point sampling strategy"; If the sixth judgment result is no, the node that passes the elevation detection is used as the pending node that passes the elevation detection and the process returns to the step of "performing a path search cutoff detection on the pending node that passes the elevation detection".

3. A path planning system for an unmanned vehicle in three-dimensional terrain, characterized in that: include: A data acquisition module, used to acquire a map of the path planning area, and a starting point and a target point of the path to be planned; the map includes two-dimensional coordinates and elevation values ​​of each point on the path planning area; A random tree construction module, used to construct a random tree using the starting point as a node; A random node generation module is used to generate random nodes based on the target bias strategy and multi-point sampling strategy; A nearest node determination module, used to determine the node with the smallest two-dimensional distance to the random node in the random tree as the nearest node; An extension direction determination module, used to determine the direction from the nearest node to the random node as the extension direction; A first pending node determination module is used to determine, with the nearest node as the starting point, along the extension direction, a point corresponding to a preset step length as a pending node; A first elevation detection module, configured to perform elevation detection on the pending node according to the elevation value of the pending node and the elevation value of the nearest node; A random tree updating module, used for adding the pending node that passes the elevation detection to the random tree as a child node of the nearest node, and determining the child node of the nearest node as the most recently updated node; A path search cutoff detection module, used for performing a path search cutoff detection on the most recently updated node; A loop module, used for returning to the step of "generating random nodes based on target bias strategy and multi-point sampling strategy" when the most recently updated node fails to pass the path search cutoff detection; A path cutoff random tree determination module, configured to determine that the target point is a child node of the most recently updated node when the most recently updated node passes the path search cutoff detection, and add the child node of the most recently updated node to the random tree to obtain a path cutoff random tree; A path construction module to be planned, used to construct the path to be planned according to the path cutoff random tree; The random node generation module specifically includes: The target bias probability acquisition unit is used to obtain the target bias probability according to the uniform probability distribution according to the formula Randomly obtain a target bias probability; where p is the target bias probability; and are all constants, a is the shortest distance between the random tree and the target point after the random node expansion, and b is the two-dimensional straight-line distance between the starting point and the target point; A first judgment unit, used to judge whether the target bias probability is less than a target bias probability threshold, and obtain a first judgment result; if the first judgment result is yes, calling the first random node determination unit; if the first judgment result is no, calling the second random node determination unit; A first random node determination unit, used to determine that the target point is a random node; A second random node determination unit, used to determine a point closest to the target point among any two points in the path planning area as the random node; The first elevation detection module specifically includes: A second judgment unit is used to judge whether the elevation value of the pending node is less than the elevation threshold value to obtain a second judgment result; if the second judgment result is no, calling the elevation detection failure judgment unit; if the second judgment result is yes, calling the third judgment unit; An elevation detection failure determination unit is used to determine whether the pending node fails the elevation detection; A third judgment unit is used to judge whether the absolute value of the difference between the elevation value of the pending node and the nearest node is less than the elevation difference threshold value, and obtain a third judgment result; if the third judgment result is no, then call the elevation detection failure judgment unit; if the third judgment result is yes, then call the virtual node insertion unit; A virtual node insertion unit, used for inserting a plurality of virtual nodes at equal intervals between the pending node and the nearest node; A fourth judgment unit is used to judge whether the absolute value of the difference in elevation values ​​between any adjacent virtual nodes is greater than or equal to the elevation difference threshold, and obtain a fourth judgment result; if the fourth judgment result is yes, the elevation detection failure judgment unit is called; if the fourth judgment result is no, the elevation detection pass judgment unit is called; An elevation detection passing determination unit, used for determining whether the pending node passes the elevation detection; The path search cutoff detection module specifically includes: a seventh judgment unit, configured to judge whether the two-dimensional distance between the most recently updated node and the target point is less than a distance threshold, and obtain a seventh judgment result; if the seventh judgment result is no, calling the first path search cutoff detection result determination unit; if the seventh judgment result is no, calling the target point elevation detection unit; A first path search cutoff detection result determination unit, used to determine whether the most recently updated node has not passed the path search cutoff detection; A target point elevation detection unit, used for performing elevation detection on the target point according to the elevation value of the target point and the elevation value of the most recently updated node; The second path search cutoff detection result determination unit is used to determine that the most recently updated node has passed the path search cutoff detection when the target point has passed the elevation detection.

4. The path planning system for an unmanned vehicle in three-dimensional terrain according to claim 3, characterized in that: The system further comprises: An alternative direction determination module is used to deflect the extension direction clockwise and counterclockwise by preset angles with the nearest node as the rotation center to obtain a first alternative direction and a second alternative direction; A first alternative node determination module, configured to take the nearest node as a starting point and determine a point corresponding to a preset step length along the first alternative direction as a first alternative node; A second alternative node determination module, configured to determine, with the nearest node as the starting point, along the second alternative direction, a point corresponding to a preset step length as the second alternative node; A second elevation detection module, used for performing elevation detection on the first alternative node and the second alternative node respectively; a fifth judgment module, used to judge whether both of the two alternative nodes pass the elevation detection, and obtain a fifth judgment result; the alternative node is the first alternative node or the second alternative node; if the fifth judgment result is yes, then call the second pending node determination module; if the fifth judgment result is no, then call the sixth judgment module; A second pending node determination module is used to determine a point in two alternative nodes whose absolute value of the difference between the elevation value and the elevation value of the nearest node is the smallest as the pending node that passes the elevation detection, and call the path search cutoff detection module; A sixth judgment module, used to judge whether both replacement nodes fail the elevation detection, and obtain a sixth judgment result; if the sixth judgment result is yes, the random node generation module is called; if the sixth judgment result is no, the third pending node determination module is called; The third pending node determination module is used to call the path search cutoff detection module by taking the alternative node that passes the elevation detection as the pending node that passes the elevation detection.

Citation Information

Patent Citations

  • Path planning method and device based on improved bidirectional RRT and Dijkstra fusion algorithm

    CN113359746A

  • Dynamic variable sampling area RRT unmanned vehicle path planning method

    CN113359775A

  • Path planning apparatus of robot and method thereof

    KR1020100081824A

  • Systems and methods for route planning

    WO2020147621A1