Next Article in Journal
A Minimal Solution Estimating the Position of Cameras with Unknown Focal Length with IMU Assistance
Previous Article in Journal
Military Image Captioning for Low-Altitude UAV or UGV Perspectives
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Enhancing Unmanned Aerial Vehicle Task Assignment with the Adaptive Sampling-Based Task Rationality Review Algorithm

School of Mechanical and Electrical Engineering, China Jiliang University, Hangzhou 310018, China
*
Author to whom correspondence should be addressed.
Drones 2024, 8(9), 422; https://doi.org/10.3390/drones8090422
Submission received: 23 July 2024 / Revised: 19 August 2024 / Accepted: 21 August 2024 / Published: 24 August 2024

Abstract

:
As the application areas of unmanned aerial vehicles (UAVs) continue to expand, the importance of UAV task allocation becomes increasingly evident. A highly effective and efficient UAV task assignment method can significantly enhance the quality of task completion. However, traditional heuristic algorithms often perform poorly in complex and dynamic environments, and existing auction-based algorithms typically fail to ensure optimal assignment results. Therefore, this paper proposes a more rigorous and comprehensive mathematical model for UAV task assignment. By introducing task path decision variables, we achieve a mathematical description of UAV task paths and propose collaborative action constraints. To balance the benefits and efficiency of task assignment, we introduce a novel method: the Adaptive Sampling-Based Task Rationality Review Algorithm (ASTRRA). In the ASTRRA, to address the issue of high-value tasks being easily overlooked when the sampling probability decreases, we propose an adaptive sampling strategy. This strategy increases the sampling probability of high-value targets, ensuring a balance between computational efficiency and maximizing task value. To handle the coherence issues in UAV task paths, we propose a task review and classification method. This method involves reviewing issues in UAV task paths and conducting classified independent auctions, thereby improving the overall task assignment value. Additionally, to resolve the crossover problems between UAV task paths, we introduce a crossover path exchange strategy, further optimizing the task assignment scheme and enhancing the overall value. Experimental results demonstrate that the ASTRRA exhibits excellent performance across various task scales and dynamic scenarios, showing strong robustness and effectively improving task assignment outcomes.

1. Introduction

Nowadays, unmanned aerial vehicles (UAVs) have become crucial tools for performing various tasks, including data collection, monitoring, inspection, and communication relay [1,2,3]. The widespread use of UAVs has not only significantly enhanced efficiency and flexibility [4,5] but also reduced the costs associated with human labor. However, with the increasing number of UAVs and the complexity of their missions, how to effectively allocate tasks for UAVs has become a crucial issue [6,7].
The goal of multi-UAV task assignment is to allocate tasks to suitable UAVs based on mission requirements and UAV capabilities, ensuring optimal mission completion [8,9]. This process involves considering multiple factors such as UAV flight performance, task priority, resource constraints, and environmental interference, making the multi-UAV task assignment a complex combinatorial optimization problem [10,11]. Essentially, it is more complicated than the multi-traveling salesman problem (MTSP) [12] and is classified as an NP-hard [13] problem. Currently, the two main methods for solving task assignment problems are heuristic-based methods and auction-based methods.
Heuristic algorithms are experience-based algorithms that provide feasible solutions to instances of combinatorial optimization problems within reasonable cost limits. Common heuristic algorithms include genetic algorithm (GA) [14], particle swarm optimization (PSO) [15], simulated annealing (SA) [16], and gray wolf optimizer (GWO) [17]. These algorithms simulate natural evolution and group behaviors to effectively solve complex optimization problems [18]. Genetic algorithms explore a wide solution space through operations such as selection, crossover, and mutation to find near-optimal task assignment solutions [19,20]. Particle swarm optimization simulates a bird flock’s foraging behavior to achieve information sharing and global search among individuals [21,22]. However, heuristic algorithms have significant drawbacks, such as slow convergence, tendency to get trapped in local optima, and requiring extensive parameter tuning [23,24]. These issues are particularly pronounced in complex and dynamic environments, limiting the application of traditional heuristic algorithms in UAV task assignment.
To overcome the shortcomings of heuristic methods, market auction-based algorithms have emerged [25,26,27]. These methods dynamically assign tasks to the most suitable UAVs through competitive bidding mechanisms, maximizing task benefits and efficiency [28,29]. Auction-based methods can more flexibly adapt to changes in external environments, quickly adjusting task assignment plans, and exhibit high real-time performance and adaptability.
Choi et al. [30] proposed the consensus-based bundle algorithm (CBBA), which served as the starting point for many derivative auction algorithms. The CBBA achieved consistency in task assignment through local information and limited communication, resolving conflicts in the task assignment process and ensuring 50% optimality. Zhang et al. [31] built on the CBBA and proposed a task sequence maintenance method. This method ensured conflict-free task assignment solutions by evaluating task sequence consistency and introducing task contribution. Shin et al. [32] proposed decentralized sample-based task allocation (DSTA), which incorporated a task sampling process during initialization to form specific task sample sets for each UAV, reducing computational complexity and ensuring optimality for both monotonic and non-monotonic objective functions. Wang et al. [33] expanded the multi-UAV cooperative task assignment model under multiple constraints, establishing a two-stage task assignment algorithm framework and proposing a time window cooperative task assignment algorithm. This algorithm effectively addressed the cooperative task assignment problem for heterogeneous UAVs within different mission execution time windows. Cao et al. [34] proposed a dynamic adjustment strategy based on a task-trigger mechanism. This strategy allowed UAVs to dynamically adjust task assignment results based on time-triggered requests, meeting the real-time and dynamic requirements of multi-task assignment in actual air combat competitions. Yan et al. [35] improved the bundle structure, consensus strategy, and system grouping method, proposing new internal and external conflict resolution consensus methods. These methods effectively reduce the number of communication events required to reach consensus while maintaining the robust convergence characteristics of the baseline CBBA. Kim et al. [36] proposed a systematic method for grouping UAVs based on initial task preferences, increasing communication efficiency among UAV swarms in large-scale scenarios by reducing the total number of information exchanges before converging to conflict-free solutions. Cui et al. [37] integrated time window constraints into a decentralized framework based on pi, associating effective time windows with task importance to minimize task completion time without adding additional communication burdens, achieving more reasonable task assignment. Xu et al. [38] evaluated the overall efficiency of task allocation by incorporating robot status information into the factors influencing task completion and introduced an adjustment step for the task execution sequence, thereby achieving a good balance between high execution efficiency and low motion costs. Buckman et al. [39] reduced team communication burdens by re-planning the team’s size and resetting a portion of previously assigned tasks in each bidding round to balance response time and solution quality.
Despite the advantages of the aforementioned algorithms, they still face several limitations in practical applications. Some algorithms fail to fully consider the complexity of real-world environments in their model designs, others do not achieve the expected overall task assignment benefits, and some struggle with high computational complexity, making them unsuitable for large-scale task scenarios. Therefore, this paper proposes a new algorithm, the Adaptive Sampling-Based Task Rationality Review Algorithm (ASTRRA), to address the complex and changing real-world environment.
The main contributions of this paper are as follows:
  • Introducing task path decision variables and incorporating real-world constraints such as collaborative action constraints into the traditional model, improving the rigor and completeness of the task assignment mathematical model.
  • Proposing an adaptive sampling strategy with dynamically adjusted sampling probabilities based on task importance, effectively avoiding the loss of high-value tasks due to low sampling probabilities, and ensuring a balance between computational efficiency and maximizing task value.
  • Presenting a task review and classification method to address coherence issues in UAV task paths that are common in existing auction algorithms, significantly enhancing overall task benefits.
  • Proposing a crossover path exchange strategy to reduce crossovers between UAV task paths, further optimizing the task assignment scheme and improving overall benefits.
The remainder of this paper is organized as follows. Section 2 introduces variable definitions and the basic symbols used in this paper. Section 3 establishes the mathematical model for UAV task assignment. Section 4 details the principles of the proposed ASTRRA. Section 5 validates the effectiveness of the proposed method through extensive simulation experiments. Section 6 summarizes this paper.

2. Preliminary

This section covers the preparatory work. Section 2.1 covers variable definitions, Section 2.2 introduces symbol descriptions, and Section 2.3 introduces the assumptions.

2.1. Variable Definitions

