Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2023 Sep 20;23(18):7980. doi: 10.3390/s23187980

A Two-Stage Distributed Task Assignment Algorithm Based on Contract Net Protocol for Multi-UAV Cooperative Reconnaissance Task Reassignment in Dynamic Environments

Gang Wang 1, Xiao Lv 1,*, Xiaohu Yan 2
Editor: Petros S Bithas
PMCID: PMC10537739  PMID: 37766035

Abstract

Multi-UAV systems have been widely used in reconnaissance, disaster relief, communication, and other fields. However, many dynamic events can cause a partial failure of the original mission during the mission execution process, in which case task reassignment should be carried out. How to reassign resources and tasks in multi-dynamic, multi-target, and multi-constraint events becomes a core issue in the enhancement of combat efficiency. This paper establishes a model of multi-UAV cooperative reconnaissance task reassignment that comprehensively considers various dynamic factors such as UAV performance differences, size of target areas, and time window constraints. Then, a two-stage distributed task assignment algorithm (TS-DTA) is presented to achieve multi-task reassignment in dynamic environments. Finally, this paper verifies the effectiveness of the TS-DTA algorithm through simulation experiments and analyzes its performance through comparative experiments. The experimental results show that the TS-DTA algorithm can efficiently solve the task reassignment problem in dynamic environments while effectively reducing the communication burden of UAV formations.

Keywords: multi-UAVs, task reassignment, distributed algorithm, two stage, contract net protocol

1. Introduction

Compared with manned aircrafts, UAVs have the advantages of low cost, strong concealment, and being unmanned [1,2,3]. They are widely used in reconnaissance, disaster relief, communication, and other fields [4,5,6,7]. However, with the continuous expansion of task scales, in many cases, a single UAV cannot complete its tasks efficiently [8]. Multi-UAV systems have higher efficiency and stronger robustness than single UAVs [9,10]. In order to improve the efficiency and success rate of reconnaissance tasks, multi-UAVs often perform them cooperatively, especially in the field of military reconnaissance. Task assignment is a key issue for multi-UAVs to cooperate efficiently [11].

Before a reconnaissance mission begins, multi-UAV systems need to assign tasks according to static prior information and obtain the initial mission plan. In recent years, many researchers have established models and proposed solutions to such task assignment problems [12,13,14,15,16]. However, there are many uncertainties in the actual task execution process, such as target movement, drone damage, and many other dynamic events [17]. When these dynamic events occur, multi-UAV systems need to adjust the initial mission plan to adapt to these changes, a process called task reassignment [18].

Many researchers have established relevant models of task reassignment in dynamic environments. Yang et al. [17] established a task reassignment model for multi-UAVs performing search and rescue (SAR) missions, considering five dynamic events: finding new tasks, canceling original tasks, updating task coordinates, updating task deadlines, and updating task durations. However, the model only involved dynamic changes of targets and did not consider damage to UAVs during the mission. In the context of multi-UAV cooperative task assignment in SAR missions, Chen et al. [19] considered time sensitivity and dynamic environments and studied the problem of multi-UAV task reassignment after the emergence of a new target. However, their model did not consider the simultaneous occurrence of multiple targets. Oh et al. [20], in the context of suppression of enemy air defense (SEAD) missions, considered the problem of task assignment in the case of pop-up threats and UAV loss. However, the performance differences of UAVs were not considered in the model. Zhang et al. [21] studied the dynamic task assignment problem in the context of multi-UAVs attacking multiple ground targets cooperatively and considered the emergence of new targets and sudden UAV failure. However, the time window constraint of targets and movement of targets were not considered in the model.

Due to the nature of armed conflict, multi-UAVs are often in a dynamic environment when performing a cooperative reconnaissance mission. Existing multi-UAV task reassignment models in dynamic environments are not directly used for the modeling of multi-dynamic, multi-target, and multi-constraint events. In order to better describe the problem of multi-UAV cooperative reconnaissance task reassignment and discuss the literature on the above subject, this paper establishes a model of multi-UAV cooperative reconnaissance task reassignment in dynamic environments (DE-MCRTR) based on our previous work [22]. The DE-MCRTR model addresses task reassignment problems in dynamic events, including UAV damage, new target occurrence, location change of the target, as well as time window change of the target, while comprehensively considering various factors such as UAV performance differences, size of target areas, and time window constraints.

Multi-UAV task assignment is an NP-hard problem [23,24]. Commonly used task assignment algorithms can be divided into two categories [5,19]: one comprises centralized algorithms and the other comprises distributed algorithms. Centralized algorithms have the ability of global optimization [24] but their computational demand is high [17]. So, the solution speed of centralized algorithms is low, which causes their slow responsiveness to dynamic changes [25]. Although distributed algorithms cannot obtain global optimal solutions [24], their computational complexity is relatively small and their stability is higher [26]. Since task reassignment in dynamic environments is carried out in the process of mission execution, higher requirements are placed on the speed of reassignment. Thus, researchers usually use distributed task assignment algorithms to solve the problem of task reassignment in dynamic environments. The most common are consensus-based auction algorithms and market-based algorithms [27]. Among them, the most widely used are consensus-based bundle algorithms (CBBAs) [28] and the contract net protocol (CNP) [29].

Aiming at the problem of UAV swarms performing cooperative reconnaissance-and-attack tasks on multiple targets in complex and uncertain combat scenarios, Qin et al. [30] proposed a cooperator determination mechanism and a selection mechanism of sequential tasks, and extended the contract net protocol to design an event-triggered dynamic task allocation strategy. This strategy adopted the selection mechanism of sequential tasks and assigned tasks one by one. When the number of tasks was large, it was difficult to ensure efficiency. Zitouni et al. [31] proposed a distributed multi-UAV task assignment algorithm by combining a consensus-based bundle algorithm and an ant colony algorithm. However, the algorithm was only applicable if some original tasks were cancelled. Using the state feedback, gradient descent, and primal–dual methods, Deng et al. [32] designed a distributed algorithm for high-order agents to perform resource allocation tasks autonomously. Zhang et al. [33] introduced a sales contract, exchange contract, and replacement contract into the original contract net protocol and proposed an algorithm based on a hybrid contract net protocol to achieve dynamic task reassignment. This method had a low proportion of feasible solution combinations in the solving process; so, the solving efficiency was low when the number of targets is large. Yang et al. [17] proposed a partial reassignment algorithm based on the PI algorithm to realize online task reassignment after the target dynamic changes during mission execution. The algorithm was used for a single task reassignment situation, and it was not suitable for multiple tasks. Gao et al. [34] designed a task reassignment algorithm based on the contract net protocol to solve the task reassignment problem when new targets appear or UAV damage occurs during task execution. However, with the expansion of the scale of the problem, the number of UAV communications would be multiplied, resulting in poor reliability of the system.

There are multiple targets that need to be assigned in the DE-MCRTR model, and some targets contain time window constraints. In order to realize rapid reassignment of multiple targets, reduce the communication burden of multi-UAV formation, and ensure the quality of task assignment to a certain extent, this paper proposes a two-stage distributed task assignment algorithm based on contract net protocol (TS-DTA). The goal of the first stage and the second stage of the TS-DTA algorithm is to assign the targets without a time window and the targets with a time window, respectively. Based on the original contract net protocol, the bidding strategy with bidding benchmark is introduced in the first stage to reduce the communication burden of UAV formation, the bidding strategy based on route distance is proposed in the first stage to realize synchronous assignment of multiple tasks, and the cyclic bidding strategy based on task timing is proposed in the second stage to achieve efficient assignment of targets with time window constraints.

The rest of this paper is organized as follows: In Section 2, the background of multi-UAV cooperative reconnaissance task reassignment problem is introduced, and the task reassignment model is established. In Section 3, the TS-DTA algorithm is introduced in detail. In Section 4, a series of simulation experiments is conducted. In Section 5, the conclusions and prospects are given.

2. Task Reassignment Model

This section first introduces the background of the task reassignment problem of multi-UAV cooperative reconnaissance, and then establishes the task reassignment model according to dynamic events.

2.1. Background

The reconnaissance in this paper refers to using the photoelectric equipment and radar carried by UAVs to obtain real-time video and image information of targets so as to provide information support for decision-making for the command center. After the initial mission plan is obtained based on static prior information, UAVs start from their ship platform to each target to perform reconnaissance. The circular reconnaissance route is adopted by UAVs when performing reconnaissance. The radius of circular route is dependent on the danger degree and the size of each target. After completing all tasks, UAVs return to the ship platform. However, in the actual mission execution process, the confrontation between the enemy and ourselves would lead to many dynamic events, such as damage to the UAV, movement of targets, and so on. These dynamic events may partially invalidate the original mission plan. In order to ensure the completion of all tasks, it is necessary to reasonably assign unfinished tasks to currently dispatched UAVs. Combined with the actual mission, this paper focuses on the following four kinds of dynamic events.

(1) UAV damage

During the mission, a drone is suddenly hit by enemy air defense forces, making it impossible to complete the remaining tasks.

(2) New target occurrence

During the reconnaissance mission, early warning aircraft or ships may find some new targets that need to be reconnoitered.

