Unmanned aerial vehicle path planning method and device for improving teaching and learning algorithm, and unmanned aerial vehicle

By introducing interactive cylindrical vector technology into the teaching and learning algorithm, UAV path planning is optimized, solving the efficiency and accuracy problems of path planning in complex environments, and achieving faster convergence and higher path quality.

CN118776583APending Publication Date: 2024-10-15GUIZHOU UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410958737.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing teaching and learning algorithms have problems such as slow convergence, reduced optimization accuracy, and easy falling into local minima in UAV path planning in complex and multi-obstacle environments, which limits their application effects.

Method used

The Interactive Cylindrical Vector Teaching and Learning Algorithm (ICVTLBO) is introduced to optimize path planning and improve algorithm efficiency and path accuracy by constructing objective functions and constraints, combined with mathematical models of the interactive teacher and enhanced interactive learner stages.

Benefits of technology

It effectively overcomes the limitations of traditional teaching and learning algorithms in complex environments, improves the accuracy and safety of path planning for UAVs in multi-threat environments, reduces the probability of local optimal solutions, and speeds up the convergence speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118776583A_ABST
    Figure CN118776583A_ABST
Patent Text Reader

Abstract

The invention provides an unmanned aerial vehicle path planning method and device for improving a teaching and learning algorithm, and an unmanned aerial vehicle. The method comprises the following steps: S1, constructing an objective function of unmanned aerial vehicle path planning and constraint conditions of the objective function; s2, optimizing the current objective function and obtaining an optimal solution; s3, if the current cycle times reach the set times, directly executing S4; otherwise, the step S2 is repeated, and the next cycle is carried out; s2, taking the optimal solution obtained in the last cycle of step S2 as a path point of the next cycle, and updating all paths according to the optimal solution until the end point of the unmanned aerial vehicle is iterated circularly; and S4, ending, and outputting the optimal path. The algorithm efficiency is improved, and the requirement for path accuracy in a complex multi-obstacle environment is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicle path planning, and in particular to an unmanned aerial vehicle path planning method, a device and an unmanned aerial vehicle with an improved teaching and learning algorithm. Background Art

[0002] To conduct dynamic path planning for UAVs in complex obstacle environments, it is first necessary to build a path planning model, including UAV models, obstacle models, constraint sets, and objective functions. According to the UAV path planning model, the UAV needs to have a complete flight path from the starting point to the end point. Existing related research is mainly based on static obstacle environments, and the implementation methods are roughly divided into two categories: traditional path planning methods and biological intelligence algorithms. However, in complex multi-obstacle scenarios, traditional path planning algorithms are limited by high computational complexity. Biological intelligence algorithms have been widely used in solving UAV path planning problems in complex environments due to their high parallelism, strong robustness, and self-organization and self-learning. Compared with traditional optimization algorithms, biological intelligence algorithms have better stability and flexibility in dealing with high-dimensional, complex, and multi-constrained optimization problems.

[0003] The teaching and learning algorithm has significant advantages in solving complex function optimization problems due to its excellent global convergence and computational robustness. Especially in the problem of drone path planning in a multi-threat environment, the obstacle models and objective functions involved are usually high-dimensional complex functions, which makes the teaching and learning algorithm more advantageous than other algorithms. However, the traditional teaching and learning algorithm also has some shortcomings. In the later stage of the optimization process, its convergence speed is slow, the optimization accuracy decreases, and it is easy to fall into the local minimum. These problems limit the application effect of the teaching and learning algorithm in dealing with drone path planning problems in complex environments to a certain extent. Summary of the invention

[0004] The present invention aims to at least solve the technical problems existing in the prior art, and in particular innovatively proposes a UAV path planning method, device and UAV with an improved teaching and learning algorithm, thereby improving the efficiency of the algorithm and meeting the path accuracy requirements in a complex multi-obstacle environment.

[0005] In order to achieve the above-mentioned object of the present invention, the present invention provides a UAV path planning method with an improved teaching and learning algorithm, comprising the following steps:

[0006] S1: Construct the objective function and constraint conditions of the UAV path planning;

[0007] S1-1: Input the environment model of the task space and construct the objective function based on the environment model as follows:

[0008] ,

[0009] They represent the path length cost, flight altitude cost, threat cost and loss caused by the physical constraints of the drone, respectively. arrive These cost components arrive The respective weights of Represents the fitness value of the drone’s path;

[0010] S2: Optimize the current objective function and obtain the optimal solution;

[0011] S2-1: Initialize or update the parameters of the interactive cylindrical vector teaching and learning algorithm (ICVTLBO);

[0012] S2-2: Generate m initial paths in the cylindrical coordinate system;

[0013] S2-3: convert each path into Cartesian coordinates;

[0014] Each flight node is expressed by a sequence of three-dimensional cylindrical vectors, and the feasible path containing n flight nodes is expressed as follows:

[0015] ,

[0016] in, For the A feasible path, For the The magnitude of the first flight node in a feasible path, Representative The flight elevation angle of the UAV at the first flight node in a feasible path, For the The azimuth of the UAV at the first flight node in a feasible path;

[0017] S2-4: Calculate the fitness value of the current cycle;

[0018] S2-4-1: Calculate the path node of the current cycle using the following formula:

[0019] ,

[0020] in, is the path node after iteration, is a random path node, is the current optimal path point, represents the average value of all path nodes, represents the impact factor; is a random number between 0 and 1. is the coefficient;

[0021] Calculated by the following formula :

[0022] ℑ= [ e − iter MaxIt + (cos( π × iter MaxIt ) + 1 ) ] ×∂ ,

