A patrol drone-nest allocation and scheduling method based on salp algorithm

By introducing the master-slave heterogeneous dimensional evolution mechanism and collaborative learning strategy into the salp algorithm, the problem of the local optimal solution of the algorithm in multi-objective optimization is solved, and the efficiency and quality of drone-nest allocation and scheduling are improved. Efficient solution to task allocation under complex multi-constraints is achieved.

CN117744994BActive Publication Date: 2024-10-22STATE GRID JIANGSU ELECTRIC POWER CO LTD TAIZHOU POWER SUPPLY BRANCH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311754964.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2024-10-22
Estimated Expiration
2043-12-20

AI Technical Summary

Technical Problem

The salp algorithm easily falls into a local optimal solution in multi-objective optimization problems, which reduces its application effect and affects the efficiency and quality of drone-nest allocation and scheduling.

Method used

Using a collaborative learning strategy designed based on the master-slave heterogeneous conceptual evolution mechanism and human brainstorming principles, through the ability division of the population leadership group and brain-like collaborative evolution, a multi-UAV-multi-nest allocation and scheduling model is constructed to reduce the local maximum The negative impact of optimal solutions improves the efficiency and quality of the algorithm.

Benefits of technology

It effectively reduces the premature problem of the algorithm, improves the efficiency and quality of drone-nest allocation and scheduling, and can quickly and effectively solve the problem of collaborative drone task allocation under complex multi-constraints.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117744994B_ABST
    Figure CN117744994B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for allocating and scheduling inspection drones and machine nests based on the Salp Algorithm, which belongs to the technical field of drone power inspection; the steps are: determining the inspection drone and machine nest allocation and scheduling objective function according to the flight cost and maintenance time of the inspection drone; determining the constraint conditions of the objective function; establishing a multi-drone and multi-machine nest allocation and scheduling model; constructing a master-slave heterogeneous thinking evolution mechanism based on the ability division of the population leadership group; and designing a local optimal solution prevention mechanism based on the principle of human brainstorming. The present invention divides the leadership sub-group into capability areas by adopting an evolution mechanism based on the neighborhood search evolution mechanism of master-slave heterogeneous thinking, and individuals with different abilities adopt different evolution strategies to improve the efficiency and quality of population evolution; introducing human brainstorming behavior, designing a local optimal solution prevention mechanism, constraining and utilizing the local optimal solution, and reducing the probability of premature problems in the algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of unmanned aerial vehicle power inspection, and in particular relates to an inspection unmanned aerial vehicle-machine nest allocation and scheduling method based on a salp algorithm. Background Art

[0002] my country's power transmission lines are long, widely distributed, and in complex environments. The corresponding inspection and maintenance has always been a huge problem. Drones equipped with advanced sensing and communication technologies are beginning to play an increasingly important role in the field of power inspection. However, drones are limited by their own power supply and usually need to return to charge, which greatly reduces their working range.

[0003] As a ground base station, the drone nest provides a place for drones to take off and land, charge, and maintain, and also realizes the function of relay. Reasonable deployment of the drone nests and leapfrogging between drone nests can fully utilize the range of drones and greatly improve work efficiency. Studying an optimal scheduling allocation method between drones and drone nests is of great significance for saving time and reducing costs.

[0004] The Salp Swarm Algorithm (SSA) was proposed by Mirjali et al. in 2017. It draws on the life habits of salps and is a new type of advanced meta-heuristic swarm intelligence algorithm. However, the algorithm is prone to fall into the defect of local optimal solution, which reduces its application effect in multi-objective optimization problems.

[0005] Therefore, how to reduce the defect of local optimal solutions in the algorithm is the technical problem that the present invention wants to solve. It is of great practical significance to study how to reduce the premature problem of the algorithm and improve the efficiency and quality of population evolution. Summary of the invention

[0006] The purpose of the present invention is to provide an inspection drone-machine nest allocation and scheduling method based on the Salp Algorithm to solve the problems raised in the above background technology.

[0007] The object of the present invention is achieved by: a patrol drone-machine nest allocation and scheduling method based on the salp algorithm, characterized in that the method comprises the following steps:

[0008] Step S1: Determine the inspection drone-machine nest allocation scheduling objective function according to the flight cost and maintenance time of the inspection drone;

