A drone swarm intelligent deployment method, device and storage medium

Through the particle swarm optimization algorithm and cost function evaluation, the drone path is optimized, which solves the problems of path conflict and resource waste in traditional deployment methods, achieves efficient and flexible drone deployment, and enhances adaptability and collaborative working capabilities.

CN118276599BActive Publication Date: 2024-09-24NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410696152.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-24
Estimated Expiration
2044-05-31

AI Technical Summary

Technical Problem

Traditional drone deployment methods are prone to path conflicts, resource waste and low deployment efficiency when faced with multiple drones and complex application scenarios. A more intelligent and efficient deployment method is needed.

Method used

The particle swarm optimization algorithm is used to optimize the drone path through global and local search, combined with cost function evaluation and weight adjustment, to achieve adaptive path planning and collaborative work of the drone.

Benefits of technology

It improves the efficiency of the UAV in reaching the target point, reduces time and energy consumption, enhances adaptability and collaborative working capabilities, and can flexibly respond to different situations and mission requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118276599B
    Figure CN118276599B
Patent Text Reader

Abstract

The present application discloses a method for intelligent deployment of drone swarms, comprising the following steps: S1. Initialize the position and speed of each drone within a preset boundary; S2. For each drone, update the drone speed based on the current speed of the drone, the difference between the drone's optimal position and the drone's current position, and the difference between the drone's optimal position and the drone's current position; update the drone position based on the drone's current position and the updated drone speed; S3. If the cost of the updated drone position is lower than that of the position before the update, use the updated drone position as the drone's optimal position; if the cost of the updated drone position is lower than that of the drone's optimal position, update the drone's optimal position; S4. Repeat steps S2-S3 until the preset conditions are met. The method for intelligent deployment of drone swarms provided by the present invention enables drones to efficiently reach target points, reducing the consumption of time and energy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of drone technology, and more specifically, to a method, device and storage medium for intelligent deployment of drone swarms. Background Art

[0002] With the continuous development of communication technology and the maturity of drone technology, communication drones have broad application prospects in emergency communications, areas with insufficient network coverage, disaster relief, etc.

[0003] In traditional communication drone deployment, manual planning of routes and target points or simple tracking control strategies are usually adopted. However, with the increase in the number of drones and the complexity of application scenarios, traditional planning and control methods face some problems, such as path conflicts, resource waste, and low deployment efficiency. Therefore, it is necessary to develop more intelligent and efficient deployment methods to solve these problems. Summary of the invention

[0004] In response to at least one defect or improvement need in the prior art, the present invention provides a method, device and storage medium for intelligent deployment of drone swarms, which optimizes the paths of drones through global and local searches, so that the drones can reach the target point efficiently, reducing time and energy consumption.

[0005] To achieve the above object, according to a first aspect of the present invention, a method for intelligent deployment of a drone swarm is provided, the method comprising the following steps:

[0006] S1. Initialize a position for each drone within the preset boundary and set the initial speed of all drones to 0;

[0007] S2. For each drone, update the drone speed based on the drone's current speed, the difference between the drone's optimal position and the drone's current position, and the difference between the drone's swarm's optimal position and the drone's current position; update the drone's position based on the drone's current position and the updated drone speed;

[0008] S3. Evaluate the updated position of each drone based on the cost function. If the updated position of the drone has a lower cost than the position before the update, the updated position of the drone is used as the optimal position of the drone. If the updated position of the drone has a lower cost than the optimal position of the drone group, the optimal position of the drone group is updated.

[0009] S4. Repeat steps S2 to S3 until the preset conditions are met, and the optimal position of the drone swarm is the global optimal position.

[0010] Furthermore, in the above-mentioned drone swarm intelligent deployment method, the cost function specifically includes:

[0011] Threat Cost

[0012]

[0013] Where Dis is the distance, and the threat cost F1 is obtained based on the distance. is the offset of the drone, is the offset of the obstacle;

[0014] Angle Cost

[0015]

[0016]

[0017] Where sge1 is the vector from the current position of the drone to the solution position, and seg2 is the vector from the current position of the drone to the target position;

[0018] Distance cost within the perception range

