Multi-unmanned aerial vehicle three-dimensional path planning method and system based on multi-strategy improved grey wolf algorithm
By introducing digital elevation model, compound chaotic sequence and quasi-reverse learning strategy into the multi-strategy improved gray wolf algorithm, combined with elite wolf convex lens reflection learning, the slow path planning speed of the meta-heuristic algorithm in multi-constraint and multi-threat environments is solved. and poor quality problems, achieving more efficient three-dimensional path planning for multiple UAVs.
Patent Information
- Application Number
- CN202410673498.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-08-27
AI Technical Summary
Existing metaheuristic algorithms have problems such as slow search speed, easy falling into local optimal solutions, and poor planning path quality in multi-constraint and multi-threat three-dimensional space path planning.
An improved gray wolf algorithm based on multi-strategy is used to construct a three-dimensional space environment using a digital elevation model. The initial population is optimized by combining compound chaotic sequences and quasi-inverse learning strategies. The search capability of the algorithm is improved through the elite wolf convex lens reflection learning strategy to avoid local optimal solutions. , to achieve optimal path planning for multiple UAVs in three-dimensional space.
The search speed and quality of path planning are improved. Compared with standard GWO, the optimal value, average value and worst value of MSIGWO's path planning solution in a multi-constraint and multi-threat environment are increased by 6.1%, 5.1% and 13.3% respectively. %, verifying its effectiveness in complex environments.
Smart Images

Figure CN118550324A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned aerial vehicle (UAV) path planning, and in particular to a method and system for three-dimensional path planning of multiple UAVs based on a multi-strategy improved grey wolf algorithm. Background Art
[0002] With the rapid advancement of science and technology, Unmanned Aerial Vehicle (UAV) has attracted much attention in the military field due to its ability to work in complex and dangerous environments. Multi-UAV path planning is one of the key links in the multi-UAV mission planning system. Its goal is to find an optimal path for each UAV to fly to its respective target at the lowest possible cost while satisfying the corresponding constraints and avoiding collision with obstacles when multiple UAVs fly in three-dimensional space.
[0003] At present, many research results have been achieved in 3D path planning methods. Traditional path planning methods include A* algorithm, rapid exploration random tree algorithm, artificial potential field method, Dijkstra algorithm, etc. These methods require a lot of computing time and resources, so they are mostly difficult to apply to battlefield environments with many terrain changes and various obstacle types. Metaheuristic algorithms are swarm intelligence algorithms that imitate natural behaviors. They have the characteristics of fast computing speed, simple computing logic, and strong algorithm flexibility. They are being increasingly used to solve the 3D path planning problem of multiple UAVs in complex spaces. Typical metaheuristic algorithms include particle swarm optimization (PSO), ant colony optimization (ACO), genetic algorithm (GA), and sparrow search algorithm (SSA).
[0004] The above studies show that metaheuristic algorithms have great application potential and room for improvement in solving multi-UAV path planning problems. Grey Wolf Optimization (GWO) is a metaheuristic algorithm proposed by Mirjalili et al. in 2014 that imitates the hunting behavior of gray wolves in nature. Compared with other heuristic algorithms, GWO has the advantages of simple structure, fewer parameters, and easy implementation. It has been applied to solve many problems such as spectrum perception, engineering design, and disease diagnosis. However, the standard GWO has the disadvantages of slow search speed, easy to fall into local optimal solutions, and poor planning path quality when solving multi-constraint and multi-threat three-dimensional space path planning. Summary of the invention
[0005] To this end, the present invention provides a three-dimensional path planning method and system for multiple UAVs based on a multi-strategy improved gray wolf algorithm. A digital elevation model is used to complete three-dimensional space environment modeling, and a comprehensive evaluation function including length, threat, height, and smoothness is established in combination with the flight scene. The initial population is optimized using a composite chaotic sequence and a quasi-reverse learning strategy. Based on the key influence of upper wolves on the convergence of the population in the iterative stage, an elite wolf convex lens reflection learning strategy is used to enhance the algorithm's ability to avoid local optimal solutions, thereby realizing optimal path planning for multiple UAVs in three-dimensional space.
[0006] According to the design scheme provided by the present invention, on the one hand, a multi-UAV three-dimensional path planning method based on a multi-strategy improved gray wolf algorithm is provided, comprising:
[0007] The three-dimensional space environment in the mission area is modeled as a three-dimensional path planning model using terrain elevation data, the UAV is equivalent to a mass point and a series of flight paths of each UAV from the mission starting point to the target point are obtained. The UAV flight path is represented by a set of path points composed of the coordinates of each path point. The three-dimensional path planning model includes a digital elevation terrain model and an equivalent threat terrain model.
[0008] Constructing a cost function for evaluating the flight path of a UAV in a three-dimensional space environment, wherein the cost function includes a path length cost, a path threat cost, a path height cost, and a path smoothness cost;
[0009] The coordinate set of the gray wolf individual position update is used to represent a flight path from the starting point to the target mission point in the UAV mission area. The gray wolf algorithm is iteratively solved and outputs the optimal three-dimensional path of each UAV in the mission area. In the gray wolf algorithm solution, the composite chaotic sequence is used to generate the gray wolf initial population in the initial stage. On this basis, the quasi-reverse learning initial population is generated according to the upper and lower bounds of the solution space and the gray wolf initial population is replaced by the best. In the iterative stage, the reverse individuals of the elite wolves are generated based on the elite wolf reverse learning strategy, and the greedy mechanism is used to select and replace the upper wolves.
[0010] As a multi-UAV three-dimensional path planning method based on a multi-strategy improved gray wolf algorithm of the present invention, further, the three-dimensional space environment in the mission area is modeled as a three-dimensional path planning model using terrain elevation data, including:
[0011] Construct a digital elevation terrain model using the horizontal plane projection coordinates within the mission area and changing the terrain adjustment coefficient; construct an equivalent threat terrain model based on the highest point height of the threat source and its corresponding horizontal plane projection coordinates;
[0012] A three-dimensional path planning model is obtained based on the digital elevation terrain model and the equivalent threat terrain model.
[0013] As a multi-UAV three-dimensional path planning method based on a multi-strategy improved gray wolf algorithm of the present invention, further, a cost function for evaluating the flight path of the UAV in a three-dimensional space environment is constructed, including:
[0014] The UAV path distance is set according to the Euclidean distance between adjacent path points and the total number of path points, and the UAV path distance is used as the path length cost; the path threat cost is set according to the total number of threat sources in the mission area, the threat radius of each threat source, the distance from the path point to the threat source in the UAV flight path, and the mandatory safety redundancy distance and the threat escape distance of the threat source; the path height cost is set according to the maximum flight altitude and the minimum flight altitude of the UAV in the flight path; the path smoothness cost is set according to the turning cost and the climbing cost in the flight path;
[0015] A cost function for evaluating the flight path of a UAV is constructed based on the path length cost, path threat cost, path height cost and path smoothness cost and weight parameters.
[0016] As a multi-UAV three-dimensional path planning method based on a multi-strategy improved gray wolf algorithm of the present invention, further, the optimal three-dimensional path of each UAV in the mission area is solved and outputted through iterative gray wolf algorithm, including:
[0017] The upper and lower bounds of the search space are determined based on the three-dimensional path planning model, the initial positions of gray wolf individuals are sampled in the search space using the Logistic-Tent chaotic sequence and the initial population is generated, and the quasi-reverse learning initial population is generated based on the quasi-reverse learning mechanism; the positions of all gray wolf individuals are processed by boundaries, the individuals beyond the boundaries are adjusted, the fitness value of each individual is calculated according to the cost function, and the initial gray wolf individuals are replaced by the greedy mechanism to determine the elite wolves, which include α wolf, β wolf and δ wolf, among which α wolf is the wolf king;
[0018] In the iterative solution, the movement coefficient of the gray wolf individual in the search space is set based on the convergence factor and the random variable. The elite wolf reverse learning strategy based on the movement coefficient and the convex lens imaging principle generates the elite wolf convex lens reverse individual. The elite wolf is replaced by the greedy mechanism. The remaining gray wolf individuals update their own positions according to the position of the elite wolf individual. The cost function is used to calculate the current fitness value of each individual and the elite wolf is re-determined based on the fitness value to determine whether the maximum number of iterations is met. If so, the position of the wolf king among the elite wolves is output as the optimal solution. Otherwise, return to the movement coefficient setting step for iterative execution.
[0019] As a multi-UAV three-dimensional path planning method based on a multi-strategy improved gray wolf algorithm of the present invention, further, a process of generating a quasi-reverse learning initial population based on a quasi-reverse learning mechanism is expressed as: X o (t) = LB +U B -X(t), where X(t) is the individual position solution of the gray wolf in the current t iteration round, X o (t) is the solution of the individual position of the gray wolf after reverse learning, X qo (t) is the solution for quasi-reverse learning of the individual positions of gray wolves, L B and U B are the lower and upper bounds of the solution space of the individual positions of the gray wolf.
[0020] As a multi-UAV three-dimensional path planning method based on a multi-strategy improved gray wolf algorithm of the present invention, further, the process of setting the movement coefficient of the gray wolf individual in the search space based on the convergence factor and the random variable is expressed as:
[0021] in, and is the mobility coefficient used to control the movement of gray wolf individuals in the search space, is the convergence factor that decreases linearly from 2 to 0, and is a random variable on the interval [0,1], and t is the current iteration number, T is the maximum number of iterations.
[0022] As a multi-UAV three-dimensional path planning method based on the multi-strategy improved gray wolf algorithm of the present invention, further, the process of generating elite wolf convex lens reverse individuals by using the elite wolf reverse learning strategy based on the convex lens imaging principle is expressed as follows:
[0023] in, XP for Gray Wolf j The reverse individual of the convex lens, η is the iterative nonlinear decreasing factor, and η = η max -(η max -η min )·(tt max ) 2 , η max and η min They are the maximum and minimum scaling factors respectively.
[0024] On the other hand, the present invention also provides a multi-UAV three-dimensional path planning system based on a multi-strategy improved gray wolf algorithm, comprising: a space model building module, a cost evaluation setting module and a path optimization solution module, wherein:
[0025] A spatial model building module is used to model the three-dimensional spatial environment in the mission area into a three-dimensional path planning model using terrain elevation data, to treat the drones as particles and to obtain a series of flight paths of each drone from the mission starting point to the target point. The flight path of the drone is represented by a set of path points composed of the coordinates of each path point. The three-dimensional path planning model includes a digital elevation terrain model and an equivalent threat terrain model.
[0026] A cost evaluation setting module is used to construct a cost function for evaluating the flight path of a UAV in a three-dimensional space environment, wherein the cost function includes a path length cost, a path threat cost, a path height cost, and a path smoothness cost;
[0027] The path optimization solution module is used to use the individual gray wolf positions to update the coordinate set to represent a flight path from the starting point to the target mission point in the UAV mission area, and iteratively solve and output the optimal three-dimensional path of each UAV in the mission area through the gray wolf algorithm. In the gray wolf algorithm solution, the initial stage uses a composite chaotic sequence to generate an initial population of gray wolves. On this basis, a quasi-reverse learning initial population is generated according to the upper and lower bounds of the solution space and the initial population of gray wolves is replaced by the best. In the iterative stage, the reverse individuals of the elite wolves are generated based on the elite wolf reverse learning strategy, and the greedy mechanism is used to select and replace the upper wolves.
[0028] Beneficial effects of the present invention:
[0029] The present invention uses DEM to construct a three-dimensional space model, and constructs a multi-objective evaluation function in combination with constraint conditions and task requirements; introduces compound chaotic sequence, quasi-reverse learning and elite wolf convex lens reflection learning strategy into the standard GWO, and eliminates the Multi-Strategy Improved Gray Wolf Optimization (MSIGWO) algorithm, so as to solve the problems of slow search speed and poor planning path quality of the existing meta-heuristic algorithm when solving multi-constraint and multi-threat three-dimensional space path planning. MSIGWO is further used to conduct comparative experiments with four heuristic algorithms. In the statistical results of repeated tests of the comprehensive evaluation function including length cost, threat cost, height cost and smoothness cost, the optimal value, average value and worst value of the path planning scheme obtained by MSIGWO are respectively improved by 6.1%, 5.1% and 13.3% compared with the original algorithm, which verifies the effectiveness of the algorithm MSIGWO in solving the three-dimensional space path planning problem with multiple constraints and multiple threats, and can be widely used in patrols, air transport of materials, etc. in civil or military, and has good application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a schematic diagram of the multi-UAV three-dimensional path planning process based on the multi-strategy improved grey wolf algorithm in the embodiment;
[0031] Figure 2 It is an illustration of the path threat cost in the embodiment;
[0032] Figure 3 This is an illustration of the path height cost in the embodiment;
[0033] Figure 4 This is an illustration of the path smoothing cost in the embodiment;
[0034] Figure 5 This is a statistical illustration of the chaotic value distribution in the embodiment;
[0035] Figure 6 This is an illustration of quasi-reverse learning in the embodiment;
[0036] Figure 7 This is a schematic diagram of convex lens imaging in the embodiment;
[0037] Figure 8 It is a schematic diagram of the MSIGWO algorithm principle in the embodiment;
[0038] Fig. 9 The simulation results of the MSIGWO algorithm in the embodiment are shown in FIG.
[0039] Fig.10 The simulation results of the GWO algorithm in the embodiment are shown;
[0040] Fig.11 The COA algorithm simulation results in the embodiment are shown;
[0041] Fig.12 The simulation results of the SWO algorithm in the embodiment are shown;
[0042] Fig.13 Schematic diagram of the LSO algorithm simulation results in the embodiment. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present invention clearer and more understandable, the present invention is further described in detail below in conjunction with the accompanying drawings and technical solutions.
[0044] The three-dimensional path planning of multiple UAVs aims to provide a reasonable and feasible flight path for each UAV to its own target on the basis of satisfying constraints and avoiding threats. In view of the problems of slow search speed and poor planning path quality in solving multi-constraint and multi-threat three-dimensional space path planning of current meta-heuristic algorithms, the embodiments of the present invention refer to Figure 1 As shown, a multi-UAV three-dimensional path planning method based on a multi-strategy improved gray wolf algorithm is provided, including:
[0045] S101. Model the three-dimensional spatial environment in the mission area into a three-dimensional path planning model using terrain elevation data, treat the UAVs as equivalent to particles and obtain a series of flight paths of each UAV from the mission starting point to the target point. The flight path of the UAV is represented by a set of path points composed of the coordinates of each path point. The three-dimensional path planning model includes a digital elevation terrain model and an equivalent threat terrain model.
[0046] The digital elevation terrain model can be constructed by using the horizontal plane projection coordinates in the mission area and changing the terrain adjustment coefficient; the equivalent threat terrain model can be constructed based on the highest point height of the threat source and its corresponding horizontal plane projection coordinates; and the three-dimensional path planning model can be obtained based on the digital elevation terrain model and the equivalent threat terrain model.
[0047] Considering the path planning problem of multiple UAVs cooperating to execute multiple ground targets in a mission environment, each UAV is set to take off from a designated base after the task assignment is completed, and fly through the mission center area to the target point to complete its respective tasks. There are multiple threat sources and no-fly zones composed of mountains in the mission area. Considering the changes in UAV's flight altitude to avoid threat sources and the undulating terrain.
[0048] DEM is used to complete the three-dimensional space environment modeling, which consists of the original digital terrain model and the equivalent threat terrain model. The original digital terrain model is shown as follows:
[0049]
[0050] Among them, x and y are the projection coordinates of the horizontal plane, h1(x, y) represents the height of the corresponding horizontal plane projection coordinates, a, b, c, d, e, f, g are coefficients, and the terrain can be changed by adjusting the coefficient values.
[0051] The threat terrain equivalent model is as follows:
[0052]
[0053] Among them, x and y are the projection coordinates of the horizontal plane, h2(x,y) is the height of the mountain corresponding to x and y, h(i) represents the height of the highest point of mountain i, and x oi ,y oi is the horizontal plane projection coordinate corresponding to the highest point of peak i, x si ,y si represents the variable related to the slope of peak i along the x-axis and y-axis, x si ,y si When the height is determined, the smaller it is, the steeper the mountain.
[0054] Combining the above two types of terrain, we can build a basic three-dimensional space model for path planning:
[0055] h(x,y)=max(h1(x,y),h2(x,y)) (3)
[0056] In order to reasonably simplify the problem and focus on the research goal, the UAV is equivalent to a particle in the three-dimensional space environment modeling. For a planned path, the UAV starts from the starting point and passes through a series of path points before reaching the target. Indicates drone V i Execution target T j The coordinates of the kth path point in the path point set.
[0057] S102, constructing a cost function for evaluating the flight path of the UAV in a three-dimensional space environment, wherein the cost function includes a path length cost, a path threat cost, a path height cost, and a path smoothness cost.
[0058] Specifically, the UAV path distance can be set according to the Euclidean distance between adjacent path points and the total number of path points, and the UAV path distance can be used as the path length cost; the path threat cost can be set according to the total number of threat sources in the mission area, the threat radius of each threat source, the distance from the path point to the threat source in the UAV flight path, and the mandatory safety redundancy distance and the threat escape distance of the threat source; the path height cost can be set according to the maximum flight altitude and the minimum flight altitude of the UAV in the flight path; the path smoothing cost can be set according to the turning cost and the climbing cost in the flight path; and a cost function for evaluating the UAV flight path is constructed based on the path length cost, path threat cost, path height cost and path smoothing cost and weight parameters.
[0059] In order to effectively judge the quality of path planning results, considering the actual flight scenario of UAV in three-dimensional space and related constraints, the three-dimensional path planning evaluation function in the embodiment of this case consists of four parts: path length cost, path threat cost, path height cost, and path smoothness cost.
[0060] In the path length cost, the shorter the UAV path distance obtained through path planning, the less fuel consumption and flight time of the UAV. Therefore, in the embodiment of this case, the UAV path distance is used as one of the evaluation function indicators, as shown in the following formula:
[0061]
[0062] in, Indicates drone V i Execution target T j The Euclidean distance between the kth path point and the k+1th path point in , where n represents the number of drones V i Execution target T j The total number of waypoints.
[0063] In the path threat cost, considering that in the actual flight process, the UAV may have a certain deviation between the actual path and the planned path due to factors such as control accuracy and positioning error, the planned path should not only avoid obstacles and threat sources, but also leave an appropriate mandatory safety redundant distance. Figure 2 As shown, O m is the center point of the mth threat source, R m is the corresponding threat radius, Z is the mandatory safety redundancy distance, and E is the distance from the threat. For path The distance to the threat source. When the UAV is within the threat radius of the threat source or the mandatory safety redundancy distance, it is considered damaged. When the UAV is outside the mandatory safety redundancy distance and within the threat distance, the threat cost and Negative correlation; when the UAV is out of the threat distance, it is considered to have no threat cost. The path threat cost is shown in the following equations (5) and (6):
[0064]
[0065] in, represents the threat cost between the kth path point and the k+1th path point, and M is the total number of threat sources in the mission area.
[0066] In the path height cost, the UAV flight altitude is usually limited to a certain range during combat missions. For example, in reconnaissance missions, the UAV should not exceed the maximum altitude specified by the camera resolution. At the same time, in order to avoid ground small arms and avoid repeatedly adjusting the flight altitude according to the terrain, the UAV should not be lower than the set minimum altitude. Figure 3 As shown, H max and H min are the maximum height and minimum height respectively, then the path height cost is expressed as follows:
[0067]
[0068] In the path smoothing cost, since the UAV turns and climbs, it will increase the control difficulty of the body and accelerate the fuel consumption, so the path planning tends to keep the UAV flight trajectory stable under the same conditions. The path smoothing cost is set to include the turning cost and the climbing cost, such as Figure 4 As shown, the steering angle θ ij are two consecutive path segments and The angle of projection on the horizontal plane, is the projection of the UAV’s path from the k+1th path point and the k+2th path point on the horizontal plane, δ ij is the climbing angle of the UAV on this path.
[0069] Pick is the unit vector along the positive direction of the Z axis, according to Figure 4 As shown, the steering angle θ ij It can be expressed by the following formula:
[0070]
[0071] Climb angle δ ij It can be expressed by the following formula:
[0072]
[0073] The path smoothing cost can be expressed as follows:
[0074]
[0075] Among them, ω1 and ω2 represent the weights of the turning cost and the climbing cost respectively.
[0076] In summary, the path planning evaluation function of each UAV can be expressed as follows:
[0077]
[0078] Among them, λ1, λ2, λ3, and λ4 are the weights of path length cost, path threat cost, path height cost, and path smoothing cost, respectively.
[0079] S103. Use the individual positions of gray wolves to update the coordinate set to represent a flight path from the starting point to the target mission point in the UAV mission area. Use the gray wolf algorithm to iteratively solve and output the optimal three-dimensional path for each UAV in the mission area. In the gray wolf algorithm solution, the initial stage uses a composite chaotic sequence to generate an initial population of gray wolves. On this basis, a quasi-reverse learning initial population is generated according to the upper and lower bounds of the solution space and the initial population of gray wolves is replaced by the best. In the iterative stage, the reverse individuals of the elite wolves are generated based on the elite wolf reverse learning strategy, and a greedy mechanism is used to select and replace the upper wolves.
[0080] Specifically, the Grey Wolf Algorithm is used to iteratively solve and output the optimal three-dimensional path for each UAV in the mission area, which can be designed to include:
[0081] The upper and lower bounds of the search space are determined based on the three-dimensional path planning model. In the initial stage, the initial positions of gray wolf individuals are sampled in the search space using the Logistic-Tent chaotic sequence to generate an initial population, and a quasi-reverse learning initial population is generated based on a quasi-reverse learning mechanism to selectively replace the initial population. In the iterative stage, the positions of all gray wolf individuals are processed at the boundary, and the individuals beyond the boundary are adjusted. The fitness value of each individual is calculated according to the cost function, and the initial gray wolf individuals are selectively replaced using a greedy mechanism to determine the elite wolves, which include α wolf, β wolf and δ wolf, among which α wolf is the wolf king.
[0082] In the iterative solution, the movement coefficient of the gray wolf individual in the search space is set based on the convergence factor and the random variable. The elite wolf reverse learning strategy based on the movement coefficient and the convex lens imaging principle generates the elite wolf convex lens reverse individual. The elite wolf is replaced by the greedy mechanism. The remaining gray wolf individuals update their own positions according to the position of the elite wolf individual. The cost function is used to calculate the current fitness value of each individual and the elite wolf is re-determined based on the fitness value to determine whether the maximum number of iterations is met. If so, the position of the wolf king among the elite wolves is output as the optimal solution. Otherwise, return to the movement coefficient setting step for iterative execution.
[0083] The bionic principle of GWO is: in nature, there is a strict hierarchy within the gray wolf pack, in which the strongest wolf king α has absolute leadership, followed by β wolf, which is responsible for conveying the orders of the wolf king, and then δ wolf, which is mainly responsible for sentinel, care and other matters, and the rest of the wolves are lower-level wolves, responsible for accepting the command and leadership of the upper-level wolves. In GWO, each gray wolf represents a potential solution. During the iteration process, the upper and lower wolves will compete and replace each other according to their respective strength (fitness value).
[0084] To simulate the hunting process of gray wolves, the main content of GWO can be divided into four parts:
[0085] (1) Initialization phase. In this phase, the wolf pack individuals are randomly distributed. By calculating the fitness values of each gray wolf and arranging them in order from best to worst, the top three individuals are designated as α wolf, β wolf, and δ wolf, respectively. Their positions are defined as and The remaining individuals are uniformly defined as lower-level wolves.
[0086] (2) Encircling prey. When hunting, the behavior of gray wolves encircling prey is simulated by the following equations (12) and (13):
[0087]
[0088]
[0089] in, To update the location of the gray wolf, is the current position of the prey, is the distance between the current gray wolf and its prey, and t is the current number of iterations. and Used to control the movement of the gray wolf in the search space, where Determines whether the wolf moves toward or away from its prey. When the individual gray wolf moves away from the prey, it is the global search stage, otherwise it is the local search stage. The role of is to help enhance the diversity of the algorithm, the coefficient and They are represented by the following equations (14) to (16):
[0090]
[0091] in, is the convergence factor that decreases linearly from 2 to 0, and is a random variable on the interval [0,1].
[0092] (3) Hunting prey. In nature, gray wolves surround, hunt, and attack prey under the instruction of the wolf leader α. However, in the optimization problem, since the location of the prey (global optimal solution) is unknown, it is not possible to determine the optimal solution based solely on the location of the wolf leader α. It is impossible to find the location of the prey accurately. Therefore, in order to obtain more information about the location of the prey, it is necessary to retain the location information of the upper wolf in the previous iteration for estimating the location of the prey in the next iteration. When the iteration ends, the position of the wolf king α is output as the optimal solution. The update formula of the gray wolf individual is shown in the following equations (17) to (20):
[0093]
[0094] in are the step lengths of the gray wolf's movement when it is influenced by wolf α, wolf β, and wolf δ respectively.
[0095] As a solution method, when GWO is applied to the three-dimensional path planning problem in this case, each gray wolf individual in the population represents a set of coordinate points. By sequentially connecting the coordinate points in the set, a three-dimensional path planning solution from the starting point to the end point can be obtained. The fitness value of each gray wolf individual is solved by formula (11) to evaluate the pros and cons of each path. The algorithm continuously iterates to explore a better path and outputs the population optimal three-dimensional path planning solution represented by α wolf as the final result after the iteration. It should be noted that due to the NP-Hard characteristics of the path planning problem, GWO needs to find the optimal three-dimensional path as much as possible within a limited number of iterations. However, when the problem dimension is high, GWO is prone to fall into the local optimal solution during the iteration process, thereby affecting the solution quality. Therefore, this case introduces a composite chaotic sequence, a quasi-reverse learning strategy, and an elite wolf convex lens reflection learning strategy to improve the initialization stage and iteration stage of GWO respectively, so as to enhance the algorithm's ability to avoid local optimal solutions, thereby obtaining higher quality path planning results within a limited number of iterations.
[0096] As a meta-heuristic algorithm, the initial distribution of GWO has a great influence on the speed and quality of algorithm optimization solution. However, the random strategy used by GWO in the population initialization stage may produce a relatively concentrated or dispersed initial gray wolf group. Both situations are not conducive to algorithm solution. As a mixed sequence of randomness, sensitivity and determinism, chaotic sequence can avoid individual duplication in the population while ensuring randomness. Therefore, it is often used to optimize the initial distribution of the population. However, most applications are limited to the introduction of simple chaotic sequences. However, due to different chaotic sequences, different characteristics exist. For example, the most commonly used Logistic sequence is sensitive to the initial value, and the generated random numbers are more distributed at both ends, which limits the actual effect of the chaotic sequence in improving the initial population distribution to a certain extent. Based on the above analysis, in the embodiment of this case, the composite chaotic sequence Logistic-Tent, which integrates the Logistic sequence and the Tent sequence, is introduced in the initialization stage. The mathematical expression is as follows:
[0097]
[0098] This chaotic sequence combines the complex chaotic dynamics of the Logistic sequence and the faster iteration speed of the Tent sequence. Figure 5 The chaotic value distribution statistics are 10,000 times. As shown in the figure, compared with the single Logistic sequence, the random numbers generated by the Logistic-Tent sequence are more evenly distributed in the [0,1] interval.
[0099] In order to better improve the quality of initial population generation, a quasi-reverse learning strategy is further introduced based on the use of Logistic-Tent chaotic sequence. Quasi-reverse learning can be expressed by the following equations (22) and (23):
[0100]
[0101] X o (t) = L B +U B -X(t) (23)
[0102] Among them, X(t) is the current solution, X o (t) is the solution after reverse learning, X qo (t) is the quasi-reverse learning solution, L B and U B are the lower and upper bounds of the solution space respectively. Figure 6 As shown in the figure, it can be seen that quasi-reverse learning has made further randomization operations on the basis of reverse learning. Compared with the reverse learning, which generates a fixed value each time, the mapping X generated by quasi-reverse learning qo (t) The intermediate value between the upper and lower bounds of the solution space and the reverse learning mapping X o(t) is randomly distributed. Studies have shown that when looking for the global optimal solution, the quasi-reverse solution with added randomness is more effective than the reverse solution.
[0103] According to the algorithm principle, the parameters It has a key impact on the ability to coordinate GWO global search and local optimization, and its value is As the number of iterations increases, GWO gradually changes from global search to local optimization as the number of iterations increases. Since the lower wolf individuals in the gray wolf pack surround the prey by pursuing the positions of the upper wolf α wolf, β wolf and δ wolf, if the upper wolf α wolf, β wolf and δ wolf are located near the local optimal solution, it is easy to cause GWO to fall into the local optimal solution. To solve this problem, the embodiment of this case introduces the elite wolf reverse learning strategy based on the convex lens imaging principle in the iteration stage, and the specific content is as follows:
[0104] Assume that there is an individual P with height h in the solution space, whose projection on the X-axis is XP, and select (L B +U B )2 is the base point O and a convex lens with a focal length of F is placed. The individual P is obtained by the convex lens with a height h * The inverted image P * , at this time P * Projection on the X axis XP * That is, the reverse individual, the imaging method is as follows Figure 7 shown.
[0105] XP and its reverse individual XP * The relationship between them is shown as follows:
[0106]
[0107] Among them, η, as a scaling factor, represents the proportional correspondence between the object and the image in the convex lens. In order to improve the ability of MSIGWO to search in the solution space, η is set to decrease nonlinearly with the iteration of the algorithm, so that the reverse individual of MSIGWO can obtain a larger generation range in the early iteration to improve the search ability, and obtain a smaller generation range in the later iteration to improve the local optimization ability. η is shown in the following formula:
[0108] η=η max -(η max -η min )·(t / t max ) 2 (26)
[0109] Among them, η max and η min They are the maximum and minimum scaling factors respectively.
[0110] By changing formula (24), we can get the reverse individual XP * The expression is as follows:
[0111]
[0112] Extending formula (27) to D dimensional search space can be obtained:
[0113]
[0114] Since the upper wolves in the GWO algorithm guide the entire population to update during the convergence phase of the algorithm and are the top three best solutions in the iteration, the update mechanism of the upper wolves is the key to preventing GWO from falling into the local optimum. α wolves, β wolves and δ wolves can be defined as elite wolves. In each iteration, formula (28) is used to generate the reverse individuals of the elite wolves, and a greedy mechanism is used to select and replace the upper wolves.
[0115] The Multi-Strategy Improved Gray Wolf Optimization (MSIGWO) algorithm, which introduces compound chaotic sequence, quasi-reverse learning and elite wolf convex lens reflection learning strategy into the standard GWO, has the following specific steps: Figure 8 As shown, specifically including:
[0116] Step 1: Import terrain data, generate DEM digital terrain map according to formula (3), and set the parameter values of the evaluation function in formula (11);
[0117] Step 2: Use the Logistic-Tent chaotic sequence to generate the initial population, and then generate the quasi-reverse learning initial population; calculate the fitness value of each individual, use the greedy mechanism to complete the optimal replacement of the initial population, and determine the α wolf, β wolf and δ wolf;
[0118] Step 3: Complete the parameters according to equations (14) to (16) Updates;
[0119] Step 4: Generate the convex lens reverse individuals of α wolf, β wolf and δ wolf according to formula (28), and use the greedy mechanism to complete the preferential replacement of the upper wolf;
[0120] Step 5: Update the position of the gray wolf group according to equations (17) to (20), calculate the fitness and update α wolf, β wolf and δ wolf;
[0121] Step 6: Check whether the termination condition is met. If not, return to step 3. If so, go to step 7.
[0122] Step 7: Output the optimal value and the algorithm ends.
[0123] Furthermore, based on the above method, an embodiment of the present invention also provides a multi-UAV three-dimensional path planning system based on a multi-strategy improved gray wolf algorithm, comprising: a space model building module, a cost evaluation setting module and a path optimization solution module, wherein:
[0124] A spatial model building module is used to model the three-dimensional spatial environment in the mission area into a three-dimensional path planning model using terrain elevation data, to treat the drones as particles and to obtain a series of flight paths of each drone from the mission starting point to the target point. The flight path of the drone is represented by a set of path points composed of the coordinates of each path point. The three-dimensional path planning model includes a digital elevation terrain model and an equivalent threat terrain model.
[0125] A cost evaluation setting module is used to construct a cost function for evaluating the flight path of a UAV in a three-dimensional space environment, wherein the cost function includes a path length cost, a path threat cost, a path height cost, and a path smoothness cost;
[0126] The path optimization solution module is used to use the individual gray wolf positions to update the coordinate set to represent a flight path from the starting point to the target mission point in the UAV mission area, and iteratively solve and output the optimal three-dimensional path of each UAV in the mission area through the gray wolf algorithm. In the gray wolf algorithm solution, the chaotic sequence is used to generate the initial population of gray wolves, the quasi-reverse learning initial population is generated based on the upper and lower bounds of the solution space, the reverse individuals of the elite wolves are generated based on the elite wolf reverse learning strategy, and the greedy mechanism is used to select and replace the upper wolves.
[0127] In order to verify the effectiveness of this solution, the following is a further explanation based on the test data:
[0128] The operating environment of the algorithm is WINDOWS11, and the software version is Matlab 2020a. It is set that three UAVs are used to perform combat missions of three targets respectively. The positions of the UAV starting points and targets are shown in Table 1, and the settings of the threat sources are shown in Table 2. To illustrate the performance of the MSIGWO algorithm, a three-dimensional path planning simulation comparison experiment was carried out using the GWO algorithm, the Crayfish Optimization Algorithm (COA), the Spider Wasp Optimizer (SWO), the Light Spectrum Optimizer (LSO) and the MSIGWO algorithm in the embodiment of this case under the same map. The population size is set to 100, the maximum number of iterations is set to 500, the parameters λ1, λ2, λ3, and λ4 in the evaluation function are set to 5, 1, 10, and 1 respectively, and the constraint conditions are set as shown in Table 3. The η in the convex lens reverse learning is max and η min Set to 10 and 1 respectively.
[0129] Table 1 UAV starting point and target position
[0130]
[0131] Table 2 Threat source parameter settings
[0132]
[0133] Table 3 Constraint settings
[0134]
[0135] Figures 9 to 13 The simulation results of the three-dimensional path planning diagram, two-dimensional path planning diagram, total cost and cost distribution diagram of MSIGWO, GWO, COA, SWO and LSO are shown respectively. It can be seen from the two-dimensional and three-dimensional path planning diagrams in the figure that the relevant algorithms all give their own path planning results and the planned paths avoid the peaks and threat sources in the battlefield. From the total cost and cost distribution diagram, it can be seen that among the path planning schemes of each algorithm, the total cost of path planning given by MSIGWO is the lowest. On the one hand, this is because the path length of the MSIGWO planning scheme is the shortest, which greatly reduces the path cost. On the other hand, its planned path effectively reduces the altitude change and steering adjustment of the UAV during flight, reducing the altitude cost and smoothing cost. These two aspects can also be intuitively seen in the three-dimensional path planning diagram. The UAV planning path of MSIGWO is the shortest and smoother.
[0136] Since the metaheuristic algorithm is random, in order to better illustrate the algorithm performance and ensure the reliability of the results, each algorithm was repeated 100 times. The statistical results of the evaluation function of each algorithm are shown in Table 4.
[0137] Table 4 Statistical results of evaluation function of 100 repeated tests of the algorithm
[0138]
[0139]
[0140] As can be seen from Table 4, the optimal value and average value of MSIGWO in the 100 statistical results are better than those of other comparison algorithms, and the worst value in the statistical results is only slightly higher than SWO, ranking second. Compared with GWO, the optimal value, average value, and worst value of MSIGWO have increased by 6.1%, 5.1%, and 13.3%, respectively. On the one hand, this is due to the fact that the initial population generated by the composite chaos and quasi-reverse learning strategy adopted in the initial stage of MSIGWO is more uniform, which reduces the invalid search in the global search stage. On the other hand, the worst value has the largest increase among the three indicators, which also shows that the elite wolf convex lens reflection strategy adopted by MSIGWO optimizes the key adjustment of the upper wolf position, effectively avoiding the algorithm from falling into the local optimal solution in the iteration stage.
[0141] The above test data can further illustrate that the solution in this case effectively improves the search speed, local optimum and path quality problems in the existing three-dimensional path planning scheme, and can be applied to multi-UAV path planning in complex environments.
[0142] Unless otherwise specifically stated, the relative steps, numerical expressions and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
[0143] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0144] The units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person of ordinary skill in the art may use different methods to implement the described functions for each specific application, but such implementation is not considered to be beyond the scope of the present invention.
[0145] Those skilled in the art will appreciate that all or part of the steps in the above method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as a read-only memory, a disk or an optical disk. Optionally, all or part of the steps in the above embodiment can also be implemented using one or more integrated circuits, and accordingly, each module / unit in the above embodiment can be implemented in the form of hardware or in the form of software function modules. The present invention is not limited to any specific form of combination of hardware and software.
[0146] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A three-dimensional path planning method for multiple UAVs based on a multi-strategy improved grey wolf algorithm, characterized in that: Include: The three-dimensional space environment in the mission area is modeled as a three-dimensional path planning model using terrain elevation data, the UAV is equivalent to a mass point and a series of flight paths of each UAV from the mission starting point to the target point are obtained. The UAV flight path is represented by a set of path points composed of the coordinates of each path point. The three-dimensional path planning model includes a digital elevation terrain model and an equivalent threat terrain model. Constructing a cost function for evaluating the flight path of a UAV in a three-dimensional space environment, wherein the cost function includes a path length cost, a path threat cost, a path height cost, and a path smoothness cost; The coordinate set updated by the individual position of gray wolves represents a flight path from the starting point to the target mission point in the UAV mission area. The optimal three-dimensional path of each UAV in the mission area is solved and output through the gray wolf algorithm. In the gray wolf algorithm solution, the initial stage uses the composite chaotic sequence to generate the initial population of gray wolves, and the quasi-reverse learning initial population is generated according to the upper and lower bounds of the solution space and the initial population of gray wolves is replaced by the best. In the iterative stage, the reverse individuals of the elite wolves are generated based on the elite wolf reverse learning strategy, and the greedy mechanism is used to select and replace the upper wolves.
2. The method for three-dimensional path planning of multiple UAVs based on the multi-strategy improved gray wolf algorithm according to claim 1 is characterized in that: The three-dimensional spatial environment in the mission area is modeled into a three-dimensional path planning model using terrain elevation data, including: Construct a digital elevation terrain model using the horizontal plane projection coordinates within the mission area and changing the terrain adjustment coefficient; construct an equivalent threat terrain model based on the highest point height of the threat source and its corresponding horizontal plane projection coordinates; A three-dimensional path planning model is obtained based on the digital elevation terrain model and the equivalent threat terrain model.
3. The method for three-dimensional path planning of multiple UAVs based on the multi-strategy improved gray wolf algorithm according to claim 1 is characterized in that: Construct a cost function for evaluating the flight path of a drone in a three-dimensional space environment, including: The UAV path distance is set according to the Euclidean distance between adjacent path points and the total number of path points, and the UAV path distance is used as the path length cost; the path threat cost is set according to the total number of threat sources in the mission area, the threat radius of each threat source, the distance from the path point to the threat source in the UAV flight path, and the mandatory safety redundancy distance and the threat escape distance of the threat source; the path height cost is set according to the maximum flight altitude and the minimum flight altitude of the UAV in the flight path; the path smoothness cost is set according to the turning cost and the climbing cost in the flight path; A cost function for evaluating the flight path of a UAV is constructed based on the path length cost, path threat cost, path height cost and path smoothness cost and weight parameters.
4. The method for three-dimensional path planning of multiple UAVs based on the multi-strategy improved gray wolf algorithm according to claim 1 is characterized in that: The Grey Wolf Algorithm is used to iteratively solve and output the optimal three-dimensional path for each UAV in the mission area, including: Based on the three-dimensional path planning model, the upper and lower bounds of the search space are determined. In the initial stage, L The ogistic-Tent chaotic sequence samples the initial positions of gray wolf individuals in the search space and generates an initial population, and generates a quasi-reverse learning initial population based on a quasi-reverse learning mechanism to selectively replace the initial population; in the iteration stage, the positions of all gray wolf individuals are processed at the boundary, the individuals beyond the boundary are adjusted, the fitness value of each individual is calculated according to the cost function, and the initial gray wolf individuals are selectively replaced by a greedy mechanism to determine the elite wolves, which include α wolf, β wolf and δ wolf, among which α wolf is the wolf king; In the iterative solution, the movement coefficient of the gray wolf individual in the search space is set based on the convergence factor and the random variable. The elite wolf reverse learning strategy based on the movement coefficient and the convex lens imaging principle generates the elite wolf convex lens reverse individual. The elite wolf is replaced by the greedy mechanism. The remaining gray wolf individuals update their own positions according to the position of the elite wolf individual. The cost function is used to calculate the current fitness value of each individual and the elite wolf is re-determined based on the fitness value to determine whether the maximum number of iterations is met. If so, the position of the wolf king among the elite wolves is output as the optimal solution. Otherwise, return to the movement coefficient setting step for iterative execution.
5. The method for three-dimensional path planning of multiple UAVs based on the multi-strategy improved gray wolf algorithm according to claim 4 is characterized in that: The process of generating the quasi-reverse learning initial population based on the quasi-reverse learning mechanism is expressed as: X o (t) = L B +U B -X(t), where X(t) is the individual position solution of the gray wolf in the current t iteration round, X o (t) is the solution of the individual position of the gray wolf after reverse learning, X qo (t) is the solution for quasi-reverse learning of the individual positions of gray wolves, L B and U B are the lower and upper bounds of the solution space of the individual positions of the gray wolf.
6. The method for three-dimensional path planning of multiple UAVs based on the multi-strategy improved grey wolf algorithm according to claim 4 or 5, characterized in that: The process of setting the movement coefficient of the gray wolf individual in the search space based on the convergence factor and random variables is expressed as: in, and is the mobility coefficient used to control the movement of gray wolf individuals in the search space, is the convergence factor that decreases linearly from 2 to 0, and is a random variable on the interval [0,1], and t is the current iteration number, T is the maximum number of iterations.
7. The method for three-dimensional path planning of multiple UAVs based on the multi-strategy improved gray wolf algorithm according to claim 6 is characterized in that: The process of generating elite wolf convex lens reverse individuals by using the elite wolf reverse learning strategy based on the convex lens imaging principle is expressed as: in, is the convex lens reverse individual of the gray wolf individual XP in the j-dimensional search space, η is the iterative nonlinear decreasing factor, and η=η max -(η max -η min )·(tt max ) 2 , η max and η min are the maximum and minimum scaling factors, respectively. t is the current iteration number, t max is the maximum number of iterations.
8. A multi-UAV three-dimensional path planning system based on a multi-strategy improved gray wolf algorithm, characterized in that: It includes: spatial model building module, cost evaluation setting module and path optimization solution module, among which, A spatial model building module is used to model the three-dimensional spatial environment in the mission area into a three-dimensional path planning model using terrain elevation data, to treat the drones as particles and to obtain a series of flight paths of each drone from the mission starting point to the target point. The flight path of the drone is represented by a set of path points composed of the coordinates of each path point. The three-dimensional path planning model includes a digital elevation terrain model and an equivalent threat terrain model. A cost evaluation setting module is used to construct a cost function for evaluating the flight path of a UAV in a three-dimensional space environment, wherein the cost function includes a path length cost, a path threat cost, a path height cost, and a path smoothness cost; The path optimization solution module is used to use the individual gray wolf positions to update the coordinate set to represent a flight path from the starting point to the target mission point in the UAV mission area, and iteratively solve and output the optimal three-dimensional path of each UAV in the mission area through the gray wolf algorithm. In the gray wolf algorithm solution, the initial stage uses a composite chaotic sequence to generate an initial population of gray wolves, and generates a quasi-reverse learning initial population based on the upper and lower bounds of the solution space and replaces the initial population of gray wolves by preference. In the iterative stage, the reverse individuals of the elite wolves are generated based on the elite wolf reverse learning strategy, and the greedy mechanism is used to select and replace the upper wolves by preference.
9. An electronic device, characterized in that: include: at least one processor, and a memory coupled to the at least one processor; The memory stores a computer program, and the computer program can be executed by the at least one processor to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 can be implemented.
Citation Information
Cited By
Power line inspection method and system based on unmanned aerial vehicle
CN119358791A
Multi-unmanned aerial vehicle forest fire inspection task allocation method, equipment and medium
CN119960493A
Multi-modal robot path planning method based on multi-strategy improved grey wolf algorithm
CN120122651A
A Multimodal Robot Path Planning Method Based on the Improved Gray Wolf Algorithm with Multi-Strategy
CN120122651B
Multi-unmanned aerial vehicle task collaborative planning method and system based on comprehensive cost constraint
CN120143877A
