A method and device for generating a route

By determining the anchor points and pole hanging points on the conductors and ground lines, and generating route points, the problem of long time-consuming drone line patrols and inability to conduct autonomous inspections is solved, achieving fully autonomous inspections and improving efficiency.

CN112990732BActive Publication Date: 2024-10-29BEIJING YUHANG INTELLIGENT TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110330484.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-23
Publication Date
2024-10-29
Estimated Expiration
2041-03-23

AI Technical Summary

Technical Problem

Existing drone line inspection technology is time-consuming and cannot achieve fully autonomous inspection. In particular, image records cannot be saved in full files on conductors and ground lines, and route planning cannot be performed in some environments.

Method used

By determining the anchor points on the wires and ground wires, and combining the tower hanging points and template hanging points, route points are generated to realize fully autonomous inspection of the drone and reduce operation time.

Benefits of technology

It realizes fully autonomous inspection of drones, reduces the time spent on actual operations, and improves inspection efficiency. It is suitable for inspection of wires and ground wires.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112990732B_ABST
    Figure CN112990732B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for generating a route, the method comprising: determining the anchor point in each section of the conductor and the ground wire; determining the route point on the route where the drone is located according to the hanging point of the pole tower, the template hanging point and the anchor point; generating the route according to the hanging point of the pole tower, the template hanging point and the route point. The scheme of the present invention can realize the fully autonomous inspection of the drone, reducing the actual operation time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of unmanned aerial vehicles, and in particular to a method and device for generating a route. Background Art

[0002] At present, multi-rotor drones have become an extension of the inspection personnel's vision and movements, and have become a handy tool. However, in daily line inspection operations, they still mainly rely on manual line climbing. Through manual line climbing, group inspections are carried out. A group of 10 people can inspect 6-7 wires per day. This method involves a large number of people and takes a long time. In addition, the inspection process cannot save the image records in full, and omissions may occur. At the same time, ground wires do not support line climbing inspections.

[0003] There are two main methods of autonomous line patrol currently used:

[0004] 1. Install a laser radar on the drone:

[0005] The laser radar on the drone is used for distance control and real-time positioning of the distance to the wire, thereby achieving autonomous line patrol operations.

[0006] This method requires the combination of laser radar, which not only reduces the drone's flight time, but also increases the cost of the drone itself.

[0007] 2. Inspection route planning through the established 3D point cloud:

[0008] The route is planned using the pre-established three-dimensional point cloud, and then the planned route is sent to the drone for autonomous flight.

[0009] This method requires a 3D point cloud reconstruction operation for the entire route, which is a large workload. In addition, some routes located above water areas cannot establish a complete 3D point cloud and route planning cannot be performed. Summary of the invention

[0010] The technical problem to be solved by the present invention is how to provide a method and device for generating a route, which can realize fully autonomous inspection of drones and reduce the time consumption in actual operations.

[0011] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0012] The present invention provides a method for generating a route, the method comprising:

[0013] Determine the anchor points within each stall on the conductor and ground wires;

[0014] Determine the route point on the drone's route based on the tower's hanging points, template hanging points, and anchor points;

[0015] Generate a route based on the tower hanging points, template hanging points and route points.

[0016] Optionally, determine the anchor points within each span on the conductor and ground wire, including:

[0017] Determine the current position of the drone corresponding to the position on the wire and ground wire;

[0018] According to the file, the anchor point and the heading angle direction in each file on the conductor and the ground line are determined.

[0019] Optionally, determine the current position of the drone corresponding to the position on the wire and ground wire, including:

[0020] Traverse all the levels and calculate the first tower P in each level of the conductor and ground wire n To the second tower P n+1 The first vector

[0021] Calculate the first tower P n The second vector to the drone position P

[0022] Calculate the second vector to the first vector The projection coefficient ratio n ;

[0023] According to the projection coefficient ratio n Determine the current gear of the drone; where n is a positive integer.

[0024] Optionally, calculate the second vector to the first vector The projection coefficient ratio n ,include:

[0025] According to the formula: Calculate the second vector to the first vector The projection coefficient ratio n ;

[0026] in, The first tower P n To the second tower P n+1 The vector between

[0027] The first tower P n The vector to the drone's position P

[0028] ration for to The projection coefficient of

[0029] P n is the coordinate of the first tower;

[0030] P n+1 is the coordinate of the second tower;

[0031] P is the coordinate of the current position of the drone;

[0032] Wherein, n is a positive integer.

[0033] Optionally, according to the projection coefficient ratio n Determine the current file of the drone, including:

