1. Introduction
Unmanned aerial vehicles (UAVs), as a rapidly developing high-tech technology, have been widely used in various fields due to their advantages such as high efficiency, flexibility, autonomy, low cost, and low risk. In civilian applications, UAVs can be used for mapping, agriculture, aerial photography, logistics, emergency rescue, etc. [
1,
2,
3,
4]. In the military field, UAVs can serve as important tools for intelligence gathering, target strikes, battlefield surveillance, providing efficient and reliable intelligence support, and reducing risks to personnel [
5]. Nowadays, UAVs have become an indispensable part of modern warfare. With the increasing complexity of future battlefield environments, the demands for UAV capabilities are also increasing. However, a single UAV, limited by its own structure, often cannot meet the requirements of multi-target collaborative operations in complex tasks. This requires coordinated efforts of multi-UAV technology to effectively complete such tasks. The technology for the task allocation of multi-UAV is a key issue for achieving UAV collaboration and improving task execution efficiency. With the rapid development of UAV technology, researching UAV task allocation problems is of great significance in enhancing the intelligence and autonomy of UAV applications [
6,
7,
8].
The multi-UAV collaborative task allocation problem is a quintessential combinatorial optimization issue [
9,
10], necessitating the assignment of a certain number of tasks to UAVs based on task requirements and environmental conditions while also taking into account the capabilities and characteristics of the UAVs. The objective is to minimize the task execution costs and maximize the efficiency and effectiveness of task execution. This requires a comprehensive consideration of various factors, including the UAVs’ speed, operational range, and payload capacity, as well as the urgency, difficulty, and terrain conditions of the target tasks and environmental demands such as task coverage, damage requirements, and combat effectiveness, thereby achieving efficient, precise, and secure task execution. Task allocation serves as a critical technology for UAV formations to collaboratively execute complex tasks [
11]. It is used to establish a mapping between UAVs and tasks. A well-designed multi-UAV collaborative task allocation method can significantly enhance the efficiency of task completion, but it also increases the complexity of the tasks. Task allocation, in addition to the complexity that may arise from collaborative cooperation, such as the size of the problem (for example, the number of UAVs, tasks, and constraints), is also influenced by the coupling of UAV flight trajectories with different dynamics. This significantly increases the complexity of the problem, necessitating multi-UAV path coordination. Conversely, without suitable solutions, sub-tasks among UAVs may lead to conflicts. In other words, achieving efficient collaboration among UAVs under complex constraints is a challenge for the task allocation problem, which requires considering task priorities, collaboration, and trajectory feasibility to establish the mapping relationship between UAVs and tasks. This issue comprises global planning involving the environment, task requirements, and UAV resources [
12].
Classic task allocation models include the multiple traveling salesman problem [
13,
14], vehicle routing problem [
15,
16], mixed-integer linear programming [
17,
18], generalized assignment problem [
19], network flow optimization [
20], and collaborative task allocation models [
21,
22]. Considering that these models are often difficult to directly apply to task allocation problems, a study [
23] proposes a cooperative multitask assignment problem (CMTAP) based on Mixed Integer Linear Programming (MILP) and network flow optimization (NFO). This model is suitable for more complex task allocation problems. The CMTAP involves assigning multiple UAVs to perform multiple tasks on targets in order to minimize the total consumption, essentially combining task allocation and path planning. The CMTAP simulates the typical scenario of multiple UAVs continuously executing multiple tasks, such as classifying, attacking, and verifying known stationary targets. Compared to the aforementioned models, the CMTAP offers better flexibility and focuses more on collaboration and kinematic constraints among UAVs. Importantly, it ensures collision-free assignments between tasks and UAVs. While different models have their own advantages, the CMTAP is generally applicable.
Given the characteristics of the constructed multi-UAV cooperative task allocation model, appropriate optimization algorithms need to be employed to solve the task planning model. Therefore, there are multiple optimization methods for solving the multi-UAV cooperative task allocation model. For the aforementioned task allocation model, the solution algorithms include exact algorithms, contract net algorithms, auction algorithms, heuristic algorithms, etc. The suitable solution method is adopted based on the mathematical characteristics of the objective function, constraints, and decision variables in the model. A study [
24] solves the multi-UAV task allocation problem with various complex constraints using an integer linear programming method. Another study [
25] improved the contract net algorithm through psychological factors, the blackboard model, and buffer pool mechanisms; the hybrid method of three improved contract net algorithms was applied to the dynamic cooperative task allocation of heterogeneous multi-UAV platforms. This not only improved the efficiency of task allocation but also made the results of cooperative task allocation more reasonable. A combination of contract net and ant colony search strategies is introduced in [
26], which proposes an improved dynamic contract net and introduced the concept of task priority to accommodate the dynamic uncertainty in task allocation. Based on a hierarchical decision mechanism and an improved objective function, a hybrid “two-stage” auction algorithm is proposed in a study [
27]. This algorithm achieves dynamic task allocation and obstacle avoidance path planning for multiple UAVs simultaneously considering the limited resources of each UAV. A distributed auction algorithm for task allocation of small UAVs is presented in a study [
28]. Through the simulation of different target distributions and communication ranges while addressing the kinematic constraints and communication limitations of smalls, the performance of the task allocation scheme is validated.
With the rapid development of heuristic algorithms, complex multi-UAV task allocation problems can obtain local optimal or satisfactory solutions within an acceptable time range [
29]. A study [
30] presents a cooperative multitask assignment problem model with objective priority constraints. This model considers not only the kinematic constraints, resource constraints, and task priority constraints of UAVs, but also the objective priority constraints to achieve a more realistic scenario. In order to improve the efficiency of genetic algorithms in solving the multi-UAV task allocation problem, a study [
31] introduces a secondary selection operation and applies an improved simulated annealing algorithm in the secondary selection operation. The promotion of population diversity in the secondary selection operation enhances the acceptance criteria for new solutions in SA by setting a threshold. A study [
32] proposes a dynamic pigeon-inspired optimization algorithm based on hybrid architecture for multi-UAV search and attack task allocation problems. This pigeon-inspired algorithm employs dynamic concepts, discretization, and solution acceptance strategies, achieving good performance. In [
33], a discrete adaptive search whale optimization algorithm is proposed. The algorithm uses a crossover-based update method, enabling it to solve discrete problems such as task allocation. Additionally, the study introduces a search intensity adaptive mechanism to reasonably optimize and balance the exploration and exploitation intensity within the solution space, allowing for the rapid achievement of high-quality task allocation results.
Currently, in the setup of multi-UAV collaborative task problems, there is a lack of consideration for the actual situation during the task execution process. Existing task allocation methods are relatively singular, only considering reconnaissance targets or dividing tasks into reconnaissance, decision-making, strike, and other independent tasks, with little involvement in the collaborative operations between different tasks. Defensive positions often exist in target areas, necessitating the use of attack strategies, such as attacks from the side or rear, and restricting the entry angle of UAVs at target points. Existing task allocation modeling problems only consider some of these factors. Therefore, in the study of multi-UAV collaborative task allocation, it is necessary to consider more practical factors and explore collaborative operations between different tasks.
This paper primarily investigates the issue of collaborative task allocation in multi-UAV systems, focusing on the synergy between different tasks while considering the angle restrictions present in target areas under realistic combat conditions. The task allocation modeling comprehensively takes into account various factors, providing important insights for future research on multifunctional collaboration. The main contributions of this paper regarding the collaborative task allocation problem for multi-UAVs are as follows:
On the basis of fully considering the flight characteristics of UAVs and multiple constraints such as task execution timing, task coordination, and fuel, the trajectory planning is carried out in combination with the Dubins curve [
34,
35], and the task coordination and allocation system model is constructed with the optimization goal of minimizing the total flight distance, the task completion time, and range coordination.
The task is divided into multiple sub-tasks through the encoding and decoding scheme, and these tasks are co-assigned to multiple UAVs so as to improve the efficiency and practicality of task allocation. In order to solve the problem that the traditional dragonfly algorithm can easily fall into local optimization and slow convergence speed [
36], the traditional dragonfly algorithm was modified to set each UAV as an artificial dragonfly, combining the differential evolution algorithm and its crossover, mutation, and selection operations to make the UAV swarm closer to the characteristics of biological dragonflies. The improvements enhance the global scalability of the artificial dragonfly swarm (ADS), including wider search capabilities, wider speed ranges, and richer search accuracy.
Through the comparative simulation experiments of different target numbers and UAVs, it is verified that the proposed HDEDA can effectively solve the problem of multi-UAV collaborative task allocation and obtain a conflict-free task assignment scheme that satisfies the constraints. The algorithm shows good practicability in the face of complex environments and unexpected situations, showing high practical application value in task execution efficiency, task allocation scheme generation, and task execution voyage planning.
The structure of the remaining parts of this paper is as follows:
Section 2 constructs a collaborative task allocation model for multi-UAVs, covering the problem statement, constraint setting, trajectory planning based on Dubins curves, and fitness evaluation of the objective function;
Section 3 presents a task planning model under dynamic adjustments;
Section 4 provides a detailed introduction to the HDEDA algorithm, including the optimization of the traditional dragonfly algorithm, the integration of differential evolution strategies, and encoding and decoding mechanisms;
Section 5 validates the effectiveness of the algorithm through simulation experiments, including the construction of the experimental environment, the presentation of task allocation schemes, the comparative analysis of algorithm performance, and dynamic task adjustment strategies;
Section 6 summarizes the research and provides an outlook of future research directions.
2. Multi-UAV Cooperative Task Assignment Model
When establishing a collaborative task allocation model for multi-UAV systems, four aspects need to be considered: first, we must provide a clear and reasonable description of the multi-UAV task allocation problem and make appropriate assumptions based on the task scenario; second, we need to set constraint conditions according to the characteristics of the task; third, we need to select a suitable trajectory planning algorithm; and finally, we must define the objective function of the collaborative task allocation model.
2.1. Problem Description and Scenario Assumptions
In the scenario of wide-area search and attack, assuming that a multi-UAV operates in the task area, it is specified that there are suspected targets within the task area and the position of each target is known. The objective is to sequentially carry out reconnaissance, decision-making, and strike tasks on the identified suspected targets within the task area. On the one hand, it is important to conduct thorough reconnaissance of significant military targets, and on the other hand, real-time decision-making and strike operations must be executed in enemy territory. There are combat UAVs available. Under the premise of ensuring the effectiveness of the model, this section presents the following reasonable assumptions for the task coordination and allocation model:
The UAVs take off simultaneously from their initial positions without taking into account the UAV takeoff and landing processes.
There are no requirements for the time windows and priorities of the targets.
During the task assignment process, the task network communication topology remains unchanged due to the high data transmission rate and low latency characteristics of the next-generation Internet of Things.
The UAVs are equipped with advanced sensor systems and high-speed aerial configurations, providing a wide field of view for reconnaissance tasks, while possessing high maneuverability and the capability to carry weapons and ammunition, making them well suited for executing attack tasks.
The task environment is known in advance.
The UAVs used in this article are homogeneous drones, and a centralized control structure is adopted.
In response to the described task scenario, the OODA loop from modern military theory is referred to, simplifying its operational concept and designing three core functions for combat UAVs: reconnaissance, decision-making, and attack. Specifically, the reconnaissance function is responsible for carrying out intelligence gathering tasks in the target area, the decision-making function analyzes and processes the collected reconnaissance information and issues operational directives accordingly, and, finally, the attack function executes precise strikes on predetermined targets based on the commands issued by the decision-making function. On this basis, the coordinated task allocation problem for multi-UAVs becomes particularly critical, aiming to find a solution that not only meets the constraints of complex tasks but also enhances the reliability of UAV task execution. This problem falls within the scope of the CMTAP. This problem is equated as follows: Assuming that is a collection of UAVs, each UAV is equipped with three functions: reconnaissance, decision-making, and attack. is a collection of targets. Use , , and to represent reconnaissance, decision-making, and attack tasks, respectively, Let represent the total number of tasks that need to be executed by UAVs .The purpose of collaborative task allocation is to assign a task sequence to each as follows: , where . The execution of each task adheres to strict task coupling and task priority constraints. Specifically, task can only be executed after task is completed, and task can only be executed after the decision for task is made.
2.2. Constraint Conditions
The task allocation scheme based on , , and should consider the constraints between the UAVs and targets. To ensure that the task allocation scheme is applicable to complex environments and scientifically sound, various practical constraints must be considered when determining the task allocation scheme and resource consumption for multi-UAVs.
To establish a straightforward and easily solvable mathematical model, let represent the decision variable for the performing task on target . If , it indicates that the task is being executed; otherwise, it is 0.
Due to the temporal constraints of UAV formations, when a UAV formation is executing a task, tactical coordination is required, which is subject to time limitations and necessitates the consideration of the sequence of execution. Assuming the moments for conducting reconnaissance, decision-making, and attack on the suspected target
are
, respectively, the following conditions must be satisfied:
Under the constraint of task coordination in UAV formations, different tasks for the same target can only be executed once. In other words, the same target cannot undergo reconnaissance, decision-making, and strike tasks more than once. Each UAV can only perform one task at a time. Therefore, the following condition must be satisfied:
All tasks should be executed, as captured by
During UAV formation flights, the fuel consumption of UAVs is limited; therefore, it is necessary to add the constraint of endurance, specifically the maximum flying range of the UAVs. Let us denote “
” as the maximum range of the UAV. During the execution of strike tasks, the ammunition resources carried by the UAVs are limited; hence, it is necessary to constrain the number of attack tasks that the UAVs can perform. Assuming that at the time of task assignment, each UAV has a maximum ammunition capacity of
, the following condition is given:
where
represents the speed of each
,
represents the time taken by each
to perform the task on target
, and
represents the number of attack tasks for each UAV.
2.3. Trajectory Planning Based on Dubins Curves
2.3.1. Dubins Curves
Considering the characteristics of UAVs in actual task scenarios, including the turning radius, heading angle, and presence of defensive positions in the target area, it is necessary to consider angle restrictions when entering the target. Due to the simplicity of existing path length calculations, they cannot meet the actual requirements. However, the Dubins curve is a type of curve that can connect two paths with determinate direction and finite curvature [
37]. Therefore, the Dubins curve is adopted to generate flight paths, solving the problem of finding the shortest path from a given point in one direction to another given point in another direction, generating the shortest path between points
and
. The path of a Dubins curve must be one of the six combinations of line segments and curvature arcs, including
. As shown in
Figure 1, the shortest one among them will be selected as the final path.
Among them, R represents a clockwise turn, L represents a counterclockwise turn, and S represents a straight line.
Here, the example of the inscribed Dubins curve in
Figure 2 is used to explain its generation process.
Let the starting position and ending position be denoted as
and
, respectively. The direction angles of the initial velocity vector
and final velocity vector
are denoted as
and
, respectively. The radii of the starting and ending circles are
and
, respectively. Then, the solution of the Dubins curve can be represented as follows:
According to the Euclidean geometry approach, the Dubins curve can be obtained through the following steps: First, calculate the coordinates of the centers of the initial and final circles, denoted as and , respectively. Next, calculate the coordinates of the tangent points. Draw tangents between circle and circle . The tangent point on the initial circle is the exit point of the desired Dubins curve, denoted as . The tangent point on the final circle is the entry point, denoted as . Finally, generate the Dubins curve. Draw an arc from to with the center at , and draw an arc from to with the center at . The Dubins curve connecting and consists of two arcs and generates a straight line.
2.3.2. Multi-UAV Path Planning Model Based on Dubins Curves
In the process of task allocation, path planning is a critical factor in ensuring the success of multi-UAV collaborative tasks. To meet the trajectory requirements of UAVs in complex environments, the Dubins curve is applied to UAV path planning. Assuming that the UAV’s speed is constant at
and the turning radius is
, its dynamic model can be expressed as follows:
In this context, represents the UAV’s position coordinates, denotes the heading angle, is the minimum turning radius, and is the control input, representing a left turn, straight line, and right turn, respectively. The model optimizes flight paths after task allocation, fully accounting for constraints such as the UAVs’ turning radius and heading angle. Utilizing Dubins curves, the model calculates the shortest feasible path for each UAV from its starting point to the target, ensuring that each UAV can effectively execute its assigned tasks in the correct sequence. During the path generation process, the model selects the optimal combination of straight lines and curves, enabling the UAVs to efficiently complete their tasks with the shortest path, even in complex environments.
2.4. Fitness Calculation of the Objective Function
In the multi-UAV system, due to the existence of an optimal solution set for the multi-objective problem rather than a unique solution and the potential conflicts or constraints between different targets, this section uses the linear weighting method [
38] to optimize the multi-objective function. The specific implementation is provided below. The setting of the weights directly affects the effectiveness of the optimal solution and the resulting task allocation scheme. Therefore, different weight values can be set based on the decision makers’ preferences or the complexity of the environment.
In the equation, is one of the multi-objective functions, is the weight, and .
When UAVs plan routes for task allocation, the total flight distance for completing a task is positively correlated with the total resources consumed by the formation. The shorter the total flight distance, the fewer resources are consumed. However, the shortest total flight distance alone does not guarantee the shortest time for the formation to complete all tasks. The drawback of this consideration is that, based on the positional advantages of some UAVs, certain UAVs may be allocated more tasks than others, leading to an imbalance in the flight range coordination among UAVs, which disrupts flight synchronization. This also results in a longer overall time needed for the formation to complete all tasks. The main criteria for evaluating the efficiency of cooperative task allocation schemes include the following three aspects:
During the task execution process of the multi-UAV, in order to achieve optimal fuel consumption, the minimum total flight distance for the task can be quantified as follows
where
represents the flight distance from target
to target
and
is the decision variable indicating whether the
executes the target from
to
. If executed, the value is 1; otherwise, it is 0. For the shortest flight path
, the introduced Dubins curve will be used for planning and solving as follows:
where
represents the straight-line distance from target
to target
.
To ensure efficient task completion and minimize the time required for multi-UAVs to complete all tasks, the minimum time metric for multi-UAV task execution is considered. The minimum time metric for completing all tasks is determined by the UAV with the longest flight distance in the task allocation set. This metric is expressed by
The flight time of the UAVs affects the execution of complex tasks. Therefore, it is important to consider how to balance task assignments among multi-UAV systems to improve system efficiency. Using trajectory coordination as an evaluation metric, the objective is to minimize the differences in flight distances among the UAVs. The expression for this objective is as follows:
where
represents the flight distance between UAVs. The objective is to achieve as much consistency as possible in the flight distances of each UAV after target assignment and path planning. The expression for
is as follows:
Assuming that the UAV speed is constant, the task completion time is proportional to the flight distance. Based on the three metrics of the shortest total distance index, minimum time index, and trajectory coordination index, a multi-objective function for the collaborative task allocation of multi-UAVs is designed as follows:
The main goal of solving the objective function is to find the optimal solution for each individual in a short period of time while retaining key information to achieve the minimal fitness value. The objective of multi-UAV cooperative task allocation is to enhance the execution efficiency and response speed of the UAVs while reducing resource waste and redundancy. In this section, the fitness value is derived from the objective function, representing the overall cost of task execution. The multi-UAV task allocation problem involves both equality and inequality constraints. Based on optimization theory and the previous analysis, this section establishes a multi-objective optimization model under multiple constraints as follows:
3. Dynamic Task Adjustment Model
In the face of unforeseen situations in an unknown environment, the task environment will encounter numerous uncertainties. When a UAV is threatened and experiences a malfunction, it may be unable to execute the task. If fails, it is necessary to recalculate the formation and positions of the remaining operational UAVs. When computing a set of unexecuted tasks, the prioritized constraints of the tasks may impact the execution of tasks by other operational UAVs. For example, if the task assignment set for is , and if completes tasks and before experiencing a failure, the remaining task set for would be . Based on the priority constraints of tasks, it is evident that the non-completion of task by will affect the execution of tasks and by other UAVs. The same situation also applies to other targets. Therefore, it is necessary to represent the union of all remaining tasks that have not been executed on the targets at this time. After obtaining the set of UAVs and targets that become invalid, it is necessary to recalculate the number of tasks to be executed on each target and the total number of tasks that the UAVs need to execute. Then, the solving algorithm of the model is applied again to obtain a new task allocation plan to dynamically adjust the initial collaborative task allocation. Since a part of the tasks and targets has already been executed before becoming invalid, the recalculated task set and target size will be reduced; this also means that the time required for the algorithm to solve the problem will shorten, making it suitable for scenarios where real-time task allocation is required.
4. Multi-UAV Cooperative Task Allocation Solution Strategy
In the traditional dragonfly algorithm (DA), a specific number of individuals are randomly generated as the initial population based on the constraints of the problem and the search space. Each individual updates its position and velocity by acquiring optimal solution information from neighboring individuals. However, when the population becomes trapped in a local optimum, the entire population may be affected, leading to slower convergence speed, reduced convergence accuracy, and decreased stability. To address this issue and effectively formulate the task allocation scheme for multiple UAVs while obtaining the optimal solution set for cooperative task allocation, this paper proposes appropriate encoding and decoding rules considering task timing constraints, task cooperation constraints, and energy constraints. Subsequently, the model is solved using an improved hybrid differential evolution dragonfly algorithm (HDEDA). In this algorithm, each UAV is treated as an artificial dragonfly, and by integrating the crossover, mutation, and selection operations from the differential evolution algorithm (DE), the UAV swarm more closely mimics the behavioral characteristics of biological dragonflies. The global scalability of the artificial dragonfly swarm (ADS) has been enhanced, offering broader search capabilities, wider speed ranges, and higher search accuracy. Additionally, potential solutions with global convergence potential are stored in memory to better support real-time adjustments in task allocation.
4.1. Traditional Dragonfly Algorithm
The dragonfly algorithm requires initializing the population first, with the value range being determined by the number of UAVs in the swarm:
In the equation , represents the population size of ADS, represents the upper bound, and represents the lower bound.
For each dragonfly, there are five basic behaviors: Separation
, Alignment
, Cohesion
, Prey
, and Predator
. The weights are randomly initialized, and the five behaviors are then calculated to update the dragonfly’s velocity and position. To avoid collisions, the expression for the separation behavior
is as follows:
In the equation, represents the current position of the dragonfly individual, represents the position of the j-th neighboring dragonfly individual, and N represents the number of neighboring individuals around dragonfly .
To achieve flocking behavior, the expression for the alignment behavior
is as follows:
In the equation, represents the flying velocity of the j-th neighboring individual.
The aggregation behavior
expression is as follows:
The foraging behavior
expression is as follows:
where
represents the food source.
The
expression of the behavior of avoiding natural enemies is as follows:
where
represents the location of the natural enemy.
The dragonfly algorithm considers the behavior of dragonflies as a combination of these five factors and to simulate the movement of dragonflies; the individual step length is updated by
In the equation, s represents the separation weight, a represents the alignment weight, c represents the cohesion weight, f represents the food factor, e represents the predator factor, w represents the inertia weight, and t represents the iteration count.
To enhance the global search capability and convergence accuracy of the dragonfly algorithm, two strategies have been proposed for updating the dragonfly positions. When a dragonfly has neighboring individuals around it, the position is updated using the following method:
To further enhance the algorithm’s performance, when there are no adjacent solutions near individuals of the same type, the dragonfly positions are updated by utilizing Levy flights to navigate the search space. This update is performed by
In the equation,
represents the dimensionality of the position vector. The expression for Levy flight is shown as
In the equation,
r1 and
r2 are random numbers in the range from 0 to 1 for each dimension.
σ is the control parameter for Levy flight, and it is defined as follows:
4.2. HDEDA
To further enhance the diversity of multi-UAV cooperative task allocation and improve the performance of the DA, this paper proposes a hybrid method that combines the DE algorithm with the DA. The core of the HDEDA lies in introducing the mutation operation from the DE algorithm and incorporating it into the strategy of the DA. In HDEDA, mutation operations modify solutions with lower fitness values , thereby enhancing the diversity of the population and improving the overall search performance. The main purpose of the mutation operation is to accelerate the convergence of the algorithm, while in the evolutionary process, it tends to select individuals with higher fitness values.
A selected individual from the current best solution is mutated to introduce diversity into the population. This mutation operation increases diversity, and, when the algorithm is close to the optimal solution, the mutation algorithm enhances the ability of random exploration, thereby accelerating the convergence of the population to the optimal solution.
In the equation,
r1 and
r2 are random integers between 1 and NP (population size of ADS).
represents the mutated vector.
is the adaptive amplification factor, which is independently adjusted based on the difference between the
value of each individual and
:
In the equation, represents the fitness of the i-th objective vector. is the best fitness value in the current generation t. is the average fitness value.
To generate a trial vector, random components are selected from the mutation vector
and the target vector
. The random selection process is as follows:
In the equation, represents a random variable uniformly distributed in the range (0, 1). is the crossover probability in the range (0, 1), which controls the diversity of the population. is randomly selected from the set {1, 2, ..., D}, ensuring that the trial vector has at least one component from the mutation vector .
After introducing the mutation operation, a greedy strategy is applied for the selection operation. The fitness values of the individual vectors
produced by the DE algorithm and the new trial vector
are compared. The superior one will be preserved in the next generation:
4.3. Encoding and Decoding Modes
To initialize the search space of the intelligent algorithm and determine the target positions for decoding the task allocation scheme, the initial positions of the constrained population coordinates must first be established. Then, using the HDEDA, each individual’s position is treated as a candidate solution, and the optimal solution is found through a population search and position updates. For the multi-UAV cooperative task allocation problem with task timing constraints, cooperation constraints, and task requirement constraints, a real-valued vector encoding method is adopted to establish the mapping relationship between the hybrid dragonfly positions and the task allocation scheme solutions. The dimension of the hybrid dragonfly’s position is related to the number of tasks . The integer part [X] of each dimension of the hybrid dragonfly’s position represents the UAV assigned to execute that task. Tasks with the same integer value are assigned to the same UAV for execution. By limiting the upper and lower bounds of the integer part in each dimension, it is ensured that the UAV formations match their corresponding task types. The decimal part {X} of the dragonfly’s position represents the limited sequence of UAVs assigned to the corresponding tasks, with the numerical values indicating the relative order of the UAVs before and after executing that task.
Let us assume that the computed optimal task allocation scheme is shown in
Table 1. The table consists of three targets and three UAVs collaborating to execute the tasks, totaling nine tasks. Taking
as an example for analysis, the integer part [X] in the table with a value of three corresponds to three tasks:
for 3.1;
for 3.3; and
for 3.6. By comparing the decimal part {X}, it can be concluded that
should first execute
, followed by
and, finally,
. According to the calculated time for each target, the first appearance is denoted as
, the second appearance as
, and the third appearance as
.
Based on the proposed HDEDA algorithm and encoding–decoding scheme, this paper further addresses the problem and designs a solution strategy for multi-UAV cooperative task allocation to effectively tackle complex task environments. Algorithm 1 shows the specific implementation process of the solution strategy for multi-UAV cooperative task allocation.
Algorithm 1 A solution strategy for multi-UAV cooperative task allocation |
Input: the number of UAVs , the number of targets Output: Multi-UAV collaborative task allocation plan |
1: Initialize the population size of ADS, dimensions, the upper bound , the lower bound , weight coefficients, maximum iterations, mutation probability, crossover probability, population individual positions , step vector 2: Encode the positions of the population individuals 3: For 1 maximum iteration, do 4: For each individual in the population, do 5: Calculate the fitness of all individuals according to Equation (14) 6: Determine and retain the optimal solution 7: Update , , , , according to Equations (17)–(21) 8: Update the weights 9: If exist neighboring individuals then 10: Update the ADS positions according to (23) 11: Else, update the ADS positions according to (24) 12: End if 13: Randomly select the dragonfly individual positions and perform mutation, crossover, and selection operations on them 14: Calculate the fitness of all individuals according to Equation (14) 15: If the new optimal solution is greater than the old optimal solution, then 16: Replace the old solution 17: Else, retain the old solution. 18: End if 19: Update the population 20: If the termination conditions are met, then 21: Output the optimal individual position, and the task allocation scheme and the optimal fitness value are obtained by decoding 22: Else, go back to step 5 23: End if 24: End for 25: End for |
6. Summary
This paper studies the problem of multi-UAV cooperative task assignment in a multi-objective environment. Through an in-depth analysis of the characteristics and challenges of the multi-UAV task system, a model of the task cooperative allocation system was established. Under the constraints of task timing, coordination, and requirements, Dubins curves were used for trajectory planning, with the total flight distance, task completion time, and range coordination being used as optimization targets. To comprehensively consider task priority, UAV capabilities, and resource constraints, a collaborative allocation algorithm was proposed. To address the issues of local optima, slow convergence speed, low convergence accuracy, and poor stability in traditional dragonfly algorithms, each UAV was modeled as an artificial dragonfly, incorporating differential evolution algorithms and their crossover, mutation, and selection operations, thus making the UAV swarm more similar to biological dragonflies. This approach enhances the algorithm’s global search capability and improves its convergence speed. The simulation results show that the proposed algorithm can effectively improve task execution efficiency, obtain an efficient task allocation scheme, and optimize the task execution range, demonstrating high practical application value. However, this study primarily focuses on multi-UAV task allocation in static task scenarios, with only partial consideration being given to dynamic task scenarios and without conducting a comprehensive analysis. In future research, the algorithm’s real-time computational capabilities will be further optimized to ensure quick responses and efficient task reallocation in the event of UAV failures or emergencies.