Unmanned aerial vehicle inspection path planning method for transformer substation equipment
By building a drone path planning model based on multi-objective optimization algorithm, the patrol path of drones in the substation is optimized, and the problems of low efficiency, high computing consumption and insufficient optimization in the existing methods are solved, and more efficient and safer drone patrols are achieved.
Patent Information
- Application Number
- CN202411792351.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-12-06
AI Technical Summary
The existing UAV path planning methods are not efficient in substation environments, consume large computing resources, and are difficult to optimize for equipment distribution. In addition, multi-objective optimization algorithms are prone to ignore edge solutions, affecting the overall optimization effect.
A method of patrol path planning for substation equipment is proposed. By constructing a path planning model based on multi-objective optimization algorithm, including directional path planning module, adaptive path variation module and non-dominant-density sorting module, the patrol path of the drone in the substation is optimized to achieve the goal of shortest flight path and least communication impact.
It improves the patrol efficiency and safety of drones in complex electromagnetic environments of substations, reduces computing resource consumption, enhances the pertinence and diversity of path planning, and ensures effective treatment of edge solutions.
Smart Images

Figure CN119533487A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned aerial vehicle (UAV) path planning, and in particular to a UAV inspection path planning method for substation equipment. Background Art
[0002] With the rapid development of drone technology, drones are increasingly used in various fields, especially in the field of power equipment inspection. Drone inspection has gradually replaced traditional manual inspection due to its high efficiency and convenience. However, current drone inspections usually require manual marking of routes, which is not only time-consuming and labor-intensive, but also inefficient. Therefore, inspection route planning when using drones to inspect substation equipment has become an urgent problem to be solved.
[0003] When conducting drone inspections in a substation environment, it is usually required to fly along the shortest path to save energy. However, due to the electromagnetic field generated by the equipment in the substation, it is easy to interfere with the drone's signal. Based on the above practical constraints, the present invention takes the shortest flight path and the smallest communication impact as the drone's inspection goals at the same time to improve the inspection efficiency and safety of the drone in the complex electromagnetic environment of the substation. The inspection goals are: (1) Shortest flight path goal : It means that when the drone completes the inspection of the specified equipment, the length of the inspection path is the shortest; (2) Minimum communication impact : It means that when the drone is inspecting the designated equipment, the amount of electromagnetic field interference signal emitted by the substation equipment to which the drone is subjected is minimal.
[0004] However, when applying traditional path planning methods to the above problems, there are the following shortcomings: (1) Traditional UAV path planning algorithms are inefficient and usually consume a lot of computing resources, resulting in high computational costs; (2) Existing optimization algorithms are difficult to adjust according to the distribution of substation equipment, which increases the complexity of performing mutation operations in actual operations; (3) Traditional multi-objective optimization algorithms often ignore marginal solutions, which makes it difficult to accurately reflect the distribution of solutions. This may result in some potential high-quality solutions not being obtained, affecting the overall optimization effect.
[0005] To solve the above problems, the present invention proposes a UAV inspection path planning method for substation equipment. Aiming at the two goals of shortest flight path and minimum communication impact, the final inspection path set suitable for UAV to inspect equipment in the substation is solved. Summary of the invention
[0006] The purpose of this section is to summarize some aspects of the embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the abstract and invention title of this application to avoid blurring the purpose of this section, abstract and invention title, and such simplifications or omissions shall not be used to limit the scope of the present invention;
[0007] In view of the above existing problems, the present invention is proposed;
[0008] Therefore, the purpose of the present invention is to provide a UAV inspection path planning method for substation equipment, which can solve the above-mentioned existing problems.
[0009] Terminology explanation: Equipment to be inspected: substation equipment that needs to be inspected during the drone inspection, referred to as equipment.
[0010] Device node and empty node: A cube area is divided in the three-dimensional coordinate system space, and if the cube area contains the entire device or a part of the device, the cube area is called a device node; otherwise, the cube area is called an empty node.
[0011] Local path: A node sequence that starts at the drone take-off position or a device node and ends at another device node.
[0012] Inspection path: A node sequence composed of local paths and covering all devices.
[0013] Path cost: The cost that a drone needs to pay when it reaches the destination from the starting point and passes through a certain path node in a local path.
[0014] Path mutation: refers to generating a new path by replacing nodes in the inspection path or changing the order between nodes.
[0015] Final inspection path set: the inspection path set selected by the UAV planning path model based on the multi-objective optimization algorithm.
[0016] Highest level points and highest level point sets: In the non-dominated sorting process, the points at the highest level are called the highest level points; all points in the highest level constitute a set called the highest level point set.
[0017] Boundary points and boundary point sets: In the same level other than the highest level, points with extreme values of ordinate or abscissa are called boundary points; all boundary points constitute a boundary point set.
[0018] Non-boundary points and non-boundary point sets: In any non-top level, points other than boundary points are called non-boundary points; all non-boundary points constitute a non-boundary point set.
[0019] In order to solve the above technical problems, the present invention provides the following technical solutions: A method for UAV inspection path planning for substation equipment includes the following specific steps: S1: Collect relevant attribute information of the equipment to be inspected in the substation; map the equipment to a three-dimensional coordinate system; divide the equipment nodes and empty nodes in the space of the three-dimensional coordinate system through rasterization operation, and construct a equipment node set ; S2: Construct a UAV path planning model based on a multi-objective optimization algorithm. The construction process of the model is as follows: S2.1: Construct a directional path planning module DPP, first solve to obtain a set of local paths, and then splice all the local paths into an inspection path; S2.2: construct an adaptive path mutation module APM to perform path mutation on the inspection path to generate multiple new inspection paths, thereby forming a candidate inspection path set; S2.3: construct a non-dominated-density sorting module UDO, sort all candidate inspection paths in the candidate inspection path set, select a final inspection path from the sorting results, and form a final inspection path set; S3: Set the take-off position of the drone, and for the device node set consisting of all the equipment in a substation, use the drone path planning model based on the multi-objective optimization algorithm to solve the final inspection path set suitable for the drone to inspect the equipment in the substation.
[0020] As a preferred solution of the method for planning a UAV inspection path for substation equipment described in the present invention, the specific steps of S1 are as follows:
[0021] S1.1: Collect the name and number of each device in the substation, measure and record the maximum length, maximum width and maximum height of each device, and record the GPS coordinates of the center point of the device;
[0022] S1.2: Set a three-dimensional coordinate system with the take-off position of the drone as the origin, map all devices into the three-dimensional coordinate system, and use a cuboid to represent the device, where the length of the cuboid is the maximum length of the device, the width is the maximum width of the device, and the height is the maximum height of the device. The coordinates of the center point of the device The mapping calculation formula is as follows:
[0023] in is the GPS coordinate of the drone’s take-off location, is the longitude, is latitude; > is the GPS coordinate of the center point of the device, is the longitude, is latitude; is the maximum height of all devices; and is the scaling ratio, and its value is set according to the actual situation;
[0024] S1.3 The three-dimensional coordinate system space is divided into a plurality of equal-sized cubic regions through a gridding operation, and the origin of the coordinate system is set as the center of one of the cubic regions. The side length of the cubic region is determined according to the actual situation. If the cubic region contains a part of the device or the entire device, the cube is called a device node; otherwise, it is called an empty node.
[0025] S1.4: Construct a device node set For any device node, if the device node contains the entire device, then add the device node to ; Otherwise, add the device node to After that, nodes containing other parts of the same device are not added .
[0026] As a preferred solution of the method for UAV inspection path planning for substation equipment described in the present invention, the specific steps of S2.1 are as follows:
[0027] S2.1.1: Construct a local path set , Each local path in the process ends at a device node; for the local path currently being solved , select a device node from As The end point , and will from Remove it, and then solve it as follows :
[0028] S2.1.1.1: If , then starting point Set to the node containing the origin of the 3D coordinate system; otherwise, let Recently acquired and added The local path of The end point is starting point ; Set a candidate node set ,Will join in , and at the same time Set to except The predecessor nodes of all other nodes;
[0029] S2.1.1.2: In the example, select the node with the smallest path cost as the current node ,Will from Remove from and add to the collection, , It is a collection that stores all nodes that have ever been the current node.
[0030] Each node The path cost The calculation formula is: in From the starting point Move to Node The cost of movement; is from arrive The end point The heuristic function estimate of ; its calculation formula is: in yes and The Euclidean distance between is with Related calculation functions of additional costs due to environmental factors, is the weight coefficient.
[0031] S2.1.1.3: and Connect the lines to get the line segments , then make a pass Plane and Vertically, for any node , for The node set consisting of all adjacent nodes.
[0032] like The center point and Located in plane On both sides, from Delete , thus obtaining the node set ; For any node ,like Is a device node, then it will be All The adjacent nodes are added to ; Then for any node ,like is a device node, or Already exists in , then from Delete , thus obtaining the node set .
[0033] For any node ,if If any two of the following conditions are met, The preceding node of , and Add to : (1) ; (2) , , The preceding nodes form an isosceles right triangle, and the hypotenuse of the isosceles right triangle passes through a device node.
[0034] S2.1.1.4: If , then jump to S2.1.1.2; otherwise, As end point, and then Predecessor node As The second to last node of Predecessor node As The third to last node of Add to , and finally Add to local path collection ;
[0035] S2.1.2: All local paths in the are connected by taking the device nodes as the connection points to obtain an inspection path.
[0036] As a preferred solution of the method for UAV inspection path planning for substation equipment described in the present invention, the specific steps of S2.2 are as follows:
[0037] S2.2.1: For an inspection route , calculate the mutation probability of each node according to the type of each node in the inspection path, sort them, and set a ranking threshold , ranking the mutation probability higher than The nodes are called nodes to be mutated. A path mutation operation is performed on each node to obtain multiple new inspection paths.
[0038] S2.2.2: All the above new inspection routes should be combined with Together they form a set of candidate inspection paths .
[0039] As a preferred solution of the method for planning a UAV inspection path for substation equipment described in the present invention, the calculation method of the mutation probability is as follows:
[0040] (1) When the node type is an empty node, use the mutation function Counting empty nodes The probability of mutation: in For For the center of the ball, is the number of devices within the sphere with a radius of It is an experience value; is the weight coefficient; is the magnetic field influence coefficient of the equipment; for and The Euclidean distance of is the device node within the sphere;
[0041] (2) When the node type is a device node, a new inspection path is generated by changing the order of the device nodes in the original inspection path.
[0042] The node containing the origin in the three-dimensional coordinate system And all device nodes are projected to plane, and Plane construction of the first rectangle: select the minimum horizontal coordinate value among all nodes With the maximum vertical coordinate value Construct a coordinate , and select the maximum horizontal coordinate value among all nodes With the minimum vertical coordinate value Construct the coordinates of another vertex , and let and As the two endpoints of the diagonal of the rectangle; according to The position in the rectangle can be divided into two cases for calculating the probability of mutation:
[0043] ① Located on the edge of the first rectangle, using the variation function Calculate the mutation probability:
[0044] in for The queue composed of all device nodes in, for The number of device nodes in; is the weight coefficient; For the counting function: First, All device nodes in the Sort the distances from small to large, and then compare the sorted results with The nodes in are matched, and the sorting result is calculated and The number of nodes that are identical in the same order;
[0045] ② Otherwise, use the variation function Calculate the mutation probability: in is the weight coefficient; is a device node; for and The Euclidean distance of .
[0046] As a preferred solution of the method for UAV inspection path planning for substation equipment described in the present invention, the process of path variation is as follows: (1) When the node to be mutated is an empty node : Get The set of adjacent nodes , for any ,if If one of the adjacent nodes is a device node, then Delete , thus obtaining the node set ; then from Randomly select a node to replace , get a new inspection path; (2) When the node to be mutated is a device node: All device nodes in the set ,Will As the input of the DPP module, the DPP module is executed to generate a new inspection path.
[0047] As a preferred solution of the method for planning a UAV inspection path for substation equipment described in the present invention, the specific steps of S2.3 are as follows:
[0048] S2.3.1: In a two-dimensional coordinate system, for any path Use a point To express, is the path length objective function, The communication affects the objective function, and then the non-dominated sorting is used to get the level of each point;
[0049] S2.3.2: sorting all points in the two-dimensional coordinate system from low to high according to the hierarchy, wherein within the same hierarchy, sorting the points from small to large according to their density;
[0050] S2.3.3: Set a ranking threshold , filter out those ranked higher than All the points of the inspection paths represented by these points constitute an inspection path set .
[0051] like If there is a non-Pareto optimal solution in As the input of the APM module, execute the APM module to obtain a new candidate inspection path set, and then merge all the above new candidate inspection path sets to obtain a candidate inspection path set , jump to Step 2.3.1, and As input to Step 2.3.1; otherwise, is the final inspection path set.
[0052] As a preferred solution of the method for planning a UAV inspection path for substation equipment described in the present invention, the and The calculation expression is as follows:
[0053] in for A device node or an empty node in ; for The number of nodes in ; for Its neighboring nodes The Euclidean distance between is the magnetic field influence coefficient of the equipment; For Centered on is the number of devices within the sphere with a radius of is the experience value; for and The Euclidean distance of The device nodes within the sphere.
[0054] As a preferred solution of the method for planning a UAV inspection path for substation equipment described in the present invention, the density calculation method of the points is as follows: (1) If If there are multiple points in the level, in express density; is the boundary point set; is a non-boundary point set; is the highest level point set;
[0055] when hour, Indicates that at the same level Adjacent points; is the weight coefficient; is the area of the second rectangle, and They are respectively used as the two diagonal endpoints of the second rectangle; represents the number of points contained in the second rectangle, where Indicates the area contained in the second rectangle The number of previous level points;
[0056] when hour, and Indicates that at the same level Adjacent points; is the weight coefficient; is the area of the third rectangle, and They serve as the two diagonal endpoints of the third rectangle respectively; Represents the number of points contained in the third rectangle, where Indicates the area contained in the third rectangle The number of previous level points;
[0057] when hour: The value of .
[0058] (2) If There is only one point in the level, then The density of has no effect on the sorting. .
[0059] Compared with existing technologies: (1) The present invention designs a directional path planning module, which reduces the computational complexity of the path planning process and improves the efficiency of path planning; (2) The present invention designs an adaptive path variation module, which can dynamically adjust the variation strategy according to the actual situation of the nodes in the substation and perform targeted path variation, thereby generating a more diversified inspection path; (3) The present invention designs a density calculation method, which reflects the specific distribution of the inspection path in the target optimization process through the density of each point, and at the same time realizes the effective processing of the inspection path distribution in the edge area, ensuring the comprehensiveness of the distribution information in the space. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a schematic diagram of the process of the present invention.
[0061] Figure 2 The figure is a schematic diagram of the execution flow of the UAV path planning model of the present invention.
[0062] Figure 3 The figure is a schematic diagram of the local path set construction process of the present invention.
[0063] Figure 4 This is a schematic diagram of adjacent node screening according to the present invention.
[0064] Figure 5 The schematic diagram of the front node is changed for the present invention.
[0065] Figure 6 It is a schematic diagram of the execution flow of the APM module of the present invention.
[0066] Figure 7 A schematic diagram of the distribution of device nodes of the present invention.
[0067] Figure 8 This is a second schematic diagram of the device node distribution of the present invention.
[0068] Fig. 9 For the present invention Schematic diagram of density calculation.
[0069] Fig.10 For the present invention Schematic diagram of density calculation. DETAILED DESCRIPTION
[0070] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention. Example
[0071] See also Figure 1-Figure 10 , which is the first embodiment of the present invention, and provides a method for planning a UAV inspection path for substation equipment, comprising: When conducting drone inspections in a substation environment, it is usually required to fly along the shortest path to save energy. However, the electromagnetic field generated by the equipment in the substation can easily interfere with the drone's signal; This application provides a method that can effectively solve the above-mentioned problems. Next, we will combine multiple embodiments to explain in detail how to implement a drone inspection path planning method for substation equipment.
[0072] Figure 1 A flow chart of a method for UAV inspection path planning for substation equipment is shown, including: S1: Constructing a device node set of a substation: Collecting the relevant attribute information of the equipment to be inspected (hereinafter referred to as equipment) in the substation: name, number, location, maximum length, maximum width and maximum height; Setting a three-dimensional coordinate system, mapping the location of the equipment to the three-dimensional coordinate system, dividing the device nodes and empty nodes in the space of the three-dimensional coordinate system through rasterization operation, and constructing a device node set ;
[0073] In the embodiment of the present application, the process of constructing the device node set of the substation is as follows:
[0074] S1.1: Collect the name and number of each device in the substation, use a laser rangefinder to measure the physical size of the device, and record the maximum length, maximum width and maximum height of the device; use a GPS locator to obtain the GPS coordinates of each device as the center point of the device;
[0075] S1.2: Set up a three-dimensional coordinate system, take the take-off position of the drone as the origin of the coordinate system, map all devices into the three-dimensional coordinate system, and abstractly represent the device as a cuboid, where the length of the cuboid is the maximum length of the device, the width is the maximum width of the device, and the height is the maximum height of the device. The center point coordinates of the device The mapping calculation formula is as follows:
[0076] in is the location attribute of the device; is the GPS coordinate of the drone’s take-off location, is the longitude, is latitude; > is the device's GPS coordinates, is the longitude, is latitude; is the maximum height of the device; and It is the scaling ratio, and its value is set according to the actual situation.
[0077] For example, assuming that the GPS coordinates of the drone's take-off location are <22.837398,113.557785>, a device The GPS coordinates are <22.845229,113.561589>, The maximum height is 3 meters, Set to 0.001, Set it to 2, and get The center point coordinates in the three-dimensional coordinate system are > = <-7.831, -3.804, 1.5>.
[0078] S1.3 divides the above three-dimensional coordinate system space into multiple equal-sized cubic areas through gridding operation, and makes the origin of the coordinate system the center of one of the cubic areas. The side length of the cubic area is determined according to the actual situation. If the cubic area contains a part of the device or the entire device, the cube is called a device node; otherwise, it is called an empty node.
[0079] For example, suppose the coordinates of a cube area are <-7, -3, 1> ~ <-9, -5, 3>, The maximum length is 2 meters, the maximum width is 2 meters, and the maximum height is 3 meters. Represented as a cuboid, according to The center point coordinates of > = <-7.831, -3.804, 1.5>, and the coordinates contained in the above rectangular parallelepiped are <-6.831, -2.804, 0> ~ <-8.831, -4.804, 3>. Among them, some coordinates contained in the above rectangular parallelepiped <-7, -3, 1> ~ <-8.831, -4.804, 3> are in the above cube area, so the above cube area is The device node.
[0080] S1.4: Construct a device node set For any device node, if the device node contains the entire device, then add the device node to ; Otherwise, add the device node to After that, nodes containing other parts of the same device are not added .
[0081] S2: Construct a UAV path planning model based on a multi-objective optimization algorithm.
[0082] In the embodiment of the present application, in order to realize the multi-objective inspection path planning of the UAV in the substation, a UAV path planning model based on the multi-objective optimization algorithm is constructed. The execution process of the model is as follows: Figure 2 The model obtains multiple inspection paths through path planning and and Construct the corresponding objective function, optimize the inspection path under the constraints of the above two objective functions, and finally obtain a final inspection path set.
[0083] The UAV path planning model consists of three modules: directional path planning module, adaptive path variation module and non-dominated-density sorting module. The directional path planning module is used to obtain an inspection path; the adaptive path variation module is used to construct a candidate inspection path set; the non-dominated-density sorting module is used to sort the paths and then select the final inspection path set.
[0084] S2.1: Construct a directional path planning module to plan the inspection path:
[0085] Use a directional path planning module DPP (Directional Path Planning) to As the input of DPP, starting from the starting point, the adjacent nodes are screened according to the center position of the adjacent nodes, and the screened adjacent nodes are gradually explored until the end position is explored, multiple local paths are planned, and then all the local paths are spliced to obtain an inspection path.
[0086] The construction process of the DPP module is as follows: by As input, a set of local paths is first solved, and then all the local paths in the above set are spliced to obtain an inspection path as output.
[0087] S2.1.1: Construct a local path set , Each local path in the process ends at a device node; for the local path currently being solved, , its construction process is as follows Figure 3 As shown, from Select a device node from ,Will Set to The end point , and from Remove it, and then solve it as follows :
[0088] S2.1.1.1: If , then starting point is set to the node containing the origin of the 3D coordinate system; otherwise, There is at least one local path in Indicates that it has been recently obtained and added The local path of The end point is starting point . Set a candidate node set ,Will join in At the same time, in the three-dimensional coordinate system, Set to except The predecessor nodes of all nodes except ;
[0089] S2.1.1.2: Apply cost function calculate The path cost of each node in Select the node with the smallest path cost as the current node ,Will from Remove and add to the collection , It is a collection that stores all nodes that have ever been the current node.
[0090] Each node The path cost The calculation formula is: in From the starting point Move to Node The cost of movement; is from arrive The end point The heuristic function estimate of ; its calculation formula is: in yes and The Euclidean distance between is with Related calculation functions of additional costs due to environmental factors, is the weight coefficient.
[0091] The cost function is used to evaluate the total cost of each node in order to find the optimal path from the starting point to the end point.
[0092] A heuristic function is a function used to estimate the shortest path cost from the current node to the end point. The role of the heuristic function is to guide the search process so that the algorithm can give priority to nodes that are more likely to be close to the end point, thereby improving the search efficiency.
[0093] Euclidean distance is a geometric distance used to measure the straight-line distance between two points, indicating the shortest path length between the two points. In three-dimensional space, its formula is:
[0094] S2.1.1.3 All adjacent nodes of constitute a node set ,in for A neighboring node of for The number of adjacent nodes; Will and Connect the lines to get a line segment , and make a pass The plane and Vertical. For any node ,like The center point of are located on both sides of the plane, then Delete , thus obtaining the node set .
[0095] For any node ,like For a device node, Find and All adjacent nodes are added to Then Filter: For any node ,when is a device node, or Already in In Delete .Will After the above processing, we get the node set .
[0096] For example, Figure 4 Shown is a top plan view of a three-dimensional coordinate system. is the end point, is the current node, and is a device node. and Connect the lines to get the line segments , and make a plane and vertical, All adjacent nodes of constitute a node set .node , , and Located on the plane on one side, while lie in The other side of Delete , , and (exist Figure 4 In the figure, the nodes with dashed lines represent the deleted nodes. After the above processing, we get the node set .
[0097] because and are all device nodes, then in Find and and The adjacent nodes , ,Will and join in middle( Already exists in So we only need to Add to ), from which we get Then Filter: Because and are all device nodes, then from Delete and , thus we get .
[0098] For any node ,like If any of the following conditions are met, The preceding node of , and Add to : (1) ; (2) , , The preceding nodes form an isosceles right triangle, and the hypotenuse of the isosceles right triangle passes through a device node.
[0099] The above changes The purpose of the preceding node operation is to obtain a local path based on the preceding node in the next step; at the same time, it reduces the risk of the drone colliding with the equipment during flight.
[0100] For example, Figure 5 The figure shows a top view of the three-dimensional coordinate system. As the current node, yes The adjacent nodes of yes The preceding node of and is any device node. Fly to , then it is possible that Scrape, so need to change The predecessor node of . , , The three form an isosceles right triangle, with the hypotenuse After the device node , then The preceding node of At this time, the drone Fly to It will not pass through any device nodes, reducing the risk of collision between drones.
[0101] S2.1.1.4: If , indicating that the end of the local path has not been explored, jump to S2.1.1.2; otherwise, As The end point, Predecessor node As The second to last node of Predecessor node As The third to last node of Add to Finally, we get The node sequence is { },Will Add to local path collection ;
[0102] S2.1.2: All local paths in the inspection path are spliced according to the starting point and end point of the path to obtain an inspection path.
[0103] For example, assuming ,in The starting point is the node containing the origin of the coordinate system. for The end point of It is also The starting point. As the connection point, and Splice to get a longer local path Repeat the above steps to and After splicing, an inspection path is obtained.
[0104] S2.2: Construct an adaptive path variation module to create a candidate inspection path set: Use an adaptive path mutation module APM (Adaptive Path Mutation) to As input, by designing and applying the mutation function, we get the nodes with the highest ranking in the mutation function value, and perform path mutation according to the node type to generate multiple new inspection paths, and finally generate a set of candidate inspection paths.
[0105] The construction process of the APM module is as follows: by As input, the inspection path is then mutated to obtain a set of candidate inspection paths as output.
[0106] Mutation refers to the process of introducing diversity and exploring new solution spaces by randomly changing certain genes of individuals in evolutionary algorithms. This process helps prevent the algorithm from falling into a local optimal solution and enhances the population's ability to search for a global optimal solution. It should be noted that in this module, individuals are equivalent to paths, and genes are equivalent to nodes in the path.
[0107] Figure 6 The execution flow chart of the APM module is shown as follows:
[0108] S2.2.1: For , according to the type of nodes in the inspection path, the corresponding mutation function is used to calculate the mutation probability of each node. Then the nodes are sorted according to their mutation probability and a ranking threshold is set , ranking the mutation probability higher than The nodes are called nodes to be mutated. Perform path mutation to obtain multiple new inspection paths.
[0109] Among them, the corresponding mutation function is designed according to different node types:
[0110] (1) When the node type is an empty node, use the mutation function To calculate the mutation probability of the node. The design is as follows: in Represents an empty node; For For the center of the ball, is the number of devices within the sphere with a radius of It is an experience value; is the weight coefficient; is the magnetic field influence coefficient of a certain device; for and The Euclidean distance of is a device node within the sphere;
[0111] (2) When the node type is a device node, since the device node is a node that must be passed in the inspection path, a new inspection path cannot be generated by replacing the device node, but by changing the order of the device nodes in the original inspection path. Therefore, the empty nodes in the inspection path are removed to obtain a sequence composed of device nodes, called a device node queue. At this time, the mutation function will be designed for the device node queue.
[0112] The node containing the origin in the three-dimensional coordinate system And all device nodes are projected to plane, and Plane construction of the first rectangle: select the minimum horizontal coordinate value among all nodes With the maximum vertical coordinate value Construct a vertex coordinate , and select the maximum horizontal coordinate value among all nodes With the minimum vertical coordinate value Construct the coordinates of another vertex , and let and As the two endpoints of the diagonal of the rectangle; according to The position in the rectangle can be divided into two cases for calculating the probability of mutation:
[0113] ①、 Located on the edge of the first rectangle (such as Figure 7 As shown, the nodes drawn with dotted lines are , the nodes drawn with solid lines are device nodes), at this time, the mutation function is used To calculate the mutation probability of the device node queue:
[0114] in for The device node queue; for The number of device nodes contained in; is the weight coefficient; is the counting function, Each device node in Sort the straight-line distances from small to large, and then compare the sorted results with Matching is performed, and the sorting result is calculated and The same number of nodes in the same order, that is, when the sorting result is the same as When the nodes in the same sequence are the same, the counting function value is increased by 1.
[0115] For example, assuming , , , , The straight-line distances from the take-off position of the drone are 3, 2, 1, and 5 respectively. The results are sorted from smallest to largest: ,Will and The result is 2, because the nodes in the second order position in both queues are , the nodes in the fourth order position are , and the other nodes in the same order are all different. Weight coefficient Set to 4, then the mutation probability is = .
[0116] ②、 Not on the edge of the first rectangle (such as Figure 8 As shown, the nodes drawn with dotted lines are , the nodes drawn with solid lines are device nodes), at this time, the mutation function is used To calculate the mutation probability of the device node queue:
[0117] in for The device node queue; for The number of device nodes contained in; is the weight coefficient; for Any device node in; for and The Euclidean distance of for The sum of the distances to each device node; for The average distance to each device node.
[0118] Different types of nodes to be mutated should be mutated in different ways: (1) When the node to be mutated is an empty node : Get The set of adjacent nodes , for any ,if If one of the adjacent nodes is a device node, then Delete , thus obtaining the node set ; then from Randomly select a node to replace , get a new inspection path; (2) When the node to be mutated is a device node: All device nodes in the set ,Will As the input of the DPP module, the DPP module is executed to generate a new inspection path.
[0119] S2.2.2: Compare the new inspection path obtained above with Together they form a set of candidate inspection paths ,in For a certain path, Indicates the number of paths.
[0120] S2.3: Construct a non-dominated-density sorting module to screen out the final inspection path set: The present invention designs a non-dominated-density ordering module UDO (Undominated-density ordering) to screen out the final inspection path set. As input, the inspection paths are sorted by using non-dominated sorting and density calculation, and finally multiple inspection paths within a certain ranking threshold are screened out, and the above inspection paths are merged into a set as the final inspection path set.
[0121] S2.3.1: Construct a two-dimensional coordinate system, for any path ,Will Placed in a two-dimensional coordinate system, using the path length objective function ,get As The horizontal axis of the communication influences the objective function. ,get As A point in a two-dimensional coordinate system represents an inspection path. , and use non-dominated sorting to get the level of each point.
[0122] Non-dominated sorting is a method used to classify solutions in multi-objective optimization. Its purpose is to sort all paths (i.e., populations) according to the non-dominated relationship of the solutions. First, the non-dominated number of all paths in the population is calculated. Then, the paths with the same non-dominated number are combined into one level. Finally, the levels are sorted in order from small to large non-dominated numbers to obtain the size relationship of the levels. The non-dominated number refers to the total number of paths dominated by other paths; being dominated by other paths means that any objective function value of a path is inferior to that of other paths.
[0123] The calculation formula is designed as follows: in is any inspection path; for A device node or an empty node in ; for The number of nodes in ; for Its adjacent path nodes The Euclidean distance between express Total length;
[0124] The calculation formula is designed as follows: in is any inspection path; for A device node or an empty node in ; for The number of nodes in ; is the magnetic field influence coefficient of a certain device; For Centered on is the number of devices within the sphere with a radius of is the experience value; for and The Euclidean distance of A device node within the sphere.
[0125] S2.3.2: Sort all points from low to high according to the hierarchy. In the same hierarchy, sort the points from small to large according to their density. At this time, the density of the points will be calculated using the density formula Perform calculations.
[0126] (1) If If there are multiple points in the level, The calculation formula is as follows: in, for Any point in is the boundary point set; is a non-boundary point set; is the highest level point set;
[0127] ① When When Fig. 9 As shown, Indicates that at the same level Adjacent points; is the weight coefficient; represents the area of the second rectangle, where and As the two endpoints of the diagonal of the second rectangle; Represents the number of points contained in the second rectangle, where Indicates the area contained in the second rectangle The number of points in the previous level plus 2 is because we want to add and These two points are included in the calculation. At this time, due to is a boundary point, so the calculated density can reflect the distribution of paths in the edge area;
[0128] ② When When Fig.10 As shown, and Indicates that at the same level Adjacent points; is the weight coefficient; represents the area of the third rectangle, where and As the two endpoints of the diagonal of the third rectangle; Represents the number of points contained in the third rectangle, where Indicates the area contained in the third rectangle The number of points in the previous level is added to 3 because we want to add , and These three points are included in the calculation. At this time, due to Since it is a non-boundary point, the calculated density can reflect the distribution of paths in the local area;
[0129] ③ When When: The value is . Because when When it is the highest level point, and are higher than other points, so they need to be eliminated in the subsequent screening process. .Will The density of , to ensure that it is placed last in the sorting results, thus achieving Optimization.
[0130] (2) If There is only one point in the level, then The density of has no effect on the sorting. .
[0131] S2.3.3: Set a ranking threshold , filter out those ranked higher than All the points of the inspection paths represented by these points constitute an inspection path set .
[0132] like If there is a non-Pareto optimal solution in As the input of the APM module, execute the APM module to obtain a new candidate inspection path set, and then merge all the above new candidate inspection path sets to obtain a new candidate inspection path set , jump to Step 2.3.1, and As input to Step 2.3.1; otherwise, is the final inspection path set.
[0133] Pareto optimal solution is a key concept in multi-objective optimization. In multi-objective optimization problems, there are usually multiple conflicting objectives, i.e., improving the performance of one objective may reduce the performance of another objective. A Pareto optimal solution is a solution that cannot be further improved without compromising any of the objectives. These Pareto optimal solutions form a Pareto frontier, which is the set of points in the objective space that represent the optimal trade-off. The Pareto optimal solution in this module refers to any point in the lowest level (the first level).
[0134] S3: Set the take-off position of the drone, and for the device node set composed of all the equipment in a substation, use the drone path planning model based on the multi-objective optimization algorithm to solve and obtain the final inspection path set.
[0135] Based on the above, the present invention designs a DPP module to generate an inspection path, thereby solving the problem of large consumption of computing resources by traditional UAV path planning algorithms. In view of the distribution of equipment in the substation, the present invention further designs an APM module to generate multiple inspection paths through path variation, solving the problem of insufficient inspection paths in traditional methods. Finally, the present invention uses the UDO module to sort all inspection paths to obtain the final optimized inspection path set. In this process, the design of the density function is used to analyze the actual distribution of each solution, while solving the problem that the edge solution is ignored and the potential high-quality path cannot be obtained.
[0136] Although the present invention has been described above with reference to the embodiments, various modifications may be made thereto and parts thereof may be replaced by equivalents without departing from the scope of the present invention. In particular, as long as there is no structural conflict, the various features in the embodiments disclosed in the present invention may be used in combination with each other in any manner, and the fact that these combinations are not exhaustively described in this specification is only for the sake of omitting space and saving resources. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
Claims
1. A UAV inspection path planning method for substation equipment, characterized in that: The specific steps are as follows: S1: Collect relevant attribute information of the equipment to be inspected in the substation; map the equipment to a three-dimensional coordinate system; divide the equipment nodes and empty nodes in the space of the three-dimensional coordinate system through rasterization operation, and construct a equipment node set ; S2: Construct a UAV path planning model based on a multi-objective optimization algorithm. The construction process of the model is as follows: S2.1: Construct a directional path planning module DPP, first solve to obtain a set of local paths, and then splice all the local paths into an inspection path; S2.2: construct an adaptive path mutation module APM to perform path mutation on the inspection path to generate multiple new inspection paths, thereby forming a candidate inspection path set; S2.3: construct a non-dominated-density sorting module UDO, sort all candidate inspection paths in the candidate inspection path set, select a final inspection path from the sorting results, and form a final inspection path set; S3: Set the take-off position of the drone, and for the device node set consisting of all the equipment in a substation, use the drone path planning model based on the multi-objective optimization algorithm to solve the final inspection path set suitable for the drone to inspect the equipment in the substation.
2. A method for planning a UAV inspection path for substation equipment according to claim 1, characterized in that: The specific steps of S1 are as follows: S1.1: Collect the name and number of each device in the substation, measure and record the maximum length, maximum width and maximum height of each device, and record the GPS coordinates of the center point of the device; S1.2: Set a three-dimensional coordinate system with the take-off position of the drone as the origin, map all devices into the three-dimensional coordinate system, and use a cuboid to represent the device, where the length of the cuboid is the maximum length of the device, the width is the maximum width of the device, and the height is the maximum height of the device. The coordinates of the center point of the device The mapping calculation formula is as follows: in is the GPS coordinate of the drone’s take-off location, is the longitude, is latitude; > is the GPS coordinate of the center point of the device, is the longitude, is latitude; is the maximum height of all devices; and is the scaling ratio, and its value is set according to the actual situation; S1.3 The three-dimensional coordinate system space is divided into a plurality of equal-sized cubic regions through a gridding operation, and the origin of the coordinate system is set as the center of one of the cubic regions. The side length of the cubic region is determined according to the actual situation. If the cubic region contains a part of the device or the entire device, the cube is called a device node; otherwise, it is called an empty node. S1.4: Construct a device node set For any device node, if the device node contains the entire device, then add the device node to ; Otherwise, add the device node to After that, nodes containing other parts of the same device are not added .
3. The method for planning a UAV inspection path for substation equipment according to claim 1 is characterized in that: The construction process of the S2.1 directional path planning module DPP is as follows: S2.1.1: Construct a local path set , Each local path in the process ends at a device node; for the local path currently being solved , select a device node from As The end point , and will from Remove it, and then solve it as follows : S2.1.1.1: If , then starting point Set to the node containing the origin of the 3D coordinate system; otherwise, let Recently acquired and added The local path of The end point is starting point ; Set a candidate node set ,Will join in , and at the same time Set to except The predecessor nodes of all other nodes; S2.1.1.2: In the example, select the node with the smallest path cost as the current node ,Will from Remove from and add to the collection, , It is a collection that stores all nodes that have ever been the current node; Each node The path cost The calculation formula is: in From the starting point Move to Node The cost of movement; is from arrive The end point The heuristic function estimate of ; its calculation formula is: in yes and The Euclidean distance between is with Related calculation functions of additional costs due to environmental factors, is the weight coefficient; S2.1.1.3: and Connect the lines to get the line segments , then make a pass Plane and Vertically, for any node , for The node set consisting of all adjacent nodes; like The center point and Located in plane On both sides, from Delete , thus obtaining the node set ; For any node ,like is a device node, then All The adjacent nodes are added to ; Then for any node ,like is a device node, or Already exists in , then from Delete , thus obtaining the node set ; For any node ,if If any two of the following conditions are met, The preceding node of , and Add to : (1) ; (2) , , The preceding nodes of form an isosceles right triangle, and the hypotenuse of the isosceles right triangle passes through a device node; S2.1.1.4: If , then jump to S2.1.1.2; otherwise, As end point, and then Predecessor node As The second to last node of Predecessor node As The third to last node of Add to , and finally Add to local path collection ; S2.1.2: All local paths in the are connected by taking the device nodes as the connection points to obtain an inspection path.
4. The method for planning a UAV inspection path for substation equipment according to claim 1 is characterized in that: The specific steps of constructing the adaptive path variation module APM to perform path variation in S2.2 are as follows: S2.2.1: For an inspection route , calculate the mutation probability of each node according to the type of each node in the inspection path, sort them, and set a ranking threshold , ranking the mutation probability higher than The nodes are called nodes to be mutated. A path mutation operation is performed on each node to obtain multiple new inspection paths. S2.2.2: All the above new inspection routes should be combined with Together they form a set of candidate inspection paths .
5. The construction process of the adaptive path variation module APM according to claim 4 is characterized in that: The calculation method of the mutation probability is as follows: (1) When the node type is an empty node, use the mutation function Counting empty nodes The probability of mutation: in For For the center of the ball, is the number of devices within the sphere with a radius of It is an experience value; is the weight coefficient; is the magnetic field influence coefficient of the equipment; for and The Euclidean distance of is the device node within the sphere; (2) When the node type is a device node, a new inspection path is generated by changing the order of the device nodes in the original inspection path: The node containing the origin in the three-dimensional coordinate system And all device nodes are projected to plane, and Plane construction of the first rectangle: select the minimum horizontal coordinate value among all nodes With the maximum vertical coordinate value Construct a coordinate , and select the maximum horizontal coordinate value among all nodes With the minimum vertical coordinate value Construct the coordinates of another vertex , and let and As the two endpoints of the diagonal of the rectangle; according to The position in the rectangle can be divided into two cases for calculating the probability of mutation: ① Located on the edge of the first rectangle, using the variation function Calculate the mutation probability: in for The queue composed of all device nodes in, for The number of device nodes in; is the weight coefficient; For the counting function: First, All device nodes in the Sort the distances from small to large, and then compare the sorted results with The nodes in are matched, and the sorting result is calculated and The number of nodes that are identical in the same order; ② Otherwise, use the variation function Calculate the mutation probability: in is the weight coefficient; is a device node; for and The Euclidean distance of .
6. The construction process of the adaptive path variation module APM according to claim 4 is characterized in that: The process of the path mutation operation is as follows: (1) When the node to be mutated is an empty node : Get The set of adjacent nodes , for any ,if If one of the adjacent nodes is a device node, then Delete , thus obtaining the node set ; then from Randomly select a node to replace , get a new inspection path; (2) When the node to be mutated is a device node: All device nodes in the set ,Will As the input of the DPP module, the DPP module is executed to generate a new inspection path.
7. The method for constructing a three-dimensional substation model based on deep learning according to claim 1, characterized in that: The specific steps of constructing the non-dominated-density sorting module UDO in S2.3 and screening out the final inspection path set are as follows: S2.3.1: In a two-dimensional coordinate system, for any path Use a point To express, is the path length objective function, The communication affects the objective function, and then the non-dominated sorting is used to get the level of each point; S2.3.2: sorting all points in the two-dimensional coordinate system from low to high according to the hierarchy, wherein within the same hierarchy, sorting the points from small to large according to their density; S2.3.3: Set a ranking threshold , filter out those ranked higher than All the points of the inspection paths represented by these points constitute an inspection path set ; like If there is a non-Pareto optimal solution in As the input of the APM module, execute the APM module to obtain a new candidate inspection path set, and then merge all the above new candidate inspection path sets to obtain a candidate inspection path set , jump to Step 2.3.1, and As input to Step 2.3.1; otherwise, is the final inspection path set.
8. The method for constructing a non-dominated density ordering module UDO according to claim 7, characterized in that: Said and The calculation expression is as follows: in for A device node or an empty node in ; for The number of nodes in ; for Its neighboring nodes The Euclidean distance between is the magnetic field influence coefficient of the equipment; For Centered on is the number of devices within the sphere with a radius of is the experience value; for and The Euclidean distance of The device nodes within the sphere.
9. The method for constructing a non-dominated density ordering module UDO according to claim 7, characterized in that: The density of the points is calculated as follows: (1) If If there are multiple points in the level, in express density; is the boundary point set; is a non-boundary point set; is the highest level point set; when hour, Indicates that at the same level Adjacent points; is the weight coefficient; is the area of the second rectangle, and They are respectively used as the two diagonal endpoints of the second rectangle; represents the number of points contained in the second rectangle, where Indicates the area contained in the second rectangle The number of previous level points; when hour, and Indicates that at the same level Adjacent points; is the weight coefficient; is the area of the third rectangle, and They serve as the two diagonal endpoints of the third rectangle respectively; Represents the number of points contained in the third rectangle, where Indicates the area contained in the third rectangle The number of previous level points; when hour: The value of ; (2) If There is only one point in the level, then The density of has no effect on the sorting. .
Citation Information
Patent Citations
Unmanned aerial vehicle inspection path planning method based on random optimization
CN111536979A
Muck truck transportation path planning method based on multi-objective optimization
CN118464055A
Multi-task inspection unmanned aerial vehicle route planning method, system, medium and equipment
CN118603108A
Method to speedily plan flight track of smart aircraft under multiple constraints
JP2021110744A
Cited By
Electric power inspection method and system
CN119740720A
Unmanned inspection system and method for oil taking and injection of converter station
CN121680384A