CN114740898A - Three-dimensional flight path planning method based on free space and A-star algorithm - Google Patents

Three-dimensional flight path planning method based on free space and A-star algorithm Download PDF

Info

Publication number
CN114740898A
CN114740898A CN202210592913.1A CN202210592913A CN114740898A CN 114740898 A CN114740898 A CN 114740898A CN 202210592913 A CN202210592913 A CN 202210592913A CN 114740898 A CN114740898 A CN 114740898A
Authority
CN
China
Prior art keywords
node
obstacle
point
polygon
class
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
CN202210592913.1A
Other languages
Chinese (zh)
Other versions
CN114740898B (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN202210592913.1A priority Critical patent/CN114740898B/en
Publication of CN114740898A publication Critical patent/CN114740898A/en
Application granted granted Critical
Publication of CN114740898B publication Critical patent/CN114740898B/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/10Simultaneous control of position or course in three dimensions
    • G05D1/101Simultaneous control of position or course in three dimensions specially adapted for aircraft

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a three-dimensional flight path planning method based on free space and A-x algorithm. And then, identifying and distinguishing each obstacle area in the task flight curved surface by using a binary image connected domain detection algorithm, and converting the obstacle into a polygon by using an obstacle rectangular segmentation and combination method. Finally, an improved a-algorithm based on graph preprocessing is used to find the optimal path. Compared with the existing method, the method has the advantages of high planning efficiency, and high flight path flyability and trackability of the planned flight path.

Description

Three-dimensional flight path planning method based on free space and A-star algorithm
Technical Field
The invention relates to the field of flight path planning, in particular to a flight path planning method based on graphics and heuristic search, and particularly relates to a three-dimensional flight path planning method based on free space and an A-star algorithm.
Background
Unmanned aerial vehicles are being used in a large number of military and civilian fields with their advantages of small size, low cost, high flexibility, and the like, including battlefield reconnaissance, disaster monitoring, environmental monitoring, and the like. And wanting to realize these functions, unmanned aerial vehicle's flight path planning function is indispensable. The flight path planning of the unmanned aerial vehicle is to autonomously find an optimal barrier-free travel route from a starting position to a target position in a known or unknown working environment according to certain constraints and criteria. Because the complexity of a three-dimensional map is higher than that of a two-dimensional map, the track planning algorithm of the three-dimensional map is often more complex and more time-consuming. The algorithm a is a classic track planning algorithm, and can realize better track planning, but as the map becomes complex, the calculation amount and the search redundancy of the algorithm a are increased by times, so that the track searching efficiency is low, and the searched track is not optimal.
On the basis of the a-algorithm, there are many improvements made to the a-algorithm, including modifying heuristic functions in the a-algorithm, changing methods for finding nodes, increasing the search range of the neighborhood, and so on. The method avoids redundant search to a certain extent, and improves the track search efficiency of the A-star algorithm and the smoothness of the track. However, the improved a-star algorithm still has the problems of slow planning speed and non-optimal flight path.
Disclosure of Invention
The invention provides a three-dimensional flight path planning method based on free space and an A-star algorithm, aiming at solving the problem of complex three-dimensional flight path planning.
The invention relates to a three-dimensional flight path planning method based on free space and A-star algorithm, which comprises the following specific steps:
step 1: and extracting all nodes with corresponding heights from the terrain elevation model according to the given planning space height dimension to form a task flight curved surface.
Step 2: and identifying and distinguishing each obstacle area in the task flight curved surface by using a binary image connected domain detection algorithm, and further converting the obstacles on the task flight curved surface into polygons.
And step 3: the free space on the task flight curved surface can be regarded as a multi-connected concave polygon, and the multi-connected concave polygon is converted into a single-connected concave polygon; the single connected concave polygon is then decomposed into several sub-convex polygons.
And 4, step 4: and finding the optimal track by using an A-x algorithm based on graph preprocessing.
Firstly, processing each sub-free space on a task flight curved surface into a node used by an A-x algorithm; the specific method comprises the following steps:
and adding node serial numbers, node coordinates, adjacent node serial numbers, father node serial numbers and heuristic information into the free space of the children.
Subsequently, the optimal regional channels are searched using the a-algorithm.
After obtaining the optimal area channel, generating an initial feasible track connecting a starting point and a terminal point in the optimal area channel; further optimizing the obtained flight path; the optimization method comprises the following steps:
setting the global search frequency i to be 0;
let local search number j equal to 0;
thirdly, the midpoint M on the common dividing line of each pair of adjacent areas in the area channel is taken1,M2,…MnVia midpoint { M }1,M2,…MnConnect out the initial feasible track { X }current}:Xstart→M1→M2...→Mn→Xend
Fourthly, randomly selecting a parting line QkQk+1Adjusting track node M thereonk→Rk,RkAnd obtaining a new flight path for another point on the parting line after reconnection:
{Xnew}:Xstart→M1→M2...→Rk→...→Mn→Xend
and calculating the length thereof;
new track { XnewIs shorter than the current track { X }currentAnd replacing the current track with the new track: { Xcurrent}←{XnewJ is made 0; if the new track is longer than the current track, making j equal to j + 1;
sixthly, repeating the step four and the step five until j is larger than the upper limit t of the local search, and enabling i to be i + 1;
and seventhly, repeating the step III to the step VI until the value i is larger than the global search upper limit T.
Compared with the prior art, the three-dimensional flight path planning method based on the free space and the A-star algorithm has the advantages of high planning efficiency, and high flight path flyability and trackability obtained by planning.
Drawings
FIG. 1 is a flow chart of a three-dimensional flight path planning method based on free space and A-x algorithm according to the present invention;
FIG. 2 is a schematic diagram of the results of extracting a mission flight surface according to the present invention;
FIG. 3 is a schematic diagram of the recognition of the distinction of obstacles according to the present invention;
FIG. 4 is a schematic view of an obstacle-translating polygon of the present invention;
FIG. 5 is a schematic diagram of a single connected polygon constructed in accordance with the present invention;
FIG. 6 is a diagram illustrating the result of map segmentation according to the present invention;
FIG. 7 is a schematic view of the optimal visibility point in the present invention;
FIG. 8 is a schematic diagram of a two-dimensional track planning result according to the present invention;
FIG. 9 is a diagram illustrating the result of flight path planning for a curved flight surface according to the present invention;
FIG. 10 is a schematic diagram of the three-dimensional flight path planning result of the present invention.
Detailed Description
The present invention will be described in further detail below with reference to the accompanying drawings.
The invention relates to a three-dimensional flight path planning method based on free space and A-star algorithm, as shown in figure 1, the specific steps are designed as follows:
step 1: extracting all nodes with corresponding heights from a terrain elevation model according to a given planning space height dimension to form a task flight curved surface;
in order to reduce the complexity of flight path planning, a task flight curved surface is extracted based on a planar binary map, and the three-dimensional flight path planning problem is reduced into a two-dimensional flight path planning problem. The specific method comprises the following steps:
traversing all nodes in the terrain elevation model, and if the corresponding terrain height h at the node A is highgSatisfy hg≤hmax-hmIf so, regarding the node A as a safety node on the task flight curved surface, and taking 0 as the corresponding node of the node A on the binary map; otherwise, the node A is regarded as a barrier node, and the node A is in twoThe corresponding node on the value map takes 1. H abovemaxRepresents the maximum flying sea height of the unmanned aerial vehicle; h is a total ofmIndicating the relative ground level specified for the mission. The mission flight profile extracted by the above method is shown in fig. 2.
Step 2: transforming obstacles on the curved surface of the mission flight into polygons
In order to use the a-x algorithm based on graphic preprocessing on a binary map, the obstacles on the mission flight surface need to be converted into polygons. For this purpose, firstly, a binary image connected domain detection algorithm is used to identify and distinguish each obstacle region in the mission flight curved surface, as shown in fig. 3. Making m rows and n columns of a binary map matrix, and the specific process of obstacle area identification is as follows:
1) access node x11If the node is an obstacle node, recording the class order of the node as 1;
2) traverse node x1j(j 2.. n), if it is an obstacle node, its left node x is detected1(j-1)Whether the node is an obstacle node; if so, then x1jUsing x1(j-1)The class order of (2); otherwise, x1jThe class order of (2) is the total current class number (the total number of the barrier node class orders) plus 1; for example: let the first row have 10 points, x respectively11,x12,x13,...,x110Wherein x is11,x13,x15,x16Is an obstacle point. x is a radical of a fluorine atom11Has a class order of 1; x is the number of12Points are non-obstacle points without class sequences; x is the number of13If it is an obstacle point, its left point x is detected12Whether it is an obstacle point, and the result is no, so x13The sequence of (1 + 1) is 2; x is a radical of a fluorine atom14Is a non-obstacle point without class order; x is a radical of a fluorine atom15Is a barrier point, the class order of which is 2+1 ═ 3; x is the number of16As a barrier point, its left side point x is detected15Is an obstacle point, so x is used15Class order of (3).
3) For a node on the ith row (i ═ 2, …, m), the following is performed:
a) access node xi1If it is a barrier node, then the upper node x is detected(i-1)1And upper right node x(i-1)2: if x(i-1)1And x(i-1)2Are not classified, then xi1The class order of (1) is the current total class number plus 1; if x(i-1)1Has been classified into x(i-1)2Not classified, then xi1Using x(i-1)1The class order of (2); if x(i-1)2Has been classified into(i-1)1Not classified, then xi1Using x(i-1)2The class order of (2); if x(i-1)1And x(i-1)2All have been classified and have the same class order, then xi1Using x(i-1)1And x(i-1)2The class order of (2); if x(i-1)1And x(i-1)2All have been classified and have different class order, then xi1Using x(i-1)1And x is(i-1)1And x(i-1)2Is marked as an equivalent pair;
b) access node xij(j 2.., n-1), if it is an obstacle node, its left node x is sequentially detectedi(j-1)Upper left node x(i-1)(j-1)Upper node x(i-1)jAnd upper right node x(i-1)(j+1): if none of the four points are obstacle-free nodes, then xijThe class order of (1) is the current total class number plus 1; if the four points have only one obstacle node, xijFollowing the class order of the obstacle point; if there are 2-4 obstacle nodes in the four points, xijThe class order of the point detected as the obstacle node first from the four points is used, and the point having the different class order from the four points is regarded as an equivalent pair.
c) Access node xinIf it is a barrier node, its left node x is detected in turni(j-1)Upper left node x(i-1)(j-1)And an upper node x(i-1)j: if none of the three points are obstacle-free nodes, then xijThe class order of (1) is the current total class number plus 1; if the three points have only one obstacle node, then xijFollowing the class order of the barrier node; if there are 2-3 obstacle nodes in the three points, then xijUsing the class sequence of the point detected as the barrier node from the first three points, and recording the point pairs with different class sequences as an equivalent pair;
d) unifying the class order of the equivalent categories according to the obtained equivalent pair; all the barrier points with the same class sequence form a barrier area on the binary map.
Subsequently, the identified obstacle area is converted into a polygon, as shown in fig. 4, the specific method is as follows:
finding the maximum and minimum values in the horizontal and vertical coordinates of all points on the obstacle area: xmax,Xmax,YmaxAnd YminTo (X)min,Ymin),(Xmin,Ymax),(Xmax,Ymin),(Xmax,Ymax) For the vertices, a rectangular area is constructed that covers the entire obstacle area. Then, with a certain precision acc (abbreviation for accurate), the rectangular region is divided into a × b rectangular subregions of the same shape, where a ≈ (Y ≈ b)max-Ymin)/acc,b≈(Xmax-Xmax) And/acc. And traversing all the sub-regions, and if no barrier node exists on the rectangular sub-region, discarding the sub-region. And finally, connecting the outer vertexes in the reserved sub-regions to obtain an approximate polygon of the original obstacle.
Step 3, decomposing the free space on the task flight curved surface into a plurality of convex polygons
After the obstacles in the mission flight curved surface are converted into polygons, the free space on the mission flight curved surface can be regarded as a multiply-connected concave polygon. To use the a-x algorithm based on graph preprocessing, it is also necessary to decompose the free space in the mission flight surface into a plurality of convex polygons. The process firstly needs to convert a plurality of connected concave polygons into a single connected concave polygon, and the specific principle process is as follows:
when point M is shown in FIG. 51M2…MnOne barrier region (each barrier vertex O) exists in the enclosed concave polygonal region1O2…OnA city barrier region), one vertex O of the barrier region is selectediWith one vertex M of the concave polygonal areaiConnecting line, is marked as OiMi(ii) a The vector of which can have two directions
Figure BDA0003666243480000051
And
Figure BDA0003666243480000052
let two vectors
Figure BDA0003666243480000053
And with
Figure BDA0003666243480000054
A distance delta D → 0 between the two points, and the top point O of the obstacleiAnd the vertex M of the mapiBy connecting two vectors, the map becomes a single connected domain map M1M2…MiOiOi+1…OnO1…OiMi…Mn. If there are other obstacles in the concave polygonal area, each obstacle needs to be directly or indirectly connected to the map boundary vertex.
If another obstacle O 'is present'1O′2…O′nDirect connection is the connection of one vertex O 'of the obstacle, also according to the method described above'iWith a certain vertex M of the map boundaryjThe following single connectivity region is denoted:
M1M2…MiOiOi+1…OnO1…OiMi…MjO′iO′i+1…O′nO′1…O′iMj…Mn
indirect connection means that the obstacles can connect the concave polygonal areas by connecting the obstacles that have been transformed. An obstacle is connected to the concave polygonal area before, then the boundary of the obstacle can be regarded as a part of the boundary of the concave polygonal area, and then a new obstacle can be connected to the vertex of the converted obstacle, thereby being equivalent to being connected to the concave polygonal area. O 'to New Barrier'iO point-connected to first obstaclemPoint, then the single connected region after connection is represented as:
M1M2…MiOiOi+1…OmO′iO′i+1…O′nO′1…O′iOm…OnO1…OiMi…Mn
after converting the multi-connected concave polygon into the single-connected concave polygon, the single-connected concave polygon needs to be decomposed into a plurality of sub-convex polygons, as shown in fig. 6. The specific process is as follows:
a. judging the positive and negative of the single connected concave polygon, and if the polygon is a negative polygon, collecting the vertexes thereof to form a set { P }nB, sequencing vertexes in the sequence in a reverse direction, and if the vertexes are regular polygons, entering the step b;
b. from { PnChoose a pit PkSearching all visible points of the point to form a visible point set { V }k};
c. If { VkThere are pits, P is selected among these pitskIs given as the optimal visibility point of if { V }kThere is no pit in, then in { V }kSelect P inkThe optimal visibility point of (a);
d. connection PkDecomposing the map with the optimal visible point, and adding a new sub-polygon;
e. repeating steps b) to d) until PnThere are no pits in the polygon, all the sub-polygons of the polygon are convex polygons.
The positive and negative polarities of the polygon and the optimal visible point are defined as follows:
the positive and negative of the polygon: if the set of vertices of the polygon { P }nThe vertex sequences in the polygon are arranged in a counterclockwise order, then the polygon is a positive polygon, otherwise, the polygon is a negative polygon. The specific judgment method comprises the following steps: arbitrarily take a convex point P on the polygoniIf it is adjacent to two points Pi-1And Pi+1Formed vector of
Figure BDA0003666243480000061
And
Figure BDA0003666243480000062
satisfy the relation:
Figure BDA0003666243480000063
then the polygon is positive, otherwise the polygon is negative.
Optimal visibility points: as shown in fig. 7, a pit M is takeniTwo adjacent points Mi-1And Mi+1Vector of introduction
Figure BDA0003666243480000064
And
Figure BDA0003666243480000065
angle bisector of the formed angle
Figure BDA0003666243480000066
Get MiSet of visible points of { V }kOne visible point M ink
Figure BDA0003666243480000067
And vector
Figure BDA0003666243480000068
Forming an included angle alpha, and calculating the rest chord values
Figure BDA0003666243480000069
{VkOne visible point of (i) which maximizes the value is called MiThe optimal visibility point of (c).
And 4, step 4: finding optimal track using a-x algorithm based on graph preprocessing
First, each sub-free space on the mission flight surface (the mission flight surface is processed by using the method of processing the polygon before, and the obtained sub-polygon which is not the obstacle is called sub-free space) needs to be processed into the node used by the a-x algorithm. The specific method comprises the following steps:
and adding node serial numbers, node coordinates, adjacent node serial numbers, father node serial numbers and heuristic information into the free space of the children. For a certain sub-free space, the above information has the following meaning:
the node sequence number is the sequence number of the free space in all the free spaces;
the node coordinates are the convex polygon corresponding to the sub-free space (the vertex is P)1,P2,...,Pn) The centroid coordinates of (a);
the adjacent node sequence number represents the corresponding node sequence number of other sub-areas adjacent to the area pointed by the node;
the parent node sequence number is the sequence number of the node with the minimum cost reaching the free space in the free space adjacent to the free space;
the heuristic information is the euclidean distance between the centroids of the two sub-free spaces, also known as the track cost.
Then, the optimal regional channel is searched by using the a-star algorithm, and the method is as follows:
(1) starting point XstartNode S of the regionstartAdding a sequence to be retrieved Open List;
(2) if the Open List is empty, no feasible flight path exists, and the algorithm is ended; otherwise, performing the step (3).
(3) Go through the Open List, find the F value therein (F value represents from the starting point through the current point ScurentNode S with minimum estimated track cost to the end pointcurentMove it into Close List, move it out of Open List;
(4) for node ScurentEach of which is not in a Close Listneighbour: if node SneighbourIf not, it is moved into Open List, and node S is moved into Open ListcurentSet as node SneighbourThe parent node of (2) updates its G value (G value is the actual track cost from the starting point to the current point) and F value; if node SneighbourIn Open List, determine to go through node ScurentTo node SneighbourThe resulting node SneighbourWhether the G value of (a) is less than the original G value; if yes, the node S is connectedcurentSet as node SneighbourThe parent node of (1) updating its G value and F value;
(5) repeating the steps (2) to (4) until the corresponding node of the area where the end point is located is in the Open List;
(6) starting from the node corresponding to the area where the end point is located, connecting each node Si(not relevant. here each node refers to the node in the process of generating the track, i.e. the end point, the parent of the end point, …, up to the start point) in turn with its parent node Si_parentConnect to form a local channel { Si}。
In obtaining the regional channel { SiAfter that, can be at { S }iAn initial feasible track connecting the starting point and the end point is generated in the station. At this time, the obtained flight path is not optimal, and further optimization of the flight path is needed. The optimization method specifically comprises the following steps:
setting the global search frequency i to be 0;
let local search number of times j equal to 0;
taking the middle point { M ] on the common dividing line of each pair of adjacent areas in the area channel1,M2,…MnConnect the initial feasible track { X } through the middle pointscurrent}:Xstart→M1→M2...→Mn→Xend
Fourthly, randomly selecting a parting line QkQk+1Adjusting track node M thereonk→Rk(RkAs another point on the division line), and a new track is obtained after reconnection
{Xnew}:Xstart→M1→M2...→Rk→...→Mn→Xend
And calculates its length.
New track { XnewIs shorter than the current track { X }currentAnd replacing the current track with the new track: { Xcurrent}←{XnewJ is 0; if the new track is longer than the current track, j is equal to j + 1;
sixthly, repeating the step four and the step five until j is larger than the upper limit t of the local search, and enabling i to be i + 1;
and seventhly, repeating the step three to the step six until i is larger than the global search upper limit T.
The local search upper limit T and the global search upper limit T represent the maximum values of the local optimization times and the global optimization times, respectively.
The resulting track is shown in FIG. 8. This flight path is shown on the original mission flight surface as shown in fig. 9. The height dimension information is added to the obtained flight path, and the finally obtained three-dimensional flight path is shown in fig. 10.

Claims (5)

1. A three-dimensional flight path planning method based on free space and A-star algorithm is characterized by comprising the following steps: the method comprises the following specific steps:
step 1: extracting all nodes with corresponding heights from a terrain elevation model according to a given planning space height dimension to form a task flight curved surface;
step 2: identifying and distinguishing each obstacle area in the task flight curved surface by using a binary image connected domain detection algorithm, and further converting the obstacles on the task flight curved surface into polygons;
and step 3: the free space on the task flight curved surface can be regarded as a multi-connected concave polygon, and the multi-connected concave polygon is converted into a single-connected concave polygon; then decomposing the single connected concave polygon into a plurality of sub convex polygons;
and 4, step 4: finding an optimal flight path by using an A-star algorithm based on graphic preprocessing;
firstly, processing each sub-free space on a task flight curved surface into a node used by an A-x algorithm; the specific method comprises the following steps:
adding node serial numbers, node coordinates, adjacent node serial numbers, father node serial numbers and heuristic information into the child free space;
then, searching an optimal region channel by using an A-star algorithm;
after obtaining the optimal area channel, generating an initial feasible track connecting a starting point and a terminal point in the optimal area channel; further optimizing the obtained flight path; the optimization method comprises the following steps:
setting the global search frequency i to be 0;
let local search number j equal to 0;
thirdly, the midpoint M on the common dividing line of each pair of adjacent areas in the area channel is taken1,M2,…MnVia midpoint { M }1,M2,…MnConnect out the initial feasible track { X }current}:Xstart→M1→M2...→Mn→Xend
Fourthly, randomly selecting a parting line QkQk+1Adjusting track node M thereonk→Rk,RkFor another point on the dividing line, reconnecting to obtain a new track
{Xnew}:Xstart→M1→M2...→Rk→...→Mn→Xend
And calculating the length thereof;
new track { XnewIs shorter than the current track { X }currentAnd replacing the current track with the new track: { Xcurrent}←{XnewJ is 0; if the new track is longer than the current track, making j equal to j + 1;
sixthly, repeating the step four and the step five until j is larger than the upper limit t of the local search, and enabling i to be i + 1;
and seventhly, repeating the step three to the step six until i is larger than the global search upper limit T.
2. The three-dimensional flight path planning method based on the free space and the a-x algorithm as claimed in claim 1, characterized in that: in step 2, making the binary map matrix have m rows and n columns, and the specific method for identifying and distinguishing the obstacle areas comprises the following steps:
1) access node x11If the node is an obstacle node, recording the class order of the node as 1;
2) traverse node x1j(j 2.. n), if it is an obstacle node, its left node x is detected1(j-1)Whether the node is an obstacle node; if so, x1jUsing x1(j-1)The class order of (2); otherwise, x1jThe class order of (2) is the total current class number (the total number of the barrier node class orders) plus 1;
3) for a node on the ith row (i ═ 2, …, m), the following is performed:
a) access node xi1If it is a barrier node, then detect its upper node x(i-1)1And upper right node x(i-1)2: if x(i-1)1And x(i-1)2Are not classified, then xi1The class order of (2) is that the current total class number is added with 1; if x(i-1)1Has been classified into(i-1)2Not classified, then xi1Using x(i-1)1The class order of (2); if x(i-1)2Has been classified into x(i-1)1Not classified, then xi1Using x(i-1)2The class order of (2); if x(i-1)1And x(i-1)2All have been classified and have the same class order, then xi1Using x(i-1)1And x(i-1)2The class order of (2); if x(i-1)1And x(i-1)2All have been classified and have different class order, then xi1Using x(i-1)1And x is(i-1)1And x(i-1)2Is marked as an equivalent pair;
b) access node xij(j 2.., n-1), if it is an obstacle node, its left node x is sequentially detectedi(j-1)Upper left node x(i-1)(j-1)Upper node x(i-1)jAnd upper right node x(i-1)(j+1): if none of the four points are obstacle-free nodes, then xijThe class order of (2) is that the current total class number is added with 1; if the four points have only one obstacle node, xijFollowing the class order of the obstacle point; if there are 2-4 obstacle nodes in the four points, xijUsing the class sequence of the point detected as the barrier node from the first four points, and recording the point pairs with different class sequences from the four points as an equivalent pair;
c) access node xinIf it is a barrier node, then the left node x is detected in turni(j-1)Upper left node x(i-1)(j-1)And an upper node x(i-1)j: if none of the three points are obstacle-free nodes, then xijThe class order of (1) is the current total class number plus 1; if the three points have only one obstacle node, then xijFollowing the class order of the barrier node; if there are 2-3 obstacle nodes in the three points, then xijFollow the first of the three pointsDetecting the class order of the points which are the barrier nodes, and recording the points with different class orders as an equivalent pair;
d) unifying the class order of the equivalent categories according to the obtained equivalent pair; all the barrier points with the same class sequence form a barrier area on the binary map;
and then, converting the identified obstacle area into a polygon, wherein the specific method comprises the following steps:
find the maximum and minimum in the abscissa and ordinate of all points on the obstacle area: xmax,Xmax,YmaxAnd YminIn the order of (X)min,Ymin),(Xmin,Ymax),(Xmax,Ymin),(Xmax,Ymax) Constructing a rectangular area covering the whole barrier area for the vertex; then, with a certain accuracy acc, the rectangular area is divided into a × b rectangular sub-areas of the same shape, where a ≈ (Y)max-Ymin)/acc,b≈(Xmax-Xmax) A/acc; traversing all the sub-regions, and if no barrier node exists on the rectangular sub-region, discarding the sub-region;
and finally, connecting the outer vertexes in the reserved sub-regions to obtain an approximate polygon of the original obstacle.
3. The three-dimensional flight path planning method based on the free space and the A-x algorithm as claimed in claim 1, characterized in that: in step 3, the specific method for converting the multi-connected concave polygon into the single-connected concave polygon is as follows:
when point M1M2…MnSelecting a vertex O of an obstacle area when the obstacle area exists in the enclosed concave polygonal areaiWith a certain vertex M of the concave polygonal areaiConnecting line, is marked as OiMi(ii) a Its vector has two directions
Figure FDA0003666243470000031
And
Figure FDA0003666243470000032
let two vectors
Figure FDA0003666243470000033
And
Figure FDA0003666243470000034
a distance delta D → 0 between the two points, and the top point O of the obstacleiAnd the vertex M of the mapiBy connecting two vectors, the map becomes a single connected domain map M1M2…MiOiOi+1…OnO1…OiMi…Mn
If there are other obstacles in the concave polygonal area, each obstacle needs to be directly or indirectly connected to the map boundary vertex.
4. The three-dimensional flight path planning method based on the free space and the A-x algorithm as claimed in claim 1, characterized in that: in step 3, the specific method for decomposing the single connected concave polygon into a plurality of sub convex polygons comprises the following steps:
a. judging the positive and negative of the single-connection concave polygon, and if the polygon is a negative polygon, collecting vertexes thereof { P }nB, reversely ordering the vertexes, and if the vertexes are regular polygons, entering the step b;
b. from { PnChoose a pit PkSearching all visible points of the point to form a visible point set { V }k};
c. If { VkHaving pits in it, P is selected among the pitskIf { V } is the optimal visibility pointkThere is no pit in { V }, thenkSelect P inkThe optimal visibility point of (a);
d. connection PkDecomposing the map with the optimal visible point, and adding a new sub-polygon;
e. repeating steps b) to d) until PnThere are no pits in the polygon, then all the sub-polygons of the polygon are convex polygons.
5. The three-dimensional flight path planning method based on the free space and the A-x algorithm as claimed in claim 1, characterized in that: in step 4, the method for searching the optimal area channel by the a-star algorithm comprises the following steps:
(1) starting point XstartNode S of the regionstartAdding a sequence to be retrieved Open List;
(2) if the Open List is empty, no feasible flight path exists, and the algorithm is ended; otherwise, performing the step (3);
(3) traversing an Open List, and searching a node S with the minimum F valuecurentMove it into Close List, move it out of Open List; f is from the starting point through the current point ScurentEstimated track cost to endpoint;
(4) for node ScurentEach of which is not in a Close Listneighbour: if node SneighbourIf not, it is moved into the Open List, and the node S is movedcurentSet as node SneighbourThe parent node of (1) updating its G value and F value; the G value is the actual track cost from the starting point to the current point; if node SneighbourIn Open List, determine to go through node ScurentTo node SneighbourThe resulting node SneighbourWhether the G value of (a) is less than the original G value; if yes, the node S is connectedcurentSet as node SneighbourThe parent node of (1) updating its G value and F value;
(5) repeating the steps (2) to (4) until the corresponding node of the area where the end point is located is in the Open List;
(6) starting from the node corresponding to the area where the end point is located, each node SiIn turn with its parent node Si_parentConnect to form the optimal area channel { Si}。
CN202210592913.1A 2022-05-27 2022-05-27 Three-dimensional track planning method based on free space and A-algorithm Active CN114740898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210592913.1A CN114740898B (en) 2022-05-27 2022-05-27 Three-dimensional track planning method based on free space and A-algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210592913.1A CN114740898B (en) 2022-05-27 2022-05-27 Three-dimensional track planning method based on free space and A-algorithm

Publications (2)

Publication Number Publication Date
CN114740898A true CN114740898A (en) 2022-07-12
CN114740898B CN114740898B (en) 2024-06-07

Family

ID=82287226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210592913.1A Active CN114740898B (en) 2022-05-27 2022-05-27 Three-dimensional track planning method based on free space and A-algorithm

Country Status (1)

Country Link
CN (1) CN114740898B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010026710A1 (en) * 2008-09-03 2010-03-11 村田機械株式会社 Route planning method, route planning unit, and autonomous mobile device
US20160210863A1 (en) * 2015-01-19 2016-07-21 The Aerospace Corporation Autonomous nap-of-the-earth (anoe) flight path planning for manned and unmanned rotorcraft
CN108563243A (en) * 2018-06-28 2018-09-21 西北工业大学 A kind of unmanned aerial vehicle flight path planing method based on improvement RRT algorithms
WO2020239092A1 (en) * 2019-05-30 2020-12-03 深圳市道通智能航空技术有限公司 Unmanned aerial vehicle and flight area planning method and device therefor and storage medium
CN113325834A (en) * 2021-04-12 2021-08-31 北京航空航天大学 Path planning method of improved A-x algorithm based on graph preprocessing
CN113671985A (en) * 2021-07-28 2021-11-19 中国人民解放军32146部队 Staged multi-base unmanned aerial vehicle task allocation and flight path planning method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010026710A1 (en) * 2008-09-03 2010-03-11 村田機械株式会社 Route planning method, route planning unit, and autonomous mobile device
US20160210863A1 (en) * 2015-01-19 2016-07-21 The Aerospace Corporation Autonomous nap-of-the-earth (anoe) flight path planning for manned and unmanned rotorcraft
CN108563243A (en) * 2018-06-28 2018-09-21 西北工业大学 A kind of unmanned aerial vehicle flight path planing method based on improvement RRT algorithms
WO2020239092A1 (en) * 2019-05-30 2020-12-03 深圳市道通智能航空技术有限公司 Unmanned aerial vehicle and flight area planning method and device therefor and storage medium
CN113325834A (en) * 2021-04-12 2021-08-31 北京航空航天大学 Path planning method of improved A-x algorithm based on graph preprocessing
CN113671985A (en) * 2021-07-28 2021-11-19 中国人民解放军32146部队 Staged multi-base unmanned aerial vehicle task allocation and flight path planning method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒙波;皮亦鸣;曹宗杰;: "基于改进A~*算法的无人机航迹规划", 计算机仿真, no. 09, 15 September 2010 (2010-09-15), pages 37 - 40 *

Also Published As

Publication number Publication date
CN114740898B (en) 2024-06-07

Similar Documents

Publication Publication Date Title
CN108898605B (en) Grid map segmentation method based on map
Lin et al. A fast, complete, point cloud based loop closure for LiDAR odometry and mapping
CN110703747A (en) Robot autonomous exploration method based on simplified generalized Voronoi diagram
CN107703945A (en) A kind of intelligent farm machinery paths planning method of multiple targets fusion
US4891762A (en) Method and apparatus for tracking, mapping and recognition of spatial patterns
CN112184736B (en) Multi-plane extraction method based on European clustering
CN112180943B (en) Underwater robot navigation obstacle avoidance method based on visual image and laser radar
CN111444767B (en) Pedestrian detection and tracking method based on laser radar
CN111679692A (en) Unmanned aerial vehicle path planning method based on improved A-star algorithm
CN110135644B (en) Robot path planning method for target search
CN113345008B (en) Laser radar dynamic obstacle detection method considering wheel type robot position and posture estimation
KR102279388B1 (en) Learning method, learning device for detecting lane using lane model and test method, test device using the same
CN110705385B (en) Method, device, equipment and medium for detecting angle of obstacle
CN112947415A (en) Indoor path planning method based on meaning information of barrier
CN111998846A (en) Unmanned system rapid relocation method based on environment geometry and topological characteristics
CN113255677B (en) Method, equipment and medium for rapidly extracting rock mass structural plane and occurrence information
CN114296474A (en) Unmanned aerial vehicle path planning method and system based on path time cost
Gálai et al. Crossmodal point cloud registration in the Hough space for mobile laser scanning data
Wu et al. A non-rigid hierarchical discrete grid structure and its application to UAVs conflict detection and path planning
CN111123333B (en) Vehicle track positioning method fusing bayonet and GPS data
CN114740898A (en) Three-dimensional flight path planning method based on free space and A-star algorithm
CN116795101A (en) Motion planning method integrating improved A and improved DWA algorithm
CN116975781A (en) Automatic driving vehicle behavior decision system and method
CN112363498B (en) Underwater robot intelligent motion control method based on laser radar
CN113776535A (en) Unmanned ship route planning method based on rasterized electronic chart

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