CN114115271A - Robot path planning method and system for improving RRT - Google Patents

Robot path planning method and system for improving RRT Download PDF

Info

Publication number
CN114115271A
CN114115271A CN202111415244.2A CN202111415244A CN114115271A CN 114115271 A CN114115271 A CN 114115271A CN 202111415244 A CN202111415244 A CN 202111415244A CN 114115271 A CN114115271 A CN 114115271A
Authority
CN
China
Prior art keywords
node
new
random
goal
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111415244.2A
Other languages
Chinese (zh)
Other versions
CN114115271B (en
Inventor
马国军
段云龙
孙永霜
李明泽
韩松
顾琪伟
朱琎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu University of Science and Technology
Original Assignee
Jiangsu University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu University of Science and Technology filed Critical Jiangsu University of Science and Technology
Priority to CN202111415244.2A priority Critical patent/CN114115271B/en
Publication of CN114115271A publication Critical patent/CN114115271A/en
Application granted granted Critical
Publication of CN114115271B publication Critical patent/CN114115271B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0238Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using obstacle or wall sensors
    • G05D1/024Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using obstacle or wall sensors in combination with a laser
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0221Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Optics & Photonics (AREA)
  • Electromagnetism (AREA)
  • Manipulator (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention discloses a robot path planning method and a system for improving RRT (remote distance test). by generating an extended node in a self-adaptive manner and optimizing a path from a starting point to a newly generated extended node, the time complexity of an RRT algorithm in the path planning process is reduced; and the generated random expansion tree is pruned, and redundant nodes are removed, so that the convergence speed is increased, a better path is obtained, and the path planning efficiency is improved.

Description

Robot path planning method and system for improving RRT
Technical Field
The invention belongs to the technical field of robot path planning, and particularly relates to a robot path planning method and system capable of avoiding obstacles.
Background
Path planning refers to searching a safe, collision-free and feasible path from a starting point to an end point in a given area containing obstacles. A rapid exploration random tree (RRT) based on random point sampling is an algorithm widely applied to robot path planning at present. The RRT algorithm uses an initial point as a root node, generates a random expanded tree by increasing leaf nodes through random sampling, and can find a path from the initial point to a target point in the random tree when the leaf nodes in the random tree contain the target nodes or enter a target area.
There are some significant disadvantages: the method is insensitive to environment information, and when a feasible region is narrow and complex or a large number of irregular obstacles exist, the efficiency of the RRT algorithm for converging to the optimal solution is greatly reduced, and even the exploration fails.
Disclosure of Invention
The purpose of the invention is as follows: the invention provides a robot path planning method and system for improving RRT (route planning), which can solve the problems of low convergence speed and easiness in falling into local optimal solution when an RRT algorithm is adopted for path planning, and improve the efficiency of path planning.
The technical scheme is as follows: the invention discloses a robot path planning method for improving RRT (remote distance measurement) on one hand, which comprises the following steps:
s1, dividing a two-dimensional scene of robot activity into a passable area and an impassable obstacle, and establishing a two-dimensional grid map; acquiring initial position Q of robot in two-dimensional scenestartAnd destination position Qgoal
If from QstartTo QgoalIf the straight path does not touch the obstacle, the planned path is QstartTo QgoalStraight line segment of (2); otherwise, Q isstartAs a root node of a random expansion tree in the RRT algorithm, initializing a target direction weight k to be 1, and determining a planned path according to steps S2-S7;
s2, generating random position points Q in the motion area of the robotrand(ii) a If Q isstartAnd QrandCrosses an obstacle, the Q is discardedrandAnd again generate a new QrandUp to QstartAnd QrandThe wiring of (a) does not pass through the barrier;
s3, traversing the current random expansion tree, searching and QrandClosest point Qnear
S4, calculating QnearMinimum distance to obstacle DobAnd calculating a repulsion factor h:
Figure BDA0003375083560000021
rho is the movement step length of the robot;
calculating QrandTo QnearGravitation of (2)
Figure BDA0003375083560000022
QgoalTo QnearGravitation of (2)
Figure BDA0003375083560000023
Obstacle pair QnearRepulsive force of
Figure BDA0003375083560000024
Calculating QnearResultant force of the process
Figure BDA0003375083560000025
Wherein
Figure BDA0003375083560000026
w is gravity weight and is preset (0, 1)]A constant within a range; qobIs a distance QnearThe nearest obstacle position; i is the distance between two position points in the grid graph of the two-dimensional environment;
with QnearAs a parent node, according to the resultant force
Figure BDA0003375083560000027
Generating a new node Qnew
Figure BDA0003375083560000028
Judging new node QnewAnd QnearWhether there is a collision between the connecting line and the obstacle, or not, and if there is no collision, Q is setnewAdding the random position points to a random expansion tree, and jumping to S2 to regenerate random position points if collision exists;
s5 optimization starting point QstartTo QnewA path of (a);
s6, repeating the steps S3-S5, and when a new node QnewInto a destination position QgoalIn the neighborhood of or is QgoalStopping the expansion of the random expansion tree when the random expansion tree is self; pruning the random expanded tree;
s7 from the destination position QgoalStarting to trace back the father nodes in sequence until the starting point QstartEnd, find a piece from QstartTo QgoalIs not obstructed.
Preferably, the step S4 further includes: according to F1And F2And updating k: if F1>F2K is k + Δ k; otherwise k is k- Δ k; and deltak is a preset updating step length.
Specifically, the step S5 specifically includes:
s5.1 with QnewAs a center of circle, RnearCalculating neighborhood V for radiusnear;RnearA preset wiring length;
s5.2, locating in the neighborhood V in the random expansion treenearThe nodes in the set SnearObtaining a set SnearThe first external node of each node in the set Spnear(ii) a The first external node of the node s is the random spanning tree, and the distance between the node s and the first external node is smaller than the first distance R1A node of (2); s is as large as Snear,Ssum=Snear∪Spnear
S5.3 traversing set SsumNode in (1), judge QnewParent node of (1) is replaced by SsumAfter the node in (1), whether Q is shortenedstartTo QnewIf shortened, Q is performednewThe parent node of (3) is replaced, otherwise, the parent node is not replaced;
s5.4, searching for QnewSecond external node ofSet S ofpnewNode QnewThe second external node of (2) is the AND Q in the random spanning treenewIs less than the second distance R2A node of (2);
s5.5, traversing SnearIf the parent node is replaced by Q, the node in (1) is judgednewAnd SpnewWhether or not the nodes in the union of (1) will later reduce QstartTo the SnearIf the path is reduced, the S is carried outnearThe replacement of the node parent node in (1) and not otherwise.
Specifically, the pruning processing on the random spanning tree in the step S6 specifically includes:
root node Q from random spanning treestartInitially, a destination position Q capable of collision-free connection is soughtgoalThen, the intermediate point P1 is used as a starting point to find a destination position Q capable of connecting without collision by using P1 as a starting pointgoalUntil Q is found, repeating the steps until the intermediate point P2goalOr into the destination position QgoalWithin a neighborhood of (c); qstartAnd all intermediate points form an optimized path in sequence.
On the other hand, the invention also discloses a robot path planning system for improving the RRT, which comprises:
the two-dimensional scene establishing module is used for dividing a two-dimensional scene of robot activity into a passable area and an impassable barrier and establishing a two-dimensional grid map; acquiring initial position Q of robot in two-dimensional scenestartAnd destination position Qgoal
Random position point QrandA generation module for randomly positioning the point Qrand
Closest point QnearA generating module for traversing the current random spanning tree, searching and QrandClosest point Qnear
New node QnewA generation module for generating a new node QnewThe generation steps are as follows:
calculating QnearMinimum distance to obstacle DobAnd calculating a repulsion factor h:
Figure BDA0003375083560000041
rho is the movement step length of the robot;
calculating QrandTo QnearGravitation of (2)
Figure BDA0003375083560000042
QgoalTo QnearGravitation of (2)
Figure BDA0003375083560000043
Obstacle pair QnearRepulsive force of
Figure BDA0003375083560000044
Calculating QnearResultant force of the process
Figure BDA0003375083560000045
Wherein
Figure BDA0003375083560000046
w is gravity weight and is preset (0, 1)]A constant within a range; qobIs a distance QnearThe nearest obstacle position; i is the distance between two position points in the grid graph of the two-dimensional environment;
with QnearAs a parent node, according to the resultant force
Figure BDA0003375083560000047
Generating a new node Qnew
Figure BDA0003375083560000048
Judging new node QnewAnd QnearWhether there is a collision between the connecting line and the obstacle, or not, and if there is no collision, Q is setnewAdding to random expansion tree, if there is collision, then randomly locating point QrandThe generation module regenerates the random position points;
starting point QstartTo QnewFor optimizing the starting point QstartTo QnewA path of (a);
the expansion stopping judging module is used for judging whether the expansion of the random expansion tree is stopped or not; the judging method comprises the following steps: when the new node QnewInto a destination position QgoalIn the neighborhood of or is QgoalStopping the expansion of the random expansion tree when the random expansion tree is self;
the pruning processing module is used for carrying out pruning processing on the random expanded tree;
a path generation module for generating a path from the destination position QgoalStarting to trace back the father nodes in sequence until the starting point QstartEnd, find a piece from QstartTo QgoalIs not obstructed.
Has the advantages that: the robot path planning method and the robot path planning system disclosed by the invention have the following advantages:
1. according to the invention, a gravitational method is introduced into Qnew expansion, and an adaptive function is designed to adjust the ratio of the random point gravitational force to the target point gravitational force in the new node expansion process, so that the RRT algorithm path search speed and obstacle avoidance capability are improved;
2. in the process of path optimization, an improved rewiring method is introduced, so that the time complexity is reduced, and the improved RRT algorithm has progressive optimization;
3. in the invention, in the processing of the nodes, a greedy algorithm is introduced for pruning, a large number of redundant nodes are filtered, and a better initial path and a faster convergence speed are obtained under the condition of keeping the time complexity and the space complexity the same.
Drawings
FIG. 1 is a flow chart of a robot path planning method disclosed in the present invention;
FIG. 2 is a schematic diagram of a two-dimensional scene;
FIG. 3 is a schematic diagram of the generation of a new node;
FIG. 4 is a schematic diagram of an optimization path;
FIG. 5 is a schematic illustration of a pruning process;
FIG. 6 is a schematic diagram of a robot path planning system according to the present disclosure;
FIG. 7 is a diagram showing simulation results in the example;
FIG. 8 is a schematic diagram of simulation results after pruning processing in the example;
fig. 9 is a schematic diagram of the robot movement pattern.
Detailed Description
The invention is further elucidated with reference to the drawings and the detailed description.
The invention discloses a robot path planning method for improving RRT, which comprises the following steps of:
s1, dividing a two-dimensional scene of robot activity into a passable area and an impassable obstacle, and establishing a two-dimensional grid map; acquiring initial position Q of robot in two-dimensional scenestartAnd destination position Qgoal
In the embodiment, the point cloud data of the robot activity scene is extracted by using a laser radar and a binocular camera, the cloud data is imaged by combining a ros platform, the passable area and the barrier are distinguished, the constructed two-dimensional scene is shown in fig. 2, the barrier is a black part, and the rest white parts are the passable area of the robot.
If from QstartTo QgoalIf the straight path does not touch the obstacle, the planned path is QstartTo QgoalStraight line segment of (2); otherwise, Q isstartAs a root node of a random expansion tree in the RRT algorithm, initializing a target direction weight k to be 1, and determining a planned path according to steps S2-S7;
s2, generating random position points Q in the motion area of the robotrand(ii) a If Q isstartAnd QrandCrosses an obstacle, the Q is discardedrandAnd again generate a new QrandUp to QstartAnd QrandThe wiring of (a) does not pass through the barrier;
s3, traversing the current random expansion tree, searching and QrandClosest point Qnear
S4, calculating QnearMinimum distance to obstacle DobAnd calculating a repulsion factor h:
Figure BDA0003375083560000061
rho is the movement step length of the robot;
calculating QrandTo QnearGravitation of (2)
Figure BDA0003375083560000062
QgoalTo QnearGravitation of (2)
Figure BDA0003375083560000063
Obstacle pair QnearRepulsive force of
Figure BDA0003375083560000064
Calculating QnearResultant force of the process
Figure BDA0003375083560000065
Wherein
Figure BDA0003375083560000066
w is gravity weight and is preset (0, 1)]A constant within a range; qobIs a distance QnearThe nearest obstacle position; calculating the distance between two position points in the two-dimensional environment grid graph;
in that
Figure BDA0003375083560000067
The calculation formula of the method is added with a self-adaptive function related to the distance of the obstacle, so that the proportion of repulsive force in resultant force is adjusted, the phenomenon that the random tree is not vibrated before encountering continuous obstacles is avoided, the random tree is diffused to a region far away from the obstacle as soon as the random tree approaches the obstacle region, the random tree is rapidly expanded to a target point when the random tree is not in the obstacle region, the planning time is shortened, and the number of sampling points is reduced.
In order to avoid oscillation when the random tree node reaches the target point, the present embodiment adjusts the target direction weight k according to the distance between the current node and the target point: if F1>F2That is, the current position is farther from the target position, the value of k is increased, and k is k + Δ k; otherwise, reducing the value of k, wherein k is k-delta k;Δ k is a preset update step, and in this embodiment, Δ k is 0.1.
With QnearAs a parent node, according to the resultant force
Figure BDA0003375083560000068
Generating a new node Qnew
Figure BDA0003375083560000069
As shown in FIG. 3, is a new node QnewAnd combined force
Figure BDA00033750835600000610
A schematic diagram of (a);
judging new node QnewAnd QnearWhether there is a collision between the connecting line and the obstacle, or not, and if there is no collision, Q is setnewAdding the random position points to a random expansion tree, and jumping to S2 to regenerate random position points if collision exists;
s5 optimization starting point QstartTo QnewA path of (a); the method specifically comprises the following steps:
s5.1 with QnewAs a center of circle, RnearCalculating neighborhood V for radiusnear;RnearA preset wiring length;
s5.2, locating in the neighborhood V in the random expansion treenearThe nodes in the set SnearObtaining a set SnearThe first external node of each node in the set Spnear(ii) a The first external node of the node s is the random spanning tree, and the distance between the node s and the first external node is smaller than the first distance R1A node of (2); s is as large as Snear;Ssum=Snear∪Spnear
As shown in fig. 4, the small circles in the figure represent nodes in the random spanning tree, the numbers in the small circles are the numbers of the nodes, the lines between the nodes represent paths, and the numbers on the lines represent path lengths. In FIG. 4(a), node No. 1 is the starting point QstartAnd the node 5 is the closest point Q found in the previous step S3nearAnd generates a new node Q according to S4newNode number 10. As shown in FIG. 4(b), with QnewAs the center RnearIs a radiusResulting neighborhood VnearIs the inner area of the dotted circle in the figure; vnearThe internal nodes have nodes numbered 5, 6, 7, 9 and 10, and form a set Snear(ii) a A first distance R with the nodes numbered 5, 6, 7, 9 and 10 as the circle center1A circle is drawn for the radius, and the node inside the circle is the first outer node of the node at the circle center. In this example R1Setting the number to 3, and then obtaining the number 6 first external node as the number 8 node; the first external node of the node No. 7 is a node No. 11; then S is obtainedpnearComposed of nodes numbered 8 and 11, and then a set S is obtainednearAnd SpnearIs a union of Ssum. Here by setting the first distance R1Defined neighborhood VnearThe outer node set of the inner nodes is to search for V uniformlynearThe peripheral range reduces the probability of overlong searching time caused by the uncertainty of the expansion of the random point, reduces the searching time, accelerates the speed of path optimization and improves the efficiency of path searching.
S5.3 traversing set SsumNode in (1), judge QnewParent node of (1) is replaced by SsumAfter the node in (1), whether Q is shortenedstartTo QnewIf shortened, Q is performednewThe parent node of (3) is replaced, otherwise, the parent node is not replaced; as shown in FIG. 4(c), after traversal, Q is addednewThe father node of the node is replaced by a node No. 6;
s5.4, searching for QnewOf the second external node SpnewNode QnewThe second external node of (2) is the AND Q in the random spanning treenewIs less than the second distance R2A node of (2); in this example, R is set24, as shown in FIG. 4(d), the solid line great circles 5, 6, 7, 9, 11 constitute a set Spnew
S5.5, traversing SnearIf the parent node is replaced by Q, the node in (1) is judgednewAnd SpnewWhether or not the nodes in the union of (1) will later reduce QstartTo the SnearIf the path is reduced, the S is carried outnearThe replacement operation of the parent node of the node in (1),otherwise, it does not operate. As shown in fig. 4(e), the parent node of the node 7 is replaced with the node 11.
S6, repeating the steps S3-S5, and when a new node QnewInto a destination position QgoalIn the neighborhood of or is QgoalStopping the expansion of the random expansion tree when the random expansion tree is self; pruning the random expanded tree; the pruning treatment specifically comprises the following steps:
root node Q from random spanning treestartInitially, a destination position Q capable of collision-free connection is soughtgoalThen, the intermediate point P1 is used as a starting point to find a destination position Q capable of connecting without collision by using P1 as a starting pointgoalUntil Q is found, repeating the steps until the intermediate point P2goalOr into the destination position QgoalWithin a neighborhood of (c); qstartAnd all intermediate points form an optimized path in sequence. As shown in fig. 5, the path obtained from the random spanning tree with a circle as the starting point and a square as the destination point is the path shown as L1 in the figure, and the path after pruning is L2.
S7 from the destination position QgoalStarting to trace back the father nodes in sequence until the starting point QstartEnd, find a piece from QstartTo QgoalIs not obstructed.
The invention also discloses a system for realizing the robot path planning method, as shown in fig. 6, the method comprises the following steps:
the two-dimensional scene establishing module 1 is used for dividing a two-dimensional scene of robot activity into a passable area and an impassable barrier and establishing a two-dimensional grid map; acquiring initial position Q of robot in two-dimensional scenestartAnd destination position Qgoal
Random position point QrandA generation module 2 for randomly positioning the point Qrand
Closest point Qnear A generating module 3 for traversing the current random spanning tree, searching and QrandClosest point Qnear
New node QnewA generating module 4 for generating a new node QnewThe generation steps are as follows:
calculating QnearTo obstaclesMinimum distance DobAnd calculating a repulsion factor h:
Figure BDA0003375083560000091
rho is the movement step length of the robot;
calculating QrandGravity of pair F1、QgoalTo QnearGravitation F2Barrier pair QnearRepulsive force F3(ii) a Calculating QnearResultant force of the process
Figure BDA0003375083560000092
Wherein
Figure BDA0003375083560000093
w is gravity weight and is preset (0, 1)]A constant within a range; qobIs a distance QnearThe nearest obstacle position; calculating the distance between two position points in the two-dimensional environment grid graph;
according to F1And F2And updating k: if F1>F2K is k + Δ k; otherwise k is k- Δ k; and deltak is a preset updating step length.
With QnearAs a parent node, according to the resultant force
Figure BDA0003375083560000094
Generating a new node Qnew
Figure BDA0003375083560000095
Judging new node QnewAnd QnearWhether there is a collision between the connecting line and the obstacle, or not, and if there is no collision, Q is setnewAdding to random expansion tree, if there is collision, then randomly locating point QrandThe generation module regenerates the random position points;
starting point QstartTo QnewThe path optimization module 5 of (1) for optimizing the starting point Q according to steps S5.1-S5.5startTo QnewA path of (a);
stopAn expansion judging module 6, configured to judge whether to stop expanding the random expansion tree; the judging method comprises the following steps: when the new node QnewInto a destination position QgoalIn the neighborhood of or is QgoalStopping the expansion of the random expansion tree when the random expansion tree is self;
a pruning processing module 7, configured to perform pruning processing on the random expanded tree;
a path generation module 8 for generating a path from the destination position QgoalStarting to trace back the father nodes in sequence until the starting point QstartEnd, find a piece from QstartTo QgoalIs not obstructed.
The effect graph of the route planning of the improved RRT algorithm is shown in FIG. 7, the effect graph of the route planning after pruning processing is shown in FIG. 8, the thin line part in the graph is the step length of each expansion, the thick line part is the actual searched route, the starting point in the graph is (0, 30), and the end point in the graph is (46, 20). Compared with the path planned by the traditional RRT algorithm, the improved path has the advantages that the iteration times are reduced by 27%, the used time is reduced by 47%, the length of the planned path is reduced by 58%, and the number of corners is reduced by 69%.
In this embodiment, the motion mode of the robot is eight-neighborhood motion, that is, the robot can move forward, backward, leftward, rightward, leftward and forward by 45 degrees, rightward and forward by 45 degrees, leftward and rearward by 45 degrees, and rightward and rearward by 45 degrees, as shown in fig. 9.

Claims (8)

1. A robot path planning method for improving RRT is characterized by comprising the following steps:
s1, dividing a two-dimensional scene of robot activity into a passable area and an impassable obstacle, and establishing a two-dimensional grid map; acquiring initial position Q of robot in two-dimensional scenestartAnd destination position Qgoal
If from QstartTo QgoalIf the straight path does not touch the obstacle, the planned path is QstartTo QgoalStraight line segment of (2); otherwise, Q isstartAs the root node of the random expansion tree in the RRT algorithm, initializing the target direction weightDetermining a planned path according to steps S2-S7 when k is 1;
s2, generating random position points Q in the motion area of the robotrand(ii) a If Q isstartAnd QrandCrosses an obstacle, the Q is discardedrandAnd again generate a new QrandUp to QstartAnd QrandThe wiring of (a) does not pass through the barrier;
s3, traversing the current random expansion tree, searching and QrandClosest point Qnear
S4, calculating QnearMinimum distance to obstacle DobAnd calculating a repulsion factor h:
Figure FDA0003375083550000011
rho is the movement step length of the robot;
calculating QrandTo QnearGravitation of (2)
Figure FDA0003375083550000012
QgoalTo QnearGravitation of (2)
Figure FDA0003375083550000013
Obstacle pair QnearRepulsive force of
Figure FDA0003375083550000014
Calculating QnearResultant force of the process
Figure FDA0003375083550000015
Figure FDA0003375083550000016
Wherein
Figure FDA0003375083550000017
w is gravity weight and is preset (0, 1)]A constant within a range; qobIs a distance QnearMore recentAn obstacle position; calculating the distance between two position points in the two-dimensional environment grid graph;
with QnearAs a parent node, according to the resultant force
Figure FDA0003375083550000018
Generating a new node Qnew
Figure FDA0003375083550000019
Judging new node QnewAnd QnearWhether there is a collision between the connecting line and the obstacle, or not, and if there is no collision, Q is setnewAdding the random position points to a random expansion tree, and jumping to S2 to regenerate random position points if collision exists;
s5 optimization starting point QstartTo QnewA path of (a);
s6, repeating the steps S3-S5, and when a new node QnewInto a destination position QgoalIn the neighborhood of or is QgoalStopping the expansion of the random expansion tree when the random expansion tree is self; pruning the random expanded tree;
s7 from the destination position QgoalStarting to trace back the father nodes in sequence until the starting point QstartEnd, find a piece from QstartTo QgoalIs not obstructed.
2. The robot path planning method according to claim 1, wherein the step S4 further includes: according to F1And F2And updating k: if F1>F2K is k + Δ k; otherwise k is k- Δ k; and deltak is a preset updating step length.
3. The robot path planning method according to claim 1, wherein the step S5 specifically includes:
s5.1 with QnewAs a center of circle, RnearCalculating neighborhood V for radiusnear;RnearA preset wiring length;
s5.2, locating in the neighborhood V in the random expansion treenearThe nodes in the set SnearObtaining a set SnearThe first external node of each node in the set Spnear(ii) a The first external node of the node s is the random spanning tree, and the distance between the node s and the first external node is smaller than the first distance R1A node of (2); s is as large as Snear;,Ssum=Snear∪Spnear
S5.3 traversing set SsumNode in (1), judge QnewParent node of (1) is replaced by SsumAfter the node in (1), whether Q is shortenedstartTo QnewIf shortened, Q is performednewThe parent node of (3) is replaced, otherwise, the parent node is not replaced;
s5.4, searching for QnewOf the second external node SpnewNode QnewThe second external node of (2) is the AND Q in the random spanning treenewIs less than the second distance R2A node of (2);
s5.5, traversing SnearIf the parent node is replaced by Q, the node in (1) is judgednewAnd SpnewWhether or not the nodes in the union of (1) will later reduce QstartTo the SnearIf the path is reduced, the S is carried outnearThe replacement of the node parent node in (1) and not otherwise.
4. The robot path planning method according to claim 1, wherein the pruning of the random spanning tree in step S6 specifically includes:
root node Q from random spanning treestartInitially, a destination position Q capable of collision-free connection is soughtgoalThen, the intermediate point P1 is used as a starting point to find a destination position Q capable of connecting without collision by using P1 as a starting pointgoalUntil Q is found, repeating the steps until the intermediate point P2goalOr into the destination position QgoalWithin a neighborhood of (c); qstartAnd all intermediate points form an optimized path in sequence.
5. A system for improved RRT robotic path planning, comprising:
the two-dimensional scene establishing module is used for dividing a two-dimensional scene of robot activity into a passable area and an impassable barrier and establishing a two-dimensional grid map; acquiring initial position Q of robot in two-dimensional scenestartAnd destination position Qgoal
Random position point QrandA generation module for randomly positioning the point Qrand
Closest point QnearA generating module for traversing the current random spanning tree, searching and QrandClosest point Qnear
New node QnewA generation module for generating a new node QnewThe generation steps are as follows:
calculating QnearMinimum distance to obstacle DobAnd calculating a repulsion factor h:
Figure FDA0003375083550000031
rho is the movement step length of the robot;
calculating QrandTo QnearGravitation of (2)
Figure FDA0003375083550000032
QgoalTo QnearGravitation of (2)
Figure FDA0003375083550000033
Obstacle pair QnearRepulsive force of
Figure FDA0003375083550000034
Calculating QnearResultant force of the process
Figure FDA0003375083550000035
Figure FDA0003375083550000036
Wherein
Figure FDA0003375083550000037
w is gravity weight and is preset (0, 1)]A constant within a range; qobIs a distance QnearThe nearest obstacle position; calculating the distance between two position points in the two-dimensional environment grid graph;
with QnearAs a parent node, according to the resultant force
Figure FDA0003375083550000038
Generating a new node Qnew
Figure FDA0003375083550000039
Judging new node QnewAnd QnearWhether there is a collision between the connecting line and the obstacle, or not, and if there is no collision, Q is setnewAdding to random expansion tree, if there is collision, then randomly locating point QrandThe generation module regenerates the random position points;
starting point QstartTo QnewFor optimizing the starting point QstartTo QnewA path of (a);
the expansion stopping judging module is used for judging whether the expansion of the random expansion tree is stopped or not; the judging method comprises the following steps: when the new node QnewInto a destination position QgoalIn the neighborhood of or is QgoalStopping the expansion of the random expansion tree when the random expansion tree is self;
the pruning processing module is used for carrying out pruning processing on the random expanded tree;
a path generation module for generating a path from the destination position QgoalStarting to trace back the father nodes in sequence until the starting point QstartEnd, find a piece from QstartTo QgoalIs not obstructed.
6. A robot path planning system according to claim 5, characterized in that the new node QnewThe generation module is further to: according to F1And F2And updating k: if F1>F2K is k + Δ k; otherwise k is k- Δ k; and deltak is a preset updating step length.
7. A robot path planning system according to claim 5, characterized by a starting point QstartTo QnewThe optimizing by the path optimizing module specifically includes:
s5.1 with QnewAs a center of circle, RnearCalculating neighborhood V for radiusnear;RnearA preset wiring length;
s5.2, locating in the neighborhood V in the random expansion treenearThe nodes in the set SnearObtaining a set SnearThe first external node of each node in the set Spnear(ii) a The first external node of the node s is the random spanning tree, and the distance between the node s and the first external node is smaller than the first distance R1A node of (2); s is as large as Snear;,Ssum=Snear∪Spnear
S5.3 traversing set SsumNode in (1), judge QnewParent node of (1) is replaced by SsumAfter the node in (1), whether Q is shortenedstartTo QnewIf shortened, Q is performednewThe parent node of (3) is replaced, otherwise, the parent node is not replaced;
s5.4, searching for QnewOf the second external node SpnewNode QnewThe second external node of (2) is the AND Q in the random spanning treenewIs less than the second distance R2A node of (2);
s5.5, traversing SnearIf the parent node is replaced by Q, the node in (1) is judgednewAnd SpnewWhether or not the nodes in the union of (1) will later reduce QstartTo the SnearIf the path is reduced, the S is carried outnearThe replacement of the node parent node in (1) and not otherwise.
8. The robot path planning system according to claim 5, wherein the pruning processing module specifically prunes the random spanning tree by:
root node Q from random spanning treestartInitially, a destination position Q capable of collision-free connection is soughtgoalThen, the intermediate point P1 is used as a starting point to find a destination position Q capable of connecting without collision by using P1 as a starting pointgoalUntil Q is found, repeating the steps until the intermediate point P2goalOr into the destination position QgoalWithin a neighborhood of (c); qstartAnd all intermediate points form an optimized path in sequence.
CN202111415244.2A 2021-11-25 2021-11-25 Robot path planning method and system for improving RRT Active CN114115271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111415244.2A CN114115271B (en) 2021-11-25 2021-11-25 Robot path planning method and system for improving RRT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111415244.2A CN114115271B (en) 2021-11-25 2021-11-25 Robot path planning method and system for improving RRT

Publications (2)

Publication Number Publication Date
CN114115271A true CN114115271A (en) 2022-03-01
CN114115271B CN114115271B (en) 2024-04-26

Family

ID=80373241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111415244.2A Active CN114115271B (en) 2021-11-25 2021-11-25 Robot path planning method and system for improving RRT

Country Status (1)

Country Link
CN (1) CN114115271B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114577217A (en) * 2022-05-05 2022-06-03 季华实验室 Route planning method, device, equipment and storage medium based on Von Lonouh graph
CN115091460A (en) * 2022-07-13 2022-09-23 江苏科技大学 Intelligent steel grabbing machine mechanical arm path planning method and system
CN115683149A (en) * 2022-11-14 2023-02-03 武汉轻工大学 Interactive intelligent path planning method based on map information
CN117260735A (en) * 2023-11-01 2023-12-22 广东工业大学 Path planning method for robot deep frame grabbing
CN118464028A (en) * 2024-07-15 2024-08-09 龙门实验室 Agricultural machinery path planning method based on divide-and-conquer strategy

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170241790A1 (en) * 2016-02-24 2017-08-24 Honda Motor Co., Ltd. Path plan generating apparatus for mobile body
CN108444489A (en) * 2018-03-07 2018-08-24 北京工业大学 A kind of paths planning method improving RRT algorithms
CN108896052A (en) * 2018-09-20 2018-11-27 鲁东大学 A kind of mobile robot smooth paths planing method under the environment based on DYNAMIC COMPLEX
CN110497403A (en) * 2019-08-05 2019-11-26 上海大学 A kind of manipulator motion planning method improving two-way RRT algorithm
CN110609547A (en) * 2019-08-21 2019-12-24 中山大学 Mobile robot planning method based on visual map guidance
CN111610786A (en) * 2020-05-28 2020-09-01 沈阳理工大学 Mobile robot path planning method based on improved RRT algorithm
CN112013846A (en) * 2020-08-18 2020-12-01 南京信息工程大学 Path planning method combining dynamic step RRT algorithm and potential field method
CN112539751A (en) * 2020-12-04 2021-03-23 江苏科技大学 Robot path planning method
CN112975961A (en) * 2021-02-20 2021-06-18 华南理工大学 Picking mechanical arm motion planning method based on CTB-RRT algorithm
CN113219998A (en) * 2021-06-15 2021-08-06 合肥工业大学 Improved bidirectional-RRT-based vehicle path planning method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170241790A1 (en) * 2016-02-24 2017-08-24 Honda Motor Co., Ltd. Path plan generating apparatus for mobile body
CN108444489A (en) * 2018-03-07 2018-08-24 北京工业大学 A kind of paths planning method improving RRT algorithms
CN108896052A (en) * 2018-09-20 2018-11-27 鲁东大学 A kind of mobile robot smooth paths planing method under the environment based on DYNAMIC COMPLEX
CN110497403A (en) * 2019-08-05 2019-11-26 上海大学 A kind of manipulator motion planning method improving two-way RRT algorithm
CN110609547A (en) * 2019-08-21 2019-12-24 中山大学 Mobile robot planning method based on visual map guidance
CN111610786A (en) * 2020-05-28 2020-09-01 沈阳理工大学 Mobile robot path planning method based on improved RRT algorithm
CN112013846A (en) * 2020-08-18 2020-12-01 南京信息工程大学 Path planning method combining dynamic step RRT algorithm and potential field method
CN112539751A (en) * 2020-12-04 2021-03-23 江苏科技大学 Robot path planning method
CN112975961A (en) * 2021-02-20 2021-06-18 华南理工大学 Picking mechanical arm motion planning method based on CTB-RRT algorithm
CN113219998A (en) * 2021-06-15 2021-08-06 合肥工业大学 Improved bidirectional-RRT-based vehicle path planning method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
余佳恩;马国军;任永恒;王亚军: "基于深度学习的机器人目标检测设计", 电子设计工程, no. 008, pages 1 - 4 *
江洪;蒋潇杰: "基于RRT改进的路径规划算法", 重庆理工大学学报(自然科学版), vol. 35, no. 7, pages 10 - 16 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114577217A (en) * 2022-05-05 2022-06-03 季华实验室 Route planning method, device, equipment and storage medium based on Von Lonouh graph
CN114577217B (en) * 2022-05-05 2022-07-29 季华实验室 Route planning method, device, equipment and storage medium based on Von Lonouh graph
CN115091460A (en) * 2022-07-13 2022-09-23 江苏科技大学 Intelligent steel grabbing machine mechanical arm path planning method and system
CN115683149A (en) * 2022-11-14 2023-02-03 武汉轻工大学 Interactive intelligent path planning method based on map information
CN117260735A (en) * 2023-11-01 2023-12-22 广东工业大学 Path planning method for robot deep frame grabbing
CN118464028A (en) * 2024-07-15 2024-08-09 龙门实验室 Agricultural machinery path planning method based on divide-and-conquer strategy

Also Published As

Publication number Publication date
CN114115271B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN114115271A (en) Robot path planning method and system for improving RRT
CN113219998B (en) Improved bidirectional-RRT-based vehicle path planning method
CN106444740B (en) Unmanned plane two dimension path planning method based on MB-RRT
WO2018176596A1 (en) Unmanned bicycle path planning method based on weight-improved particle swarm optimization algorithm
CN109542117B (en) Underwater vehicle rolling planning algorithm based on improved RRT
CN110703768B (en) Improved dynamic RRT mobile robot motion planning method
US9102062B2 (en) Apparatus and method for planning path of robot, and the recording media storing the program for performing the method
CN113359718B (en) Method and equipment for fusing global path planning and local path planning of mobile robot
Wang et al. Variant step size RRT: An efficient path planner for UAV in complex environments
JP6711949B2 (en) Method and system for avoiding one or more obstacles and determining the path of an object moving from a starting state to a final state set
CN110726408A (en) Mobile robot path planning method based on improved ant colony algorithm
CN112809665B (en) Mechanical arm motion planning method based on improved RRT algorithm
CN112731941B (en) Biped robot path planning method and device and biped robot
CN111664851B (en) Robot state planning method and device based on sequence optimization and storage medium
CN114489052B (en) Path planning method for improving RRT algorithm reconnection strategy
CN110705803B (en) Route planning method based on triangle inner center guide RRT algorithm
CN111251306A (en) Mechanical arm path planning method with chassis error
CN111723983A (en) Time parameterization route planning method and system for unmanned aerial vehicle in unknown environment
CN113687662A (en) Four-rotor formation obstacle avoidance method based on cuckoo algorithm improved artificial potential field method
CN110954124A (en) Adaptive path planning method and system based on A-PSO algorithm
CN115870990A (en) Obstacle avoidance path planning method for mechanical arm
CN114237302B (en) Three-dimensional real-time RRT route planning method based on rolling time domain
CN117824652A (en) Robot path planning method based on safety artificial potential field and RRT
CN114545921A (en) Unmanned vehicle path planning algorithm based on improved RRT algorithm
CN114326726A (en) Formation path planning control method based on A and improved artificial potential field method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant