A method for optimizing the position of hovering points for UAV observation in a power station environment

Through three-dimensional modeling and genetic algorithm optimization, the position of the drone's hovering point is generated to meet the needs of the power station environment, solving the problems of electromagnetic interference and hovering point planning, and improving the reliability and image quality of the drone mission.

CN118012122BActive Publication Date: 2024-09-24VKINGTELE INTELLIGENT TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311837918.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-09-24
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

In a power station environment, the flight control system of the UAV is susceptible to electromagnetic interference, and the planning of the hover point is difficult to meet the requirements of observation distance, pitch angle, yaw angle and safety distance, affecting image quality and mission reliability.

Method used

Three-dimensional modeling and genetic algorithms are used to generate hovering points. Through collision detection and cost function optimization, it is ensured that the drone can completely observe the target point and meet safety and human requirements, and the optimal hovering point is gradually iterated.

Benefits of technology

It achieves fast and accurate marking of hovering points, improves mission reliability and image quality, ensures that the drone is not subject to electromagnetic interference in a high-voltage power environment, and the hovering points are more in line with on-site conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118012122B
    Figure CN118012122B
Patent Text Reader

Abstract

The present invention discloses a method for optimizing the position of hovering points observed by unmanned aerial vehicles in a power station environment, comprising the following steps: a three-dimensional modeling step of a substation; a position determination step; marking the positions of points to be observed in a three-dimensional modeling environment; and for each point to be observed, using a genetic algorithm to generate a hovering point accordingly. The selection of the hovering point must meet the following conditions: the unmanned aerial vehicle can fully observe the points to be observed corresponding to the hovering point at each hovering point. At the same time, it meets the requirements for the observation distance, pitch angle, yaw angle, and safety distance of the unmanned aerial vehicle. The method for optimizing the position of hovering points observed by unmanned aerial vehicles in a power station environment of the present invention has the advantages of being able to quickly and accurately mark the hovering points, and the hovering points are more in line with the working conditions on site and have high reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for determining an observation position of an unmanned aerial vehicle, and in particular to a method for optimizing a hovering point position of an unmanned aerial vehicle under a power station environment. Background Art

[0002] Unmanned aerial vehicles (UAVs) have the advantages of non-contact, multi-parameter, and high efficiency, and have become the main tool for power inspection. In various UAV inspection tasks, UAVs can reach anywhere, whether it is steep mountains, vast rivers or dangerous swamps, these areas that are difficult to reach manually, it can easily reach and complete the inspection tasks. At the same time, the various mapping sensors and camera tools carried by the UAV itself can quickly and safely measure and collect a lot of data, such as terrain data, during the flight, saving a lot of time and labor costs. Therefore, UAVs have become one of the best equipment for inspecting field environments and high-voltage environments such as transmission lines and substations in the power system.

[0003] However, the equipment in the substation is densely distributed, and the electromagnetic field strength is high. The flight control system of the drone is susceptible to electromagnetic interference. In a high-voltage electrical environment, drones are easily affected by electromagnetics and may malfunction or encounter other flight obstacles. In addition, the setting of the shooting point has the greatest impact on the quality of the image captured during the drone inspection process. Because different shooting points not only lead to different spatial relationships between the equipment and the camera, which directly affects the size and posture of the target equipment presented in the image, but also cause the camera to be affected differently by some environmental factors such as sunlight, which indirectly affects the shooting quality.

[0004] Therefore, for outdoor scenes such as power stations, it is necessary to plan the hovering point in advance when using automated inspection technology, so that when the drone is located at the hovering point, it can see the target point without obstruction, while ensuring that the drone can perform its tasks without being affected by electromagnetic interference in a high-voltage electrical environment.

