Unmanned aerial vehicle trajectory optimization method, device and equipment based on immune clonal algorithm
Through the UAV trajectory planning method based on the immune cloning algorithm, combined with environmental threats and fuel costs, the grid method and factor guidance are used to optimize the UAV trajectory, which solves the problems of low efficiency and high complexity of the existing methods and achieves high efficiency. , safe route planning.
Patent Information
- Application Number
- CN202210654295.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-10
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-06-10
AI Technical Summary
Existing UAV trajectory planning methods easily deviate from the optimal solution, have high computational complexity, limited convergence speed, and low efficiency, making it difficult to quickly generate safe trajectories in emergency rescue scenarios.
Using a method based on the immune cloning algorithm, the objective function is constructed by obtaining the environmental threat cost and fuel cost of the area to be planned, using the grid method to divide the area, introducing heuristic factors and guidance factors to generate the initial antibody group, and perform clone selection, genetic manipulation and modification , combined with non-dominated sorting and crowding distance optimization, the optimal trajectory is finally obtained.
It improves the efficiency and safety of UAV trajectory planning, reduces threat costs, ensures the stability of UAV performance and flight safety, enhances the diversity and feasibility of antibody groups, and quickly converges to the optimized trajectory.
Smart Images

Figure CN115167501B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of unmanned aerial vehicle (UAV) trajectory planning, and in particular to a UAV trajectory optimization method, device, computer equipment and storage medium based on an immune clonal algorithm. Background Art
[0002] With the development of drone technology, unmanned aerial vehicles (UAVs) are widely used in life due to their safety, flexibility and reusability. In disaster scenarios, they play an important role in the delivery of relief supplies. With the increasing complexity of rescue situations, the flight safety of drones has become the key to the successful delivery of relief supplies. The core of safe flight is trajectory planning. UAV trajectory planning is to design a flight path from the starting position to the target position while meeting the performance constraints of the drone and the constraints of the surrounding environment, so that its damage cost is the lowest. Generally speaking, the planned path in emergency rescue situations should help improve rescue efficiency.
[0003] However, existing methods are prone to deviate from the optimal solution when planning UAV trajectories, have high computational complexity, limited convergence speed, and low efficiency. Summary of the invention
[0004] Based on this, it is necessary to provide a UAV trajectory optimization method, device, computer equipment and storage medium based on the immune clonal algorithm that can improve the efficiency of UAV trajectory planning in response to the above technical problems.
[0005] A method for optimizing the trajectory of an unmanned aerial vehicle based on an immune clonal algorithm, the method comprising:
[0006] Get the area to be planned;
[0007] Calculate the environmental threat cost of the planned area, and construct the objective function of the UAV trajectory planning based on the environmental threat cost and the fuel cost of the UAV flight;
[0008] The area to be planned is divided into grids using the grid method. All nodes in the grid constitute a node set. Multiple adjacent nodes in the node set constitute the UAV track. The node represents the flight point of the UAV in the area to be planned.
[0009] The transfer probability of each node in the node set is calculated according to the guiding factor and the heuristic factor, and the node with the largest transfer probability is used as the next transfer node to obtain the initial antibody group; the antibody is the drone track;
[0010] The initial antibody group is selected according to the clone selection algorithm selected by the tournament to obtain a first candidate antibody group;
[0011] Performing immune cloning operations and immune gene operations on the first candidate antibody group to obtain a second candidate antibody group and a third candidate antibody group;
[0012] combining the second candidate antibody group and the third candidate antibody group to perform antibody modification to obtain a fourth candidate antibody group;
[0013] performing fast non-dominated sorting on the fourth candidate antibody group and calculating the crowding distance, and updating the fourth candidate antibody group according to the non-dominated sorting and the crowding distance to obtain a final antibody group;
[0014] The final antibody group is optimized according to the objective function of the UAV trajectory planning to obtain the optimal antibody; the optimal antibody is the optimal trajectory of the UAV.
[0015] In one embodiment, the objective function of the UAV trajectory planning is set according to the environmental threat cost and the fuel cost of the UAV flight, including:
[0016] According to the environmental threat cost and the fuel cost of the UAV flight, the objective function of the UAV trajectory planning is set as
[0017]
[0018] Among them, J length represents the fuel cost, w L represents the coefficient, L represents the track length, J threat represents the threat cost, w R , w M , w A , w C , w H and w T They are the threat weight coefficients of radar, missile, artillery, climate, altitude and mountains; J R , J M , J A , J C , J H and J T They are the threat costs of radar, missiles, artillery, climate, altitude and mountains.
[0019] In one embodiment, calculating the transition probability of each node in the node set according to the guiding factor and the heuristic factor includes:
[0020] The transition probability of each node in the node set is calculated according to the guiding factor and the heuristic factor, and the transition probability of the node is obtained as follows:
[0021]
[0022] Where i, j and s represent any node in the node set, η j represents the heuristic factor, λ jrepresents the guiding factor, α represents the importance of the heuristic factor, β represents the importance of the guiding factor, and B k,i Represents a node set.
[0023] In one embodiment, the initial antibody population is selected according to a clonal selection algorithm selected by a tournament to obtain a first candidate antibody population, comprising:
[0024] Set the size of the tournament to n, the size of the initial antibody group to m, randomly select n antibodies from the initial antibody group for comparison, retain the antibodies with the lowest non-dominance level and the highest crowding distance, and repeat the above process m times to obtain m antibodies; the m antibodies are the first candidate antibody group.
[0025] In one embodiment, immune cloning and immune gene manipulation are performed on the first candidate antibody group to obtain the second candidate antibody group and the third candidate antibody group, including:
[0026] The first candidate antibody is subjected to immune cloning operation to obtain the second candidate antibody group:
[0027] P (2) (t) = P (1)1 (t)+P (1)2 (t)+…+P (1)mc (t) = {p1 (1)1 (t), …,
[0028] p m (1)1 (t)}+…+{p1 (1)mc (t),…,p m (1)mc (t)}={p1 (2) (t), p2 (2) (t),…,p N(m) (2) (t)}
[0029] Where N(m)=m×m c , m is the number of antibodies retained by the selection operation, m c is the clone ratio, P (1) (t) = {p1 (1) (t), p2 (1) (t),…,p m (1) (t)} is the first candidate antibody group.
[0030] In one embodiment, the first candidate antibody group is subjected to gene recombination and gene mutation. In the gene recombination, two antibodies are randomly selected from the first candidate antibody group, and the starting point and the end point of the two antibodies are fixed, and the node pairs closest to each other in the two antibodies are calculated. If there is only one pair, the two nodes are selected as the intersection points, and the two antibodies before and after the intersection points are exchanged according to the recombination probability. If there are multiple pairs, one of them is randomly selected as the intersection point, and the two antibodies before and after the two intersection points are exchanged according to the recombination probability to obtain the antibody group after gene recombination;
[0031] The starting and ending nodes of each antibody in the antibody group after gene recombination are fixed, and a node in the antibody is randomly selected to mutate within the mutation range to obtain a third candidate antibody group; the mutation range is the intersection of the neighbor node set of the i-th node and the neighbor node set of the i+1-th node.
[0032] In one embodiment, the second candidate antibody group and the third candidate antibody group are combined to perform antibody modification to obtain a fourth candidate antibody group, comprising:
[0033] Combine the second candidate antibody group with the third candidate antibody group, and traverse all nodes of each antibody in the combined antibody group. If the i-th node and the j-th node are continuous on a track, and the j-th node is not in the neighbor set Ne of the i-th node, i In the example, the jth node is modified and the neighbor node set Ne of the i-th node is selected. i and the neighbor node set Ne of the jth node j The intersection of insert , if B insert is empty, indicating that there are more than two grids between the i-th node and the j-th node, then delete this antibody. insert If it is not empty, a node is randomly selected as the insertion node to obtain the modified fourth candidate antibody group.
[0034] In one embodiment, updating the fourth candidate antibody group according to the non-dominated sorting and crowding distance to obtain the final antibody group includes:
[0035] Step 1: Set a=1 to generate an updated antibody group G;
[0036] Step 2: From the fourth candidate antibody group P (4) (t) Select the antibody group F with non-dominated sorting a, merge antibody groups F and G to generate a combination group F+G=F∪G, perform non-dominated sorting on the combination group, and record the non-dominated sorting value of the combination group F+G as length(F+G);
[0037] Step 3: If length(F + G) < N, where N represents the size of the final antibody population, add F to G, a = a + 1, and go back to Step 2; if length(F + G) > N, let NM = N - length(F + G), sort the antibodies in F according to the crowding distance, and add the first NM antibodies to G; if length(F + G) = N, then add F to G; G is the final antibody population.
[0038] An unmanned aerial vehicle (UAV) cooperative trajectory planning device based on an immune cloning algorithm, the device comprising:
[0039] A target function construction module for UAV trajectory planning, configured to obtain the area to be planned; calculate the environmental threat cost for the area to be planned, and construct a target function for UAV trajectory planning based on the environmental threat cost and the fuel cost of UAV flight;
[0040] An area division module for dividing the area to be planned into grids by using the grid method, where all nodes in the grids form a node set; multiple adjacent nodes in the node set form a UAV trajectory; a node represents a UAV flight point in the area to be planned;
[0041] An initial antibody population construction module for calculating the transfer probability of each node in the node set according to a guiding factor and a heuristic factor, and taking the node with the maximum transfer probability as the next transfer node to obtain an initial antibody population; an antibody is a UAV trajectory;
[0042] An antibody population optimization module for selecting the initial antibody population according to a clone selection algorithm of tournament selection to obtain a first candidate antibody population; performing immune cloning operation and immune gene operation on the first candidate antibody population to obtain a second candidate antibody population and a third candidate antibody population; combining the second candidate antibody population and the third candidate antibody population for antibody modification to obtain a fourth candidate antibody population; performing fast non - dominated sorting on the fourth candidate antibody population and calculating the crowding distance, and updating the fourth candidate antibody population according to the non - dominated sorting and the crowding distance to obtain a final antibody population;
[0043] An optimization module for optimizing the final antibody population according to the target function of the UAV trajectory planning to obtain an optimal antibody; the optimal antibody is the optimal trajectory of the UAV.
[0044] A computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:
[0045] Obtain the area to be planned;
[0046] Calculate the environmental threat cost for the area to be planned, and construct a target function for UAV trajectory planning based on the environmental threat cost and the fuel cost of UAV flight;
[0047] The area to be planned is divided into grids using the grid method. All nodes in the grid constitute a node set. Multiple adjacent nodes in the node set constitute the UAV track. The node represents the flight point of the UAV in the area to be planned.
[0048] The transfer probability of each node in the node set is calculated according to the guiding factor and the heuristic factor, and the node with the largest transfer probability is used as the next transfer node to obtain the initial antibody group; the antibody is the drone track;
[0049] The initial antibody group is selected according to the clone selection algorithm selected by the tournament to obtain a first candidate antibody group;
[0050] Performing immune cloning operations and immune gene operations on the first candidate antibody group to obtain a second candidate antibody group and a third candidate antibody group;
[0051] combining the second candidate antibody group and the third candidate antibody group to perform antibody modification to obtain a fourth candidate antibody group;
[0052] performing fast non-dominated sorting on the fourth candidate antibody group and calculating the crowding distance, and updating the fourth candidate antibody group according to the non-dominated sorting and the crowding distance to obtain a final antibody group;
[0053] The final antibody group is optimized according to the objective function of the UAV trajectory planning to obtain the optimal antibody; the optimal antibody is the optimal trajectory of the UAV.
[0054] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0055] Get the area to be planned;
[0056] Calculate the environmental threat cost of the planned area, and construct the objective function of the UAV trajectory planning based on the environmental threat cost and the fuel cost of the UAV flight;
[0057] The area to be planned is divided into grids using the grid method. All nodes in the grid constitute a node set. Multiple adjacent nodes in the node set constitute the UAV track. The node represents the flight point of the UAV in the area to be planned.
[0058] The transfer probability of each node in the node set is calculated according to the guiding factor and the heuristic factor, and the node with the largest transfer probability is used as the next transfer node to obtain the initial antibody group; the antibody is the drone track;
[0059] The initial antibody group is selected according to the clone selection algorithm selected by the tournament to obtain a first candidate antibody group;
[0060] Performing immune cloning operations and immune gene operations on the first candidate antibody group to obtain a second candidate antibody group and a third candidate antibody group;
[0061] combining the second candidate antibody group and the third candidate antibody group to perform antibody modification to obtain a fourth candidate antibody group;
[0062] performing fast non-dominated sorting on the fourth candidate antibody group and calculating the crowding distance, and updating the fourth candidate antibody group according to the non-dominated sorting and the crowding distance to obtain a final antibody group;
[0063] The final antibody group is optimized according to the objective function of the UAV trajectory planning to obtain the optimal antibody; the optimal antibody is the optimal trajectory of the UAV.
[0064] The above-mentioned UAV collaborative trajectory planning method, device, computer equipment and storage medium based on the immune clonal algorithm, the present application sets the threat cost and fuel cost in the area to be planned as the objective function of the UAV trajectory planning, which is conducive to reducing the threat cost, improving flight safety and ensuring the stability of the UAV performance when performing subsequent trajectory selection. The grid method is used to divide the area to be planned into grids, and multiple adjacent nodes in the grid constitute the UAV trajectory. In the initialization process, heuristic factors and guiding factors are introduced to generate high-quality antibodies, and node transfer is more effective, thereby improving the quality of the initial antibodies and accelerating the convergence speed. Through immune cloning operations and immune gene operations, the antibody population is continuously optimized and some unfeasible antibodies are corrected to improve the feasibility of antibodies. Then, some unfeasible antibodies are modified to enhance the diversity of the antibody population, and finally multiple optimized candidate trajectories of the UAV are obtained. The final antibody group is optimized according to the objective function of the UAV trajectory planning, and the trajectory with the smallest trajectory cost is selected from the optimized multiple candidate trajectories as the optimal trajectory, thereby improving the efficiency of the UAV trajectory planning. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 A schematic diagram of a flow chart of a UAV collaborative trajectory planning method based on an immune clonal algorithm in one embodiment;
[0066] Figure 2 is a schematic diagram of a reorganization operator in one embodiment;
[0067] Figure 3 is a schematic diagram of a mutation operator in one embodiment;
[0068] Figure 4 It is a structural block diagram of a UAV cooperative trajectory planning device based on immune clonal algorithm in one embodiment;
[0069] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0071] In one embodiment, Figure 1 As shown, a UAV collaborative trajectory planning method based on an immune clonal algorithm is provided, comprising the following steps:
[0072] Step 102, obtaining the area to be planned; calculating the environmental threat cost of the area to be planned, and constructing the objective function of the UAV trajectory planning according to the environmental threat cost and the fuel cost of the UAV flight.
[0073] The drone is mainly restricted by environmental threats and its own performance constraints during flight. Therefore, the establishment of the objective function mainly considers threat cost and fuel cost. The threat sources in the battlefield environment include radar, missiles, artillery, climate, altitude or mountains. The environmental threat cost is calculated for the planned area, and the threat cost is given by the following formula:
[0074] J threat =w R ·J R +w M ·J M +w A ·J A +w C ·J C +w H ·J H +w T ·J T
[0075] Among them, w R , w M , w A , w C , w H and w T They are the threat weight coefficients of radar, missile, artillery, climate, altitude and mountains. R , J M , J A , J C , J H and J T They are the threat costs of radar, missiles, artillery, climate, altitude and mountains.
[0076]
[0077] In the above formula, N L is the number of track nodes, NR is the radar threat number, is the Euclidean distance between the i-th node and the k-th radar, and the radar detection probability is:
[0078]
[0079] is the minimum detection distance at which the drone will be detected after entering the range. It is the maximum detection distance at which the drone will not be threatened if it moves away from this range.
[0080]
[0081] In the above formula, N M is the number of missile threats, is the Euclidean distance between the i-th node and the k-th missile, and the probability of missile damage is:
[0082]
[0083] is the minimum damage range at which a drone will be destroyed if it enters this range. It is the maximum damage range where the drone will not be threatened after moving away from this range.
[0084]
[0085] In the above formula, N A is the number of artillery threats, is the Euclidean distance between the i-th node and the k-th air defense weapon, and the probability of damage by the artillery is:
[0086]
[0087] is the minimum damage range at which a drone will be destroyed if it enters this range. It is the maximum damage range where the drone will not be threatened after moving away from this range.
[0088]
[0089] In the above formula, N C is the number of climate threats, is the Euclidean distance between the i-th node and the k-th climate threat, and the probability of climate impact is:
[0090]
[0091] is the minimum damage range at which a drone will be destroyed once it enters this range, It is the maximum damage range where the drone will not be threatened once it moves away from this range.
[0092]
[0093] In the above formula, h i is the height of node i.
[0094]
[0095]
[0096] is the distance between the i-th node and the k-th mountain center axis, is the radius of the mountain cross section at height h, It is the minimum damage range of the drone when it hits the ground after entering this range. It is the maximum damage range of the drone without being threatened by terrain after it leaves this range.
[0097] The fuel cost associated with the track length is given by:
[0098] J length =w L ·L
[0099] where w L represents the coefficient, L represents the track length, N L Indicates the number of track nodes.
[0100] Constructing the objective function of UAV trajectory planning according to the environmental threat cost and the fuel cost of UAV flight is conducive to reducing threat costs, improving flight safety and ensuring stable performance.
[0101] Step 104, using a grid method to divide the area to be planned into grids, all nodes in the grid constitute a node set; multiple adjacent nodes in the node set constitute the UAV track; the node represents the flight point of the UAV in the area to be planned.
[0102] The grid method is used to divide the area to be planned into grids, and the nodes in the grid represent the flight points of the UAV in the area to be planned, that is, the positions passed by the UAV in the flight track. This can more clearly and accurately calculate and obtain the position and track of the UAV, which is conducive to track planning.
[0103] Step 106, calculating the transfer probability of each node in the node set according to the guiding factor and the heuristic factor, taking the node with the largest transfer probability as the next transfer node, and obtaining an initial antibody group; the antibody is the drone track.
[0104] The key to generating the initial antibody set is how the nodes are transmitted. This application introduces guiding factors and heuristic factors to form transfer rules. The heuristic factors help node transfers to avoid threats as much as possible. The guiding factors can provide directional information for node transfers. The transfer probability of each node in the node set is calculated, and the node with the largest transfer probability is used as the next transfer node. The size of the initial antibody group is set, and the starting point is continuously changed. Multiple tracks, namely candidate tracks, can be generated during the node transfer process, thereby generating an initial antibody group.
[0105] Step 108, select the initial antibody group according to the clonal selection algorithm selected by the tournament to obtain a first candidate antibody group; perform immune cloning operation and immune gene operation on the first candidate antibody group to obtain a second candidate antibody group and a third candidate antibody group; combine the second candidate antibody group and the third candidate antibody group to perform antibody modification to obtain a fourth candidate antibody group; perform fast non-dominated sorting on the fourth candidate antibody group and calculate the crowding distance, and update the fourth candidate antibody group according to the non-dominated sorting and the crowding distance to obtain a final antibody group.
[0106] Clonal selection can select antibodies with higher affinity. The tournament selection method selects antibodies with higher affinity to ensure the quality and diversity of the offspring population. The immune cloning operation produces more antibodies by copying a certain proportion of excellent antibodies, and then more genetic operations can be performed to expand the search space. The immune gene operation includes gene recombination and gene mutation, which can enhance the diversity of the population, but two infeasible antibodies may be produced during the recombination and mutation process. Infeasible antibodies containing repeated nodes can be directly deleted because they are likely to be closed loops; other feasible antibodies containing two consecutive nodes spanning multiple grids may be corrected. Node pairs with small spans can be supplemented with nodes to make the antibodies feasible. Subsequent modification of antibodies and correction of some infeasible antibodies can improve the feasibility of antibodies. The antibody group was optimized for multiple rounds. Finally, according to the non-dominated sorting and crowding distance, the redundant antibodies exceeding the initial antibody group size were removed, so that the size of the antibody group remained unchanged, and the optimized final antibody group was obtained. The antibodies in the final antibody group represent the candidate tracks of the drone. By optimizing the antibody group, the candidate tracks of the drone are optimized.
[0107] Step 110, optimizing the final antibody group according to the objective function of the UAV trajectory planning to obtain the optimal antibody; the optimal antibody is the optimal trajectory of the UAV.
[0108] The final antibody group is optimized according to the objective function of UAV trajectory planning, and the trajectory with the smallest trajectory cost is selected as the optimal trajectory from the optimized multiple candidate trajectories, thereby improving the efficiency of UAV trajectory planning.
[0109] In the above-mentioned UAV collaborative trajectory planning method based on the immune clonal algorithm, the present application sets the threat cost and fuel cost in the area to be planned as the objective function of the UAV trajectory planning, which is conducive to reducing the threat cost, improving flight safety, and ensuring the stability of the UAV performance when performing subsequent trajectory selection. The grid method is used to divide the area to be planned into grids, and multiple adjacent nodes in the grid constitute the UAV trajectory. In the initialization process, heuristic factors and guiding factors are introduced to generate high-quality antibodies, and node transfer is more effective, thereby improving the quality of the initial antibodies and accelerating the convergence speed. Through immune cloning operations and immune gene operations, the antibody population is continuously optimized and some unfeasible antibodies are corrected to improve the feasibility of antibodies. Then, some unfeasible antibodies are modified to enhance the diversity of the antibody population, and finally multiple optimized candidate trajectories of the UAV are obtained. The final antibody group is optimized according to the objective function of the UAV trajectory planning, and the trajectory with the smallest trajectory cost is selected from the multiple optimized candidate trajectories as the optimal trajectory, thereby improving the efficiency of the UAV trajectory planning.
[0110] In one embodiment, the objective function of the UAV trajectory planning is set according to the environmental threat cost and the fuel cost of the UAV flight, including:
[0111] According to the environmental threat cost and the fuel cost of the UAV flight, the objective function of the UAV trajectory planning is set as
[0112]
[0113] Among them, J length represents the fuel cost, w L represents the coefficient, L represents the track length, J threat represents the threat cost, w R , w M , w A , w C , w H and w T They are the threat weight coefficients of radar, missile, artillery, climate, altitude and mountains; J R , J M , J A , J C , J H and J T They are the threat costs of radar, missiles, artillery, climate, altitude and mountains.
[0114] In one embodiment, calculating the transition probability of each node in the node set according to the guiding factor and the heuristic factor includes:
[0115] The transition probability of each node in the node set is calculated according to the guiding factor and the heuristic factor, and the transition probability of the node is obtained as follows:
[0116]
[0117] Where i, j and s represent any node in the node set, η j represents the heuristic factor, λ j represents the guiding factor, α represents the importance of the heuristic factor, β represents the importance of the guiding factor, and B k,i Represents a node set.
[0118] In a specific embodiment, the key to generating the initial antibody set is how the node is transmitted. When a node i in the node set Bik, is selected as the next node, the heuristic factor and the leading factor are introduced to form the transfer rule, and the transfer probability of each node i in the node set is calculated, and then the node with the largest transmission probability is selected as the next node. The calculation method of the heuristic factor is as follows:
[0119]
[0120] Among them, w R , w M , w A , w C , w H and w T They are the threat weight coefficients of radar, missile, artillery, climate, altitude and mountains. R , N M , N A , N C and N T They are the number of radars, missiles, artillery, climate and mountains. represents the distance between the jth node and the nth radar threat, represents the distance between the jth node and the nth missile threat, Represents the distance between the jth node and the nth gun. represents the distance between the jth node and the nth climate threat. For the height of the jth node, is the distance between the jth node and the nth hill. The larger the heuristic factor, the farther the node is from the threat source.
[0121] The bootstrap factor is calculated as follows:
[0122]
[0123] Among them, d j,end Represents the jth node and the end node p k,end The larger the guidance factor, the smaller the distance between the node and the end node.
[0124] Heuristic factors help node transfers avoid threats as much as possible, and guiding factors can provide directional information for node transfers. By introducing heuristic factors and guiding factors, node transfers are more effective, thereby improving the quality of the initial antibodies and accelerating the convergence of the method.
[0125] With the transfer rule determined, the initial antibodies can be obtained by searching the nodes from the starting point to the end node. After performing the above operation N times, N antibodies are obtained to form an initial antibody group.
[0126] P(t)={p1(t), p2(t),…,p N (t)}
[0127] Where t represents the current generation, p i (t) indicates antibody, p i (t) = {Start, p i1 , p i2 ,…,p ik , End}, p ik Indicates the number of nodes, i k ∈{1, 2,…, m×n}.
[0128] In one embodiment, the initial antibody population is selected according to a clonal selection algorithm selected by a tournament to obtain a first candidate antibody population, comprising:
[0129] Set the size of the tournament to n, the size of the initial antibody group to m, randomly select n antibodies from the initial antibody group for comparison, retain the antibodies with the lowest non-dominance level and the highest crowding distance, and repeat the above process m times to obtain m antibodies; the m antibodies are the first candidate antibody group.
[0130] In a specific embodiment, the clone selection algorithm selected by the tournament is shown in Table 1:
[0131]
[0132] First, the competition size is set to n, and the size of the selected antibody population is set to m. Then n antibodies are randomly selected from the antibody population for comparison, and antibodies with smaller non-dominant levels and larger crowding distances are retained for the next generation. After repeating the above process m times, m antibodies can be retained in the next generation, and finally the first candidate antibody population is obtained as P (1) (t) = {p1 (1) (t), p2 (1) (t),…,p m (1) (t)}.
[0133] In one embodiment, immune cloning and immune gene manipulation are performed on the first candidate antibody group to obtain the second candidate antibody group and the third candidate antibody group, including:
[0134] The first candidate antibody is subjected to immune cloning operation to obtain the second candidate antibody group:
[0135] P (2) (t) = P (1)1 (t)+P (1)2 (t)+…+P (1)mc (t) = {p1 (1)1 (t), …,
[0136] p m (1)1 (t)}+…+{p1 (1)mc (t),…,p m (1)mc (t)}={p1 (2) (t), p2 (2) (t),…,p N(m) (2) (t)}
[0137] Where N(m)=m×m c , m is the number of antibodies retained by the selection operation, m c is the clone ratio, P (1) (t) = {p1 (1) (t), p2 (1) (t),…,p m (1) (t)} is the first candidate antibody group.
[0138] In one embodiment, the first candidate antibody group is subjected to gene recombination and gene mutation. In the gene recombination, two antibodies are randomly selected from the first candidate antibody group, and the starting point and the end point of the two antibodies are fixed, and the node pairs closest to each other in the two antibodies are calculated. If there is only one pair, the two nodes are selected as the intersection points, and the two antibodies before and after the intersection points are exchanged according to the recombination probability. If there are multiple pairs, one of them is randomly selected as the intersection point, and the two antibodies before and after the two intersection points are exchanged according to the recombination probability to obtain the antibody group after gene recombination;
[0139] The starting and ending nodes of each antibody in the antibody group after gene recombination are fixed, and a node in the antibody is randomly selected to mutate within the mutation range to obtain a third candidate antibody group; the mutation range is the intersection of the neighbor node set of the i-th node and the neighbor node set of the i+1-th node.
[0140] In a specific embodiment, immune gene manipulation includes gene recombination and gene mutation, which can enhance the diversity of the population. Random recombination and mutation can easily produce unfeasible antibodies. Unfeasible antibodies include: antibodies containing repeated nodes or antibodies containing two adjacent nodes spanning multiple grids. Therefore, it is necessary not only to generate an antibody population with good diversity, but also to consider how to improve the feasibility of antibodies during gene recombination and gene mutation.
[0141] In gene recombination, two antibodies are randomly selected from the offspring population, and their starting and ending points are fixed. Selecting the two closest nodes as intersections can reduce the infeasibility of producing antibodies. Then calculate the node pairs closest to each other in the two antibodies. The number of pairs can be one or more. If there is a pair, select these two nodes as intersections, and exchange the two antibodies before and after the intersection according to the recombination probability; if there are multiple pairs, randomly select one of them as the intersection, and exchange the two antibodies before and after the two intersections according to the recombination probability, such as Figure 2 shown.
[0142] For each antibody, when the starting and ending nodes are fixed, a node is randomly selected for mutation, and the mutation operator is as follows: Figure 3 As shown. Randomly select the i-th node as the mutation point, and the mutation search range B mutation is the intersection of the neighbor node set of the i-th node and the neighbor node set of the i+1-th node, B insert =Ne i-1 ∩Ne +1 .
[0143] The antibody population obtained by the immune gene operator is:
[0144] P (3) (t) = {p1 (3) (t), p2 (3) (t),…,p N(m) (3) (t)}
[0145] The process description of antibody population gene manipulation is shown in Table 2:
[0146]
[0147] In one embodiment, the second candidate antibody group and the third candidate antibody group are combined to perform antibody modification to obtain a fourth candidate antibody group, comprising:
[0148] Combine the second candidate antibody group with the third candidate antibody group, and traverse all nodes of each antibody in the combined antibody group. If the i-th node and the j-th node are continuous on a track, and the j-th node is not in the neighbor set Ne of the i-th node, iIf so, correct the j-th node, and select the set of neighbor nodes Ne of the i-th node i and the set of neighbor nodes Ne of the j-th node j The intersection of is used as the insertion node set B insert , if B insert is empty, indicating that there are more than two grids between the i-th node and the j-th node, then delete this antibody. If B insert is not empty, then randomly select a node as the insertion node to obtain the modified fourth candidate antibody population.
[0149] In one embodiment, update the fourth candidate antibody population according to non-dominated sorting and crowding distance to obtain the final antibody population, including:
[0150] Step 1: Set a = 1 and generate an updated antibody population G;
[0151] Step 2: Select the antibody population F with non-dominated sorting value a from the fourth candidate antibody population P (4) (t), merge the antibody populations F and G to generate a combined population F + G = F ∪ G, perform non-dominated sorting on the combined population, and record the non-dominated sorting value of the combined population F + G as length(F + G);
[0152] Step 3: If length(F + G) < N, where N represents the size of the final antibody population, add F to G, a = a + 1, and go to Step 2; if length(F + G) > N, let NM = N - length(F + G), sort the antibodies in F according to the crowding distance, and add the first NM antibodies to G; if length(F + G) = N, then add F to G; G is the final antibody population.
[0153] In a specific embodiment, the initial antibody population is of size N. If the number of antibodies is greater than N, then remove the antibodies according to the rank and crowding distance until the size of the antibody population is N. The final antibody population is P (5) (t) = {p1 (5) (t), p2 (5) (t), …, p N (5) (t)}. According to non-dominated sorting and crowding distance, remove the excess antibodies exceeding the size of the initial antibody population, so that the size of the antibody population remains unchanged, and optimize the antibody quality without changing the size of the antibody population.
[0154] It should be understood that although Figure 1 the steps in the flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0155] In one embodiment, Figure 4 As shown, a UAV collaborative trajectory planning device based on immune clonal algorithm is provided, including: an objective function construction module 402 for UAV trajectory planning, a region division module 404, an initial antibody group construction module 406, an antibody group optimization module 408 and an optimization module 410, wherein:
[0156] The objective function building module 402 for UAV trajectory planning is used to obtain the area to be planned; calculate the environmental threat cost of the area to be planned, and build the objective function of the UAV trajectory planning according to the environmental threat cost and the fuel cost of the UAV flight;
[0157] The area division module 404 is used to divide the area to be planned into grids using a grid method, where all nodes in the grid constitute a node set; multiple adjacent nodes in the node set constitute a UAV track; and a node represents a UAV flight point in the area to be planned;
[0158] The initial antibody group construction module 406 is used to calculate the transfer probability of each node in the node set according to the guiding factor and the heuristic factor, and take the node with the largest transfer probability as the next transfer node to obtain the initial antibody group; the antibody is the drone track;
[0159] The antibody group optimization module 408 is used to select the initial antibody group according to the clonal selection algorithm selected by the tournament to obtain a first candidate antibody group; perform immune cloning operation and immune gene operation on the first candidate antibody group to obtain a second candidate antibody group and a third candidate antibody group; combine the second candidate antibody group and the third candidate antibody group to perform antibody modification to obtain a fourth candidate antibody group; perform fast non-dominated sorting on the fourth candidate antibody group and calculate the crowding distance, and update the fourth candidate antibody group according to the non-dominated sorting and crowding distance to obtain a final antibody group;
[0160] The optimization module 410 is used to optimize the final antibody group according to the objective function of the UAV track planning to obtain the optimal antibody; the optimal antibody is the optimal track of the UAV.
[0161] In one embodiment, the objective function building module 402 for drone trajectory planning is further used to set the objective function of drone trajectory planning according to the environmental threat cost and the fuel cost of drone flight, including:
[0162] According to the environmental threat cost and the fuel cost of the UAV flight, the objective function of the UAV trajectory planning is set as
[0163]
[0164] Among them, J length represents the fuel cost, w L represents the coefficient, L represents the track length, J threat represents the threat cost, w R , w M , w A , w C , w H and w T They are the threat weight coefficients of radar, missile, artillery, climate, altitude and mountains; J R , J M , J A , J C , J H and J T They are the threat costs of radar, missiles, artillery, climate, altitude and mountains.
[0165] In one embodiment, the initial antibody group construction module 406 is further used to calculate the transition probability of each node in the node set according to the guiding factor and the heuristic factor, including:
[0166] The transition probability of each node in the node set is calculated according to the guiding factor and the heuristic factor, and the transition probability of the node is obtained as follows:
[0167]
[0168] Where i, j and s represent any node in the node set, η j represents the heuristic factor, λ j represents the guiding factor, α represents the importance of the heuristic factor, β represents the importance of the guiding factor, and B k,i Represents a node set.
[0169] In one embodiment, the antibody group optimization module 408 is further configured to select the initial antibody group according to the clonal selection algorithm selected by the tournament to obtain a first candidate antibody group, including:
[0170] Set the size of the tournament to n, the size of the initial antibody group to m, randomly select n antibodies from the initial antibody group for comparison, retain the antibodies with the lowest non-dominance level and the highest crowding distance, and repeat the above process m times to obtain m antibodies; the m antibodies are the first candidate antibody group.
[0171] In one embodiment, the antibody group optimization module 408 is further used to perform immune cloning operations and immune gene operations on the first candidate antibody group to obtain a second candidate antibody group and a third candidate antibody group, including:
[0172] The first candidate antibody is subjected to immune cloning operation to obtain the second candidate antibody group:
[0173] P (2) (t) = P (1)1 (t)+P (1)2 (t)+…+P (1)mc (t) = {p1 (1)1 (t), …,
[0174] p m (1)1 (t)}+…+{p1 (1)mc (t),…,p m (1)mc (t)}={p1 (2) (t), p2 (2) (t),…,p N(m) (2) (t)}
[0175] Where N(m)=m×m c , m is the number of antibodies retained by the selection operation, m c is the clone ratio, P (1) (t) = {p1 (1) (t), p2 (1) (t),…,p m (1) (t)} is the first candidate antibody group.
[0176] In one embodiment, the antibody group optimization module 408 is further used to perform gene recombination and gene mutation on the first candidate antibody group. In the gene recombination, two antibodies are randomly selected from the first candidate antibody group, and the starting point and the end point of the two antibodies are fixed, and the node pairs closest to each other in the two antibodies are calculated. If there is only one pair, the two nodes are selected as the intersection points, and the two antibodies before and after the intersection points are exchanged according to the recombination probability. If there are multiple pairs, one of them is randomly selected as the intersection point, and the two antibodies before and after the two intersection points are exchanged according to the recombination probability to obtain the antibody group after gene recombination;
[0177] The starting and ending nodes of each antibody in the antibody group after gene recombination are fixed, and a node in the antibody is randomly selected to mutate within the mutation range to obtain a third candidate antibody group; the mutation range is the intersection of the neighbor node set of the i-th node and the neighbor node set of the i+1-th node.
[0178] In one embodiment, the antibody population optimization module 408 is further configured to combine the second candidate antibody population and the third candidate antibody population for antibody modification to obtain a fourth candidate antibody population, including:
[0179] Combine the second candidate antibody population and the third candidate antibody population, traverse all nodes of each antibody in the combined antibody population. If the i-th node and the j-th node are consecutive on a track, and the j-th node is not in the neighbor set Ne i of the i-th node, then correct the j-th node, and select the intersection of the neighbor node set Ne i of the i-th node and the neighbor node set Ne j of the j-th node as the insertion node set B insert . If B insert is empty, indicating that there are more than two grids between the i-th node and the j-th node, then delete this antibody. If B insert is not empty, then randomly select a node as the insertion node to obtain the modified fourth candidate antibody population.
[0180] In one embodiment, the antibody population optimization module 408 is further configured to update the fourth candidate antibody population according to non-dominated sorting and crowding distance to obtain the final antibody population, including:
[0181] Step 1: Set a = 1 and generate an updated antibody population G;
[0182] Step 2: Select the antibody population F with non-dominated sorting value a from the fourth candidate antibody population P (4) (t), combine the antibody populations F and G to generate a combined population F+G = F∪G, perform non-dominated sorting on the combined population, and denote the non-dominated sorting value of the combined population F+G as length(F+G);
[0183] Step 3: If length(F+G) < N, where N represents the size of the final antibody population, add F to G, a = a + 1, and go to Step 2; if length(F+G) > N, let NM = N - length(F+G), sort the antibodies in F according to the crowding distance, and add the first NM antibodies to G; if length(F+G) = N, then add F to G; G is the final antibody population.
[0184] For the specific limitations of the UAV collaborative trajectory planning device based on the immune clonal algorithm, please refer to the limitations of the UAV collaborative trajectory planning method based on the immune clonal algorithm above, which will not be repeated here. Each module in the above-mentioned UAV collaborative trajectory planning device based on the immune clonal algorithm can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0185] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for cooperative trajectory planning of a drone based on an immune clonal algorithm is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0186] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0187] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method in the above embodiment when executing the computer program.
[0188] In one embodiment, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method in the above embodiment are implemented.
[0189] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0190] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0191] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A UAV trajectory optimization method based on immune clonal algorithm, characterized in that: The method comprises: Get the area to be planned; Calculating the environmental threat cost of the area to be planned, and constructing an objective function for the UAV trajectory planning based on the environmental threat cost and the fuel cost of the UAV flight; The area to be planned is divided into grids by using a grid method, and all nodes in the grid constitute a node set; a plurality of adjacent nodes in the node set constitute a UAV track; and the node represents a UAV flight point in the area to be planned; The transfer probability of each node in the node set is calculated according to the guiding factor and the heuristic factor, and the node with the largest transfer probability is used as the next transfer node to obtain an initial antibody group; the antibody is the drone track; Selecting the initial antibody group according to a clonal selection algorithm selected by a tournament to obtain a first candidate antibody group; Performing immune cloning operations and immune gene operations on the first candidate antibody group to obtain a second candidate antibody group and a third candidate antibody group; combining the second candidate antibody group and the third candidate antibody group to perform antibody modification to obtain a fourth candidate antibody group; performing a fast non-dominated sort on the fourth candidate antibody group and calculating a crowding distance, and updating the fourth candidate antibody group according to the non-dominated sort and the crowding distance to obtain a final antibody group; The final antibody group is optimized according to the objective function of the UAV track planning to obtain the optimal antibody; the optimal antibody is the optimal track of the UAV.
2. The method according to claim 1, characterized in that The objective function of the UAV trajectory planning is set according to the environmental threat cost and the fuel cost of the UAV flight, including: According to the environmental threat cost and the fuel cost of the UAV flight, the objective function of the UAV trajectory planning is set as Among them, J length represents the fuel cost, w L represents the coefficient, L represents the track length, J threat represents the threat cost, w R , w M , w A , w C , w H and w T They are the threat weight coefficients of radar, missile, artillery, climate, altitude and mountains; J R , J M , J A , J C , J H and J T They are the threat costs of radar, missiles, artillery, climate, altitude and mountains.
3. The method according to claim 1, characterized in that: The transition probability of each node in the node set is calculated according to the guiding factor and the heuristic factor, including: The transition probability of each node in the node set is calculated according to the guiding factor and the heuristic factor, and the transition probability of the node is obtained as follows: Where i, j and s represent any node in the node set, η j represents the heuristic factor, λ j represents the guiding factor, α represents the importance of the heuristic factor, β represents the importance of the guiding factor, and B k,i Represents a node set.
4. The method according to any one of claims 1 to 3, characterized in that: The initial antibody group is selected according to the clonal selection algorithm selected by the tournament to obtain a first candidate antibody group, including: The size of the tournament is set to n, the size of the initial antibody group is set to m, n antibodies are randomly selected from the initial antibody group for comparison, and the antibodies with the lowest non-dominance level and the highest crowding distance are retained. After repeating the above process m times, m antibodies are obtained; the m antibodies are the first candidate antibody group.
5. The method according to claim 4, characterized in that The first candidate antibody group is subjected to immune cloning operation and immune gene operation to obtain a second candidate antibody group and a third candidate antibody group, comprising: The first candidate antibody is subjected to immune cloning operation to obtain a second candidate antibody group: P (2) (t)=P (1)1 (t)+P (1)2 (t)+…+P (1)mc (t)={p1 (1)1 (t),…,p m (1)1 (t)}+…+{p1 (1)mc (t),…,p m (1)mc (t)}={p1 (2) (t),p2 (2) (t),…,p N(m) (2) (t)} Where N(m)=m×m c , m is the number of antibodies retained by the selection operation, m c is the clone ratio, P (1) (t) = {p1 (1) (t), p2 (1) (t),…,p m (1) (t)} is the first candidate antibody group.
6. The method according to claim 5, characterized in that The method further comprises: Performing gene recombination and gene mutation on the first candidate antibody group. In the gene recombination, two antibodies are randomly selected from the first candidate antibody group, and the starting point and the end point of the two antibodies are fixed, and the node pairs closest to each other in the two antibodies are calculated. If there is only one pair, the two nodes are selected as intersection points, and the two antibodies before and after the intersection point are exchanged according to the recombination probability. If there are multiple pairs, one of them is randomly selected as the intersection point, and the two antibodies before and after the two intersection points are exchanged according to the recombination probability to obtain the antibody group after gene recombination; Fix the starting and ending nodes of each antibody in the antibody population after gene recombination, randomly select a node in the antibody within the mutation range for mutation to obtain a third candidate antibody population; the mutation range is the intersection of the neighbor node sets of the i-th node and the neighbor node sets of the i+1-th node.
7. The method according to claim 6, characterized in that Combine the second candidate antibody population and the third candidate antibody population for antibody modification to obtain a fourth candidate antibody population, including: Combine the second candidate antibody group and the third candidate antibody group, and traverse all nodes of each antibody in the combined antibody group. If the i-th node and the j-th node are continuous on a track, and the j-th node is not in the neighbor set Ne of the i-th node, i In the example, the jth node is modified and the neighbor node set Ne of the i-th node is selected. i and the neighbor node set Ne of the jth node j The intersection of insert , if B insert is empty, indicating that there are more than two grids between the i-th node and the j-th node, then delete this antibody. insert If it is not empty, a node is randomly selected as the insertion node to obtain the modified fourth candidate antibody group.
8. The method according to claim 6, characterized in that Update the fourth candidate antibody population according to the non-dominated sorting and crowding distance to obtain the final antibody population, including: Step 1: Set a = 1 and generate an updated antibody population G; Step 2: From the fourth candidate antibody group P (4) (t) Select the antibody group F with non-dominated sorting a, merge antibody groups F and G to generate a combination group F+G=F∪G, perform non-dominated sorting on the combination group, and record the non-dominated sorting value of the combination group F+G as length(F+G); Step 3: If length(F + G) < N, where N represents the size of the final antibody population, add F to G, a = a + 1, and go to Step 2; if length(F + G) > N, let NM = N - length(F + G), sort the antibodies in F according to the crowding distance, and add the first NM antibodies to G; if length(F + G) = N, then add F to G; G is the final antibody population.
9. A UAV trajectory optimization device based on immune clonal algorithm, characterized in that: The device includes: A target function construction module for UAV trajectory planning, which is used to obtain the area to be planned; calculate the environmental threat cost for the area to be planned, and construct a target function for UAV trajectory planning based on the environmental threat cost and the fuel cost of UAV flight; A region division module, which is used to divide the area to be planned into grids by the grid method, and all nodes in the grids form a node set; multiple adjacent nodes in the node set form a UAV trajectory; the nodes represent the UAV flight points in the area to be planned; An initial antibody population construction module, which is used to calculate the transfer probability of each node in the node set according to the guiding factor and the heuristic factor, and use the node with the maximum transfer probability as the next transfer node to obtain the initial antibody population; the antibody is a UAV trajectory; An antibody population optimization module, which is used to select the initial antibody population according to the clone selection algorithm of tournament selection to obtain a first candidate antibody population; perform immune cloning operation and immune gene operation on the first candidate antibody population to obtain a second candidate antibody population and a third candidate antibody population; combine the second candidate antibody population and the third candidate antibody population for antibody modification to obtain a fourth candidate antibody population; perform fast non-dominated sorting on the fourth candidate antibody population and calculate the crowding distance, and update the fourth candidate antibody population according to the non-dominated sorting and the crowding distance to obtain the final antibody population; An optimization module, which is used to optimize the final antibody population according to the target function of UAV trajectory planning to obtain the optimal antibody; the optimal antibody is the optimal trajectory of the UAV.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Unmanned aerial vehicle cooperative flight path planning method and device based on immune clone algorithm
CN115167502A
