Unmanned aerial vehicle binocular vision positioning method and system for power transmission line operation scene

Through the point-line feature fusion and dynamic content elimination of binocular vision SLAM technology, the problem of poor positioning accuracy of UAVs in transmission line operation scenarios is solved, robust positioning in dynamic and weak texture scenes is achieved, and positioning accuracy is improved. and environmental immunity, suitable for a variety of transmission line operations.

CN118583162APending Publication Date: 2024-09-03ELECTRIC POWER RES INST OF GUANGXI POWER GRID CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410212131.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-27
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In transmission line operation scenarios, dynamic objects and weak texture environments lead to poor positioning accuracy or loss of positioning of UAVs. Traditional SLAM technology performs well in static environments with rich features, but cannot effectively position in dynamic or weak texture scenes. .

Method used

Binocular vision is used based on visual simultaneous localization and mapping (SLAM) technology, through point and line feature fusion and dynamic content elimination, an optimization model is designed to reduce reprojection errors, and Mask R-CNN is used for dynamic content segmentation, combined with pose optimization Technology improves positioning accuracy.

Benefits of technology

It achieves stable flight of the UAV under GPS-denied conditions, improves positioning accuracy and environmental immunity in dynamic and weak texture scenes, and is suitable for a variety of transmission line operation scenarios, such as broken strand repair and maintenance operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118583162A
    Figure CN118583162A
Patent Text Reader

Abstract

The invention discloses a power transmission line operation scene-oriented unmanned aerial vehicle binocular vision positioning method and system, and relates to the technical field of aviation aircraft robots, and the method comprises the steps: deducing an optimization model of unmanned aerial vehicle binocular vision positioning according to a positioning mode, and optimizing the positioning method through employing a pose optimization technology. The method has high positioning precision and environment approaching performance, has wide application value, and can realize robust positioning of the unmanned aerial vehicle in various power transmission line operation scenes, including broken strand repair, wire coating, stockbridge damper repair, strain clamp detection, maintenance operation and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of aviation aircraft robot technology, and in particular to a binocular vision positioning method and system for unmanned aerial vehicles (UAVs) for power transmission line operation scenarios. Background Art

[0002] The visual features in the power transmission line operation scene are poor, but the line features are rich, and the dynamic interference in the scene has a great interference to the vision-based positioning. The present invention uses binocular vision based on visual simultaneous localization and mapping (SLAM) to achieve drone positioning in view of these two characteristics of the power transmission line operation scene. SLAM technology refers to the mobile robot using visual sensor information in an unknown environment to create a 3D environmental map while determining its own position in the map. With the rapid development of computer vision, this technology uses cheap and flexible visual sensors to show great advantages in drone navigation, allowing drones to achieve robust positioning in a variety of power transmission line operation scenarios even in GPS-denied environments.

[0003] Traditional visual SLAM technologies such as ORB-SLAM2 and LSD-SLAM show excellent positioning effects under the assumption of static environments with rich environmental features. The dynamic or weak-texture scenes existing in the transmission line operation scenes will cause poor positioning accuracy or positioning loss of the UAV. Therefore, the positioning of UAVs in transmission line operation scenes still has the following problems: the feature drift caused by dynamic objects leads to large reprojection errors; hardware constraints and imaging principles make it impossible to extract rich feature information in weak-texture environments, resulting in feature tracking failure.

[0004] In response to two problems existing in power transmission line operation scenarios, the present invention proposes a binocular vision positioning method for UAVs in power transmission line operation scenarios. It uses instance segmentation to eliminate potential dynamic objects in the image to reduce reprojection errors, and integrates point and line features to increase the available feature information in weak texture environments. The introduction of line features also compensates for the impact of too few feature points in the image caused by dynamic area elimination, which is of great significance for the robust positioning flight of UAVs in power transmission line operation scenarios. Summary of the invention

[0005] In view of the problems existing in the existing UAV binocular vision positioning method and system for power transmission line operation scenarios, the present invention is proposed.

