Power grid unmanned aerial vehicle inspection unified scheduling method based on particle swarm optimization algorithm

The particle swarm optimization algorithm is used to uniformly schedule drone inspections, which solves the problems of resource waste and collision risk in power grid drone inspections, and achieves efficient and safe inspection paths and data unity.

CN118761586APending Publication Date: 2024-10-11ZHEJIANG PROVINCE ELECTRIC POWER FUEL CORP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410932342.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing power grid drone inspections lack unified task scheduling, resulting in waste of resources, repeated inspections and crossing of flight trajectories, which increases the risk of collisions.

Method used

A unified dispatching method for power grid drone inspection based on particle swarm optimization algorithm is adopted. By obtaining the number and performance parameters of drones, the inspection area and nest location are determined, the particle swarm is initialized, the fitness function is designed, and the global optimal solution is calculated. , and output a unified inspection scheduling plan to optimize the flight path of the drone to reduce conflicts and improve efficiency.

Benefits of technology

The most efficient path for drone inspections is realized, duplication and missing areas are reduced, inspection time is shortened, collision risks are reduced, and the uniformity and safety of data analysis are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761586A_ABST
    Figure CN118761586A_ABST
Patent Text Reader

Abstract

The invention discloses a power grid unmanned aerial vehicle inspection unified scheduling method based on a particle swarm optimization algorithm, which solves the defects in the prior art, and comprises the following steps: step 1, obtaining the number and performance parameters of unmanned aerial vehicles needing unified scheduling; step 2, determining inspection areas of all unmanned aerial vehicles and positions of vehicle nests; 3, initializing a particle swarm, wherein each particle represents a combination of an inspection strategy and a supply strategy; 4, a fitness function is designed according to the performance parameters of the unmanned aerial vehicle, the inspection area and the position of the nest, and the fitness value of each particle in the particle swarm is calculated according to the fitness function; 5, calculating a global optimal solution according to the fitness value; and step 6, outputting a global optimal solution, and performing inspection unified scheduling by the power grid unmanned aerial vehicle according to the global optimal solution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicles, and in particular to a unified dispatching method for power grid unmanned aerial vehicle inspection based on a particle swarm optimization algorithm. Background Art

[0002] At present, power grid drone inspections often perform their respective tasks individually, and drone operations are limited to single-machine nest operations, that is, take-off from machine nest A, landing at machine nest A, or frog operations, that is, take-off from machine nest A, landing at machine nest B. Each drone may be controlled by a different operator, or even if it is the same operator, each drone needs to be tasked and monitored separately. Moreover, the lack of unified task scheduling of drones may lead to improper use of resources. Some areas will be repeatedly inspected by multiple drones, while other areas may not be covered, resulting in a waste of manpower and material resources. Moreover, the flight paths between drones may intersect, increasing the risk of collision. Summary of the invention

[0003] The purpose of the present invention is to overcome the defects in the prior art that drone inspections often perform tasks individually and lack unified task allocation and management, resulting in waste of manpower and material resources and increased risks, and to provide a unified scheduling method for power grid drone inspections based on a particle swarm optimization algorithm.

[0004] The purpose of the present invention is achieved through the following technical solutions: The unified dispatching method for power grid UAV inspection based on particle swarm optimization algorithm includes the following steps: Step 1: Obtain the number and performance parameters of the drones that need to be uniformly scheduled; Step 2: Determine the inspection areas and nest locations of all drones; Step 3: Initialize the particle swarm, where each particle represents a combination of an inspection strategy and a replenishment strategy; Step 4: Design a fitness function based on the performance parameters of the UAV, the inspection area, and the location of the drone nest. Each particle in the particle swarm calculates its fitness value based on the fitness function. Step 5, calculate the global optimal solution according to the fitness value; Step 6: Output the global optimal solution, and the power grid drones will be uniformly dispatched for inspections based on the global optimal solution.