Definition 1. 
The number of tasks actually undertaken by UAV a, denoted as n a , is given by:
n a = j = 1 N i = 0 N y i j a
where i and j are task indices, a is the UAV index, and N is the total number of tasks. y i j a is the task path decision variable (see Section 3 for details). If the task path of UAV a includes the path from task i to task j, then y i j a = 1 ; otherwise, y i j a = 0 .
Definition 2. 
The cumulative distance for task j, denoted as D j a , represents the total distance UAV a flies from the starting point to task j along the assigned task path:
D j a = d 0 j y 0 j a + i = 1 N D i a + d i j y i j a , j = 1 , 2 , , N , a = 1 , 2 , , M
where d i j is the distance from task point i to task point j, d 0 j y 0 j a is the distance from the starting point to the first task point for UAV a, and M is the total number of UAVs.
Definition 3. 
The flight speed of UAV a, denoted as v a , is the average speed at which UAV a flies. In this paper, we assume that each UAV maintains a constant speed v a without external influences.
Definition 4. 
The cumulative execution time for task j, denoted as T j a , represents the total time consumed by UAV a to execute the tasks up to and including task j (excluding flight time):
T j a = t a j y 0 j a + i = 1 N T i a + t a j y i j a , j = 1 , 2 , , N , a = 1 , 2 , , M
where t a j represents the time consumed by UAV a to execute task j, and t a j y 0 j a represents the time consumed by UAV a to execute the first task.
Definition 5. 
The time discount factor τ j indicates the extent to which the revenue from task j is affected by the arrival time of the UAV. The longer the UAV flight time, the higher the discount, and the lower the revenue. This influence is expressed as:
τ j D j a / v a + T j a
Definition 6. 
The fitness factor λ a j indicates the degree of match between UAV a and task j, with a value between zero and one. A higher value indicates a better match and higher task revenue.
Definition 7. 
The task importance factor ξ j . This factor indicates the importance of task j, with a value between zero and one. A higher value indicates a higher importance and a higher priority for execution.
Definition 8. 
UAV task sequence { P a } is a set that represents the task path of UAV a, describing the complete flight route of UAV a and including the execution order of all task points:
P a = { P 1 a , P 2 a , , P n a a }
where P m a = ( x m , y m ) represents the coordinates of the mth task point (including the starting point) in the task path of UAV a.

2.2. Symbol Descriptions

In order to facilitate the reading of the mathematical model developed in this paper, the definitions of the symbols involved and their descriptions are presented in Table 1.

2.3. Assumptions

(1)
The distance between tasks is assumed to be Euclidean.
(2)
All UAVs and tasks are considered in a two-dimensional plane.
(3)
UAV flight speeds are assumed to remain constant.

3. Problem Formulation

This section establishes the UAV task assignment model in complex environments. Section 3.1 describes the decision variables, Section 3.2 formulates the objective function, Section 3.3 outlines the constraints, and Section 3.4 provides a summary of the model.

3.1. Decision Variables

(1)
Task assignment decision variable x a j indicates whether or not UAV a performs task j:
x a j = 0 1 j = 1 , 2 , , N , a = 1 , 2 , , M
When x a j = 1 , it means UAV a is assigned to execute task j; when x a j = 0 , task j is not assigned to UAV a.
(2)
Task path decision variable y i j a indicates whether UAV a flies from task i to task j:
y i j a = 0 1 i , j = 1 , 2 , , N , a = 1 , 2 , , M
Here, y i j a = 1 indicates that UAV a flies from task i to task j; y i j a = 0 indicates no such path exists.

3.2. Objective Function

The objective of UAV task allocation is to maximize the total benefit value obtained after completing all tasks. To distinguish between high- and low-reward tasks, the objective function incorporates a non-linear term. The normalization process ensures the final reward value is between zero and one. The final objective function R is to maximize the total benefit:
R = max a = 1 M j = 1 N λ a j ξ j τ j D j a v a + T j a x a j 2 j = 1 N max a λ a j ξ j τ j D 0 j a v a + T j a

3.3. Constraints

(1)
Task execution constraint: Each task j needs to be executed c j times by UAVs:
a = 1 M i = 0 N y i j a = c j , j = 1 , 2 , , N
For each task j, c j UAVs are required to execute the task. Each independent task point is assigned to only one UAV in this study.
(2)
Path uniqueness constraint: Each UAV has only one start and end point, and all task points must form a complete path:
j = 1 N y 0 j a = 1 , i = 1 N y i ( N + 1 ) a = 1 , a = 1 , 2 , , M
where y 0 j a represents the task path decision variable for UAV a flying from the start point to task j, with y 0 j a = 1 indicating the existence of such a path. Similarly, y i ( N + 1 ) a represents the decision variable for UAV a flying from task i to the end point, with y i ( N + 1 ) a = 1 indicating the existence of such a path.
(3)
Path connectivity constraint: Each task point must be entered and exited, forming pairs:
j = 0 N + 1 y i j a = z = 0 N + 1 y j z a , j = 1 , 2 , , N , a = 1 , 2 , , M
where for UAV a and task j, if there is a path from task i (including the start point) to task j, there must also be a path from task j (including the end point) to task z. Thus, entry into a task point is always accompanied by an exit from that point.
(4)
Decision consistency constraint: Path decision variables and task execution decision variables must be consistent:
i = 1 N y i j a x a j , j = 1 , 2 , , N , a = 1 , 2 , , M
where when x a j = 1 , it indicates that task j is assigned to UAV a. Therefore, there must exist a path from task i (including the start point) to task j within UAV a’s task path.
(5)
UAV load constraint: Each UAV has a limited task load:
j = 1 N i = 0 N y i j a L a , a = 1 , 2 , , M
where L a is the maximum task load of UAV a, indicating that the total number of tasks performed by UAV a cannot exceed its maximum task load.
(6)
UAV range constraint: UAVs have a limited maximum flight distance:
j = 1 N + 1 i = 0 N d i j y i j a D a , a = 1 , 2 , , M
where d i j represents the distance from task point i to task point j, indicating that the total distance flown by UAV a to execute tasks must not exceed its maximum flight range D a .
(7)
Collaborative action constraint: To achieve coordinated and consistent actions, UAVs should arrive at the first task point simultaneously:
j = 1 N d 0 j y 0 j a v a + t a = t s t a r t , a = 1 , 2 , , M
where j = 1 N d 0 j y 0 j a represents the distance from the start point to the first task point, t a is the waiting time before UAV a takes off, and t s t a r t is the collaborative action start time. This constraint ensures that the takeoff time for each UAV is t s t a r t , enabling all UAVs to reach the first task point simultaneously.
(8)
Flight time constraint: The total flight and task execution time for UAVs must not exceed their maximum flight time:
j = 1 N i = 0 N d i j v a + t a j y i j a T a , a = 1 , 2 , , M
where t a j represents the time UAV a spends on task j, and T a denotes the maximum flight time of UAV a.

3.4. Mathematical Model of Task Assignment

In summary, the mathematical model for UAV task allocation established in this paper is described as follows:
R = max a = 1 M j = 1 N λ a j ξ j τ j D j a v a + T j a x a j 2 j = 1 N max a λ a j ξ j τ j D 0 j a v a + T j a s . t . x a j = { 0 , 1 } , j = 1 , 2 , , N , a = 1 , 2 , , M , y i j a = { 0 , 1 } , i , j = 1 , 2 , , N , a = 1 , 2 , , M , a = 1 M i = 0 N y i j a = c j , j = 1 , 2 , , N , j = 1 N y 0 j a = 1 , i = 1 N y i ( N + 1 ) a = 1 , a = 1 , 2 , , M , j = 0 N + 1 y i j a = z = 0 N + 1 y j z a , j = 1 , 2 , , N , a = 1 , 2 , , M , i = 1 N y i j a x a j , j = 1 , 2 , , N , a = 1 , 2 , , M , j = 1 N i = 0 N y i j a L a , a = 1 , 2 , , M , j = 1 N + 1 i = 0 N d i j y i j a D a , a = 1 , 2 , , M , j = 1 N d 0 j y 0 j a v a + t a = t start , a = 1 , 2 , , M , j = 1 N i = 0 N d i j v a + t a j y i j a T a , a = 1 , 2 , , M .