[0034] If 0 <ratio n <1, the drone is currently in this file;

[0035] If ratio n ≤0 or ratio n ≥1, the drone is not in this category; where n is a positive integer.

[0036] Optionally, determining the anchor point and heading angle direction in each of the sections on the conductor and the ground line according to the sections includes:

[0037] Determine the insertion anchor point M nk The number L;

[0038] According to the inserted anchor point M nk The number L of anchor point spacing dist is obtained n =1 / (L+1);

[0039] According to the formula: Get anchor point M nk ratio n(k+1) ;

[0040] Among them, ratio n0 The first tower P of this file n The ratio of the upper hanging point, ratio n(L+2) The second tower P of this file n+1 The ratio of the upper hanging point, the ratio n0 That is the projection coefficient ratio n , the ratio n(L+2) That is the projection coefficient ratio n+1 ; k is 0, 1, 2, 3, …, L+1;

[0041] According to the first vector Sure The perpendicular vector

[0042] According to the perpendicular vector Determine the heading angle direction; where n is a positive integer.

[0043] Optionally, the route point on the route where the drone is located is determined according to the hanging point of the tower, the template hanging point and the anchor point, including:

[0044] Determine the vector of the template hanging point;

[0045] Determine the coordinates of the hanging points of each tower according to the vectors of the template hanging points;

[0046] Determine the span ratio and sag of the route point according to the anchor point;

[0047] The route point is obtained according to the hanging point coordinates, the gear spacing ratio and the sag.

[0048] Optionally, a vector to determine the template hanging point, including:

[0049] According to the formula: Determine the vector of the template hanging point;

[0050] Among them, P 点 P is the template hanging point coordinate; 塔顶 is the coordinate of the center point of the template tower; Vector of hanging points for template.

[0051] Optionally, determining the coordinates of the hanging points of each tower according to the vector hanging points includes:

[0052] According to the formula: Determine the coordinates of the hanging points of each tower;

[0053] Among them, P 塔顶n is the coordinate of the center point of the tower where the calculated hanging point is located; is the vector of template hanging points; P 点x is the calculated hanging point coordinate of the tower; n is a positive integer.

[0054] Optionally, determining the sag of the route point according to the anchor point includes:

[0055] According to the formula: H nk =H S -H 锚 +ratio n(k+1) ×(H e -H S );

[0056] Among them, H S The first tower P of this file nHeight; H e The second tower P of this file n+1 Height; H 锚 Anchor point M nk Height; H nk Anchor point M nk The sag of the anchor point M nk ratio n(k+1) is the gear spacing ratio.

[0057] Optionally, obtaining a route point according to the hanging point coordinates, the gear spacing ratio and the sag includes:

[0058] Sort the anchor points according to the gear spacing ratio;

[0059] According to the formula: P 航线点 =(P 点x+1 -P 点x )×ratio n(k+1) -(0,0,H 弧垂 ), get the route point;

[0060] Where P 航线点 is the coordinate of the route point, P 点x+1 It is the second tower P in the same file. n+1 The coordinates of the hanging point, P 点x It is the first tower P in the file n The coordinates of the hanging point, ratio n(k+1) is the gear spacing ratio, H 弧垂 is the sag of the anchor point.

[0061] The present invention also provides a route generation device, the device comprising:

[0062] An acquisition module for determining anchor points within each slot on the conductor and ground wire;

[0063] A processing module is used to determine the route point on the route where the UAV is located according to the hanging point of the tower, the template hanging point and the anchor point;

[0064] The generation module is used to generate the route according to the tower hanging points, template hanging points and route points.

[0065] The present invention also provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the above method.

[0066] The above solution of the present invention includes at least the following beneficial effects:

[0067] By determining the anchor points in each section of the conductor and ground wire, determining the route points on the route where the drone is located according to the pole tower hanging points, template hanging points and anchor points, and generating routes according to the pole tower hanging points, template hanging points and route points. The route can be further sent to the drone, so that the drone can perform fully autonomous inspections according to the route, reducing the time spent in actual operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 is a schematic flow chart of a method for generating a route according to an embodiment of the present invention;

[0069] Figure 2 Schematic diagram of a file composed of towers according to an embodiment of the present invention;

[0070] Figure 3 is a schematic diagram of a conductor and a ground wire on a pole tower according to an embodiment of the present invention;

[0071] Figure 4 is a schematic diagram of the relative positions of the drone, the conductor and the ground wire according to an embodiment of the present invention;