[0005] Preferably, the fitness function is specifically: Fitness = ω1*total number of resupply times + ω2*total time for resupply on return flight + ω3*total time; Among them, ω1, ω2 and ω3 are weight coefficients, the total number of replenishment times is the sum of the number of times the drone is charged or changes points, the total return replenishment time is the time it takes the drone to return to the nest for replenishment, and the total time is the total time it takes the drone to perform inspection tasks.

[0006] Preferably, the step 5 is specifically as follows: Sub-step 1, updating the individual optimal solution and the global optimal solution according to the fitness value; Sub-step 2, adjusting the speed and position of each particle according to the individual optimal solution and the global optimal solution; Sub-step 3, repeat sub-step 1 to sub-step 2 until the termination condition is met. The global optimal solution at this time is the global optimal solution calculated according to the fitness value.

[0007] Preferably, the termination condition is that a maximum number of iterations is reached or a fitness value reaches a preset threshold.

[0008] Preferably, the calculation of the individual optimal solution in step 5 needs to satisfy constraints, and the constraints include the maximum range and maximum flight time of the UAV.

[0009] Preferably, if an individual optimal solution violates a constraint condition, the fitness value corresponding to the individual optimal solution is amplified as a penalty for violating the constraint condition, or the fitness value is calculated according to the constraint condition when updating the individual optimal solution.

[0010] Preferably, the weight coefficient is obtained by a simulated annealing algorithm, specifically: S1, set the initial parameters of the simulated annealing algorithm, including the initial temperature T0, the termination temperature Tf, the annealing rate alpha, and the number of iterations at each temperature, and randomly initialize the weight coefficients ω1, ω2, and ω3; S2, simulated annealing process, first set the current temperature T to the initial temperature T0, and then enter the annealing cycle until the temperature T drops below the termination temperature Tf; S3, when the temperature T drops below the termination temperature Tf, or the fitness function value does not improve significantly in multiple consecutive iterations, the simulated annealing process ends; S4, outputs the final weight coefficient combination, which is the optimal solution obtained in the simulated annealing process.

[0011] Preferably, the annealing cycle is specifically: At the current temperature, perform the maximum number of iterations: Randomly perturb the current weight coefficients to generate new weight coefficient combinations, ensuring that the sum of the new weight coefficients still meets the constraints; Use the fitness function to calculate the new fitness value under the new weight coefficient combination; if the new fitness value is less than the original fitness value, accept the new solution, update the weight coefficient combination and fitness value; If the new fitness value is greater than or equal to the original fitness value, the new solution is accepted with probability exp(-(new fitness value – original fitness value) / T); this allows the algorithm to jump out of the local optimum during the search process; Lower the temperature T and iterate again until the temperature T drops below the termination temperature Tf.

[0012] The beneficial effects of the present invention are as follows: the global optimal solution found by the particle swarm optimization algorithm can ensure that the drones perform inspections in the most efficient manner, reduce repeated and missed areas, and shorten the inspection time; through the optimized scheduling of the solution of the present invention, flight conflicts between drones can be reduced, the risk of collision is reduced, and thus the safety of inspections is improved; at the same time, unified scheduling can ensure that the collected inspection data is in a unified format, which is convenient for subsequent data analysis and processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0014] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0015] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0016] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0017] Example: A unified dispatching method for power grid drone inspection based on particle swarm optimization algorithm, such as Figure 1As shown, the following steps are included: Step 1: Obtain the number and performance parameters of the drones that need to be uniformly scheduled; Step 2: Determine the inspection areas and nest locations of all drones; Step 3: Initialize the particle swarm, where each particle represents a combination of an inspection strategy and a replenishment strategy; Step 4: Design a fitness function based on the performance parameters of the UAV, the inspection area, and the location of the drone nest. Each particle in the particle swarm calculates its fitness value based on the fitness function. Step 5, calculate the global optimal solution according to the fitness value; Step 6: Output the global optimal solution, and the power grid drones will be uniformly dispatched for inspections based on the global optimal solution.