[0005] At the same time, in addition to the influence of environmental factors, staff sometimes also hope that the planned hovering point can meet some of their own artificial requirements. For example, it is hoped that the hovering point is 5 to 10 meters away from the target point (depending on the environment of different power plants and the content of the task); or, it is hoped that the planned hovering points can be concentrated in the surrounding open areas; or, it is hoped that when the drone is at the hovering point to perform tasks (that is, looking at the target point for shooting), the pitch angle and yaw angle are within a given range. In short, during the drone inspection process, the hovering point that can meet the above environmental and artificial requirements is the planned point. Therefore, it is necessary to pre-plan the hovering point or hovering position of the drone during the inspection process. Summary of the invention

[0006] In order to avoid the deficiencies in the above-mentioned prior art, the present invention provides a method for optimizing the position of a hovering point observed by a UAV in a power station environment, so as to simulate different working conditions in the hot and humid environment of a mine.

[0007] The present invention adopts the following technical solutions to solve the technical problems.

[0008] A method for optimizing the position of a hovering point observed by a drone in a power station environment of the present invention comprises the following steps:

[0009] Step 1: 3D modeling of the substation: Use scanning equipment to obtain multiple local point cloud data of the substation, and use algorithms to fuse and register multiple point clouds to obtain a complete point cloud model of the substation;

[0010] Step 2: Position determination step: Mark the position of the point G to be observed in the three-dimensional modeling environment;

[0011] Step 3: Hovering point determination step: For each observation point G, a hovering point T is correspondingly generated using a genetic algorithm.

[0012] The method for optimizing the position of a hovering point observed by a drone in a power station environment of the present invention is also characterized in that:

[0013] Furthermore, in step 3, the selection of the hovering point T must satisfy the following observation condition: the drone can completely observe the point G to be observed corresponding to each hovering point T at each hovering point T.

[0014] Furthermore, collision detection is used to determine whether the drone can completely observe the point to be observed G corresponding to each hovering point T.

[0015] Furthermore, in step 3, the selection of the hovering point T must satisfy the following safety condition: the drone can safely observe the point to be observed G corresponding to the hovering point T at each hovering point T.

[0016] Furthermore, the observation distance Dl, pitch angle α, yaw angle β, and safety distance Ds are used to describe the current posture information of the drone when the drone observes the corresponding observation point at each hovering point T.

[0017] Furthermore, in step 3, using a genetic algorithm to generate a hovering point T accordingly includes the following steps:

[0018] Step 31: For one of the points G to be observed, a plurality of hovering points T are randomly generated as individuals, and the best k individuals are selected from the individuals;

[0019] Step 32: Randomly perform crossover mutation on some of the k individuals to obtain new individuals;

[0020] Step 33: For the new individual obtained by crossover mutation in step 32, verify the validity of the new individual;

[0021] Step 34: retain the qualified individuals verified in step 33, and add the individuals randomly generated in step 31 to obtain n2 individuals;

[0022] Step 35: The n2 individuals obtained in step 34 are re-sorted according to the result of the cost function S, and the first k individuals are taken to represent the entire population;

[0023] Step 36: The cost function S is less than a certain threshold value Y, or the maximum number of iterations is reached, and the whole process ends; otherwise, return to step 32 and continue to the next iteration;

[0024] Step 37: After the entire evolution process meets the end condition, the best individual is selected as the hovering point T of the point G to be observed.

[0025] Furthermore, in step 35, in the process of re-ranking the obtained n2 individuals according to the result of the cost function, the parameter regional object density ρ is added to the cost function.

[0026] The present invention also discloses an electronic device, comprising at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for optimizing the position of a hovering point observed by a drone in a power station environment.

[0027] The present invention also discloses a non-transient computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the method for optimizing the position of a hovering point observed by a drone in a power station environment.

[0028] The present invention also discloses a computer program product, including a computer program; when the computer program is executed by a processor, the method for optimizing the position of a hovering point observed by a UAV in a power station environment is implemented.

[0029] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0030] The present invention discloses a method for optimizing the position of hovering points observed by drones in a power station environment, comprising the following steps: a three-dimensional modeling step of a substation; a position determination step; marking the positions of points to be observed in a three-dimensional modeling environment; and for each point to be observed, using a genetic algorithm to generate a hovering point accordingly. The selection of the hovering point must meet the following conditions: the drone can fully observe the points to be observed corresponding to the hovering point at each hovering point. At the same time, it meets the requirements for the drone's observation distance, pitch angle, yaw angle, and safety distance.