[0019]

[0020] in is the maximum value of the drone’s perception range, is the distance from the current position of the UAV to the solution position;

[0021] Distance cost within communication range

[0022]

[0023] in is the maximum communication range of the drone, is the distance of the UAV from the starting point to the solution location;

[0024] Total Cost

[0025]

[0026] Where b1, b2, b3 and b4 are the weights of F1, F2, F3 and F4 respectively.

[0027] Furthermore, in the above-mentioned drone swarm intelligent deployment method, the updating of the drone speed based on the current speed of the drone, the difference between the optimal position of the drone and the current position of the drone, and the difference between the optimal position of the drone swarm and the current position of the drone specifically includes:

[0028] For the x direction,

[0029]

[0030] in is the updated drone speed, where is the drone speed, It is the best location for drones. is the current position of the drone, is the optimal position of the drone swarm, rand1 and rand2 are two random numbers, w, c1 and c2 are weight coefficients;

[0031] The speed update method for the y direction and for the z direction is the same as the speed update method for the x direction.

[0032] Furthermore, in the above-mentioned drone swarm intelligent deployment method, the updating of the drone position based on the current drone position and the updated drone speed specifically includes:

[0033] For the x direction,

[0034]

[0035] in Updated drone speed, is the current position of the drone, is the updated drone position;

[0036] The position update method for the y direction and for the z direction is the same as the velocity update method for the x direction.

[0037] Furthermore, in the above-mentioned drone swarm intelligent deployment method, after the drone position is updated, if the updated drone position exceeds the boundary of the preset exploration space, the speed in the direction exceeding the boundary will be reversed when the speed is updated next time.

[0038] Furthermore, in the above-mentioned drone swarm intelligent deployment method, the obtaining of threat cost based on distance specifically includes:

[0039] If the distance is greater than the sum of the threat radius, drone size, hazard distance, and offset, the threat cost is 0;

[0040] If the distance is less than the sum of the threat radius, drone size, and offset, the threat cost is infinite;

[0041] If the distance is less than or equal to the sum of the threat radius, drone size, hazard distance, and offset, and greater than or equal to the sum of the threat radius, drone size, and offset, then the threat cost is the sum of the threat radius, drone size, hazard distance, and offset minus the distance.

[0042] Furthermore, in the above-mentioned drone swarm intelligent deployment method, steps S2 to S3 are repeated until a preset condition is reached, and a preset number of iterations is set when setting the preset condition. If the preset number of iterations is reached, the optimal position of the drone swarm at this time is the global optimal position, and iteration is stopped.

[0043] Furthermore, in the above-mentioned drone swarm intelligent deployment method, after step S3, the weight w is multiplied by a decay factor wdamp.

[0044] According to the second aspect of the present invention, there is also provided a drone swarm intelligent deployment device, which includes at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of any one of the above-mentioned methods.

[0045] According to a third aspect of the present invention, there is also provided a storage medium storing a computer program executable by an access authentication device, wherein when the computer program runs on the access authentication device, the access authentication device executes the steps of any one of the above methods.

[0046] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0047] (1) The present invention provides a method for intelligent deployment of drone swarms, which uses a particle swarm optimization algorithm to optimize the paths of drones through global and local searches, so that the drones can reach the target point efficiently, reducing time and energy consumption.

[0048] (2) The intelligent deployment method for drone swarms provided by the present invention enhances the adaptability and collaborative working capabilities of drones by making adaptive adjustments and path planning based on the environment, threats, and interactions with other drones, enabling drones to respond more flexibly to different situations and mission requirements.

[0049] (3) The intelligent deployment method for drone swarms provided by the present invention can flexibly balance the importance of different objectives by adjusting the weight coefficients, thereby obtaining a more comprehensive and effective solution, enabling drones to achieve mission objectives to the greatest extent while satisfying various constraints. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 A flowchart of a method for intelligent deployment of drone swarms provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention 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 invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0053] The terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0054] Figure 1 A method for intelligent deployment of drone swarms provided by an embodiment of the present invention comprises the following steps:

[0055] S1. Initialize a position for each drone within the preset boundary and set the initial speed of all drones to 0.