[0023] in, is the current iteration number, is the maximum number of iterations; is a constant;

[0024] S2-4-2: Calculate the fitness value of the path node of the current cycle ;

[0025] Calculation is performed using the objective function constructed in step S1 and the constraints of the objective function;

[0026] S2-5: Calculate the fitness value under the current model by enhancing the mathematical model of the interactive learner stage;

[0027] S2-6: Compare the fitness values ​​calculated by S2-4 and S2-5, record the path with the smaller fitness value, and update it;

[0028] S3: If the current number of cycles reaches the set number, execute S4 directly;

[0029] Otherwise, repeat step S2 and proceed to the next loop; use the optimal solution obtained in step S2 of the previous loop as the path point of the next loop, and update all paths according to the optimal solution until the loop iterates to the end point of the drone;

[0030] S4: End, output the best path.

[0031] In the above scheme: step S1 also includes:

[0032] S1-2: Assume that the starting point and end point in the task space are Dot and point, and in Dot and Insert between points tandem waypoints, according to Serial waypoints to plan the flight path of the drone;

[0033] S1-3: Construct the flight paths The path length cost The calculation formula is as follows:

[0034] K 1 ( P i ) = ∑ j = 0 N s q r t [ ( x i j + 1 − x i j ) 2 + ( y i j + 1 − y i j ) 2 + ( z i j + 1 − z i j ) 2 ] ,

[0035] in, The coordinates of , The coordinates of ;

[0036] s q r t [ ] represents square root;

[0037] Indicates flight paths No. points;

[0038] Indicates flight paths No. points;

[0039] Indicates the number of serial waypoints;

[0040] S1-4: Construct a calculation formula for flight altitude cost;

[0041] S1-5: Construct a formula for calculating threat cost;

[0042] S1-6: Construct a formula to calculate the losses caused by the physical constraints of the drone.

[0043] In the above scheme: Step S1-4 also includes the following steps:

[0044] S1-4-1: Assume that the upper and lower limits of the safe distance that the UAV should maintain from the mountain or the ground to avoid collision are and ;

[0045] S1-4-2: Construct the flight paths Flight altitude cost The calculation formula is as follows:

[0046] ,

[0047] In the formula, Indicates flight paths Previous The flight altitude cost of a small segment, among which, when the flight paths Previous The height of the segment ,but ;like ,but , The flight altitude is below the safety threshold The penalty value when It indicates the upper limit of the safe distance that the drone should keep from the mountain or the ground to avoid collision. It represents the lower bound of the safe distance that the drone should keep from the mountain or the ground to avoid collision. Indicates flight paths superior The height of a small segment.

[0048] In the above scheme: step S1-5 also includes the following steps:

[0049] Build Path The threat cost The calculation formula is as follows:

[0050] ,

[0051] in, Indicates the number of threats that exist. represents the threat cost of different trajectories; and Indicates The core trajectory of the threat source, Threat Source Center With The distance of the segment, Indicates a safe distance; when hour, ;when hour, ;when hour, .

[0052] In the above scheme: step S1-6 also includes the following steps:

[0053] S1-6-1: Since the aerial maneuverability of the UAV is mainly determined by the critical indicators of the turning angle and the bevel angle that determine the feasibility of the flight path, and the turning angle is defined by the angle between the horizontal plane Oxy projections of two consecutive line segments, the path is calculated by the following formula Middle Corner of small segment:

[0054] ,

[0055] In the formula, For path Middle Small section corner, waypoint and All paths Middle A point on a flight path. , For point and The route between , projection on the horizontal plane;

[0056] S1-6-2: Calculate the path using the following formula Middle Slope angle of small section:

[0057] ,

[0058] in, and Waypoints and of coordinate;

[0059] S1-6-3: Construction Path All damage caused by the physical constraints of the drone The calculation formula is as follows:

[0060] ,

[0061] in, For path Middle The loss caused by the small corner, For path Middle The loss caused by the slope angle of the small section is For path The maximum turning angle, For path The maximum climbing angle in the path Middle The corner of the flight path ,but , if the path Middle The corner of the flight path ,but If the path Middle and The bank angle of the flight path , satisfy ,but ,otherwise .

[0062] In the above scheme: step S2-5 also includes:

[0063] Calculate the optimal path under the current model by enhancing the mathematical model of the interactive learner stage;

[0064] S2-5-1: Calculate the parameters affecting the distance between students on the interactive learning effect;

[0065] ,

[0066] in, is the parameter that affects the optimization effect of the distance between nodes. is a constant , , and All are random values ​​in the range of 0 to 1; is the gamma function;

[0067] S2-5-2: The path nodes obtained by the current loop iteration under the mathematical model of the enhanced interactive learner stage are as follows:

[0068] ,

[0069] in, ;

[0070] in, It represents the updated path node obtained through the strategy iteration. represents the control parameter used to adjust the search range, is the angle value, Representation and Related gradient control parameters; represents a dynamically adjusted control parameter; Indicates the result of the modulo operation between 0 and 1; , , , and Are all random values ​​between 0 and 1. is a random path node, is the current optimal path point, is the current iteration number, is the maximum number of iterations; Represents modulo operation, used to find the remainder; Represents a natural constant that is the base of an exponential function;

[0071] S2-5-3: Calculate the fitness value of the path node obtained by the current loop iteration under the mathematical model of the enhanced interactive learner stage ;

[0072] Calculation is performed using the objective function constructed in step S1 and the constraints of the objective function;

[0073] Step S2-6 also includes:

[0074] when < When is the best path;

[0075] when > When is the best path.

[0076] The present invention also provides a drone path planning device based on an improved teaching and learning algorithm, the device comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute the method described in the above scheme.

[0077] The present invention also provides a drone, including a drone body and the drone path planning device described in the above scheme, wherein the drone path planning device is used to execute the method described in the above scheme on the drone body.

[0078] In summary, due to the adoption of the above technical solutions, the beneficial effects of the present invention are: it can improve the efficiency of the algorithm and meet the requirements for path accuracy in complex multi-obstacle environments. By introducing an interactive cylindrical vector teaching and learning algorithm, the present invention effectively overcomes the limitations of traditional teaching and learning algorithms in dealing with UAV path planning problems in complex environments, and provides a strong guarantee for UAVs to plan an optimized path without collision risks in a multi-threat environment. In response to the problems existing in UAV path planning in a multi-threat environment, the idea of ​​class interaction is introduced on the basis of the original teaching and learning algorithm. Through the operations of the interactive teacher stage and the enhanced interactive learner stage, an optimized path without collision risks can be planned for UAVs in a multi-threat obstacle environment, thereby improving the efficiency of the algorithm and meeting the requirements for path accuracy in a complex multi-obstacle environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 The present invention is a flowchart of a method for unmanned aerial vehicle path planning with an improved teaching and learning algorithm.

[0080] Figure 2 It is a three-dimensional schematic diagram of the drone path planned by the drone path planning method of the present invention and the particle swarm algorithm, artificial bee colony algorithm, teaching and learning algorithm, teaching-learning-learning optimization algorithm, and raccoon optimization algorithm in the first scenario.

[0081] Figure 3It is an overhead view of the drone path planned by the drone path planning method of the present invention and the particle swarm algorithm, artificial bee colony algorithm, teaching and learning algorithm, teaching-learning-learning optimization algorithm, and raccoon optimization algorithm in the first scenario.

[0082] Figure 4 It is a side view of the drone path planned by the drone path planning method of the present invention and the particle swarm algorithm, artificial bee colony algorithm, teaching and learning algorithm, teaching-learning-learning optimization algorithm, and raccoon optimization algorithm in the first scenario.

[0083] Figure 5 It is a convergence curve diagram of the drone path planned by the drone path planning method of the present invention and the particle swarm algorithm, artificial bee colony algorithm, teaching and learning algorithm, teaching-learning-learning optimization algorithm, and raccoon optimization algorithm in the first scenario.

[0084] Figure 6 It is a three-dimensional schematic diagram of the drone path planned by the drone path planning method of the present invention and the particle swarm algorithm, artificial bee colony algorithm, teaching and learning algorithm, teaching-learning-learning optimization algorithm, and raccoon optimization algorithm in the second scenario.

[0085] Figure 7 It is an overhead view of the drone path planned by the drone path planning method of the present invention and the particle swarm algorithm, artificial bee colony algorithm, teaching and learning algorithm, teaching-learning-learning optimization algorithm, and raccoon optimization algorithm in the second scenario.

[0086] Figure 8 It is a side view of the drone path planned by the drone path planning method of the present invention and the particle swarm algorithm, artificial bee colony algorithm, teaching and learning algorithm, teaching-learning-learning optimization algorithm, and raccoon optimization algorithm in the second scenario.

[0087] Fig. 9 It is a convergence curve diagram of the drone path planning method of the present invention and the drone path planned by the particle swarm algorithm, artificial bee colony algorithm, teaching and learning algorithm, teaching-learning-learning optimization algorithm, and raccoon optimization algorithm in the second scenario. DETAILED DESCRIPTION

[0088] The present invention will be further described below by way of embodiments and in conjunction with the accompanying drawings:

[0089] Figure 1 to Figure 9 As shown, a UAV path planning method for improving the teaching and learning algorithm includes the following steps:

[0090] S1: Construct the objective function and constraint conditions of the UAV path planning;

[0091] S1-1: Input the environment model of the task space and construct the objective function based on the environment model as follows:

[0092] ,

[0093] The environmental model includes the terrain data of the environment and the locations of all obstacles and threat information, and the objective function is a comprehensive measure that considers various cost factors related to the flight path.

[0094] In the formula, They represent the path length cost, flight altitude cost, threat cost and loss caused by the physical constraints of the drone, respectively. arrive These cost components are The respective weights of Represents the fitness value of the drone’s path;

[0095] S1-2: Assume that the starting point and end point in the task space are Dot and point, and in Dot and Insert between points tandem waypoints, according to Serial waypoints to plan the flight path of the drone;

[0096] S1-3: Since the expected flight path of the UAV should be as concise as possible to save fuel, it needs to be quantified by aggregating multiple segment lengths, taking the Euclidean distance between any two nodes in the UAV flight path as the length of a single line segment;

[0097] Therefore, construct the flight paths The path length cost The calculation formula is as follows:

[0098] K 1 ( P i ) = ∑ j = 0 N s q r t [ ( x i j + 1 − x i j ) 2 + ( y i j + 1 − y i j ) 2 + ( z i j + 1 − z i j ) 2 ] ,

[0099] in, The coordinates of , The coordinates of ;

[0100] s q r t [ ] represents square root;

[0101] Indicates flight paths No. points;

[0102] Indicates flight paths No. points;

[0103] Indicates the number of serial waypoints;

[0104] S1-4: Construct a calculation formula for flight altitude cost;

[0105] S1-4-1: Assume that the upper and lower limits of the safe distance that the UAV should maintain from the mountain or the ground to avoid collision are and ;

[0106] Adding variables and As upper and lower bounds for the safe distance that a drone should maintain from a mountain or the ground to avoid collision;

[0107] S1-4-2: Construct the flight paths Flight altitude cost The calculation formula is as follows:

[0108] ,

[0109] In the formula, Indicates flight paths Previous The flight altitude cost of a small segment, among which, when the flight paths Previous The height of the segment ,but ;like ,but , The flight altitude is below the safety threshold The penalty value when It indicates the upper limit of the safe distance that the drone should keep from the mountain or the ground to avoid collision. It represents the lower bound of the safe distance that the drone should keep from the mountain or the ground to avoid collision. Indicates flight paths superior The height of a small segment.

[0110] If the drone is flying at a height lower than the terrain, encounters with the ground or mountains are inevitable. To prevent such catastrophic events, constraints include imposing to block flight paths that could cause the drone to enter unsafe areas below the terrain surface.

[0111] S1-5: Construct a formula for calculating threat cost;

[0112] Build Path The threat cost The calculation formula is as follows:

[0113] ,

[0114] in, Indicates the number of threats that exist. represents the threat cost of different trajectories; and Indicates The core trajectory of the threat source, Threat Source Center With The distance of the segment, Indicates a safe distance; when hour, ;when hour, ;when hour, .

[0115] S1-6: Construct a formula to calculate the loss caused by the physical constraints of the drone;

[0116] S1-6-1: Since the aerial maneuverability of the UAV is mainly determined by the critical indicators of the turning angle and the bevel angle that determine the feasibility of the flight path, and the turning angle is defined by the angle between the horizontal plane Oxy projections of two consecutive line segments, the path is calculated by the following formula Middle Corner of small segment:

[0117] ,

[0118] In the formula, For path Middle Small section corner, waypoint and All paths Middle A point on a flight path. , For point and The route between , projection on the horizontal plane;

[0119] S1-6-2: Calculate the path using the following formula Middle Slope angle of small section:

[0120] ,

[0121] in, and Waypoints and of coordinate;

[0122] S1-6-3: Construction Path All damage caused by the physical constraints of the drone The calculation formula is as follows:

[0123]

[0124] in, For path Middle The loss caused by the small corner, For path Middle The loss caused by the slope angle of the small section is For path The maximum turning angle, For path The maximum climbing angle in the path Middle The corner of the flight path ,but , if the path Middle The corner of the flight path ,but If the path Middle and The bank angle of the flight path , satisfy ,but ,otherwise .

[0125] S2: Optimize the current objective function and obtain the optimal solution;

[0126] S2-1: Initialize or update the parameters of the interactive cylindrical vector teaching and learning algorithm (ICVTLBO); in this embodiment, when initializing the parameters, the parameter of the population N is set to 100, the number of path points n is 10, and the maximum number of iterations is is 200;

[0127] S2-2: Generate m initial paths in the cylindrical coordinate system;

[0128] S2-3: convert each path into Cartesian coordinates;

[0129] The cylindrical vector-based UAV path planning method encodes each feasible trajectory between the starting point and the end point as a series of vectors. In this framework, a single vector is carefully designed to define the flight maneuver path of the UAV from one waypoint to the next waypoint.

[0130] Each flight node is expressed by a sequence of three-dimensional cylindrical vectors, and the feasible path containing n flight nodes is expressed as follows:

[0131] ,

[0132] in, For the A feasible path, For the The magnitude of the first flight node in a feasible path, Representative The flight elevation angle of the UAV at the first flight node in a feasible path, For the The azimuth of the UAV at the first flight node in a feasible path;

[0133] S2-4: Calculate the fitness value of the current cycle;

[0134] S2-4-1: Calculate the path node of the current cycle using the following formula:

[0135] ,

[0136] in, is the path node after iteration, is a random path node, is the current optimal path point, represents the average value of all path nodes, represents the impact factor; is a random number between 0 and 1. is the coefficient;

[0137] Calculated by the following formula :

[0138] ℑ= [ e − iter MaxIt + (cos( π × iter MaxIt ) + 1 ) ] ×∂ ,

[0139] in, is the current iteration number, is the maximum number of iterations; is a constant;

[0140] The value of decreases nonlinearly with the number of iterations, a trend that reflects a fundamental aspect of the teaching process: initially, students have a limited knowledge base and a lot of room for improvement, which leads to very effective teaching interactions. As teaching progresses, students build a solid foundation and the potential for significant progress through interaction weakens. In response to this observation, the improved algorithm slows down the decay of performance values ​​at the beginning of iterations, allowing for more extensive global exploration. In subsequent iterations, the algorithm accelerates convergence and improves the efficiency of global search. This improved teaching phase effectively improves the overall performance of the algorithm.

[0141] S2-4-2: Calculate the fitness value of the path node of the current cycle ;

[0142] Calculate using the following formula:

[0143] { F ( Q j updated ̃ ) = ∑ n = 1 4 K n κ n K 1 ( P i ) = ∑ j = 0 N s q r t [ ( x i j + 1 − x i j ) 2 + ( y i j + 1 − y i j ) 2 + ( z i j + 1 − z i j ) 2 ] K 2 ( P i ) = ∑ j = 0 N d h i , j K 3 = ∑ j = 0 N ∑ u = 1 U S u ( M i , j M i , j + 1 ⃗ ) K 4 ( P i ) = ∑ j = 1 N − 1 d χ i , j + ∑ j = 0 N d δ i , j ,

[0144] in, is the path node fitness value of the current cycle; They represent the path length cost, flight altitude cost, threat cost and loss caused by the physical constraints of the drone, respectively. arrive These cost components arrive The respective weights of

[0145] S2-5: Calculate the fitness value under the current model by enhancing the mathematical model of the interactive learner stage;

[0146] Calculate the optimal path under the current model by enhancing the mathematical model of the interactive learner stage;

[0147] S2-5-1: Calculate the parameters affecting the distance between students on the interactive learning effect;

[0148] ,

[0149] in, is the parameter that affects the optimization effect of the distance between nodes. is a constant , , and All are random values ​​in the range of 0 to 1; is the gamma function, which is the extended factorial function;

[0150] S2-5-2: The path nodes obtained by the current loop iteration under the mathematical model of the enhanced interactive learner stage are as follows:

[0151] ,

[0152] in, ;

[0153] in, It represents the updated path node obtained through the strategy iteration. represents the control parameter used to adjust the search range, is the angle value, Representation and Related gradient control parameters; represents a dynamically adjusted control parameter; Indicates the result of the modulo operation between 0 and 1; , , , and Are all random values ​​between 0 and 1. is a random path node, is the current optimal path point, is the current iteration number, is the maximum number of iterations; Represents the modulo operation, used to find the remainder; A natural constant representing the base of an exponential function, with a value of approximately 2.71828;

[0154] S2-5-3: Calculate the fitness value of the path node obtained by the current loop iteration under the mathematical model of the enhanced interactive learner stage ;

[0155] { F ( L e j u p d a t e d ) = ∑ n = 1 4 K n κ n K 1 ( P i ) = ∑ j = 0 N s q r t [ ( x i j + 1 − x i j ) 2 + ( y i j + 1 − y i j ) 2 + ( z i j + 1 − z i j ) 2 ] K 2 ( P i ) = ∑ j = 0 N d h i , j K 3 = ∑ j = 0 N ∑ u = 1 U S u ( M i , j M i , j + 1 ⃗ ) K 4 ( P i ) = ∑ j = 1 N − 1 d χ i , j + ∑ j = 0 N d δ i , j ,

[0156] in, To enhance the fitness value of the path nodes of the current cycle under the mathematical model of the interactive learner stage; They represent the path length cost, flight altitude cost, threat cost and loss caused by the physical constraints of the drone, respectively. arrive These cost components arrive The respective weights of

[0157] S2-6: Compare the fitness values ​​calculated by S2-4 and S2-5, record the path with the smaller fitness value, and update it;

[0158] when < When is the best path;

[0159] when > When is the best path.

[0160] S3: If the current number of cycles reaches the set number, execute S4 directly;

[0161] Otherwise, repeat step S2 and proceed to the next loop; use the optimal solution obtained in step S2 of the previous loop as the path point of the next loop, and update all paths according to the optimal solution until the loop iterates to the end point of the drone;

[0162] S4: End, output the best path.

[0163] The present invention also provides a drone path planning device based on an improved teaching and learning algorithm, the device comprising a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute the method described in the above scheme.

[0164] The present invention also provides a drone, including a drone body and the drone path planning device described in the above scheme, wherein the drone path planning device is used to execute the method described in the above scheme on the drone body.

[0165] It can reduce the probability of falling into the local optimal solution, speed up the convergence speed, and improve the performance of solving the UAV path planning problem. In order to verify the effectiveness of this technical solution, a simulation experiment was conducted on the proposed interactive cylindrical vector teaching and learning algorithm:

[0166] In order to fully evaluate the effectiveness of the proposed algorithm, a series of simulation experiments were conducted based on real digital elevation model (DEM) maps using terrain data obtained from LiDAR sensors. Nine different UAV path planning scenarios were designed in the experiment, each with unique terrain complexity, in order to fully evaluate the algorithm performance. On this basis, a comparative analysis was conducted to compare the interactive cylindrical vector teaching and learning algorithm (ICVTLBO) of this technology with other mature optimization methods, including particle swarm optimization (PSO), artificial bee colony algorithm (ABC), teaching and learning algorithm (TLBO), teaching-learning-learning optimization algorithm (TLSBO) and raccoon optimization algorithm (COA).

[0167] Figures 2~9In the figure, the circuit diagram of the present technical solution is represented by red lines, the circuit diagram of the particle swarm algorithm is represented by blue lines, the circuit diagram of the artificial bee colony algorithm is represented by green lines, the circuit diagram of the teaching and learning algorithm is represented by black lines, the circuit diagram of the raccoon optimization algorithm is represented by yellow lines, and the circuit diagram of the teaching-learning-learning optimization algorithm is represented by pink lines.

[0168] The optimization capabilities of various algorithms in solving path planning problems are quantified and compared through the size of the cost function value.

[0169] During the optimization process, all algorithms involved in the comparison adopted the cylindrical vector programming method for path search and optimization. First, the expected flight path is encoded as a set of vectors defined by amplitude, elevation and azimuth using metaheuristic encoding techniques. Next, an extensive search is performed on the configuration space to explore these vectors. After the search is completed, the resulting vectors are converted into a set of Cartesian coordinates to improve the accuracy of the three-dimensional path depiction. Finally, a cost function is applied to each candidate path to determine the optimal path with the minimum cost.

[0170] A fixed set of parameters was used for each experiment to ensure consistency. The population size was set to N=100 to facilitate iterative optimization, and the upper limit of the number of iterations was set to MaxIter=200, which strikes a balance between exhaustive search and computational efficiency. The number of path nodes n=10 constitutes the range of the UAV flight path, with the starting coordinates defined as (200,100,150) and the endpoint coordinates as (800,800,200), reflecting the point-to-point nature of the flight mission. Each simulation scenario was run independently 30 times, and the results were systematically recorded in a table for subsequent analysis.

[0171] In addition, the present invention has carefully designed 9 different terrain scenes, each of which contains a series of obstacles (the three-dimensional coordinates and radius of the obstacles are shown in Table 1). Table 1 lists the three-dimensional coordinates and radius of these obstacles in detail, providing important information for understanding the flight path planning of drones in different landscapes.

[0172] Table 1: Information on obstacle locations

[0173] Scene Number Obstacle coordinates Obstacle radius Scene 1 Obstacle 1 (374,170,120) 90 Scene 1 Obstacle 2 (200,360,130) 90 Scene 1 Obstacle 3 (454,480,130) 90 Scene 2 Obstacle 1 (300,400,150) 80 Scene 2 Obstacle 2 (450,280,150) 80 Scene 2 Obstacle 3 (570,420,150) 80 Scene 3 Obstacle 1 (300,400,150) 80 Scene 3 Obstacle 2 (510,400,150) 80 Scene 3 Obstacle 3 (685,570,150) 80 Scene 4 Obstacle 1 (300,150,150) 70 Scene 4 Obstacle 2 (350,450,150) 80 Scene 4 Obstacle 3 (550,630,150) 80 Scene 4 Obstacle 4 (450,300,150) 70 Scene 4 Obstacle 5 (650,470,80) 80 Scene 5 Obstacle 1 (450,300,120) 80 Scene 5 Obstacle 2 (500,630,150) 80 Scene 5 Obstacle 3 (560,460,150) 80 Scene 5 Obstacle 4 (750,470,120) 80 Scene 5 Obstacle 5 (670,720,150) 70 Scene 6 Obstacle 1 (320,215,150) 60 Scene 6 Obstacle 2 (430,445,110) 80 Scene 6 Obstacle 3 (535,283,150) 80 Scene 6 Obstacle 4 (569,697,150) 40 Scene 6 Obstacle 5 (656,575,150) 60 Scene 6 Obstacle 6 (799,580,130) 50 Scene 7 Obstacle 1 (395,215,120) 70 Scene 7 Obstacle 2 (470,585,150) 80 Scene 7 Obstacle 3 (540,405,150) 80 Scene 7 Obstacle 4 (610,225,120) 70 Scene 7 Obstacle 5 (765,545,120) 70 Scene 7 Obstacle 6 (670,720,150) 80 Scene 8 Obstacle 1 (425,335,120) 50 Scene 8 Obstacle 2 (480,570,190) 60 Scene 8 Obstacle 3 (590,425,100) 60 Scene 8 Obstacle 4 (635,270,150) 80 Scene 8 Obstacle 5 (780,390,150) 80 Scene 8 Obstacle 6 (580,675,120) 60 Scene 8 Obstacle 7 (785,675,100) 80 Scene 9 Obstacle 1 (255,205,170) 50 Scene 9 Obstacle 2 (422,205,160) 60 Scene 9 Obstacle 3 (445,506,170) 60 Scene 9 Obstacle 4 (538,335,150) 80 Scene 9 Obstacle 5 (656,496,120) 40 Scene 9 Obstacle 6 (640,700,120) 80 Scene 9 Obstacle 7 (420,695,150) 40 Scene 9 Obstacle 8 (790,383,150) 80

[0174] In the current study, an exhaustive comparative analysis of the performance of various path planning algorithms in nine different scenarios was conducted with the goal of elucidating the differences in solution accuracy and convergence speed among these algorithms. The empirical results show that the ICVTLBO algorithm exhibits superior performance metrics when benchmarked against other competing algorithms. Specifically, the performance data of the six optimization methods in 30 independent rounds of testing is summarized in Table 2, with the superior results highlighted in bold. The data shows that ICVTLBO consistently demonstrates superior accuracy in all test scenarios, surpassing the performance of other compared algorithms.

[0175] Table 2: Cost function values ​​of each algorithm

[0176] Scenario ICVTLBO TLBO TLSBO PSO ABC COA Scenario 1 Average 4755.4932 4761.1759 5377.9353 7345.7002 5663.2169 4838.9331 Scenario 1 Standard Deviation 85.2959 43.1314 243.5628 622.5617 257.7655 71.072 Scenario 2 Average 4627.4116 4645.3865 4655.3958 7110.8947 5520.6911 4646.9727 Scenario 2 Standard Deviation 0.8281 12.1882 2.352 401.2664 390.9906 5.9145 Scenario 3 Average 4694.1789 4852.199 5510.8827 6597.3015 5987.5633 4702.6243 Scenario 3 Standard Deviation 28.0143 83.4934 607.6555 257.9046 280.2343 14.2793 Scenario 4 Average 4948.8763 6356.4307 5765.7609 8952.2731 6667.538 5261.9009 Scenario 4 Standard Deviation 258.9795 425.8316 160.1771 746.9844 364.5507 343.6128 Scenario 5 Average 5160.3514 5640.074 6159.2738 8685.0597 6387.2311 5299.7982 Scenario 5 Standard Deviation 249.0467 76.723 231.2509 594.0506 400.5888 207.7498 Scenario 6 Average 4888.1636 5330.3972 5114.2682 8744.5162 6688.729 4889.7029 Scenario 6 Standard Deviation 82.8671 105.0322 58.8425 490.0598 428.8033 14.1914 Scenario 7 Average 5413.4242 5730.6583 6395.8662 9284.9954 7186.967 5462.211 Scenario 7 Standard Deviation 419.5398 187.7761 253.0665 818.3952 437.7184 262.3433 Scenario 8 Average 5131.2233 5183.234 5682.2416 8580.174 6512.4739 5162.1765 Scenario 8 Standard Deviation 116.8275 45.774 191.7747 545.7327 282.4209 84.7009 Scene 9 Average 5209.7683 5598.9878 8426.2256 9275.8029 6715.5125 5237.2642 Scenario 9 Standard Deviation 182.787 294.7013 1220.5236 778.6092 434.9159 290.0866 average value 1.00 3.89 6.00 4.89 2.22 3.89 Ranking 1 4 6 5 2 4

[0177] In scenarios 1 to 4, where there are fewer obstacles and threats, the average fitness values ​​of the various methods are similar. For example, in scenario 2, the average fitness value of ICVTLBO is 4627.4116, while the average fitness values ​​of TLBO, TLSBO, PSO, and ABC are 4645.3865, 4655.3958, and 4646.9727, respectively. It is worth noting that ICVTLBO exhibits remarkable stability, with a standard deviation of its fitness value of only 0.8281, which is significantly lower than the standard deviations of the other compared methods, thus confirming its significant advantage in stability. A closer inspection of the data in Table 2 shows that, with the exception of ICVTLBO, the solution accuracy of the other algorithms decreases as the complexity of the scenarios increases from 5 to 9, containing more obstacles. In these complex environments, although the COA algorithm maintains a certain level of solution quality, it cannot match the performance of ICVTLBO. Among them, the average fitness values ​​recorded by ICVTLBO are 5160.3514, 4888.1636, 5413.4242, 5131.2233, and 5209.7683, respectively. These figures clearly demonstrate the effectiveness and stability of ICVTLBO in solving complex path planning problems, even when the search capability is generally reduced. In addition, from the Friedman rank sum test results in the last two rows of Table 2, it can be seen that the ICVTLBO algorithm ranks first, and its average rank is significantly lower than that of other algorithms, leading the comparison group.

[0178] In summary, through comparative analysis with other advanced algorithms, ICVTLBO not only has significant advantages in the quality of the solution, but also in the stability and reliability of the algorithm when solving various path planning challenges.

[0179] also, Figures 2~5The three-dimensional, top-down and side views of the routes generated in the path planning scenario in the first scenario are shown, as well as the convergence diagrams of various algorithms. Figures 6 to 9 The three-dimensional, top-down, and side views of the route generated in the second scenario are shown, as well as the convergence diagrams of various algorithms. Although the three-dimensional, top-down, and side views of the generated routes and the convergence diagrams of the algorithms are not shown for the remaining other path planning scenarios, the corresponding results can be obtained based on the contents of Tables 1 and 2 in the previous text.

[0180] In scenarios 1 and 2, although all tested algorithms can generate effective obstacle-free paths, the path generated by the ICVTLBO algorithm is not only shorter in length, but also smoother and has the highest path quality. In contrast, the paths planned by TLBO, TLSBO, PSO, ABC, and COA show greater tortuosity, clearly demonstrating the clear advantage of ICVTLBO in path optimization. Particularly commendable is the performance of ICVTLBO in complex terrain, where the algorithm can cleverly help drones maintain a safe distance from obstacles while designing short and safe navigation routes. This capability is of great significance to autonomous flight of drones in complex environments, as it not only ensures flight safety but also improves operational efficiency.

[0181] In addition, in the convergence curves of nine different scenarios, the ICVTLBO algorithm showed a significant improvement over other competing algorithms in solving the three-dimensional path planning problem of UAVs. After a detailed study of the convergence behavior of various algorithms under different conditions, it was clearly concluded that ICVTLBO is significantly better than the basic TLBO algorithm in terms of convergence speed and global search capability. This fact strongly proves that the improved operator proposed in this study effectively compensates for the inherent defects of the TLBO algorithm.

[0182] Among the six metaheuristic algorithms compared, ICVTLBO has the fastest convergence speed. Further analysis shows that with the increase of environmental complexity, algorithms such as TLBO, TLSBO, PSO and ABC are more and more likely to fall into local optimality, while ICVTLBO is not affected by path complexity and is always close to the global optimality. This phenomenon strongly shows that among many metaheuristic algorithms, ICVTLBO has the most outstanding global exploration ability. Based on the above analysis, ICVTLBO is significantly ahead of other similar algorithms in terms of convergence speed, solution speed and global exploration ability.

[0183] The ICVTLBO algorithm continuously obtains the best fitness function value in nine different terrain scenarios, confirming its strong adaptability in complex environments. Experimental results show that the ICVTLBO algorithm can obtain highly competitive solutions in different test environments and can effectively solve the three-dimensional path planning problem of UAVs in complex environments.

Claims

1. A UAV path planning method with an improved teaching and learning algorithm, characterized by: The following steps are involved: S1: Construct the objective function and constraint conditions of the UAV path planning; S1-1: Input the environment model of the task space and construct the objective function based on the environment model as follows: , They represent the path length cost, flight altitude cost, threat cost and loss caused by the physical constraints of the drone, respectively. arrive These cost components arrive The respective weights of Represents the fitness value of the drone’s path; S2: Optimize the current objective function and obtain the optimal solution; S2-1: Initialize or update the parameters of the interactive cylindrical vector teaching and learning algorithm (ICVTLBO); S2-2: Generate m initial paths in the cylindrical coordinate system; S2-3: convert each path into Cartesian coordinates; Each flight node is expressed by a sequence of three-dimensional cylindrical vectors, and the feasible path containing n flight nodes is expressed as follows: , in, For the A feasible path, For the The magnitude of the first flight node in a feasible path, Representative The flight elevation angle of the UAV at the first flight node in a feasible path, For the The azimuth of the UAV at the first flight node in a feasible path; S2-4: Calculate the fitness value of the current cycle; S2-4-1: Calculate the path node of the current cycle using the following formula: , in, is the path node after iteration, is a random path node, is the current optimal path point, represents the average value of all path nodes, represents the impact factor; is a random number between 0 and 1. is the coefficient; Calculated by the following formula : , in, is the current iteration number, is the maximum number of iterations; is a constant; S2-4-2: Calculate the fitness value of the path node of the current cycle ; Calculation is performed using the objective function constructed in step S1 and the constraints of the objective function; S2-5: Calculate the fitness value under the current model by enhancing the mathematical model of the interactive learner stage; S2-6: Compare the fitness values ​​calculated by S2-4 and S2-5, record the path with the smaller fitness value, and update it; S3: If the current number of cycles reaches the set number, execute S4 directly; Otherwise, repeat step S2 and proceed to the next loop; use the optimal solution obtained in step S2 of the previous loop as the path point of the next loop, and update all paths according to the optimal solution until the loop iterates to the end point of the drone; S4: End, output the best path.

2. The UAV path planning method with improved teaching and learning algorithm according to claim 1, characterized in that: Step S1 also includes: S1-2: Assume that the starting point and end point in the task space are Dot and point, and in Dot and Insert between points tandem waypoints, according to Serial waypoints to plan the flight path of the drone; S1-3: Construct the flight paths The path length cost The calculation formula is as follows: , in, The coordinates of , The coordinates of ; represents square root; Indicates flight paths No. points; Indicates flight paths No. points; Indicates the number of serial waypoints; S1-4: Construct a calculation formula for flight altitude cost; S1-5: Construct a formula for calculating threat cost; S1-6: Construct a formula to calculate the losses caused by the physical constraints of the drone.

3. The UAV path planning method with improved teaching and learning algorithm according to claim 2, characterized in that: Step S1-4 also includes the following steps: S1-4-1: Assume that the upper and lower limits of the safe distance that the UAV should maintain from the mountain or the ground to avoid collision are and ; S1-4-2: Construct the flight paths Flight altitude cost The calculation formula is as follows: , In the formula, Indicates flight paths Previous The flight altitude cost of a small segment, among which, when the flight paths Previous The height of the segment ,but ;like ,but , The flight altitude is below the safety threshold The penalty value when It indicates the upper limit of the safe distance that the drone should keep from the mountain or the ground to avoid collision. It represents the lower bound of the safe distance that the drone should keep from the mountain or the ground to avoid collision. Indicates flight paths superior The height of a small segment.

4. The UAV path planning method with improved teaching and learning algorithm according to claim 2, characterized in that: Step S1-5 also includes the following steps: Build Path The threat cost The calculation formula is as follows: , in, Indicates the number of threats that exist. represents the threat cost of different trajectories; and Indicates The core trajectory of the threat source, Threat Source Center With The distance of the segment, Indicates a safe distance; when hour, ;when hour, ;when hour, .

5. The UAV path planning method with improved teaching and learning algorithm according to claim 2, characterized in that: Step S1-6 also includes the following steps: S1-6-1: Since the aerial maneuverability of the UAV is mainly determined by the critical indicators of the turning angle and the bevel angle that determine the feasibility of the flight path, and the turning angle is defined by the angle between the horizontal plane Oxy projections of two consecutive line segments, the path is calculated by the following formula Middle Corner of small segment: , In the formula, For path Middle Small section corner, waypoint and All paths Middle A point on a flight path. , For point and The route between , projection on the horizontal plane; S1-6-2: Calculate the path using the following formula Middle Slope angle of small section: , in, and Waypoints and of coordinate; S1-6-3: Construction Path All damage caused by the physical constraints of the drone The calculation formula is as follows: , in, For path Middle The loss caused by the small corner, For path Middle The loss caused by the slope angle of the small section is For path The maximum turning angle, For path The maximum climbing angle in the path Middle The corner of the flight path ,but , if the path Middle The corner of the flight path ,but If the path Middle and The bank angle of the flight path , satisfy ,but ,otherwise .

6. The UAV path planning method with improved teaching and learning algorithm according to claim 1, characterized in that: Step S2-5 also includes: Calculate the optimal path under the current model by enhancing the mathematical model of the interactive learner stage; S2-5-1: Calculate the parameters affecting the distance between students on the interactive learning effect; , in, is the parameter that affects the optimization effect of the distance between nodes. is a constant , , and All are random values ​​in the range of 0 to 1; is the gamma function; S2-5-2: The path nodes obtained by the current loop iteration under the mathematical model of the enhanced interactive learner stage are as follows: , in, ; in, It represents the updated path node obtained through the strategy iteration. represents the control parameter used to adjust the search range, is the angle value, Representation and Related gradient control parameters; represents a dynamically adjusted control parameter; Indicates the result of the modulo operation between 0 and 1; , , , and Are all random values ​​between 0 and 1. is a random path node, is the current optimal path point, is the current iteration number, is the maximum number of iterations; Represents the modulo operation, used to find the remainder; Represents a natural constant that is the base of an exponential function; S2-5-3: Calculate the fitness value of the path node obtained by the current loop iteration under the mathematical model of the enhanced interactive learner stage ; Calculation is performed using the objective function constructed in step S1 and the constraints of the objective function; Step S2-6 also includes: when < When is the best path; when > When is the best path.

7. A drone path planning device based on an improved teaching and learning algorithm, characterized in that: The device comprises a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute the method according to any one of claims 1 to 6.

8. A drone, comprising a drone body, characterized in that: It includes the UAV path planning device as described in claim 7, and the UAV path planning device is used to execute the method as described in any one of claims 1 to 6 on the UAV body.

Citation Information

Cited By

  • Path planning method and system based on improved teaching and learning algorithm

    CN120991882A

  • A path planning method and system based on improved teaching and learning algorithms

    CN120991882B