Power distribution overhead line inspection route planning method and system
By automatically analyzing and dividing obstacles in the drone's flight trajectory and generating obstacle avoidance waypoints, the problem of drone route planning relying on pilot experience is solved, and efficient and safe autonomous route planning for distribution lines is achieved. Improved the inspection application rate.
Patent Information
- Application Number
- CN202410952140.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-08
AI Technical Summary
The analysis and setting of obstacle avoidance points on the drone flight route depends entirely on the pilot's operating experience, the workload is large, the route recording efficiency is low, and the three-dimensional route planning method based on the point cloud model is not suitable for distribution network lines.
By obtaining the photo waypoint, calculate the vertical distance between other points on the flight trajectory and the target approximate line segment, filter out the deviation point with the largest vertical distance, and divide it according to the preset threshold to automatically form obstacle avoidance waypoints, and finally generate safe and efficient Inspection routes.
The autonomous inspection route planning of drones has been realized, which has reduced the work burden of grassroots data processing, improved the efficiency and safety of route planning, reduced the requirements for pilot control level, and improved the application rate of independent inspection of routes.
Smart Images

Figure CN118915808A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of inspection route planning, and in particular relates to a method and system for planning an inspection route for a power distribution overhead line. Background Art
[0002] The current route planning methods for power grid drone inspections are mainly divided into manual teaching route recording and three-dimensional route planning based on point cloud models. Due to the characteristics of distribution network lines, such as many points and wide areas, complex and changeable environments, the cost of building a three-dimensional model scene of the line is high, the cycle is long, and the applicable time is short. Therefore, the three-dimensional route planning method based on the point cloud model is not suitable for distribution network lines. The manual teaching route planning method mainly records the current POS coordinate data and flight attitude information of the drone to form aerial photography points, and completes the route planning through multiple waypoints connected in sequence. However, the surrounding environment of the distribution network line is complex. If there are obstacles in the flight path of the route, it is necessary to analyze the obstacles in the flight trajectory of the route and set obstacle avoidance points, otherwise it is very easy to cause a bombing accident. The analysis and setting of obstacle avoidance points on the flight route of the drone depends entirely on the pilot's operating experience, and the workload is large, and the route recording efficiency is low. Summary of the invention
[0003] The present invention provides a distribution overhead line inspection route planning method and system, which are used to solve the technical problems that the analysis and setting of obstacle avoidance points on the flight route of a UAV completely depend on the pilot's operating experience, and the workload is large and the route recording efficiency is low.
[0004] In a first aspect, the present invention provides a method for planning a route for inspection of a power distribution overhead line, comprising:
[0005] Obtaining a photographing waypoint, and sequentially connecting the beginning and the end of the flight track between two adjacent photographing waypoints to obtain a target approximate line segment of the flight track;
[0006] Calculating the vertical distances from other points on the flight trajectory to the target approximate line segment, and selecting the target deviation point with the largest vertical distance on the aircraft trajectory, wherein the other points are all points on the flight trajectory excluding the first and last ends;
[0007] Determine whether the target vertical distance from the target deviation point to the target approximate line segment is greater than a preset threshold;
[0008] If the target vertical distance is greater than a preset threshold, the target deviation point on the flight trajectory is used as a segmentation point, and the flight trajectory is segmented into a first flight trajectory and a second flight trajectory according to the segmentation point;
[0009] Connecting the segmentation point with the beginning and the end of the flight trajectory respectively to obtain a first approximate line segment corresponding to the first flight trajectory and a second approximate line segment corresponding to the second flight trajectory;
[0010] Selecting a first deviation point and a second deviation point with the largest vertical distance on the first flight trajectory and the second flight trajectory respectively, and determining whether a first vertical distance from the first deviation point to the first approximate line segment is greater than a preset threshold, and whether a second vertical distance from the second deviation point to the second approximate line segment is greater than a preset threshold;
[0011] If the first vertical distance is greater than a preset threshold and / or the second vertical distance is greater than a preset threshold, continue to segment the first flight trajectory and / or the second flight trajectory until the vertical distance from the deviation point with the largest vertical distance to the approximate line segment is no greater than the preset threshold;
[0012] The target deviation point, the first deviation point and the second deviation point are used as obstacle avoidance waypoints between two adjacent photographing waypoints, and all obstacle avoidance waypoints are connected to obtain an inspection route.
[0013] In a second aspect, the present invention provides a distribution overhead line inspection route planning system, comprising:
[0014] An acquisition module is configured to acquire a photographing waypoint and sequentially connect the beginning and end of the flight track between two adjacent photographing waypoints to obtain a target approximate line segment of the flight track;
[0015] A calculation module, configured to calculate the vertical distances from other points on the flight trajectory to the target approximate line segment, and screen out the target deviation point with the largest vertical distance on the aircraft trajectory, wherein the other points are all points on the flight trajectory excluding the first and last ends;
[0016] A first judgment module is configured to judge whether a target vertical distance from the target deviation point to the target approximate line segment is greater than a preset threshold;
[0017] A first segmentation module is configured to use the target deviation point on the flight trajectory as a segmentation point if the target vertical distance is greater than a preset threshold, and segment the flight trajectory into a first flight trajectory and a second flight trajectory according to the segmentation point;
[0018] a line connection module configured to connect the segmentation point with the beginning and the end of the flight trajectory respectively to obtain a first approximate line segment corresponding to the first flight trajectory and a second approximate line segment corresponding to the second flight trajectory;
[0019] a second judgment module, configured to select a first deviation point and a second deviation point with the largest vertical distance on the first flight trajectory and the second flight trajectory, respectively, and to judge whether a first vertical distance from the first deviation point to the first approximate line segment is greater than a preset threshold, and whether a second vertical distance from the second deviation point to the second approximate line segment is greater than a preset threshold;
[0020] a second segmentation module, configured to continue segmenting the first flight trajectory and / or the second flight trajectory until the vertical distance from the deviation point with the largest vertical distance to the approximate line segment is not greater than the preset threshold if the first vertical distance is greater than a preset threshold and / or the second vertical distance is greater than a preset threshold;
[0021] The output module is configured to use the target deviation point, the first deviation point and the second deviation point as obstacle avoidance waypoints between two adjacent photographing waypoints, and connect all obstacle avoidance waypoints to obtain an inspection route.
[0022] According to a third aspect, an electronic device is provided, 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 steps of the method for planning a distribution overhead line inspection route according to any embodiment of the present invention.
[0023] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor executes the steps of the method for planning a distribution overhead line inspection route according to any embodiment of the present invention.
[0024] The distribution overhead line inspection route planning method and system of the present application constructs an application operation platform for autonomous inspection of distribution network drones. For the inspection line, line ledger information can be manually created to form a list of pole tower points. The corresponding pole tower can be selected in the route planning process to realize the associated management of the planned route and the line pole tower, providing basic ledger support for the traceability of inspection pictures and reducing the workload of grassroots data processing. In addition, the drone POS coordinate data is recorded in real time by software, and aerial points are automatically formed in combination with the photo action. The iterative adaptive point algorithm is used to analyze and calculate the obstacle avoidance points of the flight trajectory between two adjacent aerial points generated in sequence during the route planning process, and the distance analysis is performed on all points in the flight trajectory curve in combination with the limit difference threshold, and the key points when the drone turns to fly are retained, and obstacle avoidance waypoints are automatically formed, ultimately forming a safe and efficient distribution line autonomous inspection route planning scheme. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0026] Figure 1 A flow chart of a method for planning a route for inspection of overhead power distribution lines provided in one embodiment of the present invention;
[0027] Figure 2 A structural block diagram of a distribution overhead line inspection route planning system provided by an embodiment of the present invention;
[0028] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] See also Figure 1 , which shows a flow chart of a distribution overhead line inspection route planning method of the present application.
[0031] like Figure 1 As shown, the distribution overhead line inspection route planning method specifically includes the following steps:
[0032] Step S101, obtaining a photographing waypoint, and sequentially connecting the beginning and the end of the flight track between two adjacent photographing waypoints to obtain a target approximate line segment of the flight track;
[0033] Step S102, calculating the vertical distances from other points on the flight trajectory to the target approximate line segment, and selecting the target deviation point with the largest vertical distance on the aircraft trajectory, wherein the other points are all points on the flight trajectory excluding the first and last ends;
[0034] Step S103, determining whether the target vertical distance from the target deviation point to the target approximate line segment is greater than a preset threshold;
[0035] Step S104, if the target vertical distance is greater than a preset threshold, the target deviation point on the flight trajectory is used as a segmentation point, and the flight trajectory is segmented into a first flight trajectory and a second flight trajectory according to the segmentation point;
[0036] Step S105, connecting the segmentation point with the beginning and the end of the flight trajectory respectively to obtain a first approximate line segment corresponding to the first flight trajectory and a second approximate line segment corresponding to the second flight trajectory;
[0037] Step S106, selecting a first deviation point and a second deviation point with the largest vertical distance on the first flight trajectory and the second flight trajectory, respectively, and determining whether a first vertical distance from the first deviation point to the first approximate line segment is greater than a preset threshold, and whether a second vertical distance from the second deviation point to the second approximate line segment is greater than a preset threshold;
[0038] Step S107, if the first vertical distance is greater than a preset threshold and / or the second vertical distance is greater than a preset threshold, continue to segment the first flight trajectory and / or the second flight trajectory until the vertical distance from the deviation point with the largest vertical distance to the approximate line segment is not greater than the preset threshold;
[0039] Step S108, taking the target deviation point, the first deviation point and the second deviation point as obstacle avoidance waypoints between two adjacent photographing waypoints, and connecting all obstacle avoidance waypoints to obtain an inspection route.
[0040] In summary, the method of the present application records the POS coordinate data of the drone in real time through software, automatically forms aerial photography points in combination with the photo-taking action, and uses the iterative adaptive point algorithm to analyze and calculate the obstacle avoidance points of the flight trajectory between two adjacent aerial photography points generated in sequence during the route planning process. Distance analysis is performed on all points in the flight trajectory curve in combination with the limit difference threshold, and the key points when the drone turns to fly are retained, and obstacle avoidance waypoints are automatically formed, ultimately forming a safe and efficient distribution line autonomous inspection route planning scheme.
[0041] In a specific embodiment, the steps include:
[0042] Ledger route association management:
[0043] Manual line ledger information forms line list grid data, and the data information is saved in the basic framework layer database. Before planning the line inspection route, select the tower corresponding to the line, and retrieve the database ledger information in the background to realize the association between the route and the ledger, providing a path for the classification and download of the later inspection pictures.
[0044] Photo waypoint generation:
[0045] The inspection work of distribution lines needs to be combined with the recording of inspection routes. When aerial photography of tower equipment is performed during the inspection, the API data provided in the SDK is automatically called to parse the UAV flight POS data, obtain the latitude and longitude data, body direction, shooting angle, zoom parameters and other information of the UAV aerial photography data, and build the waypoint information for storage.
[0046] The specific parameters and calling instructions are as follows:
[0047] FlightControllerState.getAircraftLocation() obtains the current drone's latitude, longitude and high-level information;
[0048] FlightControllerState.getAttitude.yaw gets the current drone's yaw angle;
[0049] gimbalState.getAttitudeInDegrees().getPitch()Get the current gimbal angle of the drone;
[0050] Obstacle avoidance waypoints are automatically generated:
[0051] During the route recording process, the flight trajectory between the current aerial point and the next aerial point is analyzed for obstacle avoidance waypoints. The iterative adaptive point algorithm is applied to treat the flight trajectory as a series of flight waypoints. After the given curve and calculation threshold, the longitude and latitude and coordinate points in the track are thinned out, retaining a small number of UAV flight turning action parameters and coordinates, and automatically generating obstacle avoidance waypoints.
[0052] Route track extraction:
[0053] The POS coordinates of the drone flight under the RTK signal state are obtained by real-time recording, and the time, longitude, latitude, and altitude information are analyzed. All flight waypoints of two consecutive aerial photography points during the flight are connected to form a curved trajectory with spatial positioning data, which supports the analysis and calculation of key turning waypoints of the trajectory.
[0054] Iterative sparse calculation of trajectory waypoints:
[0055] During the UAV line inspection flight, the line channel is complex. In order to avoid obstacles and take pictures of different equipment hanging points, the UAV needs to make multiple flight turns in the space scene. At this time, there are a large number of redundant geometric data waypoints in the formed route trajectory. How to streamline the trajectory waypoints, analyze and calculate the key disguised waypoints, and ensure the high restoration of the track is the key to the generation of obstacle avoidance points.
[0056] The iterative adaptive point algorithm is used to analyze and calculate the obstacle avoidance points of the flight trajectory between two adjacent aerial photography points generated in sequence during the route planning process. Distance analysis is performed on all points in the flight trajectory curve in combination with the tolerance threshold. Multiple iterative operations are performed until no points can be discarded. Finally, the coordinates of the curve points that meet the given accuracy tolerance are obtained, and the track thinning processing is completed. The points finally retained by the track segment are used as obstacle avoidance waypoints, which retain the route trajectory to the greatest extent, restore the artificial flight trajectory with high precision, and ensure flight safety.
[0057] The specific analysis rules for obstacle avoidance waypoints are as follows:
[0058] Extraction of key segmentation points: Connect the tail ends of the flight trajectory between two adjacent aerial photography points in sequence as the approximate line segment of the curve, calculate the vertical distance from other points on the trajectory to the approximate line segment, find the point with the maximum deviation, and record the maximum distance between the point and the track line;
[0059] Segmented calculation and analysis: If the maximum distance value of the point is greater than the set threshold, the vertical distance deviation point is used as the segmentation point, and the point is connected to the first and last endpoints of the flight trajectory respectively. The maximum distance between each point in the two curve segments and the approximate line segment and the threshold are analyzed. If it is less than, all points between the connecting lines are discarded to complete the data analysis;
[0060] Recursive segmentation calculation: recursively search for the segmentation points of each part of the approximate line segment, and continue the segmentation approximation until the maximum distance value of the midpoint of the sub-segment is less than the threshold;
[0061] Obstacle avoidance waypoints are automatically generated:
[0062] Multiple iterations are performed until there are no more points to discard, and finally the coordinates of the curve points that meet the given accuracy limit are obtained, and the points finally retained by the track segment are used as obstacle avoidance waypoints.
[0063] Inspection route generation:
[0064] After completing the route recording, the aerial photography points and obstacle avoidance points generated in the drone's flight trajectory are connected in sequence, eventually forming a safe and accurate autonomous inspection route for distribution lines.
[0065] In summary, the method of this embodiment realizes the simultaneous implementation of distribution network line inspection operations and route planning, and associates the line ledger with the route information for management, fully utilizes the results of on-site inspection operations, and reduces the route planning workload of grassroots personnel; based on the iterative adaptation point algorithm, the possible obstacles in the flight trajectory between two adjacent waypoints are analyzed, and the key track obstacle avoidance waypoints are automatically generated when the drone turns during flight, and the on-site inspection flight trajectory is basically restored to ensure the safety of route execution; through distribution line route planning and on-site application, the control level requirements of the pilot are reduced, one-click takeoff is achieved, standardized inspection photography is achieved, the quality and efficiency of line inspection work is improved, the application rate of autonomous line inspection is increased, and the large-scale application of autonomous drone inspection is promoted.
[0066] See also Figure 2 , which shows a structural block diagram of a distribution overhead line inspection route planning system of the present application.
[0067] like Figure 2 As shown, the distribution overhead line inspection route planning system 200 includes an acquisition module 210, a calculation module 220, a first judgment module 230, a first segmentation module 240, a connection module 250, a second judgment module 260, a second segmentation module 270 and an output module 280.
[0068] The acquisition module 210 is configured to acquire a photographing waypoint, and sequentially connect the beginning and the end of the flight track between two adjacent photographing waypoints to obtain a target approximate line segment of the flight track;
[0069] The calculation module 220 is configured to calculate the vertical distances from other points on the flight trajectory to the target approximate line segment, and select the target deviation point with the largest vertical distance on the aircraft trajectory, wherein the other points are all points on the flight trajectory excluding the first and last ends;
[0070] A first judgment module 230 is configured to judge whether a target vertical distance from the target deviation point to the target approximate line segment is greater than a preset threshold;
[0071] A first segmentation module 240 is configured to use the target deviation point on the flight trajectory as a segmentation point if the target vertical distance is greater than a preset threshold, and segment the flight trajectory into a first flight trajectory and a second flight trajectory according to the segmentation point;
[0072] A connection module 250 is configured to connect the segmentation point with the beginning and the end of the flight trajectory respectively to obtain a first approximate line segment corresponding to the first flight trajectory and a second approximate line segment corresponding to the second flight trajectory;
[0073] The second judgment module 260 is configured to select a first deviation point and a second deviation point with the largest vertical distance on the first flight trajectory and the second flight trajectory, respectively, and judge whether a first vertical distance from the first deviation point to the first approximate line segment is greater than a preset threshold, and whether a second vertical distance from the second deviation point to the second approximate line segment is greater than a preset threshold;
[0074] The second segmentation module 270 is configured to continue segmenting the first flight trajectory and / or the second flight trajectory until the vertical distance from the deviation point with the largest vertical distance to the approximate line segment is not greater than the preset threshold if the first vertical distance is greater than the preset threshold and / or the second vertical distance is greater than the preset threshold;
[0075] The output module 280 is configured to use the target deviation point, the first deviation point and the second deviation point as obstacle avoidance waypoints between two adjacent photographing waypoints, and connect all obstacle avoidance waypoints to obtain an inspection route.
[0076] It should be understood that Figure 2 Modules and references documented in Figure 1 Therefore, the operations and features described above for the method and the corresponding technical effects are also applicable to Figure 2 The modules in it will not be described in detail here.
[0077] In some other embodiments, the embodiments of the present invention further provide a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor executes the distribution overhead line inspection route planning method in any of the above method embodiments;
[0078] As an implementation mode, the computer-readable storage medium of the present invention stores computer-executable instructions, and the computer-executable instructions are configured as follows:
[0079] Obtaining a photographing waypoint, and sequentially connecting the beginning and the end of the flight track between two adjacent photographing waypoints to obtain a target approximate line segment of the flight track;
[0080] Calculating the vertical distances from other points on the flight trajectory to the target approximate line segment, and selecting the target deviation point with the largest vertical distance on the aircraft trajectory, wherein the other points are all points on the flight trajectory excluding the first and last ends;
[0081] Determine whether the target vertical distance from the target deviation point to the target approximate line segment is greater than a preset threshold;
[0082] If the target vertical distance is greater than a preset threshold, the target deviation point on the flight trajectory is used as a segmentation point, and the flight trajectory is segmented into a first flight trajectory and a second flight trajectory according to the segmentation point;
[0083] Connecting the segmentation point with the beginning and the end of the flight trajectory respectively to obtain a first approximate line segment corresponding to the first flight trajectory and a second approximate line segment corresponding to the second flight trajectory;
[0084] Selecting a first deviation point and a second deviation point with the largest vertical distance on the first flight trajectory and the second flight trajectory respectively, and determining whether a first vertical distance from the first deviation point to the first approximate line segment is greater than a preset threshold, and whether a second vertical distance from the second deviation point to the second approximate line segment is greater than a preset threshold;
[0085] If the first vertical distance is greater than a preset threshold and / or the second vertical distance is greater than a preset threshold, continue to segment the first flight trajectory and / or the second flight trajectory until the vertical distance from the deviation point with the largest vertical distance to the approximate line segment is no greater than the preset threshold;
[0086] The target deviation point, the first deviation point and the second deviation point are used as obstacle avoidance waypoints between two adjacent photographing waypoints, and all obstacle avoidance waypoints are connected to obtain an inspection route.
[0087] The computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the distribution overhead line inspection route planning system, etc. In addition, the computer-readable storage medium may include a high-speed random access memory, and may also include a memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the distribution overhead line inspection route planning system via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0088] Figure 3 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 3 As shown, the device includes: a processor 310 and a memory 320. The electronic device may also include: an input device 330 and an output device 340. The processor 310, the memory 320, the input device 330 and the output device 340 may be connected via a bus or other means. Figure 3The example of connecting via a bus is taken. The memory 320 is the above-mentioned computer-readable storage medium. The processor 310 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 320, that is, the distribution overhead line inspection route planning method of the above-mentioned method embodiment is realized. The input device 330 can receive input digital or character information, and generate key signal input related to user settings and function control of the distribution overhead line inspection route planning system. The output device 340 may include display devices such as display screens.
[0089] The electronic device can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.
[0090] As an implementation mode, the electronic device is applied to a distribution overhead line inspection route planning system, and is used for a client, and includes: at least one processor; and a memory connected to the at least one processor in communication; 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:
[0091] Obtaining a photographing waypoint, and sequentially connecting the beginning and the end of the flight track between two adjacent photographing waypoints to obtain a target approximate line segment of the flight track;
[0092] Calculating the vertical distances from other points on the flight trajectory to the target approximate line segment, and selecting the target deviation point with the largest vertical distance on the aircraft trajectory, wherein the other points are all points on the flight trajectory excluding the first and last ends;
[0093] Determine whether the target vertical distance from the target deviation point to the target approximate line segment is greater than a preset threshold;
[0094] If the target vertical distance is greater than a preset threshold, the target deviation point on the flight trajectory is used as a segmentation point, and the flight trajectory is segmented into a first flight trajectory and a second flight trajectory according to the segmentation point;
[0095] Connecting the segmentation point with the beginning and the end of the flight trajectory respectively to obtain a first approximate line segment corresponding to the first flight trajectory and a second approximate line segment corresponding to the second flight trajectory;
[0096] Selecting a first deviation point and a second deviation point with the largest vertical distance on the first flight trajectory and the second flight trajectory respectively, and determining whether a first vertical distance from the first deviation point to the first approximate line segment is greater than a preset threshold, and whether a second vertical distance from the second deviation point to the second approximate line segment is greater than a preset threshold;
[0097] If the first vertical distance is greater than a preset threshold and / or the second vertical distance is greater than a preset threshold, continue to segment the first flight trajectory and / or the second flight trajectory until the vertical distance from the deviation point with the largest vertical distance to the approximate line segment is no greater than the preset threshold;
[0098] The target deviation point, the first deviation point and the second deviation point are used as obstacle avoidance waypoints between two adjacent photographing waypoints, and all obstacle avoidance waypoints are connected to obtain an inspection route.
[0099] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for planning a route for inspection of a power distribution overhead line, characterized in that: include: Obtaining a photographing waypoint, and sequentially connecting the beginning and the end of the flight track between two adjacent photographing waypoints to obtain a target approximate line segment of the flight track; Calculating the vertical distances from other points on the flight trajectory to the target approximate line segment, and selecting the target deviation point with the largest vertical distance on the aircraft trajectory, wherein the other points are all points on the flight trajectory excluding the first and last ends; Determine whether the target vertical distance from the target deviation point to the target approximate line segment is greater than a preset threshold; If the target vertical distance is greater than a preset threshold, the target deviation point on the flight trajectory is used as a segmentation point, and the flight trajectory is segmented into a first flight trajectory and a second flight trajectory according to the segmentation point; Connecting the segmentation point with the beginning and the end of the flight trajectory respectively to obtain a first approximate line segment corresponding to the first flight trajectory and a second approximate line segment corresponding to the second flight trajectory; Selecting a first deviation point and a second deviation point with the largest vertical distance on the first flight trajectory and the second flight trajectory respectively, and determining whether a first vertical distance from the first deviation point to the first approximate line segment is greater than a preset threshold, and whether a second vertical distance from the second deviation point to the second approximate line segment is greater than a preset threshold; If the first vertical distance is greater than a preset threshold and / or the second vertical distance is greater than a preset threshold, continue to segment the first flight trajectory and / or the second flight trajectory until the vertical distance from the deviation point with the largest vertical distance to the approximate line segment is no greater than the preset threshold; The target deviation point, the first deviation point and the second deviation point are used as obstacle avoidance waypoints between two adjacent photographing waypoints, and all obstacle avoidance waypoints are connected to obtain an inspection route.
2. A method for planning a route for inspection of a power distribution overhead line according to claim 1, characterized in that: Before sequentially connecting the beginning and the end of the flight track between two adjacent photographing waypoints to obtain a target approximate line segment of the flight track, the method further includes: The POS coordinates of the drone flight under the RTK signal state are obtained by real-time recording, parsing the time, longitude, latitude, and altitude information, and connecting all the flight waypoints of two consecutive aerial photography points during the flight to form a curved trajectory with spatial positioning data, that is, the flight trajectory.
3. A method for planning a route for inspection of a power distribution overhead line according to claim 1, characterized in that: After determining whether the target vertical distance from the target deviation point to the target approximate line segment is greater than a preset threshold, the method further includes: If the vertical distance to the target is not greater than the preset threshold, there is no obstacle avoidance waypoint between two adjacent photo waypoints.
4. A method for planning a route for inspection of a power distribution overhead line according to claim 1, characterized in that: After determining whether a first vertical distance from the first deviation point to the first approximate line segment is greater than a preset threshold, and whether a second vertical distance from the second deviation point to the second approximate line segment is greater than a preset threshold, the method further includes: If the first vertical distance is not greater than the preset threshold and the second vertical distance is not greater than the preset threshold, the target deviation point is directly used as an obstacle avoidance waypoint between two adjacent photographing waypoints.
5. A distribution overhead line inspection route planning system, characterized in that: include: An acquisition module is configured to acquire a photographing waypoint and sequentially connect the beginning and end of the flight track between two adjacent photographing waypoints to obtain a target approximate line segment of the flight track; A calculation module, configured to calculate the vertical distances from other points on the flight trajectory to the target approximate line segment, and screen out the target deviation point with the largest vertical distance on the aircraft trajectory, wherein the other points are all points on the flight trajectory excluding the first and last ends; A first judgment module is configured to judge whether a target vertical distance from the target deviation point to the target approximate line segment is greater than a preset threshold; A first segmentation module is configured to use the target deviation point on the flight trajectory as a segmentation point if the target vertical distance is greater than a preset threshold, and segment the flight trajectory into a first flight trajectory and a second flight trajectory according to the segmentation point; a line connection module configured to connect the segmentation point with the beginning and the end of the flight trajectory respectively to obtain a first approximate line segment corresponding to the first flight trajectory and a second approximate line segment corresponding to the second flight trajectory; a second judgment module, configured to select a first deviation point and a second deviation point with the largest vertical distance on the first flight trajectory and the second flight trajectory, respectively, and to judge whether a first vertical distance from the first deviation point to the first approximate line segment is greater than a preset threshold, and whether a second vertical distance from the second deviation point to the second approximate line segment is greater than a preset threshold; a second segmentation module, configured to continue segmenting the first flight trajectory and / or the second flight trajectory until the vertical distance from the deviation point with the largest vertical distance to the approximate line segment is not greater than the preset threshold if the first vertical distance is greater than a preset threshold and / or the second vertical distance is greater than a preset threshold; The output module is configured to use the target deviation point, the first deviation point and the second deviation point as obstacle avoidance waypoints between two adjacent photographing waypoints, and connect all obstacle avoidance waypoints to obtain an inspection route.
6. An electronic device, characterized in that: include: 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 to enable the at least one processor to perform the method described in any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Cited By
Method and device for detecting flight path of unmanned aerial vehicle
CN119200669A
