Unmanned aerial vehicle formation complex boundary search and rescue method based on distributed differential evolution
By constructing a search and rescue method for complex boundaries of UAV formations using a distributed differential evolution system, this method solves the problem of uniformly solving the allocation and access order of multi-UAV coverage tasks. It enables a distinguishable and recordable search process under conditions of unknown rescue targets, thereby improving the efficiency and accuracy of UAV search and rescue.
Patent Information
- Application Number
- CN202611586017.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-14
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies struggle to uniformly solve the allocation and access order of multi-machine coverage tasks under conditions of known static boundaries and unknown static rescue targets. Furthermore, they are difficult to make the discovery, arrival, and recovery search processes distinguishable and recordable without prior utilization of hidden rescue target locations. Additionally, they lack verification methods for repeatable comparison of subpopulation exchange effects.
A method for searching and rescuing complex boundaries in UAV formations based on distributed differential evolution is adopted. By constructing a distributed differential evolution system, a region modeling module, a coverage task generation module, a distributed differential evolution module, a route decoding module, and an execution and event recording module are used to generate coverage access routes for UAVs and records of the discovery and arrival of rescue targets. Deterministic coverage task points are generated using a perception model, and differential mutation and crossover are performed to decode them into discrete routes. Coverage and discovery events are recorded at the execution end.
It achieves a unified solution for the allocation and access order of multi-machine coverage tasks under the condition of known static boundaries and unknown static rescue targets, ensuring that the discovery, arrival and recovery search processes are distinguishable and recordable, avoiding confusion between coverage progress and target completion status, and verifying the subpopulation exchange effect under a fixed candidate evaluation budget.
Smart Images

Figure CN123137367A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of UAV collaborative mission planning technology, specifically involving a UAV formation complex boundary search and rescue method based on distributed differential evolution. Background Technology
[0002] Search and rescue missions include area coverage search, target discovery, dispatching drones to target locations, and returning to the discovered location and resuming the original movement queue. The completion criterion for a rescue response is the first arrival of a designated drone at the grid point where the discovered target is located. Search and rescue missions in post-disaster areas, mountainous regions, and around building complexes may involve irregular outer boundaries, impassable internal areas, and narrow passages connecting two sub-regions. If only a rectangular bounding box is planned, some access points may fall outside the area; if two legal endpoints are connected by a straight line, the line may still pass through holes or cross concave boundaries. Furthermore, multi-drone missions also involve coupling between access point allocation, drone access order, and completion time; shorter individual drone routes do not necessarily mean the entire mission group can complete earlier.
[0003] Differential Evolution (DE) is a publicly available and general optimization method. However, its continuous difference operations cannot be directly applied to task sequences with repetition constraints. The decoding rules from continuous vectors to discrete tasks, the path construction on the feasible graph, and the execution event rules after the target is discovered need to be clearly defined separately. A multi-island structure does not automatically imply computational acceleration: population swapping can affect the search process, but actual acceleration needs to be measured separately after deployment on multiple computing devices.
[0004] In existing technologies, differential evolution has been applied to distributed UAV coverage. The literature “Hou Yueqi, Liang Xiaolong, He Lvlong, Liu Liu, UAV swarm cooperative region search algorithm under unknown environment, Journal of Beijing University of Aeronautics and Astronautics, 2019, 45(2):347–356” uses coverage distribution map, distributed model predictive control and DE; the literature “Zeng H, TongL, Xia X. Multi-UAV Cooperative Coverage Search for Various Regions Based on Differential Evolution Algorithm. Biomimetics, 2024, 9(7):384” further studies multi-UAV cooperative coverage in regions of different shapes, including multiple DE subpopulations and non-convex regions.
[0005] However, for specific tasks involving complex boundary search and rescue, existing technologies still have the following adaptation problems: continuous coding out of bounds causes the UAV number to become invalid; independent path splicing cannot maintain the unique attribution of the task; using Euclidean length on the obstacle map causes the target value to underestimate the actual detour; events discovered within the observation range are directly counted as target arrival; and the use of hidden rescue target locations in advance during optimization distorts the evaluation of "unknown rescue target search".
[0006] Therefore, existing technologies struggle to uniformly solve the allocation and access sequence of multi-drone coverage tasks under conditions of known static boundaries and unknown static rescue targets, and to ensure that the resulting routes are executable within discrete traversable areas. Furthermore, they struggle to make the discovery, arrival, and recovery search processes distinct and recordable without pre-utilizing the hidden rescue target locations, thus avoiding confusion between coverage progress and target completion status. Simultaneously, under a fixed candidate evaluation budget, there is a lack of methods for verifying the repeatable comparison of subpopulation exchange effects, and a mechanism for separately reporting the planned route cost, actual task execution cost, and algorithm computational overhead. A novel UAV swarm complex boundary search and rescue method is urgently needed to address one or more of the aforementioned problems. Summary of the Invention
[0007] To address the aforementioned technical issues, this invention provides a method for searching and rescuing drones in complex boundaries based on Distributed Differential Evolution (DEE). This method organizes multiple drone agents to conduct search and rescue operations within concave boundaries, internal holes, and narrow connected areas. The planner receives the known area boundaries and starting points but does not receive the coordinates of hidden rescue targets. The discovery of hidden rescue targets is only generated by the execution-end perception model.
[0008] The technical solution adopted in this invention is: a method for searching and rescuing drone formations in complex boundaries based on distributed differential evolution, the specific steps of which are as follows:
[0009] S0. Construct a drone formation complex boundary search and rescue system based on distributed differential evolution;
[0010] The system consists of a region modeling module, a coverage task generation module, a distributed differential evolution module, a route decoding module, and an execution and event recording module. The inputs are a region grid, four initial positions, and optimization parameters; the outputs are the coverage access routes for each machine and records of the discovery and arrival of rescue targets.
[0011] Each island optimizes a complete multi-machine candidate scheme. The four adjacent edges of a region grid represent one-step movements between traversable adjacent grid points. The perception model uses graph distance neighborhoods to represent the abstract observation range spreading along traversable connectivity relationships.
[0012] S1. Read the region grid and initial position, construct a passable map and check connectivity;
[0013] If the initial position falls on an impassable grid point, an error should be reported and the input corrected, and the position should not be projected to another location.
[0014] S2. Generate deterministic coverage task points according to the perception radius, and calculate graph distance and shortest path;
[0015] In the diagram, the perception neighborhood of each task point jointly covers all passable nodes.
[0016] S3. Generate 48 random candidates, evaluate them once, and divide them into 4 islands, each containing 12 individuals;
[0017] S4. In the current generation population of each island, select three distinct individuals that are different from each parent generation, generate DE / rand / 1 difference mutation vectors, then perform modulo 1 repair on out-of-bounds values, generate experimental vectors using binomial crossover, decode and calculate fitness, and retain experimental vectors that are not inferior to the parent generation.
[0018] The test vector is generated using binomial crossover, with at least one dimension derived from the mutation vector.
[0019] S5. Every 5 generations, extract elites from the same generation snapshot of all islands and swap them in a directed cycle.
[0020] Specifically, it prohibits updating the receiving island while simultaneously extracting its elites, which could cause candidates in the same round to unexpectedly cross over to multiple islands. Swapping does not create new scheme evaluations; it only reuses values already calculated under static objectives.
[0021] S6. After completing 40 generations, select the candidate with the known minimum fitness from all islands and decode it into 4 search routes.
[0022] S7. The execution end initiates a hidden rescue target scenario and records overlay and discovery events;
[0023] Once a rescue target is discovered, its coordinates are used to generate the rescue path. If multiple agents discover the same rescue target simultaneously, the one with the smaller map distance is prioritized, followed by disambiguation by ID. If a new target is discovered during the rescue response, the new round-trip path is inserted at the head of the queue; existing movement queues are preserved intact and restored after the new path is added. Each rescue target triggers insertion only once.
[0024] S8. After the response agent reaches the target, it registers the completion event, returns to the current discovery location, restores the previously saved movement queue, and the remaining agents continue in their respective queues. The original search route and all rescue response queues are terminated when they are empty, and the overwrite and event records are checked.
[0025] When the same agent discovers multiple targets at the same time, the round-trip paths of each target are concatenated in ascending order of target number and then inserted at the head of the queue.
[0026] The beneficial effects of this invention are as follows: The method of this invention first constructs a coverage access task from a walkable graph containing concave boundaries or holes, forms a multi-machine scheme using continuous random keys representing task affiliation and access order, evaluates candidates by using graph shortest path decoding, and evaluates candidates by using the maximum single-machine path and total path, and saves the subpopulation of complete multi-machine candidates by multiple logical computing nodes. While each node independently undergoes differential evolution, elites are synchronously exchanged according to the same static task model, and receiving island candidates are replaced by fitness conditions. The best known plan within a limited budget is output. Finally, the truth value of the unknown rescue target is isolated at the execution perception end. After discovery, the movement queue is saved and the rescue arrival path is generated. After arrival, the remaining movement queue is restored by returning to the saved position, and the discovery and arrival events are output respectively. The method of this invention enables the unified solution of the allocation and access order of multi-machine coverage tasks under the condition of known static boundaries and unknown static rescue targets, and makes the obtained routes executable in discrete traversable areas. Without pre-utilizing the hidden rescue target locations, it makes the discovery, arrival and recovery search a distinguishable and recordable task process, avoiding confusion between coverage progress and target completion status. Under a fixed candidate evaluation budget, it establishes a verification method for repeatable comparison of subpopulation exchange effects, and separately reports the planned route cost, the actual task execution cost and the algorithm computation overhead. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of the search and rescue system architecture and data flow of the present invention.
[0028] Figure 2 This is a flowchart of the distributed differential evolutionary programming in an embodiment of the present invention.
[0029] Figure 3 This is a flowchart illustrating the search and rescue execution status and queue recovery process in an embodiment of the present invention.
[0030] Figure 4 This is a schematic diagram of three scenarios and coverage task points in an embodiment of the present invention.
[0031] Figure 5 This is a schematic diagram of the actual execution trajectory of DDE with fixed seed 0 in an embodiment of the present invention.
[0032] Figure 6 This is a schematic diagram of the average convergence curve under the same evaluation budget in an embodiment of the present invention.
[0033] Figure 7 This is a schematic diagram illustrating the coverage changes during the actual execution phase in an embodiment of the present invention.
[0034] Figure 8This is a schematic diagram comparing the algorithm performance in an embodiment of the present invention. Detailed Implementation
[0035] The method of the present invention will be further described below with reference to the accompanying drawings and embodiments.
[0036] To facilitate understanding, the terms used in this invention are first defined and explained as follows:
[0037] 1. DE: Differential Evolution; a stochastic optimization method that performs differential mutation, crossover, and selective retention on candidate solutions.
[0038] 2. DDE: Distributed Differential Evolution; this embodiment employs multiple independent subpopulations and periodic elite exchange;
[0039] 3. Islands and Subpopulations: Logical computation nodes that store a set of independent candidate solutions; a candidate includes the allocation and order of the entire task group;
[0040] 4. Random key encoding: Use consecutive real numbers to represent task ownership and access priority, and then decode them into discrete routes;
[0041] 5. Complex boundary: A set of traversable meshes defined by the outer boundary, depressions, and impassable internal regions;
[0042] 6. Coverage task point: A passable grid point with a perceived neighborhood; its neighborhood jointly covers all passable grid points;
[0043] 7. Formation: A collaborative task group jointly undertaking search and rescue missions; this embodiment does not impose rigid formations or fixed relative position constraints;
[0044] 8. Search and Rescue: First, cover the search area, and once the rescue target is located, a designated drone will proceed to its location; upon arrival, it will return to the location where it was found and resume the movement queue.
[0045] 9. Rescue Target: A static target for which the drone needs to reach its location; the location is only provided to the execution module after detection and is managed separately from the coverage task point.
[0046] 10. Rescue Arrival: The designated drone occupies the grid point where the rescue target is located at the discrete execution time after discovery; mere discovery does not count as completion.
[0047] 11. Calculation budget: The number of fitness assessments for candidate solutions, including the initial population assessment, which is not equivalent to the actual computation time.
[0048] like Figure 1As shown, the present invention provides a method for searching and rescuing drone formations in complex boundaries based on distributed differential evolution, and the specific steps are as follows:
[0049] S0. Construct a drone formation complex boundary search and rescue system based on distributed differential evolution;
[0050] like Figure 1 As shown, the system consists of a region modeling module, a coverage task generation module, a distributed differential evolution module, a route decoding module, and an execution and event recording module. The inputs are a region grid, four initial positions, and optimization parameters; the outputs are the coverage access routes for each machine and records of the discovery and arrival of rescue targets.
[0051] Each island optimizes a complete multi-drone candidate scheme; therefore, island number and drone number are different concepts, and their equal number is merely a value used in this embodiment. The four adjacent edges of a region grid represent one-step movements between traversable adjacent grid points. The perception model uses graph distance neighborhoods to represent the abstract observation range spreading along traversable connectivity relationships, and is not interpreted as the actual camera field of view or radio detection performance. A unit edge length is one grid unit, and a unit time is one distance walk; the model is not calibrated for real meters, seconds, energy consumption, or flight dynamics.
[0052] The region modeling module constructs an undirected graph using accessible masks, checks the validity and connectivity of the starting point, and pre-calculates the shortest path between nodes. Unreachable areas must be reported before planning; routes cannot be output after ordinary numerical comparisons using infinite distances. In this embodiment, connectivity verification has been performed on all three scenarios.
[0053] The task generation module repeatedly selects the nodes that bring the most new coverage from the set of uncovered grid points, generating a set of task points with joint coverage properties. Parallel candidates are disambiguated using a fixed node order to ensure that the same map always yields the same task points. This step compresses access requirements without deleting traversable grid points from the original map.
[0054] The distributed differential evolution module performs differential mutation, crossover, and selective retention within each island. Upon reaching the exchange cycle, it synchronously retrieves the current best candidate from each island and sends it to the next island on the ring. The receiving island reuses the fitness of candidates under the same map, task points, and objective function, replacing its worst individual only when a better candidate is found.
[0055] The route decoding module first maps consecutive random keys to a unique drone belonging to a task, then uses another key to determine the drone's access order. Shortest paths are found between adjacent access points; the dimension of an individual drone only changes with the number of task points, and intermediate nodes are generated by the decoder. If a drone has no task points, it can remain at the starting point, and its planned route length is zero.
[0056] The execution module moves step by step along the planned route, registering the discovery time and discoverer after the sensor first returns to the target. The discoverer saves its current position and remaining movement queue, temporarily travels to the target grid, records arrival, and then returns to the saved position to continue the original movement queue. If the event occurs during another rescue response, the interrupted response task resumes first after recovery; once all finite nested responses are completed, the original coverage search continues. Event registration uses a unique target number to prevent the same target from being counted as multiple completed tasks.
[0057] S1. Read the region grid and initial position, construct a passable map and check connectivity;
[0058] If the initial position falls on an impassable grid point, an error should be reported and the input corrected, and the graph should not be projected to another position. The expression for the four-adjacent free space graph constructed in this embodiment is as follows:
[0059] (1)
[0060] in, This represents a statically connected four-adjacent free space graph. This represents a set of finite free grid nodes inside the boundary after obstacles have been removed. Coordinates are represented using integer grid numbers; only horizontally or vertically adjacent grids are connected. The graph is defined as static and connected. This represents the set of edges between adjacent nodes. Represents the node symbol of a local graph.
[0061] S2. Generate deterministic coverage task points according to the perception radius, and calculate graph distance and shortest path;
[0062] In the diagram, the perception neighborhood of each task point jointly covers all passable nodes.
[0063] The expression for the shortest path distance in a graph is as follows:
[0064] (2)
[0065] in, This represents the number of edges in the shortest graph path between two nodes; This represents a valid graph path containing two endpoints. |P| represents the number of nodes in the path. Graph distance is calculated using the minimum number of edges, with the distance from a vertex to itself being 0; a breadth-first search is used to solve the problem.
[0066] The graph distance sensing neighborhood expression is as follows:
[0067] (3)
[0068] in, , Represent the distance radius and node of the perception graph, respectively. The sensing neighborhood is defined in this embodiment. A free grid with a graph distance radius not exceeding two edges is considered the observable neighborhood. This is a discrete simulation perception model and cannot be directly interpreted as a true circular field of view.
[0069] The greedy selection expression for covering task points is as follows:
[0070] (4)
[0071] in, Indicates the first The set of grid cells not yet covered by the wheel. When grid points are side-by-side, the smallest raster number is selected based on row priority to ensure that fixed geometry generates the same coverage task points.
[0072] The expressions for updating and stopping the covered set are as follows:
[0073] (5)
[0074] When the loop reaches the point where the uncovered set is empty, we get... One coverage task point Since any uncovered raster at least covers itself, the algorithm at most... Round termination, covering the task point's perceived neighborhood union equals The covered mission points are used for area search planning, not for rescue targets to be discovered.
[0075] in, Indicates the number of covered task points and the first One coverage task point.
[0076] Then perform a unique overwrite task assignment using two random keys, as shown in the following expression:
[0077] (6)
[0078] in, Indicates the coverage task The allocation key, sort key, and assigned machine number; (previous) Each key determines the machine number. ,back Key Determine the order in which the task points are accessed; This indicates the number of drones and their serial numbers. In this embodiment, the task number is indicated. Task numbers range from 1 to The implementation program uses machine numbers 0 to 3, while this embodiment uses 1 to 4; the two numbering methods are equivalent.
[0079] Then, a cover access sequence is generated based on the priority key, as shown in the following expression:
[0080] (7)
[0081] Among them, within the same machine number, according to Lexicographical ascending sort is equivalent to stable sorting of codes by coverage task number. Each coverage task point belongs to only one drone number, and the coverage task set is uniquely partitioned; it is permissible for a drone to have no coverage tasks. Indicates drone The ordered sequence of cover task numbers, the number of cover tasks, and the number of tasks within the sequence. One coverage task point.
[0082] The length of a valid graph path concatenation is obtained using the following expression:
[0083] (8)
[0084] in, Indicates the length of the pre-defined search path. Indicates drone The number of covered tasks, , Indicates the starting point, i.e., the drone. The initial position, This represents the length of each side. In this embodiment... The airport does not require a return flight. Time take space and .
[0085] The fitness of the system, which balances the longest path and the total distance, is calculated using the following expression:
[0086] (9)
[0087] in, This represents the optimization objective and the total distance weight; Smaller is better; both are lengths. Dimensionless. This fitness uses only the public geometry, starting point, and covered mission points, does not read the truth value of hidden rescue objectives, and does not include detours to rescue responses that have not yet occurred.
[0088] S3. Generate 48 random candidates, evaluate them once, and divide them into 4 islands, each containing 12 individuals;
[0089] The comparison algorithms share the same initial candidate pool, avoiding attributing initial quality differences to migration.
[0090] S4. In the current generation population of each island, select three distinct individuals that are different from each parent generation, generate DE / rand / 1 difference mutation vectors, then perform modulo 1 repair on out-of-bounds values, generate experimental vectors using binomial crossover, decode and calculate fitness, and retain experimental vectors that are not inferior to the parent generation.
[0091] The test vector is generated using binomial crossover, with at least one dimension derived from the mutation vector.
[0092] The expression for the intra-island difference variation is as follows:
[0093] (10)
[0094] in, Represents the original mutation vector. Indicates the island number, Indicates the current DE individual index. Indicates that they are different from each other within the same island. The three indexes, Represents the parent random key vector. This represents the difference scaling factor; all mutations are read from the current generation's parent population. Each island has 12 individuals, satisfying the requirement of at least 4 individuals.
[0095] The expression for repairing by modulo 1 of the components is as follows:
[0096] (11)
[0097] in, The dimension number represents the random key vector, for each dimension Repair, make Each component belongs to The fix is a cyclic mapping, not a nearest boundary projection. Negative values and values exactly 1 both have definite mappings. Represents the mutated vector after repair. This represents the test vector.
[0098] The binomial cross expression with a forced dimension is as follows:
[0099] (12)
[0100] Among them, the Binary cross-uniform random numbers independence and obedience Uniform distribution, binomial crossover probability Forced cross-dimensional From 1 to Uniform selection. Forced dimensionality guarantees the use of at least one mutation component, but does not guarantee that the decoded discrete task sequence will change.
[0101] The greedy choice expression is as follows:
[0102] (13)
[0103] in, This represents an intermediate individual before migration has been executed, after the current generation's selection is complete. It represents the individual before migration following the greedy selection. Each trial solution is evaluated once; solutions are retained when fitness is equal.
[0104] S5. Every 5 generations, extract elites from the same generation snapshot of all islands and swap them in a directed cycle.
[0105] Specifically, it is prohibited to update the receiving island while simultaneously extracting its elites, which could cause the same round of candidates to unexpectedly cross multiple islands. Swapping does not create new scheme evaluations; it only reuses values already calculated under static objectives. The expressions for migrating elites and replacing their positions are as follows:
[0106] (14)
[0107] in, express Corresponding to the intermediate population of the island, The vector representing the island elites in a unified snapshot. This represents the index of the worst individual on the receiving island. A snapshot of the elites on each island is taken every 5 generations. Each receiving island only accepts elites from its predecessor island, with the worst individual index selected before acceptance replacement; juxtaposed by the smallest index of population position.
[0108] The synchronous directed loop transition expression is as follows:
[0109] (15)
[0110] The subscripts of the islands cycle in a 4-modulus sequence, with island 1 being the predecessor of island 4. Indicates the current parent generation number, only when When the value is a multiple of 5, execute equation (15); otherwise, let... This applies to all positions in the non-migrating generation. Elites and their fitness are first uniformly copied, and chain forwarding in the current round is prohibited; fitness is reused under the same static fitness definition.
[0111] S6. After completing 40 generations, select the candidate with the known minimum fitness from all islands and decode it into 4 search routes.
[0112] The distributed differential evolutionary programming process is as follows: Figure 2 As shown, these are steps S1-S6. "Optimal" refers to the best among the current finite candidate set, not the global optimal.
[0113] S7. The execution end initiates a hidden rescue target scenario and records overlay and discovery events;
[0114] Once a rescue target is discovered, its coordinates are used to generate the rescue path. If multiple agents discover the same rescue target simultaneously, the one with the smaller map distance is prioritized, followed by disambiguation by ID. If a new target is discovered during the rescue response, the new round-trip path is inserted at the head of the queue; existing movement queues are preserved intact and restored after the new path is added. Each rescue target triggers insertion only once.
[0115] The expression for the first detection time of the hidden rescue target is as follows:
[0116] (16)
[0117] in, Indicate the rescue target The moment of first detection, Indicates time step Location, This indicates that the static rescue target is hidden. This indicates the total number of hidden rescue targets. The truth value is only used in the sensor decisions of the search and rescue executor; the optimizer does not receive it. A detection event will only be triggered for rescue targets that have not yet been discovered. It also performs perception.
[0118] The most recently visible unique rescue response expression is as follows:
[0119] (17)
[0120] in, Indicate the rescue target The designated rescue response machine number. The machine with the smallest number is selected based on distance and lexicographical order; if distances are the same, the visible machine with the smallest number is selected. Rescue response is allowed to interrupt existing rescue round trips; no busy / idle filtering is applied. Record the location where the specified response machine was discovered, i.e. .
[0121] The expression for the round-trip distance increment boundary in rescue response is as follows:
[0122] (18)
[0123] in, This represents the total additional distance traveled by all rescue responses to and from queue jumping. After removing the first node and... After removing the first node, concatenate the remaining movement queue and insert it at the head of the rescue response machine's queue. When multiple rescue targets are discovered simultaneously, concatenate them in ascending order of their numbers; retain the original queue intact, allowing limited nesting. Return to the discovery location and continue with the original queue. Each rescue target is triggered only once, so the total additional distance is always equal to the sum of the round-trip lengths of all rescue responses.
[0124] The cumulative area sensing coverage rate is expressed as follows:
[0125] (19)
[0126] in, This represents the cumulative area perception coverage and rescue arrival rate. It cumulatively counts all free grid cells sensed by all drones at all times, counting duplicate coverage only once. This metric is not the percentage of trajectories passing through grid cells; areas with sensing capabilities at the endpoint are also included.
[0127] Rescue arrival rate The expression is as follows:
[0128] (20)
[0129] in, Only the location of the rescue target is counted; This indicates the moment when the designated rescue response machine first arrives at the target rescue node after detection; if it hasn't arrived, it's infinity. In this embodiment... The rescue arrival rate only counts the proportion of responders that reach the rescue target location and does not measure the results of subsequent rescue operations. The mission completion time is the moment when all machine movement queues are empty, including the return segment after the round trip; it may be later than the moment the final rescue target first arrives.
[0130] S8. After the response agent reaches the target, it registers the completion event, returns to the current discovery location, restores the previously saved movement queue, and the remaining agents continue in their respective queues. The original search route and all rescue response queues are terminated when they are empty, and the overwrite and event records are checked.
[0131] When multiple targets are detected by the same agent at the same time, their round-trip paths are concatenated in ascending order of target number and then inserted at the head of the queue. The search and rescue execution status and queue recovery process are as follows: Figure 3 As shown, that is, steps S7-S8.
[0132] The budget is evaluated using the same objective function, expressed as follows:
[0133] (twenty one)
[0134] in, This represents the evaluation budget of the objective function for each optimization run. Indicates the number of DE islands. This indicates the number of individuals per island. Indicates the maximum number of iterations; each of the four islands contains 12 individuals, with 40 iterations. There are 48 initial evaluations, with 48 experimental solutions evaluated per generation, totaling 1968 evaluations. Single-population DE and no-migration DE use the same total population size and number of iterations, and the evaluation budget is consistent. Geometric preprocessing and fitness reuse migration are not included in the candidate evaluation count.
[0135] The expression for the mean of repeated experimental samples is as follows:
[0136] (twenty two)
[0137] in, The sample mean represents the repeatability performance metric. Indicates the number of independent repetitions. Indicates the number of repeated runs; Indicates a fixed scene and algorithm in the seed The following is an indicator; all methods use the same 20 seeds and the same initial candidate set, along with the hidden rescue target layout. The main report shows the mean of each method; when comparing, the pairwise difference can be calculated for each seed. .
[0138] The expression for the sample standard deviation is as follows:
[0139] (twenty three)
[0140] in, Indicates the sample standard deviation; using The sample standard deviation of the denominator. The error bars in the bar chart comparison are this standard deviation and cannot be interpreted as the confidence interval for the mean.
[0141] The expressions for the mean interval and the paired difference interval are as follows:
[0142] (twenty four)
[0143] in, This represents the 95% mean interval for both sides. This represents the critical value of the Student t-distribution. The program is implemented using The pairing difference is obtained by subtracting the control index from the DDE index of each seed. Substituting into equation (24), we obtain the paired difference interval. The shaded area of the curve represents the time-by-time or generation-by-generation mean interval, not the entire confidence band of the curve; the coverage plot is cropped to [the specified value]. No multiple comparison correction was performed.
[0144] This embodiment further validates the simulation through experiments. All experiments are actual software simulations using a logical island model on the same computer. Each candidate scheme includes the entire cooperative task group. Multi-machine network deployments were not run, so computation time cannot be used to claim distributed hardware acceleration; rigid formation control, aerodynamics, positioning errors, communication packet loss, or energy constraints were not simulated. The parameter settings used are shown in Table 1.
[0145] Table 1
[0146]
[0147] Example 1:
[0148] A U-shaped concave boundary is used to search the rescue area. Following steps S1 to S6, a four-machine coverage search route is generated, with the concave portion designated as an impassable area. Steps S7 to S8 are then followed to locate the rescue target and proceed to its position. After completing the arrival record, the target returns to the location of the target and the original movement queue is restored. This embodiment examines the impact of concave detours and task allocation on the longest single-machine route. The map extent, starting point, and number of covered task points are shown in Table 2. Figure 4 The execution trajectory under the fixed seed can be found here. Figure 5 .
[0149] Example 2:
[0150] A search and rescue area containing two rectangular openings is employed. The openings do not participate in the construction of the coverage mission points; the path connecting the two legally accessible points must be derived from a traversable map; the straight-line distance across the openings cannot be used to replace the map distance. The coverage and rescue response processes employ the same set of steps S1 to S8. This embodiment examines the impact of internal obstacles on route length and target arrival process.
[0151] Example 3:
[0152] Two sub-regions are connected by a two-grid wide channel, with four starting points distributed on both sides of the channel. The four-machine tasks are jointly coded using the same candidate, and a round-trip queue is triggered after the rescue target is detected during the execution phase. This embodiment verifies the process of bypassing the connected channel, task load distribution on both sides, and resuming the search after the rescue response.
[0153] Table 2
[0154]
[0155] As shown in Table 2, the coordinates are integer grid points; all interval endpoints are included. The deterministic greedy algorithm generates 22, 27, and 30 task points in the three scenarios, respectively, with random key vector dimensions of 44, 54, and 60. The complete node set, task points, and hidden rescue target seeds for each scenario are stored in the parameters and execution records.
[0156] A comparative experiment was then conducted, comparing the algorithms DDE, centralized DE, and migration-free DDE. All three used the same random key encoding, the same objective function, the same decoder, and the same number of candidate evaluations. The migration-free version only removed inter-island swaps to examine the incremental effect of the swap mechanism under the current settings. All three algorithms were run on the same map, with the same initial candidates, the same objective, and the same evaluation budget. Metrics were divided into two groups. Planning metrics included static candidate fitness, longest single-machine planned route, and total planned route; execution metrics included the actual number of completed steps with rescue response detours, 50-step coverage, 50-step rescue arrival rate, final rescue arrival rate, and collision count. Vertex overlap and opposite edge swaps were only used as diagnostic records and were not used to claim safety guarantees through limited penalties or a small number of observed collisions.
[0157] This embodiment actually completed 3 scenarios × 20 seeds × 3 algorithms, for a total of 180 runs. Each evaluation included 1968 candidates, and all runs were retained. Tables 3 and 4 show the mean ± sample standard deviation of the 20 runs (comparison of static coverage plans and execution with rescue response).
[0158] Table 3
[0159]
[0160] Table 4
[0161]
[0162] As shown in Tables 3 and 4, the final coverage rate and final rescue arrival rate for all runs were 100%. In this model, this is the termination result supported by the full coverage plan and the limited target round-trip queue, and cannot be used to prove that DDE is more reliable than other algorithms. The timeliness difference should be observed based on the 50-step metric and the number of steps completed. In the U-shaped scenario, the coverage rate of DDE at 50 steps is 2.03 percentage points lower than that of DE, and the average number of steps required for the first full coverage is 49.65, while that of DE is 43.95. The current objective function does not directly optimize the early coverage rate, so the decrease in average static cost does not guarantee faster early coverage. The pairwise differences between DDE and single-population DE are shown in Table 5.
[0163] Table 5
[0164]
[0165] The above intervals use pairwise differences of 20 identical seeds. No multiple comparison correction was performed; intervals crossing 0 do not support a clear mean dominance judgment on this indicator. The calculation time and unprocessed conflict diagnosis in this embodiment are shown in Table 6.
[0166] Table 6
[0167]
[0168] Table 6 shows that the optimization time is the wall clock time of the algorithm iteration segment; graph pre-calculation, initial evaluation, simulation execution, and drawing are not within this timing interval. The number of collisions is accumulated by distance walking and machine pairs, including overlaps when another agent stops at the endpoint; the method of this invention achieves no pre-arranged or collision avoidance control. In 151 out of 180 trials, at least one inter-machine collision occurred, with a cumulative 264 pairs of vertex overlaps and 174 pairs of opposite edge swaps. This cannot be interpreted as multi-machine collision-free flight. An independent audit recalculated the indicators 180 times from 54,304 position records and verified 1,080 discovery and arrival events; the results were consistent.
[0169] In this embodiment, the average convergence curve under the same evaluation budget is as follows: Figure 6 As shown, the coverage changes during the actual execution phase are as follows: Figure 7 As shown in the figure, the comparison results of the effects of each algorithm are illustrated below. Figure 8 As shown. This embodiment's simulation experiment only retains the extended interface for dynamic map changes, target movement, real sensor coverage, network message latency, and real flight control; it does not implement the verified effects. If the map or objective function changes, the old fitness of the migrating individuals must be recalculated; the current rules for reusing fitness only apply to the static common model. In this embodiment's simulation, the specific behavior of inter-island exchanges is as follows:
[0170] U-shaped concave boundary: The average static target value of DDE is 71.59, the single population DDE is 74.72, and the non-migratory DDE is 74.92; the relative change in single population DDE is -4.19%.
[0171] Double rectangular holes: The average static target value of DDE was 87.36, the single population DDE was 90.97, and the no-migration DDE was 90.52; the relative change in single population DDE was -3.97%.
[0172] Two-room narrow passage: The average static target value of DDE was 103.38, the single-population DDE was 108.10, and the non-migratory DDE was 105.58; the relative change in single-population DDE was -4.38%.
[0173] These data indicate effects limited to the listed models, parameters, and samples. If any indicator deteriorates or pairs of intervals cross 0, the original results should still be reported, and not described as unconditionally improving efficiency or comprehensively outperforming the control. Static targets and actual performance indicators may not improve synchronously.
[0174] Furthermore, when conducting different experimental verifications, the method of this invention can use interval coding with the same unique allocation property to replace the current random key allocation, or add a local improvement after decoding that only adjusts the access order of a single machine. When using different repair methods, it is necessary to ensure that the key value range, unique task attribution, and fixed evaluation budget are consistent. A navigation grid or visible graph with legally connected edges can be used to replace the four-adjacent grid. In this case, the coverage neighborhood, shortest path distance, and movement time must be redefined and verified together; the original experimental data cannot be reused simply by replacing the geometric display. When the real sensor uses Euclidean radius, field of view, or occlusion model, the coverage task points should be regenerated. Bidirectional ring, star, or other communication topology exchange candidates can be used; asynchronous migration requires carrying the map and task model version and handling delayed messages. The acceleration, message volume, and disconnection of multiple computing nodes should be evaluated separately in the corresponding deployment experiments. The experiments in this embodiment only verify the synchronous directed island model. This can add time-spread graphs, spatial reservations, or low-level trajectory control to real-world applications. However, these modules alter path costs and executability conditions, requiring re-solution and verification of collision and dynamic constraints. The collision diagnostic data presented here is used to illustrate the necessity of this interface and does not include unimplemented mechanisms in the current results.
[0175] In summary, the method of this invention transforms the coverage requirements of all passable nodes into limited access tasks through task point generation; random key decoding ensures that each access task belongs to only one UAV, avoiding the need to repair duplicate and missing task numbers after continuous mutation. Unique task allocation does not mean that actual trajectories do not overlap; intermediate nodes on the path may still be traversed repeatedly by multiple UAVs. The four-adjacency graph shortest path restricts each step to passable nodes at the model level, allowing concave boundaries and holes to directly participate in route length calculation. This property depends on the correctness of the grid mask and cannot be generalized to guarantee the clearance of UAVs of finite size in continuous space. Independent discovery and arrival records prevent "entering the perception neighborhood" from being mistaken for "task completed". Saving the discovery location and returning to and restoring the previously saved movement queue after a rescue response ensures that new rescue responses do not directly discard existing response tasks or incomplete coverage plans.
[0176] Those skilled in the art will recognize that the embodiments described herein are intended to help the reader understand the principles of the invention, and should be understood that the scope of protection of the invention is not limited to such specific statements and embodiments. Various modifications and variations can be made to the invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the invention should be included within the scope of the claims of the invention.
Claims
1. A method for searching and rescuing drone formations in complex boundaries based on distributed differential evolution, the specific steps of which are as follows: S0. Construct a drone formation complex boundary search and rescue system based on distributed differential evolution; The system consists of a region modeling module, a coverage task generation module, a distributed differential evolution module, a route decoding module, and an execution and event recording module. The inputs are a region grid, four initial positions, and optimization parameters. The outputs are the coverage access routes of each machine and the discovery and arrival records of rescue targets. in, Each island optimizes a complete multi-machine candidate scheme; the four adjacent edges of the regional grid are all one-step movements between traversable adjacent grid points; the perception model uses graph distance neighborhood to represent the abstract observation range that spreads along traversable connectivity; S1. Read the region grid and initial position, construct a passable map and check connectivity; The initial position falls on an impassable grid point, causing an error and correcting the input; it is not projected to another position. The expression for the four-adjacent free space graph is as follows: (1); in, Represents a statically connected four-adjacent free space graph; Represents a set of finite free grid nodes inside the boundary after obstacles have been removed; coordinates are represented using integer grid numbers; only horizontally or vertically adjacent grids are connected; the graph is defined as static and connected. Represents the set of edges between adjacent nodes; Indicates the node symbol of a local graph; S2. Generate deterministic coverage task points according to the perception radius, and calculate graph distance and shortest path; In the diagram, the perception neighborhood of each task point jointly covers all passable nodes; S3. Generate 48 random candidates, evaluate them once, and divide them into 4 islands, each containing 12 individuals; S4. In the current generation population of each island, select three distinct individuals that are different from each parent generation, generate DE / rand / 1 difference mutation vectors, then perform modulo 1 repair on out-of-bounds values, generate experimental vectors using binomial crossover, decode and calculate fitness, and retain experimental vectors that are not inferior to the parent generation. Among them, the test vector is generated by binomial crossover, and at least one dimension comes from the mutation vector; S5. Every 5 generations, extract elites from the same generation snapshot of all islands and swap them in a directed cycle. Among these measures, it is prohibited to update the receiving island while simultaneously extracting its elites, which could cause the same round of candidates to unexpectedly cross multiple islands; the exchange does not create new scheme evaluations, but only reuses values already calculated under static objectives; S6. After completing 40 generations, select the candidate with the known minimum fitness from all islands and decode it into 4 search routes. S7. The execution end initiates a hidden rescue target scenario and records overlay and discovery events; Once a rescue target is discovered, its coordinates are used to generate the rescue arrival path. If multiple agents discover the same rescue target at the same time, the one with the smaller distance is prioritized, and then the path is disambiguated by number. If a new target is discovered during the rescue response, the new round-trip path is inserted at the head of the queue. Existing movement queues are fully preserved and restored after the new path is added. Each rescue target triggers insertion only once. S8. After the response agent reaches the target, it registers the completion event, returns to the current discovery location, restores the previously saved movement queue, and the remaining agents continue in their respective queues. The original search route and all rescue response queues are terminated when they are empty, and the overwrite and event records are checked. When the same agent discovers multiple targets at the same time, the round-trip paths of each target are concatenated in ascending order of target number and then inserted at the head of the queue.
2. The search and rescue method according to claim 1, characterized in that, The specific steps S0 are as follows: The region modeling module constructs an undirected graph from walkable masks, checks the validity and connectivity of the starting point, and pre-calculates the shortest path between nodes; The task generation module repeatedly selects the node that brings the most new coverage on the set of grid points that have not yet been covered, and generates a set of task points with joint coverage properties; parallel candidates are disambiguated by fixed node order to ensure that the same map always yields the same task points. The distributed differential evolution module performs differential mutation, crossover, and selective retention within each island; when the exchange cycle is reached, it synchronously retrieves the current best candidate from each island and sends it to the next island on the ring; the receiving island reuses the fitness of the candidate under the same map, the same task point, and the same objective function, and only replaces the worst individual on its island when the candidate is better; The route decoding module first maps consecutive random keys to a unique drone belonging to the task, and then presses another key to determine the drone's access order; the shortest path in the graph is called between adjacent access points; the dimension of an individual only changes with the number of task points, and the intermediate nodes of the path are generated by the decoder; When a drone has no mission point, it can remain at the starting point, and its planned route length is zero. The execution module moves step by step along the planned route. After the sensor returns to the target for the first time, it registers the discovery time and the discoverer. The discoverer saves its current position and the remaining movement queue, temporarily goes to the target grid point, records the arrival, and then returns to the saved position to continue the original movement queue. If the event occurs during another rescue response, the interrupted response task is resumed after recovery. After all finite nested responses are completed, the original coverage search continues. Event registration uses a unique target number to prevent the same target from being counted as multiple completed tasks.
3. The search and rescue method according to claim 1, characterized in that, Step S2 is as follows: The expression for the shortest path distance in a graph is as follows: (2); in, This represents the number of edges in the shortest graph path between two nodes; Let |P| represent a valid graph path containing two endpoints; |P| represents the number of nodes in the path; the graph distance is taken as the minimum number of edges, and the distance from a vertex to itself is 0; a breadth-first search is used to solve the problem. The graph distance sensing neighborhood expression is as follows: (3); in, , Represent the distance radius and node of the perception graph, respectively. The sensing neighborhood; The greedy selection expression for covering task points is as follows: (4); in, Indicates the first The set of grid cells not yet covered by the wheel. When columns are side-by-side, the smallest row-priority grid number is selected. The expressions for updating and stopping the covered set are as follows: (5); When the loop iterates until the uncovered set is empty, we get... One coverage task point Indicates the number of covered task points and the first One coverage task point; Then perform a unique overwrite task assignment using two random keys, as shown in the following expression: (6); in, Indicates coverage task The allocation key, sort key, and assigned machine number; (previous) Each key determines the machine number. ,back Key Determine the order in which the task points are accessed; This indicates the number of drones and their serial numbers. Indicates the task number to be covered; Then, a cover access sequence is generated based on the priority key, as shown in the following expression: (7); Among them, within the same machine number, according to Lexicographical ascending order is equivalent to stable code sorting by coverage task number; each coverage task point belongs to only one drone number, and the coverage task set is uniquely partitioned; it is allowed for a drone to have no coverage tasks; Indicates drone The ordered sequence of cover task numbers, the number of cover tasks, and the number of tasks within the sequence. One coverage task point; The length of a valid graph path concatenation is obtained using the following expression: (8); in, Indicates the length of the pre-defined search path. Indicates drone The number of covered tasks, , Indicates the starting point, i.e., the drone. The initial position, Indicates the length of each side; The fitness of the system, which balances the longest path and the total distance, is calculated using the following expression: (9); in, This represents the optimization objective and the total distance weight.
4. The search and rescue method according to claim 3, characterized in that, Step S4 is as follows: The expression for the intra-island difference variation is as follows: (10); in, Represents the original mutation vector. Indicates the island number, This indicates the current DE individual index. Indicates that they are different from each other within the same island. The three indexes, Represents the parent random key vector. Indicates the difference scaling factor; all mutations are read from the current generation's parent population; each island has 12 individuals that meet the requirement of at least 4 individuals; The expression for repairing by modulo 1 of the components is as follows: (11); in, The dimension number represents the random key vector, for each dimension Repair, make Each component belongs to Represents the mutated vector after repair. Represents the test vector; The binomial cross expression with a forced dimension is as follows: (12); Among them, the Binary cross-uniform random numbers Independent and obedient Uniform distribution Represents the binary cross probability, with forced cross dimension. From 1 to Uniform selection; The greedy choice expression is as follows: (13); in, This represents an intermediate individual before migration has been executed, i.e., an individual before migration after greedy selection; each trial solution is evaluated once; trial solutions are retained when fitness is equal.
5. The search and rescue method according to claim 4, characterized in that, Step S5 is as follows: The expressions for migrating elites and replacing their positions are as follows: (14); in, express Corresponding to the intermediate population of the island, The vector representing the island elites in a unified snapshot. This represents the index of the worst individual on the receiving island; a snapshot of the elites on each island is taken every 5 generations. Each receiving island only receives elites from its predecessor islands, and the worst individual index is selected before receiving replacements; they are listed side-by-side by the smallest index of their population position. The expression for synchronous directed loop transition is as follows: (15); Among them, the subscripts of islands cycle in a modulo 4 pattern, and the predecessor of island 1 is island 4; Indicates the current parent generation number, only when When the value is a multiple of 5, execute equation (15); otherwise, let... This applies to all positions in the non-migrating generation; elites and their fitness are first uniformly copied, and chain forwarding in this round is prohibited; fitness is reused under the same static fitness definition.
6. The search and rescue method according to claim 5, characterized in that, Step S7 is as follows: The expression for the first detection time of the hidden rescue target is as follows: (16); in, Indicate the rescue target The moment of the first test Indicates time step Location, This indicates that the static rescue target is hidden. This indicates the total number of hidden rescue targets; the truth value is only used in the sensor determination of the search and rescue executor; the optimizer does not receive it. Only one detection event is triggered for rescue targets that have not yet been discovered. It also performs perception; The most recently visible unique rescue response expression is as follows: (17); in, Indicate the rescue target The designated rescue response machine number; select the smallest number in alphabetical order of distance and machine number, and if the distances are the same, select the visible machine with the smallest number; rescue response is allowed to interrupt existing rescue round trips, and no busy / idle filtering is set; Record the location where the specified response machine was discovered, i.e. ; The expression for the round-trip distance increment boundary in rescue response is as follows: (18); in, This indicates the total extra distance traveled by all rescue responses due to queue jumping; [The rest of the text appears to be unrelated and possibly machine-generated.] After removing the first node and... After removing the first node, concatenate the remaining movement queue of the rescue response machine and insert it at the head; when multiple rescue targets are discovered at the same time, concatenate them in ascending order of rescue target number; retain the complete original queue, allowing limited nesting; return to the discovery location and continue the original queue; each rescue target is triggered only once, so the extra total distance is always equal to the sum of the round-trip lengths of all rescue responses; The cumulative area sensing coverage rate is expressed as follows: (19); in, This represents the cumulative area perception coverage and rescue arrival rate; it cumulatively counts all free grids perceived by all drones at all times, with repeated coverage counted only once; and it also includes areas with perception at the destination. Rescue arrival rate The expression is as follows: (20); in, Only the location of the rescue target is counted; This indicates the moment when the designated rescue response machine first arrives at the target rescue node after detection; if it has not arrived, it is infinity.