[0031] Firstly, the present invention uses a genetic algorithm to continuously iterate an asymptotically optimal hovering point, which applies an intelligent algorithm to a working scene, and the marking is fast and effective.

[0032] Secondly, by performing collision detection, it is verified whether the point to be observed can be "seen" at the hovering point, so the hovering point is more in line with the on-site working conditions and has high reliability.

[0033] Thirdly, the present invention uses multiple iterations of the genetic algorithm and adds the evaluation criterion of "regional object density" to the cost function, so that in the final score, "whether the area around the hovering point is empty" is taken into consideration as one of the parameters. The more empty the area around it is, the more desirable the point is, that is, the higher the score will be, thereby achieving the purpose of "the hovering point is concentrated in the open area".

[0034] The method for optimizing the position of a hovering point based on observation of a drone in a power station environment of the present invention has the advantages of being able to quickly and accurately mark the hovering point, and the hovering point is more in line with on-site working conditions and has high reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 These are points to be observed and hovering points in a 3D environment in a method for optimizing the position of hovering points observed by a drone in a power station environment according to the present invention.

[0036] Figure 2 Shown from another perspective Figure 1 The observation point and hovering point.

[0037] Figure 3 The present invention is a flow chart of a method for optimizing the position of a hovering point observed by a UAV in a power station environment.

[0038] The present invention will be further described below through specific implementation modes in conjunction with the accompanying drawings. DETAILED DESCRIPTION

[0039] See also Figure 1 to Figure 3 The present invention provides a method for optimizing the position of a hovering point observed by a drone in a power station environment, comprising the following steps:

[0040] Step 1: 3D modeling of the substation: Use scanning equipment to obtain multiple local point cloud data of the substation, and use algorithms to fuse and register multiple point clouds to obtain a complete point cloud model of the substation;

[0041] The registration algorithm used for the fusion registration of multiple point clouds in the present invention is ICP (Iterative Closest Point), which is a relatively conventional algorithm for point cloud registration.

[0042] Step 2: Position determination step: Mark the position of the point G to be observed in the three-dimensional modeling environment;

[0043] Step 3: Hovering point determination step: For each observation point G, a hovering point T is correspondingly generated using a genetic algorithm.

[0044] After completing the 3D modeling of the substation, the staff will mark the observation points G that need to be observed in the 3D modeling environment. Figure 1 and Figure 2 In the figure, the yellow position is the observation point G that needs to be observed; the green position is the position of the hovering point T that is subsequently planned. Figure 1 and Figure 2 The same hover point is shown in the figure, but the viewing angle is different in 3D display.

[0045] In specific implementation, in step 3, the selection of the hovering point T must satisfy the following observation condition: the drone can completely observe the point G to be observed corresponding to each hovering point T at each hovering point T.

[0046] In specific implementation, collision detection is used to determine whether the drone can completely observe the point to be observed G corresponding to each hovering point T.

[0047] In specific implementation, in step 3, the selection of the hovering point T must meet the following safety conditions: the drone can safely observe the point G to be observed corresponding to each hovering point T at each hovering point T.

[0048] In specific implementation, the observation distance Dl, pitch angle α, yaw angle β, and safety distance Ds are used to describe the current posture information of the drone when the drone observes the corresponding observation point at each hovering point T.

[0049] For each marked point G to be observed, a corresponding hovering point T is generated by genetic algorithm, so that the UAV can fully observe the situation of the point G to be observed corresponding to the hovering point T at the position of the hovering point T, and at the same time meet the requirements of the observation distance Dl, pitch angle α, yaw angle β, and safety distance Ds for the UAV. Among them, the observation distance Dl refers to: the straight-line distance from the hovering point T to the point G to be observed, which should meet the range given in advance by humans; the safety distance Ds means that when the UAV is at the hovering point, there are no other objects within the spherical range of radius Ds; the pitch angle α and yaw angle β are the posture parameters of the UAV when it is hovering.