[0018] Particle Swarm Optimization (PSO) algorithm is a kind of intelligent bionic algorithm proposed by Eberhart and Kennedy in 1995, inspired by the social behavior of bird flocks and fish schools. The basic core of PSO algorithm is to utilize the information sharing of individuals in the group so that the movement of the whole group evolves from disorder to order in the problem-solving space, thereby obtaining the optimal solution to the problem.

[0019] The fitness function is specifically: Fitness = ω1*total number of resupply times + ω2*total time for resupply on return flight + ω3*total time; Among them, ω1, ω2 and ω3 are weight coefficients, the total number of replenishment times is the sum of the number of times the drone is charged or changes points, the total return replenishment time is the time it takes the drone to return to the nest for replenishment, and the total time is the total time it takes the drone to perform inspection tasks.

[0020] The step 5 is specifically as follows: Sub-step 1, updating the individual optimal solution and the global optimal solution according to the fitness value; Sub-step 2, adjusting the speed and position of each particle according to the individual optimal solution and the global optimal solution; Sub-step 3, repeat sub-step 1 to sub-step 2 until the termination condition is met. The global optimal solution at this time is the global optimal solution calculated according to the fitness value.

[0021] The termination condition is that the maximum number of iterations is reached or the fitness value reaches a preset threshold.

[0022] The calculation of the individual optimal solution in step 5 needs to meet constraints, which include the maximum range and maximum flight time of the drone.

[0023] If an individual optimal solution violates the constraints, the fitness value corresponding to the individual optimal solution is amplified as a penalty for violating the constraints, or the fitness value is calculated according to the constraints when updating the individual optimal solution.

[0024] The weight coefficient is obtained by simulated annealing algorithm, specifically: S1, set the initial parameters of the simulated annealing algorithm, including the initial temperature T0, the termination temperature Tf, the annealing rate alpha, and the number of iterations at each temperature, and randomly initialize the weight coefficients ω1, ω2, and ω3; S2, simulated annealing process, first set the current temperature T to the initial temperature T0, and then enter the annealing cycle until the temperature T drops below the termination temperature Tf; S3, when the temperature T drops below the termination temperature Tf, or the fitness function value does not improve significantly in multiple consecutive iterations, the simulated annealing process ends; S4, outputs the final weight coefficient combination, which is the optimal solution obtained in the simulated annealing process.

[0025] The annealing cycle is specifically: At the current temperature, perform the maximum number of iterations: Randomly perturb the current weight coefficients to generate new weight coefficient combinations, ensuring that the sum of the new weight coefficients still meets the constraints; Use the fitness function to calculate the new fitness value under the new weight coefficient combination; if the new fitness value is less than the original fitness value, accept the new solution, update the weight coefficient combination and fitness value; If the new fitness value is greater than or equal to the original fitness value, the new solution is accepted with probability exp(-(new fitness value – original fitness value) / T); this allows the algorithm to jump out of the local optimum during the search process; Lower the temperature T and iterate again until the temperature T drops below the termination temperature Tf.

[0026] In the simulated annealing algorithm of this embodiment, parameter settings are required, and the initial temperature T0 is set to 1000, the termination temperature Tf is set to 1, the annealing rate alpha is set to 0.95, and the maximum number of iterations is set to 100. The initial weight coefficients ω1, ω2, and ω3 are all 0.3333, and equal weights are started.

[0027] After the simulated annealing algorithm of this scheme is used, the weight value of the fitness function changes, specifically: Initial weights: ω1 = 0.3333, ω2 = 0.3333, ω3 = 0.3333 After the first iteration: ω1=0.35, ω2=0.3, ω3=0.35 After the tenth iteration: ω1=0.4, ω2=0.25, ω3=0.35 Final weights: ω1=0.45, ω2=0.2, ω3=0.35.