[0072] Figure 5 is a flowchart of a specific embodiment 1 of the embodiment of the present invention;

[0073] Figure 6 is a flowchart of a specific embodiment 2 of the embodiment of the present invention;

[0074] Figure 7 is a flowchart of a specific embodiment 3 of the embodiment of the present invention;

[0075] Figure 8 It is a module block diagram of a route generation device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0076] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0077] like Figure 1 As shown, an embodiment of the present invention provides a method for generating a route, the method comprising:

[0078] Step 11, determining the anchor points in each section on the conductor and ground wire;

[0079] Step 12, determining the route point on the route where the UAV is located according to the hanging point of the tower, the template hanging point and the anchor point;

[0080] Step 13, generating a route according to the tower hanging points, template hanging points and route points.

[0081] like Figures 2 to 4 As shown, Figure 2 Points 1 to 13 in the figure show the coordinates of the center points of the towers distributed on the ground; Figure 3 The line segments m1 and m2 are ground lines, the line segment from m3 to m8 is the conductor, point a5 at the top of the tower is the center of the tower, point 3 is the hanging point on the line segment m8 on the tower, points 4 and 5 are anchor points on the line segment m8, point 1 is the turning point for ensuring safety when flying across the tower in actual operation, and point 2 is the current location of the drone; Figure 4 The midpoint 2 is the current location of the drone, and point 3 is the hanging point on the tower.

[0082] This embodiment is based on the fact that the positions of the hanging points on the conductors and ground wires remain unchanged relative to the center point of the top of the tower when the pole tower type is consistent. At the same time, the sag distribution of all conductors in the same section is consistent, and the sag distribution of all ground wires in the same section is consistent. Based on these characteristics, by determining the anchor points in each section of a conductor or ground wire, the hanging points of the pole tower, and the template hanging points, the route points on the route are determined, and finally the route is generated. This embodiment reduces the time consumption during actual operation while realizing the fully autonomous inspection of the drone.

[0083] like Figure 2 As shown, in an optional embodiment of the present invention, step 11 includes:

[0084] Step 111, determining the level at which the current position of the drone corresponds to the conductor and the ground wire;

[0085] Step 112, determining the anchor point and heading angle direction in each file on the conductor and ground wire according to the file.

[0086] The gear in this embodiment refers to the gear between two adjacent towers. The gear corresponding to the current position of the drone is determined, and then the anchor point and heading angle in each gear are determined according to the gear the drone is currently in.

[0087] Furthermore, step 111 includes:

[0088] Step 1111, traverse all the levels and calculate the first tower P in each level of the conductor and ground wire n To the second tower P n+1 The first vector

[0089] Step 1112: Calculate the first tower P n The second vector to the drone position P

[0090] Step 1113, calculate the second vector to the first vector The projection coefficient ratio n ;

[0091] Step 1114, according to the projection coefficient ratio n Determine the current gear of the drone; where n is a positive integer.

[0092] In this embodiment, each tower is numbered in sequence, and the number is recorded as n (n is a positive integer). In each level, the tower with the smallest number is the first tower P in the level. n The tower with the larger number is the second tower P in the file. n+1 , the current position of the drone is P; traverse all the files and first calculate the first tower P in each file n To the second tower P n+1 The first vector Then calculate each first tower P n The second vector to the drone position P Calculate the first vector To the second vector The projection coefficient ratio n , the projection coefficient ratio n Used to determine the level at which the drone's current position is projected onto the corresponding wire and ground wire.

[0093] In an optional embodiment of the present invention, step 1113 includes:

[0094] According to the formula: Calculate the second vector to the first vector The projection coefficient ratio n ;

[0095] in, The first tower P n To the second tower P n+1 The vector between The first tower P n The vector to the drone's position P ratio n for to The projection coefficient; P n is the coordinate of the first tower; P n+1 is the coordinate of the second tower; P is the coordinate of the current position of the UAV; where n is a positive integer.

[0096] In this embodiment, n is the number of the tower, or it can be the number of a file. The first tower P in a file n The n is the file number, so the projection coefficient ratio n That is, the projection coefficient of the drone position P on the nth level. First, calculate the first tower P n To the second tower P n+1 The vector between Then calculate the first tower P n The vector to the drone's position P Finally, through the formula in this embodiment Traverse all the files and get the projection coefficient ratio of the current position P of the drone to each file n .

[0097] In an optional embodiment of the present invention, step 1114 includes:

[0098] If 0 <ratio n <1, the drone is currently in this file;

[0099] If ratio n ≤0 or ratio n ≥1, the drone is not in this category; where n is a positive integer.