[0050] In specific implementation, in step 3, using a genetic algorithm to generate a hovering point T accordingly includes the following steps:

[0051] Step 31: For one of the points G to be observed, a plurality of hovering points T are randomly generated as individuals, and the best k individuals are selected from the individuals;

[0052] like Figure 3 , set a suitable cost function S, first randomly generate n hovering points T as individuals, such as hovering point T1 to hovering point Tn, including individuals of n hovering points; according to the cost function S, select the best k individuals from the individuals of n hovering points, where k≤n;

[0053] The cost function S of the present invention refers to the loss function, which measures the gap between the current result (the predicted hovering point T in the scenario of hovering point optimization) and the optimal solution under the overall constraints. Generally, a numerical evaluation method is given in some way, and the result of the evaluation is a real number. The method used for evaluation is given in the form of a computable function after mathematical modeling, and this function is the cost function. In short, it is to give a score to this point, and the score range is [0, 1]. The higher the score, the more this point meets the requirements, and the better. A score of 0 means that this point does not meet the requirements at all.

[0054] The cost function S used in this scheme for overall scoring is divided into three parts: observation distance score s1, direction attitude deviation score s2 and environment complexity score s3.

[0055] The mathematical relationship between the cost function S and the three parts is shown in the following equation (1).

[0056] S=s1*w1+s2*w2+s3*w3 (1)

[0057] In formula (1), weight parameter w1, weight parameter w2, and weight parameter w3 respectively represent the weight ratio of observation distance score s1, direction attitude deviation score s2, and environment complexity score s3. In one embodiment, weight parameter w1 = 0.3, weight parameter w2 = 0.3, and weight parameter w3 = 0.4; these three weight parameters can be adjusted according to needs.

[0058] The calculation formula of the observation distance score s1 is shown in the following formula (2).

[0059] s1=1-D1 / (D max -D E ) (2)

[0060] In formula (2), D1 is the observation distance of the predicted hovering point, D max is the maximum distance parameter set, D E is the desired distance set.

[0061] The calculation formula of the direction attitude deviation s2 is shown in the following formula (3).

[0062] s2=[1-Abs(01) / Abs(max_α-min_α)]*0.5+[1-Abs(02) / Abs(max_β-min_β)]*0.5(3)

[0063] In formula (3), θ1 = the pitch angle corresponding to the hovering point - the inclination pitch angle; max_α: the maximum pitch angle allowed by human setting; min_α: the minimum pitch angle allowed by human setting; inclination pitch angle: an angle set by human setting, which should be within the range of maximum and minimum pitch angles; θ2 = the yaw angle corresponding to the hovering point - the inclination yaw angle; max_β: the maximum yaw angle allowed by human setting; min_β: the minimum yaw angle allowed by human setting; inclination yaw angle: an angle set by human setting, which should be within the range of maximum and minimum yaw angles; Abs: the absolute value.

[0064] The calculation formula of the environmental complexity score s3 is shown in the following formula (4).

[0065] s3=1-(m1*λ1+m2*λ2) (4)

[0066] In formula (4), m1 = min(1, V r / V r1 ), m2=min(1,V r / V r2 );V r is the volume of a sphere with radius r; V r1 is the volume of a sphere with radius r1; V r2is the volume of a sphere with radius r2; λ1 is the weight coefficient of m1, and λ2 is the weight coefficient of m2. λ1+λ2=1. In one specific embodiment, λ1=0.6, λ2=0.4. min represents the minimum of two values, min(1,x), that is, if x is less than 1, x is taken, and if x is greater than 1, 1 is taken.

[0067] The volume of the object in the sphere: uniform sampling is performed in the sphere to obtain x points (uniform sampling in the sphere is a conventional processing process); the distribution of these x points in the sphere is relatively uniform, and then the average distance rp between these x points is obtained based on the generated points, and detection is performed from these x points respectively. Taking x_i as an example, the detection process is: with point x_i as the center of the sphere and rp / 2 as the radius, there is an object in the sphere (that is, there is a point cloud in this small sphere), which means that there is an object at this point. After traversal, the number of points where the object exists is recorded as the volume of the object in the sphere with r as the radius; the result is a positive integer, the minimum is 0 and the maximum is x;