4. Algorithm and Analysis

This section introduces the Adaptive Sampling-Based Task Rationality Review Algorithm (ASTRRA). Section 4.1 provides an overview of the ASTRRA framework. Section 4.2 presents the adaptive sampling strategy, which reduces computational complexity while ensuring high-value tasks are sampled. Section 4.3 proposes a task review and classification method to address the coherence of UAV task paths, thereby improving overall task allocation revenue. Section 4.4 introduces a crossover path exchange strategy to minimize path intersections, further optimizing the allocation scheme.

4.1. Basic Idea and Framework

4.1.1. Introduction of LSTA

The baseline algorithm for our method is the lazy sample-based task allocation (LSTA) algorithm. To facilitate understanding, we first introduce the basic concept of the LSTA algorithm. LSTA, proposed by Zhang et al., [40] is an improved version of the CBBA, enhancing computational efficiency through a lazy strategy. The LSTA algorithm consists of two stages: the initialization stage and the task assignment auction stage.
  • Initialization stage: In the first stage, each UAV randomly samples the task set with a pre-set probability to form its own task sample set, followed by initializing the initial task sample set.
  • Task assignment auction stage: In the second stage, UAVs calculate and rank the marginal gains [41] for the initial task sample set formed in the first stage. Through negotiation, the task with the highest marginal value and its corresponding UAV are selected, followed by conflict detection. Finally, global consensus and update are performed, adding the task with the highest marginal value to the corresponding UAV’s task set while removing the same task from the sample sets of other UAVs involved in the conflict detection.
The overall process of the LSTA algorithm is shown in Figure 1.

4.1.2. Algorithm Overall Process

Our proposed ASTRRA makes three major improvements to the LSTA algorithm by introducing an adaptive sampling strategy, task review and classification method, and crossover path exchange strategy. The complete steps of the ASTRRA are as follows:
  • Initialization stage: We propose an adaptive sampling strategy that dynamically adjusts the sampling probability. This strategy increases the sampling probability for high-value tasks and decreases it for low-value tasks, minimizing the risk of missing high-value tasks due to a low sampling probability and reducing the benefit loss caused by probability adjustment.
  • Task assignment auction stage: This stage follows the same process as that of the LSTA algorithm. During each iteration, tasks are auctioned and allocated to the UAV with the highest bid, and the same tasks are removed from the task sample sets of other UAVs. This iterative process continues, completing the initial allocation through repeated auctions.
  • Task review and classification stage: We propose a task review and classification method for tasks that are unreasonably allocated during the auction stage. After the first round of auctions for all tasks, tasks are reviewed for coherence using heading change angles and flight distances as indicators. Tasks identified as having coherence issues in the UAV task sequence and tasks assigned to UAVs with underutilized load capacities are classified into two categories, creating a coherence issue task pool and a load-balanced task pool. These two pools undergo a new round of auctions independently, improving the quality of task allocation.
  • Crossover path exchange stage: After the task review and classification stage, we introduce a crossover path exchange strategy. This strategy is inspired by the lazy-based review consensus algorithm (LRCA) [42] proposed by Xu et al. for vehicle task allocation and the crossover step in genetic algorithms. The maximum consensus strategy assigns the best task in each iteration to the UAV with the highest bid, which may cause intersections between UAV task paths. By adding a crossover path exchange strategy, the allocation results can be further optimized.
The overall process of the ASTRRA is shown in Figure 2.

4.2. Adaptive Sampling Strategy

For small-scale scenarios, even if each UAV samples all task sets, the speed of LSTA can meet the real-time requirements of UAV task allocation. However, in large-scale task allocation problems, the increased number of tasks leads to a significant rise in computational load. In this context, partial sampling of the task sets can significantly reduce the computational burden, ensuring the speed of the algorithm.
To address large-scale task allocation, we must sample tasks from the task pool. Existing algorithms like LSTA and LRCA use fixed sampling strategies, where each UAV samples tasks from the pool with the same probability p, forming its initial task sample set. This method does not differentiate the importance of task samples. A uniform p value may result in key tasks being overlooked, causing unnecessary revenue loss.
Our proposed adaptive sampling strategy dynamically adjusts the sampling probability based on the characteristics of the tasks, considering their importance and fitness. For high-value tasks or tasks highly suitable for a specific UAV, the sampling probability p is increased, enhancing the chances of these tasks being prioritized. Conversely, for non-urgent or less suitable tasks, the sampling probability p is decreased to conserve resources, ensuring a balance between computational efficiency and task value maximization.
The detailed steps for calculating the dynamic sampling probability are as follows:
Step 1. Calculate the importance proportion s of the current task to be sampled in the task pool and the fitness proportion f of the current task to be sampled in the task pool:
s = ξ j max ξ , f = λ a j max λ a
where ξ represents the set of task importance levels, max ξ denotes the importance factor of the highest importance task in the task pool, λ a denotes the set of fitness levels of UAV a for the task samples in the task pool, and max λ a represents the fitness level of the task that matches UAV a the most.
Step 2. To ensure randomness in generating sampling probabilities, we introduce a random perturbation parameter δ :
δ = δ 0 e , e [ 1 , 1 ]
where e is a random number between 1 and 1, and δ 0 is the perturbation scaling factor, empirically set to 0.1 in this study.
Step 3. Calculate the sampling probability p for UAV a for task j:
p = p 0 ( s α + f β ) γ + δ = p 0 ξ j max ξ α + λ a j max λ a β γ + δ 0 e
where p 0 is the initial sampling probability. α and β are adjustment coefficients with α + β = 1 . By setting appropriate values for α and β , the weights of importance proportion s and fitness proportion f in the final sampling probability can be adjusted to ensure a more reasonable and balanced calculation. γ is the sampling coefficient introduced to increase the overall sampling probability in response to potential decrease in probabilities caused by the introduction of s and f.
Algorithm 1 describes the adaptive sampling process for each UAV. First, calculate the importance proportion s and fitness proportion f, and generate the random perturbation parameter δ (lines 3–5). Then, calculate the sampling probability p for UAV a for task j according to the Equation (20) (line 6). If task j meets the sampling probability, it is added to the task sample set of UAV a (lines 7–9).
Algorithm 1 Adaptive sampling strategy of the ASTRRA
Input: 
a, p 0 , T, δ 0 , α , β , γ
Output: 
N a
 1:
N a
 2:
for each task j in all task T do
 3:
    s ξ j / max ξ
 4:
    f λ a j / max λ a
 5:
    δ δ 0 · random ( 1 , 1 )
 6:
    p p 0 ( s α + f β ) γ + δ
 7:
   if probability is p then
 8:
      N a N a { j }
 9:
   end if
10:
end for
11:
return  N a

4.3. Task Review and Classification Method

In the task auction stage, allocating the best current task to the highest-bidding UAV using the maximum consensus strategy can only guarantee a local optimum for that iteration, making it difficult to ensure a near-global optimal solution. Therefore, after the auction stage, a review of the rationality of the task allocation is necessary.
To further enhance the global optimality of task allocation, we propose a task review and classification method. This method aims to address potential coherence issues and the underutilization of resources in the initial task allocation, thereby optimizing the overall task allocation scheme. By reviewing the rationality of the assigned tasks, identifying tasks that need reassignment, and categorizing them based on the review results, tasks are directed into separate secondary auction stages, ensuring a more reasonable allocation for each task category. This process is repeated until the total revenue from task allocation no longer increases.
The specific steps for implementing the task review and classification method are as follows:
Step 1: Identify tasks with coherence issues in the UAV task sequence based on changes in the UAV’s heading angle and flight distance, specifically tasks with significant geographical spans between consecutive tasks. These tasks are added to the coherence issue task pool. The specific meanings of the two indicators are explained next.
Heading change angle: For the UAV task path set P a , define the heading change angle to quantify the directional change at each task point in the path. For any task point P m a (except the final task), the UAV will enter and exit at certain angles. Two vectors are drawn from task point P m a to its preceding task point P m 1 a and succeeding task point P m + 1 a , respectively. The angle formed by these two vectors is the heading change angle, denoted as θ m a . The calculation method for θ m a is as follows:
θ m a = arccos P m 1 a P m a · P m + 1 a P m a P m 1 a P m a P m + 1 a P m a
Flight distance: For any task point P m a in the UAV task path, define the Euclidean distance to the next task point P m + 1 a as the flight distance. The calculation formula for the flight distance d m a is:
d m a = P m + 1 a P m a
The heading change angle θ m a reflects the UAV’s turning angle at task point P m a and can be understood as the UAV’s turning angle along the task path. The flight distance d m a reflects the distance between task point P m a and the next task point P m + 1 a .
Generally, the closer the UAV’s heading change angle is to 180°, the more reasonable the allocation result, and the higher the total revenue. For instance, in Figure 3, UAV4’s task path T 5 T 9 T 3 has a small heading change angle, which indicates a potential coherence issue. If the heading change angle for the mth task of UAV a is very small and the flight distance to the next task point is very large, it is determined that the ( m + 1 )th task has a coherence issue. Thus, the ( m + 1 )th task of UAV a is added to the coherence issue task pool T P 1 , and the remaining tasks of that UAV are added to the load-balanced task pool T P 2 . For example, task T 4 in Figure 3 not only has a small heading change angle but also a large flight distance, indicating a coherence issue. 
Step 2: Identify UAVs with load redundancy and their associated tasks. Load redundancy means the total number of tasks in the UAV task path is less than its maximum carrying capacity, potentially indicating the underutilization of resources. Therefore, tasks undertaken by UAVs with load redundancy are added to the load-balanced task pool T P 2 .
Step 3: Reassign UAVs for the coherence issue task pool and the load-balanced task pool. Tasks with coherence issues typically reduce overall task execution efficiency and yield lower revenue for UAVs. Hence, more UAVs need to be allocated to the coherence issue task pool. Conversely, tasks in the load-balanced task pool are usually less difficult to execute and closer in distance, requiring fewer UAVs. The UAVs reallocated for task pools T P 1 and T P 2 are denoted as A 1 * and A 2 * , respectively. The number of UAVs M 1 * and M 2 * reallocated to T P 1 and T P 2 are calculated as: 
M 1 * = N 1 L + ε M 2 * = M 1 + M 2 M 1 *
where M 1 denotes the number of UAVs with coherence issues, M 2 denotes the number of UAVs with load redundancy, M 1 * and M 2 * denote the number of UAVs reallocated to task pools T P 1 and T P 2 , N 1 denotes the total number of tasks in the coherence issue task pool, L is the maximum load capacity of a UAV, and ε is the additional number of UAVs allocated to the coherence issue task pool based on practical considerations. In this paper, ε is set to 1.
Step 4: Re-enter the task assignment auction stage for the two task pools T P 1 and T P 2 . Conduct separate auctions for these task pools, repeating the process until revenue no longer increases.
According to the review rules, task T 4 undertaken by UAV3 in Figure 3 has a coherence issue, while UAV 1 and UAV 2 have load redundancy. Figure 4 shows the reassignment results after reassigning the tasks, where task T 4 is assigned to UAV 2, and task T 6 is added to UAV 1’s task path, significantly improving the allocation results.
Algorithm 2 details the implementation of the task review and classification method. During the task assignment auction stage, UAVs achieve initial task allocation using the maximum consensus strategy, and the assigned task paths are stored in p a t h , with the task path of UAV a denoted as p a t h a . First, tasks of UAVs with no more than one actual task are added to the load-balanced task pool T P 2 , recording the corresponding UAV identifiers (lines 5–8). Then, for UAVs with more than one actual task, we calculate the heading change angle θ of the mth task and the flight distance d to the ( m + 1 ) th task using vectors v e c t o r A and v e c t o r B (lines 8–11). If the heading change angle is small and the flight distance is long, it is determined that the task has a coherence issue, and subsequent tasks from the mth task in the UAV task path are added to the coherence issue task pool T P 1 , while previous tasks are added to the load-balanced task pool T P 2 , recording the UAV identifiers (lines 12–15). The different threshold combinations ( θ 1 , l 1 ) and ( θ 2 , l 2 ) are used for this judgment. If the UAV has no coherence issue but the number of tasks it undertakes has not reached its maximum carrying capacity, all tasks undertaken by that UAV are added to the load-balanced task pool, recording the UAV identifiers (lines 16–19). Finally, after all tasks have been reviewed and classified (lines 1–21), we reallocate UAVs to the two task pools accordingly (lines 22–25).
Algorithm 2 Task review and classification method of the ASTRRA
Input: 
p a t h
Output: 
T P 1 , T P 2 , A 1 * , A 2 *
 1:
T P 1 , T P 2 , A 1 , A 2 , A * , A 1 * , A 2 * , M 1 , M 2 , M 1 * 0
 2:
for each UAV’s p a t h a in all p a t h  do
 3:
   if len( p a t h a ) 1  then
 4:
      T P 2 T P 2 { p a t h a }
 5:
      A 2 A 2 { a }
 6:
   end if
 7:
   for each task m in p a t h a  do
 8:
      v e c t o r A p a t h a [ m 1 ] p a t h a [ m ]
 9:
      v e c t o r B p a t h a [ m + 1 ] p a t h a [ m ]
10:
      θ the angle between v e c t o r A and v e c t o r B
11:
      d the length of v e c t o r B
12:
     if  ( θ < θ 1 and d > l 1 )   or   ( θ < θ 2 and d > l 2 ) or other combination conditions then
13:
         T P 1 T P 1 { p a t h a [ m + 1 : ] }
14:
         T P 2 T P 2 { p a t h a [ : m + 1 ] }
15:
         A 1 A 1 { a }
16:
        else if len( p a t h a ) < L then
17:
         T P 2 T P 2 { p a t h a }
18:
         A 2 A 2 { a }
19:
     end if
20:
   end for
21:
end for
22:
A * A 1 A 2
23:
M 1 * len ( N 1 / L ) + ϵ
24:
A 1 * A * [ : M 1 * ]
25:
A 2 * A * [ M 1 * : ]
26:
return  T P 1 , T P 2 , A 1 * , A 2 *

4.4. Crossover Path Exchange Strategy

The task assignment auction stage ensures that the highest-bidding UAV gets assigned the optimal task at each auction round. However, this approach cannot avoid crossover issues between UAV task paths post-assignment. Typically, intersecting paths are not the most efficient allocation. To address this, we propose the crossover path exchange strategy to resolve path crossover issues between UAVs. While the LRCA also handles path crossovers, it primarily focuses on local optimization, which may inadvertently reduce overall benefits. In contrast, our method improves the total benefits of task allocation while maintaining the original benefits, ensuring global optimization.
The implementation steps of the crossover path exchange strategy are as follows:
Step 1. Calculate the directional relationship of path segments. For UAV a, consider the path segment formed by task point P m a (not the final task) and its subsequent task point P m + 1 a . For UAV b, consider the path segment formed by task point P n b and its subsequent task point P n + 1 b . The four directional relationships o 1 , o 2 , o 3 , and o 4 are calculated using the cross product of vectors:
o 1 = ( P m + 1 a P m a ) × ( P n b P m a ) o 2 = ( P m + 1 a P m a ) × ( P n + 1 b P m a ) o 3 = ( P n + 1 b P n b ) × ( P m a P n b ) o 4 = ( P n + 1 b P n b ) × ( P m + 1 a P n b )
where o 1 and o 2 determine the relationship of points P n b and P n + 1 b relative to segment P m a P m + 1 a , while o 3 and o 4 determine the relationship of points P m a and P m + 1 a relative to segment P n b P n + 1 b .
Step 2. Determine the crossover between UAV paths. Using the directional relationships, determine if the path P m a P m + 1 a of UAV a and the path P n b P n + 1 b of UAV b intersect. If o 1 and o 2 have opposite directions and o 3 and o 4 have opposite directions, the segments intersect. Additionally, if any of o 1 , o 2 , o 3 , or o 4 is zero and the corresponding point lies on the other segment, the segments intersect as well.
Step 3. Exchange task paths and calculate post-exchange benefits. Swap the paths following task m for UAV a with those following task n for UAV b. If the UAVs still meet load constraints after the swap, calculate the benefits of the new paths.
Step 4. Update UAV paths. Evaluate the benefits before and after the path exchange. If the total benefit increases post-exchange, update the paths for UAV a and UAV b to the new paths.
In Figure 5, the path segment T 4 T 1 for UAV 1 intersects with the path segment T 8 T 11 for UAV 2. After applying the crossover path exchange strategy, the updated paths of the UAVs are shown in Figure 6, where T 1 T 5 of UAV 1 has been exchanged with T 11 T 6 of UAV 2, resulting in a further increase in the total benefit of task assignment.
Algorithm 3 details the crossover path exchange strategy process. It traverses through the task paths of two UAVs (lines 2–9), swapping paths p 1 p 2 of UAV a and q 1 q 2 of UAV b when they intersect (lines 10–12). If the load constraints are satisfied post-swap, the algorithm calculates the benefits (lines 13–15) and updates the UAV paths (lines 16–19).
Algorithm 3 Cross-path exchange strategy of the ASTRRA.
Input: 
p a t h
Output: 
p a t h
 1:
p a t h a _ n e w , p a t h b _ n e w , r e w a r d o l d 0 , r e w a r d n e w 0 ,
 2:
for each UAV’s p a t h a in all p a t h  do
 3:
   for each task m in p a t h a  do
 4:
      p 1 p a t h a [ m ]
 5:
      p 2 p a t h a [ m + 1 ]
 6:
     for each UAV’s p a t h b in p a t h [ a : ]  do
 7:
        for each task n in p a t h b  do
 8:
           q 1 p a t h b [ n ]
 9:
           q 2 p a t h b [ n + 1 ]
10:
          if segment p 1 p 2 intersects segment q 1 q 2  then
11:
              p a t h a _ n e w p a t h a [ : m + 1 ] + p a t h b [ m + 1 : ]
12:
              p a t h b _ n e w p a t h b [ : m + 1 ] + p a t h a [ m + 1 : ]
13:
             if the swapped paths do not exceed the maximum UAV’s payload then
14:
                r e w a r d o l d f ( p a t h a p a t h b )
15:
                r e w a r d n e w f ( p a t h a _ n e w p a t h b _ n e w )
16:
               if  r e w a r d n e w r e w a r d o l d  then
17:
                   p a t h a p a t h a _ n e w
18:
                   p a t h b p a t h b _ n e w
19:
               end if
20:
             end if
21:
          end if
22:
        end for
23:
     end for
24:
   end for
25:
end for
26:
return  p a t h

5. Experiments and Analysis

In this section, numerical simulations are conducted to verify the effectiveness and real-time performance of the ASTRRA for UAV task allocation in real-world environments. First, we analyze the improvement effect of the ASTRRA. Then, its performance is comprehensively evaluated through comparison with the most representative algorithms. Finally, simulations of secondary allocation after UAV damage are conducted to demonstrate that the proposed algorithm meets the real-time requirements of actual mission execution.
All experiments were conducted on a laptop running Windows 10 Home Chinese Edition. The computer was equipped with an Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz and 16 GB of DDR4 2666 MHz memory (Lenovo, Beijing, China), and the simulations were performed using Python 3.10.

5.1. Validation of Effectiveness

To analyze the effectiveness of the ASTRRA, all experiments were conducted in a 5000 × 5000-m two-dimensional area. Each UAV could perform multiple tasks, but each task only needed to be performed once. UAVs started from the same point, and tasks were randomly distributed in the two-dimensional area, with a task sampling probability set to one. The threshold combinations ( θ , l ) were defined in four groups: ( 90 , 2000 ) , ( 100 , 2200 ) , ( 110 , 2400 ) , and ( 120 , 2500 ) . The specific experimental parameter settings are shown in Table 2, and the specific coordinates of the tasks are shown in Table 3, where the “ID” column represents the task numbers, and the “Coord (m)” column lists the (x-coordinate, y-coordinate) of the tasks.
The scenario parameters were input into both the LSTA algorithm and the ASTRRA, and the task allocation results are shown in Figure 7. In these figures, the blue Y-shaped symbols represent UAV starting points, the red star-shaped symbols represent target task points, the numbers next to the red star-shaped symbols represent target the task point numbers, the green circular symbols represent UAV final task points, and the dashed lines represent UAV task paths. Figure 7a shows the original LSTA algorithm results, which indicate relatively satisfactory allocations, but some UAV task paths have significant heading change angles and flying distances, indicating coherence problems where the geographical span between tasks for the same UAV is too large. Additionally, some task paths exhibit crossover issues. Examples of paths with coherence or crossover issues include {37, 30, 41}, {28, 14, 27}, {40, 10, 34}, and {3, 39, 18}, leading to a decrease in total task allocation benefit and hindering UAV flight efficiency. Figure 7b shows the results of the newly proposed ASTRRA, which, through the task review and classification method and crossover path exchange strategy, minimizes coherence issues in UAV task paths and reduces crossovers between UAV paths, resulting in a more reasonable task allocation compared to the original LSTA algorithm.
Due to the normalization of the objective function in Section 3, the total benefit value ranged between zero and one. The data in Table 4 show the results of 100 repeated simulations for the above scenario. The results indicate that the benefit of the LSTA algorithm was 0.947711, while the ASTRRA achieved a benefit of 0.969324. Clearly, the ASTRRA not only effectively resolved unreasonable task path allocation issues but also significantly increased the total task allocation benefit. Although the addition of multiple review strategies in the ASTRRA increased the runtime from the original 0.027328 s to 0.047354 s, the calculation speed remained within the millisecond range, fully meeting real-time task allocation requirements.

5.2. Comparative Analysis

To evaluate the performance of the proposed ASTRRA, comprehensive comparative experiments were conducted. In the comparative analysis, we selected the most representative algorithms: CBBA [31], DSTA [32], LSTA [40], and LRCA [42]. To verify the effectiveness of our algorithm at different scales of task allocation scenarios, we selected 20, 30, 40, and 50 UAVs with corresponding task numbers of 50, 80, 100, and 130, respectively. In each scenario, UAVs were set to the same initial starting point, and task points were randomly distributed in a 5000 × 5000 map to ensure that each algorithm was tested under identical conditions. To enhance the reliability of the results, 100 rounds of Monte Carlo simulations were performed for each algorithm in each scenario. The specific experimental parameter settings are shown in Table 5.
In our study, the performance of the ASTRRA task allocation algorithm was evaluated using box plots. Figure 8 shows the box plots of the total benefit values for the five algorithms in different scenarios. Each box plot displays the total benefit values for different algorithms when allocating varying numbers of UAVs (20, 30, 40, and 50) and tasks (50, 80, 100, and 130). As shown in the figure, the ASTRRA consistently performed the best in all scenarios, with the median always positioned higher and the interquartile range narrower, indicating a more concentrated and stable distribution of rewards compared to the other four algorithms. Table 6 summarizes the average benefit values for task allocation in different scenarios, clearly showing that the average benefit value of the ASTRRA is always higher than that of the other four algorithms, providing superior allocation results. Therefore, the proposed ASTRRA effectively enhances the total benefit value for task allocation and exhibits superior robustness and consistency in various scenarios compared to other algorithms.
Figure 9 shows the box plots of the runtime for the five algorithms in different scale scenarios. Due to the random generation of influencing factors in each round of simulation and the multiple review strategies added in the ASTRRA, the continuity problems and path crossings in UAV task paths vary. As a result, the box size is larger compared to that of the LSTA and LRCA algorithms, indicating slightly greater fluctuations in runtime for the ASTRRA. Table 7 summarizes the average runtime of the algorithms in different scenarios, showing that the average runtime of the ASTRRA is second only to the LSTA algorithm. Although the runtime of the ASTRRA increased, it remained in the millisecond range, fully meeting the real-time requirements for task allocation.
Figure 10 shows the average benefit value and average runtime of the ASTRRA in different scenarios. As the scale of UAVs and tasks increased, the total benefit value of task allocation showed an upward trend. The highest reward, 88.61%, was achieved when there were 40 UAVs and 100 tasks. Although the runtime of the algorithm also increased with the scale of the scenario, running the ASTRRA in a large-scale scenario with 50 UAVs and 130 tasks only took 0.3730 s, which is negligible for practical applications.
Figure 11 shows the average benefit and average runtime when allocating 130 tasks to 50 UAVs with a crossover path exchange strategy executed 15 times under different sampling probabilities. At lower sampling probabilities (e.g., 0.5), the runtime of the ASTRRA is relatively short, and the adaptive sampling strategy minimizes the impact on benefits. As the sampling probability increases, the runtime gradually increases, and the total benefit value also increases. When the sampling probability is one, the total benefit value is the highest. The ASTRRA adjusts the sampling probability to ensure high benefits while keeping the running time within an acceptable range, effectively balancing the benefits and running time, and is suitable for various task allocation scenarios.