[0056] Specifically, a position is randomly initialized for each drone within the preset boundary, and the initial speed of all drones is set to 0, that is, the speed of the drone in the x, y and z directions is set to 0.

[0057] S2. For each drone, update the drone speed based on the drone's current speed, the difference between the drone's optimal position and the drone's current position, and the difference between the drone's swarm's optimal position and the drone's current position; update the drone's position based on the drone's current position and the updated drone speed.

[0058] Specifically, for each drone, the drone's optimal position is the best position found by the drone during the entire exploration process. This position is based on the result of the cost function evaluation. The drone will record the best position in each iteration and adjust the flight path and speed based on this best position. The best position of the drone swarm is the best position found by all drones during the exploration process. It is the best solution in the entire drone swarm. The best position of the drone swarm may be updated in each iteration. If a better solution is found during the exploration process, the best position of the drone swarm is updated. When each drone updates its position and speed, it needs to consider both the individual best position and the group best position, and find a position that takes into account both the individual best position and the group best position based on the preset weights.

[0059] S3. Evaluate the updated position of each UAV based on the cost function. If the updated position of the UAV has a lower cost than the position before the update, the updated position of the UAV is used as the optimal position of the UAV. If the updated position of the UAV has a lower cost than the optimal position of the UAV swarm, the optimal position of the UAV swarm is updated.

[0060] Specifically, the cost function is a function in the particle swarm optimization (PSO) algorithm that can evaluate the particle position and determine the optimal position of the particle swarm. Based on the cost function, the cost of the updated position of the drone from the optimal position of the drone and the cost of the updated position of the drone from the optimal position of the drone swarm can be evaluated. If the updated position has a lower cost than the position before the update, the updated position of the drone is used as the optimal position of the drone; if the updated position of the drone has a lower cost than the optimal position of the drone swarm, the optimal position of the drone swarm is updated. The optimal position of the drone and the optimal position of the drone swarm are dynamically updated. As the iteration proceeds, a new drone position may replace the current optimal position of the drone swarm.

[0061] S4. Repeat steps S2 to S3 until the preset conditions are met, and the optimal position of the drone swarm is the global optimal position.

[0062] Specifically, the preset conditions can be dynamic conditions based on algorithm performance. For example, if the quality of the solution after a certain iteration is no longer significantly improved relative to the quality of the solution before the iteration, the iteration can be terminated and the current optimal position of the drone swarm can be used as the global optimal position so that each drone can quickly reach the target point.

[0063] The present invention provides a method for intelligent deployment of drone swarms, which optimizes the paths of drones through global and local searches by adopting a particle swarm optimization algorithm, so that the drones can efficiently reach the target point, reducing time and energy consumption.

[0064] Optionally, in the drone swarm intelligent deployment method provided by the present invention, the cost function specifically includes:

[0065] Threat Cost

[0066]

[0067] Where Dis is the distance, and the threat cost F1 is obtained based on the distance. is the offset of the drone, is the offset of the obstacle;

[0068] Angle Cost

[0069]

[0070]

[0071] Where sge1 is the vector from the current position of the drone to the solution position, and seg2 is the vector from the current position of the drone to the target position;

[0072] Distance cost within the perception range

[0073]

[0074] in is the maximum value of the drone’s perception range, is the distance from the current position of the UAV to the solution position;

[0075] Distance cost within communication range

[0076]

[0077] in is the maximum communication range of the drone, is the distance of the UAV from the starting point to the solution location;

[0078] Total Cost

[0079]

[0080] Where b1, b2, b3 and b4 are the weights of F1, F2, F3 and F4 respectively.

[0081] Specifically, the cost function includes threat cost (F1), angle cost (F2), distance cost within the perception range (F3), and distance cost within the communication range (F4). The weight of each cost can be assigned based on the nature of the mission, environmental factors, risk assessment, and optimization learning algorithms to meet actual needs. Different mission natures require emphasis on different aspects, such as fast response, precise flight, or energy-saving flight. Environmental factors are in complex or changing environments, requiring perception and adaptive weights, while risk assessment is in high-risk areas, and safety-related weights will be higher. Weights can also be dynamically adjusted based on machine learning or optimization techniques to adapt to changing conditions and mission requirements.