[0068] The maximum number of volumes allowed to appear within the sphere of r1: This value is an artificially set value. For example, if a parameter of 20 is given, it means that after uniformly sampling x points, at most 20 points are allowed to have point clouds within the small sphere;

[0069] The main reason for doing this calculation is that the point cloud itself is composed of many points, and the point itself does not have the concept of volume, so the second best option is to use whether there is a point cloud inside the small ball with the uniformly generated sampling point as the center to represent whether the small ball is inside the object; there will inevitably be errors in the middle, such as the overlap of sampling points and the gaps between multiple small balls, but because the point cloud itself also has isolated noise points, if there is no point cloud for the surrounding small balls, and there is a point in the gap that cannot be detected in the center, in this case, it can basically be considered that the point is a noise point and has no effect on the result. The error caused by overlap only has an effect when the two small spheres overlap at the boundary and the point happens to be at the boundary. The error exists but will not affect the subsequent calculations and results;

[0070] Explanation of maximum allowed volume = floor[x*0.1]: Because the number is used instead of volume, and it must be a positive integer, so long as the maximum allowed volume is less than floor[x*0.1], it means that there are so many points where objects are allowed; when the maximum allowed volume is <1, it means that no objects can exist, because the volume of objects in the sphere is a positive integer greater than or equal to 0;

[0071] in: r1 r and r2 are pre-set parameters that can be changed and adjusted according to the scene. For example, if it is required that there can be only a few objects within 3m, this requirement should be reflected in the numerical value as r = 3m, and the maximum allowed volume = floor[x*0.1].

[0072] The maximum allowed volume should be less than or equal to the total number of uniform samples x. If no objects are allowed, the maximum allowed volume should be as small as possible. Through the above cost function, the current hovering point T has a score value between 0 and 1.

[0073] Step 32: Randomly perform crossover mutation on some of the k individuals to obtain new individuals;

[0074] In the present invention, in this algorithm scenario, an “individual” corresponds to a point, and a “group” corresponds to all hovering points generated in this iteration.

[0075] Crossover mutation process: select two individuals from k individuals, i.e. two hovering points. The two points in space determine a straight line, and select two middle points of the line segment between the two points that is divided into three equal parts. Randomly select two points on the straight lines on both sides of the line segment. The points on both sides need to be within a certain distance. For example, if the line segment distance is L, the points at both ends should be randomly selected in the direction and distance of -0.1L and 1.1L (that is, after the two endpoints are extended to both sides, select a point on the extension line in each direction). The two points in the line segment are located at 1 / 3L and 2 / 3L respectively.

[0076] This process is performed k times to generate 4k new individuals. After generating 4k new individuals, the process proceeds to step 33.

[0077] Step 33: For the new individual obtained by crossover mutation in step 32, verify the validity of the new individual;

[0078] The verification of effectiveness is, on the one hand, to check whether it complies with the artificially set constraint parameters (such as observation distance Dl, pitch angle α, yaw angle β, safety distance Ds, etc.), and on the other hand, to perform collision detection between the observation point and the hovering point in the entire three-dimensional scene; if there is a collision, it proves that there are other objects in the middle that may block this observation angle. If there is no collision, it proves that the observation point G corresponding to the hovering point T can be observed from the hovering point T.

[0079] Verify the artificial constraint parameters: Calculate the generated new individuals one by one. For each individual, calculate the distance from the observation point. If it is within the given requirement range, it means it has passed. Otherwise, it will be deleted directly. In the same way, check whether it is within the range of yaw angle and pitch angle. The yaw angle and pitch angle are the angles between the x-axis and the z-axis when looking at the observation point.

