A multi-task distributed task allocation method for cluster aircraft

Through the improved CBBA algorithm and directed graph depth-first search, the deadlock problem in the temporal coupling task allocation of cluster aircraft in complex scenarios is solved, conflict-free and efficient task allocation is achieved, and it adapts to the high real-time requirements in dynamic scenarios. .

CN114610058BActive Publication Date: 2024-10-183RD GENERAL DESIGN DEPT CHINA AEROSPACE SCI & IND CORP +1

Patent Information

Application Number
CN202210197081.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-01
Publication Date
2024-10-18
Estimated Expiration
2042-03-01

AI Technical Summary

Technical Problem

Existing swarm aircraft task allocation methods are prone to deadlock problems when dealing with temporal coupling tasks and small collaborative time window constraints in complex scenarios, and have low computational efficiency and lack effective timing constraint transformation and hierarchical solution methods.

Method used

Using the improved Consensus based bundle algorithm (CBBA) combined with directed graph depth-first search, tasks are processed hierarchically through timing constraints, and the timing constraints between related tasks are converted into soft time windows to achieve conflict-free and deadlock-free task allocation.

Benefits of technology

It achieves conflict-free and deadlock-free allocation of single-layer tasks, improves the robustness and computing efficiency of task allocation, and adapts to high efficiency and real-time performance in complex scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114610058B_ABST
    Figure CN114610058B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-task distributed task allocation method for cluster aircraft, which layers all tasks according to timing constraints; applies an improved CBBA algorithm to upper-level tasks to complete the construction of task packages; each aircraft exchanges data with adjacent aircraft, and updates winning information and timestamps according to the consensus rules of the improved CBBA to obtain a conflict-free task allocation scheme; each aircraft checks whether its winning information conflicts with the task package information, and if so, releases the conflicting task and its subsequent tasks in the task package; performs deadlock detection and correction on the task allocation result; updates the start time of the upper-level task to meet the constraint that the cluster aircraft execution type tasks start at the same time; determines whether the current task is a bottom-level task, and if so, outputs the task allocation result, otherwise solves the soft time window of the lower-level task, and then performs task allocation until the task allocation result is output. The present invention realizes conflict-free and deadlock-free task allocation for single-layer tasks; decouples complex overall tasks in a hierarchical manner according to the timing sequence to realize the sequential hierarchical solution of timing-coupled multi-tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of aircraft mission planning, and in particular relates to a multi-task distributed task allocation method for cluster aircraft. Background Art

[0002] With the development of informatization, networking, and systemic confrontation, the mission requirements of modern warfare have become more complex and diverse. Single aircraft are limited by the characteristics of simple structure, single function, and poor fault tolerance, and can no longer meet the combat needs. Multiple or even clustered aircraft can cooperate and make full use of their respective performance, payload, and combat capabilities to conduct all-round reconnaissance and strikes on enemy targets, thereby improving the hit rate and combat effectiveness. At the same time, the damage and failure of some single aircraft in the cluster does not affect the completion of the final mission, and has higher robustness and credibility. Therefore, the use of clustered aircraft to collaboratively perform tasks has become an inevitable trend in the development of aircraft. The task allocation of clustered aircraft is to allocate aircraft to perform multiple tasks on a given target according to certain rules under the premise of meeting various constraints, so as to ensure that the various tasks of the system are executed in an orderly and efficient manner. Reasonable task allocation is the key to improving the efficiency of clustered aircraft in performing tasks. The task allocation problem of clustered aircraft can be regarded as a combinatorial optimization problem under complex multi-constraint conditions, and the solution methods are mainly divided into centralized and distributed methods.

[0003] Centralized methods mainly include optimization methods and heuristic methods, such as mixed integer linear programming, genetic algorithm, particle swarm algorithm, etc. Optimization methods are suitable for finding the optimal solution of simple problems. Although heuristic methods have strong optimization ability, they are prone to fall into local optimality when the problem scale is large, and the solution process relies too much on the calculation of the central node. The central node has a large computing load, low computing efficiency, and poor system robustness. Distributed task allocation methods are mostly based on market mechanisms, such as contract network protocols and auction algorithms. Compared with centralized methods, distributed methods can be calculated in parallel, have high computing efficiency, good timeliness, good scalability and robustness, and have become a hot topic for domestic and foreign scholars in recent years. Consensus based bundle algorithm (CBBA) is an auction algorithm that combines the convergence of the consensus algorithm with the robustness and computing efficiency of the auction method. Through the two stages of iterative task package construction and consistency conflict resolution, a conflict-free task allocation solution can be obtained. However, most of the existing distributed task allocation research focuses on independent tasks in simple scenarios without considering the temporal coupling relationship between tasks. The research on distributed sequential tasks also does not consider the tasks performed simultaneously by multiple aircraft under the constraints of small collaborative time windows and the deadlock problems caused by them. Summary of the invention