[0082] Based on the distance, the threat cost F1 can be obtained. [x, y] is the offset of the drone, and [threat_x, threat_y] is the offset of the obstacle. The distance can be obtained by subtracting the offset of the drone and the offset of the obstacle, and calculating the norm of the obtained vector. In the particle swarm optimization algorithm, the threat cost can be obtained based on the distance.

[0083] The solution position is a candidate position for the current position of the drone. Each drone position represents a potential solution. This position changes dynamically and is updated as the algorithm iterates. The target position is the preset destination or target point, which is the location the drone ultimately hopes to reach. The target position is fixed. Based on the vector from the current position of the drone to the solution position and the vector from the current position of the drone to the target position, their angle can be calculated. This angle can be used to evaluate the consistency between the current heading of the drone and the heading required to reach the final goal, and to adjust the flight path of the drone to reach the target position more efficiently.

[0084] The distance cost within the perception range is the cost obtained by the drone's perception of the surrounding environment. Adjusting the weight of the distance cost within the perception range can adjust the drone's ability to autonomously avoid obstacles, navigate, and perform tasks.

[0085] The distance cost within the communication range is the cost of the drone's ability to communicate with external entities. Adjusting the weight of the distance cost within the communication range can adjust the drone's ability to remotely control, transmit data, and write operations.

[0086] The intelligent deployment method of drone swarms provided by the present invention enhances the adaptability and collaborative working capabilities of drones by performing adaptive adjustments and path planning according to the environment, threats, and interactions with other drones, enabling drones to respond to different situations and mission requirements more flexibly.

[0087] Optionally, the drone swarm intelligent deployment method provided by the present invention updates the drone speed based on the current speed of the drone, the difference between the optimal position of the drone and the current position of the drone, and the difference between the optimal position of the drone swarm and the current position of the drone, specifically including:

[0088] For the x direction,

[0089]

[0090] in is the updated drone speed, where is the drone speed, It is the best location for drones. is the current position of the drone, is the optimal position of the drone swarm, rand1 and rand2 are two random numbers, w, c1 and c2 are weight coefficients;

[0091] The speed update method for the y direction and for the z direction is the same as the speed update method for the x direction.

[0092] Specifically, updating the drone speed based on the current speed of the drone, the difference between the optimal position of the drone and the current position of the drone, and the difference between the optimal position of the drone swarm and the current position of the drone can balance the weights of the optimal position of the drone and the optimal position of the drone swarm. By setting random numbers, the drone can be helped to jump out of the local optimal solution, enhance the global search capability, and avoid premature convergence or falling into the local optimum.

[0093] w, c1 and c2 are weight coefficients, where w is the inertia weight, which determines the extent to which the drone retains its current speed. c1 and c2 are learning factors, which determine the extent to which the drone is attracted to the optimal position of the drone and the optimal position of the drone swarm. rand1 and rand2 are two random numbers that can increase the randomness of the algorithm. Random number generation can be achieved through the rand() algorithm. Different random numbers are generated in each iteration, which increases the randomness and diversity of the algorithm. It can help drones escape from local optimal conditions and focus more on global optimal exploration.

[0094] The drone swarm intelligent deployment method provided by the present invention can flexibly balance the importance of different goals by adjusting the weight coefficients, increase the randomness and diversity of the algorithm, help drones escape from local optimal solutions, and enhance global search capabilities, thereby obtaining more comprehensive and effective solutions, enabling drones to achieve mission objectives to the greatest extent while satisfying various constraints.

[0095] Optionally, the drone swarm intelligent deployment method provided by the present invention updates the drone position based on the drone current position and the updated drone speed, specifically including:

[0096] For the x direction,

[0097]

[0098] in Updated drone speed, is the current position of the drone, is the updated drone position;

[0099] The position update method for the y direction and for the z direction is the same as the velocity update method for the x direction.

[0100] The drone swarm intelligent deployment method provided by the present invention updates the position of the drone by comparing the current position and current speed of the drone, thereby obtaining the updated position of the drone and realizing the prediction of the position of the drone.