[0028] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0029] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0030] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A unified dispatching method for power grid drone inspection based on particle swarm optimization algorithm is characterized by: The following steps are involved: Step 1: Obtain the number and performance parameters of the drones that need to be uniformly scheduled; Step 2: Determine the inspection areas and nest locations of all drones; Step 3: Initialize the particle swarm, where each particle represents a combination of an inspection strategy and a replenishment strategy; Step 4: Design a fitness function based on the performance parameters of the UAV, the inspection area, and the location of the drone nest. Each particle in the particle swarm calculates its fitness value based on the fitness function. Step 5, calculate the global optimal solution according to the fitness value; Step 6: Output the global optimal solution, and the power grid drones will be uniformly dispatched for inspections based on the global optimal solution.

2. The unified dispatching method for power grid drone inspection based on particle swarm optimization algorithm according to claim 1 is characterized in that: The fitness function is specifically: Fitness = ω1*total number of resupply times + ω2*total time for resupply on return flight + ω3*total time; Among them, ω1, ω2 and ω3 are weight coefficients, the total number of replenishment times is the sum of the number of times the drone is charged or changes points, the total return replenishment time is the time it takes the drone to return to the nest for replenishment, and the total time is the total time it takes the drone to perform inspection tasks.

3. The unified dispatching method for power grid drone inspection based on particle swarm optimization algorithm according to claim 2 is characterized in that: The step 5 is specifically as follows: Sub-step 1, updating the individual optimal solution and the global optimal solution according to the fitness value; Sub-step 2, adjusting the speed and position of each particle according to the individual optimal solution and the global optimal solution; Sub-step 3, repeat sub-step 1 to sub-step 2 until the termination condition is met. The global optimal solution at this time is the global optimal solution calculated according to the fitness value.

4. The unified dispatching method for power grid drone inspection based on particle swarm optimization algorithm according to claim 3 is characterized in that: The termination condition is that the maximum number of iterations is reached or the fitness value reaches a preset threshold.

5. The unified dispatching method for power grid drone inspection based on particle swarm optimization algorithm according to claim 3 is characterized in that: The calculation of the individual optimal solution in step 5 needs to meet constraints, which include the maximum range and maximum flight time of the drone.

6. The unified dispatching method for power grid drone inspection based on particle swarm optimization algorithm according to claim 5 is characterized in that: If an individual optimal solution violates the constraints, the fitness value corresponding to the individual optimal solution is amplified as a penalty for violating the constraints, or the fitness value is calculated according to the constraints when updating the individual optimal solution.

7. The unified dispatching method for power grid drone inspection based on particle swarm optimization algorithm according to claim 2 is characterized in that: The weight coefficient is obtained by simulated annealing algorithm, specifically: S1, set the initial parameters of the simulated annealing algorithm, including the initial temperature T0, the termination temperature Tf, the annealing rate alpha, and the number of iterations at each temperature, and randomly initialize the weight coefficients ω1, ω2, and ω3; S2, simulated annealing process, first set the current temperature T to the initial temperature T0, and then enter the annealing cycle until the temperature T drops below the termination temperature Tf; S3, when the temperature T drops below the termination temperature Tf, or the fitness function value does not improve significantly in multiple consecutive iterations, the simulated annealing process ends; S4, outputs the final weight coefficient combination, which is the optimal solution obtained in the simulated annealing process.

8. The unified dispatching method for power grid drone inspection based on particle swarm optimization algorithm according to claim 7 is characterized in that: The annealing cycle is specifically: At the current temperature, perform the maximum number of iterations: Randomly perturb the current weight coefficients to generate new weight coefficient combinations, ensuring that the sum of the new weight coefficients still meets the constraints; Use the fitness function to calculate the new fitness value under the new weight coefficient combination; if the new fitness value is less than the original fitness value, accept the new solution, update the weight coefficient combination and fitness value; If the new fitness value is greater than or equal to the original fitness value, the new solution is accepted with probability exp(-(new fitness value – original fitness value) / T); this allows the algorithm to jump out of the local optimum during the search process; Lower the temperature T and iterate again until the temperature T drops below the termination temperature Tf.

Citation Information

Cited By

  • Green electricity hydrogen ammonia optimal configuration method and system, computer equipment and storage medium

    CN119783916A