[0100] In this embodiment, the projection coefficient ratio obtained by traversing all files is n Make a judgment, when 0 <ratio n <1, the current position of the drone is within this range, and ratio n ≤0 or ratio n When ≥1, the current position of the drone is not within this range.

[0101] In an optional embodiment of the present invention, step 112 includes:

[0102] Step 1121, determine the insertion anchor point M nk The number L;

[0103] Step 1122, according to the inserted anchor point M nk The number L of anchor point spacing dist is obtained n =1 / (L+1);

[0104] Step 1123, according to the formula: Get anchor point M nk ratio n(k +1);

[0105] Among them, ratio n0 The first tower P of this file nThe ratio of the upper hanging point, ratio n(L+2) The second tower P of this file n+1 The ratio of the upper hanging point, the ratio n0 That is the projection coefficient ratio n , the ratio n(L+2) That is the projection coefficient ratio n+1 ; k is 0, 1, 2, 3, …, L+1;

[0106] Step 1124, according to the first vector Sure The perpendicular vector

[0107] Step 1125, according to the vertical vector Determine the heading angle direction; where n is a positive integer.

[0108] In this embodiment, the nth gear corresponding to the current position of the drone determined in step 11 is inserted with an anchor point. The total number of inserted anchor points L is first determined. Here, the anchor points also need to be numbered sequentially. Anchor point M nk Where n is the number of the nth file where the anchor point is located, and k refers to the anchor point M nk is the kth anchor point in the nth file, and then according to the formula dist n =1 / (L+1) Calculate the anchor point distance dist n According to the formula Get anchor point M nk The ratio, where k is 0, 1, 2, 3, ..., L + 1, should be noted that the ratio n0 The conductor and ground wire of the gear are located on the first tower P n The ratio of the upper hanging point, ratio n(L+2) The conductor and ground wire of the gear are located on the second tower P n+1 The ratio of the upper hanging point, the ratio n0 That is the projection coefficient ratio n , the ratio n(L+2) That is the projection coefficient ratio n+1 ; Then according to the first vector in step 1113 Sure The perpendicular vector Perpendicular Vector The vector direction is the heading angle direction;

[0109] In a specific embodiment, if the first vector Then its perpendicular vector The perpendicular vector The direction is the heading angle direction;

[0110] In addition, it should be noted that the anchor point spacing dist n Refers to the distance between anchor points in the nth file. In a specific embodiment, the number of anchor points in the nth file is 4. Four anchor points are inserted into the file, dividing the file into 5 segments with equal distance. The distance between anchor points is dist n That is, the ratio of the distance between two adjacent anchor points in the range, then dist n =1 / (4+1)=0.2.

[0111] In an optional embodiment of the present invention, step 12 includes:

[0112] Step 121, determining the vector of the template hanging point;

[0113] Step 122, determining the coordinates of the hanging points of each tower according to the vectors of the template hanging points;

[0114] Step 123, determining the gear spacing ratio and sag of the route point according to the anchor point;

[0115] Step 124, obtaining the route point according to the hanging point coordinates, the gear spacing ratio and the sag.

[0116] Further, step 121 includes:

[0117] According to the formula: Determine the vector of the template hanging point; where P 点 P is the template hanging point coordinate; 塔顶 is the coordinate of the center point of the template tower; Vector of hanging points for template.

[0118] In this embodiment, the vector of the template hanging point can be calculated according to the formula It should be noted that the template hanging point specifically refers to a type of hanging point on a standard pole tower. In a specific embodiment, when the pole tower type is consistent, the hanging point on the standard pole tower of this type is calculated, which is the desired template hanging point.

[0119] In an optional embodiment of the present invention, step 122 includes:

[0120] According to the formula: Determine the coordinates of the hanging points of each tower; where P n is the coordinate of the center point of the tower where the calculated hanging point is located; is the vector of template hanging points; P 点x is the calculated hanging point coordinate of the tower; n is a positive integer.

[0121] In this embodiment, the coordinates of the hanging points of each tower can be calculated according to the formula It should be noted that P n is the coordinate of the center point of the tower where the calculated hanging point is located, is the vector of the template hanging point obtained in step 121, P 点n is the calculated hanging point coordinate of the tower.

[0122] In an optional embodiment of the present invention, step 123 includes:

[0123] According to the formula: H nk =H S -H 锚 +ratio n(k+1) ×(H e -H S ), where H S The first tower P of this file n Height; H e The second tower P of this file n+1 Height; H 锚 Anchor point M nk Height; H nk Anchor point M nk The sag of the anchor point M nk ratio n(k+1) is the gear spacing ratio.