[0080] Verify whether there is occlusion: This is done through the capsule collision detection algorithm, which is a general algorithm; it is not an innovative content in this project. Capsule collision detection algorithm: By finding the closest point of two straight lines, the collision of capsules is simplified to the collision of spheres. First, use the line segment between the StartPoint and the EndPoint of the Capsule to find the closest points on the two line segments. Then use these two points as the center of the circle and the radius of each capsule as the radius of the circle to calculate the intersection of the two circles.

[0081] Step 34: retain the qualified individuals verified in step 33, and add the individuals randomly generated in step 31 to obtain n2 individuals;

[0082] According to the verification result of step 33, the individuals that meet the constraints are retained, and the original individuals are added (the individuals randomly generated in step 31; at this time, the population members should be the new individuals that have passed the verification and retained in step 33, as well as the initial k individuals), and the entire population will have n2 individuals;

[0083] Step 35: The n2 individuals obtained in step 34 are re-sorted according to the result of the cost function S, and the first k individuals are taken to represent the entire population;

[0084] At this point, all individuals in the population participate in the sorting, and new individuals have joined the population; the first k members are selected from all members, and after sorting, no matter how many are left after the kth position, they will be eliminated by the last position;

[0085] Step 36: The cost function S is less than a certain threshold value Y, or the maximum number of iterations is reached, and the whole process ends; otherwise, return to step 32 and continue to the next iteration;

[0086] The result score of the cost function S is a value between 0 and 1, and a threshold of 0.01 can be set manually. If the score of the first individual is lower than 0.01, it means that there is a result that meets the threshold, and the entire genetic algorithm ends. The information of the first individual is taken as the corresponding hovering point of the observation point.

[0087] If the maximum number of iterations is set to n, and after n crossover mutations, there is still no individual that is lower than the threshold (the first one after sorting is compared with the threshold), the algorithm stops and the first information is returned.

[0088] Step 37: After the entire evolution process meets the end condition (the end condition is that there is an individual below the threshold or the maximum number of iterations is reached), the best individual is selected as the hovering point T of the point G to be observed.

[0089] The cost function is used for sorting. Each individual is given a score (0-1) according to the cost function. The individual with the highest score after sorting is the current optimal individual.

[0090] Through the above steps 31 to 37, the process of generating the corresponding hovering point T for a certain point to be observed G is completed. Through similar steps, the corresponding hovering points T are generated one by one for other points to be observed G. In this way, the corresponding hovering points T are generated for all points to be observed G.

[0091] In specific implementation, in step 35, in the process of re-ranking the obtained n2 individuals according to the result of the cost function, the parameter regional object density ρ is added to the cost function.

[0092] The present invention also discloses an electronic device, comprising at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for optimizing the position of a hovering point observed by a drone in a power station environment.

[0093] The present invention also discloses a non-transient computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the method for optimizing the position of a hovering point observed by a drone in a power station environment.

[0094] The present invention also discloses a computer program product, including a computer program; when the computer program is executed by a processor, the method for optimizing the position of a hovering point observed by a UAV in a power station environment is implemented.

[0095] In the prior art, the generation of hovering points is usually done manually in a three-dimensional scene. This not only involves labor costs, but also because the screen display of the three-dimensional scene will inevitably result in occlusion and visual errors, which makes it impossible to quickly and conveniently observe with the naked eye whether the hovering point meets the safety distance during marking, resulting in the marked hovering point not meeting the requirements, or failing to find a better open area to plan the hovering point. At the same time, 3D marking is much more complicated than 2D, and the time cost will be greatly increased. The present invention is based on a method for optimizing the position of hovering points observed by drones in a power station environment, which uses a genetic algorithm to continuously iterate an asymptotically optimal hovering point position, and applies an intelligent algorithm to a work scene, which can well avoid the above problems.

[0096] In the prior art, there are many other methods for planning hovering points, the simplest of which is random enumeration followed by verification one by one. However, these algorithms usually do not perform very well. In the method for optimizing the position of hovering points observed by drones in a power station environment, collision detection is performed to verify whether they can be "seen". Through multiple iterations of the genetic algorithm and the addition of the evaluation criterion of "regional object density" in the cost function, the final score takes "whether the area around the hovering point is empty" as one of the parameters to be considered. The more empty the area around it is, the more desirable the point is, that is, the higher the score will be, thereby achieving the purpose of "concentrating the hovering point in the open area".

