A method for optimizing flight trajectory of swarm UAV formation based on graph theory
By constructing similarity indicators and optimization frameworks in UAV swarm formations using methods based on graph theory, the problems of obstacle avoidance and formation maintenance in complex environments are solved, and stable formation flight and high-quality trajectory generation in complex scenes are achieved. .
Patent Information
- Application Number
- CN202210253389.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-15
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-03-15
AI Technical Summary
Existing technology is difficult to achieve obstacle avoidance and formation maintenance of UAV cluster formations in complex environments at the same time, making formation flight difficult to effectively solve in complex scenarios, especially when obstacles are dense.
A method based on graph theory is used to calculate the similarity index and its gradient of the formation by constructing an undirected graph model, and combined with the polynomial trajectory class of minimum control input (MINCO) to construct a time-space parameterized UAV trajectory. Constraints such as energy cost, safe obstacle avoidance, formation similarity and dynamic feasibility are considered in the optimization framework to generate high-quality collision-free trajectories.
It achieves more stable formation maintenance and obstacle avoidance capabilities in complex scenes. Through the overall geometric topology representation and the similarity index that is invariant to translation, rotation and size scaling, the success rate of formation flight and system synergy are improved.
Smart Images

Figure CN114610065B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned aerial vehicle navigation technology, and in particular to a method for optimizing the flight trajectory of a cluster of unmanned aerial vehicles based on graph theory. Background Art
[0002] In recent years, with the increasing maturity of autonomous navigation technology and the rapid development of embedded devices, drones have been widely deployed and applied in both civil and military fields. However, when performing tasks, single drones still have shortcomings such as small single-machine load and low system fault tolerance. Cluster drones can complete the given tasks more robustly by increasing system redundancy. At the same time, for some scenarios that require collaboration among multiple individuals, such as rapid search and rescue, intelligent logistics transportation, and collaborative mapping, cluster drones can provide more systematic solutions. As an important direction of cluster drone research, the problem of multi-drone formation flight is a key research area to improve the coordination and scenario adaptability of cluster systems.
[0003] When a swarm of drones is performing complex formation navigation tasks, at least the following four points need to be guaranteed: a. UAV flight safety in complex scenarios; b. Maintenance of the desired formation during flight; c. Safe flight intervals between drones in the swarm; d. Dynamic limitations of the drone's own body. For flight safety in complex scenarios, drones are required to perceive and construct maps of the surrounding environment online to obtain obstacle information. Common map types include point cloud maps, Euclidean distance maps, or probability grid maps. In order to achieve flight collision avoidance and maintenance of the desired formation between drones in a swarm, the swarm system needs to be able to communicate between drones through a broadcast network. The main communication content is the current location information of each drone and the planned trajectory. In order to ensure that the planned trajectory can be executed normally by the drone, the dynamic constraints of the body itself should also be met, usually including physical limitations such as maximum motor thrust, maximum flight inclination angle, and maximum roll rate. For the three requirements of ACD, there are currently systematic solutions in academia. Literature [1] Zhou et al. from Zhejiang University proposed an autonomous navigation system for drone swarms. The system uses a time-space trajectory optimization method and can use the drone onboard computer to calculate and generate high-quality trajectories that are safe, collision-free and meet dynamic constraints within milliseconds. The present invention is based on this background technology.
[0004] For the above requirement b, there are many research works in the academic community that focus on solving the coordinated control and planning of UAV swarm formations, but most methods can only achieve the formation maintenance of swarm UAVs in open scenes. Formation flight in complex environments with obstacles is still a difficult problem that has not yet been systematically solved. Because in complex scenes, the safety requirements of each UAV to avoid obstacles and the task requirements of maintaining the desired formation are often contradictory, so how to systematically balance these two contradictory requirements has become the core problem of solving the obstacle avoidance flight of UAV formations. At present, most of the formation flight schemes rely on the design of local feedback control laws based on cluster consistency. This method has good convergence for the desired formation in open scenes, but because the local feedback control law cannot consider the system state in the future time window, it lacks the ability to deal with multi-obstacle scenes in advance, making it difficult for this method to adapt to the formation flight requirements in complex environments. In comparison, the formation flight scheme based on cluster trajectory optimization is more suitable for solving the obstacle avoidance problems often encountered in complex scenes. At present, most trajectory optimization schemes achieve geometric formation maintenance by imposing hard constraints on the relative positions of each UAV, but these position constraints and collision avoidance constraints are difficult to satisfy at the same time, which makes the optimization problem unsolvable. Some optimization-based works passively abandon the position constraints of the formation to ensure the flight safety of UAVs, which will greatly undermine the coordination of UAV clusters. In summary, the academic community is in urgent need of a UAV cluster trajectory planning solution that can simultaneously solve the formation obstacle avoidance flight in complex environments.
[0005] At present, many methods have been proposed in the field of swarm formation flying, such as virtual structure method, navigation function method, reaction behavior method and local feedback control method based on consistency theory, etc. However, most of these methods can only realize UAV swarm formation flying in open scenes without external obstacles.
[0006] In complex environments, the difficulty of formation flying missions increases significantly, mainly because each UAV must maintain the desired formation while also meeting the safety of cluster flight. One method is to achieve obstacle avoidance and formation maintenance of UAVs at the same time by designing feedback control laws. [2] In , Han et al. proposed a formation flight controller using a complex Laplace matrix as feedback gain. During the flight, the size of the formation is determined by the navigator (lead aircraft). The navigator controls the size of the overall formation to enable the cluster to complete a specific flight task, such as passing through a narrow gap. [3]In , Zhao proposed a control law based on the leader-follower framework, which can make the UAV formation undergo affine transformation according to the changes in the environment. Most feedback control methods adopt the leader-follower framework, but this mode makes the formation parameters controlled only by the leader. Once the leader fails, the flight of the entire cluster will fail.
[0007] Compared with the above-mentioned leader-follower framework, the decentralized strategy can better cope with the situation where some drones in the cluster fail. [4] In , Alonso-Mora et al. divided the trajectory planning of clustered UAVs into two stages. The first stage is to calculate the optimal formation parameters and the corresponding UAV-target point allocation relationship based on the current map information. The second stage is that each UAV independently performs local trajectory planning to reach the assigned target point based on the calculation results of the first stage. This method can achieve the avoidance of obstacles by UAV clusters, but because the formation requirements are not considered in the second stage, the real-time performance of the formation is very poor. [5] In , Zhou et al. used a virtual structure method and combined it with an artificial potential field method to generate collision-free formation flight trajectories. However, since local optimal points are prone to appear in the superimposed artificial potential field, the UAV cluster using this method is prone to trajectory oscillation or even deadlock during flight, and the optimality of the overall trajectory cannot be guaranteed. [6] In , Pary et al. proposed a method of using distributed model predictive control to achieve cluster formation flight. This method mainly maintains the geometric formation by imposing relative position constraints on drones. During the flight, once obstacles appear in the environment and the relative position requirements of drones cannot be met, the framework will abandon the formation coordination requirements to meet the safety of flight. Although this passive mechanism can ensure obstacle avoidance, it greatly reduces the coordination of the cluster system.
[0008] References:
[0009] [1] X. Zhou, Z. Wang, X. Wen, J. Zhu, C. Xu, and F. Gao, “Decentralized spatial-temporal trajectory planning for multicopter swarms,” arXiv preprint arXiv:, 2021
[0010] [2]Z.Han,L.Wang,and Z.Lin,“Local formation control strategies withundetermined and determined formation scales for co-leader vehiclenetworks,”in 52nd IEEE Conference on Decision and Control.IEEE,2013,pp.7339–7344.
[0011] [3]S.Zhao,“Affifine formation maneuver control of multiagentsystems,”IEEE Transactions on Automatic Control, vol.63,no.12,pp.4140–4155,2018.
[0012] [4]J.Alonso-Mora,E.Montijano,M.Schwager,and D.Rus,“Distributedmulti-robot formation control among obstacles:A geometric and optimizationapproach with consensus,”in 2016 IEEE international conference on roboticsand automation (ICRA).IEEE,2016,pp.5356–5363.
[0013] [5]D.Zhou,Z.Wang,and M.Schwager,“Agile coordination and assistivecollision avoidance for quadrotor swarms using virtual structures,”IEEETransactions on Robotics,vol.34, no.4,pp.916–923,2018.
[0014] [6] R. Van Parys and G. Pipeleers, “Distributed model predictive formation control with inter-vehicle collision avoidance,” in 2017 11th Asian Control Conference (ASCC). IEEE, 2017, pp. 2399–2404.
[0015] [7] Z. Wang, X. Zhou, C. Xu, and F. Gao, “Geometrically constrained trajectory optimization for multicopters,” arXiv preprint arXiv:, 2021.
[0016] [8] M. Turpin, N. Michael, and V. Kumar, “Trajectory design and control foraggressive formation flflight with quadrotors,” Autonomous Robots, vol.33, no.1, pp.143–156, 2012. Summary of the invention
[0017] In view of the deficiencies in the prior art, the present invention aims to provide a method for optimizing the flight trajectory of a swarm of UAVs based on graph theory.
[0018] In order to achieve the above object, the present invention adopts the following technical solution:
[0019] A method for optimizing the flight trajectory of a swarm of UAVs based on graph theory mainly includes the following steps:
[0020] S1. For a cluster composed of N drones, the cluster is modeled and the formation similarity index and its gradient are calculated. The specific process is as follows:
[0021] S1.1. For a cluster of N drones, based on their current formation, their mutual topological relationship is modeled into a fully connected undirected graph G = (V, E), where V = {1, 2, ..., N} represents the set of vertices. Represents a set of edges; in graph G, vertex i represents the position coordinate p of the i-th drone i , if and only if the i-th UAV and the j-th UAV can obtain each other's position information through network communication, the edge e connecting vertex i and vertex jij Only then does it exist;
[0022] S1.2, for the edge e connecting vertex i and vertex j in the undirected graph constructed in step S1.1 ij Assign non-negative weight w ij , we get a weighted undirected graph;
[0023] S1.3, calculating the representation matrix of the weighted undirected graph obtained in step S1.2, including the adjacency matrix A, the degree matrix D and the Laplace matrix L; the calculation formula of the Laplace matrix L is:
[0024] L=DA
[0025] The Laplace matrix L is normalized by the degree matrix D to obtain the symmetric normalized Laplace matrix S, the formula is:
[0026] S=D -1 / 2 LD -1 / 2 =ID -1 / 2 AD -1 / 2 ;
[0027] I is the identity matrix;
[0028] S1.4. Perform steps S1.1 to S1.3 on the expected formation specified by the task to obtain the adjacency matrix A of the expected formation. des , Laplace matrix L des and the symmetric canonical Laplace matrix S des ;
[0029] S1.5. Calculate the similarity difference between the current formation and the expected formation; the similarity index of the formation is defined as follows:
[0030]
[0031] For the i-th drone, construct its adjacency weight vector, write the edge weight value adjacent to the i-th drone node as a vector, and get
[0032] w i =[w i1 , ..., w ij , ..., w in ] T
[0033] The similarity index J f For the i-th UAV position p i The calculation formula of the gradient is:
[0034]
[0035] Among them, the similarity index J f The gradient of the edge weights in the graph G is calculated as follows:
[0036]
[0037]
[0038]
[0039] Then calculate the weight w according to the edge weight function ij Vertex position p i The gradient of the final formation similarity index J can be obtained by using the chain rule f For the i-th UAV position p i The gradient of
[0040] S2. After calculating the similarity index and gradient between the current formation and the expected formation, substitute them into the optimization framework to obtain the final high-quality UAV trajectory. The specific process is as follows:
[0041] S2.1. The polynomial trajectory class MINCO with minimum control input is used to construct the time-space parameterized UAV flat output trajectory and take it as the optimization object. This trajectory class relies on parameters c and T to characterize the optimized UAV trajectory, where vector c represents the trajectory coefficient of the piecewise polynomial and vector T represents the time distribution of the piecewise trajectory. Based on the MINCO trajectory representation, the trajectory generation of formation flying is constructed as an unconstrained optimization problem:
[0042]
[0043] The subscript J represents a penalty term, the subscripts {e, t, o, f, r, d} represent the energy cost term, the total trajectory time term, the safety obstacle avoidance constraint term, the formation similarity term, the mutual collision avoidance term between clusters, and the dynamic feasibility term, respectively, and λ represents the weight;
[0044] S2.2. Generate ESDF in the current environment, obtain the adjacent obstacle information and corresponding numerical gradient, and construct the safe obstacle avoidance constraint term J o ; J f This is the similarity index obtained in step S1; the mutual collision avoidance term J between clusters is constructed using the mutual position information between drones obtained through communication r ; Construct the remaining penalty term J based on the flight mission parameters and the UAV body parameters e , J t and J d ;
[0045] S2.3. Use the optimization algorithm based on gradient information to iteratively optimize the optimization problem in step S2.1, and finally generate a high-quality trajectory for the current UAV that is safe, collision-free and maintainable.
[0046] Furthermore, in step S1.2, for the edge e connecting vertex i and vertex j ij , whose weight w ij is a non-negative function of the Euclidean distance between two drones, that is:
[0047] w ij =||p i -p j || 2
[0048] p i is the position coordinate of the i-th UAV, p j is the position coordinate of the jth UAV.
[0049] The beneficial effects of the present invention are as follows: compared with other current methods, the differentiable formation similarity index based on graph theory and the trajectory optimization framework that simultaneously considers formation and obstacle avoidance in the method of the present invention can not only achieve a more stable formation maintenance effect by relying on an effective overall geometric topological representation, but the similarity index also has the invariance of translation, rotation, and scale, so that when UAVs fly in formation in complex scenes, they can more flexibly deal with obstacles by rotating or scaling the overall formation, which greatly improves the success rate of optimization-based methods in such problems and has important engineering application significance. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 This is a schematic diagram of modeling a drone cluster formation in Example 1 of the present invention;
[0051] Figure 2 1 is an example diagram of the similarity index of the formation and its gradient field in Example 1 of the present invention;
[0052] Figure 3 This is a comparison chart of the formation flying effects of various methods in Example 2 of the present invention in the same scene. DETAILED DESCRIPTION
[0053] The present invention will be further described below in conjunction with the accompanying drawings. It should be noted that this embodiment is based on the technical solution and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to this embodiment.
[0054] Example 1
[0055] This embodiment provides a method for optimizing the flight trajectory of a swarm UAV formation based on graph theory, which is used for generating the trajectory of a swarm UAV formation flight in a complex environment. The method mainly includes the following steps:
[0056] First, the starting and ending positions of the swarm UAVs are initialized and the desired swarm geometric flight formation is set, and the topological relationship of the desired formation is characterized using graph theory knowledge;
[0057] During the flight, each UAV in the cluster determines the current position and local trajectory of other UAVs through the broadcast network, and then determines the formation formed by the current cluster and its topological representation; the Euclidean Signed Distance Field (ESDF) of the current environment is generated through the onboard sensor. This distance field records the distance value from any point in space to the closest obstacle. At the same time, the first-order derivative value that can be used for numerical optimization can be obtained based on the change of the obstacle distance value in the neighborhood of the indexed point;
[0058] The onboard equipment of the UAV runs an optimization algorithm, taking into account the energy cost of the UAV trajectory, trajectory time, similarity of formation, dynamic feasibility of the trajectory, and safety obstacle avoidance constraints. The trajectory generation is constructed as an optimization problem, and finally a safe, collision-free, high-quality trajectory that can maintain formation is iteratively optimized for the UAV to execute.
[0059] This embodiment uses the minimum control effort polynomial trajectory class (MINCO) defined in the literature [7] to construct a time-space parameterized UAV flat output trajectory as the optimization object. This trajectory class relies on parameters c and T to characterize the optimized UAV trajectory, where vector c represents the trajectory coefficient of the piecewise polynomial and vector T represents the time distribution of the piecewise trajectory. Based on the MINCO trajectory representation, the method of this embodiment constructs the trajectory generation of formation flying as an unconstrained optimization problem.
[0060]
[0061] Where c and T are MINCO parameters, i.e., optimization variables, the subscript J represents a penalty term and its weight, the subscripts {e, t, o, f, r, d} represent the energy cost term, the total trajectory time term, the safety obstacle avoidance constraint term, the formation similarity term, the mutual collision avoidance term between clusters, and the dynamic feasibility term, and λ represents the weight. Since the method in this embodiment mainly proposes a geometric formation similarity index based on graph theory and its model construction, the formation similarity index J is introduced in detail below. f The construction method.
[0062] For a cluster consisting of N drones, the method of this embodiment models the cluster and calculates the formation similarity index and its gradient. The specific process is:
[0063] Step 1: As Figure 1 As shown, for a cluster composed of N drones, according to their current formation, the method of this embodiment models their mutual topological relationship into a fully connected undirected graph G = (V, E), where V: = {1, 2, ..., N} represents a set of vertices, Represents a set of edges. In G, vertex i represents the position coordinates p of the i-th drone. i . The edge e connecting vertex i and vertex j is valid if and only if the i-th UAV and the j-th UAV can obtain each other's location information through network communication. ij Therefore, the geometry of the UAV formation is modeled as an undirected graph.
[0064] Step 2: Assign non-negative weights to the edges of the undirected graph constructed in step 1 to obtain a weighted undirected graph; for the edge e connecting vertex i and vertex j ij , whose weight w ij is a non-negative function of the Euclidean distance between two UAVs, which is set as follows in this embodiment:
[0065] w ij =||p i -p j || 2
[0066] Step 3: Calculate the representation matrix of the weighted undirected graph obtained in step 2, including the adjacency matrix A, degree matrix D and Laplace matrix L. The calculation formula of Laplace matrix L is
[0067] L=DA. The Laplace matrix L is normalized by the degree matrix D of the graph to obtain the symmetric normalized Laplace matrix S, the formula is
[0068] S=D -1 / 2 LD -1 / 2 =ID -1 / 2 AD -1 / 2 .
[0069] I is the identity matrix;
[0070] Step 4: Perform steps 1 to 3 on the expected formation specified by the task to obtain the adjacency matrix A of the expected formation. des , Laplace matrix L des and the symmetric canonical Laplace matrix S des .
[0071] Step 5: Calculate the similarity difference between the current formation and the formation expected by the task; the similarity index proposed in this embodiment is defined as follows
[0072]
[0073] This formation similarity index is the similarity penalty term J in the optimization problem. f This index quantitatively evaluates the difference between two geometric formations. When the two formations are the same, the value of this item is zero. The greater the difference between the two geometric formations, the greater the value of this item. It is worth noting that the similarity index J proposed in this embodiment f There are three very good properties. The first is that it is invariant to translation and rotation, that is, when the cluster formation is translated or rotated as a whole in space, J f The size will not change, because the graph weight assignment in step 2 is a function of the Euclidean distance, which can reasonably extract geometric representations based on relative distance rather than absolute position. The second point is that the indicator is invariant to scale, because the proportional scaling of the cluster formation in size does not affect the geometric shape of the formation. Therefore, this embodiment achieves the effect of scaling invariance by normalizing the Laplace matrix using the degree matrix. The third point is that the indicator is non-negative and differentiable, that is, J f The gradient value of the position p of each drone in the cluster can be solved analytically. This property ensures that the optimization framework can optimize the indicator based on gradient information, thereby generating a flight trajectory of drones that can maintain the formation. For the i-th drone, construct its adjacency weight vector, write the edge weight value adjacent to the drone node as a vector, and get:
[0074] w i =[w i1 , ..., w ij , ..., w in ] T
[0075] Then the index J f For the i-th UAV position p i The gradient of can be calculated as follows:
[0076]
[0077] The gradient of the indicator to the edge weight is calculated as follows:
[0078]
[0079] The gradients of each part are:
[0080]
[0081]
[0082] Then calculate the weight w according to the edge weight function ij Vertex position p i The gradient of the final formation similarity index J can be obtained by using the chain rule f For the i-th UAV position p i gradient. Figure 2 It shows the effect of changing the formation similarity index caused by the position change of one of the four drones in a square formation, as well as the corresponding gradient direction.
[0083] After calculating the similarity index and gradient between the current formation and the expected formation, we substitute them into the optimization framework to obtain the final high-quality UAV trajectory. The specific process is as follows:
[0084] Step 1: Generate the ESDF in the current environment, obtain the neighboring obstacle information and corresponding numerical gradients, and construct the safe obstacle avoidance constraint term J o ; The UAVs build a formation similarity term J based on the mutual position information obtained through communication f and the mutual collision avoidance term J between clusters r ; Construct the remaining penalty term J based on the flight mission parameters and the UAV body parameters e , J t and J d . Except J f The construction expressions of other penalty terms can be found in reference [1]. Then the final optimization problem is constructed.
[0085]
[0086] Step 2: Use the optimization algorithm based on gradient information to iteratively optimize the optimization problem in step 1, and finally generate a high-quality trajectory for the current UAV that is safe, collision-free and maintainable.
[0087] Compared with other current methods, the differentiable formation similarity index based on graph theory and the trajectory optimization framework that considers both formation and obstacle avoidance in the method of this embodiment can not only achieve a more stable formation maintenance effect by relying on an effective overall geometric topological representation, but the similarity index also has the invariance of translation, rotation, and scale, so that when UAVs fly in formation in complex scenes, they can more flexibly deal with obstacles by rotating or scaling the overall formation, which greatly improves the success rate of optimization-based methods in such problems and has important engineering application significance.
[0088] Example 2
[0089] This example compares the method of Example 1 with two of the best cluster formation flying methods in the industry to demonstrate the efficiency and robustness of the method of Example 1. The two compared methods are: [5] Zhou's method and literature in [8] This embodiment conducts formation flight experiments on various methods in three scenarios with different obstacle densities, and compares the flight experiment results of various methods in the absolute position error of the formation e dist , formation similarity index e sim The comparison was made in three dimensions: the performance, the efficiency and the success rate of the flight mission. The experimental data are shown in Table 1.
[0090] Table 1
[0091]
[0092]
[0093] As can be seen from Table 1, the method proposed in Example 1 is superior to other methods in all aspects. In terms of success rate, even in scenes with dense obstacles, the method in Example 1 can still achieve a high success rate of 95%. In terms of the effect of formation maintenance, in three density scenes, the method in Example 1 is superior to other methods in terms of formation absolute position error e dist Or the formation similarity index e sim Both are smaller than the other two methods, indicating that the method of Example 1 can keep the cluster formation more stable.
[0094] Figure 3 The figure shows the comparison of the formation keeping effects of the three methods in the same scene in cluster flight, (a) is Zhou's method, (b) is Turpin's method, and (c) is the method of Example 1. It can be seen intuitively that the flight trajectory generated by the method of Example 1 has the best formation keeping effect and also achieves the smallest formation absolute position error e dist .
[0095] For those skilled in the art, various corresponding changes and modifications can be made according to the above technical solutions and concepts, and all of these changes and modifications should be included in the protection scope of the claims of the present invention.
Claims
1. A method for optimizing the flight trajectory of a cluster of UAVs based on graph theory, characterized in that: The main steps include: S1. For a cluster composed of N drones, the cluster is modeled and the formation similarity index and its gradient are calculated. The specific process is as follows: S1.
1. For a cluster of N drones, based on their current formation, their mutual topological relationship is modeled into a fully connected undirected graph G = (V, E), where V = {1, 2, ..., N} represents the set of vertices. Represents a set of edges; in graph G, vertex i represents the position coordinate p of the i-th drone i , if and only if the i-th UAV and the j-th UAV can obtain each other's position information through network communication, the edge e connecting vertex i and vertex j ij Only then does it exist; S1.2, for the edge e connecting vertex i and vertex j in the undirected graph constructed in step S1.1 ij Assign non-negative weight w ij , we get a weighted undirected graph; S1.3, calculating the representation matrix of the weighted undirected graph obtained in step S1.2, including the adjacency matrix A, the degree matrix D and the Laplace matrix L; the calculation formula of the Laplace matrix L is: L=DA The Laplace matrix L is normalized by the degree matrix D to obtain the symmetric normalized Laplace matrix S, the formula is S = D -1 / 2 LD -1 / 2 =ID -1 / 2 AD -1 / 2 ; I is the identity matrix; S1.
4. Perform steps S1.1-S1.3 on the expected formation specified by the task to obtain the adjacency matrix A of the expected formation. des , Laplace matrix L des and the symmetric canonical Laplace matrix S des ; S1.
5. Calculate the similarity difference between the current formation and the expected formation; the similarity index of the formation is defined as follows: For the i-th drone, construct its adjacency weight vector, write the edge weight value adjacent to the i-th drone node as a vector, and get w i =[ω i1 ,...,oh ij ,...,w in ] T The similarity index J f For the i-th UAV position p i The calculation formula of the gradient is: Among them, the similarity index J f The gradient of the edge weights in the graph G is calculated as follows: Then calculate the weight w according to the edge weight function ij Vertex position p i The gradient of the final formation similarity index J can be obtained by using the chain rule f For the i-th UAV position p i The gradient of S2. After calculating the similarity index and gradient between the current formation and the expected formation, substitute them into the optimization framework to solve the final high-quality UAV trajectory. The specific process is as follows: S2.
1. The polynomial trajectory class MINC0 with minimum control input is used to construct the time-space parameterized UAV flat output trajectory and take it as the optimization object. This trajectory class relies on parameters c and T to characterize the optimized UAV trajectory, where vector c represents the trajectory coefficient of the piecewise polynomial and vector T represents the time distribution of the piecewise trajectory. Based on the MINC0 trajectory representation, the trajectory generation of formation flying is constructed as an unconstrained optimization problem: The subscript J represents a penalty term, the subscripts {e, t, o, f, r, d} represent the energy cost term, the total trajectory time term, the safety obstacle avoidance constraint term, the formation similarity term, the mutual collision avoidance term between clusters, and the dynamic feasibility term, respectively, and λ represents the weight; S2.
2. Generate ESDF in the current environment, obtain the adjacent obstacle information and corresponding numerical gradient, and construct the safe obstacle avoidance constraint term J o ; J f This is the similarity index obtained in step S1; the mutual collision avoidance term J between clusters is constructed using the mutual position information between drones obtained through communication r ; Construct the remaining penalty term J based on the flight mission parameters and the UAV body parameters e , J t and J d ; S2.
3. Use the optimization algorithm based on gradient information to iteratively optimize the optimization problem in step S2.1, and finally generate a high-quality trajectory for the current UAV that is safe, collision-free and maintainable.
2. The method according to claim 1, characterized in that In step S1.2, for the edge e connecting vertex i and vertex j ij , whose weight w ij is a non-negative function of the Euclidean distance between two drones, that is: oh ij =||p i -p j || 2 p i is the position coordinate of the i-th UAV, p j is the position coordinate of the jth UAV.
Citation Information
Patent Citations
Cluster UAV (unmanned aerial vehicle) locus and attitude cooperative control method for safety domain
CN108388270A
Cluster unmanned aerial vehicle formation method based on model prediction control framework
CN110162086A
Unmanned aerial vehicle cluster three-dimensional formation method
CN112684807A
Cluster four-rotor unmanned aerial vehicle path generation method based on task logic scheduling
CN113359831A
Multi-agent output formation tracking control method and system
CN113485344A