5.3. Dynamic Reassignment after Damage

UAVs may encounter damage or failure while performing tasks. Figure 12 simulates the results of dynamic reallocation after UAV damage. When a UAV malfunctions, the system immediately performs secondary allocation. In this simulation, the gray line represents the originally assigned task path, the green line indicates the task path after the first reallocation following UAV damage, and the yellow and red lines represent the task paths after the second and third reallocations, respectively. Table 8 provides information on the damaged UAVs and the related dynamic reallocation details. The results show that the runtime for task reallocation decreased as task completion progressed, meaning the higher the task completion rate, the lower the computational burden for reallocation. When UAVs were damaged during task execution, the ASTRRA could quickly perform secondary allocation, effectively handling unexpected situations during the mission.

6. Conclusions

This paper investigated the UAV task assignment problem under realistic constraints. Building upon conventional models, we introduced task path decision variables to mathematically describe UAV task paths and proposed collaborative action constraints to ensure effective collaboration among UAVs. To solve the task assignment problem, we developed the ASTRRA. Through an adaptive sampling strategy, high-value targets were sampled efficiently, maximizing the balance between efficiency and task value. To address coherence issues in UAV task paths, we proposed the task review and classification method. By identifying issues in the UAV mission paths, we categorized tasks with coherence problems and tasks for UAVs that had not reached their load limit and auctioned them independently. Additionally, to handle possible path crossovers between UAV task paths, we introduced the crossover path exchange strategy. This strategy reduced path crossovers and further optimized task assignment, enhancing the total benefit. Effectiveness experiment demonstrated the effectiveness of the ASTRRA in improving UAV task paths. Comparative experiments showed that ASTRRA performed well across various task scale scenarios, significantly increasing the total benefit of task assignment. Damage reassignment experiments indicated that the ASTRRA could quickly respond to changes in the task environment, ensuring the real-time nature of task assignment. Future work will focus on optimizing multi-UAV task assignment strategies, particularly considering the impact of obstacles and improving algorithm performance.

Author Contributions

Conceptualization, C.S. and E.Z.; methodology, C.S.; software, Y.Y.; validation, C.S. and Y.Y.; Formal Analysis, Y.Y.; Investigation, C.S.; resources, E.Z.; data curation, E.Z.; writing—original draft preparation, C.S.; writing—review and editing, C.S. and Y.Y.; visualization, Y.Y. and C.S.; supervision, E.Z.; project administration, E.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Halder, S.; Ghosal, A.; Conti, M. Dynamic super round-based distributed task scheduling for UAV networks. IEEE Trans. Wirel. Commun. 2022, 22, 1014–1028. [Google Scholar] [CrossRef]
  2. Zhang, H. Offshore Oilfield Inspection Planning with Drone Routing Optimization. IEEE Access 2024, 12, 20885–20893. [Google Scholar] [CrossRef]
  3. Lee, H.W. Research on multi-functional logistics intelligent Unmanned Aerial Vehicle. Eng. Appl. Artif. Intell. 2022, 116, 105341. [Google Scholar] [CrossRef]
  4. Cao, P.; Lei, L.; Cai, S.; Shen, G.; Liu, X.; Wang, X.; Zhang, L.; Zhou, L.; Guizani, M. Computational Intelligence Algorithms for UAV Swarm Networking and Collaboration: A Comprehensive Survey and Future Directions. IEEE Commun. Surv. Tutor. 2024, 1. [Google Scholar] [CrossRef]
  5. Shah, I.A.; Jhanjhi, N.Z.; Ujjan, R.M.A. Drone Technology in the Context of the Internet of Things. In Cybersecurity Issues and Challenges in the Drone Industry; IGI Global: Hershey, PA, USA, 2024; pp. 88–107. [Google Scholar]
  6. Li, K.; Yan, X.; Han, Y. Multi-mechanism swarm optimization for multi-UAV task assignment and path planning in transmission line inspection under multi-wind field. Appl. Soft Comput. 2024, 150, 111033. [Google Scholar] [CrossRef]
  7. Yu, X.; Gao, X.; Wang, L.; Wang, X.; Ding, Y.; Lu, C.; Zhang, S. Cooperative multi-UAV task assignment in cross-regional joint operations considering ammunition inventory. Drones 2022, 6, 77. [Google Scholar] [CrossRef]
  8. Song, J.; Zhao, K.; Liu, Y. Survey on mission planning of multiple unmanned aerial vehicles. Aerospace 2023, 10, 208. [Google Scholar] [CrossRef]
  9. Deng, M.; Yao, Z.; Li, X.; Wang, H.; Nallanathan, A.; Zhang, Z. Dynamic multi-objective AWPSO in DT-assisted UAV cooperative task assignment. IEEE J. Sel. Areas Commun. 2023, 41, 3444–3460. [Google Scholar] [CrossRef]
  10. Chen, Y.; Yang, D.; Yu, J. Multi-UAV task assignment with parameter and time-sensitive uncertainties using modified two-part wolf pack search algorithm. IEEE Trans. Aerosp. Electron. Syst. 2018, 54, 2853–2872. [Google Scholar] [CrossRef]
  11. Tang, J.; Liu, D.; Wang, Q.; Li, J.; Sun, J. Probabilistic Chain-Enhanced Parallel Genetic Algorithm for UAV Reconnaissance Task Assignment. Drones 2024, 8, 213. [Google Scholar] [CrossRef]
  12. Redmond, D.; Soulier, M.; Droge, G. A Comparison of Many Approaches to Solving the Multiple Traveling Salesman Problem. In Proceedings of the 2024 Intermountain Engineering, Technology and Computing (IETC), Logan, UT, USA, 13–14 May 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 180–185. [Google Scholar]
  13. Bai, X.; Fielbaum, A.; Kronmüller, M.; Knoedler, L.; Alonso-Mora, J. Group-based distributed auction algorithms for multi-robot task assignment. IEEE Trans. Autom. Sci. Eng. 2022, 20, 1292–1303. [Google Scholar] [CrossRef]
  14. Li, J.; Yang, X.; Yang, Y.; Liu, X. Cooperative mapping task assignment of heterogeneous multi-UAV using an improved genetic algorithm. Knowl.-Based Syst. 2024, 296, 111830. [Google Scholar] [CrossRef]
  15. Rong, L.; Ziyang, Z.; Liang, L.; Jiafeng, L. Research on Real-Time Target Assignment of UAV Swarm Based on DA-PSO Algorithm. In Proceedings of the 2021 5th Chinese Conference on Swarm Intelligence and Cooperative Control, Shenzhen, China, 19–22 January 2022; Springer: Berlin/Heidelberg, Germany, 2022; pp. 1740–1749. [Google Scholar]
  16. Wang, Y.; Shi, Y.; Liu, Y. Research on improved genetic simulated annealing algorithm for multi-UAV cooperative task allocation. J. Phys. Conf. Ser. 2022, 2246, 012081. [Google Scholar] [CrossRef]
  17. Bao, K.; Pan, J.; Zhu, J. Enhanced grey wolf optimization algorithm for group decision making in unmanned clusters. In Proceedings of the 2020 3rd International Conference on Unmanned Systems (ICUS), Harbin, China, 27–28 November 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 523–527. [Google Scholar]
  18. Hooshyar, M.; Huang, Y.M. Meta-heuristic algorithms in UAV path planning optimization: A systematic review (2018–2022). Drones 2023, 7, 687. [Google Scholar] [CrossRef]
  19. Xu, S.; Bi, W.; Zhang, A.; Mao, Z. Optimization of flight test tasks allocation and sequencing using genetic algorithm. Appl. Soft Comput. 2022, 115, 108241. [Google Scholar] [CrossRef]
  20. Teck, S.; Dewil, R.; Vansteenwegen, P. A simulation-based genetic algorithm for a semi-automated warehouse scheduling problem with processing time variability. Appl. Soft Comput. 2024, 160, 111713. [Google Scholar] [CrossRef]
  21. Yafei, W.; Liang, Z. Improved Multi-objective Particle Swarm Optimization Algorithm based on Area Division with Application in Multi-UAV Task Assignment. IEEE Access 2023, 11, 123519–123530. [Google Scholar] [CrossRef]
  22. Geng, N.; Chen, Z.; Nguyen, Q.A.; Gong, D. Particle swarm optimization algorithm for the optimization of rescue task allocation with uncertain time constraints. Complex Intell. Syst. 2021, 7, 873–890. [Google Scholar] [CrossRef]
  23. Zhu, F.; Li, G.; Tang, H.; Li, Y.; Lv, X.; Wang, X. Dung beetle optimization algorithm based on quantum computing and multi-strategy fusion for solving engineering problems. Expert Syst. Appl. 2024, 236, 121219. [Google Scholar] [CrossRef]
  24. Sun, L.; Liang, H.; Ding, W.; Xu, J.; Chang, B. CMEFS: Chaotic mapping-based mayfly optimization with fuzzy entropy for feature selection. Appl. Intell. 2024, 54, 7397–7417. [Google Scholar] [CrossRef]
  25. Zhang, J.; Zhu, Y.; Wang, T.; Wang, W.; Wang, R.; Li, X. An Improved Intelligent Auction Mechanism for Emergency Material Delivery. Mathematics 2022, 10, 2184. [Google Scholar] [CrossRef]
  26. Wang, G.; Wang, F.; Wang, J.; Li, M.; Gai, L.; Xu, D. Collaborative target assignment problem for large-scale UAV swarm based on two-stage greedy auction algorithm. Aerosp. Sci. Technol. 2024, 149, 109146. [Google Scholar] [CrossRef]
  27. Zheng, X.; Zhang, F.; Song, T.; Lin, D. Heterogeneous multi-UAV distributed task allocation based on CBBA. In Proceedings of the 2019 IEEE International Conference on Unmanned Systems (ICUS), Beijing, China, 17–19 October 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 704–709. [Google Scholar]
  28. Otte, M.; Kuhlman, M.J.; Sofge, D. Auctions for multi-robot task allocation in communication limited environments. Auton. Robot. 2020, 44, 547–584. [Google Scholar] [CrossRef]
  29. Nunes, E.; Gini, M. Multi-robot auctions for allocation of tasks with temporal constraints. In Proceedings of the AAAI Conference on Artificial Intelligence, Austin, TX, USA, 25–30 January 2015; Volume 29. [Google Scholar]
  30. Choi, H.L.; Brunet, L.; How, J.P. Consensus-based decentralized auctions for robust task allocation. IEEE Trans. Robot. 2009, 25, 912–926. [Google Scholar] [CrossRef]
  31. Zhang, S.; Liao, M.; Yang, C.; Chen, W. Redistribution Algorithm Based on Improved CBBA UAV Task Sequence. In Proceedings of the 2023 IEEE International Conference on Unmanned Systems (ICUS), Hefei, China, 13–15 October 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1–6. [Google Scholar]
  32. Shin, H.S.; Li, T.; Lee, H.I.; Tsourdos, A. Sample greedy based task allocation for multiple robot systems. Swarm Intell. 2022, 16, 233–260. [Google Scholar] [CrossRef]
  33. Wang, W.; Ru, L.; Lu, B.; Hu, S. Multi-task cooperative assignment of two-stage heterogeneous multi-UAV based on improved CBBA. In Proceedings of the 2023 3rd International Symposium on Computer Technology and Information Science (ISCTIS), Chengdu, China, 7–9 July 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 173–178. [Google Scholar]
  34. Cao, Y.; Li, J.; Liu, L.; Liu, X.; Song, J.; Deng, S. MAV/UAV Formation Multi-Task Assignment Based on Distributed Auction Algorithm. In Proceedings of the 2023 IEEE International Conference on Unmanned Systems (ICUS), Hefei, China, 13–15 October 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 223–233. [Google Scholar]
  35. Yan, S.; Xia, Y. Research on Collaborative Task Allocation of Heterogeneous UAVs with Complex Constraints. IEEE Access 2023, 11, 112451–112469. [Google Scholar] [CrossRef]
  36. Kim, K.S.; Kim, H.Y.; Choi, H.L. A bid-based grouping method for communication-efficient decentralized multi-UAV task allocation. Int. J. Aeronaut. Space Sci. 2020, 21, 290–302. [Google Scholar] [CrossRef]
  37. Cui, W.; Li, R.; Feng, Y.; Yang, Y. Distributed task allocation for a multi-UAV system with time window constraints. Drones 2022, 6, 226. [Google Scholar] [CrossRef]
  38. Xu, J.; Chen, C.; Chen, S.; Liu, Q. Distributed Task Assignment Method for Multiple Robots Based on Dynamic Auction Rules. In Proceedings of the 2023 3rd International Conference on Consumer Electronics and Computer Engineering (ICCECE), Dongguan, China, 28 February–2 March 2025; IEEE: Piscataway, NJ, USA, 2023; pp. 707–712. [Google Scholar]
  39. Buckman, N.; Choi, H.L.; How, J.P. Partial replanning for decentralized dynamic task allocation. In Proceedings of the AIAA Scitech 2019 Forum, San Diego, CA, USA, 7–11 January 2019; p. 0915. [Google Scholar]
  40. Li, T.; Shin, H.S.; Tsourdos, A. Efficient decentralized task allocation for UAV swarms in multi-target surveillance missions. In Proceedings of the 2019 International Conference on Unmanned Aircraft Systems (ICUAS), Atlanta, GA, USA, 1–14 June 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 61–68. [Google Scholar]
  41. Feldman, M.; Harshaw, C.; Karbasi, A. Greed is good: Near-optimal submodular maximization via greedy optimization. In Proceedings of the Conference on Learning Theory, Amsterdam, The Netherlands, 7–10 July 2017; PMLR: London, UK, 2017; pp. 758–784. [Google Scholar]
  42. Xu, G.; Kang, X.; Yang, H.; Wu, Y.; Liu, W.; Cao, J.; Liu, Y. Distributed Multi-Vehicle Task Assignment and Motion Planning in Dense Environments. IEEE Trans. Autom. Sci. Eng. 2023, 1–13. [Google Scholar] [CrossRef]
Figure 1. Overall flow chart of the LSTA algorithm.
Figure 1. Overall flow chart of the LSTA algorithm.
Drones 08 00422 g001
Figure 2. Overall flow chart of the ASTRRA.
Figure 2. Overall flow chart of the ASTRRA.
Drones 08 00422 g002
Figure 3. Assignment results without task review and classification method.
Figure 3. Assignment results without task review and classification method.
Drones 08 00422 g003
Figure 4. Assignment results with task review and classification method.
Figure 4. Assignment results with task review and classification method.
Drones 08 00422 g004
Figure 5. Task assignment without crossover path exchange strategy.
Figure 5. Task assignment without crossover path exchange strategy.
Drones 08 00422 g005
Figure 6. Task assignment with crossover path exchange strategy.
Figure 6. Task assignment with crossover path exchange strategy.
Drones 08 00422 g006
Figure 7. Comparison of task assignment schemes between LSTA algorithm and ASTRRA. (a) LSTA algorithm task allocation scheme. (b) ASTRRA task allocation scheme.
Figure 7. Comparison of task assignment schemes between LSTA algorithm and ASTRRA. (a) LSTA algorithm task allocation scheme. (b) ASTRRA task allocation scheme.
Drones 08 00422 g007
Figure 8. Total reward value comparison of five algorithms under different scenarios. (a) Total reward value of allocating 50 tasks with 20 UAVs. (b) Total reward value of allocating 80 tasks with 30 UAVs. (c) Total reward value of allocating 100 tasks with 40 UAVs. (d) Total reward value of allocating 130 tasks with 50 UAVs.
Figure 8. Total reward value comparison of five algorithms under different scenarios. (a) Total reward value of allocating 50 tasks with 20 UAVs. (b) Total reward value of allocating 80 tasks with 30 UAVs. (c) Total reward value of allocating 100 tasks with 40 UAVs. (d) Total reward value of allocating 130 tasks with 50 UAVs.
Drones 08 00422 g008
Figure 9. Running time comparison of five algorithms under different scenarios. (a) Running time of allocating 50 tasks with 20 UAVs. (b) Running time of allocating 80 tasks with 30 UAVs. (c) Running time of allocating 100 tasks with 40 UAVs. (d) Running time of allocating 130 tasks with 50 UAVs.
Figure 9. Running time comparison of five algorithms under different scenarios. (a) Running time of allocating 50 tasks with 20 UAVs. (b) Running time of allocating 80 tasks with 30 UAVs. (c) Running time of allocating 100 tasks with 40 UAVs. (d) Running time of allocating 130 tasks with 50 UAVs.
Drones 08 00422 g009
Figure 10. ASTRRA’s average reward and running time across different Scenarios.
Figure 10. ASTRRA’s average reward and running time across different Scenarios.
Drones 08 00422 g010
Figure 11. ASTRRA’s average reward and running time across different sampling probabilities.
Figure 11. ASTRRA’s average reward and running time across different sampling probabilities.
Drones 08 00422 g011
Figure 12. Scheme of dynamic reassignment of UAV damage.
Figure 12. Scheme of dynamic reassignment of UAV damage.
Drones 08 00422 g012
Table 1. The basic symbol definitions and descriptions.
Table 1. The basic symbol definitions and descriptions.
SymbolDescription
MTotal number of UAVs
NTotal number of tasks
x a j Indicates whether UAV a performs task j
y i j a Indicates whether UAV a flies from task i to task j
n a Total number of tasks assigned to UAV a
d i j Distance from task point i to task point j
D j a Cumulative distance flown by UAV a to task j
v a Average speed of UAV a
t a j Time consumed by UAV a to perform task j
T j a Cumulative time consumed by UAV a to reach task j
τ j Degree to which the benefit of task j is affected by the arrival time of UAVs
λ a j Matching degree of UAV a to task j
ξ j Importance level of task j
RTotal benefit value of the UAV task allocation result
c j Number of times task j needs to be performed
L a Maximum task load of UAV a
D a Maximum flight range of UAV a
t a Takeoff waiting time of UAV a
t start Official start time of UAV cooperative action
T a Maximum flight time of UAV a
Table 2. Parameter settings for validation experiments.
Table 2. Parameter settings for validation experiments.
ObjectAttributeDescription
MapArea Size5000 m × 5000 m
UAVNumber of UAVs20
UAV base location(2200, 2500)
Maximum load capacity3
Speed60 km/h
TaskNumber of Tasks50
Task locationRandomly distributed within the map area
Time discount factor0.90
Importance factor0.85
Suitability factor0.75
Task execution time6 s
Table 3. Task IDs and their corresponding coordinates.
Table 3. Task IDs and their corresponding coordinates.
IDCoord (m)IDCoord (m)IDCoord (m)IDCoord (m)IDCoord (m)
05274, 3402102930, 4886201707, 2359304257, 113402478, 3845
13072, 240113646, 1478211270, 371631499, 1735415164, 266
24234, 2197122432, 3229221070, 4432321382, 1421422880, 537
33520, 3547131383, 2171233044, 4136334713, 327443948, 1178
41999, 2817145124, 3083242775, 991345288, 4769445129, 1601
53348, 354415479, 146625646, 3411351106, 207845526, 723
64970, 2472161862, 1582264229, 4725363338, 1022463197, 3681
73646, 2356172461, 4327275276, 2948371854, 1722473077, 1873
81835, 2032184246, 2951281709, 1278384713, 4293482306, 3394
94385, 3389193345, 4883291671, 2965394081, 3251493489, 4175
Table 4. Task assignment results of LSTA and ASTRRA.
Table 4. Task assignment results of LSTA and ASTRRA.
AlgorithmUAV Task PathReward ValueRuntime (s)
LSTA{4, 22}, {20, 15}, {8, 43}, {29, 25}, {12, 23, 19},0.9477110.027328
{37, 30, 41}, {13, 31}, {48, 17, 38}, {16, 44}, {47, 11, 36},
{35, 27}, {28, 14}, {32, 45}, {40, 10, 34}, {7, 2, 6},
{21, 0}, {46, 49, 26}, {5, 9, 33}, {24, 42, 1}, {3, 39, 18}
ASTRRA{8, 32, 45}, {29, 25}, {37, 43}, {13, 35, 31}, {12, 23, 26},0.9693240.047354
{14, 0}, {48, 17}, {44, 41, 30}, {39, 18}, {47, 11, 36},
{27}, {4, 21, 22}, {16, 28}, {40, 10, 19}, {7, 2, 6},
{20, 15}, {46, 49, 34}, {5, 38}, {24, 42, 1}, {3, 9, 33}
Table 5. Parameter settings for comparative analysis experiments.
Table 5. Parameter settings for comparative analysis experiments.
ObjectAttributeScenario 1Scenario 2Scenario 3Scenario 4
MapArea Size5000 m × 5000 m
UAVNumber of UAVs20304050
UAV base locationRandomly select a point within the map area
Maximum load capacity3
Speed60 km/h
TasksNumber of Tasks5080100130
Task locationRandomly distributed within the map area
Time discount factor0.8
Task importance factorRandomly distributed within [0.8–0.9]
Suitability factorRandomly distributed within [0.9–1]
Task execution timeRandomly distributed within [6–30] s
Table 6. Average rewards of five algorithms in different scenarios.
Table 6. Average rewards of five algorithms in different scenarios.
ScenariosCBBADSTALSTALRCAASTRRA
20 UAVs—50 Tasks0.7397790.8278210.8278210.8195420.853296
30 UAVs—80 Tasks0.7612440.8631580.8631580.8489050.874448
40 UAVs—100 Tasks0.7647910.8763720.8763720.8676530.886147
50 UAVs—130 Tasks0.7464810.8666910.8666910.8541720.881346
Table 7. Average runtime of five algorithms under different scenarios.
Table 7. Average runtime of five algorithms under different scenarios.
ScenariosCBBA (s)DSTA (s)LSTA (s)LRCA (s)ASTRRA (s)
20 UAVs—50 Tasks2.9270.2610.0290.0510.046
30 UAVs—80 Tasks13.4250.9300.0680.1370.123
40 UAVs—100 Tasks35.7471.9730.1160.2520.203
50 UAVs—130 Tasks89.8743.9980.2030.4740.372
Table 8. Results of dynamic reassignment of UAV damage.
Table 8. Results of dynamic reassignment of UAV damage.
RoundDamaged UAVRemaining Task CountTask Path after ReassignmentRuntime (s)
1UAV 335{43}, {25}, {45}, {23, 19}, {9}, {17},0.012919
{6, 41}, {39, 33, 0}, {11, 36}, {18, 14, 27},
{21, 22}, {30}, {10}, {2, 44}, {31, 15},
{46, 49}, {5, 26}, {24, 42, 1}, {3, 38, 34}
2UAV 1826{}, {}, {45, 1}, {23, 19}, {9, 0}, {}, {6, 41},0.006938
{39, 33, 30}, {36}, {18, 14, 27}, {22}, {42},
{10}, {2, 44}, {31, 15}, {49}, {26}, {38, 34}
3UAV 1919{}, {}, {45, 1}, {19}, {14, 27}, {},0.004029
{44, 41, 30}, {9, 34}, {36}, {33, 0},
{22}, {42}, {10}, {6}, {}, {38}, {26}
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sun, C.; Yao, Y.; Zheng, E. Enhancing Unmanned Aerial Vehicle Task Assignment with the Adaptive Sampling-Based Task Rationality Review Algorithm. Drones 2024, 8, 422. https://doi.org/10.3390/drones8090422

AMA Style

Sun C, Yao Y, Zheng E. Enhancing Unmanned Aerial Vehicle Task Assignment with the Adaptive Sampling-Based Task Rationality Review Algorithm. Drones. 2024; 8(9):422. https://doi.org/10.3390/drones8090422

Chicago/Turabian Style

Sun, Cheng, Yuwen Yao, and Enhui Zheng. 2024. "Enhancing Unmanned Aerial Vehicle Task Assignment with the Adaptive Sampling-Based Task Rationality Review Algorithm" Drones 8, no. 9: 422. https://doi.org/10.3390/drones8090422

Article Metrics

Back to TopTop