[0009] Step S2: According to the inspection drone-machine nest allocation scheduling objective function, determine the constraint conditions of the objective function;

[0010] Step S3: establishing a multi-UAV-multi-machine nest allocation and scheduling model according to the determined inspection UAV-machine nest allocation and scheduling objective function and the constraint conditions of the objective function;

[0011] Step S4: constructing a master-slave heterogeneous thinking evolution mechanism based on the ability division of the population leader group;

[0012] Step S5: Use the principle of human brainstorming to design a local optimal solution prevention mechanism based on collaborative learning strategy to reduce the negative impact of local optimal solutions.

[0013] Preferably, the inspection drone-machine nest allocation scheduling objective function is determined in step S1, specifically including the following operations:

[0014] Step S1-1: Determine the two-dimensional decision variables for inspection drone-machine nest allocation scheduling;

[0015] Establish a drone-machine nest inspection system, which includes N inspection drones, M j Ground machine nest and M r There are task points that need to be inspected, and the task sets are S1, S2, and S3 respectively;

[0016] The vertex set of the graph composed of the machine nest and the inspection points is expressed as V, V = S2 ∪ S3;

[0017] The path from nest j to inspection point k is represented by an edge of the graph, specifically: E = {(j, k)};

[0018] Determine the two-dimensional decision variables for inspection drone-nest allocation and scheduling, specifically:

[0019]

[0020]

[0021] Step S1-2: Determine the time consumed by the drone to complete the inspection task;

[0022] The time consumed by the drone to complete the inspection task includes the time required to complete each task and the time required to land and charge;

[0023] Determine the time when the drone will complete the inspection, specifically:

[0024]

[0025] Among them, t j Complete the process from The time required to start inspecting the vth task node j at time;

[0026] Determine the remaining flight time of UAV i when it flies to node j after completing the v-1th mission point k, specifically:

[0027]

[0028] Among them, T i is the initial maximum flight time of UAV i;

[0029] Determine the total time that UAV i spends after completing all assigned mission points, specifically:

[0030]

[0031] Among them, C i The time it takes for the inspection drone to land on the nest for charging and maintenance. is the flight time between two nodes;

[0032] Step S1-3: Determine the inspection drone-nest allocation scheduling objective function.

[0033] Preferably, the inspection drone-machine nest allocation scheduling objective function is:

[0034]

[0035] Among them, F represents the inspection drone-nest allocation scheduling objective function; is the flight time between two nodes, C i The time it takes for the inspection drone to land on the nest for charging and maintenance; t j Complete the process from The time required to start inspecting the vth task node j at time.

[0036] Preferably, the constraint conditions for determining the objective function in step S2 are:

[0037]

[0038] Among them, F is the inspection drone-machine nest allocation scheduling objective function, F i T is the total time spent by UAV i after completing all assigned mission points; i is the initial maximum flight time of UAV i, The time it takes for the drone to complete the inspection. is the flight time between two nodes; P iis the initial energy of node i at the beginning of the first round of charging; (a) means that only one inspection drone flies to a node at a time, (b) means that only one inspection drone leaves a node at a time, (c) means that the inspection drone will not inspect a node repeatedly, (d) means that all inspection drones start from the nest and eventually return to the nest, and the number of inspection drones does not exceed the limit, (e) means that the total flight time of the inspection drone will not exceed the maximum total flight time, and (f) means the order in which the inspection drone executes two mission points.

[0039] Preferably, the multi-UAV-multi-machine nest allocation and scheduling model established in step S3 is:

[0040]

[0041] Among them, F i T is the total time spent by UAV i after completing all assigned mission points; i is the initial maximum flight time of UAV i, The time it takes for the drone to complete the inspection. is the flight time between two nodes; P i is the initial energy of node i at the beginning of the first round of charging.

[0042] Preferably, in step S4, the master-slave heterogeneous thinking evolution mechanism is constructed based on the ability division of the population leader group, which specifically includes the following steps:

[0043] Step S4-1: Adopt a three-layer composite matching real number coding strategy to encode individuals and tasks in the brain-like co-evolutionary salp algorithm, and construct a mapping between salp individuals and the inspection drone-machine nest allocation and scheduling model;