(3) Location change of target

In order to enable UAV formation to quickly capture the moving targets, the provider of prior information needs to update the location of those targets in time.

(4) Time window change of target

In order to realize an effective cooperation with other combat forces, UAVs need to reconnoiter some targets within a given time window. When the time window of some targets are advanced or pushed back, the original plan may no longer meet the requirements of the new time window.

2.2. DE-MCRTR Model

Based on the previous work [22], this article introduces dynamic events and establishes a multi-UAV cooperative reconnaissance task reassignment model in a dynamic environment. The specific model is as follows:

2.2.1. Basic Information of the Model

(1) After the reconnaissance mission begins, each UAV starts from the ship platform at the same time, and the departure time is t = 0.

(2) UAVs that obtain tasks in the initial task assignment are called dispatched UAVs. After the dynamic event occurs, all dispatched UAVs participate in the task reassignment.

(3) Each task is completed by a single UAV.

(4) Every UAV can obtain its own location in real time.

2.2.2. UAV Model

The UAVs are initially carried by the ship platforms. The number of ship platforms is ns, the ship platform set is S={S0,S1,…,Sns−1}, and the coordinate of Si is [XSi,YSi]. The types and numbers of UAVs carried by each platform are known. The number of UAVs is nu, the UAV set is U={U0,U1,…,Unu−1}, the cruising speed of Ui is vi, the maximum range of Ui is mri, and the initial coordinate is the coordinate of the ship platform. Plan={P0,P1,…,Pnu−1} is the task scheme of UAV formation, which will be updated during task execution. The number of dispatched UAVs is nd,Udispatch={Ud1,Ud2,…,Udnd}. Once Udi is damaged, remove Udi from Udispatch. When dynamic events occur, the coordinate of Ui is [XUi,YUi]; the leftover maximum range of Ui is mrli; the list of finished tasks of Ui is TFi={TFi1,TFi2,…,TFinfi }; the list of leftover tasks of Ui is TLi={TLi1,TLi2,…,TLinli }; and nfi, nli are the number of finished tasks and leftover tasks of Ui, respectively.

2.2.3. Target Model

The initial number of targets is nt, the target set is T={T0,T1,…,Tnt−1}, and the approximate coordinate of Tj is [XTj,YTj]. The reconnaissance time window for Tj with time window constraint is TWj=[twsj, twej]. The radius of the circular reconnaissance route for UAV to reconnaissance target Tj is arj. If nnew new targets appear, the new target set is Tnew={Tn1,Tn2,…,Tnnnew}, the approximate coordinate of Tni is [XTni,YTni], and the radius of circular reconnaissance route is arTni. If Tni contains a time window constraint, the time window is TWTni=[twsTni, tweTni]. Meanwhile, these new targets need to be added to the original target set T, and the updated target set is T={T0,T1,…,Tnt−1,Tnt,…, Tnt+nnew−1}. If the location of target Tj is changed, its coordinates need to be changed to the new location [XTjn,YTjn]. If the time window of target Tj is changed, its time window needs to be changed to the new time window [twsjn, twejn].

2.2.4. Decision Variable

Referring to our previous work [22], define reij as the decision variable, where i=0,1,…,nu−1 and j=0,1,…,nt−1. The value of reij is 0 or 1; reij=1 indicates that Ui conducts reconnaissance on target Tj and vice versa.

2.2.5. Constraint Condition

In engineering fields, constraints occur naturally, such as resource limitations, which the agents are subject to [35]. The purpose of task reassignment is to reasonably assign tasks that have not been finished when a dynamic event occurs under the premise of satisfying various constraints and to obtain a new mission plan, denoted as Plannew={Pn0,Pn1,…,Pnnnew−1}.

(1) Completeness constraint

To ensure the effective completion of the mission and avoid resource waste, each target must be reconnoitered by one UAV:

∑i=1nureij=1, ∀j=0,1,2,…,nt−1 (1)

(2) Leftover maximum range constraint

After Ui receives the new mission plan Pni, it starts from the current location [XUi,YUi] and flies to each target point in turn to perform reconnaissance. The remaining flight distance of Ui is recorded as fdi; suppose Pni={Ti1,Ti2,…,Tini},fdi is expressed as Equation (2):

fdi=LUi, Ti1+∑k=1ni2πarTik+∑k=1ni−1LTik, Tik+1+LTini,SUi  (2)

where LUi, Ti1 is the distance from the current location of Ui to target  Ti1, ∑k=1ni2πarTik represents the sum length of the circular reconnaissance route of targets, ∑k=1ni−1LTik, Tik+1 represents the sum distances of transferring between targets, and LTini,SUi represents the flight distance of the UAV from the last target to its ship platform.

The leftover maximum range needs to be updated in real time. According to the discussion in Section 2.2.2, the list of finished tasks of Ui is TFi={TFi1,TFi2,…,TFinfi }, and the mrli of Ui is expressed as Equation (3):

mrli=mri−(LSUi,TFi1+∑k=1nfi2πarTFik+∑k=1nfi−1LTFik, TFik+1+LTFinfi,Ui) (3)

where LSUi,TFi1 represents the distance from the platform to the first finished target, and LTFinfi,Ui represents the distance from the last finished target to the current location of Ui. If Ui is exactly at the location of TFinfi, then LTFinfi,Ui=0.

In order to ensure that Ui can successfully complete the mission, it is required that the remaining flight distance of Ui cannot be greater than its remaining maximum range:

fdi≤mrli (4)

(3) Time window constraint

Suppose that the time when a dynamic event happens is td. According to Plannew, each UAV can obtain the time period for reconnaissance of its targets. Take Ui as an example, supposing Pni={Ti1,Ti2,…,Tini}. The start time of reconnaissance for Tij is tsij, and the end time of reconnaissance for Tij is teij. Then, tsij and teij are expressed as Equations (5) and (6):

tsij=LUi, Ti1+∑k=1j−12πarTik+∑k=1j−1LTik, Tik+1vi+td (5)
teij=tsij+2πarTij/vi (6)

If Tj contains a time window constraint, tsij and teij are required to satisfy the following constraints:

{tsij≥twsjteij≤twej (7)

2.2.6. Cost Function

(1) Cost of multi-UAV formation

In order to intuitively evaluate the pros and cons of the final mission plan, we establish the cost function of UAV formation by referring to the previous literatures [22,36].

fc=α⋅CT+β⋅AT+γ×104 (8)

where CT represents the mission completion time, which is the moment that the UAV complete the last task; AT represents the average flight time—that is, the average time spent by each UAV from departure to return to the platform (except damaged UAVs); and α,β∈[0,1] are proportional coefficients satisfying α+β=1, based on the discussions in literatures [12,37], which are α=β=0.5 here. Plans that do not satisfy the constraints cannot be used as the final mission plan, considering that a good mission plan should enable UAV formation to complete the task with less consumption. Referring to [36], γ×104 is used to penalize the plans that do not satisfy the constraints in Section 2.2.5. γ is the constraint factor, and the value of γ is 0 or 1: if the mission plan does not meet the constraints, γ=1, so that fc increases by 104; otherwise, γ = 0.

(2) Cost of single UAV

Due to the distributed architecture used in online task reassignment, each UAV cannot obtain the overall task mission plan. When updating its mission scheme, a single UAV cannot measure the merits of its scheme through the cost of UAV formation. Therefore, this paper introduces the single cost function to measure the cost of a single UAV. The cost of Ui depends on its task scheme, denoted as ci, which is calculated by Equation (9):

ci=ω1·cti+ω2·rti+γi×104 (9)

where cti represents the time from now to Ui completing all tasks according to its scheme Pi; rti represents the time from now to Ui returning back to platform; ω1,ω2 are proportional coefficients, ω1=ω2=0.5 here. γi is the constraint factor: if Pi is satisfied with the constraints, γi=0; otherwise, γi=1.

3. Two-Stage Distributed Task Assignment Algorithm Based on CNP

The advantages of the TS-DTA algorithm mainly include the following three aspects. The first is to achieve the assignment of multiple targets. The two-stage task assignment strategy can avoid the conflicts of multi-targets in the task allocation process, ensuring smooth task allocation. Secondly, tasks can be assigned efficiently. The algorithm is designed based on CNP. The original CNP is improved such that the TS-DTA algorithm can achieve rapid reassignment and ensure the quality of the solution to a certain extent. Thirdly, the communication burden of UAV formation is relatively small. By introducing the bidding benchmark and the bidding strategy based on route distance, the communication times of UAV formation during task assignment are reduced.

3.1. Tasks to Be Assigned

Task reassignment is carried out when some tasks cannot be completed due to dynamic events. When executing task reassignment, partial reassignment can be carried out on the basis of the previous mission plan, which can save computing resources and improve the speed of calculation [17,33]. Therefore, the TS-DTA algorithm proposed in this paper adopts the partial reassignment strategy—that is, only part of the targets that need to be reassigned are assigned and these targets are reasonably added to the existing task scheme of dispatched UAVs Udispatch.

According to the description in Section 2.1, the targets directly related to dynamic events need to be reassigned, which should be added to the list to be assigned TLun and removed from the current scheme of their corresponding UAVs. Removing some targets may lead to the reconnaissance time of subsequent targets violating the time window constraints, which will interfere with task reassignment. Therefore, it is necessary to remove the subsequent targets that do not meet the constraints from the current task scheme and add them to TLun. These targets are called the additional targets of task reassignment. For example, the current task scheme of Ui is TLi={TLi1,TLi2,…,TLinli }. When TLi2 needs to be reassigned, we remove TLi2 from TLi; so, TLi={TLi1,TLi3,…,TLinli }, supposing that TLi4, TLi6 contain time window constraints. According to the new task scheme, the reconnaissance time of TLi4,TLi6 will be earlier than the beginning of the time window. Then, it is necessary to remove TLi4,TLi6 from TLi to TLun.

Based on the above discussion, the sources of TLun include the leftover targets of damaged UAVs, new targets, the targets whose location changed, the targets whose time window changed, and additional targets. After a dynamic event occurs, the above targets need to be added to TLun. The additional targets are confirmed by UAV formation during the task reassignment process.

3.2. The Manager UAV and Contractor UAV

When the contract net protocol is used for task assignment, UAVs obtain a conflict-free solution by negotiating with each other. During this period, a manager UAV Um needs to be specified as the manager in the negotiation process. The other UAVs of Udispatch are contractor UAVs, which are denoted as CU. CU bids for tasks issued by Um during the assignment process. In addition, in the algorithm proposed in this paper, the manager UAV Um itself also participates in the task bidding.

From the perspective of balancing the communication distance between UAVs, this paper takes the UAV closest to the center of dispatched UAV formation as the manager and the remaining UAVs as the contractor. During the mission, Um obtains the location and task execution process of each UAV in real time by communicating with CU and switches the manager’s identity in time according to the relative location between UAVs so as to dynamically update Um and CU.

3.3. The Framework of TS-DTA

Based on the previous discussion, some of the targets in TLun may contain time window constraints. If the targets with time window constraints are assigned first, the previously assigned targets may violate time window constraints when other targets are inserted later. These targets need to be assigned again, thus affecting the smooth progress of task assignment. Therefore, this paper adopts the two-stage assignment strategy. Targets without time window constraints are assigned in the first assignment stage. On this basis, the second assignment stage is carried out to assign targets with time window constraints.

After manager UAV Um obtains the list of tasks to be assigned TLun, it is first divided into two sub-lists according to whether the target contains a time window constraint: the task list without time window constraints is FTLun; the task list with time window constraints is WTLun. At the same time, Um removes every target in TLun from the existing scheme Pi of the corresponding UAV Ui to obtain the current mission plan, Plan={P1,P2,…,Pnu}. In particular, for a damaged UAV Ub, its task list Pb needs to be emptied. The specific task assignment architecture is shown in Figure 1.

Figure 1.

Figure 1

The framework of TS-DTA.

The objective of the first assignment stage is to assign the targets in FTLun to Udispatch. Um needs to determine the number of targets in FTLun first. It needs to be disposed in two cases: If there is only one target Tx in FTLun, the bidding strategy with bidding benchmark is used for task assignment, as detailed in Section 3.4.2. If there are n (n≥2) targets in FTLun, the bidding strategy based on route distance is used for task assignment, as detailed in Section 3.4.3. In addition, Um needs to add additional targets to WTLun in the first assignment stage; the specific process is described in Section 3.4.2 and Section 3.4.3.

The objective of the second assignment stage is to assign the targets in WTLun to Udispatch. In the second stage, the cyclic bidding strategy based on task timing is used for task assignment, as detailed in Section 3.5.

3.4. The First Assignment Stage

3.4.1. Single-Target Insertion Method

Before we begin to introduce the strategies in the first assignment stage, we need to introduce the single-target insertion method. This method is designed to obtain the optimal new scheme BPij and the minimum cost increment mdcij for Ui to insert Tj into the current scheme Pi. There may be several targets in Pi already; thus, there are different positions of inserting Tj into Pi. The method is to traverse each insertable position of Pi and measure the quality of insertion scheme by comparing the cost of Ui. After the new target is inserted into the current scheme of Ui, we can obtain a new task scheme of Ui. The pseudo-code of this method is shown in Algorithm 1.

Algorithm 1 Single-target Insertion Method
Input: Pi, Tj
Output: BPij, mdcij
1 Let  n=len(Pi) , mdcij =104
2 Ui calculates the cost ci according to Pi by Equation (9)
3 For k in range (0, n) do
4   CoPi=copy (Pi)
5   Ui  insert Tj  into CoPi  at the position k
6   Ui  calculates the new cost according to CoPi  by Equation (9), denoted as nci
7   dc=nci −ci
8   If dc<mdcij
9     BPij = CoPi
10     mdcij=dc
11   End if
12 End for

Based on the above discussion, before Tj is inserted into Pi, Pi satisfies the constraint conditions. If mdcij≥104, it means that the task allocation scheme does not satisfy the constraints after target Tj is inserted into Pi.

3.4.2. Bidding Strategy with Bidding Benchmark

The contract net protocol enables UAVs to negotiate with each other by simulating the bidding process of the market mechanism. One round of bidding includes four stages: initialization, task bidding, winning bids, and signing contracts [38]. The manager and each contractor need to communicate three times in every round of bidding. In this way, with the increase in the number of UAVs, the communication burden of Um is heavier, which reduces the stability of the UAV system. Therefore, this paper proposes a bidding strategy with a bidding benchmark, which requires Um to publish the bidding benchmark at the same time when publishing bidding information. Before bidding, every Ui in CU compares its bid with the bidding benchmark. If its bid does not meet the bidding benchmark, Ui directly abandons the bidding. In this strategy, the number of communications between UAVs can be reduced. The specific steps are as follows:

(1) Um verifies whether Pm meet constraints or not. If Pm does not meet constraints, Um removes the targets with time window from Pm into WTLun. Then, Um finds the best scheme BPm and the minimum cost increment mdcm by inserting Tx into Pm by single-target insertion method, and the mdcm acts as bidding benchmark. At last, Um sends Tx, mdcm, and Plan to every UAV of CU.

(2) After Ui(Ui∈CU) receives the bidding information sent by Um,Ui first verifies whether Pi meets the constraints or not. If Pi does not meet the constraints, Ui removes the targets with time window from Pi into WTi, which will be sent to Um later. Then, Ui find the best scheme BPi and the minimum cost increment mdci of inserting Tx into Pi by single-target insertion method. At last, Ui compares mdci with mdcm. If mdci is smaller than mdcm, and mdci is smaller than 104, then Ui sends BPi, mdci, and WTi to Um; otherwise, Ui sends WTi to Um and gives up the bidding.

(3) After Um receives the bidding information sent by CU,Um puts the additional targets in all received WTi into WTLun. If all Ui in CU give up the bidding and mdcm is smaller than 104, Tx is assigned to Um. If all Ui in CU give up the bidding and mdcm is bigger than 104, Tx fails to be assigned. Otherwise, Um compares all received mdc and finds the Ubest with the min mdc, assigns Tx to Ubest, updates the task scheme of Ubest (Pbest=BPbest), sends the losing signal to those Ui that participated in the bidding (except Ubest), and sends the winning signal to Ubest.

According to the bidding strategy with bidding benchmarks, when the contractor UAV in CU finds that its bid exceeds the bidding benchmark, it directly abandons the bidding, and the Um no longer needs to transmit the information of bidding failure to it. The pseudo-code is shown in Algorithm 2.

Algorithm 2 Bidding Strategy with Bidding Benchmark
Input: Tx, WTLun, Plan, Um, CU
Output: updated Plan, WTLun
1 If Pm does not meet the constraints in Section 2.2.5
2   Um  removes the targets with time window from Pm  into WTLun
3 End if
4 Um get BPm, mdcm of inserting Tx into Pm by single-target insertion method
5 Um sends Tx, mdcm, Plan to every UAV of CU
6 For Ui in CU do (Parallel)
7  If Pi does not meet the constraints in Section 2.2.5
8 Ui removes the targets with time window from Pi into WTi
9     End if
10   Ui get BPi, mdci of inserting Tx into Pi by single-target insertion method
11  If mdci<mdcm and mdci<104
12     Ui  sends BPi , mdci , WTi  to Um
13   Else
14     Ui sends WTi to Um and give up the bidding
15   End if
16 End for
17 Um puts the targets in all received WTi into WTLun
18 If all Ui in CU give up the bidding
19   If mdcm<104
20     Pm=BPm
21   Else
22         Tx failed to be assigned
23   End if
24 Else
25 Um compares all received mdc and finds the Ubest with the min mdc
26     Pbest=BPbest , Um  sends losingsignal to those Ui  participated in the bidding (except Ubest ) and sends winningsignal to Ubest
27      End if

The ‘Parallel’ in the pseudo-code indicates that the calculation of each UAV is concurrent. This is because the UAV formation adopts a distributed architecture; so, calculation can be carried out independently based on the computing resources of each UAV. Therefore, the calculation of each UAV is in no order and they do not interfere with each other.

3.4.3. Bidding Strategy Based on Route Distance

When there are multiple targets to be allocated, there will be repeated communications between Um and CU, if targets are tendered one by one. As the number of targets and UAVs increases, the communication burden will be heavy and the stability will be poor. In order to better complete synchronous assignment of multiple targets, this paper proposes a bidding strategy based on route distance. In this strategy, Um assigns bids according to the relative distance between the remaining waypoints of Udispatch (including Um) and the targets to be allocated. The specific steps are as follows:

(1) Um sends FTLun, Plan to every UAV of CU first, then verifies whether Pm meet the constraints or not. If Pm does not meet constraints, Um removes the targets with time window from Pm into WTLun. Finally, the distance from each route point contained in Pm to each target point in FTLun is calculated, and the distance matrix DTm is obtained.

(2) After receiving the bidding information sent by Um, Ui(Ui∈CU) first verifies whether Pi meets the constraints or not. If Pi does not meet constraints, Ui removes the targets with time window from Pi into WTi, which will be sent to Um later. Then, Ui calculates the distance of every route point in Pi to each target in FTLun and obtains the distance matrix DTi. Finally, the DTi and WTi are sent to the manager UAV Um.

(3) After Um receives the bidding information sent by CU, Um puts the additional targets in all received WTi into WTLun. Then, all the distance matrices (including DTm) are processed to obtain the task assignment scheme, Assign={A1,A2,…,An}. Assign is a two-dimensional list, in which the elements in sub-list Aj are the serial numbers of UAVs in Udispatch. The serial numbers are arranged according to the minimum route distance from each UAV to the target Tj in ascending order.

(4) Um assigns targets to UAVs according to Assign. At the kth assignment (first set k = 1), Um directly assigns each target to the kth UAV in the corresponding sub-list of Assign for bidding. Thus, Um obtains the assigned task list ASTLk={ALk1,ALk2,…,ALknd}. Then, Um sends the ALki to each corresponding UAV Ui and processes the task list assigned to itself.

(5) After Ui(Ui∈Udispatch) receives ALki, for every task Tj in ALki, the single-target insertion method is adopted to find the optimal scheme BPij and the minimum cost increment mdcij of inserting Tj into Pi. If mdcij is smaller than 104, update the task scheme of Ui (Pi=BPij), remove Tj from ALki, and try to insert the next target in ALki. Otherwise, try to insert the next target in ALki directly. After all the targets in ALki are traversed once, the remaining ALki is sent back to Um.

(6) After obtaining feedback from all Udispatch, Um merges the targets in all ALki into a new FTLun. Then, it is judged whether FTLun is an empty set: if it is empty, the assignment of FTLun is completed; if not empty, let k=k+1, and then repeat steps (3)–(5). Continue this process until FTLun is an empty set, meaning the task assignment is successful; otherwise, if k>nd (nd is the number of dispatched UAVs), it means the remaining targets in FTLun failed to be assigned.

According to Formula (9), for targets without a time window constraint, the main factor affecting the assignment result is distance. From the perspective of reducing flight distance of UAVs, the target should be assigned to the UAV with the smallest flight distance added by completing the target. Therefore, the bidding strategy based on route distance is proposed. The manager Um directly assigns UAVs to bid for targets, which ensures the quality of the task scheme while reducing communication burden. The pseudo-code is shown in Algorithm 3.

Algorithm 3 Bidding Strategy Based on Route Distance
Input: FTLun, WTLun, Plan, Um, CU, Udispatch, nd
Output: updated Plan, WTLun
1 Um sends FTLun, Plan to every UAV of CU
2 If Pm does not meet the constraints in Section 2.2.5
3   Um  removes the targets with time window from Pm  into WTLun
4 End if
5 Um calculates the distance of every route point to each target in FTLun, gets DTm
6 For Ui in CU do (Parallel)
7  If Pi does not meet the constraints in Section 2.2.5
8       Ui  removes the targets with time window from Pi  into WTi
9     End if
10     Ui  calculates the distance of every route point to each target in FTLun , gets DTi
11     Ui  sends DTi , WTi  to Um
12 End for
13 Um puts the targets in all received WTi into WTLun
14 Um processes all DTi, gets Assign
15 k = 1
16 While FTLun ≠ ∅ and k≤nd do
17  For j in range 1 to nftl do
18 Assign FTLun[j] to Assign[j][k]
19 End for
20   Um gets the assigned task list ASTLk and sends ALki to Ui (ALkm handled by Um)
21  For Ui in Udispatch do (Parallel)
22 For Tj in ALki do
23   Ui get BPij, mdci of inserting Tj into Pi by single-target insertion method
24  If mdci<104
25      Pi=BPij , delete Tj  from ALki
26   End if
27 End for
28 Ui sends ALki to Um
29   End for
30   k=k+1
31   Um  put the targets in all ALki  into FTLun
32 End while
33 If  FTLun=∅
34   All tasks without time window have been assigned successfully
35 Else
36      Tasks in FTLun failed to be assigned

3.5. The Second Assignment Stage

The second assignment stage mainly relies on the cyclic bidding strategy based on task timing to complete the task assignment since targets in WTLun are constrained by time windows, and the end times of time windows are different. The end time of the time window of Tj is denoted as twej. It is a better choice to first assign the targets with an earlier end time of time window. Otherwise, some subsequent targets may need to be inserted ahead of the targets assigned previously. This insertion would change the mission process. As a result, the reconnaissance time of previously assigned tasks may not satisfy its time window constraint. In order to ensure that the task assignment can be carried out more smoothly, the targets in WTLun are firstly sorted according to the end time of time window, and then allocated one by one. At the same time, after the post-order targets are assigned, the pre-order targets that fail to be assigned could be successfully allocated. In order to enable more targets to be successfully assigned, we use a cyclic bidding method. In addition, in order to reduce the communication burden and improve the efficiency of assignment, similar to Section 3.4.1, the cyclic bidding strategy introduces a bidding benchmark when assigning each target in WTLun. The specific process is as follows:

(1) Um finds the best scheme BPmk and the minimum cost increment mdcmk of inserting the kth (first set k = 1) target in WTLun into Pm by single-target insertion method. The mdcmk acts as bidding benchmark. Then, Um sends Twk, mdcmk, and Plan to every UAV of CU.

(2) After receiving the bidding information sent by Um,  Ui(Ui∈CU) finds the best scheme BPik and the minimum cost increment mdcik of inserting Twk into Pm by single-target insertion method. Then, Ui compares mdcik with mdcmk. If mdcik is smaller than mdcmk, and mdcik is smaller than 104, then Ui sends BPik and mdcik to Um; otherwise, Ui sends a give up signal to Um and gives up the bidding.

(3) After Um receives the bidding information sent by CU, Um compares all received mdc and finds the Ubest with the min mdc; then, it assigns Twk to Ubest, updates the task scheme of Ubest (Pbest=BPbest), sends losing signal to those Ui that participated in the bidding (except Ubest), and sends winning signal to Ubest. Then, Twk is removed from WTLun. If all Ui in CU give up the bidding and mdcmk is smaller than 104, Twk is assigned to Um.

(4) Repeat steps (1)–(3) (increase k by 1 each time) until all targets in WTLun complete a traversal.

(5) Determine whether WTLun is an empty set: if yes, the task allocation is complete; otherwise, it is judged whether the target in WTLun is consistent with the target after the last traversal. If not, let k = 1 and repeat steps (1)–(4); if yes, it means that the existing tasks in WTLun can no longer be successfully assigned, the second assignment stage is terminated, and targets in WTLun failed to be assigned.

The pseudo-code of this strategy is shown in Algorithm 4.

Algorithm 4 Cyclic Bidding Strategy Based on Task Timing
Input: WTLun, Plan, Um, CU
Output: updated Plan
1 CoWTLun=copy (WTLun)
2 While WTLun≠ ∅ or CoWTLun≠WTLun do
3   CoWTLun=copy (WTLun)
4   For k in range (1, nwtl) do
5     Um gets BPmk, mdcmk of inserting Twk into Pm by single-target insertion method
6     Um  sends Twk , mdcmk , Plan  to every UAV of CU
7     For Ui in CU do (Parallel)
8      Ui gets BPik, mdcik of inserting Twk into Pi by single-target insertion method
9       If mdcik<mdcmk  and mdcik<104
10       Ui  sends BPik , mdcik  to Um
11      Else
12       Ui give up the bidding
13      End if
14       End for
15       If all Ui in CU give up the bidding
16      If mdcm<104
19       Pm=BPmk, Um delete Twk from WTLun
20      End if
21 Else
22   Um  compares all received mdc  and finds the Ubest  with the min mdc
23     Pbest=BPbest , Um  sends losingsignal to those Ui  participated in the bidding (except Ubest ) and sends winningsignal to Ubest
24      End if
25       End for
26      End while

4. Performance Analysis of TS-DTA

In order to comprehensively analyze the performance of the TS-DTA algorithm, a series of experiments are conducted based on the DE-MCRTR model. All algorithms are implemented in Python 3.9, the IDE is PyCharm, the computer CPU is an AMD Ryzen 5-5600H, and the CPU clock speed is 3.30 GHz. The distance unit in the text is kilometer (km) and the time unit is second (s). In order to simplify the expression, the units are omitted in the following text.

4.1. Validation of Effectiveness

4.1.1. Background Information

In order to verify the effectiveness of the TS-DTA algorithm in the DE-MCRTR model, we conducted a set of simulation experiments. Referring to existing literature [12,22,37], this article assumes that there are four ship platforms, each equipped with two UAVs. The cruising speeds and maximum ranges of different types of UAVs are different. The ship platforms are distributed in the area of [0, 100]×[0, 100]; we randomly initialize the location of the four platforms. The initialization information and related parameters are shown in Table 1.

Table 1.

Initialization information of platforms and UAVs.

Platform Location UAV Cruising Speed
(km/h)
Maximum Range
(km)
S0 [19.37, 37.39] U0 0.22 1000
U1 0.18 1200
S1 [65.77, 57.97] U2 0.16 1500
U3 0.22 1000
S2 [42.48, 21.43] U4 0.18 1200
U5 0.16 1500
S3 [32.59, 75.64] U6 0.22 1000
U7 0.30 800

The targets are distributed in the area of [100, 300]×[100, 300]. The radius of the circular routes of targets are initialized randomly within [1, 3]. We assume that there are twenty targets, of which five targets contain time window constraints. Similarly, this article randomly initializes the locations of the twenty targets within the given range and randomly selects five targets to set the time window constraints. The initialization information of targets is shown in Table 2.

Table 2.

Initialization information of targets.

Target Location Radius of Circular Route Time Window
T0 [218.78, 270.38] 2.37
T1 [195.39, 162.48] 1.67 [900, 1200]
T2 [146.44, 239.28] 2.18
T3 [156.53, 289.27] 2.01
T4 [184.89, 215.84] 1.05 [1300, 1800]
T5 [199.31, 250.61] 2.78
T6 [231.33, 110.05] 1.64
T7 [227.74, 154.97] 1.97
T8 [126.38, 294.10] 2.33
T9 [109.69, 185.35] 1.03
T10 [280.76, 266.99] 1.31 [800, 1300]
T11 [260.75, 287.63] 2.22
T12 [275.67, 125.95] 1.23
T13 [173.67, 250.11] 2.47
T14 [193.87, 108.35] 1.96 [1000, 1600]
T15 [268.56, 107.26] 2.21
T16 [254.66, 183.98] 2.02
T17 [260.90, 226.18] 1.31
T18 [290.79, 172.73] 2.32 [1400, 1800]
T19 [125.60, 254.88] 2.11

Before the mission starts, the offline task assignment algorithm is first used to obtain the initial mission plan: Plan = [[2, 13, 5, 4], [6, 15, 12], [1, 14], [7, 16, 17, 18], [], [], [8, 19, 9], [0, 10, 11, 3]]. The Plan is a two-dimensional list, where the sub-list represents the scheme of each UAV. The numbers in the sub-list represent the targets’ number. The same is true later. According to the initial mission plan, a total of six UAVs are dispatched to carry out the reconnaissance mission: Udispatch=[U0,U1,U2,U3,U6,U7], nd=6. The initial situation and the initial mission plan are shown in Figure 2a,b. The numbers next to the targets icon indicate targets’ number, the same is true later.

Figure 2.

Figure 2

(a) Initial situation. (b) Initial mission plan.

4.1.2. Task Reassignment in the Case of UAV Damage

To verify the effectiveness of the TS-DTA algorithm in the case of UAV damage, test 1 is conducted. The moment when the drone departs from the ship platform is t = 0. Assuming t = 1200, U1 is attacked by the enemy and loses the ability to execute tasks. In the simulation experiment, the location and task execution status of each UAV is calculated based on the initial mission plan. By this way, the finished task list of UAV formation is TF=[[2], [], [1], [7, 16], [], [], [8], [0, 10]], the leftover task list of UAV formation is TL=[[13, 5, 4], [6, 15, 12], [14], [17, 18], [], [], [19, 9], [11, 3]], and TL1=[6, 15, 12] is the leftover task list of U1. The tasks in TL1 need to be assigned to Udispatch. So, the list of tasks to be assigned is TLun=[6, 15, 12], and Udispatch=[U0,U2,U3,U6,U7]. The current battlefield situation is shown in Figure 3a.

Figure 3.

Figure 3

(a) The battlefield situation of test 1. (b) Result of task reassignment in test 1.

In Figure 3, the green circular icons represent the targets that have been reconnoitered, the blue circular icons represent the targets that have not been finished, the gray circular icons represent the targets that have changed, and the solid lines of different colors represent the remaining flight routes of UAVs according to the current mission plan. The UAVs that have not been given a task are still located on ship platforms; so, the icons of these UAVs and ship platforms overlap.

Run the TS-DTA algorithm to assign tasks in TLun. The new mission plan is Plannew= [[13, 5, 4], [], [14, 6], [17, 18, 12, 15], [], [], [19, 9], [11, 3]. The cost of multi-UAV formation is fc=2051.28. So, T6 is assigned to U2, and T12, T15 are assigned to U3. According to Plannew, the remaining routes of UAVs are shown in Figure 3b. The reconnaissance schedules of targets are shown in Figure 4. The green icons represent the reconnaissance time of the targets that have been reconnoitered, and the blue icons represent the reconnaissance time of the targets that will be reconnoitered. The same is true later.

Figure 4.

Figure 4

Reconnaissance schedules in test 1.

From Figure 3b, we can find that T6 will be reconnoitered by U2 and T12,T15 will be reconnoitered by U3. Combining Table 2 and Figure 4, Plannew can ensure that all targets with time windows are reconnoitered within the time window.

According to Plannew, T6 is reconnoitered after T14 in the scheme of U2. In Figure 5, there are two possible routes for U2 to finish T6 and T14. One is the shorter route, shown by the green dotted line, where the start and end times of the U2 reconnaissance of T14 are marked in green font in the figure. Another is the actual route, shown by the brown solid line, where the start and end times of the U2 reconnaissance of T14 are marked in brown font in the figure. tsij represents the Ui start time to reconnoiter Tj; teij represents the Ui end time reconnoitering Tj. From Figure 5, we can find that in the shorter route T6 is reconnoitered before T14. However, if the shorter route is adopted, ts214=1624.95 and te214=1701.89, which obviously contradicts TW14=[1000, 1600]. So, the shorter route (green dotted line) is abandoned.

Figure 5.

Figure 5

Routes comparison.

4.1.3. Task Reassignment in the Case of New Target Occurrence

To verify the effectiveness of the TS-DTA algorithm in the case of finding new targets, test 2 is conducted. Suppose that at t = 1300, the early warning aircraft detects three new targets: Tn1, Tn2, and Tn3. The location of Tn1 is LOCTn1= [217.00, 153.00], the radius of the annular route arTn1 = 1.50, and the reconnaissance time window is TWTn1=[1500, 1800]. The location of Tn2 is LOCTn2= [130.00, 206.00], and the radius of the annular route arTn2 = 2.30, without a reconnaissance time window. The location of Tn3 is LOCTn3= [241.00, 263.00], and the radius of annular route arTn2 = 1.90, without a reconnaissance time window.

According to Section 2.2.3, new targets need to be added into the original target set T. The original target number is 20, numbered from 0 to 19. So, Tn1 is numbered 20, denoted as T20. Similarly, Tn2 and Tn3 are numbered 21 and 22, which are denoted as T21 and T22, respectively. The current battlefield situation is shown in Figure 6a.

Figure 6.

Figure 6

(a) The battlefield situation of test 2. (b) Result of task reassignment in test 2.

The list of tasks to be allocated is TLun=[20, 21, 22]. The UAVs participating in task reassignment are Udispatch=[U0,U1,U2,U3,U6,U7]. The finished task list of UAV formation is TF=[[2], [], [1], [7, 16], [], [], [8], [0, 10]], and the leftover task list of UAV formation is TL=[[13, 5, 4], [6, 15, 12], [14], [17, 18], [], [], [19, 9], [11, 3]].

Run the TS-DTA algorithm to obtain the new task plan: Plannew= [[13, 5, 4], [6, 20, 15, 12], [14], [17, 18], [], [], [19, 21, 9], [11, 22, 3]]. The cost of multi-UAV formation is fc=2166.98. According to Plannew, T20 is assigned to U1, T21 is assigned to U6, and T22 is assigned to drone U7. The result is shown in Figure 6b. The reconnaissance schedules of targets are shown in Figure 7. Analysis shows that T21, T22 are assigned through bidding strategy based on route distance. So, T21 and T22 are assigned to U6 and U7, respectively, which are judged from the route distance.

Figure 7.

Figure 7

Reconnaissance schedules in test 2.

It is reasonable to assign to U1 and U2 from the perspective of flight distance. However, T20 needs to be completed within the time window of [1500, 1800], which conflicts with the time window of T14 that belongs to U1. So, T20 is finally assigned to U2.

4.1.4. Task Reassignment in the Case of Changing the Location of Targets

To verify the effectiveness of the TS-DTA algorithm in the case of changing the location of targets, test 3 is conducted. It is assumed that at time t = 1100, the early warning aircraft detects that four targets have moved to new locations as follows: T4 moves from [184.89, 215.84] to [157.00, 198.00], T9 moves from [109.69, 185.35] to [105.00, 210.00], T14 moves from [193.87, 108.35] to [194.00, 132.00], and T17 moves from [260.90, 226.18] to [250.00, 256.00]. The list of tasks to be allocated is TLun=[4, 9, 14, 17]. Among them, T4 and T14 contain time window constraints, and T9 and T17 do not contain time window constraints. The current battlefield situation is shown in Figure 8a.

Figure 8.

Figure 8

(a) The battlefield situation of test 3. (b) Result of task reassignment in test 3.

The lines in Figure 8a represent the original planned routes of UAVs. Because the locations of T4, T9, T14, and T17 are changed, UAVs can no longer finish the reconnaissance of these moved targets according to the original planned route. So, we need to reassign these moved targets and update the flight routes according to Plannew to ensure that all tasks can be completed. Now, the finished task list of UAV formation is TF=[[], [], [], [7], [], [], [], [0]], and the leftover task list of UAV formation is TL= [[2, 13, 5], [6, 15, 12], [1], [16, 18], [], [], [8, 19], [10, 11, 3]]. The UAVs participating in the assignment are Udispatch=[U0,U1,U2,U3,U6,U7].

Run the TS-DTA algorithm to obtain the new task plan: Plannew= [[2, 4, 13, 5], [18, 6, 15, 12], [1, 14], [16], [], [], [8, 19, 9], [10, 11, 17, 3]]; T4,T9,T14,T17 are assigned to U0,U6,U2,U7, respectively. The cost of multi-UAV formation is fc=2440.83. The remaining routes are shown in Figure 8b, and the reconnaissance schedules of targets are shown in Figure 9. Although T9 and T14 have moved, the range of motion is not large; thus, they are assigned to the original UAV and the task orders are not changed. As for T4, the time window constraint cannot be satisfied due to the change in location. After reassignment, the task execution order of U0 is adjusted to ensure that T4 is reconnoitered within its time window.

Figure 9.

Figure 9

Reconnaissance schedules in test 3.

For U3, because the location of T17 is changed, the algorithm first removes T17 from the task list of U3, which leads to the advance in the reconnaissance time of T18. As a result, the time window of T18 cannot be satisfied. So, T18 is the additional target, which should be added to TLun. Finally, T18 is assigned to U0, and T17 is assigned to U7, which is nearer to T17. According to Plannew, U0 first reconnoiters T18 and then performs subsequent tasks. By this way, the completion time of subsequent tasks are delayed; however, the time window constraints of all targets are satisfied.

4.1.5. Task Reassignment in the Case of Changing the Time Window of Targets

To verify the effectiveness of the TS-DTA algorithm in the case of changing the time window of targets, test 4 is conducted. Assuming that at time t=1250, the time windows of T4 and T18 are changed. The new time windows are TW4=[1400, 1700] and TW18=[1300, 1600]. The current battlefield situation is shown in Figure 10a.

Figure 10.

Figure 10

(a) The battlefield situation of test 4; (b) Result of task reassignment in test 4.

Now, the finished task list of UAV formation is TF= [[2], [], [1], [7, 16], [], [], [8], [0, 10]] and the leftover task list of UAV formation is TL= [[13, 5], [6, 15, 12], [14], [17], [], [], [19, 9], [11, 3]]. According to the initial mission plan, the start and end times of reconnaissance for T4 and T18 are [1717.29, 1747.38] and [1661.72, 1728.01], which obviously does not meet the new time window constraints. So, the list of tasks to be allocated is TLun=[4, 18], and the UAVs participating in the assignment are Udispatch=[U0,U1,U2,U3,U6,U7].

Run the TS-DTA algorithm to obtain a new mission plan: Plannew= [[13, 4, 5], [6, 15, 12], [14], [18, 17], [], [], [19, 9], [11, 3]]. The cost of multi-UAV formation is fc=1958.39. The results are shown in Figure 10a and Figure 11. According to the initial plan, the task scheme of U0 is P0=[2, 13, 5, 4] and the task scheme of U3 is P3=[7, 16, 17, 18]. So, in the initial plan, T4 belongs to U0 and T18 belongs to U3. It can be seen from Plannew that both T4 and T18 are assigned to the UAV they originally belonged to. However, compared with the initial plan, the orders of tasks in P0 and P3 have changed. According to Plannew, U0 reconnoiters T4 and then reconnoiters T5, and U3 reconnoiters T18 and then reconnoiters T17. This is because the time windows of T4 and T18 have advanced.

Figure 11.

Figure 11

Reconnaissance schedules in test 4.

4.2. Comparative Analysis

4.2.1. Analysis of Communication Simplification Effect

The communication times mean the total times that UAVs communicate with each other during the process of task assignment. This paper reduces the communication times of UAV formation by introducing a bidding benchmark and assignment strategy based on route distance into the TS-DTA algorithm. Gao et al. [34] proposed a CNP-based algorithm to solve the task reassignment problem, in which targets are allocated one by one. In order to analyze the simplification effect of the TS-DTA algorithm on the communication process, we carried out some comparative experiments. Since the CNP-based algorithm [34] is only applicable to the two cases of UAV damage and new target occurrence, we only consider the above two dynamic events when setting up comparative experiments.

In the experiment, we randomly generate some targets that need to be reconnoitered in the range of [100, 300] × [100, 300] as new targets. The specific data are shown in Table 3.

Table 3.

Data of new targets.

Target Location Radius of Circular Route Time Window
Tn1 [280.63, 278.70] 2.00
Tn2 [180.89, 173.82] 1.03
Tn3 [151.43, 198.77] 2.85 [1400, 1700]
Tn4 [215.02, 172.35] 2.06
Tn5 [191.46, 292.98] 1.62
Tn6 [251.27, 263.65] 2.46
Tn7 [257.51, 280.33] 2.44
Tn8 [173.28, 290.10] 1.18 [1600, 1900]
Tn9 [296.40, 146.77] 1.78
Tn10 [275.39, 207.76] 1.30
Tn11 [296.49, 161.63] 1.25
Tn12 [223.44, 166.88] 2.36 [1500, 1900]
Tn13 [143.55, 265.13] 2.41
Tn14 [179.71, 228.92] 2.31

We conducted the following three sets of tests: UAV damage, new target appearance, and new target appearance at the same time as UAV damage. Experiments are based on the initial mission plan described in Section 4.1.1, and different dynamic events are introduced for comparative experiments.

The dynamic events are introduced at time t = 1000 in the first set of experiments, recorded as test 5. The leftover task list of UAV formation is TL= [[2, 13, 5, 4], [6, 15, 12], [1, 14], [16, 17, 18], [], [], [8, 19, 9], [10, 11, 3]]. By changing the serial number and numbers of damaged UAVs, comparative experiments are carried out. The experimental results are shown in Table 4. In the table, nd represents the number of UAVs in Udispatch and nun represents the number of targets to be allocated.

Table 4.

Statistics of communication times in test 5.

Damaged UAV TLun nd nun Communication Times
CNP-Based TS-DTA
U0 [2, 13, 5, 4] 5 4 32 22
U1 [6, 15, 12] 5 3 24 12
U3 [16, 17, 18] 5 3 24 18
U6 [8, 19, 9] 5 3 24 12
U0,U1 [2, 13, 5, 4, 6, 15, 12] 4 7 42 19
U0,U3 [2, 13, 5, 4, 16, 17, 18] 4 7 42 26
U0,U6 [2, 13, 5, 4, 8, 19, 9] 4 7 42 17

It can be seen from the results that under various experimental conditions, the communication times of the CNP-based algorithm are greater than those of the TS-DTA algorithm. It is noted that the communication times of the TS-DTA algorithm are not stable even if nd and nun are constant, which is mainly caused by three reasons: First, the bidding benchmark is introduced in the algorithm and the number of contractors that meet the bidding benchmark in the bidding process is not certain. Second, the number of assignments in the bidding strategy based on the route distance is not stable. Third, the number of cycles of the cyclic bidding strategy based on task timing is not stable.

The dynamic events are introduced at time t = 1200 in the second set of experiments, recorded as test 6. The leftover task list of UAV formation is TL = [[13, 5, 4], [6, 15, 12], [14], [17, 18], [], [], [19, 9], [11, 3]]. By introducing different numbers of new targets for comparative analysis, the experimental results are shown in Table 5. It can be seen from the results that as the number of new targets increases, the communication times of the CNP-based algorithm increases linearly. However, the communication times of the TS-DTA algorithm are significantly less than those of the CNP-based algorithm, and as the number of targets increases, the advantage is more obvious.

Table 5.

Statistics of communication times in test 6.

New Target nd nun Times of Communication
CNP-Based TS-DTA
Tn1,Tn2 6 2 20 14
Tn1,Tn2,Tn3,Tn4 6 4 40 21
Tn1,Tn2,Tn3,Tn4,Tn5,Tn6 6 6 60 21
Tn1,Tn2,Tn3,Tn4,Tn5,Tn6,Tn7,Tn8 6 8 80 28
Tn1,Tn2,Tn3,Tn4,Tn5
Tn6,Tn7,Tn8,Tn9,Tn10
6 10 100 28
Tn1,Tn2,Tn3,Tn4,Tn5,Tn6
Tn7,Tn8,Tn9,Tn10,Tn11,Tn12
6 12 120 35
Tn1,Tn2,Tn3,Tn4,Tn5,Tn6,Tn7
Tn8,Tn9,Tn10,Tn11,Tn12,Tn13,Tn14,
6 14 140 39

The dynamic events are introduced at time t = 1200 in the third set of experiments, recorded as test 7. A comparative analysis was performed by changing the number of damaged UAVs and the number of new targets. The experimental results are shown in Table 6. It can be seen from the results that the number of communication times of the TS-DTA algorithm is significantly lower than that of the CNP-based algorithm in various cases.

Table 6.

Statistics of communication times in test 7.

Damaged UAV New Target nd nun Times of Communication
CNP-Based TS-DTA
U0 Tn1,Tn2 5 5 40 18
U1 Tn1,Tn2,Tn3,Tn4,Tn5,Tn6 5 9 72 22
U2 Tn1,Tn2,Tn3,Tn4,Tn5,Tn6,Tn7,Tn8 5 10 72 30
U0,U2 Tn9,Tn10,Tn11,Tn12 4 9 48 23
U0,U7 Tn9,Tn10,Tn11,Tn12,Tn13,Tn14 4 11 66 20

4.2.2. Analysis of Solution Speed and Solution Quality

In order to analyze the solution speed and solution quality of the TS-DTA algorithm, we conducted a set of comparative experiments. In addition to the CNP-based algorithm mentioned in Section 4.2.1, we add two centralized task assignment algorithms for comparison, including RPSO [39] and IEPPSO [22]. The solution speed and solution quality of RPSO and IEPPSO are related to the population size of particles. In order to analyze the performance of the algorithm more comprehensively, the task assignment effects of RPSO and IEPPSO algorithms with population sizes of 100, 300, and 500 are compared in each experiment. In the experiment, the number of iterations of the centralized algorithm is set to 200.

In the experiment, the number of targets to be reassigned is set to 2, 4, 6, 8, and 10, respectively. The performance is analyzed by comparing the CPU running time (tcpu) and the overall cost of UAV formation (fc) in various cases. Due to the randomness of the results of RPSO and IEPPSO algorithms, in order to ensure the objectivity of experiments, the RPSO and IEPPSO algorithms are run 20 times in each test, and the average of the 20 results are taken as the final result. The results are shown in Table 7.

Table 7.

The CPU running time and the overall cost of UAV formation.

nun Indicator RPSO
np  = 100
RPSO
np = 300
RPSO
np = 500
IEPPSO
np = 100
IEPPSO
np = 300
IEPPSO
np = 500
CNP-Based TS-DTA
2 tcpu 1.60 5.12 8.57 11.32 28.99 49.94 0.016 0.016
fc 2889.13 2208.32 2200.23 2047.23 2032.55 2001.19 2008.65 2016.87
4 tcpu 1.72 5.34 9.11 16.79 42.01 64.97 0.031 0.016
fc 3124.00 2389.12 2349.33 2116.75 2086.81 2071.35 2090.08 2160.61
6 tcpu 1.83 5.62 9.30 27.57 62.81 96.75 0.031 0.031
fc 4747.52 3134.25 2618.54 2264.27 2162.50 2178.09 2216.05 2216.05
8 tcpu 1.91 5.90 9.95 41.08 87.14 129.78 0.047 0.047
fc 6868.40 3960.38 3785.01 2357.67 2271.90 2260.06 2346.45 2348.27
10 tcpu 1.98 6.25 10.36 67.69 138.86 191.72 0.031 0.047
fc 8484.40 3610.04 3567.31 2444.06 2323.40 2282.11 2355.24 2355.34

According to the results of Table 7, the paper draws a line chart of CPU running time changing with the number of targets to be allocated, as shown in Figure 12, and draws a line chart of overall cost changing with the number of targets to be allocated, as shown in Figure 13.

Figure 12.

Figure 12

CPU running time.

Figure 13.

Figure 13

Cost of UAV formation.

From Figure 12, we can intuitively see that the CPU running time of the TS-DTA algorithm and the CNP-based algorithm is the shortest, followed by the RPSO algorithm, and that of the IEPPSO algorithm is the longest. As the population size increases, the time consumption of the RPSO and IEPPSO algorithms increase. Based on the experimental results in Section 4.2.1, the CNP-based algorithm requires a large amount of communication for task assignment. In the experiment, we did not consider the time cost of communication, and a large amount of communication will lead to a slower solution speed in actual task assignment.

From Figure 13, we can see that as the number of targets increases, the solving ability of the RPSO algorithm becomes weaker and the proportion of solutions that do not meet the constraints becomes higher, resulting in an overall higher cost value. The solving ability of the IEPPSO algorithm is relatively stable, and when the population size is 500, the solution of IEPPSO algorithm is optimal in various situations. However, combined with Figure 12, we find that the CPU running time of the IEPPSO algorithm significantly increases with the increase in the number of targets, which reflects that the IEPPSO algorithm improves the quality of the solution by increasing the computational load. So, the IEPPSO algorithm is not applicable in dynamic environments with high requirements for solving speed. Besides, the quality of solutions of the TS-DTA algorithm and the CNP-based algorithm are similar, and there is not much difference compared with the IEPPSO algorithm with a population size of 500.

Finally, considering the solving speed, communication burden, and solution quality, the TS-DTA algorithm is more suitable for solving the task reassignment problem in dynamic environments.

5. Conclusions and Future Work

In this paper, a model of multi-UAV cooperative reconnaissance task reassignment is established to comprehensively consider many dynamic events including UAV damage, new target occurrence, location change of the target, and time window change of the target. Then, a two-stage distributed task assignment algorithm (TS-DTA) based on the improved contract net protocol is presented to realize the rapid reassignment of multiple targets, reduce the communication burden of multi-UAV formation, and ensure the quality of task assignment to a certain extent. Finally, the experimental results show that the proposed TS-DTA algorithm can efficiently solve the task reassignment problem in dynamic environments while effectively reducing the communication burden of UAV formation.

Our future works will focus mainly on the two following aspects. Firstly, the TS-DTA algorithm will be further optimized to improve efficiency. Secondly, the task assignment and reassignment of reconnaissance UAVs and attack UAVs in mixed tasks will be further studied.

Author Contributions

Conceptualization, X.L. and G.W.; methodology, X.L. and G.W.; software, G.W.; validation, X.Y.; formal analysis, G.W.; investigation, G.W. and X.Y.; resources, X.L.; data curation, G.W.; writing—original draft preparation, G.W.; writing—review and editing, X.L.; visualization, G.W.; supervision, X.L.; project administration, X.L.; funding acquisition, X.Y. All authors have read and agreed to the published version of the manuscript.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

Funding Statement

This research was funded by the National Natural Science Foundation of China under Grant 62102268, the Stable Supporting Program for Universities of Shenzhen under Grant 20220812102547001, the Research Foundation of Shenzhen Polytechnic University under Grants 6022312044K and 6023310030K, and Natural Science Foundation of Hubei Province (No.2019CFB627).

Footnotes

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.

References

  • 1.Frattolillo F., Brunori D., Iocchi L. Scalable and Cooperative Deep Reinforcement Learning Approaches for Multi-UAV Systems: A Systematic Review. Drones. 2023;7:236. doi: 10.3390/drones7040236. [DOI] [Google Scholar]
  • 2.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. doi: 10.3390/drones6030077. [DOI] [Google Scholar]
  • 3.Xu S., Zhang J., Meng S., Xu J. Task allocation for unmanned aerial vehicles in mobile crowdsensing. Wirel. Netw. 2021;14:4185. doi: 10.1007/s11276-021-02638-7. [DOI] [Google Scholar]
  • 4.Rahman D.A., Sitorus A.B.Y., Condro A.A. From Coastal to Montane Forest Ecosystems, Using Drones for Multi-Species Research in the Tropics. Drones. 2022;6:6. doi: 10.3390/drones6010006. [DOI] [Google Scholar]
  • 5.Xia C., Yongtai L., Liyuan Y., Lijie Q. Cooperative Task Assignment and Track Planning for Multi-UAV Attack Mobile Targets. J. Intell. Robot. Syst. 2020;100:1383–1400. doi: 10.1007/s10846-020-01241-w. [DOI] [Google Scholar]
  • 6.Guo J., Huang G., Li Q., Xiong N.N., Zhang S., Wang T. STMTO: A smart and trust multi-UAV task offloading system. Inf. Sci. 2021;573:519–540. doi: 10.1016/j.ins.2021.05.020. [DOI] [Google Scholar]
  • 7.Muñoz J., López B., Quevedo F., Monje C.A., Garrido S., Moreno L.E. Multi UAV Coverage Path Planning in Urban Environments. Sensors. 2021;21:7365. doi: 10.3390/s21217365. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Zhang J., Xing J. Cooperative task assignment of multi-UAV system. Chin. J. Aeronaut. 2020;33:2825–2827. doi: 10.1016/j.cja.2020.02.009. [DOI] [Google Scholar]
  • 9.Chen X., Zhang P., Du G., Li F. A distributed method for dynamic multi-robot task allocation problems with critical time constraints. Robot. Auton. Syst. 2019;118:31–46. doi: 10.1016/j.robot.2019.04.012. [DOI] [Google Scholar]
  • 10.Huang H., Zhuo T. Multi-model cooperative task assignment and path planning of multiple UCAV formation. Multimed. Tools Appl. 2019;78:415–436. doi: 10.1007/s11042-017-4956-7. [DOI] [Google Scholar]
  • 11.Fu Z., Mao Y., He D., Yu J., Xie G. Secure Multi-UAV Collaborative Task Allocation. IEEE Access. 2019;7:35579–35587. doi: 10.1109/ACCESS.2019.2902221. [DOI] [Google Scholar]
  • 12.Wang Z., Liu L., Long T., Wen Y. Multi-UAV reconnaissance task allocation for heterogeneous targets using an opposition-based genetic algorithm with double-chromosome encoding. Chin. J. Aeronaut. 2018;31:339–350. doi: 10.1016/j.cja.2017.09.005. [DOI] [Google Scholar]
  • 13.Jia Z., Yu J., Ai X., Xu X., Yang D. Cooperative multiple task assignment problem with stochastic velocities and time windows for heterogeneous unmanned aerial vehicles using a genetic algorithm. Aerosp. Sci. Technol. 2018;76:112–125. doi: 10.1016/j.ast.2018.01.025. [DOI] [Google Scholar]
  • 14.Yan M., Yuan H., Xu J., Yu Y., Jin L. Task allocation and route planning of multiple UAVs in a marine environment based on an improved particle swarm optimization algorithm. EURASIP J. Adv. Signal Process. 2021;2021:39. doi: 10.1186/s13634-021-00804-9. [DOI] [Google Scholar]
  • 15.Cui Y., Dong W., Hu D., Liu H. The Application of Improved Harmony Search Algorithm to Multi-UAV Task Assignment. Electronics. 2022;11:1171. doi: 10.3390/electronics11081171. [DOI] [Google Scholar]
  • 16.Zhu P., Fang X. Multi-UAV Cooperative Task Assignment Based on Half Random Q-Learning. Symmetry. 2021;13:2417. doi: 10.3390/sym13122417. [DOI] [Google Scholar]
  • 17.Yang M., Bi W., Zhang A., Gao F. A distributed task reassignment method in dynamic environment for multi-UAV system. Appl. Intell. 2022;52:1582–1601. doi: 10.1007/s10489-021-02502-3. [DOI] [Google Scholar]
  • 18.Song J., Zhao K., Liu Y. Survey on Mission Planning of Multiple Unmanned Aerial Vehicles. Aerospace. 2023;10:208. doi: 10.3390/aerospace10030208. [DOI] [Google Scholar]
  • 19.Chen J., Qing X., Ye F., Xiao K., You K., Sun Q. Consensus-based bundle algorithm with local replanning for heterogeneous multi-UAV system in the time-sensitive and dynamic environment. J. Supercomput. 2022;78:1712–1740. doi: 10.1007/s11227-021-03940-z. [DOI] [Google Scholar]
  • 20.Oh G., Kim Y., Ahn J., Choi H.-L. Market-Based Distributed Task Assignment of Multiple Unmanned Aerial Vehicles for Cooperative Timing Mission. J. Aircr. 2017;54:2298–2310. doi: 10.2514/1.C032984. [DOI] [Google Scholar]
  • 21.Zhang J., Chen Y., Yang Q., Lu Y., Shi G., Wang S., Hu J. Dynamic Task Allocation of Multiple UAVs Based on Improved A-QCDPSO. Electronics. 2022;11:1028. doi: 10.3390/electronics11071028. [DOI] [Google Scholar]
  • 22.Lv X., Wang G., Chen J. Multi-UAV Cooperative Reconnaissance Task Allocation Based on IEPPSO Algorithm; Proceedings of the 2023 18th Chinese Conference on Computer Supported Cooperative Work and Social Computing; Harbin, China. 18–20 August 2023. [Google Scholar]
  • 23.Gerkey B.P., Matarić M.J. A Formal Analysis and Taxonomy of Task Allocation in Multi-Robot Systems. Int. J. Robot. Res. 2004;23:939–954. doi: 10.1177/0278364904045564. [DOI] [Google Scholar]
  • 24.Chen Y., Di Yang 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. doi: 10.1109/TAES.2018.2831138. [DOI] [Google Scholar]
  • 25.Ye F., Chen J., Sun Q., Tian Y., Jiang T. Decentralized task allocation for heterogeneous multi-UAV system with task coupling constraints. J. Supercomput. 2021;77:111–132. doi: 10.1007/s11227-020-03264-4. [DOI] [Google Scholar]
  • 26.Zhen Z., Zhu P., Xue Y., Ji Y. Distributed intelligent self-organized mission planning of multi-UAV for dynamic targets cooperative search-attack. Chin. J. Aeronaut. 2019;32:2706–2716. doi: 10.1016/j.cja.2019.05.012. [DOI] [Google Scholar]
  • 27.Ghassemi P., Chowdhury S. Multi-robot task allocation in disaster response: Addressing dynamic tasks with deadlines and robots with range and payload constraints. Robot. Auton. Syst. 2022;147:103905. doi: 10.1016/j.robot.2021.103905. [DOI] [Google Scholar]
  • 28.Choi H.-L., Brunet L., How J.P. Consensus-Based Decentralized Auctions for Robust Task Allocation. IEEE Trans. Robot. 2009;25:912–926. doi: 10.1109/TRO.2009.2022423. [DOI] [Google Scholar]
  • 29.Smith R.G. The contract net protocol: High-level communication and control in a distributed problem solver. IEEE Trans. Comput. 1980;29:1104–1113. doi: 10.1109/TC.1980.1675516. [DOI] [Google Scholar]
  • 30.Qin B., Zhang D., Tang S., Wang M. Distributed Grouping Cooperative Dynamic Task Assignment Method of UAV Swarm. Appl. Sci. 2022;12:2865. doi: 10.3390/app12062865. [DOI] [Google Scholar]
  • 31.Zitouni F., Harous S., Maamri R. A Distributed Approach to the Multi-Robot Task Allocation Problem Using the Consensus-Based Bundle Algorithm and Ant Colony System. IEEE Access. 2020;8:27479–27494. doi: 10.1109/ACCESS.2020.2971585. [DOI] [Google Scholar]
  • 32.Deng Z., Chen T. Distributed algorithm design for constrained resource allocation problems with high-order multi-agent systems. Automatica. 2022;144:110492. doi: 10.1016/j.automatica.2022.110492. [DOI] [Google Scholar]
  • 33.Zhang Z., Liu H., Wu G. A Dynamic Task Scheduling Method for Multiple UAVs Based on Contract Net Protocol. Sensors. 2022;22:4486. doi: 10.3390/s22124486. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Gao X., Wang L., Su X., Lu C., Ding Y., Wang C., Peng H., Wang X. A Unified Multi-Objective Optimization Framework for UAV Cooperative Task Assignment and Re-Assignment. Mathematics. 2022;10:4241. doi: 10.3390/math10224241. [DOI] [Google Scholar]
  • 35.Deng Z., Luo J. Fully Distributed Algorithms for Constrained Nonsmooth Optimization Problems of General Linear Multi-Agent Systems and Their Application. IEEE Trans. Autom. Control. 2023 doi: 10.1109/TAC.2023.3301957. early access . [DOI] [Google Scholar]
  • 36.Shami T.M., El-Saleh A.A., Alswaitti M., Al-Tashi Q., Summakieh M.A., Mirjalili S. Particle swarm optimization: A comprehensive survey. IEEE Access. 2022;10:10031–10061. doi: 10.1109/ACCESS.2022.3142859. [DOI] [Google Scholar]
  • 37.Gao S., Wu J., Ai J. Multi-UAV reconnaissance task allocation for heterogeneous targets using grouping ant colony optimization algorithm. Soft Comput. 2021;25:7155–7167. doi: 10.1007/s00500-021-05675-8. [DOI] [Google Scholar]
  • 38.Zhen Z., Wen L., Wang B., Hu Z., Zhang D. Improved contract network protocol algorithm based cooperative target allocation of heterogeneous UAV swarm. Aerosp. Sci. Technol. 2021;119:107054. doi: 10.1016/j.ast.2021.107054. [DOI] [Google Scholar]
  • 39.Liu W., Wang Z., Zeng N., Yuan Y., Alsaadi F.E., Liu X. A novel randomized particle swarm optimizer. Int. J. Mach. Learn. Cybern. 2021;12:529–540. doi: 10.1007/s13042-020-01186-4. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Data are contained within the article.


Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES