CN114281072A - Unmanned vehicle navigation method based on global path planning - Google Patents
Unmanned vehicle navigation method based on global path planning Download PDFInfo
- Publication number
- CN114281072A CN114281072A CN202111347403.XA CN202111347403A CN114281072A CN 114281072 A CN114281072 A CN 114281072A CN 202111347403 A CN202111347403 A CN 202111347403A CN 114281072 A CN114281072 A CN 114281072A
- Authority
- CN
- China
- Prior art keywords
- grid
- unmanned vehicle
- obstacle
- path planning
- barrier
- 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.)
- Withdrawn
Links
Images
Landscapes
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
The invention discloses an unmanned vehicle navigation method based on global path planning, which comprises the steps of loading a grid map, expanding a grid outwards for the outline of an obstacle on the grid map, and loading the position of an unmanned vehicle; determining a starting point and an end point, connecting the starting point and the end point, sequentially taking a perpendicular bisector from an intersection point of a connecting line of the perpendicular bisector and the barrier, connecting a grid of the intersection of the perpendicular bisector and the barrier with the starting point, judging whether the grid of the intersection of the perpendicular bisector and the barrier is intersected with the starting point, if the grid of the intersection of the perpendicular bisector and the barrier is intersected with the barrier, continuously taking the perpendicular bisector of another two points until the intersection point of the perpendicular bisector and the barrier and the connecting line of the starting point are not intersected with the barrier, taking the current point as a coordinate point where no vehicle advances, recording the current coordinate point as the starting point, and repeating the steps to obtain a final navigation path. Compared with the prior art, the invention plans a closer route on the premise of avoiding obstacles by the unmanned vehicle, improves the working efficiency of the trolley and effectively solves the problem of global path planning of the unmanned vehicle.
Description
Technical Field
The invention relates to the technical field of unmanned vehicle positioning and global path planning, in particular to an unmanned vehicle navigation method based on global path planning.
Background
With the development of the unmanned technology, the application range of the unmanned vehicle is wider, and the application scene of the unmanned vehicle is more complicated. The conventional unmanned vehicle path planning has the problem that the planned path comes and goes in the path planning process, for example, if the obstacle is an obstacle in a concave condition, the planned path of the unmanned vehicle is far when the unmanned vehicle performs the path planning, and the range of the unmanned vehicle path planning is too large, so that the unmanned vehicle has more data amount to be processed, consumes more time in the planning process, and has large calculation amount.
In order to enable the unmanned vehicle to finish tasks more efficiently, the patent provides an unmanned vehicle navigation method based on global path planning.
Disclosure of Invention
The purpose of the invention is as follows: aiming at the technical problems, the technical scheme provides the unmanned vehicle navigation method based on the global path planning, so that a closer route is planned on the premise that the unmanned vehicle avoids the obstacle, the working efficiency of the unmanned vehicle is improved, and the problem of global path planning of the unmanned vehicle is effectively solved.
The technical scheme is as follows: the invention discloses an unmanned vehicle navigation method based on global path planning, which comprises the following steps:
step 1: loading a grid map, expanding a grid outwards for the outline of the obstacle on the grid map, expressing the grid by using a color different from that of the obstacle, and loading the position of the unmanned vehicle;
step 2: the starting point of the unmanned vehicle is marked as S0The destination of the unmanned vehicle is marked as G0Will S0And G0Connected by a straight line, the distance S of the passing obstacle0Points from near to far are Z1、Z2To Zn;
And step 3: s0And G0Crossed Z of connecting line1Contour, close to S0End grid of Z11Near G0End grid of Z12,Z11And Z12The vertical bisector of the barrier expansion grid is Z13When S is0And Z13When the connecting line of (A) passes through the obstacle, S0And Z13The grid of intersection of the connecting line with the contour of the obstacle is Z14,Z13And Z14The vertical bisector of the barrier expansion grid is Z15And so on until S0And Z1jThe connecting line does not intersect with the obstacle, and is recorded as Z1jIs G1,G1The coordinates are calculated as follows:
wherein M is Z1jAnd Z1(j-1)Point on perpendicular bisector to Z1jAnd Z1(j-1)Distance of midpoint, when M takes a minimum value, (X)G1,YG1) Is G1Grid coordinate, (X)G1,YG1) The value of (a) is taken in the grid with the obstacle contour expanded outwards on the grid map;
and 4, step 4: unmanned vehicle slave S0The unmanned vehicle can travel to eight adjacent grids from the top left corner, marked as A to E respectively, and starts to move from S0The upward, downward, leftward and rightward traveling distances are denoted as 2, and the lateral upper left, lateral upper right, lateral lower left and lateral lower traveling distances are denoted as 3, S0To G1The path planning is as follows:
F=L+H
in the formula: xkFor sitting on the current grid KBiao, YkIs the ordinate of the current grid K, F is S0To G1Is estimated as L is S0Known distance to K, H being K to G1The estimated distance of (2); respectively calculating F of eight adjacent grids and keeping the minimum value of the F, and recording the grid of the minimum value of the F as S1Repeating the above steps to plan S1To G1Path of to SnAnd G1Until the superposition;
and 5: put the explored points into the Close list, put GiPut into Temp list, rest unexplored put into Open list:
Closelist=[S=(0,F1,F1)];
step 6: when S isnAnd G1The end of the plan of the coincident first path segment is recorded as F1G is1The grid is used as the starting point of the unmanned vehicle, the steps 2 to 4 are repeated to carry out the second section of path planning, G1And G0The end of the coincidence and path planning is recorded as Fn;
And 7: sequentially connecting the sections of paths obtained in the step 6 to obtain a final path S0G0:
S0G0=F1+F2+F3+F4+Fn。
Further, the position of the unmanned vehicle is compared with the laser radar information and the existing map information through self-adaptive Monte Carlo positioning to obtain specific coordinates of the unmanned vehicle.
Further, S0To G1Planning a path of S0To G1And (4) making a straight line, and preferentially planning a grid through which the straight line passes.
Has the advantages that:
in the global path planning process, the obstacles in the path are considered, the obstacles in the path are marked firstly, and then the obstacles can be effectively avoided by the method of taking the perpendicular bisector in the scheme, particularly, the obstacles in the concave structure can be effectively avoided when an unmanned vehicle encounters the obstacles, the path planning can be realized in a shorter time compared with the original Astar algorithm, and the path planning can be realized in a shorter time compared with the original Dijkstra algorithm.
Drawings
FIG. 1 is a schematic diagram of a path planning workflow of the present invention;
FIG. 2 is a schematic diagram of the path planning of the present invention;
fig. 3 is a schematic diagram of the global path planning of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. The described embodiments are only some embodiments of the invention, not all embodiments. Various modifications and improvements of the technical solutions of the present invention may be made by those skilled in the art without departing from the design concept of the present invention, and all of them should fall into the protection scope of the present invention.
The invention discloses an unmanned vehicle navigation method based on global path planning, which takes the path and the obstacle described in fig. 2 as an example for explanation. The method comprises the following steps:
step 1: and loading a grid map, expanding a grid outwards for the outline of the obstacle on the grid map, expressing the grid with a color different from that of the obstacle, loading the position of the unmanned vehicle, and comparing the laser radar information with the existing map information through self-adaptive Monte Carlo positioning to obtain the specific coordinates of the vehicle.
Step 2: the starting point of the unmanned vehicle is marked as S0The destination of the unmanned vehicle is marked as G0Will S0And G0Connected by a straight line, the distance S of the passing obstacle0Points from near to far are Z1、Z2To Zn。
And step 3: s0And G0Crossed Z of connecting line1Contour, close to S0End grid of Z11Near G0End grid of Z12,Z11And Z12The vertical bisector of the barrier expansion grid is Z13When S is0And Z13When the connecting line of (A) passes through the obstacle, S0And Z13The grid of intersection of the connecting line with the contour of the obstacle is Z14,Z13And Z14The vertical bisector of (A) is Z15, and so on until S0And Z1jThe connecting line does not intersect with the obstacle, and is recorded as Z1jIs G1,G1The coordinates are calculated as follows:
wherein M is Z1jAnd Z1(j-1)Point on perpendicular bisector to Z1jAnd Z1(j-1)Distance of midpoint, when M takes the minimum value (X)G1,YG1) Is G1Grid coordinate, (X)G1,YG1) The values of (d) are taken in the grid on the grid map with the obstacle contour expanded outward.
And 4, step 4: the unmanned vehicle can travel to eight adjacent grids, the standards from the upper left corner are A to E, the traveling distances in the up, down, left and right directions are marked as 2, the traveling distances in the upper side and the lower side are marked as 3, and S is0To G1The path planning is as follows:
F=L+H
in the formula: kxAs the abscissa of the current grid K, KyIs the ordinate of the current grid K, F is S0To G1Is estimated as L is S0Known distance to K, H being K to G1The estimated distance of (2); respectively calculating F of eight adjacent grids and keeping the minimum value of the F, and recording the grid of the minimum value of the F as S1Repeating the above steps to plan S1To G1Path of to SnAnd G1Until superposition, S0To G1Planning a path of S0To G1And (4) making a straight line, and preferentially planning a grid through which the straight line passes.
And 5: put the explored points into the Close list, put GiPut into Temp list, rest unexplored put into Open list:
Closelist=[S=(0,F1,F1)];
step 6: when S isnAnd G1The end of the plan of the coincident first path segment is recorded as F1G is1The grid is used as the starting point of the unmanned vehicle, the steps 2 to 4 are repeated to carry out the second section of path planning, G1And G0The end of the coincidence and path planning is recorded as Fn。
And 7: sequentially connecting the sections of paths obtained in the step 6 to obtain a final path S0G0:
S0G0=F1+F2+F3+F4+Fn。
Taking FIG. 2 as an example, Z in FIG. 211And Z12The vertical bisector of the barrier expansion grid is Z13When S is0And Z13When the connecting line of (A) passes through the obstacle, S0And Z13The grid of intersection of the connecting line with the contour of the obstacle is Z14When S is found0And Z14Is connected toThe barrier profiles do not intersect. Therefore, remember Z14Is G1Determining G1The coordinates of (a). S0To G1Planning a path of S0To G1And (4) making a straight line, and preferentially planning a grid through which the straight line passes.
Will be G later1As S0And continuing to plan the path, wherein the using method is still the method. Finally by S0To G1To G2To G3Finally to G0And finishing the path planning.
The above embodiments are merely illustrative of the technical concepts and features of the present invention, and the purpose of the embodiments is to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and not to limit the protection scope of the present invention. All equivalent changes and modifications made according to the spirit of the present invention should be covered within the protection scope of the present invention.
Claims (3)
1. An unmanned vehicle navigation method based on global path planning is characterized by comprising the following steps:
step 1: loading a grid map, expanding a grid outwards for the outline of the obstacle on the grid map, expressing the grid by using a color different from that of the obstacle, and loading the position of the unmanned vehicle;
step 2: the starting point of the unmanned vehicle is marked as S0The destination of the unmanned vehicle is marked as G0Will S0And G0Connected by a straight line, the distance S of the passing obstacle0Points from near to far are Z1、Z2To Zn;
And step 3: s0And G0Crossed Z of connecting line1Contour, close to S0End grid of Z11Near G0End grid of Z12,Z11And Z12The vertical bisector of the barrier expansion grid is Z13When S is0And Z13When the connecting line of (A) passes through the obstacle, S0And Z13The grid of intersection of the connecting line with the contour of the obstacle is Z14,Z13And Z14The vertical bisector of the barrier expansion grid is Z15And so on until S0And Z1jThe connecting line does not intersect with the obstacle, and is recorded as Z1jIs G1,G1The coordinates are calculated as follows:
wherein M is Z1jAnd Z1(j-1)Point on perpendicular bisector to Z1jAnd Z1(j-1)Distance of midpoint, when M takes a minimum value, (X)G1,YG1) Is G1Grid coordinate, (X)G1,YG1) The value of (a) is taken in the grid with the obstacle contour expanded outwards on the grid map;
and 4, step 4: unmanned vehicle slave S0The unmanned vehicle can travel to eight adjacent grids from the top left corner, marked as A to E respectively, and starts to move from S0The upward, downward, leftward and rightward traveling distances are denoted as 2, and the lateral upper left, lateral upper right, lateral lower left and lateral lower traveling distances are denoted as 3, S0To G1The path planning is as follows:
F=L+H
in the formula: xkIs the abscissa, Y, of the current grid KkIs the ordinate of the current grid K, F is S0To G1Is estimated as L is S0Known distance to K, H being K to G1The estimated distance of (2); respectively calculating F of eight adjacent grids and keeping the minimum value of the F, and recording the grid of the minimum value of the F as S1Repeating the above steps to plan S1To G1Path of to SnAnd G1Until the superposition;
and 5: put the explored points into the Close list, put GiPut into Temp list, rest unexplored put into Open list:
Closelist=[S=(0,F1,F1)];
step 6: when S isnAnd G1The end of the plan of the coincident first path segment is recorded as F1G is1The grid is used as the starting point of the unmanned vehicle, the steps 2 to 4 are repeated to carry out the second section of path planning, G1And G0The end of the coincidence and path planning is recorded as Fn;
And 7: sequentially connecting the sections of paths obtained in the step 6 to obtain a final path S0G0:
S0G0=F1+F2+F3+F4+Fn。
2. The unmanned aerial vehicle navigation method based on global path planning of claim 1, wherein the position of the unmanned aerial vehicle is obtained by comparing laser radar information with existing map information through adaptive Monte Carlo positioning to obtain specific coordinates of the unmanned aerial vehicle.
3. The unmanned vehicle navigation method based on global path planning of claim 1, wherein S is0To G1Planning a path of S0To G1And (4) making a straight line, and preferentially planning a grid through which the straight line passes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111347403.XA CN114281072A (en) | 2021-11-15 | 2021-11-15 | Unmanned vehicle navigation method based on global path planning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111347403.XA CN114281072A (en) | 2021-11-15 | 2021-11-15 | Unmanned vehicle navigation method based on global path planning |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114281072A true CN114281072A (en) | 2022-04-05 |
Family
ID=80869100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111347403.XA Withdrawn CN114281072A (en) | 2021-11-15 | 2021-11-15 | Unmanned vehicle navigation method based on global path planning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114281072A (en) |
-
2021
- 2021-11-15 CN CN202111347403.XA patent/CN114281072A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110487279B (en) | Path planning method based on improved A-Algorithm | |
CN110231824B (en) | Intelligent agent path planning method based on straight line deviation method | |
CN112327856B (en) | Robot path planning method based on improved A-star algorithm | |
CN110954122B (en) | Automatic driving track generation method under high-speed scene | |
CN111422741B (en) | Method for planning movement path of bridge crane | |
CN108827311A (en) | A kind of manufacturing shop unmanned handling system paths planning method | |
CN115167398A (en) | Unmanned ship path planning method based on improved A star algorithm | |
CN115164907B (en) | Forest operation robot path planning method based on A-algorithm of dynamic weight | |
CN111896004A (en) | Narrow passage vehicle track planning method and system | |
CN116185014A (en) | Intelligent vehicle global optimal track planning method and system based on dynamic planning | |
CN116734856A (en) | Underwater robot path planning method considering ocean current influence | |
CN113467476B (en) | Collision-free detection rapid random tree global path planning method considering corner constraint | |
CN114282435A (en) | Unmanned ship route planning method based on improved genetic algorithm | |
Wang et al. | Research on AGV task path planning based on improved A* algorithm | |
CN113515111B (en) | Vehicle obstacle avoidance path planning method and device | |
CN117075607A (en) | Unmanned vehicle path planning method suitable for improving JPS in complex environment | |
CN113124875A (en) | Path navigation method | |
CN114281072A (en) | Unmanned vehicle navigation method based on global path planning | |
CN117109620A (en) | Automatic driving path planning method based on interaction of vehicle behaviors and environment | |
Li et al. | Path Planning of Robots Based on an Improved A-star Algorithm | |
CN116608877A (en) | RRT algorithm-based bionic simulated plant phototropic global path planning method | |
Shi et al. | Local path planning of unmanned vehicles based on improved RRT algorithm | |
CN114136322B (en) | Automatic route planning of large unmanned ship based on experience navigation method | |
Zhang et al. | S-BRRT*: A Spline-based Bidirectional RRT with Strategies under Nonholonomic Constraint | |
CN112945254B (en) | Unmanned vehicle curvature continuous path planning method based on rapid expansion random tree |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220405 |
|
WW01 | Invention patent application withdrawn after publication |