Cooperative Attack Algorithm for UAVs is focusing on the cooperative attack problem of UAV swarm system with flight time and attack angle constraints. It includes an efficient attack framework for real-time planning and control of drones.
News:
-
July 1, 2024: The paper has finally been published !!
-
Dec 8, 2023: Code for Cooperative Attack Algorithm is available now !
-
Sep 25, 2023: 'Cooperative Attack Algorithm for UAV Swarm System under Spatiotemporal Constraints' has been included in CCSICC, but this paper has not been published yet.
Authors: Zhiyan Zhou from Beihang University (北京航空航天大学).
Simulation Overview
- Complete videos: (We will upload it to YouTube as soon as possible)
To run this project in minutes, check Quick Start. Check other sections for more detailed information.
Please kindly star ⭐ this project if it helps you. We take great efforts to develop and maintain it 😁😁.
The project has been tested on MATLAB R2019a and MATLAB R2022b. Open the folder under
Code/scenario1 or Code/scenario2
Run the following commands to quick start:
APF_path_plan.m
You may check the detailed instruction to setup the project.
The project contains an efficient attack framework for real-time planning and control of drones:
- Attack strategy based on virtual guidance points
- Cooperative path planning based on APF
- Tracking strategy based on MPC method
- Fully autonomous perception (to appear)
These methods are detailed in our papers listed below (already included, soon to be published).
Design of cooperative attack algorithm:
-
Virtual guidance points: The UAV first crosses the obstacle area as soon as possible and reaches the area near the target. Then switch to the virtual guidance point, guiding the UAV to gradually converge to the target point according to time and angle constraints, and minimizing information exchange between the UAVs during flight.
-
APF: The APF method has the characteristics of simple planning and high real-time performance.
The APF method utilizes the principle of similar charges that attract the same and repel the opposite, to construct a virtual force field environment where there is repulsive force between obstacles and UAVs, and gravitational force between targets and UAVs.
-
MPC: The model predictive control method was used to achieve real-time solution of the optimal control quantity, completing the cooperative attack task with spatiotemporal constraints.
-
UAV model:
- r_gui, theta_gui: virtual guidance radius and the angle between virtual guidance points;
- v_target: target speed;
- obstacle: obstacle position.
- vision_uav, flag_co: flags related to visual drones and collaboration. A new workspace is recommended:
- A code file that describes the appearance of a drone, mainly used to describe the size of the drone rotor, the drone frame, and other external features.
- Draw the shape of obstacles and the position of target points.
- A code file used to analyze algorithm performance, including the distance between the drone and the target, the distance between the drone and obstacles, etc.
The simulation mainly includes static multi obstacle scenes and dynamic obstacle scenes, and tests the performance of the algorithm
- Scenario 1:
- Scenario 2:
- Performance statistics
Drone number | Attack time | Attack angle | Average single planning time | |
---|---|---|---|---|
Scenario1 | UAV1 | 19.2s | 45.0° | 3.1ms |
UAV2 | 19.2s | 45.0° | 2.8ms | |
Scenario2 | UAV1 | 19.7s | 44.9° | 2.6ms |
UAV2 | 19.7s | 45.0° | 2.9ms |