[0124] In this embodiment, the anchor point M nk The sag H nk According to the formula:

[0125] H nk =H S -H 锚 +ratio n(k+1) ×(H e -H S ) is obtained. It should be noted that H S The first tower P of the nth gear n Height; H e The second tower P of the nth gear n+1 Height; H 锚 Anchor point M nk Height; H nk Anchor point M nk The sag of the anchor point M nk ratio n(k+1) is the gear spacing ratio.

[0126] In an optional embodiment of the present invention, step 124 includes:

[0127] Sort the anchor points according to the gear spacing ratio;

[0128] According to the formula: P航线点 =(P 点x+1 -P 点x )×ratio n(k+1) -(0,0,H 弧垂 ), and get the route point; where P 航线点 is the coordinate of the route point, P 点x+1 It is the second tower P in the same file. n+1 The coordinates of the hanging point, P 点x It is the first tower P in the file n The coordinates of the hanging point, ratio n(k+1) is the gear spacing ratio, H 弧垂 is the sag of the anchor point.

[0129] In this embodiment, in order to avoid omissions during the drone marking process, repeated marking may be performed during the actual operation, so repeated marking or disordered marking order may occur. It is necessary to sort the anchor points according to the size of the gear spacing ratio, and then sort them according to the formula P. 航线点 =(P 点x+1 -P 点x )×ratio n(k+1) -(0,0,H 弧垂 ), get the route point of the UAV. It should be noted that the route point of the UAV is the insertion point on the route according to the gear spacing ratio and the sag. Therefore, after determining the route point, the route can be obtained. The route is a line that keeps a fixed relative position with the conductor and the ground wire.

[0130] By using the drone to mark the anchor point and record the position, the algorithm can be used to realize the route planning of the drone. The solution of the present invention realizes the fully autonomous inspection of the drone and reduces the actual operation time.

[0131] like Figure 5 As shown, in a specific embodiment 1, when performing route calculation, the drone is mainly used to record points at the hanging points and anchor points, and the APP (Application) is used to record the hanging points and anchor point coordinates of the conductor and the ground wire, so as to perform route calculation and route distribution. The main workflow is as follows:

[0132] 1) The pilot arrives at the operation site, starts the ground station APP and the drone, and connects the ground station APP and the drone;

[0133] 2) Check in the APP whether there is a waypoint for the flight mission. If there is a waypoint, directly form a route and send it to the drone to execute the flight mission;

[0134] 3) If there is no waypoint, plan the waypoint for the flight mission and determine whether to directly perform waypoint calculation. It should be noted that the waypoint calculation here mainly involves whether the tower height and the distance between towers meet the calculation requirements, and compare and determine the tower type in the template library;

[0135] 4) If waypoint planning is possible, the waypoints can be calculated autonomously, and finally a route is formed and sent to the drone; if waypoint planning is not possible directly, the pilot manually takes off the drone, flies to the hanging points and anchor points that need to be recorded, and records the marking results to the ground station APP. After the APP obtains the hanging points and anchor points, waypoint planning can be carried out;

[0136] 5) The generated waypoints will eventually form a route and be sent to the drone, waiting for flight operations.

[0137] It should be noted that when calculating the route, the hanging points and anchor points of the conducting wire and the ground wire are mainly used for marking. The route calculation of the conducting wire and the ground wire mainly relies on the hanging points and anchor points to calculate the route, and calculate the route close to the conducting wire and the ground wire. At the same time, due to the real-time identification function of the UAV's onboard edge computing module, any deviations can be accommodated during autonomous route planning.

[0138] like Figure 6 and Figure 7 As shown, in a specific embodiment 2, the main workflow of the drone for fully autonomous inspection mainly includes the drone marking the anchor points of the wire, then calculating the route and sending it to the drone through the APP, and then the drone uses the edge computing module to identify and track the wire in real time, and controls the drone and gimbal posture through edge computing. The specific workflow is as follows:

[0139] a) Upload basic waypoints to the drone and start taking off;

[0140] b) The drone flies to the starting position of the first inspection tower conductor and ground wire, and starts the automatic line inspection mode;

[0141] c) The AI ​​(Artificial Intelligence) module obtains automatic patrol commands, identifies the position of the wire through the input video, and obtains the control information of the drone through the position information solution, controls the flight of the drone SDK (Software Development Kit), and takes pictures and stores them at intervals;

