Unmanned aerial vehicle cluster cooperative control method and device, electronic equipment and storage medium
By combining local environmental perception and neighbor state interaction with an adaptive target-oriented strategy based on pre-defined individual identities, the problem of insufficient collaborative traversal capability of UAV swarms in unknown environments has been solved, enabling safe and efficient swarm collaborative flight.
Patent Information
- Application Number
- CN202611348200.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-02
- Publication Date
- 2026-11-20
AI Technical Summary
Existing UAV swarm cooperative traversal technologies suffer from several drawbacks in unknown or unstructured environments, including strong reliance on prior environmental information, insufficient robustness of swarm collaboration, high computational complexity, and poor scene adaptability, resulting in low UAV swarm cooperative traversal capabilities.
By integrating local environmental perception, neighbor status interaction, and individual preset identity, an adaptive target-oriented strategy (AGDS) is adopted to perform autonomous speed planning and cluster collaboration for individual UAVs. The system uses visual sensors to acquire local environmental information, inter-UAV communication modules to acquire neighbor status information, and combines preset identity information to determine the desired velocity vector. Finally, the system adjusts the flight attitude and trajectory through attitude control commands.
It improves the ability of UAV swarms to traverse unknown environments in a coordinated manner, enabling safe and efficient swarm coordinated flight in unknown environments.
Smart Images

Figure CN123137328A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of unmanned aerial vehicle (UAV) swarm control and coordination technology, and in particular to UAV swarm collaborative control methods, devices, electronic equipment and storage media. Background Technology
[0002] The collaborative drone swarm technology has significant application value in tasks such as complex environment exploration and disaster search and rescue. This technology requires drone swarms to autonomously plan their paths and maintain formation in unknown or unstructured environments (such as canyons and forests), relying solely on local perception and neighbor interactions, in order to safely and efficiently reach the target area in a group form.
[0003] Existing UAV swarm cooperative traversal technologies typically employ an experience-transfer-based approach, where ground stations centrally update environmental node information and feed it back to the UAVs for path decision-making. This method suffers from drawbacks such as strong reliance on prior environmental information, insufficient robustness of swarm collaboration, high computational complexity, and poor scene adaptability, resulting in low cooperative traversal capabilities for UAV swarms in unknown environments. Summary of the Invention
[0004] In view of this, the embodiments of this application provide at least a method, apparatus, electronic device and storage medium for collaborative control of UAV swarms. By integrating local environmental perception, neighbor state interaction and individual preset identity, it realizes autonomous speed planning of individual UAVs and swarm collaboration, thereby improving the collaborative traversal capability of UAV swarms in unknown environments.
[0005] This application mainly includes the following aspects: In a first aspect, embodiments of this application provide a method for cooperative control of a drone swarm, applicable to any drone in a drone swarm, the method comprising: The system acquires local environmental information collected by the UAV's visual sensors and status information of neighboring UAVs received by the UAV's inter-UAV communication module. Based on the local environmental information, the status information of the neighboring drones, and the preset identity information of the drones in the drone cluster, the desired velocity vector of the drones is determined. Based on the desired velocity vector and the current motion state of the UAV, determine the attitude control command for the UAV; Based on the attitude control commands, the flight attitude and trajectory of the UAV are adjusted so that the UAV can fly in coordination with other UAVs in the UAV cluster.
[0006] Secondly, this application also provides a drone swarm collaborative control device, applied to any drone in a drone swarm, the drone swarm collaborative control device comprising: The data acquisition module is used to acquire local environmental information collected by the visual sensor of the UAV and status information of neighboring UAVs received by the inter-UAV communication module of the UAV. The first determining module is used to determine the desired velocity vector of the drone based on the local environmental information, the status information of the neighboring drones, and the preset identity information of the drone in the drone cluster. The second determining module is used to determine the attitude control command of the UAV based on the desired velocity vector and the current motion state of the UAV. The flight control module is used to adjust the flight attitude and trajectory of the UAV based on the attitude control commands, so that the UAV can fly in coordination with other UAVs in the UAV cluster.
[0007] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate through the bus. The machine-readable instructions are executed by the processor to perform the steps of the UAV swarm cooperative control method as described above.
[0008] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the unmanned aerial vehicle (UAV) swarm cooperative control method described above.
[0009] The UAV swarm cooperative control method, apparatus, electronic device, and storage medium provided in this application are applied to any UAV in a UAV swarm. The method includes: acquiring local environmental information collected by the UAV's visual sensor and state information of neighboring UAVs received by the UAV's inter-UAV communication module; determining the UAV's desired velocity vector based on the local environmental information, the neighboring UAVs' state information, and the UAV's preset identity information in the UAV swarm; determining the UAV's attitude control command based on the desired velocity vector and the UAV's current motion state; and adjusting the UAV's flight attitude and trajectory based on the attitude control command to enable the UAV to fly cooperatively with other UAVs in the UAV swarm. In this way, by integrating local environmental perception, neighboring state interaction, and individual preset identity, autonomous velocity planning and swarm cooperation of individual UAVs are achieved, improving the cooperative traversal capability of the UAV swarm in unknown environments.
[0010] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0011] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 A flowchart of a drone swarm cooperative control method provided in an embodiment of this application is shown; Figure 2 This illustration shows one of the functional block diagrams of a drone swarm collaborative control device provided in an embodiment of this application; Figure 3 This is a second functional block diagram of a drone swarm collaborative control device provided in an embodiment of this application; Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation
[0013] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0014] To facilitate understanding of this application, the technical solutions provided in this application will be described in detail below with reference to specific embodiments.
[0015] Please see Figure 1 , Figure 1 This is a flowchart illustrating a method for collaborative control of a drone swarm provided in an embodiment of this application. Figure 1 As shown in the embodiments of this application, the UAV swarm cooperative control method includes the following steps: S101, acquire local environmental information collected by the visual sensor of the UAV, and status information of neighboring UAVs received by the inter-UAV communication module of the UAV.
[0016] Here, the drone swarm employs a hybrid information interaction framework of "inter-drone communication - obstacle vision." Acquiring local environmental information is the core of the "obstacle vision" component, meaning each drone, relying on its own vision system, directly "perceives" obstacles within its local perception range, much like a living organism, without any global environment map or prior model. Acquiring neighbor status information is the foundation of the "inter-drone communication" component, meaning drones exchange necessary motion status information with other drones through their communication modules within a limited communication range to achieve local collaboration. The real-time acquisition of these two types of information together constitutes all the perceptual inputs for each drone to make distributed autonomous decisions.
[0017] In this embodiment, regarding "obstacle vision," an airborne vision sensor (such as a camera) continuously scans the environment surrounding the UAV to acquire raw visual data. The airborne processor then runs a vision processing algorithm to transform the raw data into structured information that can be used for obstacle avoidance decisions, such as determining whether an obstacle exists in a specific line of sight and its approximate distance. Regarding "inter-UAV communication," the UAV periodically broadcasts its own position, speed, and other status information through its wireless communication module, and simultaneously receives similar information broadcast from other neighboring UAVs within its communication range, thereby dynamically constructing and updating a state view of its local neighbor set. This information acquisition method ensures the system's adaptability in unknown environments and its robustness under communication-constrained conditions.
[0018] S102, based on the local environmental information, the status information of the neighboring drones, and the preset identity information of the drones in the drone cluster, determine the desired velocity vector of the drone.
[0019] Here, this application presents the core decision-making logic of an Adaptive Goal-Oriented Strategy (AGDS). The "pre-defined identity information" of the UAV is a key variable in its decision-making. This identity is determined during task initialization and can distinguish individuals in the cluster as informational individuals and non-informational individuals. The decision-making process aims to coordinate multiple objectives: achieving safe obstacle avoidance using local environmental information; achieving group collaboration (preventing collisions and maintaining formation) using neighbor state information; and, based on its own identity, differentially integrating task-oriented (for informational individuals) or group-following (for non-informational individuals). The final output desired velocity vector is a comprehensive result of the above multi-objective trade-offs.
[0020] In this embodiment, this step is executed by an adaptive target-oriented swarm traversal algorithm running on the UAV's onboard computer. The algorithm receives real-time perception data (environmental obstacle information and a list of neighbor states) provided in step S101, as well as its own identity coefficients read from non-volatile memory. The algorithm framework models the calculation of the desired velocity vector as a multi-input synthesis problem. This framework essentially transforms the swarm traversal problem into a real-time optimization problem, solving for the optimal motion command at the current moment by fusing different behavioral terms (corresponding to different tendencies such as obstacle avoidance, cooperation, and task completion). Specifically, the algorithm processes this information in parallel and follows a unified synthesis rule to calculate the final desired velocity vector, which directly guides the UAV's motion in the next moment.
[0021] S103, Based on the desired velocity vector and the current motion state of the UAV, determine the attitude control command for the UAV.
[0022] This step involves converting high-level motion decisions (desired velocity vector) into executable commands for the lower-level flight control system. Its core function is to generate specific airframe attitude adjustment commands based on the difference between the desired motion state and the current actual state.
[0023] S104, Based on the attitude control command, adjust the flight attitude and trajectory of the UAV so that the UAV can fly in coordination with other UAVs in the UAV cluster.
[0024] This step represents the final physical execution and effect realization stage of the control commands. By precisely executing attitude control commands, the drone's flight attitude is adjusted, thereby altering its trajectory and ultimately converging individual actions into a coordinated effect for the group.
[0025] This application embodiment describes a drone swarm consisting of N drones. Each drone is equipped with a swarm controller, a speed controller, and an attitude controller. The speed controller receives the desired velocity vector output by the swarm controller and simultaneously acquires the drone's current real-time motion state (including but not limited to current speed, position, and heading) fed back by sensors such as its inertial measurement unit and global positioning system. The speed controller processes the above inputs using a specific control algorithm, calculates the acceleration and angular velocity adjustments required to eliminate the deviation between the desired and actual states, and then generates a series of low-level attitude control commands. These commands are designed to directly drive the drone's attitude controller to change its pitch, roll, and yaw angles to achieve a smooth transition to the desired velocity vector. In this embodiment, the speed controller uses a proportional-integral-derivative (PI-DI) control algorithm, and the attitude controller uses the DJI flight control algorithm integrated into the Tello Edu.
[0026] Further, determining the desired velocity vector of the drone based on the local environmental information, the state information of the neighboring drones, and the preset identity information of the drone in the drone cluster includes: Step a1: Based on the state information of the neighboring drones, calculate the separation-alignment-convergence interaction velocity components of the drones.
[0027] Here, the Separate-Align-Gather (SAC) interaction velocity component is fundamental to maintaining the basic coordination, safety, and cohesion of drone swarms. Its core is based on mimicking three local interaction rules of flocks of birds or schools of fish in nature: the separation rule prevents drones from colliding with their neighbors, serving as the bottom line for safety; the alignment rule coordinates the movement directions between drones and their neighbors, reducing speed differences and achieving speed synchronization, thus ensuring the consistency and smoothness of the group's movement; and the gathering rule prevents drones from leaving the group, maintaining the swarm's integrity through attraction and avoiding group splits due to obstacle avoidance or maneuvering, which is crucial for ensuring that all individuals ultimately reach their destination.
[0028] Step a2: Calculate the visual obstacle avoidance velocity component of the UAV based on the local environmental information.
[0029] Here, the visual obstacle avoidance velocity component is the core of achieving safe interaction between the UAV and its environment. This method simulates biological vision mechanisms, modeling the UAV's perception range as a visual projection field and discretizing it into multiple perception directions (or fan-shaped regions). By determining whether there are obstacles in each direction and the proximity of the obstacles, the corresponding local repulsive force is calculated. This mechanism can produce an intelligent obstacle avoidance effect of "nearer objects appear larger, farther objects appear smaller": the closer the obstacle, the greater the repulsive force, and the direction of the repulsive force precisely corresponds to the obstacle's location, thus guiding the UAV to safely and smoothly avoid obstacles.
[0030] Step a3: If the preset identity information of the UAV is an information individual, then the mission information velocity component of the UAV is calculated based on the local environmental information and the preset target direction information.
[0031] Here, the velocity component of the mission information is crucial for guiding the information entity (the UAV aware of the target location) towards its destination. To avoid a direct conflict between target direction and obstacle avoidance requirements in unknown environments, this application designs an adaptive target-oriented strategy. The core idea of this strategy is: under the premise of ensuring safety, proceed as far as possible along the target direction; when there is an obstacle directly ahead, intelligently find a new direction in the passable airspace that is closest to the target direction as a temporary direction of movement, thereby dynamically and flexibly resolving the contradiction between mission orientation and obstacle avoidance safety.
[0032] Step a4: If the preset identity information of the drone is a non-information individual, then the intention propagation speed component of the drone is calculated based on the status information of the neighboring drone and the intention signal received by the inter-drone communication module.
[0033] Here, the intention propagation velocity component is the mechanism by which non-informational individuals (drones unaware of the target location) effectively follow the group and respond quickly to emergencies. Inspired by the rapid propagation of information in biological groups, this mechanism is implemented through a model called WiSt. Neighboring drones broadcast a signal called the "intention factor," the value of which reflects the importance or urgency of the information perceived by the neighbor (e.g., emergency obstacle avoidance). Non-informational individuals receive and filter these signals, identifying the neighbors with the strongest "intention" in the group and using their average direction of movement as the consensus direction they should follow, thus achieving rapid diffusion and consistency in group behavior.
[0034] Step a5: The separation-alignment-aggregation interaction velocity component, the visual obstacle avoidance velocity component, and the mission information velocity component or the intention propagation velocity component selected according to the identity of the UAV are vector synthesized to obtain the expected velocity vector of the UAV.
[0035] Here, vector synthesis is a crucial step in merging all independently calculated velocity components representing different behavioral tendencies into a unified, executable motion command. This reflects the core decision-making framework of this method: the desired velocity is not determined by a single factor, but rather by the dynamic balance of three factors: safety obstacle avoidance (visual obstacle avoidance component), group cooperation (SAC interaction component), and task execution (task or intention component). The synthesis process essentially assigns different weights to different behavioral objectives (which may be reflected in the magnitude and direction of the velocity vector itself in the algorithm), and synthesizes them through vector addition, ultimately outputting a physically achievable and optimally compromised desired velocity.
[0036] This application aims to address the problem of drone swarms traversing unknown environments when it cannot be guaranteed that all drones are aware of the destination information. The drone operator categorizes individuals within the swarm into informational and non-informational individuals. Before executing a mission, the operator selects the operational environment and then transmits mission information to the informational individuals. After the operator inputs the parameters from these two modules into the swarm traversal algorithm running on the drone's onboard computer, the drone swarm officially executes the swarm traversal mission. After completing a mission, the drone swarm inputs historical data into the "evaluation" module, allowing the operator to obtain a score for that mission. This score can be used for parameter optimization of the swarm algorithm and for evaluating mission completion. The mathematical description of the above algorithm framework is as follows: .
[0037] in, For drones The desired velocity vector, For the separation-alignment-aggregation interaction velocity components, For visual obstacle avoidance speed components, For the speed component of intention propagation, Represents the velocity component of task information. This indicates the identity coefficient set by the operator.
[0038] Furthermore, the identity of an individual drone within the swarm is hidden. During cooperative flight, it needs to obtain feedback information from its neighbors, thus ensuring that all individuals in the swarm have equal status. This also means that if some individual drones are damaged or lost, it will not affect information exchange within the swarm. Of course, drone operators can dynamically add new individuals or designate some non-information individuals in the swarm as information individuals.
[0039] Assume each drone has an identity coefficient. Its definition is as follows: .
[0040] Therefore, the identity matrix composed of these identity coefficients Defined as: .
[0041] Further, the step of calculating the separation-alignment-convergence interaction velocity component of the drone based on the state information of the neighboring drone includes: Step b1: Based on the status information of the neighboring drones, determine the distance and speed difference between the drone and each of the neighboring drones.
[0042] Here, distance and velocity difference are the fundamental physical quantities for calculating all cooperative rules. Distance directly reflects the spatial relationship between individuals and is the basis for judging whether a collision will occur or whether the group is too scattered. Velocity difference reflects the differences in the motion states between individuals and is an indicator of whether the group's motion is coordinated. Accurately obtaining these two pieces of information for each neighbor is a prerequisite for subsequent quantitative calculations using the separation, alignment, and clustering rules.
[0043] Step b2: Based on the distance between the drone and each neighboring drone and the preset separation rules, calculate the separation velocity component of the drone relative to each neighboring drone.
[0044] Here, the separation rule is the primary rule for ensuring the safety of swarm flight, and its purpose is to prevent physical collisions between drones. This rule simulates the need for biological individuals to maintain their personal space. Logically, the rule is as follows: when the distance between two drones is less than a preset "safe distance" (i.e., the separation range), a repulsive force will be generated between them, driving them away from each other. The closer the distance, the stronger the repulsive force, thus effectively establishing and maintaining a minimum collision avoidance buffer zone.
[0045] In this embodiment, the separation rule requires each drone to avoid collisions with other drones; this is one of the highest priority rules. The mathematical description of the separation velocity component is as follows: .
[0046] in, It is the linear gain of the separation effect. It is the range of action of the separation effect. It is the first The drone and the first The distance between the drones It is the Heaviside step function.
[0047] Step b3: Based on the speed difference between the drone and each neighboring drone and the preset alignment rules, calculate the alignment speed component of the drone relative to each neighboring drone.
[0048] Here, the alignment rule is a key rule for improving the consistency and efficiency of swarm movement, aiming to coordinate the movement direction of individuals within the group. This rule simulates the phenomenon of birds maintaining a consistent flight direction. Specifically, when the velocity direction of a neighboring drone is inconsistent with that of the current drone, it creates a force that prompts the current drone to adjust its velocity direction towards the average velocity direction of its neighbors. This helps reduce random movement among individuals, making the group more coordinated when moving in a certain direction as a whole, reducing internal friction and energy loss, and enabling it to respond more effectively to external disturbances.
[0049] In this embodiment, the alignment rule enables speed coordination within a drone swarm and prevents dangerous situations by reducing the speed difference between nearby neighbors. This rule is crucial in real-world swarms. The mathematical description of the alignment speed components is as follows: .
[0050] in, It is the linear gain of the velocity alignment effect. It is the maximum permissible speed difference. It is the first The drone and the first The speed difference between the drones.
[0051] Step b4: Based on the distance between the drone and each neighboring drone and the preset aggregation rules, calculate the aggregation velocity component of the drone relative to each neighboring drone.
[0052] Here, the aggregation rule is a crucial rule for maintaining the integrity of the cluster and preventing group splitting. Its purpose is to ensure that individuals do not leave the group. This rule simulates the tendency of biological individuals to remain within the group. Specifically, when the distance between two drones exceeds a preset "aggregation distance," a mutually attractive "force" is generated, driving them closer together. This is essential for maintaining group connectivity during complex environment traversal or high-speed maneuvers, because once the group splits into smaller, disconnected groups, and any group lacks informational individuals, that group will be unable to complete its mission.
[0053] In this embodiment, the aggregation rule requires that the distance between drones cannot be too great. This is because when a drone swarm is performing obstacle avoidance maneuvers or high-speed maneuvers, the group is prone to splitting into multiple subgroups. However, if some subgroups lack informational individuals, the entire drone swarm may not reach its destination. Therefore, the mathematical description of the aggregation velocity component is as follows: .
[0054] in, It is the linear gain of the aggregation effect. It is the distance at which the aggregation effect begins to take effect. Generally speaking, ,and , This represents the communication range of the drone.
[0055] Step b5: Add the separation velocity component, the alignment velocity component, and the aggregation velocity component to obtain the separation velocity of the UAV. Alignment Aggregate interaction speed component.
[0056] Here, vector addition is the final step in fusing the different behavioral tendencies arising from the three rules. The separation, alignment, and aggregation rules focus on three distinct but equally important aspects: safety, coordination, and wholeness. Simple vector addition allows these sometimes conflicting instructions to be integrated within a unified framework. For example, when a drone gets too close to its neighbor, a strong separation component might attempt to push it away, while the coexisting aggregation component might generate a weaker pull. The final composite velocity component will be the net result of these two effects plus the alignment effect, thus achieving a dynamic balance between collision avoidance and maintaining group cohesion.
[0057] In this embodiment, a separation-alignment-aggregation interaction speed component is set to complete the required separation rules, alignment rules, and aggregation rules: .
[0058] in, , and These represent the separation velocity component, alignment velocity component, and aggregation velocity component, respectively.
[0059] Further, calculating the visual obstacle avoidance velocity component of the UAV based on the local environmental information includes: Step c1: Based on the local environmental information, the visual perception range of the UAV is divided into multiple discrete perception directions.
[0060] Here, discretizing the continuous visual perception range is the foundation for simulating biological visual mechanisms and performing quantitative calculations. By uniformly dividing the 360-degree field of view (or forward effective field of view) around the UAV into multiple independent perception directions (or perception sectors), complex, continuous visual information can be transformed into a series of independently processable, discrete judgment and calculation units. This provides a structured input for subsequent directional assessment of obstacle threats and calculation of local repulsion responses.
[0061] In this embodiment of the application, each drone is considered to have a radius of... The disk, the visual projection field of the drone is a circle with a radius of The circle. The projection field is uniformly divided into... Each part is labeled as a section. ,in Therefore, the drone's line of sight can be abstracted as the line connecting the center of the disk and the circumference of the projection field.
[0062] Step c2: For each of the sensing directions, determine whether there is an obstacle in the sensing direction.
[0063] This step, the core of visual obstacle avoidance, aims to identify the location of all obstacles that pose a potential threat to the drone. By independently determining each discrete perceived direction, the algorithm can accurately pinpoint the angle range within which the obstacle appears, thus providing a basis for subsequent targeted repulsion force calculations. This direction-based obstacle presence determination is a prerequisite for achieving directional obstacle avoidance.
[0064] In this embodiment of the application, it is assumed that the drone has The field of vision is limited, but its view can be obstructed by obstacles or walls. The angle between the two lines of vision is... It is obvious that the closer the drone is to an obstacle or wall, the greater the angle of its field of view will be obstructed. The drone's projection field function is defined as: .
[0065] Step c3: For each perceived direction where an obstacle exists, calculate the local repulsion vector of the obstacle based on the relative orientation and estimated distance between the obstacle and the UAV.
[0066] Here, the local repulsion vector is a quantified response to a threat from an obstacle in a single direction. Its calculation follows a bio-inspired principle of "nearer objects appear larger, farther objects appear smaller": the closer the obstacle, the stronger the repulsive response; simultaneously, the direction of the repulsive force precisely deviates from the obstacle's location. This vector is designed to simultaneously incorporate adjustments to both velocity magnitude (acceleration / deceleration) and direction (turning), thereby guiding the drone effectively away from threats in a specific direction.
[0067] In this embodiment of the application, the speed of the drone is taken as an example. The direction is used as the reference direction for the visual projection field. Its counterclockwise normal direction is The upper and lower limits of the angle of the field of view occupied by the drone are defined as follows: and Therefore, the angle of the area occupied by the field of view is... The angle bisector of this included angle corresponds to the angle of... Therefore, the motion rules based on visual obstacle avoidance are as follows: .
[0068] in, and These represent the linear gains for speed change and steering, respectively (in this embodiment, control is required). ). From the body coordinate system To the world coordinate system The rotation matrix is defined as follows: .
[0069] in, Indicates drone Heading in the world coordinate system.
[0070] Step c4: Summate all the local repulsion vectors within the visual perception range of the UAV to obtain the visual obstacle avoidance velocity component of the UAV.
[0071] Here, vector summation enables comprehensive decision-making from multiple local threats to overall obstacle avoidance behavior. Multiple obstacles may exist around the drone in different directions, each generating a local repulsion vector that attempts to push the drone away in a specific direction. By summing all these local vectors, a composite, overall repulsion effect can be obtained. This composite vector comprehensively considers threats from all directions; its direction indicates the safest overall escape direction at present, and its magnitude reflects the overall urgency of the threats, ultimately forming the visual obstacle avoidance velocity component that guides the drone's comprehensive obstacle avoidance maneuvers (such as detouring or retreating).
[0072] In this embodiment, the obstacle avoidance speed of the drone is determined by its magnitude and direction. The magnitude of the speed determines the drone's acceleration and deceleration, while the direction determines its left and right turns. (Visual obstacle avoidance item) It can produce a short-range repulsion effect of "objects appearing larger when closer and smaller when farther away"; the first term of the matrix in the motion rules based on visual obstacle avoidance can be applied to drones. A repulsive force is generated in the forward and backward directions. When the obstacle is located in front of the drone... ahead, drone It will perform a deceleration behavior; and when the obstacle is located on the drone When in the rear, the drone It will execute acceleration behavior; the second term of the matrix in the motion rules based on visual obstacle avoidance can be applied to drones. A repulsive force is generated in the forward and backward directions. When the obstacle is located in front of the drone... On the left, the drone It will perform a right turn; and when the obstacle is located on the drone On the right, the drone It will perform a left turn.
[0073] Furthermore, if the drone is an information entity, the step of calculating the drone's mission information velocity component based on the local environmental information and the preset target direction information includes: Step d1: Based on the target direction information, determine the preferred direction pointing to the target area.
[0074] Here, the preferred direction is mission-oriented information unique to the individual drone, providing it with a macroscopic, ultimate motion target. This direction is typically a unit vector pointing from the drone's current position to the target area, representing the drone's most desired flight direction without considering any environmental constraints. Determining the preferred direction is the starting point for mission-oriented calculations, and all subsequent adaptive adjustments will be based on this direction.
[0075] In this embodiment, a task information item is established. The main function of this item is to enable the UAV to carry the location information of the destination, which can be selected by the preferred direction. This is represented by the unit velocity vector pointing towards the destination area; the mathematical description of the task information item is the velocity vector in the preferred direction. : .
[0076] in, This is the preferred speed, i.e., the expected swarm speed value for the drone cluster. The above formula represents mission information based on AGDS.
[0077] Step d2: Based on the local environmental information, determine whether there are obstacles in the sector area along the preferred direction and with an angle of a preset safety angle.
[0078] Here, the purpose of this step is to assess the safety of proceeding directly in the preferred direction. The drone needs to maintain a basic "safety envelope" during flight, and a preset safety angle defines the width of a safe passage in a sector on either side of the preferred direction. By determining whether there are obstacles within this safe sector, it can be quickly determined whether the preferred direction is passable at the current moment. This is the switch that triggers the adaptive adjustment mechanism: if it is safe, proceed directly; if it is unsafe, adjustment is required.
[0079] In this embodiment of the application, to avoid the serious conflict between mission information and obstacle avoidance behavior that often occurs when drones performing tasks in unknown environments, such as the preferred direction, and obstacle avoidance direction Conversely, inspired by visual perception mechanisms, embodiments of this application design a task information based on an adaptive goal-oriented strategy.
[0080] Calculate the angle at which the drone can safely pass. for: .
[0081] Calculate the safety angle The portion occupied by the visual projection field as follows: .
[0082] Defined safety angle in the projection field The upper and lower limits of the line of sight are respectively and At the same time, the speed of the drone was calculated. With preferred speed The angle between The portion of the projection field occupied as follows: .
[0083] will at speed Original projection field with reference direction Rotation Each section is converted to the preferred direction. Projected field with reference direction Based on whether there are obstacles within the field of vision of the preferred direction, two scenarios are designed: The first scenario is when there are no obstacles within the field of vision in the preferred direction, i.e.: .
[0084] The second scenario is when there is an obstacle within the field of vision in the preferred direction, i.e.: .
[0085] Step d3, if not, then the velocity vector along the preferred direction is determined as the velocity component of the task information.
[0086] Here, when the judgment result is safe, it indicates that there is a sufficiently wide and unobstructed passage ahead in the preferred direction. At this time, no correction is needed to the mission direction, and the drone can move efficiently along the predetermined target direction. Therefore, the mission information velocity component will be directly set as the velocity vector flying along the preferred direction at a preset cruising speed. This represents the ideal mission execution state, where mission orientation and obstacle avoidance safety are not in conflict.
[0087] In this embodiment, when there are no obstacles within the field of view in the preferred direction, the velocity component of the task information will be directly set as the velocity vector in the preferred direction. .
[0088] If so, then based on the local environment information, select the direction with the smallest angle to the preferred direction from all unobstructed directions as the passable direction, and determine the velocity vector along the passable direction as the velocity component of the task information.
[0089] Here, when the judgment result is unsafe, it indicates that the preferred direction is blocked by an obstacle. To get as close to the mission objective as possible while ensuring safety, the algorithm activates an adaptive adjustment mechanism. Its strategy is to select the direction that deviates least from the preferred direction among all currently passable (i.e., obstacle-free) directions in the global field of view as the alternative direction for the current moment. In this way, the UAV can avoid obstacles while maintaining a maximum tendency to approach the target area, thus achieving an optimal trade-off between mission orientation and obstacle avoidance safety in a dynamic environment.
[0090] In this embodiment, when there is an obstacle within the field of view of the preferred direction, a conflict arises between the mission information and obstacle avoidance behavior. Obstacle avoidance behavior is the primary factor in ensuring the safety of the UAV, and this conflict needs to be mitigated by adaptively correcting the target direction. This embodiment defines a cross-correlation function to represent the relationship between the passable direction and the projection field: .
[0091] in, It is a weighted matrix used to represent the security level of a security zone. All elements are set to 1, therefore The range of values for is [0, 1]. Therefore, any satisfying All areas are safe to pass through.
[0092] Preferred direction Using the origin as the starting point, Dividing it into two parts will give you the passable directions on both sides. and ): .
[0093] Convert the passable direction in the above formula to the speed of the drone. Initial projection field for reference direction Calculate the line of sight in the passable direction: .
[0094] in, Therefore, the line of sight In the initial projection field The corresponding angle is Transform this angle to the world coordinate system as follows: .
[0095] The velocity component of task information based on the adaptive goal-oriented strategy is defined as follows: .
[0096] Furthermore, if the drone is a non-information individual, the calculation of the drone's intention propagation speed component based on the state information of the neighboring drones and the intention signal received by the inter-drone communication module includes: Step e1: Based on the received intention signal, at least one high-intention neighbor drone is selected from the neighbor drones whose intention factor exceeds a preset intention factor threshold.
[0097] Here, screening for high-willing neighbors is the first step in the will propagation mechanism. Its purpose is to identify "key individuals" from all neighbors who carry more urgent and important information or are guiding group behavior. The will factor is a continuous or discrete signal taking values in the range [0,1], reflecting the urgency of the information perceived by the neighboring drone or the firmness of its decision-making (e.g., emergency obstacle avoidance or strong target approach). By setting a threshold for screening, noise and ordinary individuals can be filtered out, focusing on the "leaders" or "information sources" that are truly driving changes in group movement, thus ensuring the group can respond quickly to critical events.
[0098] In this embodiment, a will propagation mechanism is introduced to improve the communication capabilities of drones, enabling drone swarms to respond quickly to obstacle avoidance commands. The core of this mechanism is to calculate a will propagation velocity component: .
[0099] in, It is a unit vector used to represent the propagation of intention.
[0100] For calculation First, it's necessary to identify neighboring drones with strong interest. Each neighboring drone... Broadcast its instantaneous intention factor At the same time, the machine calculates a comprehensive measure of the intensity of willingness based on its own and its neighbors' willingness factors. The definition is as follows: .
[0101] in, It is a continuous willingness factor, which takes characteristic time as its value. It decays exponentially. Indicates adjacency relationships. Based on and from the neighbors The algorithm can filter out neighboring drones whose willingness factor exceeds the dynamic threshold and mark them as high-willing neighboring drones.
[0102] Step e2: Based on the state information of the neighboring drones, determine the current speed direction of each of the high-willingness neighboring drones.
[0103] Having determined "who to follow," the next step is to obtain information about "where these key neighbors are going." The current speed and direction of neighboring drones are the most direct indicators of their immediate movement intentions. For non-informed individuals, the set of speed directions of these highly motivated neighbors represents the most noteworthy and followable movement trend within the group at the current moment. Obtaining these directions prepares for subsequently calculating a consensus-based following direction.
[0104] In this embodiment, for the selected high-willing neighbor drones, the algorithm parses their current velocity vectors from their broadcast state information packets. These velocity vectors are the basic inputs for calculating the direction of group consensus. The drone's own current velocity is also an important reference. To integrate this information and form a consensus, this application employs an integrated WiSt model, which is composed of the ViSt model, the CoLd model, and the CaSp model.
[0105] The ViSt model is a standard Vicsek model: .
[0106] The CoLd model is the Couzin Leader model, which assigns a willingness factor. To enable leaders to drive groups in the desired direction: .
[0107] in, It is the preferred direction of movement.
[0108] The CaSp model is a spin model, represented as follows: .
[0109] The model ultimately outputs the desired speed. It is obtained through the following process: First, the ViSt model calculates the average velocity direction of the neighbors. Then, the CoLd model uses the willingness factor This average direction is combined with a preferred direction of motion. (For non-informational individuals, this direction stems from the trend of highly willing neighbors); finally, the WiSt model is obtained by extending the CoLd model with the willingness signals of neighbors: .
[0110] Step e3: Calculate the average direction of the current velocity directions of all the high-willingness neighbor drones, and determine the velocity vector along the average direction as the willingness propagation velocity component of the drone.
[0111] Here, calculating the average direction is a crucial step in merging the potentially differing movement trends of multiple highly motivated neighbors into a unified, consensus-driven direction of following. Vector averaging (rather than simple angular averaging) simultaneously considers both directional consistency and the strength of group will. Moving along this average direction signifies that non-informational individuals, after integrating guidance from multiple key neighbors, have adopted behavior most likely aligned with the overall interests and movement trends of the group. This achieves a rapid and consistent group response and maintains the group's sustained movement capability.
[0112] In this embodiment of the application, the unit vector Determined by fusing the current local state with the output of the WiSt model: .
[0113] in, It is the expected speed of the WiSt model. This represents the normalization operator. It is a rotation operator, which represents the rotation in the xy plane. Rotation The angle. Indicates the current speed and WiSt speed The angle between them.
[0114] By combining the above models, the intention vector can be obtained. The output is then used to calculate the intention propagation velocity component. .
[0115] Furthermore, in this model, the CoLd model can distinguish between intentional and unintentional agents. In most cases, information propagates via spin-underdamped waves from the CaSp model, indirectly keeping agents aligned. The initiator of the wave information is an intentional agent, achieving consensus through direct alignment using overdamped dynamics and the ViSt model. If new information emerges, intention recognition amplifies it, enabling a rapidly responding group without losing its ability to maintain continuous motion.
[0116] Furthermore, before acquiring the local environmental information collected by the UAV's visual sensors and the status information of neighboring UAVs received by the UAV's inter-UAV communication module, the method further includes: Receive a set of task parameters defined according to an object-topology-environment-region model; wherein the set of task parameters is used to define at least the perception method, inter-drone communication method, and the identity of at least one information individual of the UAV cluster.
[0117] This step is the initialization and task configuration phase before the execution of the UAV swarm cooperative control method. Its purpose is to formally define and parameterize the swarm traversal task to be executed, setting clear constraints and contexts for the operation of each module of the subsequent algorithm, and ensuring that the entire system works collaboratively within the pre-set framework.
[0118] In this embodiment, the Object-Topology-Environment-Region Model (OTER) is a unified descriptive model for swarm traversal problems. It decomposes the swarm traversal task into four key elements: object (the unmanned system performing the traversal task), topology (adjacency relationships between individuals), environment (the task scenario including obstacles and interference), and region (starting and target regions). The algorithm performance is evaluated through evaluation indicators such as speed correlation and task completion rate. It is constructed using tuple modeling to provide a basic framework for the design of swarm traversal algorithms.
[0119] In this step, the UAV (as the "object" performing the task) receives a set of task parameters defined according to this model, including UAV object parameters, topology parameters, environmental parameters, and area parameters.
[0120] Specifically, in this embodiment, the objects performing the swarm traversal task involve various different types. Unmanned systems carrying task target information are defined as information individuals, while unmanned systems not carrying task target information are defined as non-information individuals. Therefore, the objects of the swarm traversal task can be visualized as follows: ; in, This refers to the type of unmanned system. This refers to the sensing method of unmanned systems. This refers to the decision-making rules of unmanned systems. This refers to the control mode of unmanned systems. It refers to the identity information of unmanned systems.
[0121] In this embodiment of the application, the type of unmanned swarm system is selected as an unmanned aerial vehicle (UAV) swarm system, that is... The control mode of the UAV is represented by a second-order integrator model, that is... This application considers the problem of swarm traversal in unknown environments. The drones need to perceive their environment using cameras, and exchange information with each other via display communication. Therefore, the drones' perception method is set as follows: The decision-making rule for the UAV in this embodiment is an Adaptive Goal-Oriented Strategy (AGDS), and the UAV identity information parameters are related to the experimental settings in the algorithm verification stage. Together, we conclude: .
[0122] Considering the requirement that the drone swarm should not break apart during swarming in unknown environments, the topology parameters in this embodiment can be expressed as follows: .
[0123] in, The system size characterizing the drone swarm, Represents speed correlation. This represents the total energy consumption of the system during the entire traversal mission. Represents the number of neighbor connections. Indicates the task time. This indicates the number of drones in the swarm.
[0124] The typical scenario type used in the embodiments of this application is a canyon environment, that is... In actual engineering, parameter replacement can be performed based on the scene. The obstacles in the scene are static obstacles, i.e. Furthermore, interference factors in the scenario (no wind or communication interference) are not considered. The environmental parameters of the OTER model in an unknown environment are set as follows: .
[0125] In this embodiment, only a single starting region and a single target region are considered in terms of region consideration, and the region parameters are set as follows: .
[0126] This application provides a method for cooperative control of a drone swarm, applicable to any drone in a swarm. The method includes: acquiring local environmental information collected by the drone's visual sensors and state information of neighboring drones received by the drone's inter-drone communication module; determining the drone's desired velocity vector based on the local environmental information, the neighboring drones' state information, and the drone's preset identity information within the swarm; determining the drone's attitude control command based on the desired velocity vector and the drone's current motion state; and adjusting the drone's flight attitude and trajectory based on the attitude control command to enable the drone to fly cooperatively with other drones in the swarm. By integrating local environmental perception, neighboring state interaction, and individual preset identity, this method achieves autonomous speed planning for individual drones and swarm cooperation, improving the drone swarm's ability to collaboratively navigate unknown environments.
[0127] Based on the same application concept, this application also provides a drone swarm collaborative control device corresponding to the drone swarm collaborative control method provided in the above embodiments. Since the principle of the device in this application is similar to the drone swarm collaborative control method in the above embodiments of this application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0128] Please see Figure 2 , Figure 2 This is one of the functional block diagrams of a drone swarm collaborative control device provided in an embodiment of this application. Figure 2 As shown, the UAV swarm collaborative control 200 includes: The data acquisition module 210 is used to acquire local environmental information collected by the visual sensor of the UAV and status information of neighboring UAVs received by the inter-UAV communication module of the UAV.
[0129] The first determining module 220 is used to determine the desired velocity vector of the drone based on the local environmental information, the status information of the neighboring drones, and the preset identity information of the drone in the drone cluster.
[0130] The second determining module 230 is used to determine the attitude control command of the UAV based on the desired velocity vector and the current motion state of the UAV.
[0131] The flight control module 240 is used to adjust the flight attitude and trajectory of the UAV based on the attitude control commands, so that the UAV can fly in coordination with other UAVs in the UAV cluster.
[0132] Furthermore, when the first determining module 220 determines the desired velocity vector of the drone based on the local environment information, the state information of the neighboring drones, and the preset identity information of the drone in the drone cluster, the first determining module 220 is specifically used for: Based on the state information of the neighboring drones, calculate the separation-alignment-convergence interaction velocity components of the drones; Based on the local environmental information, the visual obstacle avoidance velocity component of the UAV is calculated; If the preset identity information of the UAV is an individual, then the mission information velocity component of the UAV is calculated based on the local environmental information and the preset target direction information. If the preset identity information of the drone is a non-information individual, then the intention propagation speed component of the drone is calculated based on the status information of the neighboring drone and the intention signal received by the inter-drone communication module. The desired velocity vector of the UAV is obtained by vector synthesis of the separation-alignment-aggregation interaction velocity component, the visual obstacle avoidance velocity component, and the mission information velocity component or the intention propagation velocity component selected according to the identity of the UAV.
[0133] Furthermore, when the first determining module 220 calculates the separation-alignment-convergence interaction velocity components of the drone based on the state information of the neighboring drone, the first determining module 220 is specifically used for: Based on the status information of the neighboring drones, the distance and speed difference between the drone and each of the neighboring drones are determined; Based on the distance between the drone and each of its neighboring drones and the preset separation rules, the separation velocity component of the drone relative to each of its neighboring drones is calculated. Based on the speed difference between the drone and each of its neighboring drones and the preset alignment rules, the alignment speed component of the drone relative to each of its neighboring drones is calculated. Based on the distance between the drone and each of its neighboring drones and the preset aggregation rules, the aggregation velocity component of the drone relative to each of its neighboring drones is calculated. The separation velocity component, the alignment velocity component, and the aggregation velocity component are added together to obtain the separation velocity of the UAV. Alignment Aggregate interaction speed component.
[0134] Furthermore, when the first determining module 220 calculates the visual obstacle avoidance velocity component of the UAV based on the local environmental information, the first determining module 220 is specifically used for: Based on the local environmental information, the visual perception range of the UAV is divided into multiple discrete perception directions; For each sensing direction, determine whether there is an obstacle in that sensing direction; For each perceived direction containing an obstacle, the local repulsion vector of the obstacle is calculated based on the relative orientation and estimated distance between the obstacle and the UAV; The visual obstacle avoidance velocity component of the UAV is obtained by summing all the local repulsion vectors within the visual perception range of the UAV.
[0135] Furthermore, if the drone is an individual information entity, when the first determining module 220 calculates the mission information velocity component of the drone based on the local environmental information and the preset target direction information, the first determining module 220 is specifically used for: Based on the target direction information, the preferred direction pointing to the target area is determined; Based on the local environmental information, determine whether there are obstacles in the sector area along the preferred direction with an angle of a preset safety angle; If not, the velocity vector along the preferred direction will be determined as the velocity component of the task information; If so, based on the local environment information, among all unobstructed directions, the direction with the smallest angle to the preferred direction is selected as the passable direction, and the velocity vector along the passable direction is determined as the velocity component of the task information.
[0136] Furthermore, if the drone is a non-information individual, when the first determining module 220 calculates the intention propagation speed component of the drone based on the state information of the neighboring drone and the intention signal received by the inter-drone communication module, the first determining module 220 is specifically used for: Based on the received intention signal, at least one high-intention neighbor drone is selected from the neighbor drones whose intention factor exceeds a preset intention factor threshold; Based on the state information of the neighboring drones, the current speed direction of each of the high-willing neighboring drones is determined; Calculate the average direction of the current velocity directions of all the high-willingness neighbor drones, and determine the velocity vector along the average direction as the will propagation velocity component of the drone.
[0137] Further, please refer to Figure 3 , Figure 3 This is a second functional block diagram of a drone swarm collaborative control device provided in an embodiment of this application. Figure 3 As shown, the UAV swarm collaborative control device 200 also includes: The task configuration module 250 is used to receive a set of task parameters defined according to the object-topology-environment-region model; wherein the set of task parameters is used to define at least the perception method, inter-drone communication method, and identity of at least one information individual of the UAV cluster.
[0138] This application provides a drone swarm collaborative control device, applied to any drone in a drone swarm, comprising: a data acquisition module for acquiring local environmental information collected by the drone's visual sensors and state information of neighboring drones received by the drone's inter-drone communication module; a first determination module for determining the drone's desired velocity vector based on the local environmental information, the state information of neighboring drones, and the drone's preset identity information in the drone swarm; a second determination module for determining the drone's attitude control commands based on the desired velocity vector and the drone's current motion state; and a flight control module for adjusting the drone's flight attitude and trajectory based on the attitude control commands, so that the drone can fly collaboratively with other drones in the drone swarm. Thus, by integrating local environmental perception, neighbor state interaction, and individual preset identity, autonomous speed planning and swarm collaboration of individual drones are achieved, improving the collaborative traversal capability of the drone swarm in unknown environments.
[0139] Based on the same application concept, please refer to Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 As shown, the electronic device 400 includes a processor 410, a memory 420, and a bus 430.
[0140] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 and the memory 420 communicate through the bus 430. When the machine-readable instructions are executed by the processor 410, the steps of the UAV swarm cooperative control method provided in the above embodiment are executed. For specific implementation methods, please refer to the method embodiment, which will not be repeated here.
[0141] Based on the same concept, this application also provides a computer-readable storage medium storing a computer program. When the computer program is run by a processor, it executes the steps of the UAV swarm cooperative control method provided in the above embodiments. For specific implementation details, please refer to the method embodiments, which will not be repeated here.
[0142] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described apparatus and unit can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0143] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0144] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0145] In addition, the functional units in the embodiments provided in this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0146] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0147] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0148] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application. All should be covered within the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A method for cooperative control of unmanned aerial vehicle (UAV) swarms, characterized in that, The method, applied to any drone in a drone swarm, includes: The system acquires local environmental information collected by the UAV's visual sensors and status information of neighboring UAVs received by the UAV's inter-UAV communication module. Based on the local environmental information, the status information of the neighboring drones, and the preset identity information of the drones in the drone cluster, the desired velocity vector of the drones is determined. Based on the desired velocity vector and the current motion state of the UAV, determine the attitude control command for the UAV; Based on the attitude control commands, the flight attitude and trajectory of the UAV are adjusted so that the UAV can fly in coordination with other UAVs in the UAV cluster.
2. The UAV swarm cooperative control method according to claim 1, characterized in that, The step of determining the desired velocity vector of the drone based on the local environment information, the status information of the neighboring drones, and the preset identity information of the drone in the drone cluster includes: Based on the state information of the neighboring drones, calculate the separation-alignment-convergence interaction velocity components of the drones; Based on the local environmental information, the visual obstacle avoidance velocity component of the UAV is calculated; If the preset identity information of the UAV is an individual, then the mission information velocity component of the UAV is calculated based on the local environmental information and the preset target direction information. If the preset identity information of the drone is a non-information individual, then the intention propagation speed component of the drone is calculated based on the status information of the neighboring drone and the intention signal received by the inter-drone communication module. The desired velocity vector of the UAV is obtained by vector synthesis of the separation-alignment-aggregation interaction velocity component, the visual obstacle avoidance velocity component, and the mission information velocity component or the intention propagation velocity component selected according to the identity of the UAV.
3. The UAV swarm cooperative control method according to claim 2, characterized in that, The step of calculating the separation-alignment-convergence interaction velocity components of the drones based on the state information of the neighboring drones includes: Based on the status information of the neighboring drones, the distance and speed difference between the drone and each of the neighboring drones are determined; Based on the distance between the drone and each of its neighboring drones and the preset separation rules, the separation velocity component of the drone relative to each of its neighboring drones is calculated. Based on the speed difference between the drone and each of its neighboring drones and the preset alignment rules, the alignment speed component of the drone relative to each of its neighboring drones is calculated. Based on the distance between the drone and each of its neighboring drones and the preset aggregation rules, the aggregation velocity component of the drone relative to each of its neighboring drones is calculated. The separation velocity component, the alignment velocity component, and the aggregation velocity component are added together to obtain the separation velocity of the UAV. Alignment Aggregate interaction speed component.
4. The UAV swarm cooperative control method according to claim 2, characterized in that, The step of calculating the visual obstacle avoidance velocity component of the UAV based on the local environmental information includes: Based on the local environmental information, the visual perception range of the UAV is divided into multiple discrete perception directions; For each sensing direction, determine whether there is an obstacle in that sensing direction; For each perceived direction containing an obstacle, the local repulsion vector of the obstacle is calculated based on the relative orientation and estimated distance between the obstacle and the UAV; The visual obstacle avoidance velocity component of the UAV is obtained by summing all the local repulsion vectors within the visual perception range of the UAV.
5. The UAV swarm cooperative control method according to claim 2, characterized in that, If the drone is an individual information entity, the calculation of the drone's mission information velocity component based on the local environmental information and preset target direction information includes: Based on the target direction information, the preferred direction pointing to the target area is determined; Based on the local environmental information, determine whether there are obstacles in the sector area along the preferred direction with an angle of a preset safety angle; If not, the velocity vector along the preferred direction will be determined as the velocity component of the task information; If so, based on the local environment information, among all unobstructed directions, the direction with the smallest angle to the preferred direction is selected as the passable direction, and the velocity vector along the passable direction is determined as the velocity component of the task information.
6. The UAV swarm cooperative control method according to claim 2, characterized in that, If the drone is not an information entity, the calculation of the drone's intention propagation speed component based on the state information of the neighboring drones and the intention signal received by the inter-drone communication module includes: Based on the received intention signal, at least one high-intention neighbor drone is selected from the neighbor drones whose intention factor exceeds a preset intention factor threshold; Based on the state information of the neighboring drones, the current speed direction of each of the high-willing neighboring drones is determined; Calculate the average direction of the current velocity directions of all the high-willingness neighbor drones, and determine the velocity vector along the average direction as the will propagation velocity component of the drone.
7. The UAV swarm cooperative control method according to claim 1, characterized in that, Before acquiring the local environmental information collected by the UAV's visual sensor and the status information of neighboring UAVs received by the UAV's inter-UAV communication module, the method further includes: Receive a set of task parameters defined according to an object-topology-environment-region model; wherein the set of task parameters is used to define at least the perception method, inter-drone communication method, and the identity of at least one information individual of the UAV cluster.
8. A collaborative control device for unmanned aerial vehicle (UAV) swarms, characterized in that, The drone swarm collaborative control device, applied to any drone in a drone swarm, includes: The data acquisition module is used to acquire local environmental information collected by the visual sensor of the UAV and status information of neighboring UAVs received by the inter-UAV communication module of the UAV. The first determining module is used to determine the desired velocity vector of the drone based on the local environmental information, the status information of the neighboring drones, and the preset identity information of the drone in the drone cluster. The second determining module is used to determine the attitude control command of the UAV based on the desired velocity vector and the current motion state of the UAV. The flight control module is used to adjust the flight attitude and trajectory of the UAV based on the attitude control commands, so that the UAV can fly in coordination with other UAVs in the UAV cluster.
9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. The machine-readable instructions are executed by the processor to perform the steps of the UAV swarm cooperative control method as described in 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 that, when executed by a processor, performs the steps of the UAV swarm cooperative control method as described in any one of claims 1 to 7.