[0006] Therefore, the purpose of the present invention is to provide a binocular vision positioning method and system for UAVs for power transmission line operation scenarios, to solve the problem of uncertain positioning of UAVs in power transmission line operation scenarios. The present invention proposes a binocular vision positioning method for UAVs for power transmission line operation scenarios, which compensates for the impact of too few feature points in the image caused by dynamic area elimination, and solves the positioning problem of UAVs in power transmission line operation scenarios.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] In a first aspect, an embodiment of the present invention provides a UAV binocular vision positioning method for a power transmission line operation scene, which includes determining a UAV binocular vision positioning method according to the characteristics of the power transmission line operation scene, and deriving an optimization model for the UAV binocular vision positioning according to the positioning method;

[0009] According to the positioning mode and optimization model, a positioning method of point and line feature fusion and dynamic content elimination is designed, and the positioning method is optimized using posture optimization technology.

[0010] As a preferred solution of the binocular vision positioning method of a UAV for power transmission line operation scenes described in the present invention, wherein: the positioning method includes analyzing the power transmission line operation scene according to a dynamic scene and a weak texture scene, the dynamic scene includes dynamically eliminating the positioning method, the positioning method of the weak texture scene is point-line feature fusion, the optimization model includes analyzing the error between the actual and the model for the point-line features in the image extracted by the binocular vision of the UAV, the analysis includes estimating the UAV posture by designing a positioning optimization method, establishing a UAV posture optimization model, designing the feature reprojection error in the model, segmenting the dynamic content by the dynamic elimination method of Mask R-CNN, and the feature reprojection error in the design model includes the following steps:

[0011] The feature matching relationship between the current frame and the previous frame is obtained through point and line features, and the camera motion is estimated based on the matching relationship;

[0012] When the transformation matrix from the previous frame to the current frame is not accurate enough, there is a deviation in the projection of the point and line features in the 3D space to the plane. At this time, the nonlinear least squares form of the pose optimization model is:

[0013]

[0014] Among them, ξ∈SE(3) represents the corresponding camera pose T cw The Lie algebra of , where the subscripts c and w represent the camera reference system and the world reference system, KF represents the local keyframe, P represents the local map point, and L represents the set of local map lines. represents the point feature reprojection error, represents the line feature reprojection error, The information matrix representing the reprojection error of the point, The information matrix representing the reprojection error of the line, i represents a keyframe.

[0015] As a preferred solution of the UAV binocular vision positioning method for power transmission line operation scenes described in the present invention, the positioning method includes obtaining a coordinate transformation relationship according to a camera reference system and a world reference system, and the specific steps are as follows:

[0016] If i is the i-th key frame, then based on T cw ∈SE(3) camera pose, through The 3D point of the jth feature is detected. At this time, the 3D point T cw ∈SE(3) is the camera pose, which is transformed to the camera coordinate system:

[0017] When passing When a 2D point on the image plane is detected, then are the two 3D endpoints of the kth line feature, which are transformed to the camera coordinate system as follows: and are the 2D endpoints of the line features projected onto the image plane, are the 2D endpoints of the line features detected on the image plane, are the corresponding homogeneous coordinates;

[0018] The relationship between the world coordinates and pixel coordinates of the feature points and feature line endpoints in the key frame is calculated based on the coordinate transformation relationship. The specific calculation formula is:

[0019]

[0020]

[0021]

[0022] Among them, S j represents the jth feature point, and K is the camera internal parameter.

[0023] As a preferred solution of the binocular vision positioning method for UAVs facing power transmission line operation scenes of the present invention, the dynamic content elimination includes calculating the difference between the projection points of feature points onto the image plane according to the deviation of the projection of point and line features onto the plane, and the specific calculation formula is:

[0024]

[0025] Among them, S j represents the jth feature point, K is the camera internal parameter, Represents the point difference value of the feature point projected onto the image plane;

[0026] The projection line feature endpoint m is obtained by calculating the line feature reprojection error. k ,n k To detect line features The specific calculation formula is:

[0027]

[0028] Among them, d m ,d n Indicates the endpoint m of the line feature k ,n k Path to line feature;

[0029] Normalize the path, the specific calculation formula is:

[0030]

[0031] in, are the 2D endpoints of the line features detected on the image plane, are the corresponding homogeneous coordinates;

[0032] The segmentation includes filtering the instance segmentation results of Mask R-CNN for dynamic content;