[0142] d) The drone flies along the wire through the control of the edge computing AI module;

[0143] e) When the AI ​​module identifies obstacles or towers, it controls the drone to avoid obstacles;

[0144] f) When the drone reaches an intermediate waypoint, it returns and continues to fly along the route;

[0145] g) After all the shots are completed, the drone lands and the flight ends

[0146] like Figure 8 As shown, an embodiment of the present invention further provides a route generation device 80, the device comprising:

[0147] An acquisition module 81 is used to determine the anchor points in each level on the conductor and the ground wire;

[0148] The processing module 82 is used to determine the route point on the route where the UAV is located according to the hanging point of the tower, the template hanging point and the anchor point;

[0149] The generation module 83 is used to generate a route according to the hanging points of the tower, the template hanging points and the route points.

[0150] Optionally, the acquisition module 81 is specifically used for:

[0151] Determine the current position of the drone corresponding to the position on the wire and ground wire;

[0152] According to the file, the anchor point and the heading angle direction in each file on the conductor and the ground line are determined.

[0153] Optionally, determine the current position of the drone corresponding to the position on the wire and ground wire, including:

[0154] Traverse all the levels and calculate the first tower P in each level of the conductor and ground wire n To the second tower P n+1 The first vector

[0155] Calculate the first tower P n The second vector to the drone position P

[0156] Calculate the second vector to the first vector The projection coefficient ratio n ;

[0157] According to the projection coefficient ratio n Determine the current gear of the drone; where n is a positive integer.

[0158] Optionally, calculate the second vector to the first vector The projection coefficient ratio n ,include:

[0159] According to the formula: Calculate the second vector to the first vector The projection coefficient ratio n ;

[0160] in, The first tower P n To the second tower P n+1 The vector between

[0161] The first tower P n The vector to the drone's position P

[0162] ratio n for to The projection coefficient of

[0163] P n is the coordinate of the first tower;

[0164] P n+1 is the coordinate of the second tower;

[0165] P is the coordinate of the current position of the drone;

[0166] Wherein, n is a positive integer.

[0167] Optionally, according to the projection coefficient ratio n Determine the current file of the drone, including:

[0168] If 0 <ratio n <1, the drone is currently in this file;

[0169] If ratio n ≤0 or ratio n ≥1, the drone is not in this category; where n is a positive integer.

[0170] Optionally, determining the anchor point and heading angle direction in each file on the wire and the ground line according to the file includes:

[0171] Determine the insertion anchor point M nk The number L;

[0172] According to the inserted anchor point M nk The number L of anchor point spacing dist is obtained n =1 / (L+1);

[0173] According to the formula: Get anchor point Mnk ratio n(k+1) ;

[0174] Among them, ratio n0 The first tower P of this file n The ratio of the upper hanging point, ratio n(L+2) The second tower P of this file n+1 The ratio of the upper hanging point, the ratio n0 That is the projection coefficient ratio n , the ratio n(L+2) That is the projection coefficient ratio n+1 ; k is 0, 1, 2, 3, …, L+1;

[0175] According to the first vector Sure The perpendicular vector

[0176] According to the perpendicular vector Determine the heading angle direction; where n is a positive integer.

[0177] Optionally, the processing module 82 is specifically used for:

[0178] Determine the vector of the template hanging point;

[0179] Determine the coordinates of the hanging points of each tower according to the vectors of the template hanging points;

[0180] Determine the span ratio and sag of the route point according to the anchor point;

[0181] The route point is obtained according to the hanging point coordinates, the gear spacing ratio and the sag.

[0182] Optionally, a vector to determine the template hanging point, including:

[0183] According to the formula: Determine the vector of the template hanging point;

[0184] Among them, P 点 P is the template hanging point coordinate; 塔顶 is the coordinate of the center point of the template tower; Vector of hanging points for template.

[0185] Optionally, determining the coordinates of the hanging points of each tower according to the vector hanging points includes:

[0186] According to the formula: Determine the coordinates of the hanging points of each tower;

[0187] Among them, P 塔顶n is the coordinate of the center point of the tower where the calculated hanging point is located; is the vector of template hanging points; P 点n is the calculated hanging point coordinate of the tower; n is a positive integer.

[0188] Optionally, determining the sag of the route point according to the anchor point includes:

[0189] According to the formula: H nk =H S -H 锚 +ratio n(k+1) ×(H e -H S );

[0190] Among them, H S The first tower P of this file n Height; H e The second tower P of this file n+1 Height; H 锚 Anchor point M nk Height; H nk Anchor point M nk The sag of the anchor point M nk ratio n(k+1) is the gear spacing ratio.

[0191] Optionally, obtaining a route point according to the hanging point coordinates, the gear spacing ratio and the sag includes:

[0192] Sort the anchor points according to the gear spacing ratio;

[0193] According to the formula: P 航线点 =(P 点x+1 -P 点x )×ratio n(k+1) -(0,0,H 弧垂 ), get the route point;

[0194] Where P 航线点 is the coordinate of the route point, P 点x+1 It is the second tower P in the same file. n+1 The coordinates of the hanging point, P 点x It is the first tower P in the file n The coordinates of the hanging point, ratio n(k+1) is the gear spacing ratio, H 弧垂 is the sag of the anchor point.

[0195] It should be noted that the device is a device corresponding to the above method, and all implementation methods in the above method embodiments are applicable to the embodiments of the device and can achieve the same technical effects.

[0196] The embodiment of the present invention further provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the above method. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0197] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0198] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0199] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0200] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0201] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0202] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0203] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0204] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.

[0205] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for generating a route, characterized in that: The method comprises: Determine the anchor points within each stall on the conductor and ground wires; Determine the route point on the drone's route based on the tower's hanging points, template hanging points, and anchor points; Generate routes based on the tower hanging points, template hanging points and route points; Identify anchor points within each span on conductors and ground wires, including: Determine the current position of the drone corresponding to the position on the wire and ground wire; Determining the anchor point and heading angle direction in each of the sections on the conductor and ground wire according to the sections; Determine the current position of the drone on the wire and ground wire, including: Traverse all the levels and calculate the first tower P in each level of the conductor and ground wire n To the second tower P n+1 The first vector Calculate the first tower P n The second vector to the drone position P Calculate the second vector to the first vector The projection coefficient ratio n ; According to the projection coefficient ratio n Determine the current gear of the drone; where n is a positive integer; Calculate the second vector to the first vector The projection coefficient ratio n ,include: According to the formula: Calculate the second vector to the first vector The projection coefficient ratio n ; in, The first tower P n To the second tower P n+1 The vector between The first tower P n The vector to the drone's position P ratio n for to The projection coefficient of P n is the coordinate of the first tower; P n+1 is the coordinate of the second tower; P is the coordinate of the current position of the drone; Wherein, n is a positive integer; According to the projection coefficient ratio n Determine the current file of the drone, including: If 0 <ratio n <1, the drone is currently in this file; If ratio n ≤0 or ratio n ≥1, the drone is not in this category; where n is a positive integer; Determining the anchor point and heading angle direction in each of the sections on the conductor and the ground line according to the sections, including: Determine the insertion anchor point M nk The number L; According to the inserted anchor point M nk The number L of anchor point spacing dist is obtained n =1 / (L+1); According to the formula: Get anchor point M nk ratio n(k+1) ; Among them, ratio n0 The first tower P of this file n The ratio of the upper hanging point, ratio n(L+2) The second tower P of this file n+1 The ratio of the upper hanging point, the ratio n0 That is the projection coefficient ratio n , the ratio n(L+2) That is the projection coefficient ratio n+1 ; k is 0, 1, 2, 3, …, L+1; According to the first vector Sure The perpendicular vector According to the perpendicular vector Determine the heading angle direction; where n is a positive integer; Among them, the gear refers to the gear between two adjacent towers. Determine the gear corresponding to the current position of the drone, and then determine the anchor point and heading angle in each gear according to the gear the drone is currently in; The template hanging point is a hanging point on a standard pole tower of a certain type. When the pole tower type is consistent, the hanging point on the standard pole tower of this type is calculated as the template hanging point.

2. The method for generating a route according to claim 1, characterized in that: According to the tower hanging point, template hanging point and anchor point, determine the route point on the route where the drone is located, including: Determine the vector of the template hanging point; Determine the coordinates of the hanging points of each tower according to the vectors of the template hanging points; Determine the span ratio and sag of the route point according to the anchor point; The route point is obtained according to the hanging point coordinates, the gear spacing ratio and the sag.

3. The method for generating a route according to claim 2, characterized in that: Determine the vector of the template hanging point, including: According to the formula: Determine the vector of the template hanging point; Among them, P 点 P is the template hanging point coordinate; 塔顶 is the coordinate of the center point of the template tower; Vector of hanging points for template.