[0101] Optionally, in the drone swarm intelligent deployment method provided by the present invention, after updating the drone position, if the updated drone position exceeds the boundary of a preset exploration space, the speed in the direction exceeding the boundary will be reversed when the speed is updated next time.

[0102] Specifically, if the updated drone position exceeds the boundary of the exploration space, the next speed update is to reverse the speed in the direction beyond the boundary, so that the drone moves toward the inside of the exploration space and returns to the exploration space. The exploration space is a predefined space in which the drone explores to obtain the optimal solution in the preset space.

[0103] The drone swarm intelligent deployment method provided by the present invention ensures that the drones do not leave the exploration space by reversing the speed, and also helps prevent the drones from stagnating at the edge of the exploration space. The drones can explore areas that have been ignored or not fully searched, thereby increasing the probability of finding the global optimal solution.

[0104] Optionally, the drone swarm intelligent deployment method provided by the present invention obtains threat cost based on distance, specifically including:

[0105] If the distance is greater than the sum of the threat radius, drone size, danger distance, and offset, the threat cost is 0;

[0106] If the distance is less than the sum of the threat radius, drone size, and offset, the threat cost is infinite;

[0107] If the distance is less than or equal to the sum of the threat radius, drone size, hazard distance, and offset, and greater than or equal to the sum of the threat radius, drone size, and offset, then the threat cost is the sum of the threat radius, drone size, hazard distance, and offset minus the distance.

[0108] Specifically, the threat radius is the radius of the preset range that will pose a threat to the drone, the drone size is the size of the drone, the danger distance is the distance at which danger occurs based on the drone parameters and motion status, and the offset is the actual amount of movement of the drone. By judging the threat cost of the drone based on these four indicators, the obstacle avoidance cost of the drone can be effectively determined.

[0109] The drone swarm intelligent deployment method provided by the present invention can effectively obtain the threat cost of the drone and determine the cost required for the drone to avoid obstacles by comparing the threat radius, drone size, danger distance and the sum of the offset with the distance.

[0110] Optionally, the drone swarm intelligent deployment method provided by the present invention repeats steps S2 to S3 until a preset condition is reached, and a preset number of iterations is set when setting the preset condition. If the preset number of iterations is reached, the optimal position of the drone swarm at this time is the global optimal position, and the iteration is stopped.

[0111] Specifically, a preset number of iterations is set when setting preset conditions. If the drone reaches the preset conditions, for example, the quality of the solution is no longer significantly improved, the iteration can be stopped, and the optimal position of the drone swarm at this time is the global optimal position. If the preset number of iterations is reached when the drone cannot reach the preset conditions, the iteration can be ended. The number of iterations can be set according to the requirements of a specific problem, the complexity of the solution, the acceptable computing time, etc. or the performance of the device. For example, the number of iterations can be preset to 100 times or the number of iterations can be preset to 1000 times. For complex or high-dimensional problems, more iterations may be required to ensure sufficient search. If computing resources or time are limited, the number of iterations may need to be limited.

[0112] The drone swarm intelligent deployment method provided by the present invention can avoid infinite loops when the drone exploration cannot meet the preset conditions or when sufficient exploration is required, and avoid the situation where the exploration cannot be stopped, by setting a preset number of iterations when setting preset conditions.

[0113] Optionally, in the drone swarm intelligent deployment method provided by the present invention, after step S3, the weight w is multiplied by a decay factor wdamp.

[0114] Specifically, inertia weight decay is an important mechanism for adjusting the drone's search behavior. The inertia weight w controls the drone's ability to maintain its original direction and size at its speed. As the algorithm progresses, the inertia weight is gradually reduced by multiplying the decay factor wdamp, which helps the drone transition from the initial extensive search (global exploration) to the later detailed search (local exploration). This decay mechanism generally helps the algorithm find a better balance between exploration and exploitation.

[0115] The drone swarm intelligent deployment method provided by the present invention helps the drones transition from initial global exploration to later local exploration by multiplying the weight w by a decay factor wdamp after each iteration. This decay mechanism usually helps the algorithm find a better balance between exploration and development.

