A method and system for unmanned aerial vehicle path planning

By combining a three-step smoothing method with the RRT-Dijkstra algorithm, the problems of low efficiency and non-smooth paths in UAV path planning are solved, generating an efficient and smooth path planning scheme to ensure that UAVs reach the target point safely and quickly.

CN117288201BActive Publication Date: 2026-11-24NANJING MULTI BASE OBSERVATION TECH RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311256704.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2026-11-24
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

Existing RRT algorithms for UAV path planning suffer from problems such as low path search efficiency, uneven paths, long traversal time, and numerous redundant nodes.

Method used

A three-step smoothing method combined with the RRT-Dijkstra algorithm is adopted, including lower sample smoothing, upper sample smoothing and key point smoothing, and the path planning is optimized by combining target constraint sampling strategy and dynamic step size strategy.

Benefits of technology

It improves path search efficiency, generates smooth and short paths, ensures that the drone can smoothly avoid obstacles and fly to the target point, and optimizes the overall effect of path planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117288201B_ABST
    Figure CN117288201B_ABST
Patent Text Reader

Abstract

This invention provides a method and system for UAV path planning. The path planning method includes the following steps: S1. Loading an initial map, determining the initial point and target point in the initial map, and constructing a random tree using the initial point. S2. Expanding the random tree to obtain a complete path from the initial point to the target point, traversing obstacles. S3. Using Dijkstra's algorithm to search for the shortest path on the complete path, and performing downsample smoothing, upsample smoothing, and keypoint smoothing on the shortest path found to obtain a smoothed path. This invention combines three-step smoothing and the RRT-Dijkstra algorithm, balancing search efficiency, path shortness, and path smoothness, enabling the UAV to smoothly and efficiently fly to the target point according to the planned path while avoiding obstacles. The three-step smoothing uses downsample smoothing, upsample smoothing, and keypoint smoothing, resulting in a more significant path smoothing effect compared to existing smoothing methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of unmanned aerial vehicle (UAV) navigation technology, specifically to a UAV path planning method and system. Background Technology

[0002] Unmanned aerial vehicle (UAV) path planning involves automatically searching for a safe and reliable flight route within a defined area and under certain constraints, based on prior data and real-time sensor information, given the UAV's initial and target points. This process must consider obstacle avoidance and finding the shortest path. The Rapidly-Exploring Random Tree (RRT) algorithm avoids spatial modeling by performing collision detection on sampled points in the state space, effectively solving path planning problems under high-level spatial constraints and complex conditions, and shows promising application prospects in UAV path planning. However, the basic RRT algorithm has strong node randomness, requiring traversal of all nodes, leading to low path search efficiency and often resulting in uneven paths with poor overall stability.

[0003] Because the RRT algorithm suffers from drawbacks such as long traversal time, numerous redundant nodes, and uneven path smoothness, many scholars both domestically and internationally have dedicated themselves to improving it. LaValle and Kuffner proposed the RRT-connect algorithm, which generates two random trees at the starting and ending points to significantly reduce traversal time; however, the generated path has too many inflection points and is not smooth enough. Karaman and Frazzoli proposed the RRTstar algorithm, which introduces rewrite to optimize path smoothness, but this greatly increases traversal time. Liu Ziyan and Zhang Jie used a target-biased strategy and scent diffusion to diffuse towards the target node, and optimized the path using cubic B-spline curves, but the smoothing effect was limited. Summary of the Invention

[0004] Therefore, it is necessary to provide a UAV path planning method and system to address the problem that existing RRT algorithms cannot effectively balance path search efficiency and smoothing effect.

[0005] To achieve the above objectives, the present invention adopts the following technical solution:

[0006] A method for unmanned aerial vehicle (UAV) path planning includes the following steps:

[0007] S1. Load the initial map, determine the initial point and target point in the initial map, and construct a random tree using the initial point;

[0008] S2. Extend the path of the random tree to obtain a complete path from the initial point to the target point, excluding obstacles;

[0009] S3. Use Dijkstra's algorithm to search for the shortest path in the complete path, and then perform a three-step smoothing process on the shortest path to obtain a smoothed path; the specific steps of the three-step smoothing are as follows:

[0010] S31. Search for nodes on the shortest path, starting from the initial point as the starting point of the search. Sequentially determine whether the current starting point of the search is connected to the subsequent nodes and whether the connection collides with an obstacle. Otherwise, continue to check the next node.

[0011] S32. If yes, mark the previous node of the currently connected node as a breakpoint, connect the starting point of the search to the current breakpoint and use the current breakpoint as the starting point of the search, continue to connect with subsequent nodes to judge obstacles, until the target point is connected, and obtain the next sample smooth path;

[0012] S33. Based on the nodes of the lower sample smooth path, two nodes are randomly inserted and the path after connection does not collide with obstacles. After sampling iteration, the upper sample smooth path is obtained.

[0013] S34. Perform keypoint smoothing on the sample smooth path to obtain the smooth path required by the UAV.

[0014] Furthermore, the specific steps for randomly inserting two nodes in step S33 are as follows:

[0015] Obtain the set of smooth path nodes for the next sample Calculate the sum of the cumulative distances from the initial point to node i. in, Let i represent the i-th node of the smoothed path of the next sample, where i represents a random number and n represents the number of nodes in the next sample.

[0016] Define the set of nodes for the smooth path of the sample. DST n =UST m Based on the distance between the initial point and the target point, two random distances are sampled to obtain the sampled distance ranD. 1,2 :ranD 1,2 =x*Cs i=n , x~U(0,1); where, ranD 1,2 The condition ranD1 ≤ ranD2 is satisfied, where x represents the weight and Cs is the weight. i=n This represents the sum of the cumulative distances from the initial point to node n;

[0017] Calculate the intermediate variable a1: Where ranD1 satisfies This represents the sum of the cumulative distances from the initial point to node i+1;

[0018] Calculate the intermediate variable a2: Where ranD2 satisfies C sj This represents the sum of the cumulative distances from the initial point to node j. This represents the sum of the cumulative distances from the initial point to node j+1;

[0019] Calculate the two inserted nodes γ1 and γ2: in, This represents the i-th node of the smoothed path of the sample.

[0020] Furthermore, the specific steps of the sampling iteration in step S33 are as follows:

[0021] For the sample smooth path node set UST m The update is performed to obtain the updated set of smooth path nodes on the upper sample, UST'. m :

[0022]

[0023] The updated set of smooth path nodes UST' of the upsampled sample m Continue iterating until the preset number of iterations is reached, then connect the nodes in the set of nodes of the upsampled smoothing path to obtain the desired upsampled smoothing path.

[0024] Furthermore, the specific steps for path expansion of the random tree in step S2 are as follows:

[0025] S21. Generate random sampling points based on a preset target constraint sampling strategy, and generate new expansion points of the random tree through a dynamic step size strategy;

[0026] S22. Determine whether the distance between the new expansion point and the previous expansion point is less than a predetermined distance threshold and whether the connecting line passes through an obstacle;

[0027] S23. If yes, connect the new extension point to obtain the complete path from the initial point to the target point;

[0028] S24. Otherwise, return to step S21 and continue execution.

[0029] Furthermore, the specific steps for generating new expansion points of the random tree using the dynamic step-size strategy are as follows:

[0030] Starting from the initial point of the random tree, the tree is expanded for the first time using a preset initial step size, and it is determined whether there are obstacles in the connection between the new node and the starting point.

[0031] Otherwise, the current new node is used as the expansion point, and the next new node is expanded in the same way, starting from the current new node.

[0032] If so, calculate the new step size newstep and expand the new node again; where newstep = step + (1-m / S)*step, S is the area of ​​the rectangle with the nearest random tree node and the target point as the diagonal, and m is the area of ​​the obstacles in the rectangle.

[0033] Furthermore, when expanding a new node, the expansion direction is based on the direction of the random sampling points of the random tree and the direction of the target point.

[0034] Furthermore, keypoint smoothing employs Nth-order b-spline curve smoothing.

[0035] This invention also relates to an unmanned aerial vehicle (UAV) path planning system, comprising:

[0036] The initialization module is used to load the initialization map, determine the initial point and the target point in the initialization map, and construct a random tree with the initial point;

[0037] The path expansion module is used to expand the path of the random tree to obtain a complete path from the initial point to the target point and across obstacles;

[0038] The smooth path generation module is used to search for the shortest path in the complete path using the Dijkstra algorithm, and to perform downsample smoothing, upsample smoothing and keypoint smoothing on the shortest path found to generate a smooth path.

[0039] Compared with the prior art, the beneficial effects of the present invention include:

[0040] 1. This invention combines three-step smoothing and the RRT-Dijkstra algorithm to balance search efficiency, path shortness, and path smoothness, enabling UAVs to smoothly avoid obstacles and efficiently fly to the target point according to the planned path; the three-step smoothing uses downsample smoothing, upsample smoothing, and key point smoothing, which has a more obvious path smoothing effect compared with existing smoothing methods.

[0041] 2. This invention makes the generation of random sampling points and new expansion points goal-oriented by setting a target constraint sampling strategy and a dynamic step size strategy, which effectively solves the problems of low utilization of random sampling points and blind growth of random trees in traditional RRT algorithms, thus improving the search efficiency of path planning. Attached Figure Description

[0042] The disclosure of this invention is illustrated with reference to the accompanying drawings. It should be understood that the drawings are for illustrative purposes only and are not intended to limit the scope of protection of this invention. Wherein:

[0043] Figure 1 This is a flowchart of a UAV path planning method described in Embodiment 1 of the present invention;

[0044] Figure 2 For based on Figure 1 A schematic diagram of the downsample optimization;

[0045] Figure 3 For based on Figure 1 A schematic diagram of the upper sample optimization iteration;

[0046] Figure 4 For based on Figure 1 A schematic diagram of the upper sample optimization iteration;

[0047] Figure 5 For based on Figure 1 A schematic diagram of the upper sample optimization iteration;

[0048] Figure 6 For based on Figure 1 A schematic diagram showing the relationship between the number of iterations for the top sample optimization and the path length;

[0049] Figure 7 This is a schematic diagram illustrating the effect of applying UAV path planning methods to a general map.

[0050] Figure 8 This is a schematic diagram illustrating the effect of applying UAV path planning methods to complex maps. Detailed Implementation

[0051] It is readily understood that, based on the technical solution of this invention, those skilled in the art can propose various interchangeable structural methods and implementations without altering the essential spirit of the invention. Therefore, the following detailed embodiments and accompanying drawings are merely illustrative examples of the technical solution of this invention and should not be considered as the entirety of the invention or as limitations or restrictions on the technical solution of this invention.

[0052] Example 1

[0053] Please see Figure 1 This embodiment introduces a method for unmanned aerial vehicle (UAV) path planning, including the following steps:

[0054] Step 1. Load the initial map, determine the initial point and target point in the initial map, and construct a random tree using the initial point.

[0055] In this practical application scenario, to enable the drone to generate a global path, surrounding environmental information can be detected by sensors, such as LiDAR sensors, millimeter-wave radar sensors, and cameras. If map information already exists, it can be transmitted wirelessly or via wired connection and then directly accessed.

[0056] Step 2. Expand the path of the random tree to obtain a complete path from the initial point to the target point, traversing obstacles.

[0057] Step 21. Generate random sampling points based on the preset target constraint sampling strategy, and generate new expansion points of the random tree through the dynamic step size strategy;

[0058] Step 22. Determine whether the distance between the new expansion point and the previous expansion point is less than a predetermined distance threshold and whether the connecting line passes through an obstacle;

[0059] Step 23. If yes, connect the new extension point to obtain the complete path from the initial point to the target point;

[0060] Step 24. Otherwise, return to step S21 and continue execution.

[0061] The target-constrained sampling strategy can constrain random sampling points, giving them a certain probability of being generated towards the target point. The specific details of the dynamic step-size strategy in step 21 are as follows:

[0062] Starting from the initial point of the random tree, the tree is expanded for the first time using a preset initial step size, and it is determined whether there are obstacles in the connection between the new node and the starting point.

[0063] Otherwise, the current new node is used as the expansion point, and the next new node is expanded in the same way, starting from the current new node.

[0064] If so, calculate the new step size newstep and expand the new node again; where newstep = step + (1-m / S)*step, S is the area of ​​the rectangle with the nearest random tree node and the target point as the diagonal, and m is the area of ​​the obstacles in the rectangle.

[0065] To ensure that the expansion points have a certain probability of expanding towards the target point, the expansion direction when expanding new nodes is based on the direction of the random sampling points of the random tree and the direction of the target point. Through the constraints of these two directions, the expansion points are generally expanded in the direction towards the target point while avoiding obstacles.

[0066] Step 3. Perform shortest path search on the complete path using Dijkstra's algorithm, and smooth the shortest path found in three steps to obtain a smoothed path; the shortest path search on the complete path using Dijkstra's algorithm includes extracting nodes in the complete path; connecting nodes without obstacles between two nodes to generate multiple locally feasible paths; and performing relaxation operation on the multiple locally feasible paths using Dijkstra's algorithm to obtain the shortest path.

[0067] The specific steps of the three-step smoothing process are as follows:

[0068] Step 31. Search for nodes on the shortest path. Starting from the initial point, connect the current starting point to the subsequent nodes in turn and check whether the connection collides with an obstacle. Otherwise, continue to check the next node.

[0069] Step 32. If yes, mark the previous node of the currently connected node as a breakpoint, connect the starting point of the search to the current breakpoint and use the current breakpoint as the starting point of the search, continue to connect with subsequent nodes to judge obstacles, until the target point is connected, and obtain the next sample smooth path;

[0070] Combination Figure 2 As can be seen, the light gray polyline (or the one with the most nodes) is the original path, the dark gray polyline is the path optimized by downsampling, and the dashed lines are discarded to show that the line connecting two points collides with obstacles. It can be seen that the path optimized by downsampling is shorter than the original path, but further optimization is still needed.

[0071] Step 33. Based on the nodes of the lower sample smooth path, randomly insert two nodes while ensuring that the resulting path does not collide with obstacles. After sampling iterations, obtain the upper sample smooth path; as follows:

[0072] The path optimized by downsampling is shorter, but the nodes are still connected in a zigzag pattern and are not close enough to obstacles, especially at corners, which will result in more energy loss during drone flight. Compared to downsampling, upsampling optimization generates more nodes that are closer to obstacles and have a shorter overall path.

[0073] Let the down sample trajectory points be defined as DST (down sample trajectory), and the up sample trajectory points as UST (up sample trajectory). Let p represent a node of a path, then the set of nodes of the smoothed down sample path is... Set of smooth path nodes in the sample Use an iterative approach to obtain points, let DST n =UST m As the first iteration, the sum of the cumulative distances of the downsampled trajectory points is defined as Cs, where Cs is the sum of the cumulative distances from the initial point to node i. i The definition of is:

[0074]

[0075] Based on the distance between the initial point and the target point, two random distances are sampled, namely:

[0076] ranD 1,2 =x·Cs i=n ,x~U(0,1)

[0077] Among them, ranD 1,2 The condition ranD1 ≤ ranD2 is satisfied. x represents the weight, and Cs... i=n This represents the sum of the cumulative distances from the initial point to node n. Then, γ1 and γ2 are inserted iteratively. and The formula for the region between them is as follows:

[0078]

[0079] Where i and j are random numbers that need to satisfy the constraints of the above formula, and γ1 and γ2 are given by the above formula. At the same time, the path connecting γ1 and γ2 also needs to be checked to see if it collides with obstacles. C represents the sum of the cumulative distances from the initial point to node i+1. sj This represents the sum of the cumulative distances from the initial point to node j. This represents the sum of the cumulative distances from the initial point to node j+1. This represents the i-th node of the smoothed path of the sample.

[0080] Then we can obtain a new set of smooth path nodes UST'. m :

[0081]

[0082] Then continue to update the set of smoothed path nodes for the upsampled sample, that is, let the set of smoothed path nodes for the upsampled sample that is about to be iterated be UST'. n =UST' m Taking all possible values ​​of m and n, since this is a sampling iterative method, the more iterations, the better the effect. The relationship between the number of iterations and the path length is determined by... Figure 6 Given that the horizontal axis represents the number of iterations and the vertical axis represents the total distance of the optimized sample, it can be seen that the total distance of the optimized sample decreases as the number of iterations increases. Figure 3 , Figure 4 , Figure 5 The numbers in order are iterations 10, 100, and 999. The light gray line in each figure represents the original path, and the dark gray line represents the upsampling smoothing effect after the corresponding number of iterations.

[0083] Step 34. Perform keypoint smoothing on the sample smooth path to obtain the smooth path required by the UAV.

[0084] After the first two optimization steps, the overall path is relatively smooth and the path length is relatively short. However, it is not the optimal solution for some points, so optimization of key points is still needed. B-spline curves are a type of smoothing curve, specifically for point-based smoothing. Essentially, they are a special case of Bézier curves, overcoming the shortcomings of lacking local properties and poor continuity while retaining the advantages of Bézier curves. They are commonly used for path smoothing. The typical usage is to apply N-fold B-spline curve processing to the path using control points. In this example, N is 3, representing a cubic B-spline curve. Details are as follows:

[0085] Consider a trajectory as consisting of N = M + 2 points, where the coordinates of each point are (x, y, y). I y I If I is an integer in the range [0, N], then the function S(x) is a K-order continuous spline function, and S(x) satisfies the following two conditions:

[0086] 1. In the interval [x I-1 ,x I Within the range (I = 1, 2, ..., n), S(x) is a continuous function of at least order K.

[0087] 2. I holds true at [1, N-1].

[0088] Let y I =S(x I The following defines a B-spline curve, given M+N+1 planes or control points P. I+K If I+K are integers in the range [0, M+N], then the parameter curve segment of degree N is:

[0089]

[0090] Wherein, the basis function G I,N (t) is:

[0091]

[0092] Where t represents the position on the curve, t∈[0,1], I=0,l,……N. J is a random number.

[0093] The basis functions of the cubic B-spline curve are as follows:

[0094]

[0095] Then the first control point P of the cubic B-spline curve can be obtained. 0,3 The expression for (t):

[0096]

[0097] The control points P of the cubic B-spline curve I+KThe definition of is:

[0098]

[0099] G 0,3 (t), G 1,3 (t), G 2,3 (t), G 3,3 (t) represents the basis functions of the cubic B-spline curve, P 0,3 (0) represents the control point of the cubic B-spline curve with t=0, P 0,3 (1) P″ represents the control point of the cubic B-spline curve with t = 1. 0,3 (0) indicates that P 0,3 The second derivative of (0), P″ 0,3 (1) indicates P 0,3 (1) The second derivative, P0, P1, P2, P3 represent four consecutive control points of the cubic B-spline curve.

[0100] Please combine Figure 7 and Figure 8 , Figure 7 The ordinary map shown and Figure 8 In the complex map shown, line 1 is the path after the initial RRT, i.e., the complete path after path expansion; line 2 is the shortest path with Dijkstra's algorithm applied; line 3 is the path after subsample smoothing; and line 4 is the final smoothed path.

[0101] Therefore, this embodiment combines three-step smoothing and the RRT-Dijkstra algorithm to balance search efficiency, path shortness, and path smoothness, enabling the UAV to smoothly avoid obstacles and efficiently fly to the target point according to the planned path. The three-step smoothing uses downsample smoothing, upsample smoothing, and key point smoothing, which has a more obvious path smoothing effect compared with existing smoothing methods.

[0102] Example 2

[0103] This embodiment introduces a UAV path planning system, including an initialization module, a path expansion module, and a smooth path generation module.

[0104] The initialization module is used to load the initialization map, determine the initial point and the target point in the initialization map, and construct a random tree with the initial point;

[0105] The path expansion module is used to expand the path of the random tree to obtain a complete path from the initial point to the target point and across obstacles;

[0106] The smooth path generation module is used to search for the shortest path in the complete path using the Dijkstra algorithm, and to perform downsample smoothing, upsample smoothing and keypoint smoothing on the shortest path found to generate a smooth path.

[0107] The lower sample smoothing, upper sample smoothing, and key point smoothing adopt the three-step smoothing method steps mentioned in Example 1.

[0108] This embodiment has the same beneficial effects as Embodiment 1.

[0109] Example 3

[0110] Based on the UAV path planning method described in Example 1, this example also introduces a computer terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the UAV path planning method described in Example 1. In application, it can be implemented as software, such as designed as a standalone program installed on a computer terminal, which can be a computer, smartphone, etc. Alternatively, it can be designed as an embedded program installed on a computer terminal, such as on a microcontroller.

[0111] Example 4

[0112] Based on the UAV path planning method described in Example 1, this example also introduces a computer-readable storage medium storing a computer program. When the program is executed by a processor, it implements the steps of the UAV path planning method described in Example 1. In application, it can be implemented in software form, such as by designing a program that can run independently on the computer-readable storage medium. The computer-readable storage medium can be a USB flash drive, designed as a USB security token, and the program can be designed to start the entire method via an external trigger.

[0113] The technical scope of this invention is not limited to the content described above. Those skilled in the art can make various modifications and variations to the above embodiments without departing from the technical concept of this invention, and all such modifications and variations should fall within the protection scope of this invention.

Claims

1. A method for UAV path planning, which obtains the smooth path required by the UAV based on three-step smoothing and the RRT-Dijkstra algorithm, characterized in that, The UAV path planning method includes the following steps: S1. Load the initialization map, determine the initial point and target point in the initialization map, and construct a random tree with the initial point; S2. Expand the path of the random tree to obtain a complete path from the initial point to the target point, passing through obstacles; S3. Perform a shortest path search on the complete path using Dijkstra's algorithm, and then perform a three-step smoothing process on the found shortest path to obtain a smoothed path; the specific steps of the three-step smoothing are as follows: S31. Search for nodes on the shortest path, starting from the initial point as the starting point of the search, and sequentially determine whether the current starting point of the search is connected to the subsequent nodes and whether the connection collides with an obstacle; otherwise, continue to detect the next node. S32. If so, mark the previous node of the currently connected node as a breakpoint, connect the starting point of the search to the current breakpoint and use the current breakpoint as the starting point of the search, continue to connect with subsequent nodes to perform obstacle judgment, until the target point is connected, and obtain the next sample smooth path; S33. Based on the nodes of the lower sample smooth path, two nodes are randomly inserted and the path after connection does not collide with obstacles. After sampling iteration, the upper sample smooth path is obtained. S34. Perform key point smoothing on the above sample smoothing path to obtain the smooth path required by the UAV.

2. The UAV path planning method according to claim 1, characterized in that, The specific steps for randomly inserting two nodes in step S33 are as follows: Obtain the set of smooth path nodes in the lower sample DST n = Calculate the sum of the cumulative distances from the initial point to node i. ;in, Let i represent the i-th node of the smoothed path of the next sample, where i represents a random number and n represents the number of nodes in the next sample. Define the set of nodes for the smooth path of the sample UST m = DST n =UST m Based on the distance between the initial point and the target point, two random distances are sampled to obtain the sampled distance ranD. 1,2 :ranD 1,2 =x*Cs i=n , x~U(0,1); where, ranD 1,2 The condition ranD1 ≤ ranD2 is satisfied, where x represents the weight and Cs is the weight. i=n This represents the sum of the cumulative distances from the initial point to node n; Calculate the intermediate variable a1: ; where ranD1 satisfies , This represents the sum of the cumulative distances from the initial point to node i+1; Calculate the intermediate variable a2: ; where ranD2 satisfies , This represents the sum of the cumulative distances from the initial point to node j. This represents the sum of the cumulative distances from the initial point to node j+1; Calculate the two inserted nodes γ1 and γ2: , ;in, This represents the i-th node of the smoothed path of the sample.

3. The UAV path planning method according to claim 2, characterized in that, The specific steps of the sampling iteration in step S33 are as follows: For the sample smooth path node set UST m The set of smoothed path nodes from the sample is updated to obtain the updated set. : ; Update the set of smoothed path nodes in the upsampled dataset Continue iterating until the preset number of iterations is reached, then connect the nodes in the set of nodes of the upsampled smoothing path to obtain the desired upsampled smoothing path.

4. The UAV path planning method according to claim 1, characterized in that, The specific steps for path expansion of the random tree in step S2 are as follows: S21. Generate random sampling points based on a preset target constraint sampling strategy, and generate new expansion points of the random tree through a dynamic step size strategy; S22. Determine whether the distance between the new expansion point and the previous expansion point is less than a predetermined distance threshold and whether the connecting line passes through an obstacle; S23. If so, connect the new extension point to obtain the complete path from the initial point to the target point; S24. Otherwise, return to step S21 and continue execution.

5. The UAV path planning method according to claim 4, characterized in that, The specific steps for generating new expansion points of the random tree using the dynamic step-size strategy are as follows: Starting from the initial point of the random tree, the tree is expanded for the first time using a preset initial step size, and it is determined whether there are obstacles in the connection between the new node and the starting point. Otherwise, the current new node is used as the expansion point, and the next new node is expanded in the same way, starting from the current new node. If so, calculate the new step size `newstep` and re-expand the new nodes; where, S is the area of ​​the rectangle whose diagonal is the random tree node closest to the random sampling point and the target point, and m is the area of ​​the obstacles in the rectangle.

6. The UAV path planning method according to claim 5, characterized in that, When expanding a new node, the expansion direction is based on the direction of the random sampling points of the random tree and the direction of the target point.

7. The UAV path planning method according to claim 1, characterized in that, Keypoint smoothing uses Nth-order B-spline curve smoothing.

8. A drone path planning system for executing the drone path planning method as described in any one of claims 1 to 7, characterized in that, It includes: An initialization module is used to load an initialization map, determine an initial point and a target point in the initialization map, and construct a random tree with the initial point; A path expansion module is used to expand the path of the random tree to obtain a complete path from the initial point to the target point and across obstacles. The smooth path generation module is used to search for the shortest path in the complete path using the Dijkstra algorithm, and to perform downsample smoothing, upsample smoothing and keypoint smoothing on the shortest path found to generate a smooth path.

9. A computer terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the UAV path planning method as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the UAV path planning method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Mobile robot path planning method based on improved RRT algorithm

    CN111610786A

  • Robot path planning method and device based on improved RRT algorithm

    CN113341984A