[0033] When the visual SLAM system receives a keyframe, the system extracts image features on the image plane, detects dynamic content using the Mask R-CNN framework, and filters out features located on the dynamic content through the mask.

[0034] As a preferred solution of the binocular vision positioning method of the UAV for the power transmission line operation scene described in the present invention, wherein: the optimization of the positioning method using the posture optimization technology includes clustering the transformation relationship matrix between the UAV posture and the key frame through the local posture and the global posture of the filtered features, and the transformation relationship matrix is ​​expressed in the form of Lie algebra, and the transformation relationship between the world coordinate system and the camera coordinate system is expressed as:

[0035]

[0036]

[0037]

[0038] Among them, ξ ^ is the antisymmetric matrix of ξ;

[0039] The antisymmetric matrix includes a Jacobian matrix calculated based on a pose optimization method of a point-line feature camera, and the specific steps are as follows:

[0040] The Jacobian matrix formula for calculating point features with respect to camera pose optimization is:

[0041]

[0042] Among them, f x ,f y is the camera internal reference;

[0043] The Jacobian matrix formula for optimizing the point feature position is:

[0044]

[0045] Among them, S j represents the jth feature point, f x ,f y is the camera internal reference;

[0046] The Jacobian matrix formula of line feature reprojection error to camera pose is:

[0047]

[0048] Among them, are the two 3D endpoints of the kth line feature, f x ,f y is the camera internal parameter, ξ ^ is the antisymmetric matrix of ξ;

[0049] The Jacobian matrix formula for optimizing the positions of the two endpoints of the line feature is:

[0050]

[0051]

[0052] Among them, f x ,f y is the camera internal parameter, ξ ^ is the antisymmetric matrix of ξ, and are the 2D endpoints of the corresponding line features projected onto the image plane.

[0053] As a preferred solution of the binocular vision positioning method for UAVs facing power transmission line operation scenes described in the present invention, the global posture includes eliminating cumulative errors by closed-loop detection, and the closed-loop detection includes judging whether image features are established at the current position according to the similarity score between the key frame and the candidate key frame in the database. If established, the current key frame and the candidate key frame are compared by dictionary matching image features, and the point and line similarity of the two frames is calculated. The specific calculation formula is:

[0054]

[0055]

[0056] In practice, the BoW feature vector may contain a large number of zeros, the feature vector does not include all the words in the dictionary, and similar features are classified into the same category.

[0057] As a preferred solution of the UAV binocular vision positioning method for power transmission line operation scenes described in the present invention, the scoring includes normalizing the number of point features and line features extracted, and the normalized weight includes scoring the closed-loop detection of fused points and lines, and optimizing based on the scoring results. The specific scoring formula is:

[0058]

[0059] Among them, N p and N l Represents the number of point features and line features extracted from the image.

[0060] In the second aspect, an embodiment of the present invention provides a UAV binocular vision positioning system for power transmission line operation scenarios, which includes: a derivation module, which determines the positioning method of the UAV binocular vision according to the characteristics of the power transmission line operation scenario, and derives an optimization model for the UAV binocular vision positioning according to the positioning method; an optimization module, which designs a positioning method for point and line feature fusion and dynamic content elimination according to the positioning method and the optimization model, and optimizes the positioning method using posture optimization technology.

[0061] In a third aspect, an embodiment of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the processor executes the computer program, it implements any step of the above-mentioned UAV binocular vision positioning method for power transmission line operation scenarios.

[0062] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, any step of the above-mentioned UAV binocular vision positioning method for power transmission line operation scenarios is implemented.

[0063] The beneficial effects of the present invention are as follows: the present invention realizes the flight of the UAV under GPS denial conditions through the UAV binocular vision positioning method for the power transmission line operation scene, and has a high flight stability effect. The present invention realizes robust positioning in the power transmission line operation scene, that is, challenging scenes such as dynamic scenes and weak texture scenes. Compared with the traditional SLAM positioning method, it has higher positioning accuracy and environmental interference resistance. In addition, since the present invention has high positioning accuracy and environmental closeness, the present invention has wide application value and can realize the robust positioning of the UAV in a variety of power transmission line operation scenes, including broken strand repair, conductor coating, anti-vibration hammer repair, tension clamp detection and maintenance operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0065] Figure 1 A specific flow chart of a UAV binocular vision positioning method and system for a power transmission line operation scenario provided by one embodiment of the present invention.

[0066] Figure 2 A schematic diagram of the dynamic feature elimination process and optical flow mask synchronization of a UAV binocular vision positioning method and system for a power transmission line operation scenario provided by an embodiment of the present invention.

[0067] Figure 3 A comparison diagram of the MH_04_difficult trajectories of a UAV binocular vision positioning method and system for a power transmission line operation scenario provided by an embodiment of the present invention.

[0068] Figure 4 A comparison diagram of the fr3_w_xyz trajectories of a UAV binocular vision positioning method and system for a power transmission line operation scenario provided by an embodiment of the present invention.

[0069] Figure 5 A schematic diagram of a simulation environment for a UAV binocular vision positioning method and system for a power transmission line operation scenario provided by an embodiment of the present invention.

[0070] Figure 6 A diagram of the three-axis position changes of a drone in the hovering state of a drone-based binocular vision positioning method and system for a power transmission line operation scenario provided by one embodiment of the present invention.

[0071] Figure 7A diagram of drone pose estimation results for a drone binocular vision positioning method and system for a power transmission line operation scenario provided by one embodiment of the present invention.

[0072] Figure 8 A three-axis position change diagram of a UAV motion state for a UAV binocular vision positioning method and system for a power transmission line operation scenario provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0073] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0074] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0075] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0076] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0077] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0078] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0079] Example 1

[0080] Reference Figures 1 to 8 , which is the first embodiment of the present invention, and provides a binocular vision positioning method for a UAV in a power transmission line operation scenario, comprising:

[0081] S1: According to the characteristics of the transmission line operation scene, determine the positioning method of the UAV binocular vision, and derive the optimization model of the UAV binocular vision positioning based on the positioning method.

[0082] Among them, the positioning method includes analyzing the transmission line operation scene according to the dynamic scene and the weak texture scene. The dynamic scene includes dynamically eliminating the positioning method. The positioning method of the weak texture scene is point-line feature fusion. The optimization model includes analyzing the error between the actual and the model for the point-line features in the image extracted by the UAV binocular vision. The analysis includes estimating the UAV posture by designing a positioning optimization method, establishing a UAV posture optimization model, designing the feature reprojection error in the model, and segmenting the dynamic content by the dynamic elimination method of Mask R-CNN. The feature reprojection error in the design model includes the following steps:

[0083] The feature matching relationship between the current frame and the previous frame is obtained through point and line features, and the camera motion is estimated based on the matching relationship;

[0084] When the transformation matrix from the previous frame to the current frame is not accurate enough, there is a deviation in the projection of the point and line features in the 3D space to the plane. At this time, the nonlinear least squares form of the pose optimization model is:

[0085]

[0086] Among them, ξ∈SE(3) represents the corresponding camera pose T cw The Lie algebra of , where the subscripts c and w represent the camera reference system and the world reference system, KF represents the local keyframe, P represents the local map point, and L represents the set of local map lines. represents the point feature reprojection error, represents the line feature reprojection error, The information matrix representing the reprojection error of the point, The information matrix representing the reprojection error of the line, i represents a keyframe.

[0087] S2: Design a positioning method that combines point and line features and eliminates dynamic content based on the positioning method and optimization model, and optimize the positioning method using posture optimization technology.

[0088] Among them, the positioning method includes obtaining the coordinate transformation relationship according to the camera reference system and the world reference system. The specific steps are as follows:

[0089] If i is the i-th key frame, then based on T cw ∈SE(3) camera pose, through The 3D point of the jth feature is detected. At this time, the 3D point T cw ∈SE(3) is the camera pose, which is transformed to the camera coordinate system:

[0090] When passing When a 2D point on the image plane is detected, then are the two 3D endpoints of the kth line feature, which are transformed to the camera coordinate system as follows: and are the 2D endpoints of the line features projected onto the image plane, are the 2D endpoints of the line features detected on the image plane, are the corresponding homogeneous coordinates;

[0091] The relationship between the world coordinates and pixel coordinates of the feature points and feature line endpoints in the key frame is calculated based on the coordinate transformation relationship. The specific calculation formula is:

[0092]

[0093]

[0094]

[0095] Among them, S j represents the jth feature point, and K is the camera internal parameter.

[0096] S2.1: Dynamic content removal includes calculating the difference between the projection of feature points onto the image plane based on the deviation of the projection of point and line features onto the plane. The specific calculation formula is:

[0097]

[0098] Among them, S j represents the jth feature point, K is the camera internal parameter, Represents the point difference value of the feature point projected onto the image plane;

[0099] The projection line feature endpoint m is obtained by calculating the line feature reprojection error.k ,n k To detect line features The specific calculation formula is:

[0100]

[0101] Among them, d m ,d n Indicates the endpoint m of the line feature k ,n k Path to line feature;

[0102] Normalize the path, the specific calculation formula is:

[0103]

[0104] in, are the 2D endpoints of the line features detected on the image plane, are the corresponding homogeneous coordinates;

[0105] Segmentation involves filtering the instance segmentation results of Mask R-CNN for dynamic content;

[0106] When the visual SLAM system receives a keyframe, the system extracts image features on the image plane, uses the Mask R-CNN framework to detect dynamic content, and filters out features located on dynamic content through masks. The error data is shown in Table 1 below:

[0107] Table 1 Error data table

[0108] sequence ORB-SLAM2 The present invention MH_01_easy 0.039 0.038 MH_02_easy 0.052 0.051 MH_03_medium 0.037 0.041 MH_04_difficult 0.105 0.049 MH_05_difficult 0.092 0.048 V1_01_easy 0.087 0.087 V1_02_medium 0.091 0.064 V1_03_difficult 0.174 0.064 V2_01_easy 0.070 0.067 V2_02_medium 0.100 0.053 V2_03_difficult - 0.226

[0109] The trajectory evaluation results of SLAM were compared. The evo trajectory evaluation tool was used to evaluate the absolute root mean square error (RMSE) of the trajectory. The bold data in the table indicates that the error is small. LTD-SLAM has a larger error than ORB-SLAM2 only in the MH_03_medium sequence. This sequence is feature-rich, and the fusion of line features does not contribute much to improving the system accuracy. The performance in other sequences is good. ORB-SLAM2 lost its trajectory in the V2_03_difficult sequence due to weak texture areas and large camera swings. LTD-SLAM showed better results in weak texture environments, and its positioning accuracy was effectively improved compared to ORB-SLAM2 based on point features.

[0110] S2.2: Optimizing the positioning method using posture optimization technology includes clustering the filtered features to adjust the transformation relationship matrix between the UAV posture and key frames through local posture and global posture, and expressing the transformation relationship matrix in the form of Lie algebra. The transformation relationship between the world coordinate system and the camera coordinate system is expressed as:

[0111]

[0112]

[0113]

[0114] Among them, ξ ^ is the antisymmetric matrix of ξ;

[0115] The antisymmetric matrix includes the Jacobian matrix calculated based on the pose optimization method of the point-line feature camera. The specific steps are as follows:

[0116] The Jacobian matrix formula for calculating point features with respect to camera pose optimization is:

[0117]

[0118] Among them, f x ,f y is the camera internal reference;

[0119] The Jacobian matrix formula for optimizing the point feature position is:

[0120]

[0121] Among them, S j represents the jth feature point, f x ,f y is the camera internal reference;

[0122] The Jacobian matrix formula of line feature reprojection error to camera pose is:

[0123]

[0124] Among them, are the two 3D endpoints of the kth line feature, f x ,f y is the camera internal parameter, ξ ^ is the antisymmetric matrix of ξ;

[0125] The Jacobian matrix formula for optimizing the positions of the two endpoints of the line feature is:

[0126]

[0127]

[0128] Among them, f x ,f y is the camera internal parameter, ξ ^ is the antisymmetric matrix of ξ, and The absolute trajectory error of the LTD-SLAM data is shown in Table 2 below:

[0129] Table 2 Absolute trajectory error data based on LTD-SLAM

[0130] sequence ORB-SLAM2 The present invention Improvement degree (%) fr3_s_static 0.010 0.006 40.00 fr3_s_xyz 0.009 0.011 - fr3_s_rpy 0.018 0.034 - fr3_s_half 0.019 0.015 21.05 fr3_w_static 0.267 0.007 97.38