[0116] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0117] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0118] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0119] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0120] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0121] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0122] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0123] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0124] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

[0125] 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.

[0126] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for intelligent deployment of drone swarms, characterized in that: The following steps are involved: S1. Initialize a position for each drone within the preset boundary and set the initial speed of all drones to 0; S2. Based on the particle swarm optimization algorithm, for each drone, the drone speed is updated based on the current speed of the drone, the difference between the best position of the drone and the current position of the drone, and the difference between the best position of the drone swarm and the current position of the drone; the drone position is updated based on the current position of the drone and the updated drone speed; S3. Evaluate the updated position of each drone based on the cost function. If the updated position of the drone has a lower cost than the position before the update, the updated position of the drone is used as the optimal position of the drone. If the updated position of the drone has a lower cost than the optimal position of the drone group, the optimal position of the drone group is updated. S4. Repeat steps S2 to S3 until the preset conditions are met, and the optimal position of the drone group is the global optimal position; The cost function specifically includes: Threat Cost Where Dis is the distance, and the threat cost F1 is obtained based on the distance. is the offset of the drone, is the offset of the obstacle; Angle Cost Where sge1 is the vector from the current position of the drone to the solution position, and seg2 is the vector from the current position of the drone to the target position; Distance cost within the perception range in is the maximum value of the drone’s perception range, is the distance from the current position of the UAV to the solution position; Distance cost within communication range in is the maximum communication range of the drone, is the distance of the UAV from the starting point to the solution location; Total Cost Where b1, b2, b3 and b4 are the weights of F1, F2, F3 and F4 respectively; The threat cost obtained based on distance specifically includes: If the distance is greater than the sum of the threat radius, drone size, hazard distance, and offset, the threat cost is 0; If the distance is less than the sum of the threat radius, drone size, and offset, the threat cost is infinite; If the distance is less than or equal to the sum of the threat radius, drone size, hazard distance, and offset, and greater than or equal to the sum of the threat radius, drone size, and offset, then the threat cost is the sum of the threat radius, drone size, hazard distance, and offset minus the distance; Among them, the threat radius is the radius of the preset range that will pose a threat to the drone, the drone size is the volume of the drone, the danger distance is the distance at which danger occurs based on the drone parameters and motion state, and the offset is the actual amount of movement of the drone.

2. The method for intelligent deployment of drone swarms according to claim 1, characterized in that: The updating of the drone speed based on the current drone speed, the difference between the optimal position of the drone and the current position of the drone, and the difference between the optimal position of the drone group and the current position of the drone specifically includes: For the x direction, in is the updated drone speed, where is the drone speed, It is the best location for drones. is the current position of the drone, is the optimal position of the drone swarm, rand1 and rand2 are two random numbers, w, c1 and c2 are weight coefficients; The speed update method for the y direction and for the z direction is the same as the speed update method for the x direction.

3. The method for intelligent deployment of drone swarms according to claim 1, characterized in that: The updating of the drone position based on the current drone position and the updated drone speed specifically includes: For the x direction, in Updated drone speed, is the current position of the drone, is the updated drone position; The position update method for the y direction and for the z direction is the same as the velocity update method for the x direction.

4. The method for intelligent deployment of drone swarms according to claim 3, characterized in that: After the drone position is updated, if the updated drone position exceeds the boundary of the preset exploration space, the speed in the direction exceeding the boundary will be reversed when the speed is updated next time.

5. The method for intelligent deployment of drone swarms according to claim 1, characterized in that: The steps S2 to S3 are repeated until a preset condition is reached. When setting the preset condition, a preset number of iterations is set. If the preset number of iterations is reached, the optimal position of the drone swarm at this time is the global optimal position, and the iteration is stopped.

6. The method for intelligent deployment of drone swarms according to claim 2, characterized in that: After step S3, the weight w is multiplied by a decay factor wdamp.

7. A drone swarm intelligent deployment device, characterized in that: The method comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of the method according to any one of claims 1 to 6.

8. A storage medium, characterized in that: It stores a computer program executable by an access authentication device. When the computer program runs on the access authentication device, the access authentication device executes the steps of the method according to any one of claims 1 to 6.