Method and device for generating inspection route of unmanned aerial vehicle, computer equipment, readable storage medium and program product
By accurately calculating the intermediate position and height information of the two-base towers and adjusting the drone waypoint, the point cloud hollowing problem caused by ground sag during large-range transmission lines is solved, and data acquisition accuracy and tree barrier analysis are improved accuracy.
Patent Information
- Application Number
- CN202411243068.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-11-29
AI Technical Summary
During the inspection of large-range transmission lines, ground line sag results in point cloud hollowing problems during the drone lidar scanning, affecting the accuracy of tree barrier analysis.
By accurately calculating the intermediate position information and intermediate height information of the two adjacent base towers in front and behind, considering the impact of the sag, adjusting the initial waypoint information, generating a drone inspection route, ensuring that the drone flies along the ground line of the transmission line, And increase the high safety margin to generate routes to reduce point cloud hollowing.
It improves the data acquisition accuracy during drone inspection, reduces data loss or error caused by position deviation, ensures no omissions in the entire inspection area, and improves the accuracy of tree barrier analysis.
Smart Images

Figure CN119043334A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power inspection technology, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for generating an unmanned aerial vehicle inspection route. Background Art
[0002] As the power grid continues to expand, inspections of large-span transmission lines have become a key link in ensuring the safe and stable operation of the power grid. In order to ensure the reliability of these transmission lines, inspections usually include the use of high-tech means, such as drone inspections, to monitor the status of transmission lines in real time and identify potential problems.
[0003] In the traditional inspection method, the route is mainly generated by connecting the position information of the top centers of the two towers in front and behind with the height safety margin. However, in the inspection of large-span transmission lines, the ground wire sag will cause the problem of point cloud hollowing when the drone performs laser radar scanning according to the traditional route, affecting the accuracy of tree obstacle analysis, and there is a technical problem of low accuracy of tree obstacle analysis. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for generating a drone inspection route in response to the above-mentioned technical problems.
[0005] In a first aspect, the present application provides a method for generating a drone inspection route, comprising:
[0006] For any two adjacent pole towers, determine the intermediate position information and intermediate height information corresponding to the span between any two adjacent pole towers;
[0007] According to the intermediate position information and the intermediate height information, initial waypoint information corresponding to any two adjacent pole towers is obtained;
[0008] Based on a height safety margin, a slight adjustment is made to the initial waypoint information to obtain target waypoint information;
[0009] Obtaining the tower top center position information corresponding to any two adjacent pole towers, and obtaining the starting point information and the end point information of the drone inspection route according to the tower top center position information;
[0010] According to the starting point information, the target waypoint information and the end point information, the height safety margin is increased in the order of the waypoints to generate the drone inspection route.
[0011] In one embodiment, determining the intermediate position information and intermediate height information corresponding to two adjacent pole towers includes:
[0012] The average values of the longitude and latitude of the tower tops corresponding to the two adjacent pole towers are obtained, and the average value of the longitude and latitude of the tower tops is used as the intermediate position information; the average value of the tower top heights corresponding to the two adjacent pole towers and the ground wire sag values of the two adjacent pole towers at the target spacing are obtained, and the intermediate height information is obtained according to the difference between the average value of the tower top heights and the ground wire sag value.
[0013] In one embodiment, obtaining the initial waypoint information corresponding to the two adjacent pole towers according to the intermediate position information and the intermediate height information includes:
[0014] According to the intermediate position information and the intermediate height information, a corresponding target point is identified in the regional map; the coordinate information of the target point in the current coordinate system in the regional map is determined; and according to the coordinate information, the initial waypoint information corresponding to the two adjacent towers is generated.
[0015] In one embodiment, the step of making a slight adjustment to the initial waypoint information based on a height safety margin to obtain the target waypoint information includes:
[0016] Determine an initial altitude value included in the initial waypoint information; based on the altitude safety margin, make a slight adjustment to the initial altitude value to obtain a target altitude value; and obtain the target waypoint information according to the target altitude value.
[0017] In one embodiment, the generating the UAV inspection route by increasing the height safety margin in the order of the waypoints according to the starting point information, the target waypoint information and the end point information includes:
[0018] Determine the sequential connection sequence of the starting point information, the target waypoint information and the end point information; according to the sequential connection sequence, add a height safety margin to the starting point information, the target waypoint information and the end point information, and then connect and integrate them to obtain the UAV inspection route.
[0019] In one embodiment, the method further comprises:
[0020] Obtain identification information corresponding to the two adjacent pole towers and the span, and match the corresponding target information entry in the route information library according to the identification information; perform a drone simulation inspection test on the drone inspection route; if the test result of the drone simulation inspection test passes, enter the route information corresponding to the drone inspection route into the target information entry.
[0021] In a second aspect, the present application also provides a device for generating a drone inspection route, comprising:
[0022] An information determination module is used to determine the middle position information and middle height information of the span corresponding to any two adjacent pole towers and the span corresponding to any two adjacent pole towers;
[0023] A waypoint generating module, used for obtaining the initial waypoint information corresponding to the two adjacent pole towers according to the intermediate position information and the intermediate height information;
[0024] A waypoint adjustment module, used to make a slight adjustment to the initial waypoint information based on a height safety margin to obtain target waypoint information;
[0025] An information acquisition module is used to obtain the tower top center position information corresponding to any two adjacent pole towers, and obtain the starting point information and the end point information of the UAV inspection route according to the tower top center position information;
[0026] The route generation module is used to generate the UAV inspection route by increasing the height safety margin in the order of the waypoints according to the starting point information, the target waypoint information and the end point information.
[0027] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0028] For any two adjacent pole towers, determine the middle position information and middle height information of the two adjacent pole towers; obtain the initial waypoint information corresponding to the two adjacent pole towers based on the middle position information and the middle height information; make a slight adjustment to the initial waypoint information based on the height safety margin to obtain the target waypoint information; obtain the tower top center position information corresponding to the two adjacent pole towers, and obtain the starting point information and end point information of the UAV inspection route based on the tower top center position information; according to the starting point information, the target waypoint information and the end point information, increase the height safety margin in the order of the waypoints to generate the UAV inspection route.
[0029] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0030] For any two adjacent pole towers, determine the middle position information and middle height information of the two adjacent pole towers; obtain the initial waypoint information corresponding to the two adjacent pole towers based on the middle position information and the middle height information; make a slight adjustment to the initial waypoint information based on the height safety margin to obtain the target waypoint information; obtain the tower top center position information corresponding to the two adjacent pole towers, and obtain the starting point information and end point information of the UAV inspection route based on the tower top center position information; according to the starting point information, the target waypoint information and the end point information, increase the height safety margin in the order of the waypoints to generate the UAV inspection route.
[0031] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0032] For any two adjacent pole towers, determine the middle position information and middle height information of the pair of adjacent pole towers; obtain initial waypoint information corresponding to the pair of pole towers based on the middle position information and the middle height information; make slight adjustments to the initial waypoint information based on the height safety margin to obtain target waypoint information; obtain the tower top center position information corresponding to the two adjacent pole towers, and obtain the starting point information and end point information of the UAV inspection route based on the tower top center position information; according to the starting point information, the target waypoint information and the end point information, increase the height safety margin in the order of waypoints to generate the UAV inspection route.
[0033] The above-mentioned method, device, computer equipment, computer-readable storage medium and computer program product for generating the inspection route of the unmanned aerial vehicle accurately calculates the intermediate position information and intermediate height information of the two adjacent pole tower pairs, and adjusts them by considering the influence of sag, and then slightly adjusts the initial waypoint information based on the height safety margin, and finally generates the inspection route of the unmanned aerial vehicle by increasing the height safety margin in the order of the waypoints according to the starting point information, the target waypoint information and the end point information. This technical solution can ensure that the unmanned aerial vehicle more accurately flies along the ground line of the transmission line and maintains a certain safety margin during the inspection process, and helps to improve the accuracy of data collection and reduce data loss or errors caused by position deviation. In addition, this technical solution generates the target waypoint information of the flat ground line at the target span and between the two ground lines, and respectively increases the height safety margin for the starting point information, the target waypoint information and the end point information, and then connects them to generate the inspection route of the unmanned aerial vehicle, so that the unmanned aerial vehicle can fly along the preset route, ensure that the entire inspection area is scanned without omission, effectively reduce the phenomenon of point cloud hollowing, and thus improve the accuracy of tree obstacle analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0035] FIG1 is an application environment diagram of a method for generating a drone inspection route in one embodiment;
[0036] Figure 2 Schematic diagram of a flow chart of a method for generating a drone inspection route in one embodiment;
[0037] Figure 3 A schematic diagram of a process for determining initial waypoint information in one embodiment;
[0038] Figure 4 It is a flowchart of a method for generating a drone inspection route in a specific embodiment;
[0039] Figure 5 A schematic diagram of a flow chart of a method for generating a drone inspection route in an application embodiment;
[0040] Figure 6 It is a structural block diagram of a device for generating a drone inspection route in one embodiment;
[0041] FIG. 7 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] The method for generating a drone inspection route provided in an embodiment of the present application can be applied in an application environment as shown in FIG1 . The terminal communicates with the server through a network. The data storage system can store data that the server needs to process. The data storage system can be integrated on the server, or placed on a cloud or other network server.
[0044] Specifically, the method for generating a drone inspection route provided in an embodiment of the present application can be executed by a server.
[0045] Exemplarily, the server determines the middle position information and middle height information of the two adjacent towers in front and behind; the server obtains the initial waypoint information corresponding to the two adjacent towers based on the middle position information and the middle height information; the server makes a slight adjustment to the initial waypoint information based on the height safety margin to obtain the target waypoint information; the server obtains the tower top center position information corresponding to the two adjacent towers in front and behind, and obtains the starting point information and end point information of the UAV inspection route based on the tower top center position information; the server adds the height safety margin to the starting point information, the target waypoint information and the end point information based on the starting point information, the end point information and the target waypoint information, and then generates a UAV inspection route.
[0046] In the application environment shown in FIG1 , the terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers. The server may be implemented as an independent server or a server cluster consisting of multiple servers.
[0047] In one embodiment, Figure 2 As shown, a method for generating a drone inspection route is provided, and the method is applied to the server in FIG1 as an example for explanation, including the following steps:
[0048] Step S201, for two adjacent pole towers in front and behind, determine the intermediate position information corresponding to the two adjacent pole towers, the average value of the tower top height at the intermediate position and the ground wire sag value corresponding to the intermediate position span, and subtract the average value of the tower top height at the intermediate position from the ground wire sag value corresponding to the intermediate position span to obtain the intermediate height information.
[0049] Among them, the base tower is the supporting structure of the overhead line, ensuring the safe suspension of the conductors and lightning conductors, withstanding various external forces, and ensuring stable power transmission.
[0050] The intermediate location information may include longitude information, latitude information, and the like.
[0051] Specifically, for two adjacent towers in front and behind, the server takes the average longitude and latitude of the tower tops of the two towers as the intermediate position information, and calculates the intermediate height information based on the average tower top heights of the two adjacent towers and the ground wire sag value at the corresponding target spacing.
[0052] Step S202: obtaining initial waypoint information corresponding to two adjacent towers according to the intermediate position information and the intermediate height information.
[0053] The initial waypoint information may be coordinate information corresponding to the target point in the current coordinate system of the regional map.
[0054] Specifically, the server identifies the corresponding target point in the regional map based on the intermediate position information and the intermediate height information; determines the coordinate information of the target point in the current coordinate system of the regional map; and generates initial waypoint information corresponding to two adjacent towers based on the coordinate information.
[0055] Step S203, based on the height safety margin, slightly adjust the initial waypoint information to obtain the target waypoint information.
[0056] Among them, the height safety margin refers to the extra height space reserved to ensure that the waypoint is basically level with the ground line of the corresponding point.
[0057] Specifically, the server adds a small height safety margin to the initial waypoint information to obtain the sum of the initial waypoint information and the height safety margin as the target waypoint information.
[0058] Step S204, obtaining the tower top center position information of two adjacent tower pairs, and obtaining the starting point information and the end point information of the drone inspection route based on the tower top center position information.
[0059] The tower top center position information may include the longitude and latitude information and height information of the tower top centers of the two towers.
[0060] Specifically, the server obtains the longitude and latitude information and height information at the centers of the tops of two adjacent towers, and uses the longitude and latitude information and height information at the centers of the tops of the two front and rear towers as the starting point and end point to obtain the starting point information and end point information of the drone inspection route.
[0061] Step S205, generating a drone inspection route after increasing the height safety margin according to the starting point information, the target waypoint information and the end point information.
[0062] Among them, the drone inspection route not only takes into account the actual position and sag of the ground wire, but also ensures that the drone can inspect along the optimal path.
[0063] Specifically, after the server determines the starting point information, target waypoint information and end point information, it automatically increases the height safety margin; in accordance with the order of connection, the starting point information, target waypoint information and end point information are connected and integrated to obtain the drone inspection route.
[0064] In the above-mentioned method for generating the inspection route of the UAV, the intermediate position information and intermediate height information corresponding to the two adjacent pole towers are accurately calculated, and the influence of sag is considered for adjustment. Then, the initial waypoint information is slightly adjusted based on the height safety margin to obtain the target waypoint information. Finally, according to the starting point information, the end point information and the target waypoint information, the height safety margin is increased in the order of the waypoints to generate the inspection route of the UAV. This technical solution can ensure that the UAV flies more accurately along the ground line of the transmission line during the inspection process, and helps to improve the accuracy of data collection and reduce data loss or errors caused by position deviation. In addition, by generating the target waypoint information of the flat ground line at the target span and between the two ground lines, and connecting to generate the inspection route of the UAV, the UAV can fly along the preset route, ensuring that the entire inspection area is scanned without omission, effectively reducing the phenomenon of point cloud hollowing, and thus improving the accuracy of tree obstacle analysis.
[0065] In one embodiment, in the above step S201, determining the intermediate position information and intermediate height information of two adjacent pole tower pairs specifically includes the following steps:
[0066] The average values of the longitude and latitude of the tower tops corresponding to the two adjacent towers are obtained, and the average values of the longitude and latitude of the tower tops are used as the intermediate position information; the average values of the tower top heights of the two adjacent tower pairs and the ground wire sag values of the two adjacent towers at the target spacing are obtained, and the intermediate height information is obtained according to the difference between the average values of the tower top heights and the ground wire sag values.
[0067] Among them, the ground wire sag value refers to the vertical distance from any point on the ground wire suspension curve to the line connecting the suspension points on both sides, reflecting the degree of conductor suspension.
[0068] Specifically, the server obtains the average latitude and longitude of the tops of the two towers in front and behind, and accurately calculates the theoretical latitude and longitude position on the ground at 1 / 2 span. This method is simple and effective, and can quickly and accurately locate the area that needs to be inspected. After obtaining the theoretical height (i.e., the average height of the two towers in front and behind), the influence of the ground sag is further considered, and the ground sag value at 1 / 2 span is subtracted from the height to obtain a flat ground height that is closer to the actual situation. This step ensures that the drone can fly close to the ground during the inspection process to avoid missing important information.
[0069] In one embodiment, if Figure 3 As shown, in the above step S202, initial waypoint information corresponding to two adjacent towers is obtained according to the intermediate position information and the intermediate height information, which specifically includes the following steps:
[0070] Step S301, identifying a corresponding target point in the area map according to the intermediate position information and the intermediate height information.
[0071] Step S302, determining the coordinate information of the target point in the current coordinate system of the regional map.
[0072] Step S303: generating initial waypoint information corresponding to two adjacent towers according to the coordinate information.
[0073] Specifically, the server identifies the corresponding target point in the regional map based on the intermediate position information and the intermediate height information calculated above, and determines the coordinate information of the target point in the current coordinate system of the regional map; and then generates the initial waypoint information corresponding to the two adjacent towers according to the coordinate information. These waypoint information can ensure that the drone can fly along the preset path during the inspection process and cover the entire area that needs to be inspected.
[0074] In one embodiment, in the above step S203, adjusting the initial waypoint information based on the height safety margin to obtain the target waypoint information specifically includes the following steps:
[0075] Determine an initial altitude value included in the initial waypoint information; based on an altitude safety margin, make a slight adjustment to the initial altitude value to obtain a target altitude value; and obtain target waypoint information based on the target altitude value.
[0076] Among them, the height safety margin is an important consideration in design and engineering, which can be set according to actual needs, such as 0.5 meters.
[0077] Specifically, the server determines an initial altitude value included in the initial waypoint information; calculates the sum of the initial altitude value and the altitude safety margin as a target altitude value; and obtains the target waypoint information according to the target altitude value.
[0078] In one embodiment, in the above step S205, generating a drone inspection route according to the starting point information, the target waypoint information and the end point information specifically includes the following steps:
[0079] Determine the sequential connection sequence of the starting point information, target waypoint information, and end point information; connect and integrate the starting point information, target waypoint information, and end point information according to the sequential connection sequence, and increase the height safety margin according to the waypoint sequence to obtain the UAV inspection route.
[0080] Among them, the height safety margin is a consideration to ensure the safe flight of the drone, which can be set according to actual needs, such as 25 meters.
[0081] Specifically, the server determines the sequential connection sequence of the starting point information, the target waypoint information, and the end point information; according to the sequential connection sequence, the starting point information, the target waypoint information, and the end point information are highly adjusted and connected and integrated to obtain the drone inspection route.
[0082] For example, the server may connect the longitude and latitude information of the center point of the top of the two base towers and the longitude and latitude information at the 1 / 2 span in sequence to form a route, thereby successfully drawing a large span route.
[0083] This embodiment effectively solves the difficult problems in UAV laser radar inspection of large-span transmission lines through innovative calculation methods and route planning strategies.
[0084] In one embodiment, after generating the drone inspection route according to the starting point information, the target waypoint information and the end point information, the method of the present application further includes the following steps:
[0085] Obtain identification information of two adjacent pole tower pairs, and match corresponding target information entries in the route information library according to the identification information; perform a drone simulation inspection test on the drone inspection route; if the test result of the drone simulation inspection test passes, enter the route information corresponding to the drone inspection route into the target information entry.
[0086] Among them, information entries generally refer to short information units arranged according to certain rules.
[0087] Specifically, the server obtains the identification information of two adjacent tower pairs, and matches the corresponding target information entry in the route information library according to the identification information; then performs a drone simulation inspection test on the drone inspection route; when it is identified that the test result of the drone simulation inspection test passes, the route information corresponding to the drone inspection route is entered into the target information entry.
[0088] In this embodiment, the corresponding target information entry in the route information library is matched according to the identification information, and when the test result of the drone simulation inspection test is passed, the route information corresponding to the drone inspection route is entered into the target information entry. Therefore, the route information corresponding to the drone inspection route is entered into the route information library in a regular and orderly manner based on the identification information, which is conducive to the efficient storage and utilization of the route information.
[0089] In one embodiment, Figure 4 As shown, a method for generating a drone inspection route in a specific embodiment is provided, which specifically includes the following steps:
[0090] Step S401, for two adjacent pole towers, obtain the average longitude and latitude of the tower tops of the pole tower pair, and use the average longitude and latitude of the tower tops as the intermediate position information; obtain the average tower top height of the pole tower pair and the ground wire sag value at the target span corresponding to the tower, and obtain the intermediate height information according to the difference between the average tower top height and the sag value.
[0091] Step S402, identifying the corresponding target point in the regional map according to the intermediate position information and the intermediate height information; determining the coordinate information of the target point in the current coordinate system of the regional map; and generating initial waypoint information corresponding to two adjacent towers according to the coordinate information.
[0092] Step S403, determining the initial altitude value included in the initial waypoint information; making a slight adjustment to the initial altitude value based on the altitude safety margin to obtain a target altitude value; and obtaining the target waypoint information according to the target altitude value.
[0093] Step S404, determine the corresponding connection sequence of the starting point information, the end point information and the target waypoint information; according to the connection sequence, adjust the starting point information, the end point information and the target waypoint information with a high safety margin and connect and integrate them to obtain the drone inspection route.
[0094] Step S405, obtain the identification information corresponding to the two adjacent towers, and match the corresponding target information entry in the route information library according to the identification information; perform a drone simulation inspection test on the drone inspection route; if the test result of the drone simulation inspection test passes, enter the route information corresponding to the drone inspection route into the target information entry.
[0095] The beneficial effects brought by the above embodiments are as follows:
[0096] This solution uses the longitude and latitude and height information at the center of the top of the two adjacent towers as the starting point and end point, and combines the waypoint information of the flat ground line at the 1 / 2 span and between the two ground lines to generate a complete inspection route. This route takes into account the actual position and sag of the ground line, and increases the safety margin to ensure that the drone can inspect along the optimal path. In addition, through the above route planning and waypoint setting, the drone can fly more closely following the ground line during the inspection process, effectively reducing the problem of point cloud hollowing caused by sag. It not only improves the integrity and accuracy of data collection, but also provides more reliable data support for subsequent line analysis and maintenance.
[0097] In one embodiment, Figure 5 As shown, a method for generating a drone inspection route in an application embodiment is provided, which specifically includes the following steps:
[0098] Step 1: Find the middle position:
[0099] Find the middle position by longitude: add up the longitudes of the two towers, then divide by 2 to accurately calculate the theoretical longitude position on the ground at 1 / 2 span; find the middle position by latitude: use the same method, add up the latitudes and divide by 2 to accurately calculate the theoretical latitude position on the ground at 1 / 2 span.
[0100] Step 2: Calculate the middle height:
[0101] Take the average height: add up the heights of the tops of the two towers and divide by 2 to accurately calculate the height information at 1 / 2 span when the sag is not reduced; calculate the ground wire sag at 1 / 2 span according to the formula based on the tower ledger information; use the height information at 1 / 2 span when the sag is not reduced minus the sag value to get a height that is closer to the actual ground line.
[0102] Step 3: Generate waypoints:
[0103] The birth of a waypoint: With the longitude, latitude and altitude of the horizon, you can mark this point on the map and generate the longitude, latitude and altitude coordinates at 1 / 2 span.
[0104] Step 4: Draw the route:
[0105] Add a height margin: In order to make the drone fly more safely, it is necessary to add a little bit of "insurance" to the height of each waypoint (that is, add 25 meters more); connect the lines into a route: Finally, connect the longitude and latitude information of the center point of the top of the two towers and the longitude and latitude information at 1 / 2 span in sequence into a route, and a large span route is successfully drawn.
[0106] The beneficial effects brought by the above embodiments are as follows:
[0107] 1) Improve inspection accuracy: By accurately calculating the latitude, longitude and altitude information at 1 / 2 span and adjusting it considering the influence of sag, this technical solution can ensure that the drone flies more accurately along the ground line of the transmission line during the inspection process. This helps to improve the accuracy of data collection and reduce data loss or errors caused by position deviation.
[0108] 2) Reduce point cloud hollowing: The point cloud hollowing problem is a major problem in the inspection of large-span transmission lines. It is mainly due to the sag that makes it difficult for drones to fly close to the ground line, thus missing data collection in some areas. This technical solution effectively solves this problem by generating waypoint information between the two ground lines at the 1 / 2 span, and connecting them to generate a route. The drone can fly along the preset route to ensure that the entire inspection area is scanned without omission, reducing the point cloud hollowing phenomenon.
[0109] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0110] Based on the same inventive concept, the embodiment of the present application also provides a device for generating a drone inspection route for implementing the above-mentioned method for generating a drone inspection route. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiments of the device for generating one or more drone inspection routes provided below can refer to the limitations of the method for generating a drone inspection route above, and will not be repeated here.
[0111] In an exemplary embodiment, Figure 6 As shown, a device for generating a drone inspection route is provided, comprising:
[0112] The information determination module 601 is used to determine the intermediate position information and intermediate height information corresponding to any two adjacent pole towers;
[0113] A waypoint generating module 602 is used to obtain initial waypoint information corresponding to the base tower pair according to the intermediate position information and the intermediate height information;
[0114] The waypoint adjustment module 603 is used to make a slight adjustment to the initial waypoint information based on the height safety margin to obtain the target waypoint information;
[0115] The information acquisition module 604 is used to obtain the tower top center position information corresponding to two adjacent towers, and obtain the starting point information and the end point information of the UAV inspection route according to the tower top center position information;
[0116] The route generation module 605 is used to automatically set the height safety margin value to adjust and generate the drone inspection route according to the starting point information, the target waypoint information and the end point information.
[0117] In one embodiment, the information determination module 601 is also used to obtain the average longitude and latitude of the tower tops corresponding to two adjacent towers, and use the average longitude and latitude of the tower tops as the intermediate position information; obtain the average tower top heights of two adjacent tower pairs and the sag value of the two adjacent towers at the target spacing, and obtain the intermediate height information based on the average tower top heights and the ground wire sag value.
[0118] In one embodiment, the waypoint generation module 602 is also used to identify the corresponding target point in the regional map based on the intermediate position information and the intermediate height information; determine the coordinate information of the target point in the current coordinate system of the regional map; and generate initial waypoint information corresponding to two adjacent towers based on the coordinate information.
[0119] In one embodiment, the waypoint adjustment module 603 is further used to determine an initial altitude value included in the initial waypoint information; based on the altitude safety margin, slightly adjust the initial altitude value to obtain a target altitude value; and obtain the target waypoint information according to the target altitude value.
[0120] In one embodiment, the route generation module 605 is also used to determine the connection sequence corresponding to the starting point information, the target waypoint information and the end point information; automatically set the height safety margin value adjustment, and connect and integrate the starting point waypoint information, the target waypoint information and the end point waypoint information according to the connection sequence to obtain the drone inspection route.
[0121] In one embodiment, the device for generating a drone inspection route also includes an information storage module, which is used to obtain identification information of two adjacent tower pairs, and match the corresponding target information entry in the route information library according to the identification information; perform a drone simulation inspection test on the drone inspection route; and when the test result of the drone simulation inspection test passes, enter the route information corresponding to the drone inspection route into the target information entry.
[0122] Each module in the above-mentioned UAV inspection route generation device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0123] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG7. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store route data corresponding to the unmanned aerial vehicle inspection route. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for generating a drone inspection route is implemented.
[0124] Those skilled in the art will understand that the structure shown in FIG. 7 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0125] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0126] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0127] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0128] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0129] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0130] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0131] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for generating a drone inspection route, characterized in that: The method comprises: For two adjacent pole towers, determining the intermediate position information and intermediate height information corresponding to the two pole towers; According to the intermediate position information and the intermediate height information, initial waypoint information corresponding to the intermediate distance between the two towers is obtained by ground line sag calculation; Based on a height safety margin, a slight adjustment is made to the initial waypoint information to obtain target waypoint information; Obtaining the center position information of the tops of the two pole towers, and obtaining the starting point information and the end point information of the inspection route of the UAV according to the center position information of the tops of the two adjacent pole towers; According to the starting point information, the target waypoint information and the end point information, the same height safety margin is added in the order of the waypoints to generate the drone inspection route.
2. The method according to claim 1, characterized in that: The determining of the intermediate position information and intermediate height information corresponding to the two pole towers includes: Obtaining the average longitude and latitude of the tops of the two towers, and using the average longitude and latitude of the tops of the towers as the intermediate position information; The average value of the tower top heights of the two towers and the ground wire sag values corresponding to the two towers at the target span are obtained, and the intermediate height information is obtained by subtracting the average value of the tower top heights from the ground wire sag values.
3. The method according to claim 1, characterized in that The initial waypoint information corresponding to the intermediate distance between the two towers is obtained by calculating the ground line sag according to the intermediate position information and the intermediate height information, including: According to the intermediate position information and the intermediate height information, identifying a corresponding target point in the area map; Determine the coordinate information of the target point in the current coordinate system of the regional map; The initial waypoint information corresponding to the two towers is generated according to the coordinate information.
4. The method according to claim 1, characterized in that: The method of making a slight adjustment to the initial waypoint information based on the height safety margin to obtain the target waypoint information includes: Determining an initial altitude value included in the initial waypoint information; Based on the height safety margin, a slight adjustment is made to the initial height value to obtain a target height value; The target waypoint information is obtained according to the target altitude value.
5. The method according to claim 1, characterized in that The method of generating the inspection route of the UAV by respectively increasing the same height safety margin according to the order of the waypoints according to the starting point information, the target waypoint information and the end point information includes: Determine the order in which the starting point information, the target waypoint information and the end point information are connected; According to the sequential connection sequence, the starting point information, the target waypoint and the end point information are connected and integrated, and the same height safety margin is added respectively according to the waypoint sequence to obtain the UAV inspection route.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Obtain identification information of the two towers and the corresponding spans, and match corresponding target information entries in a route information database according to the identification information; Conducting a drone simulation inspection test on the drone inspection route; When the test result of the drone simulation inspection test passes, the route information corresponding to the drone inspection route is entered into the target information entry.
7. A device for generating a drone inspection route, characterized in that: The device comprises: An information determination module, for determining, for any two adjacent pole towers and corresponding spans, intermediate position information and intermediate height information of any two adjacent pole towers; A waypoint generation module, used for obtaining initial waypoint information corresponding to any two adjacent pole towers according to the intermediate position information and the intermediate height information; A waypoint adjustment module, used to make a slight adjustment to the initial waypoint information based on a height safety margin to obtain target waypoint information; An information acquisition module is used to obtain the tower top center position information corresponding to any two adjacent pole towers, and obtain the starting point information and the end point information of the UAV inspection route according to the tower top center position information corresponding to any two adjacent pole towers; The route generation module is used to generate the UAV inspection route by increasing the height safety margin in the order of the waypoints according to the starting point information, the target waypoint information and the end point information.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