[0097] Therefore, the present invention has the advantages of being able to quickly and accurately mark the hovering point, and the hovering point is more in line with the on-site working conditions and has high reliability.

[0098] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0099] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A method for optimizing the position of a hovering point observed by a UAV in a power station environment, characterized in that: The steps include: Step 1: 3D modeling of the substation: Use scanning equipment to obtain multiple local point cloud data of the substation, and use algorithms to fuse and register multiple point clouds to obtain a complete point cloud model of the substation; Step 2: Position determination step: Mark the position of the point G to be observed in the three-dimensional modeling environment; Step 3: Hover point determination step: For each observation point G, a hover point T is generated correspondingly using a genetic algorithm; The genetic algorithm is used to generate a hovering point T, which includes the following steps: Step 31: For one of the points G to be observed, a plurality of hovering points T are randomly generated as individuals, and the best k individuals are selected from the individuals; Step 32: Randomly perform crossover mutation on some of the k individuals to obtain new individuals; Step 33: For the new individuals obtained by cross-mutation in step 32, verify the validity of the new individuals; the verification of validity, on the one hand, is to check whether it meets the artificially set constraint parameters; the constraint parameters include observation distance Dl, pitch angle α, yaw angle β, and safety distance Ds; on the other hand, collision detection is performed between the observation point and the hovering point in the entire three-dimensional scene; if there is a collision, it proves that there are other objects in the middle that may block this observation angle; if there is no collision, it proves that the observation point G corresponding to the hovering point T can be observed from the hovering point T; Step 34: retain the qualified individuals verified in step 33, and add the individuals randomly generated in step 31 to obtain n2 individuals; Step 35: The n2 individuals obtained in step 34 are re-sorted according to the result of the cost function S, and the first k individuals are taken to represent the entire population; Step 36: The cost function S is less than a certain threshold Y, or the maximum number of iterations is reached to end the whole process; Otherwise, return to step 32 and continue to the next iteration; Step 37: After the entire evolution process meets the end condition, the best individual is selected as the hovering point T of the point G to be observed.

2. According to claim 1, a method for optimizing the position of a hovering point observed by a drone in a power station environment is characterized in that: In step 3, the selection of the hovering point T must satisfy the following observation condition: the drone can completely observe the point G to be observed corresponding to each hovering point T at each hovering point T.

3. The method for optimizing the position of a hovering point observed by a drone in a power station environment according to claim 2 is characterized in that: The collision detection method is used to determine whether the drone can completely observe the observation point G corresponding to the hovering point T at each hovering point T.

4. The method for optimizing the position of a hovering point observed by a UAV in a power station environment according to claim 1 is characterized in that: In step 3, the selection of the hovering point T must meet the following safety conditions: the drone can safely observe the point G to be observed corresponding to the hovering point T at each hovering point T.

5. The method for optimizing the position of a hovering point observed by a drone in a power station environment according to claim 4 is characterized in that: The observation distance Dl, pitch angle α, yaw angle β, and safety distance Ds are used to describe the current posture information of the drone when the drone observes the corresponding observation point at each hovering point T.

6. The method for optimizing the position of a hovering point observed by a UAV in a power station environment according to claim 1 is characterized in that: In step 35, in the process of re-ranking the obtained n2 individuals according to the result of the cost function, the parameter regional object density ρ is added to the cost function.

7. An electronic device, characterized in that: It includes at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for optimizing the hovering point position based on observation of a drone in a power station environment according to any one of claims 1 to 6.

8. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable the computer to execute the method for optimizing the hovering point position based on observation of a drone in a power station environment according to any one of claims 1 to 6.

9. A computer program product comprising a computer program; wherein: When the computer program is executed by the processor, the method for optimizing the position of a hovering point observed by a drone in a power station environment according to any one of claims 1 to 6 is implemented.