4. The method for generating a route according to claim 3, characterized in that: According to the vector hanging point, the hanging point coordinates of each tower are determined, including: According to the formula: Determine the coordinates of the hanging points of each tower; Among them, P 塔顶n is the coordinate of the center point of the tower where the calculated hanging point is located; is the vector of template hanging points; P 点x is the calculated hanging point coordinate of the tower; n is a positive integer; x is a positive integer.

5. The method for generating a route according to claim 4, characterized in that: Determining the sag of the route point according to the anchor point includes: According to the formula: H nk =H S -H 锚 +ratio n(k+1) ×(H e -H S ); Among them, H S The first tower P of this file n Height; H e The second tower P of this file n+1 Height; H 锚 Anchor point M nk Height; H nk Anchor point M nk The sag of the anchor point M nk ratio n(k+1) is the gear spacing ratio.

6. The method for generating a route according to claim 5, characterized in that: According to the hanging point coordinates, gear spacing ratio and sag, the route point is obtained, including: Sort the anchor points according to the gear spacing ratio; According to the formula: P 航线点 =(P 点x+1 -P 点x )×ratio n(k+1) -(0,0,H 弧垂 ), get the route point; Where P 航线点 is the coordinate of the route point, P 点x+1 It is the second tower P in the same file. n+1 The coordinates of the hanging point, P 点x It is the first tower P in the file n The coordinates of the hanging point, ratio n(k+1) is the gear spacing ratio, H 弧垂 is the sag of the anchor point.

7. A route generation device, characterized in that: The device comprises: An acquisition module for determining anchor points within each slot on the conductor and ground wire; A determination module is used to determine the route point on the route where the drone is located according to the hanging point of the tower, the template hanging point and the anchor point; A generation module is used to generate a route according to the tower hanging points, template hanging points and route points; Identify anchor points within each span on conductors and ground wires, including: Determine the current position of the drone corresponding to the position on the wire and ground wire; Determining the anchor point and heading angle direction in each of the sections on the conductor and ground wire according to the sections; Determine the current position of the drone on the wire and ground wire, including: Traverse all the levels and calculate the first tower P in each level of the conductor and ground wire n To the second tower P n+1 The first vector Calculate the first tower P n The second vector to the drone position P Calculate the second vector to the first vector The projection coefficient ratio n ; According to the projection coefficient ratio n Determine the current gear of the drone; where n is a positive integer; Calculate the second vector to the first vector The projection coefficient ratio n ,include: According to the formula: Calculate the second vector to the first vector The projection coefficient ratio n ; in, The first tower P n To the second tower P n+1 The vector between The first tower P n The vector to the drone's position P ratio n for to The projection coefficient of P n is the coordinate of the first tower; P n+1 is the coordinate of the second tower; P is the coordinate of the current position of the drone; Wherein, n is a positive integer; According to the projection coefficient ratio n Determine the current file of the drone, including: If 0 <ratio n <1, the drone is currently in this file; If ratio n ≤0 or ratio n ≥1, the drone is not in this category; where n is a positive integer; Determining the anchor point and heading angle direction in each of the sections on the conductor and the ground line according to the sections, including: Determine the insertion anchor point M nk The number L; According to the inserted anchor point M nk The number L of anchor point spacing dist is obtained n =1 / (L+1); According to the formula: Get anchor point M nk ratio n(k+1) ; Among them, ratio n0 The first tower P of this file n The ratio of the upper hanging point, ratio n(L+2) The second tower P of this file n+1 The ratio of the upper hanging point, the ratio n0 That is the projection coefficient ratio n , the ratio n(L+2) That is the projection coefficient ratio n+1 ; k is 0, 1, 2, 3, …, L+1; According to the first vector Sure The perpendicular vector According to the perpendicular vector Determine the heading angle direction; where n is a positive integer; Among them, the gear refers to the gear between two adjacent towers. Determine the gear corresponding to the current position of the drone, and then determine the anchor point and heading angle in each gear according to the gear the drone is currently in; The template hanging point is a hanging point on a standard pole tower of a certain type. When the pole tower type is consistent, the hanging point on the standard pole tower of this type is calculated as the template hanging point.

8. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • LiDAR-point-cloud-based full-automatic three-dimensional reconstruction method for multi-splitting lead

    CN106157361A

  • Sag calculation method and device based on unmanned aerial vehicle laser radar measurement technology

    CN109084687A

  • Method and device for generating automatic inspection route of unmanned aerial vehicle

    CN109358644A

  • Unmanned aerial vehicle inspection route generation method, device and equipment, and medium

    CN112033414A

  • Autonomous inspection path planning method based on string structure and aircraft

    CN112414409A