Unmanned aerial vehicle swarm formation cooperative control method
Through the mesh + AP mode networking and three-dimensional relative coordinate design, combined with the optimized 3D-A* pathfinding algorithm, the problems of group management and communication reliability in UAV swarm tactics are solved, and dynamic networking and rapid teaming are realized. Shape transformation improves the military application efficiency of UAV formations.
Patent Information
- Application Number
- CN202410709786.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-08-30
AI Technical Summary
Existing drone swarm tactics have challenges in group management, communication reliability and autonomous decision-making, which affect their effectiveness in military applications.
The mesh + AP mode networking structure is used for UAV communication, and UAV formation planning and transformation is realized through three-dimensional relative coordinate design and optimized 3D-A* pathfinding algorithm to ensure stable communication and path optimization.
It achieves dynamic networking, fault-resistant communication capabilities and rapid formation changes, improving the flexibility and efficiency of UAV formations and adapting to the needs of different application scenarios.
Smart Images

Figure CN118567376A
Abstract
Description
Technical Field
[0001] The present application relates to the field of drone control technology, and in particular to a method for collaborative control of a drone swarm formation. Background Art
[0002] The rapid development of drone technology has brought new possibilities to the military field. Among them, swarm tactics, as a military strategy of collective coordinated action, has attracted much attention. Swarm tactics use a large number of drones to form groups and implement missions in a way of collective intelligence and coordinated action.
[0003] As a military strategy of collective coordinated action, swarm formation tactics utilizes the collective intelligence and coordination capabilities of drone formations and has broad military application prospects. The application of swarm formation technology in the military field:
[0004] 1) Reconnaissance and surveillance: Explore the application of swarm tactics in reconnaissance and surveillance missions, including wide-area search and target tracking;
[0005] 2) Strike and Defense: Discuss the potential application of swarm tactics in strike and defense missions, such as precision strike and air defense operations;
[0006] 3) Search and Rescue: Introduces the advantages of swarm tactics in search and rescue operations, including rapid search and long-range communications.
[0007] However, the implementation of swarm tactics still faces many technical challenges, including the need to solve problems such as grouping management, communication reliability and autonomous decision-making. Despite this, the visual feast and military effectiveness brought by swarm tactics make it a tactical means worthy of attention in future military wars. With the further development and improvement of technology, swarm tactics are expected to provide new strategic options for modern military operations. Therefore, a new control method is urgently needed to optimize and solve existing problems. Summary of the invention
[0008] In order to solve the problems of group management, communication reliability and autonomous decision-making faced by the existing technology in implementing swarm tactics, the present application provides a method for collaborative control of drone swarm formations.
[0009] The embodiment of the present application is implemented as follows:
[0010] The present application provides a method for cooperative control of a swarm of drones, comprising:
[0011] Communication solution: including a ground station and multiple drone groups. The drones in the drone group are all mesh network structures. There is no signal association between the groups. They are all managed by the ground station. The ground station and the drone group are managed through AP mode.
[0012] Swarm flight formation design: The formation of the drone group is planned using three-dimensional relative coordinates, with a preset coordinate spacing of D meters. The coordinate spacing is designed based on the safety distance of the drones. When using RTK, the minimum coordinate spacing D is set to 1 meter.
[0013] Formation flight plan: The drone group includes a master drone and slave drones. When the drone group is hovering and on standby in the air according to a specified formation, the master drone is controlled by the ground station, and the slave drones follow the master drone to move according to a preset formation.
[0014] In a possible implementation, the communication solution further includes:
[0015] The drones in the drone group automatically select a master node to communicate with the ground station according to the signal quality. If the master node is down or fails, other nodes will automatically replace it as the master node to communicate with the ground station;
[0016] The mesh+Ap mode is used to build a cluster communication solution, which can adapt to the convenience of the mesh networking method and meet the communication distance of the AP mode.
[0017] In a possible implementation, the swarm flight formation design further includes:
[0018] The XY axis direction represents the horizontal offset from the master drone, and the Z axis direction represents the height offset from the master drone. Taking the master drone coordinate P0 (0, 0, 0) as the reference, the relative positions of other slave drones and the master drone are designed respectively.
[0019] In a possible implementation, the swarm flight formation design further includes:
[0020] When the drone group is arranged in a herringbone shape, the coordinates P1 of the first slave drone are (1, -1, 0), and the coordinates P2 of the second slave drone are (-1, -1, 0), then the actual distance between the master and slave drones is S = D meters, the first slave UAV is oriented 135 degrees relative to the host (true north is 0 degrees, the range is 0-360 degrees), and the second slave UAV is oriented 225 degrees relative to the host, thus meeting the real-time formation change requirements.
[0021] In a possible implementation, the formation flying scheme further includes:
[0022] When the preset formation has not been reached, the system uses the 3D-A* path-finding algorithm to find the optimal path and control the drone to reach the formation point.
[0023] In a possible implementation, the path finding algorithm includes:
[0024] Generate xyz three-dimensional map world grid according to the drones in the current group;
[0025] The default value G represents the distance from the starting point to the current path, and H represents the distance from the current location to the end point. The estimated value F=G+H;
[0026] Define openList to represent the path nodes to be detected, and closeList to represent the path nodes that have been detected;
[0027] Based on the xyz three-dimensional map world grid, the motion path is determined according to the initial node and the target node of the drone.
[0028] In a possible implementation, after the step of determining the motion path based on the xyz three-dimensional map world grid and according to the initial node and the target node of the drone, the method further includes:
[0029] All drones are path-finding based on the path-finding algorithm. After all drones have completed path-finding, the drones are guided to reach corresponding target points to complete the formation transformation of the drones.
[0030] In a possible implementation, generating an xyz three-dimensional map world grid according to the drones in the current group also includes:
[0031] The spacing is the minimum safe distance D meters between two drones. The length and width of the map are three times the length of the outermost and innermost drones in the group. The map height is the height of the lowest drone and the height of the highest drone in the group * 2. The current positions of the drones are C1, C2, C3...Cn, and the coordinates of the target points that the drones need to reach are T1, T2, T3...Tn.
[0032] In a possible implementation, the determining of the motion path based on the xyz three-dimensional map world grid and according to the initial node and the target node of the drone further includes:
[0033] When the drone needs to reach T1 (X1', Y1', Z1') from C1 (X1, Y1, Z1), the initial node C1 is put into the openList list;
[0034] Find out whether there are obstacles in the six directions of C1 (front, back, left, right, up, down), with coordinates of (X0, Y1, Z1), (X1, Y0, Z1), (X0, Y0, Z1), (X1, Y1, Z1), (X1, Y1, Z2), (X1, Y1, Z0);
[0035] If it passes normally, add the coordinates to the openList list, and remove C1 (X1, Y1, Z1) from the openList and add it to the closeList list;
[0036] If the node is occupied and there are obstacles that cannot be passed, it is added to the closeList list.
[0037] In a possible implementation, the method of performing pathfinding for all drones based on the pathfinding algorithm, and guiding the drones to corresponding target points after all drones have completed pathfinding, and completing the drone formation transformation, further includes:
[0038] Select a node with the minimum F value from openList, loop the world grid based on the xyz three-dimensional map, and determine the motion path step according to the initial node and the target node of the drone;
[0039] Until there is no node in openList, or the target point T1 (X1,,Y1,,Z1,) exists in openList, it means that the path has been found or there is no path, and the found path is marked, and other drones cannot go to this node;
[0040] And continue to find the path for drone No. 2 C2 to fly to T2, and mark drone No. 2 as occupied, and so on to find the path for all drones;
[0041] After all drones have completed pathfinding, they begin to guide the drones to the corresponding T target point, and the drones complete the formation change.
[0042] The technical solution provided by this application can at least achieve the following beneficial effects:
[0043] The method for coordinated control of drone swarm formation provided in this application:
[0044] By adopting the mesh + AP fusion method, the self-organizing network communication node is embodied in the form of a module on the drone, which can realize dynamic networking as the drone moves. According to the different drone formations, it can meet different application scenarios of range coverage and communication extension. The equipment adopts a full IP design and is highly compatible with other devices; it supports data transparent transmission and serial port communication, is compatible with the needs of different application scenarios, and is equipped with AP mode, which makes the drone maintain communication at a longer distance with the ground, making it more flexible to use.
[0045] By adopting the basic XYZ three-dimensional coordinate system design and planning, the entire planning process is simple and clear, and any 2D or 3D formation can be quickly planned.
[0046] By using the optimized 3D-A* pathfinding algorithm to transform the formation, as a heuristic algorithm, the heuristic information is used to find the optimal path. Based on the 2D pathfinding, the algorithm adds a height dimension. The algorithm needs to search for nodes in the map and set a suitable heuristic function for guidance. By evaluating the cost value of each node, the next best node to be expanded is obtained until the final target point is reached. The advantage of this algorithm is that it responds quickly to the environment and searches for paths directly. It is a direct search algorithm. This application uses the map within the drone group, reduces the number of nodes in the map, and improves the pathfinding efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0048] Figure 1 is a schematic diagram of the structure of a drone group node shown in an exemplary embodiment of the present application;
[0049] Figure 2 is a schematic diagram of the structure of a ground station and a multi-UAV group shown in an exemplary embodiment of the present application;
[0050] Figure 3 is a diagrammatic illustration of an estimated value F in a pathfinding algorithm shown in an exemplary embodiment of the present application;
[0051] Figure 4 is a schematic diagram of a node diagram of a path found according to an exemplary embodiment of the present application;
[0052] Figure 5 is a schematic diagram of a path finding result shown in an exemplary embodiment of the present application;
[0053] Figure 6 is a flowchart of a path-finding algorithm shown in an exemplary embodiment of the present application;
[0054] Figure 7 is a schematic diagram of a flow chart of determining a motion path of a drone according to an exemplary embodiment of the present application;
[0055] Figure 8 It is a schematic diagram of a process of guiding the formation change of drones shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, not all of the embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
[0057] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0058] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0059] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0060] To facilitate the technical solution of the application, some concepts involved in the application are first explained below.
[0061] The rapid development of drone technology has brought new possibilities to the military field. Among them, swarm tactics, as a military strategy of collective coordinated action, has attracted much attention. Swarm tactics use a large number of drones to form groups and implement missions in a way of collective intelligence and coordinated action.
[0062] Before explaining the method for collaborative control of a drone swarm formation provided in an embodiment of the present application, the application scenario and implementation environment of the embodiment of the present application are first introduced.
[0063] As a military strategy of collective coordinated action, swarm formation tactics utilizes the collective intelligence and coordination capabilities of drone formations and has broad military application prospects. It shows great potential in tasks such as reconnaissance and surveillance, strike and defense, and search and rescue. However, the implementation of swarm tactics faces technical challenges, and it is necessary to solve problems such as formation management, communication reliability, and autonomous decision-making. Nevertheless, the visual feast and military effectiveness brought by swarm tactics make it a tactical means worthy of attention in future military wars. With the further development and improvement of technology, swarm tactics are expected to provide new strategic options for modern military operations.
[0064] The military applications of swarm formation technology include:
[0065] 1) Reconnaissance and surveillance: Explore the application of swarm tactics in reconnaissance and surveillance tasks, including wide-area search and target tracking.
[0066] 2) Strike and Defense: Discuss the potential application of swarm tactics in strike and defense missions, such as precision strike and air defense operations.
[0067] 3) Search and Rescue: Introduces the advantages of swarm tactics in search and rescue operations, including rapid search and long-range communications.
[0068] Its technical challenges and prospects:
[0069] 1) Technical Challenges: Analyze the technical challenges in the implementation of swarm tactics, such as grouping management, communication reliability, and autonomous decision-making capabilities.
[0070] 2) Development prospects: Assess the development prospects of swarm tactics in future military warfare, including changes in tactical applications and operational theories.
[0071] Specifically, there are a variety of technical issues, including:
[0072] Communication issues: Drone communications include communications between aircraft and between aircraft and the ground. Currently, most wireless signals are 2.4G and 5.8G, and wireless signals in these two frequency bands are very susceptible to interference.
[0073] Coordination issues: The flight of a single drone is easy to predict and design, but in formation flight, each drone needs to maintain its own route and trajectory while maintaining a fixed formation with other drones, which introduces additional time nodes in the three-dimensional layer.
[0074] Safety issues: The drone will take preset safety measures when the battery is low, the GPS satellite signal is suddenly lost, the compass is severely interfered with, etc. However, during the swarm formation flight, if a drone triggers a return or other action, it may cause a collision.
[0075] Formation change problem: During the formation change process, the commonly used path-finding algorithm cannot change quickly and in time.
[0076] Based on this, the present application provides a method for collaborative control of drone swarm formations, which adopts mesh + AP fusion for networking, and uses three-dimensional relative coordinates for pre-design, and uses an optimized 3D-A* pathfinding algorithm for formation transformation, which can effectively resolve conflicts between multiple drones in a limited space and infinitely extend the number of drone nodes; the low-cost, highly decentralized form meets functional requirements; a dynamic self-healing network can be formed, and through decentralized self-organizing networks, high-speed information sharing, fault resistance and self-healing capabilities can be achieved. It has distributed cluster intelligence, and can use distributed topology nodes and the 3D-A* pathfinding algorithm to quickly and timely find the optimal shortest path, occupy less airspace, and avoid deadlock and other problems.
[0077] Next, the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems will be described in detail through embodiments and in combination with the accompanying drawings. The embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Obviously, the described embodiments are part of the embodiments of the present application, not all of them.
[0078] Figure 1 is a schematic diagram of the structure of a drone group node shown in an exemplary embodiment of the present application, Figure 2 It is a schematic diagram of the structure of a ground station and a multi-UAV group shown in an exemplary embodiment of the present application.
[0079] In an exemplary embodiment, a method for cooperative control of a drone swarm formation is provided. In this embodiment, the method may include:
[0080] Communication scheme: Figure 2 As shown, it includes a ground station and multiple drone groups. The drones placed in the drone groups are all mesh network structures. There is no signal connection between the groups. They are uniformly managed by the ground station. The ground station and the drone groups are managed through AP mode.
[0081] Among them, the drones in the drone group automatically select a master node to communicate with the ground station according to the signal quality. If the master node is down or fails, other nodes will automatically replace it as the master node to communicate with the ground station;
[0082] The mesh+Ap mode is used to build a cluster communication solution, which can adapt to the convenience of the mesh networking method and meet the communication distance of the AP mode.
[0083] Swarm flight formation design: The formation of the drone group is planned using three-dimensional relative coordinates, with a preset coordinate spacing of D meters. The coordinate spacing is designed based on the safe distance of the drones. When using RTK, the minimum coordinate spacing D is set to 1 meter.
[0084] The XY axis direction represents the horizontal offset from the master drone, and the Z axis direction represents the height offset from the master drone. The master drone coordinate P0 (0, 0, 0) is used as a reference to design the relative positions of other slave drones and the master drone. For example, when the drone group is arranged in a herringbone shape, the internal coordinate P1 of the first slave drone is (1, -1, 0), and the internal coordinate P2 of the second slave drone is (-1, -1, 0). Then the actual distance between the master and slave drones is S = D meters, the first slave UAV is oriented 135 degrees relative to the host (true north is 0 degrees, the range is 0-360 degrees), and the second slave UAV is oriented 225 degrees relative to the host, thus meeting the real-time formation change requirements.
[0085] Formation flying scheme: Figure 1 As shown, the drone group includes a master drone and a slave drone. When the drone group is hovering and on standby in the air according to a specified formation, the master drone is controlled to fly through the ground station, and the slave drone follows the master drone to move according to a preset formation. When the preset formation has not been reached, the system uses a 3D-A* pathfinding algorithm to find the optimal path and control the drone to reach the formation point.
[0086] Figure 3 is a diagrammatic illustration of an estimated value F in a pathfinding algorithm shown in an exemplary embodiment of the present application, Figure 6 It is a flowchart of a path-finding algorithm shown in an exemplary embodiment of the present application.
[0087] In one possible implementation, Figure 6 As shown, the path finding algorithm specifically includes the following steps:
[0088] Step 100: Generate an xyz three-dimensional map world grid based on the drones in the current group.
[0089] Step 200: Preset G to represent the distance from the starting point to the current path, and H to represent how far the current position is from the end point. Figure 3 As shown, the estimated value F=G+H.
[0090] Step 300: define openList to represent the path nodes to be detected, and closeList to represent the path nodes that have been detected.
[0091] Step 400: Based on the xyz three-dimensional map world grid, the motion path is determined according to the initial node and the target node of the drone.
[0092] Step 500: All drones are routed based on the route-finding algorithm. After all drones have completed route-finding, the drones are guided to reach corresponding target points to complete the drone formation transformation.
[0093] In a possible implementation, step 100 specifically includes:
[0094] Generate an xyz three-dimensional map world grid based on the drones in the current group. The spacing is the minimum safe distance D meters between two drones. The length and width of the map are 3 times the outermost and innermost drones in the group. The map height is the lowest drone height and the highest drone height in the group * 2. The current positions of the drones are C1, C2, C3...Cn, and the coordinates of the target points that the drones need to reach are T1, T2, T3...Tn.
[0095] Figure 4 is a schematic diagram of a node diagram of a path found according to an exemplary embodiment of the present application. Figure 7 It is a schematic diagram of a flow chart of determining the motion path of a drone shown in an exemplary embodiment of the present application.
[0096] In one possible implementation, Figure 4 and Figure 7 Step 400 further includes:
[0097] Step 410: When the drone needs to reach T1 (X1', Y1', Z1') from C1 (X1, Y1, Z1), the initial node C1 is put into the openList list.
[0098] Step 420: Search C1 six directions (front, back, left, right, up, down), with coordinates of (X0, Y1, Z1), (X1, Y0, Z1), (X0, Y0, Z1), (X1, Y1, Z1), (X1, Y1, Z2), (X1, Y1, Z0), to see if there are any obstacles.
[0099] Step 430: If it can be passed normally, add the coordinates to the openList list, and remove C1 (X1, Y1, Z1) from the openList and add it to the closeList list.
[0100] Step 440: If the node is occupied and there are obstacles that make it inaccessible, then add it to the closeList list.
[0101] Figure 5 is a schematic diagram of a path finding result shown in an exemplary embodiment of the present application. Figure 8 It is a schematic diagram of a process of guiding the formation change of drones shown in an exemplary embodiment of the present application.
[0102] In one possible implementation, Figure 5 and Figure 8 As shown, step 500 further includes:
[0103] Step 510: Select a node with a minimum F value from the openList, loop the step based on the xyz three-dimensional map world grid, and determine the motion path according to the initial node and the target node of the drone;
[0104] Step 520: until there is no node in the openList, or the target point T1 (X1,, Y1,, Z1,) exists in the openList, it means that the path has been found or there is no path, and the found path is marked, and other drones cannot go to this node;
[0105] Step 530: Continue to search for the path for UAV No. 2 C2 to fly to T2, and mark UAV No. 2 as occupied, and so on to search for paths for all UAVs;
[0106] Step 540: After all drones have completed pathfinding, they begin to guide the drones to the corresponding T target point, and the drones complete the formation change.
[0107] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the instructions, these steps are not necessarily executed in sequence according to the order of the instructions. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the above-mentioned embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the steps or stages in other steps.
[0108] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0109] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for cooperative control of drone swarm formation, characterized in that: include: Communication solution: including a ground station and multiple drone groups. The drones in the drone group are all mesh network structures. There is no signal association between the groups. They are all managed by the ground station. The ground station and the drone group are managed through AP mode. Swarm flight formation design: The formation of the drone group is planned using three-dimensional relative coordinates, with a preset coordinate spacing of D meters. The coordinate spacing is designed based on the safety distance of the drones. When using RTK, the minimum coordinate spacing D is set to 1 meter. Formation flight plan: The drone group includes a master drone and slave drones. When the drone group is hovering and on standby in the air according to a specified formation, the master drone is controlled by the ground station, and the slave drones follow the master drone to move according to a preset formation.
2. The method for cooperative control of drone swarm formation according to claim 1, characterized in that: The communication scheme also includes: The drones in the drone group automatically select a master node to communicate with the ground station according to the signal quality. If the master node is down or fails, other nodes will automatically replace it as the master node to communicate with the ground station; The mesh+Ap mode is used to build a cluster communication solution, which can adapt to the convenience of the mesh networking method and meet the communication distance of the AP mode.
3. The method for cooperative control of drone swarm formation according to claim 1, characterized in that: The swarm flight formation design also includes: The XY axis direction represents the horizontal offset from the master drone, and the Z axis direction represents the height offset from the master drone. Taking the master drone coordinate P0 (0, 0, 0) as the reference, the relative positions of other slave drones and the master drone are designed respectively.
4. The method for cooperative control of drone swarm formation according to claim 3, characterized in that: The swarm flight formation design also includes: When the drone group is arranged in a "human" shape, the coordinates P1 of the first slave drone are (1, -1, 0), and the coordinates P2 of the second slave drone are (-1, -1, 0). Then the actual distance between the master and slave drones is S = D meters, the first slave UAV is oriented 135 degrees relative to the host (true north is 0 degrees, the range is 0-360 degrees), and the second slave UAV is oriented 225 degrees relative to the host, thus meeting the real-time formation change requirements.
5. The method for cooperative control of drone swarm formation according to claim 1, characterized in that: The formation flying scheme also includes: When the preset formation has not been reached, the system uses the 3D-A* path-finding algorithm to find the optimal path and control the drone to reach the formation point.
6. The method for cooperative control of drone swarm formation according to claim 5, characterized in that: The path-finding algorithm includes: Generate xyz three-dimensional map world grid according to the drones in the current group; The default value G represents the distance from the starting point to the current path, and H represents the distance from the current location to the end point. The estimated value F=G+H; Define openList to represent the path nodes to be detected, and closeList to represent the path nodes that have been detected; Based on the xyz three-dimensional map world grid, the motion path is determined according to the initial node and the target node of the drone.
7. The method for cooperative control of drone swarm formation according to claim 6, characterized in that: After the step of determining the motion path based on the xyz three-dimensional map world grid and according to the initial node and the target node of the drone, the method further includes: All drones are path-finding based on the path-finding algorithm. After all drones have completed path-finding, the drones are guided to reach corresponding target points to complete the formation transformation of the drones.
8. The method for cooperative control of drone swarm formation according to claim 6, characterized in that: The generating of the xyz three-dimensional map world grid according to the drones in the current group also includes: The spacing is the minimum safe distance D meters between two drones. The length and width of the map are three times the length of the outermost and innermost drones in the group. The map height is the height of the lowest drone and the height of the highest drone in the group * 2. The current positions of the drones are C1, C2, C3...Cn, and the coordinates of the target points that the drones need to reach are T1, T2, T3...Tn.
9. The method for cooperative control of drone swarm formation according to claim 6, characterized in that: The method of determining the motion path based on the xyz three-dimensional map world grid and according to the initial node and the target node of the drone further includes: When the drone needs to reach T1 (X1', Y1', Z1') from C1 (X1, Y1, Z1), the initial node C1 is put into the openList list; Find out whether there are obstacles in the six directions of C1 (front, back, left, right, up, down), with coordinates of (X0, Y1, Z1), (X1, Y0, Z1), (X0, Y0, Z1), (X1, Y1, Z1), (X1, Y1, Z2), (X1, Y1, Z0); If it passes normally, add the coordinates to the openList list, and remove C1 (X1, Y1, Z1) from the openList and add it to the closeList list; If the node is occupied and there are obstacles that cannot be passed, it is added to the closeList list.
10. The method for cooperative control of drone swarm formation according to claim 9, characterized in that: The method further comprises: performing pathfinding for all drones based on the pathfinding algorithm, and guiding the drones to corresponding target points after all drones have completed pathfinding, so as to complete the formation transformation of the drones. Select a node with the minimum F value from openList, loop the world grid based on the xyz three-dimensional map, and determine the motion path step according to the initial node and the target node of the drone; Until there is no node in openList, or the target point T1 (X1,,Y1,,Z1,) exists in openList, it means that the path has been found or there is no path, and the found path is marked, and other drones cannot go to this node; And continue to find the path for drone No. 2 C2 to fly to T2, and mark drone No. 2 as occupied, and so on to find the path for all drones; After all drones have completed pathfinding, they begin to guide the drones to the corresponding T target point, and the drones complete the formation change.