[0004] Purpose of the invention: The present invention provides a method for distributed multi-task allocation of cluster aircraft to achieve conflict-free and deadlock-free task allocation for single-layer tasks; and converts the timing constraints between related tasks into soft time window constraints to achieve sequential hierarchical solution of timing-coupled multi-tasks.

[0005] Technical solution: A multi-task distributed task allocation method for cluster aircraft described in the present invention comprises the following steps:

[0006] (1) Initialize task allocation information variables;

[0007] (2) All tasks are layered according to timing constraints, where the upper-level tasks are the tasks with higher timing priorities, and the lower-level tasks with the same goal must wait until the upper-level tasks are completed before they can be executed;

[0008] (3) Apply the improved CBBA algorithm to the upper-level tasks to complete the construction of the task package;

[0009] (4) Each aircraft exchanges data with its neighboring aircraft and updates the winning information and timestamp according to the consensus rules of the improved CBBA to obtain a conflict-free task allocation solution;

[0010] (5) Each aircraft checks whether its winning information conflicts with the mission package information. If so, it releases the conflicting mission and its subsequent missions in the mission package;

[0011] (6) looping steps (3) to (5) until the task path sequence of each aircraft no longer changes and a conflict-free task allocation solution is obtained;

[0012] (7) Deadlock detection and correction of task allocation results;

[0013] (8) Update the start time of the upper-level task to meet the constraint that the cluster aircraft execution tasks start at the same time;

[0014] (9) Determine whether the current task is a bottom-level task. If so, output the task allocation result. Otherwise, replace the start time of the bottom-level task in each area with the end time of the top-level task, and construct a soft time window for the associated tasks in the same target area to meet the timing constraints between the associated tasks.

[0015] (10) Repeat steps (3) to (9) until the task allocation result is output.

[0016] Furthermore, the task allocation information described in step (1) includes information of each aircraft, target area information, and task information.

[0017] Furthermore, the step (3) comprises the following steps:

[0018] (31) In each round of task selection, the aircraft first calculates the marginal gain of all tasks that meet the constraints as the bid value, and task j is added to b i The marginal gain c ij The calculation method is:

[0019]

[0020] in, Indicates inserting task j into p i The new path list generated by the nth position in the original p i The nth and subsequent elements in the same order remain unchanged and move backwards one by one. J is the set of tasks that aircraft i can perform. J\b i Indicates removing b from task set J i The existing tasks in It means that aircraft i moves along p i Total revenue from performing the task; The calculation method is:

[0021]

[0022] Among them, rwd ij and cst ij are the benefits and costs of aircraft i performing mission j, respectively, where cst ij =γ i d ij In order to ensure that all tasks are executed, the revenue rwd is calculated by combining fixed revenue and time-discounted revenue ij , the specific calculation method is:

[0023]

[0024] Among them, R j0 is the fixed income for executing the task, R j is the basic benefit of time-discounted benefit, 0<λ j <1 is the time discount coefficient of task j, which determines the decay rate of the basic income over time, t ij is the time for aircraft i to perform mission j, u(t ij ) is the decision variable related to the time of executing the task:

[0025]

[0026] in, is the time window of task j, is the time taken for task j;

[0027] (32) When task j is to be executed by a single aircraft, aircraft i only needs to compare its bid value with the winning bid value of task j to decide whether to bid. If its bid value is higher, it will bid. When the bid values ​​of the two are the same, if aircraft i has a smaller number, it will also bid. When task j is to be executed by multiple aircrafts, it is necessary to determine whether the number of bidding aircraft meets the requirements of task j. If aircraft i believes that task j is not fully allocated, it will directly bid. If aircraft i believes that task j is fully allocated, aircraft i needs to compare its bid value with the minimum winning bid value of task j to decide whether to bid. Similarly, when the two are the same, the aircraft with a smaller number is selected.

[0028] (33) After a round of bidding is completed, aircraft i selects the task with the largest bid value from all the bid tasks and adds it to its own task package b. i and update the path list and winning information;

[0029] (34) Repeat steps (31) to (33) and continue to build task packages until the task package reaches the upper limit or there are no tasks that meet the constraints. The maximum number of tasks that aircraft i can perform is L i for:

[0030]

[0031] Among them, ceil(·) is the upward rounding operator, req j is the load requirement of mission j, num is the number of aircraft used to perform the current type of mission, load i is the number of payload resources carried by aircraft i.

[0032] Furthermore, the step (4) comprises the following steps:

[0033] (41) Aircraft i first receives the winning information and timestamp from neighboring aircraft k;

[0034] (42) If task j requires only a single aircraft to execute, conflict resolution is performed according to the consensus rule of the CBBA algorithm;

[0035] (43) If task j requires multiple aircraft to execute together, the conflict resolution at this time is divided into two stages. In the first stage, the receiver i compares the stored winning information with the sender k to confirm that its own stored information is the latest. In the second stage, the receiver obtains new information from the sender and merges it with its own information.

[0036] Furthermore, the step (7) comprises the following steps:

[0037] (71) Construct a directed graph G of multi-aircraft execution task nodes;

[0038] (72) Use the depth-first search algorithm to detect whether there is a loop in G;

[0039] (73) If there is a loop, use the nearest neighbor principle to find the two nodes i and j with the smallest exchange cost, sort them according to the size of the numbers, find the aircraft k that performs task i first and then task j, and exchange the positions of i and j in its path list;

[0040] (74) Update the directed graph G, and then loop steps (72) to (73) to recheck whether there is a loop. If there is a loop, continue to correct it until the entire task plan is free of deadlock.

[0041] Furthermore, the step (8) comprises the following steps:

[0042] (81) Based on the estimated arrival time of the latest aircraft of task j, update the latest start time t_latest of the current task j , and find p i The difference between the original start time and the latest start time of the task t_delta i,m ;

[0043] (82) The difference between the previous task and the current task is t_delta i,m Perform updates and calculate the updated task start time;

[0044] (83) Repeat steps (81) to (82) until t_delta i,m The values ​​in are all 0, and the updated upper-level task start time is obtained.

[0045] Beneficial effects: Compared with the prior art, the beneficial effects of the present invention are: the present invention improves and expands the task package construction and conflict resolution rules of the consistency package algorithm, and designs a method based on directed graph depth-first search for deadlock detection and correction to achieve conflict-free and deadlock-free task allocation for single-layer tasks; the complex overall tasks are hierarchically decoupled according to the timing sequence, and then the timing constraints between tasks are converted into dynamic soft time window constraints to achieve sequential hierarchical solution of timing-coupled multi-tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 is a flow chart of the method of the present invention;

[0047] Figure 2 This is a diagram of the deadlock problem;

[0048] Figure 3is the timing diagram of each aircraft mission; among them, (a) is the timing diagram of the reconnaissance mission; (b) is the timing diagram of the strike mission; (c) is the timing diagram of the evaluation mission;

[0049] Figure 4 It is a spatiotemporal diagram of the task allocation results;

[0050] Figure 5 It is a two-dimensional plane diagram of the task allocation result. DETAILED DESCRIPTION

[0051] The present invention is further described in detail below with reference to the accompanying drawings.

[0052] The present invention provides a method for allocating distributed tasks for multi-tasks of cluster aircraft. Aiming at the task allocation problem of cluster aircraft cooperating to perform complex coupled multi-tasks, the method firstly layers the tasks in time sequence, improves and expands the task package construction process and conflict resolution rules of the CBBA algorithm, and designs a method based on directed graph depth-first search to detect and correct deadlocks of task plans, so as to achieve conflict-free and deadlock-free task allocation for single-layer tasks. Finally, the dynamic soft time window of the lower-layer tasks is constructed by using the allocation results of the upper-layer tasks, and the timing constraints between the timing coupled tasks are converted into soft time window constraints, so as to achieve the sequential layered solution of timing coupled multi-tasks; Figure 1 As shown, the specific steps include:

[0053] Step 1: Initialize key variables for task allocation, such as aircraft information, target area information, and task information.

[0054] Assume that there are N T target area and N V Unmanned aerial vehicles, N T and N V are the number of target areas and aircraft respectively. The target area set is represented by T = {T1, T2, ..., T NT}, the aircraft set is represented by U = {U1,U2,...,U NV The clustered aircraft performs reconnaissance (C), attack (A), and damage effect assessment (V) tasks in each target area in turn. Different tasks in the same target area are called "associated tasks". The total set of tasks to be performed by the aircraft is expressed as M = {M C ,M A ,M V}, a total of N M =3N T tasks, among which the reconnaissance task set is represented as M C ={M1,M2,...,M NT}, and other mission sets are similar. Define the mission set that aircraft i can perform as J. Assume NV Aircraft are divided into three categories. Different categories of aircraft carry different payload resources and are therefore used to perform different tasks. Type 1 and Type 3 aircraft carry reconnaissance and detection resources, which are used to perform reconnaissance and assessment tasks respectively, and the payload resources do not change after completing a mission; Type 2 aircraft carry a limited number of airborne ammunition resources, which are used to perform strike missions. These payload resources are consumable resources, and the payload resources will decrease after completing a mission. The reconnaissance and strike missions in each area are performed by a single or multiple aircraft, and the damage effect assessment mission can be completed by a single aircraft. In order to increase the probability of mission success, the tasks performed by multiple aircraft are set to be performed simultaneously, such as simultaneous reconnaissance and simultaneous strike missions.

[0055] Step 2: All tasks are layered according to timing constraints, where the upper-level tasks are tasks with higher timing priorities, and the lower-level tasks with the same goal must wait until the upper-level tasks are completed before they can be executed.

[0056] All tasks are layered into reconnaissance, strike, and damage effect assessment tasks according to time constraints. The upper-level tasks are the tasks with higher time priority, and the lower-level tasks of the same target can only be executed after the upper-level tasks are completed.

[0057] Step 3: Apply the improved CBBA algorithm to the upper-level tasks to complete the construction of the task package.

[0058] The improved CBBA algorithm is applied to the top-level reconnaissance mission to complete the construction of the mission package. The mission package construction is carried out by each aircraft locally at the same time. At this stage, the aircraft selects tasks to generate a bidding list based on the principle of maximizing its own peripheral benefit gain. i 、p i and the matrix Z i , Y i , and continue to iterate this process until the task package reaches the upper limit L i Or there are no optional tasks. The task package list b i Store the task set and task path list p assigned to aircraft i i Store the set of mission sequences to be performed by aircraft i and the winner matrix Z i Replace list z i To store the winning aircraft, the winning bid value matrix Y i Replace list y i Store the bid value of the winning aircraft that i believes. i is the maximum number of tasks that aircraft i can perform, and the calculation method is:

[0059]

[0060] Among them, ceil(·) is the upward rounding operator, req j is the load requirement of mission j, num is the number of aircraft used to perform the current type of mission, load i is the number of payload resources carried by aircraft i.

[0061] Step 3.1, when selecting tasks in each round, the aircraft first calculates the marginal gain of all tasks that meet the constraints as the bid value, and task j is added to b i The marginal gain c ij The calculation method is:

[0062]

[0063] in, Indicates inserting task j into p i The new path list generated by the nth position in the original p i The nth and subsequent elements in the same order remain unchanged and move backwards one by one. i Indicates removing b from task set J i The existing tasks in It means that aircraft i moves along p i The total revenue from executing the task, The calculation method is:

[0064]

[0065] Among them, rwd ij and cst ij are the benefits and costs of aircraft i performing mission j, respectively, where cst ij =γ i d ij In order to ensure that all tasks are executed, the revenue rwd is calculated by combining fixed revenue and time-discounted revenue ij , the specific calculation method is:

[0066]

[0067] Among them, R j0 is the fixed income for executing the task, R j is the basic benefit of time-discounted benefit, 0<λ j <1 is the time discount coefficient of task j, which determines the decay rate of the basic income over time, t ij is the time for aircraft i to perform mission j, u(t ij ) is the decision variable related to the time of executing the task:

[0068]

[0069] in, is the time window of task j, is the time taken for task j.

[0070] Step 3.2, after calculating the bid values ​​of all tasks, the aircraft shall comprehensively consider the requirements of each task for payload resources and compare its own bid value with the bid value of the winner to decide whether to bid. When task j is a single-aircraft execution type, aircraft i only needs to compare its own bid value with the winning bid value of task j to decide whether to bid. If its own bid value is higher, it will bid. When the bid values ​​of the two are the same, if aircraft i has a smaller number, it will also bid.

[0071] When task j is a multi-aircraft joint execution type, it is necessary to determine whether the number of bidding aircraft meets the requirements of task j. If aircraft i believes that task j is not fully allocated, it will directly bid. If aircraft i believes that task j is fully allocated, aircraft i needs to compare its bid value with the minimum winning bid value of task j to decide whether to bid. Similarly, when the two are the same, the aircraft with a smaller number is selected.

[0072] Step 3.3, after a round of bidding is completed, aircraft i selects the task with the largest bid value from all the bidding tasks and adds it to its own task package b i and updates the path list and winning information.

[0073] Step 3.4, repeat steps 3.1 to 3.3, and the aircraft continues to build mission packages until the mission package reaches the upper limit or there are no more tasks that meet the constraints.

[0074] Step 4: Each aircraft exchanges data with its neighboring aircraft and updates the winning information and timestamp s according to the consensus rules of the improved CBBA algorithm. i , to obtain a conflict-free task allocation solution.

[0075] In step 4.1, aircraft i first receives the winning information and timestamp from its neighboring aircraft k.

[0076] Step 4.2: If task j requires only a single aircraft to execute, the matrix Z i and Y i Restore to list z i and i , then resolve conflicts according to the consensus rules of the CBBA algorithm, and finally convert the list into a matrix for storage.

[0077] Step 4.3: If task j requires multiple aircraft to execute together, the conflict resolution is divided into two stages. In the first stage, the receiver i compares the stored winning information with the sender k to confirm that the information stored by itself is the latest.

[0078] Step 4.4, the second stage, the receiver obtains new information from the sender and merges it with its own information. If the sender k believes that the aircraft m (m≠i) is performing task j, and the receiver i does not have this information, the receiver i needs to determine whether the task j is fully loaded. If not, it needs to update. If the task j is fully loaded, it needs to compare Y i The non-zero minimum bid value in column j is If the bid value of aircraft m is larger, the aircraft with the smallest bid value is replaced by aircraft m, and the winning information is updated. Similarly, when the bid values ​​are the same, the aircraft with the smaller number is selected.

[0079] Step 5: Update the mission package. Each aircraft checks whether its winning information conflicts with the mission package information. If so, the conflicting mission and its subsequent missions in the mission package are released.

[0080] Step 6, looping steps 3 to 5 until the mission path sequence of each aircraft no longer changes, and obtaining a conflict-free mission allocation plan.

[0081] Step 7: Perform deadlock detection and correction on the task allocation results.

[0082] In order to avoid the deadlock phenomenon of infinite waiting when different aircraft execute the same task, it is necessary to detect and correct the deadlock of the task allocation results. Figure 2 As shown in the figure, it is a schematic diagram of the deadlock problem. Using the directed graph G =<V,E> The deadlock problem is described in the following way, where the node V is set to consider only the task nodes that need to be executed by multiple aircrafts, E is the edge set of the directed graph, and the edge (i, j) in E indicates that there is an aircraft executing the task from node i to node j. The deadlock-free task sequence is equivalent to the directed graph G being a directed acyclic graph.

[0083] Step 7.1, construct a directed graph G of cluster aircraft execution task nodes.

[0084] Step 7.2, use the depth-first search algorithm to detect whether there is a loop in G.

[0085] Step 7.3, if there is a loop, use the nearest neighbor principle to find the two nodes i and j with the smallest exchange cost, sort them according to the size of the numbers, find the aircraft k that executes task i first and then task j, and exchange the positions of i and j in its path list.

[0086] Step 7.4, update the directed graph G, and then loop steps 7.2 to 7.3 to recheck whether there is a loop. If there is a loop, continue to correct it until the entire task plan is free of deadlock.

[0087] Step 8: Update the start time of the upper-level task to meet the constraint that the cluster aircraft execution tasks start at the same time.

[0088] Step 8.1: Update the latest start time t_latest of the current task based on the estimated arrival time of the latest aircraft in task j j , and find p i The difference between the original start time and the latest start time of the task t_delta i,m .

[0089] Step 8.2: Calculate the difference between the previous task and the current task to obtain t_delta i,m Make updates and calculate the updated task start time.

[0090] Step 8.3, loop steps 8.1 to 8.2 until t_delta i,m The values ​​in are all 0, and the updated upper-level task start time is obtained.

[0091] Step 9, determine whether the current task is a bottom-level task. If so, output the task allocation result. Otherwise, replace the start time of the lower-level tasks in each area with the end time of the upper-level task, and construct a soft time window for the associated tasks in the same target area to meet the timing constraints between the associated tasks.

[0092] After updating the start time of all upper-level reconnaissance missions, the start time of the lower-level strike missions in each region is replaced with the end time of the upper-level mission, and the soft time window of the associated strike missions in the same region is constructed to meet the timing constraints between the reconnaissance and strike missions. The strike missions are then solved according to the extended CBBA algorithm, and deadlock detection and correction are performed. Finally, the start time of the strike mission is updated according to the constraint of simultaneous strikes, the soft time window of the underlying evaluation mission is constructed, and the conflict-free allocation of the evaluation mission is performed. Since the evaluation missions are all single-aircraft execution missions, there is no need to perform deadlock detection and start time update.

[0093] Step 10: Output the task allocation result and the task allocation is completed.

[0094] There are 12 target areas within a range of 50km×50km. 18 unmanned aerial vehicles carrying three different payloads are assigned to the target areas to perform reconnaissance missions, strike missions, and damage effect assessment missions in turn. Assuming that the task time of reconnaissance, strike, and assessment tasks is set to 30s, 25s, and 20s respectively, the parameters of the unmanned aerial vehicles are shown in Table 1, and the parameters of the target areas are shown in Table 2. The simulation platform is a PC with an Intel Core i5-6300HQ2.30GHz processor and 8G memory, and the software environment is MATLAB R2019a.

[0095] Table 1 Aircraft parameters

[0096]

[0097]

[0098] Table 2 Target area parameters

[0099]

[0100]

[0101] The simulation takes 0.41 seconds. The results of task allocation are shown in Table 3. The timing diagram of each aircraft executing tasks is shown in Figure 3 (a) to Figure 3 (c) shows the three-dimensional space-time and two-dimensional plane diagrams of the task allocation results. Figure 4 and Figure 5 As shown in the relevant charts of the task allocation results, it can be seen that the execution tasks of the cluster aircraft start at the same time, the task allocation scheme has no deadlock, and the reconnaissance, strike and evaluation tasks of each target area are carried out in sequence, meeting the timing constraints.

[0102] Table 3 Task allocation results

[0103]

[0104]

[0105] The results of the embodiments show that the multi-task distributed task allocation method based on the improved CBBA algorithm of the present invention can handle complex collaborative coupled multi-task distributed task allocation problems, and the obtained task allocation results are conflict-free and deadlock-free, and have good optimality and timeliness, and can adapt to the high real-time requirements in dynamic scenarios. Therefore, the present invention has strong engineering practicality and can achieve the expected purpose of the invention.

[0106] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A multi-task distributed task allocation method for cluster aircraft, characterized in that: The following steps are involved: (1) Initialize task allocation information variables; (2) All tasks are layered according to timing constraints, where the upper-level tasks are the tasks with higher timing priorities, and the lower-level tasks with the same goal must wait until the upper-level tasks are completed before they can be executed; (3) Apply the improved CBBA algorithm to the upper-level tasks to complete the construction of the task package; (4) Each aircraft exchanges data with its neighboring aircraft and updates the winning information and timestamp according to the consensus rules of the improved CBBA to obtain a conflict-free task allocation solution; (5) Each aircraft checks whether its winning information conflicts with the mission package information. If so, it releases the conflicting mission and its subsequent missions in the mission package; (6) looping steps (3) to (5) until the task path sequence of each aircraft no longer changes and a conflict-free task allocation solution is obtained; (7) Deadlock detection and correction of task allocation results; (8) Update the start time of the upper-level task to meet the constraint that the cluster aircraft execution tasks start at the same time; (9) Determine whether the current task is a bottom-level task. If so, output the task allocation result. Otherwise, replace the start time of the bottom-level task in each area with the end time of the top-level task, and construct a soft time window for the associated tasks in the same target area to meet the timing constraints between the associated tasks. (10) looping through steps (3) to (9) until the task allocation result is output; The step (3) comprises the following steps: (31) In each round of task selection, the aircraft first calculates the marginal gain of all tasks that meet the constraints as the bid value, and task j is added to b i The marginal gain c ij The calculation method is: in, Indicates inserting task j into p i The new path list generated by the nth position in the original p i The nth and subsequent elements in the same order remain unchanged and move backwards one by one. J is the set of tasks that aircraft i can perform. J\b i Indicates removing b from task set J i The existing tasks in It means that aircraft i moves along p i Total revenue from performing the task; The calculation method is: Among them, rwd ij and cst ij are the benefits and costs of aircraft i performing mission j, respectively, where cst ij =g i d ij In order to ensure that all tasks are executed, the revenue rwd is calculated by combining fixed revenue and time-discounted revenue ij , the specific calculation method is: Among them, R j0 is the fixed income for executing the task, R j is the base income of time discount income, 0 <l j <1 is the time discount coefficient of task j, which determines the decay rate of the basic income over time, t ij is the time for aircraft i to perform mission j, u(t ij ) is the decision variable related to the time of executing the task: in, is the time window of task j, is the time taken for task j; (32) When task j is to be executed by a single aircraft, aircraft i only needs to compare its bid value with the winning bid value of task j to decide whether to bid. If its bid value is higher, it will bid. When the bid values ​​of the two are the same, if aircraft i has a smaller number, it will also bid. When task j is to be executed by multiple aircrafts, it is necessary to determine whether the number of bidding aircraft meets the requirements of task j. If aircraft i believes that task j is not fully allocated, it will directly bid. If aircraft i believes that task j is fully allocated, aircraft i needs to compare its bid value with the minimum winning bid value of task j to decide whether to bid. Similarly, when the two are the same, the aircraft with a smaller number is selected. (33) After a round of bidding is completed, aircraft i selects the task with the largest bid value from all the bid tasks and adds it to its own task package b. i and update the path list and winning information; (34) Repeat steps (31) to (33) and continue to build task packages until the task package reaches the upper limit or there are no tasks that meet the constraints. The maximum number of tasks that aircraft i can perform is L i for: Among them, ceil(g) is the upward rounding operator, req j is the load requirement of mission j, num is the number of aircraft used to perform the current type of mission, load i is the number of payload resources carried by aircraft i.

2. A multi-task distributed task allocation method for cluster aircraft, characterized in that: The task allocation information described in step (1) includes information about each aircraft, target area information, and task information.

3. The method for allocating multi-task distributed tasks of cluster aircraft according to claim 1, characterized in that: The step (4) comprises the following steps: (41) Aircraft i first receives the winning information and timestamp from neighboring aircraft k; (42) If task j requires only a single aircraft to execute, conflict resolution is performed according to the consensus rule of the CBBA algorithm; (43) If task j requires multiple aircraft to execute together, the conflict resolution at this time is divided into two stages. In the first stage, the receiver i compares the stored winning information with the sender k to confirm that its own stored information is the latest. In the second stage, the receiver obtains new information from the sender and merges it with its own information.

4. The method for allocating multi-task distributed tasks of cluster aircraft according to claim 1, characterized in that: The step (7) comprises the following steps: (71) Construct a directed graph G of multi-aircraft execution task nodes; (72) Use the depth-first search algorithm to detect whether there is a loop in G; (73) If there is a loop, use the nearest neighbor principle to find the two nodes i and j with the smallest exchange cost, sort them according to the size of the numbers, find the aircraft k that performs task i first and then task j, and exchange the positions of i and j in its path list; (74) Update the directed graph G, and then loop steps (72) to (73) to recheck whether there is a loop. If there is a loop, continue to correct it until the entire task plan is free of deadlock.

5. The method for allocating multi-task distributed tasks of cluster aircraft according to claim 1, characterized in that: The step (8) comprises the following steps: (81) Based on the estimated arrival time of the latest aircraft of task j, update the latest start time t_latest of the current task j , and find p i The difference between the original start time and the latest start time of the task t_delta i,m ; (82) The difference between the previous task and the current task is t_delta i,m Perform updates and calculate the updated task start time; (83) Repeat steps (81) to (82) until t_delta i,m The values ​​in are all 0, and the updated upper-level task start time is obtained.

Citation Information

Patent Citations

  • Heterogeneous UAV (unmanned aerial vehicle) cluster distributed mission planning method

    CN109901616A

  • Online real-time distribution algorithm

    CN112528416A

Cited By

  • Improved CBBA unmanned ship task allocation method based on MOAWC-Kmeans clustering

    CN122366898A