[0044] Step S4-2: Using a D×NP matrix Indicates the position of salps, select The individual is the leader and is initialized as follows:

[0045]

[0046] Among them, x 1,j represents the updated position of the leader group, x ub,j With x lb,j represents the upper and lower bounds of the solution space, x best is the location of the food source, τ1 is the upper limit affecting the location update coefficient, τ2 is the lower limit affecting the location update coefficient, τ3 is the location update determination coefficient, τ2 and τ3 are random numbers in [-1,1];

[0047] Step S4-3: Select The individuals are used as followers and are initialized as follows:

[0048]

[0049] Among them, x i-1,j is the position of the individual in front of the current individual;

[0050] Step S4-3: For individuals in the leadership group, according to their own position potential, a neighborhood search strategy based on the master-slave heterogeneous thinking evolution mechanism is adopted.

[0051] Preferably, the upper limit influence position update coefficient τ1 is calculated as follows:

[0052]

[0053] Among them, iter is the current iteration number of the algorithm, iter max is the maximum number of iterations of the algorithm.

[0054] Preferably, the step S4-3 adopts a neighborhood search strategy based on a master-slave heterogeneous thinking evolution mechanism, specifically:

[0055] For the optimal individual, the neighborhood search strategy based on creative thinking is:

[0056] v i-l,j =κ·x best,j +(1-κ)·(x best,j -x n,j )·τ2;

[0057] κ=iter / iter max ;

[0058] Among them, v i-l,j is the position of the current optimal salp individual after neighborhood search, κ is the adaptive evolution adjustment coefficient, x best,j is the position of the current optimal salp individual, x n,j is the random individual position in the leader subgroup, i,n∈{1,2,...,NP / 2}, j∈{1,2,...,D};

[0059] For other salps in the leader subgroup, the neighborhood search strategy based on guided thinking is:

[0060] v i-m,j =(1-κ)·x i-m,j +κ·[α1(x best,j -x i-m,j )+α2(x n1,j -x n2,j )]·τ3;

[0061] Among them, v i-m,jis the position of other salps in the leader subpopulation after neighborhood search, α1 and α2 are the guiding evolutionary regulatory factors, and x n1,j and x n2,j are two salps individuals randomly selected from the leader group, i,n∈{1,2,...,NP / 2-1}.

[0062] Preferably, in step S5, the principle of human brainstorming is used to design a local optimal solution prevention mechanism based on a collaborative learning strategy, and the specific operations are as follows:

[0063] Step S5-1: Determine a potential local optimal solution, specifically:

[0064]

[0065] Among them, N limit To preset the maximum number of evolutions, Salp individual x i,j The cumulative number of evolutions;

[0066] When the above conditions are met, the salp individual x i,j The individuals that are judged as potential local optimal individuals are:

[0067] x i,j →x i-o,j ;

[0068] Among them, x i-o,j is the current potential optimal local optimal individual;

[0069] Step S5-2: According to the obtained potential local optimal solution, a local optimal solution prevention mechanism based on a collaborative learning strategy is adopted. The specific prevention mechanism includes:

[0070] Review and Selection Process:

[0071] in, is the collaborative learning sample set in the current cycle, x 1,j ,x 2,j ,...,x k,j k sample individuals are randomly selected from the subgroup excluding the external leader;

[0072] Summary and deduction process:

[0073] Among them, fin(·) is the fitness function of the sample individual, λ i is the current potential local optimal individual x i-o,j The collaborative learning weights, ψ, μ are the mean and variance of the individual fitness values ​​of the learning samples, p∈k;

[0074] Learning and development process:

[0075] x i-new,j =Vx i-o,j +τ2(x best,j -Vx i-o,j );

[0076]

[0077] Among them, x i-new,j is the potential local optimal individual x i-o,j The evolutionary individual, Vx i-o,j Evolve transition forms for potential local optimal solutions.

[0078] Compared with the prior art, the present invention has the following improvements and advantages:

[0079] 1. By adopting the neighborhood search evolution mechanism based on master-slave heterogeneous thinking, the leadership sub-group is divided into ability areas, and individuals with different abilities adopt different evolutionary strategies, which improves the efficiency and quality of population evolution; at the same time, human brainstorming behavior is introduced, and a local optimal solution prevention mechanism based on collaborative learning strategy is designed to constrain and utilize local optimal solutions, reducing the probability of premature algorithm problems.

[0080] 2. The hybrid enhanced Salp Intense algorithm based on brain-like co-evolution can quickly and effectively solve the scheduling and allocation problem of multiple UAVs and multiple machine nests, providing a new research idea for solving the problem of UAV collaborative task allocation under complex multi-constraints. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 It is the overall flow chart of the present invention.

[0082] Figure 2 Flowchart of the steps of the master-slave heterogeneous thinking evolution mechanism.

[0083] Figure 3 Flowchart of the steps of the local optimal solution prevention mechanism based on the collaborative learning strategy.

[0084] Figure 4 This is the overall flow chart of inspection drone-nest allocation and scheduling based on the brain-like co-evolutionary Salp Intense Algorithm. DETAILED DESCRIPTION

[0085] The present invention is further summarized below with reference to the accompanying drawings.

[0086] like Figure 1 As shown, a patrol drone-machine nest allocation and scheduling method based on the salp algorithm comprises the following steps:

[0087] Assume the following definition: Define U = {U1, U2, ..., U i ,…,U N} is a set of drones, where U i is the i-th UAV, N is the number of UAVs, and the relevant attributes of a single UAV are composed of a 4-element set {number, maximum mission load, flight speed, position};

[0088] definition is the set of tasks to be executed, where T j For the jth task, M r is the number of inspection tasks required;

[0089] definition is the set of machine nests, where B k is the kth nest, M j is the number of inspection tasks required;

[0090] Define V i Indicates drone U i The flight speed, V max Indicates the maximum flight speed of a single drone; Represented as drone U i With inspection target T j The Euclidean distance between Indicates drone U i With the machine nest B k The Euclidean distance between Indicates the inspection target T j With the machine nest B k The Euclidean distance between .

[0091] Step S1: Determine the inspection drone-machine nest allocation scheduling objective function according to the flight cost and maintenance time of the inspection drone; specifically includes the following operations:

[0092] Step S1-1: Determine the two-dimensional decision variables for inspection drone-machine nest allocation scheduling;

[0093] Establish a drone-machine nest inspection system, which includes N inspection drones, M j Ground machine nest and M r There are task points that need to be inspected, and the task sets are S1, S2, and S3 respectively;

[0094] Vertex set of topological graph: The vertex set of the graph composed of the machine nest and the inspection points is expressed as V, V = S2∪S3;

[0095] Path from the machine nest to the inspection point: The path from the machine nest j to the inspection point k is represented by an edge of the graph, specifically: E = {(j, k)};

[0096] Determine the two-dimensional decision variables for inspection drone-nest allocation and scheduling, specifically:

[0097]

[0098]

[0099] Step S1-2: Determine the time consumed by the drone to complete the inspection task;

[0100] The time it takes for a drone to complete an inspection mission includes the time required to complete each mission and the time required to land and recharge;

[0101] Determine the time when the drone will complete the inspection, specifically:

[0102]

[0103] Among them, t j Complete the process from The time required to start inspecting the vth task node j at time;

[0104] Determine the remaining flight time of UAV i when it flies to node j after completing the v-1th mission point k, specifically:

[0105]

[0106] Among them, T i is the initial maximum flight time of UAV i;

[0107] Determine the total time that UAV i spends after completing all assigned mission points, specifically:

[0108]

[0109] Among them, C i The time it takes for the inspection drone to land on the nest for charging and maintenance. is the flight time between two nodes;

[0110] Step S1-3: Determine the inspection drone-nest allocation scheduling objective function;

[0111] The final allocation plan is determined by using the flight time, mission execution time, and maintenance and charging time at the machine nest. The shorter the time consumption, the better the allocation plan. The objective function is:

[0112]

[0113] Among them, F represents the inspection drone-nest allocation scheduling objective function; is the flight time between two nodes, C iThe time it takes for the inspection drone to land on the nest for charging and maintenance; t j Complete the process from The time required to start inspecting the vth task node j at time.

[0114] Step S2: According to the inspection drone-machine nest allocation scheduling objective function, determine the constraint conditions of the objective function;

[0115] All tasks must be completed, and the number of returns to the machine nest cannot exceed the limit, and the flight distance cannot exceed the limit. The constraints are:

[0116]

[0117] Among them, F is the inspection drone-machine nest allocation scheduling objective function, F i T is the total time spent by UAV i after completing all assigned mission points; i is the initial maximum flight time of UAV i, The time it takes for the drone to complete the inspection. is the flight time between two nodes; P i is the initial energy of node i at the beginning of the first round of charging; (a) means that only one inspection drone flies to a node at a time, (b) means that only one inspection drone leaves a node at a time, (c) means that the inspection drone will not inspect a node repeatedly, (d) means that all inspection drones start from the nest and eventually return to the nest, and the number of inspection drones does not exceed the limit, (e) means that the total flight time of the inspection drone will not exceed the maximum total flight time, and (f) means the order in which the inspection drone executes two mission points.

[0118] Step S3: establishing a multi-UAV-multi-machine nest allocation and scheduling model according to the determined inspection UAV-machine nest allocation and scheduling objective function and the constraint conditions of the objective function;

[0119] The multi-UAV-multi-machine nest allocation and scheduling model is:

[0120]

[0121] Step S4: constructing a master-slave heterogeneous thinking evolution mechanism based on the ability division of the population leader group;

[0122] The specific steps include:

[0123] Step S4-1: Adopt a three-layer composite matching real number coding strategy to encode individuals and tasks in the brain-like co-evolutionary salp algorithm, and construct a mapping between salp individuals and the inspection drone-machine nest allocation and scheduling model;

[0124] The number of inspection drones is N, the number of ground nests is M1, the number of task points that need to be inspected is M2, and the matching algorithm population dimension is D. The upper encoding layer is the number of ground nests, the encoding layer is the number of inspection drones, the lower encoding layer is the number of tasks that need to be inspected, and NP is the number of algorithm initialization populations;

[0125] Step S4-2: Using a D×NP matrix Indicates the position of salps, select The individual is the leader and is initialized as follows:

[0126]

[0127] Among them, x 1,j represents the updated position of the leader group, x ub,j With x lb,j represents the upper and lower bounds of the solution space, x best is the location of the food source, τ1 is the upper limit affecting the location update coefficient, τ2 is the lower limit affecting the location update coefficient, τ3 is the location update determination coefficient, τ2 and τ3 are random numbers in [-1,1];

[0128] The upper bound affects the calculation of the position update coefficient τ1 as follows:

[0129]

[0130] Among them, iter is the current iteration number of the algorithm, iter max is the maximum number of iterations of the algorithm;

[0131] Step S4-3: Select The individuals are used as followers and are initialized as follows:

[0132]

[0133] Among them, x i-1,j is the position of the individual in front of the current individual;

[0134] Step S4-3: For individuals in the leadership group, according to their own position potential, a neighborhood search strategy based on the master-slave heterogeneous thinking evolution mechanism is adopted;

[0135] For the optimal individual, the neighborhood search strategy based on creative thinking is:

[0136] v i-l,j =κ·x best,j +(1-κ)·(x best,j -x n,j )·τ2;

[0137] κ=iter / itermax ;

[0138] Among them, v i-l,j is the position of the current optimal salp individual after neighborhood search, κ is the adaptive evolution adjustment coefficient, x best,j is the position of the current optimal salp individual, x n,j is the random individual position in the leader subgroup, i,n∈{1,2,...,NP / 2}, j∈{1,2,...,D};

[0139] For other salps in the leader subgroup, the neighborhood search strategy based on guided thinking is:

[0140] v i-m,j =(1-κ)·x i-m,j +κ·[α1(x best,j -x i-m,j )+α2(x n1,j -x n2,j )]·τ3;

[0141] Among them, v i-m,j is the position of other salps in the leader subpopulation after neighborhood search, α1 and α2 are the guiding evolutionary regulatory factors, and x n1,j and x n2,j are two salps individuals randomly selected from the leader group, i,n∈{1,2,...,NP / 2-1}.

[0142] Step S5: Use the principle of human brainstorming to design a local optimal solution prevention mechanism based on collaborative learning strategy to reduce the negative impact of local optimal solutions. The specific operations are as follows:

[0143] Step S5-1: Determine a potential local optimal solution, specifically:

[0144]

[0145] Among them, N limit To preset the maximum number of evolutions, Salp individual x i,j The cumulative number of evolutions;

[0146] When the above conditions are met, the salp individual x i,j The individuals that are judged as potential local optimal individuals are:

[0147] x i,j →x i-o,j ;

[0148] Among them, x i-o,j is the current potential optimal local optimal individual;

[0149] Step S5-2: According to the obtained potential local optimal solution, a local optimal solution prevention mechanism based on a collaborative learning strategy is adopted. The specific prevention mechanism includes:

[0150] Review and Selection Process:

[0151] in, is the collaborative learning sample set in the current cycle, x 1,j ,x 2,j ,...,x k,j k sample individuals are randomly selected from the subgroup excluding the external leader;

[0152] Summary and deduction process:

[0153] Among them, fin(·) is the fitness function of the sample individual, λ i is the current potential local optimal individual x i-o,j The collaborative learning weights, ψ, μ are the mean and variance of the individual fitness values ​​of the learning samples, p∈k;

[0154] Learning and development process:

[0155] x i-new,j =Vx i-o,j +τ2(x best,j -Vx i-o,j );

[0156]

[0157] Among them, x i-new,j is the potential local optimal individual x i-o,j The evolutionary individual, Vx i-o,j Evolve transition forms for potential local optimal solutions.

[0158] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A method for allocating and scheduling inspection drones and machine nests based on the Salp algorithm, characterized in that: The method comprises the following steps: Step S1: Determine the inspection drone-machine nest allocation scheduling objective function according to the flight cost and maintenance time of the inspection drone; Determine the inspection drone-nest allocation scheduling objective function, which includes the following operations: Step S1-1: Determine the two-dimensional decision variables for inspection drone-machine nest allocation scheduling; Establish a drone-machine nest inspection system, which includes N inspection drones, M j Ground machine nest and M r There are task points that need to be inspected, and the task sets are S1, S2, and S3 respectively; The vertex set of the graph composed of the machine nest and the inspection points is expressed as V, V = S2 ∪ S3; The path from nest j to inspection point k is represented by an edge of the graph, specifically: E = {(j, k)}; Determine the two-dimensional decision variables for inspection drone-nest allocation and scheduling, specifically: Step S1-2: Determine the time consumed by the drone to complete the inspection task; The time consumed by the drone to complete the inspection task includes the time required to complete each task and the time required to land and charge; Determine the time when the drone will complete the inspection, specifically: Among them, t j Complete the process from The time required to start inspecting the vth task node j at time; Determine the remaining flight time of UAV i when it flies to node j after completing the v-1th mission point k, specifically: Among them, T i is the initial maximum flight time of UAV i; Determine the total time spent by UAV i after completing all assigned mission points, specifically: Among them, C i The time it takes for the inspection drone to land on the nest for charging and maintenance. is the flight time between two nodes; Step S1-3: Determine the inspection drone-nest allocation scheduling objective function; Step S2: According to the inspection drone-machine nest allocation scheduling objective function, determine the constraint conditions of the objective function; The inspection drone-nest allocation scheduling objective function is: Among them, F represents the inspection drone-nest allocation scheduling objective function; is the flight time between two nodes, C i The time it takes for the inspection drone to land on the nest for charging and maintenance; t j Complete the process from The time required to start inspecting the vth task node j at time; Step S3: establishing a multi-UAV-multi-machine nest allocation and scheduling model according to the determined inspection UAV-machine nest allocation and scheduling objective function and the constraint conditions of the objective function; The established multi-UAV-multi-machine nest allocation and scheduling model is: Among them, F i T is the total time spent by UAV i after completing all assigned mission points; i is the initial maximum flight time of UAV i, The time it takes for the drone to complete the inspection. is the flight time between two nodes; P i is the initial energy of node i at the beginning of the first round of charging; (a) means that only one inspection drone flies to a node at a time, (b) means that only one inspection drone leaves a node at a time, (c) means that the inspection drone will not inspect a node repeatedly, (d) means that all inspection drones start from the nest and eventually return to the nest, and the number of inspection drones does not exceed the limit, (e) means that the total flight time of the inspection drone will not exceed the maximum total flight time, and (f) means the order in which the inspection drone executes two mission points; Step S4: constructing a master-slave heterogeneous thinking evolution mechanism based on the ability division of the population leader group; Based on the ability division of the population leadership group, a master-slave heterogeneous thinking evolution mechanism is constructed, which specifically includes the following steps: Step S4-1: Adopt a three-layer composite matching real number coding strategy to encode individuals and tasks in the brain-like co-evolutionary salp algorithm, and construct a mapping between salp individuals and the inspection drone-machine nest allocation and scheduling model; Step S4-2: Using a D×NP matrix Indicates the position of salps, select The individual is the leader and is initialized as follows: Among them, x 1,j represents the updated position of the leader group, x ub,j With x lb,j represents the upper and lower bounds of the solution space, x best is the location of the food source, τ1 is the upper limit affecting the location update coefficient, τ2 is the lower limit affecting the location update coefficient, τ3 is the location update determination coefficient, τ2 and τ3 are random numbers in [-1,1]; Step S4-3: Select The individuals are used as followers and are initialized as follows: Among them, x i-1,j is the position of the individual in front of the current individual; Step S4-4: For individuals in the leadership group, according to their own position potential, a neighborhood search strategy based on the master-slave heterogeneous thinking evolution mechanism is adopted; A neighborhood search strategy based on the master-slave heterogeneous thinking evolution mechanism is adopted, specifically: For the optimal individual, the neighborhood search strategy based on creative thinking is: v i-l,j =κ·x best,j +(1-κ)·(x best,j -x n,j )·τ2; κ=way / way max ; Among them, v i-l,j is the position of the current optimal salp individual after neighborhood search, κ is the adaptive evolution adjustment coefficient, x best,j is the position of the current optimal salp individual, x n,j is the random individual position in the leader subgroup, i,n∈{1,2,...,NP / 2}, j∈{1,2,...,D}; For other salps in the leader subgroup, the neighborhood search strategy based on guided thinking is: v i-m,j =(1-k)·x i-m,j +κ·[α1(x best,j -x i-m,j )+α2(x n1,j -x n2,j )]·τ3; Among them, v i-m,j is the position of other salps in the leader subpopulation after neighborhood search, α1 and α2 are the guiding evolutionary regulatory factors, and x n1,j and x n2,j are two salps randomly selected from the leader group, i,n∈{1,2,...,NP / 2-1}; Step S5: Using the principle of human brainstorming, a local optimal solution prevention mechanism based on collaborative learning strategy is designed to reduce the negative impact of local optimal solutions; Step S5-1: Determine a potential local optimal solution; Determine the potential local optimal solution, specifically: Among them, N limit To preset the maximum number of evolutions, Salp individual x i,j The cumulative number of evolutions; When the above conditions are met, the salp individual x i,j The individuals that are judged as potential local optimal individuals are: x i,j →x i-o,j ; Among them, x i-o,j is the current potential optimal local optimal individual; Step S5-2: according to the obtained potential local optimal solution, adopt a local optimal solution prevention mechanism based on a collaborative learning strategy; According to the potential local optimal solution obtained, a local optimal solution prevention mechanism based on collaborative learning strategy is adopted. The specific prevention mechanism includes: Review and Selection Process: in, is the collaborative learning sample set in the current cycle, x 1,j ,x 2,j ,...,x k,j k sample individuals are randomly selected from the subgroup excluding the external leader; Summary and deduction process: Among them, fin(·) is the fitness function of the sample individual, λ i is the current potential local optimal individual x i-o,j The collaborative learning weights, ψ, μ are the mean and variance of the individual fitness values ​​of the learning samples, p∈k; Learning and development process: x i-new,j =Vx i-o,j +τ2(x best,j -Vx i-o,j ); Among them, x i-new,j is the potential local optimal individual x i-o,j The evolutionary individual, Vx i-o,j Evolve transition forms for potential local optimal solutions.

2. According to the Salp algorithm-based inspection drone-machine nest allocation and scheduling method of claim 1, it is characterized by: The upper bound affects the calculation of the position update coefficient τ1 as follows: Among them, iter is the current iteration number of the algorithm, iter max is the maximum number of iterations of the algorithm.