[0131] The above table shows the absolute mean square error of the estimated trajectories of the two systems and the degree of improvement of LTD-SLAM relative to ORB-SLAM2. The first four sequences are low-dynamic sequences, and the last four sequences are high-dynamic sequences. In the low-static sequences, the accuracy of LTD-SLAM is slightly improved, and the accuracy is reduced in two of the sequences. The reason is that in low-dynamic environments, ORB-SLAM2 itself has a certain ability to eliminate outliers, and LTD-SLAM extracts relatively few features. In high-dynamic sequences, the accuracy of LTD-SLAM is significantly improved, and the features on the dynamic content are effectively eliminated, and the robustness is stronger.

[0132] S2.3: The global pose includes the use of closed-loop detection to eliminate the accumulated error. The closed-loop detection includes judging whether the image feature is established at the current position based on the similarity score between the key frame and the candidate key frame in the database. If established, the image features of the current key frame and the candidate key frame are compared through dictionary matching to calculate the point and line similarity of the two frames. The specific calculation formula is:

[0133]

[0134]

[0135] In practice, the BoW feature vector may contain a large number of zeros, the feature vector does not include all the words in the dictionary, and similar features are classified into the same category.

[0136] Furthermore, the scoring includes normalizing the number of point features and line features extracted, and the normalized weight includes scoring the closed loop detection of the fused point and line, and optimizing based on the scoring results. The specific scoring formula is:

[0137]

[0138] Among them, N p and N lRepresents the number of point features and line features extracted from the image.

[0139] In a preferred embodiment, a UAV binocular vision positioning system for power transmission line operation scenarios includes a derivation module, which determines the positioning method of the UAV binocular vision according to the characteristics of the power transmission line operation scenario, and derives an optimization model for the UAV binocular vision positioning according to the positioning method; an optimization module, which designs a positioning method for point and line feature fusion and dynamic content elimination according to the positioning method and the optimization model, and optimizes the positioning method using posture optimization technology.

[0140] The above-mentioned unit modules may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to the above-mentioned modules.

[0141] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0142] In summary, the present invention realizes the flight of the UAV under GPS denial conditions through the UAV binocular vision positioning method for the transmission line operation scene, and has a high flight stabilization effect. The present invention realizes robust positioning in the transmission line operation scene, that is, challenging scenes such as dynamic scenes and weak texture scenes. Compared with the traditional SLAM positioning method, it has higher positioning accuracy and environmental interference resistance. In addition, since the present invention has high positioning accuracy and environmental closeness, the present invention has wide application value and can realize robust positioning of UAV in various transmission line operation scenarios, including broken strand repair, conductor coating, shock hammer repair, tension clamp detection and maintenance operations.

[0143] Example 2

[0144] Reference Figures 1 to 8, which is the second embodiment of the present invention, provides a UAV binocular vision positioning method for power transmission line operation scenarios. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through simulation experiments.

[0145] According to the simulation experiment platform Gazebo, the real motion trajectory of the drone is provided to evaluate the positioning accuracy of the algorithm. The simulated drone is iris, which is equipped with simulated sensors such as binocular cameras. In the camera coordinate system, the front is the positive direction of the z axis, the right is the positive direction of the x axis, and the bottom is the positive direction of the y axis. The simulation environment is as follows: Figure 5 shown.

[0146] In order to evaluate the stability of LTD-SLAM positioning on the UAV platform, the drift degree of the system pose estimation results on each axis is analyzed when the UAV is in a hovering state. Under the external force of the wind in the simulation environment, the position of each axis is not fixed in the hovering state, and the values ​​of each axis of the real trajectory of the UAV fluctuate when it is in a hovering state. Figure 6 This is a comparison of the xyz three-axis position changes of the drone from takeoff to hovering and maintaining hovering.

[0147] Both the present invention and ORB-SLAM2 have good static stability, and the relative extreme value absolute trajectory root mean square errors are 0.009 meters and 0.011 meters respectively. As time goes by, the positioning error of the present invention is relatively smaller. In the case of UAV motion, the positioning accuracy of the present invention is evaluated. Figure 7 The motion trajectory and mapping results of the UAV in the simulation environment show that the fusion of line features makes full use of the environmental structure characteristics.

[0148] Figure 8 The trajectory errors of LTD-SLAM and ORB-SLAM2 are compared in detail on the xyz three axes. The figure intuitively shows that the present invention is closer to the true value of the drone trajectory. In addition, the absolute trajectory root mean square errors of the present invention and ORB-SLAM2 are 0.036 meters and 0.052 meters respectively, and the positioning accuracy is improved by 30.77%.

[0149] Experiments show that the binocular vision positioning method for UAVs in power transmission line operation scenarios of the present invention realizes the flight of UAVs under GPS denial conditions and has a high flight stability effect. The present invention realizes robust positioning in power transmission line operation scenarios, i.e., dynamic scenes and weak texture scenes and other challenging scenes. Compared with the traditional SLAM positioning method, the present invention has higher positioning accuracy and environmental immunity. In addition, since the present invention has higher positioning accuracy and environmental closeness, the present invention has a wide range of application value and can realize the robust positioning of UAVs in various power transmission line operation scenarios. The comparison with the prior art is shown in Table 3 below:

[0150] Table 3 Comparison with prior art

[0151]

[0152] The system's performance in dynamic and weak-texture scenes is improved by optimizing positioning methods, fusion of features, and elimination of dynamic content. Global pose optimization and closed-loop detection are introduced to solve the problem of cumulative errors. The scoring mechanism comprehensively considers the weights of point and line features to improve the accuracy of closed-loop detection. The pose optimization technology is used to improve computational efficiency and accuracy.

[0153] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A UAV binocular vision positioning method for power transmission line operation scenes, characterized by: include, According to the characteristics of the power transmission line operation scene, the positioning method of the UAV binocular vision is determined, and the optimization model of the UAV binocular vision positioning is derived based on the positioning method; According to the positioning mode and optimization model, a positioning method of point and line feature fusion and dynamic content elimination is designed, and the positioning method is optimized using posture optimization technology.

2. The UAV binocular vision positioning method for power transmission line operation scenes according to claim 1 is characterized in that: The positioning method includes analyzing the transmission line operation scene according to the dynamic scene and the weak texture scene, the dynamic scene includes dynamically eliminating the positioning method, the positioning method of the weak texture scene is point-line feature fusion, the optimization model includes analyzing the error between the actual and the model for the point-line features in the image extracted by the binocular vision of the drone, the analysis includes estimating the drone posture by designing a positioning optimization method, establishing a drone posture optimization model, designing the feature reprojection error in the model, segmenting the dynamic content by the dynamic elimination method of Mask R-CNN, and the feature reprojection error in the design model includes the following steps: The feature matching relationship between the current frame and the previous frame is obtained through point and line features, and the camera motion is estimated based on the matching relationship; When the transformation matrix from the previous frame to the current frame is not accurate enough, there is a deviation in the projection of the point and line features in the 3D space to the plane. At this time, the nonlinear least squares form of the pose optimization model is: Among them, ξ∈SE(3) represents the corresponding camera pose T cw The Lie algebra of , where the subscripts c and w represent the camera reference system and the world reference system, KF represents the local keyframe, P represents the local map point, and L represents the set of local map lines. represents the point feature reprojection error, represents the line feature reprojection error, The information matrix representing the reprojection error of the point, The information matrix representing the reprojection error of the line, i represents a keyframe.

3. The binocular vision positioning method for UAVs in power transmission line operation scenarios according to claim 2, characterized in that: The positioning method includes obtaining a coordinate transformation relationship according to a camera reference system and a world reference system, and the specific steps are as follows: If i is the i-th key frame, then based on T cw ∈SE(3) camera pose, through The 3D point of the jth feature is detected. At this time, the 3D point T cw ∈SE(3) is the camera pose, which is transformed to the camera coordinate system: When passing When a 2D point on the image plane is detected, then are the two 3D endpoints of the kth line feature, which are transformed to the camera coordinate system as follows: and are the 2D endpoints of the line features projected onto the image plane, are the 2D endpoints of the line features detected on the image plane, are the corresponding homogeneous coordinates; The relationship between the world coordinates and pixel coordinates of the feature points and feature line endpoints in the key frame is calculated based on the coordinate transformation relationship. The specific calculation formula is: Among them, S j represents the jth feature point, and K is the camera internal parameter.

4. The binocular vision positioning method for unmanned aerial vehicles in power transmission line operation scenarios according to claim 3 is characterized in that: The dynamic content removal includes calculating the difference between the projection of feature points onto the image plane according to the deviation of the projection of point and line features onto the plane. The specific calculation formula is: Among them, S j represents the jth feature point, K is the camera internal parameter, Represents the point difference value of the feature point projected onto the image plane; The projection line feature endpoint m is obtained by calculating the line feature reprojection error. k ,n k To detect line features The specific calculation formula is: Among them, d m ,d n Indicates the endpoint m of the line feature k ,n k Path to line feature; Normalize the path, the specific calculation formula is: in, are the 2D endpoints of the line features detected on the image plane, are the corresponding homogeneous coordinates; The segmentation includes filtering the instance segmentation results of Mask R-CNN for dynamic content; When the visual SLAM system receives a keyframe, the system extracts image features on the image plane, detects dynamic content using the Mask R-CNN framework, and filters out features located on the dynamic content through the mask.

5. The binocular vision positioning method for UAVs in power transmission line operation scenarios according to claim 4, characterized in that: The optimization of the positioning method using the posture optimization technology includes clustering the filtered features to adjust the transformation relationship matrix between the UAV posture and the key frame through the local posture and the global posture, and expressing the transformation relationship matrix in the form of Lie algebra. Then, the transformation relationship between the world coordinate system and the camera coordinate system is expressed as: Among them, ξ^ is the antisymmetric matrix of ξ; The antisymmetric matrix includes a Jacobian matrix calculated based on a pose optimization method of a point-line feature camera, and the specific steps are as follows: The Jacobian matrix formula for calculating point features with respect to camera pose optimization is: Among them, f x ,f y is the camera internal reference; The Jacobian matrix formula for optimizing the point feature position is: Among them, S j represents the jth feature point, f x ,f y is the camera internal reference; The Jacobian matrix formula of line feature reprojection error to camera pose is: Among them, are the two 3D endpoints of the kth line feature, f x ,f y is the camera internal parameter, ξ^ is the antisymmetric matrix of ξ; The Jacobian matrix formula for optimizing the positions of the two endpoints of the line feature is: Among them, f x ,f y is the camera internal parameter, ξ ^ is the antisymmetric matrix of ξ, and are the 2D endpoints of the corresponding line features projected onto the image plane.

6. The binocular vision positioning method for unmanned aerial vehicles in power transmission line operation scenarios according to claim 5, characterized in that: The global pose includes eliminating the accumulated error by closed-loop detection. The closed-loop detection includes judging whether the image feature is established at the current position according to the similarity score between the key frame and the candidate key frame in the database. If established, the image features of the current key frame and the candidate key frame are compared by dictionary matching, and the point and line similarity of the two frames is calculated. The specific calculation formula is: In practice, the BoW feature vector may contain a large number of zeros, the feature vector does not include all the words in the dictionary, and similar features are classified into the same category.

7. The binocular vision positioning method for UAVs in power transmission line operation scenarios according to claim 6, characterized in that: The scoring includes normalizing the number of point features and line features extracted, and the normalized weight includes scoring the closed-loop detection of fused points and lines, and optimizing based on the scoring results. The specific scoring formula is: Among them, N p and N l Represents the number of point features and line features extracted from the image.

8. A UAV binocular vision positioning system for power transmission line operation scenes, based on a UAV binocular vision positioning method for power transmission line operation scenes as claimed in any one of claims 1 to 7, characterized in that: include, The derivation module determines the positioning method of the UAV binocular vision according to the characteristics of the power transmission line operation scene, and derives the optimization model of the UAV binocular vision positioning according to the positioning method; The optimization module designs a positioning method of point-line feature fusion and dynamic content elimination according to the positioning mode and optimization model, and optimizes the positioning method using posture optimization technology.

9. 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 UAV binocular vision positioning method for power transmission line operation scenarios described in any one of claims 1 to 7 are implemented.

10. 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 UAV binocular vision positioning method for power transmission line operation scenarios described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Bolt operation control method based on unmanned aerial vehicle vision, robot and storage medium

    CN120588218A