Single vision overhead power transmission line motion trajectory acquisition method and device
By using monocular camera calibration and BFGS convex optimization algorithm, combined with Kalman filter tracking, the problem of accurate reconstruction of power transmission line motion trajectory in complex environments by monocular vision monitoring was solved, realizing low-cost and high-reliability power transmission line motion monitoring.
Patent Information
- Application Number
- CN202610862326.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-15
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2046-06-15
AI Technical Summary
Existing monocular vision monitoring methods are insufficient to meet the requirements for accurate reconstruction of the trajectory of overhead power transmission lines when faced with actual working conditions such as unknown camera installation locations and limited on-site calibration conditions. Furthermore, existing technologies and equipment are complex, costly, and have low safety.
A monocular camera was used for calibration, and the camera parameters were determined using the scale-adaptive BFGS convex optimization algorithm. Combined with Kalman filter tracking and image processing techniques, the motion time history pixel coordinates of key points on the power transmission line were obtained, and a motion trajectory analysis report was generated through coordinate transformation.
It achieves accurate reconstruction of the transmission line trajectory in complex environments. The equipment is simple, low-cost, and easy to maintain, improving the reliability and security of the monitoring system and avoiding the complex hardware synchronization problems of binocular or multi-camera systems.
Smart Images

Figure CN122434969B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power equipment condition monitoring and smart grid technology, specifically to a method and device for obtaining the motion trajectory of overhead transmission lines using monocular vision. Background Technology
[0002] Overhead transmission lines are the lifeblood of the power system, and their safe and stable operation is directly related to the national economy and people's livelihood. However, when affected by meteorological conditions such as wind loads and icing, overhead transmission lines are highly susceptible to low-frequency, large-amplitude self-excited vibrations, also known as "galloping." Severe galloping can lead to serious accidents such as phase-to-phase short circuits, hardware damage, and even line breaks and tower collapses, posing a significant threat to power grid safety. In other scenarios, overhead transmission lines may also experience other forms of planar spatial motion (such as "wind deflection"). Therefore, real-time and accurate monitoring of the operating status of overhead transmission lines and obtaining their motion trajectory time history are of great significance for safety early warning, risk prevention, and accident analysis.
[0003] Currently, the main methods for monitoring the movement trajectory of overhead power transmission lines include the following: directly acquiring the movement status of the transmission line by installing contact devices such as accelerometers on the transmission line; however, this method requires the equipment to be installed on a live high-voltage transmission line, and the sensor itself requires an additional power supply, which may alter the mechanical properties of the transmission line; scanning and ranging the transmission line using radar waves or laser beams, which is a non-contact measurement method with high safety, but the equipment is expensive and greatly affected by weather conditions such as rain and fog, which can easily lead to signal attenuation or loss; and using binocular or multi-view cameras to photograph the transmission line from different angles and reconstructing the three-dimensional coordinates through the principle of stereo vision, but on-site installation requires strict control over the relative positions of multiple cameras, the calibration process is complex, and the system robustness is poor.
[0004] In contrast, monocular vision monitoring has significant advantages such as simple equipment, convenient installation, and low cost, and it can directly utilize existing power grid system monitoring cameras. However, existing monocular measurement methods often fail to meet the needs of accurate reconstruction of transmission line movement trajectories in practical engineering applications when faced with real-world conditions such as unknown camera installation locations and limited on-site calibration conditions. Summary of the Invention
[0005] In view of this, the present invention provides a method and device for obtaining the motion trajectory of overhead power transmission lines using monocular vision, realizing an algorithmic and flexible calibration method for obtaining the motion trajectory of overhead power transmission lines, which can accurately reconstruct the motion trajectory of power transmission lines even in complex outdoor environments.
[0006] In a first aspect, the present invention provides a method for obtaining the motion trajectory of an overhead transmission line, the method comprising: acquiring video data of the overhead transmission line using a preset monocular camera; calibrating the monocular camera to determine its camera parameters; performing image processing on multiple image frames of the overhead transmission line video data to obtain the motion time-history pixel coordinates of key points of the transmission line; and performing data analysis on the motion time-history pixel coordinates to determine the motion trajectory of the overhead transmission line and generate an analysis report; The calibration of the monocular camera to determine its camera parameters includes: selecting at least four different calibration pixels in a calibration image captured by the monocular camera; determining the calibration two-dimensional pixel coordinates of the calibration pixels and obtaining the calibration three-dimensional world coordinates of the calibration pixels; determining parameters to be calibrated based on the projection coordinates of the origin of the three-dimensional camera coordinate system in the three-dimensional world coordinate system, the rotation angle of the three-dimensional world coordinate system relative to the three-dimensional camera coordinate system, the pixel line density of the monocular camera, and the camera focal length of the monocular camera, wherein the parameters to be calibrated characterize the mapping relationship between the calibration three-dimensional world coordinates and the calibration two-dimensional pixel coordinates; and solving for the parameters to be calibrated using a scale-adaptive BFGS convex optimization algorithm to determine the camera parameters. The step of analyzing the motion time-series pixel coordinates to determine the motion trajectory and analysis report of the overhead transmission line includes: performing Kalman filtering tracking on the target detection results of the key points of the transmission line, and distinguishing and merging the trackers; obtaining coordinate transformation equations to convert the pixel coordinates of each frame of the tracker into world coordinates to generate the motion trajectory of the overhead transmission line; and analyzing the motion trajectory to generate the analysis report.
[0007] In one optional implementation, before acquiring video data of overhead power lines using a preset monocular camera, the method further includes at least one of the following: setting the field of view of the monocular camera to be greater than a preset angle; setting the equivalent focal length of the monocular camera to be less than a preset distance; setting the pixel resolution of the monocular camera to be higher than a preset resolution; and performing distortion correction on the monocular camera.
[0008] In one optional implementation, calibrating the monocular camera and determining its camera parameters includes: selecting from calibration images captured by the monocular camera... There are three different calibration pixels, and the two-dimensional pixel coordinates of the calibration pixels are: And obtain the three-dimensional world coordinates of the calibrated pixel as The parameter to be calibrated is denoted as The parameters to be calibrated are initialized; the scale-adaptive BFGS convex optimization algorithm is used to solve for the parameters to be calibrated and determine the camera parameters. Wherein, the origin of the 3D camera coordinate system As the reference point for camera perspective projection, the 3D camera coordinate system The axis is in the opposite direction to the camera's line of sight, in the three-dimensional camera coordinate system. The axis is directly to the right of the camera's field of view, in the 3D camera coordinate system. The axis is directly above the camera's field of view, at the origin of the 3D camera coordinate system. The coordinates in the three-dimensional world coordinate system are And the three-dimensional world coordinate system Euler angles After rotation, the coordinate axes are parallel to the 3D camera coordinate system; the pixel origin of the 2D pixel coordinate system. Located at the top right corner of the image or video data, the pixel horizontal axis of the two-dimensional pixel coordinate system. To the right is positive and equal to Same direction, pixel vertical axis of two-dimensional pixel coordinate system Downward is positive and with Reverse; The imaging coefficient of the monocular camera represents the pixel line density of the camera's imaging element. With camera focal length The product of.
[0009] In one optional implementation, the step of using the scale-adaptive BFGS convex optimization algorithm to solve for the parameters to be calibrated and to determine the camera parameters includes: The mathematical expression of the scale-adaptive BFGS convex optimization algorithm is:
[0010] in, These are the theoretical pixel coordinates calculated based on the camera parameters. This is the projection model function for the monocular camera.
[0011] In one optional implementation, the step of using the scale-adaptive BFGS convex optimization algorithm to solve for the parameters to be calibrated and to determine the camera parameters includes: make , Select the iteration tolerance tol; Calculate gradient ; Calculate the iterative search direction ; Let the strong Wolfe condition be denoted as , Pick , Determine the line search step size ; Update parameters, calculate , , , ; like Then, adaptive scaling of the inverse Hessian matrix is performed, and the scaling factor is calculated. Scaling of the approximation of the inverse Hesse matrix ; Update the inverse Hessian matrix approximation ; Circular counting, let And jump to calculate gradient. Steps; like Then, the loop will exit, and the convex optimization result of the camera parameters will be output. .
[0012] In one optional implementation, the step of image processing multiple image frames of the overhead transmission line video data to obtain the motion time-history pixel coordinates of key points of the transmission line includes: checking whether the overhead transmission line video data has reached the end of the video stream; if it has not reached the end of the video stream, then reading in a new video frame; processing the new video frame using an image enhancement method to obtain an enhanced video frame; processing the enhanced video frame using a target detection method to identify and temporarily store the key points of the transmission line and the single-frame pixel coordinates of the key points of the transmission line; if it has reached the end of the video stream, then outputting the target detection results of all temporarily stored frames.
[0013] In one optional implementation, obtaining the coordinate transformation equation, converting the pixel coordinates of each frame of the tracker into world coordinates, and generating the motion trajectory of the overhead power line, includes: Based on the calibrated camera parameters Determine the orthogonal rotation matrix Translation vector Imaging coefficients Orthogonal rotation matrix The translation vector represents the rotation of the 3D camera coordinate system relative to the 3D world coordinate system. It represents the translation of the 3D camera coordinate system relative to the 3D world coordinate system; Denote the target point on the overhead power line in a three-dimensional world coordinate system. The plane of motion is ,Sure The plane equation is , It is a plane The normal vector in the three-dimensional world coordinate system, It is a constant term; Determine the target point The pixel coordinates in the video frame are ; Computational plane The normal vector in the 3D camera coordinate system is constant term ,ray Direction vector in the 3D camera coordinate system ; The target point is obtained by solving the problem. The coordinates in the three-dimensional world coordinate system are .
[0014] In one optional implementation, generating the analysis report includes at least one of the following: generating the motion trajectory and waveform of the target point. Generate the vertical and horizontal motion amplitude of the target point. The tilt angle of the motion ellipse generating the target point. ; The motion frequency of the generated target point ; Coordinate transformation accuracy of generated target points The coordinate transformation accuracy Characterize the vicinity of the target point and The deviation per unit pixel in the pixel direction corresponds to the plane. Spatial coordinate deviation.
[0015] In one optional implementation, the coordinate transformation accuracy of the generated target point is... ,include: Take tiny pixel deviation ,remember , , , ; calculate Coordinates in a three-dimensional world coordinate system ; Calculate coordinate transformation accuracy The two-way conversion accuracy , .
[0016] Secondly, the present invention provides a monocular vision-based device for acquiring the time history of the motion trajectory of an overhead power transmission line, the device comprising: The image acquisition module is used to acquire video data of overhead power transmission lines using a preset monocular camera; A camera calibration module is used to calibrate the monocular camera and determine the camera parameters of the monocular camera; The image recognition module is used to process multiple image frames of the overhead transmission line video data to obtain the motion time history pixel coordinates of key points of the transmission line, wherein the key points of the transmission line are markers pre-installed on the overhead transmission line. The data analysis module is used to perform data analysis on the motion time-history pixel coordinates to determine the motion trajectory of the overhead transmission line and generate an analysis report. The step of calibrating the monocular camera and determining the camera parameters of the monocular camera includes: selecting at least four different calibration pixels in the calibration image captured by the monocular camera, determining the calibration two-dimensional pixel coordinates of the calibration pixels, and obtaining the calibration three-dimensional world coordinates of the calibration pixels. Based on the projection coordinates of the origin of the 3D camera coordinate system in the 3D world coordinate system, the rotation angle of the 3D world coordinate system relative to the 3D camera coordinate system, the pixel line density of the monocular camera, and the camera focal length of the monocular camera, the parameters to be calibrated are determined. The parameters to be calibrated represent the mapping relationship between the calibrated 3D world coordinates and the calibrated 2D pixel coordinates. The camera parameters are determined by solving the parameters to be calibrated using the scale-adaptive BFGS convex optimization algorithm. The step of performing data analysis on the motion time-history pixel coordinates to determine the motion trajectory of the overhead transmission line and generating an analysis report includes: Kalman filtering is applied to the target detection results of the key points of the power transmission line, and the trackers are distinguished and merged. Obtain the coordinate transformation equation, convert the pixel coordinates of each frame of the tracker into world coordinates, and generate the motion trajectory of the overhead power line; The motion trajectory is analyzed, and the analysis report is generated.
[0017] The technical solution provided by one or more embodiments of the present invention features a simple equipment structure, low cost, and easy maintenance, requiring only a single camera to achieve three-dimensional coordinate calculation. On the one hand, it avoids the complex hardware synchronization and installation alignment problems of binocular or multi-camera systems; on the other hand, it allows for the direct utilization of existing power grid system monitoring cameras. Furthermore, it eliminates the need to install contact sensors on energized transmission lines, significantly reducing system costs and post-maintenance difficulty, and improving the reliability and security of the monitoring system.
[0018] The technical solution provided by one or more embodiments of this invention exhibits strong calibration robustness and good adaptability. Addressing the problem of difficulty in accurately measuring camera pose in the field, this invention selects several calibration points within the field of view, thereby inversely calculating the camera's imaging coefficients, rotation matrix, and translation vector. This algorithm offers more flexible calibration point selection, faster convergence, and higher accuracy, achieving accurate calibration results even when the camera's initial parameters are only roughly estimated or unknown. Compared to existing calibration methods, this invention eliminates the need for a calibration board, and the camera's extrinsic parameters do not change with the placement of the calibration board. The camera's extrinsic parameters are fixed in the world coordinate system, facilitating the acquisition of the target point's trajectory time history in the world coordinate system.
[0019] The technical solution provided by one or more embodiments of the present invention fully utilizes the physical characteristic that the movement of power transmission lines typically occurs within a specific plane (such as a vertical plane or a specific inclined plane). By establishing planar constraint equations, the problem of depth information loss in monocular vision is cleverly solved, accurately mapping two-dimensional pixel coordinates back to the three-dimensional world coordinate system. This method significantly improves the accuracy of solving the time history of the power transmission line's motion trajectory while ensuring computational efficiency.
[0020] The technical solutions provided by one or more embodiments of the present invention, because they require selecting calibration points with a relatively large range within the field of view, are therefore, in principle, friendly to wide-angle lenses, allowing for the capture of significant movements of power transmission lines within a large field of view. Considering that most existing power grid system monitoring cameras are wide-angle or near-wide-angle lenses, the present invention has the opportunity to directly utilize existing cameras.
[0021] The technical solutions provided by one or more embodiments of this invention are not dependent on the camera model. As long as the camera has video recording capabilities, or can be upgraded to a video recording camera, this method can be applied to measure the spatial movement trajectory of key points on overhead lines. Installing an infrared camera enables the identification and analysis of marker points at night, in light rain, or in light fog. Attached Figure Description
[0022] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0023] Figure 1 This is a flowchart of a method for obtaining the motion trajectory of an overhead power transmission line using monocular vision, according to the present invention. Figure 2 This is a coordinate system definition diagram for a monocular vision method for acquiring the motion trajectory of overhead power transmission lines according to the present invention; Figure 3 This is a schematic diagram of Embodiment 1 of the method for obtaining the motion trajectory of an overhead power transmission line using monocular vision according to the present invention; Figure 4 This is a schematic diagram of Embodiment 2 of the method for obtaining the motion trajectory of an overhead power transmission line using monocular vision according to the present invention; Figure 5 This is a schematic diagram of Embodiment 3 of the method for obtaining the motion trajectory of an overhead power transmission line using monocular vision according to the present invention; Figure 6 This is a schematic diagram of Embodiment 4 of the method for obtaining the motion trajectory of an overhead power transmission line using monocular vision according to the present invention; Figure 7 This is a single-frame schematic diagram of image enhancement and key point target detection in Embodiment 4 of the present invention, which describes a method for acquiring the motion trajectory of overhead power transmission lines using monocular vision. Figure 8 Example 4 of the present invention is a three-dimensional motion time history curve of a spacer bar in a method for obtaining the motion trajectory of an overhead power transmission line using monocular vision. Figure 9 Example 4 of the present invention is a method for obtaining the motion trajectory of an overhead power transmission line using monocular vision, showing the three-dimensional motion spectrum curve of a spacer bar. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] To facilitate discussion of technical solutions, we can first define two coordinate systems: the world coordinate system and the international coordinate system. With camera coordinate system ,like Figure 2 As shown.
[0026] Furthermore, the camera coordinate system is fixed to the camera, with its origin at... The reference point (optical center) for the camera's perspective projection. The axis is in the opposite direction of the camera's line of sight. The axis is directly to the right of the field of view. Directly above the field of view along the axis. tie origin exist The coordinates in the system are ,and System Euler angles After rotation and The system has parallel coordinate axes.
[0027] Image or video data is typically in the form of a pixel bitmap or a pixel bitmap time series. Following digital image processing conventions, the origin of the pixels in an image or video is defined. Located in the upper right corner, pixel horizontal axis Right is positive (and) (same direction), pixel vertical axis Downward is positive (and) (Reverse)
[0028] It should be noted that the monocular vision method for acquiring the motion trajectory of overhead transmission lines provided by one or more embodiments of the present invention can not only continuously monitor the dynamic motion trajectory of overhead transmission lines (e.g., galloping trajectory and wind deflection trajectory), but also statically measure the motion deviation data of overhead transmission lines at a specific moment (e.g., dynamic capacity expansion results); wherein, the overhead transmission line may include both overhead conductors and overhead ground wires.
[0029] In one general implementation, the technical solution provided by the present invention includes steps 1 to 4, which are explained in detail below.
[0030] Step 1: Use a pre-set monocular camera to acquire video data of overhead power lines.
[0031] In this embodiment, the monocular camera can be a fixed bullet camera or a pan-tilt camera installed on a power transmission tower, or it can be a video camera installed on a nearby tower or other structure.
[0032] Preferably, the monocular camera is wide-angle, meaning its field of view can be set to be greater than a preset angle, or its equivalent focal length can be set to be less than a preset distance. For example, the monocular camera's field of view is... The above, or the equivalent focal length is below 28mm.
[0033] Preferably, the pixel resolution of the monocular camera is higher than a preset resolution, for example, a pixel resolution of at least 1080p (1920px). 1080px is recommended.
[0034] Preferably, the monocular camera should be securely installed so that it does not shift or rotate unexpectedly during image or video data acquisition.
[0035] Preferably, a monocular camera should have the smallest possible distortion. For lenses with a large field of view, the distortion is usually also large, and distortion correction should be performed first.
[0036] Step 2: Calibrate the monocular camera and determine its camera parameters.
[0037] In this embodiment, at least four different calibration pixels are selected from the calibration image captured by the monocular camera. This allows for the determination of the calibration two-dimensional pixel coordinates and the acquisition of the calibration three-dimensional world coordinates of the calibration pixels. Based on the projected coordinates of the origin of the three-dimensional camera coordinate system in the three-dimensional world coordinate system, the rotation angle of the three-dimensional world coordinate system relative to the three-dimensional camera coordinate system, the pixel line density of the monocular camera, and the focal length of the monocular camera, calibration parameters can be determined. These calibration parameters characterize the mapping relationship between the calibration three-dimensional world coordinates and the calibration two-dimensional pixel coordinates. Using the scale-adaptive BFGS convex optimization algorithm, the calibration parameters can be solved, thus determining the camera parameters.
[0038] In this embodiment, step 2 may specifically include steps 2.1 to 2.3.
[0039] Step 2.1: Selected Different pixels Obtain its corresponding point in coordinates under the system Furthermore, the number of calibration points selected... Furthermore, all calibration points should occupy as large a proportion as possible within the camera's field of view, and the spatial range they extend should include the target point as much as possible.
[0040] Step 2.2: Record the parameter to be calibrated as... .use The random value inside can be used to initialize the filling. The first 6 items Using a fixed value of 1, the 7th item can be initialized and populated. If the approximate parameters of some items in the monocular camera are known, then those parameters can be used for initialization. Among them, Known as the imaging coefficient, it is the pixel line density of the camera's imaging element. With camera focal length The product of the two. Imaging coefficients. It is an inherent property of the camera and is a constant value when the camera is not zooming.
[0041] Step 2.3: Solve for the calibration parameters using the scale-adaptive Broyden-Fletcher-Goldfarb-Shanno (BFGS) convex optimization algorithm. .
[0042] In some implementations, the mathematical expression of the scale-adaptive BFGS convex optimization algorithm described in step 2.3 can be defined as: , That is, to optimize the parameters to be calibrated so that the pixel coordinates calculated at each point are... Compared with the actual marked pixel coordinates The mean distance between them is minimized. Since this equation describes an unconstrained smooth optimization problem, it is reasonable to use the scale-adaptive BFGS algorithm for convex optimization.
[0043] The adaptive BFGS convex optimization algorithm described above requires as few as four spatial calibration points (i.e., pixel calibration points) to calibrate a monocular camera. These spatial calibration points can be points such as angle steel nodes of the tower, tower legs, crossarms, and sharp edges in the surrounding environment—points whose spatial coordinates can be obtained by consulting drawings or through simple measurements such as 3D laser point cloud measurements. Then, spatial coordinate transformation is used to obtain the spatial coordinates of the calibration points. With the spatial coordinates obtained, the scale-adaptive BFGS convex optimization algorithm is then used for camera calibration.
[0044] The scale-adaptive BFGS convex optimization algorithm applies adaptive scaling of the inverse Hesse matrix to calculate the scaling factor γ, thereby correcting the scale of the approximation of the inverse Hesse matrix. During the iterative calculation phase, when the absolute value of the calculated gradient is less than the iteration tolerance tol, the output result is the optimization result, completing the calibration.
[0045] In a practical application example, let's record a point... In the world coordinate system Having coordinates In the camera coordinate system Below has coordinates Then the coordinate transformation of this point can be expressed as the following mathematical formula.
[0046] ; in, For orthogonal rotation matrices, Euler angles are... After substituting the values, we get the following formula.
[0047] .
[0048] Let the camera focal length be... The number of pixels per unit length on a CCD is The photo is wide. Pixels, High Pixels. For digital photographs, pixel counts are typically performed from left to right and top to bottom, with the top-left corner as the origin. Let... Points in the system It is projected as a pixel on the photograph. The coordinates are Assuming the camera has no optical distortion, the object point in the imaging system... Image point , light center Three points are collinear. They satisfy the following relationship.
[0049] , Right now , Then the formula After substituting the values, we obtain the following set of coordinate transformation equations.
[0050] .
[0051] In the aforementioned perspective projection system, from three-dimensional world coordinates To the pixel coordinates of a two-dimensional image In transformations, the optical center coordinates are usually... ZYX Euler Angles ,coefficient A total of 7 independent variables are the parameters that need to be calibrated. For a given object point with known 3D world coordinates, its pixel position on the photograph can be measured. Group of different points ( ), its in coordinate system In the photo, the pixel coordinates are The calibration of the seven independent variables in the parameters to be calibrated can be completed using convex optimization methods. The convex optimization calibration process can be described by the following formula.
[0052] .
[0053] By optimizing the calibration parameters, the pixel coordinates calculated at each point are improved. Compared with the actual marked pixel coordinates The distances between them are minimized. Initial values for convex optimization can be obtained from... Fill with random values within the range.
[0054] In some implementations, the scale-adaptive BFGS algorithm in step 2.3 above may include steps 2.3.1 to 2.3.9 below.
[0055] Step 2.3.1: Let , The iteration tolerance tol is selected.
[0056] Step 2.3.2: Calculate the gradient , Then proceed to step 2.3.8.
[0057] Step 2.3.3: Calculate the iterative search direction .
[0058] Step 2.3.4: The strong Wolfe condition is denoted as , Pick , Determine the line search step size .
[0059] Step 2.3.5: Update parameters and calculate. , , , .
[0060] Step 2.3.6: If Adaptive scaling of the inverse Hessian matrix is performed to accelerate the convergence of early-stage convex optimization calculations. The scaling factor is then calculated. Scaling of the approximation of the inverse Hesse matrix .
[0061] Step 2.3.7: Update the approximation of the inverse Hessian matrix .
[0062] Step 2.3.8: Loop Counting Proceed to step 2.3.2.
[0063] Step 2.3.9: Output convex optimization results .
[0064] Step 3: Perform image processing on multiple image frames of the overhead transmission line video data to obtain the motion time history pixel coordinates of key points on the transmission line.
[0065] In this embodiment, key points on the transmission line can be spacers, vibration dampers, or other markers such as sensors or spheres manually added to the overhead transmission line. Step 3 can specifically include steps 3.1 to 3.4.
[0066] Step 3.1: Check if the overhead transmission line video stream in Step 1 has reached its end. If yes, proceed to Step 3.4; otherwise, read in a new video frame.
[0067] Step 3.2: Process the newly read-in frame using image enhancement methods to obtain the enhanced video frame.
[0068] Furthermore, the image enhancement method described in step 3.2 is used to enhance video data under severe weather conditions. Its implementation methods may include, but are not limited to, traditional vision-based image enhancement methods, AI-based low-light enhancement methods such as EnlightenGAN, and AI-based rain, snow, and fog removal methods such as USRNet.
[0069] Step 3.3: Using the target detection method, perform target detection processing on the enhanced video frame to identify and temporarily store the pixel coordinates of key targets such as spacer bars (a type of power fitting that can be specially installed on split transmission lines to fix the spacing between each sub-transmission line); jump to step 3.1.
[0070] Furthermore, the object detection methods described in step 3.3 may include, but are not limited to, YOLO, RetinaNet, and DERT. The inference model used by the object detection method may need to be trained specifically for the specific key object type.
[0071] Step 3.4: Output the key point target detection results of all temporarily stored frames.
[0072] Step 4: Perform data analysis on the motion time history pixel coordinates of key points of the transmission line to determine the motion trajectory of the overhead transmission line and generate an analysis report.
[0073] In this embodiment, step 4 may specifically include steps 4.1 to 4.3.
[0074] Step 4.1: Perform Kalman filter tracking on the key point target detection results, and distinguish and merge the trackers.
[0075] Step 4.2: Obtain the coordinate transformation equation, convert the pixel coordinates of each frame of the tracker into world coordinates, and generate the overhead power line motion trajectory data.
[0076] In some implementations, the coordinate transformation described in step 4.2 may include steps 4.2.1 to 4.2.5.
[0077] Step 4.2.1: Use the calibrated camera parameters Determine the orthogonal rotation matrix Translation vector Imaging coefficients .
[0078] Wherein, the orthogonal rotation matrix Characterizing camera relative The rotation of the system is obtained from Euler angles.
[0079] , Translation vector Characterizing camera relative The translation of the system, i.e. tie origin exist Coordinates under the system.
[0080] Step 4.2.2: Record In the system, the target point on the transmission line The plane of motion is ,Sure plane equation .
[0081] Furthermore, It is a plane exist Normal vector in the system, It is a constant term.
[0082] Step 4.2.3: Determine the point Pixel coordinates in an image or video frame .
[0083] Step 4.2.4: Calculate the plane exist Normal vector in the system constant term ,ray exist Direction vector in the system .
[0084] Step 4.2.5: Solve for the points exist The coordinates in the system are .
[0085] In a practical application example, a point in three-dimensional space has three degrees of freedom, but after projecting it onto the photographic plane, it only has two degrees of freedom. Therefore, relying solely on coordinate transformation cannot recover all the positional information of a point in three-dimensional space from a camera image. In the problem of power line motion trajectories (such as galloping trajectories), it can be approximated that the motion trajectory of a specific point on the power line lies in a defined plane perpendicular to the conductor. Inside, it is The normal vector of the system is The equation of the plane is This plane is in The equation of the system is transformed into the following expression.
[0086] ; in, .
[0087] At a certain moment, a specific point on the transmission line The pixel coordinates on the photo are The straight line connecting it to the optical center Passing through a point in three-dimensional space .straight line exist Regarding parameters The parametric equation is as follows.
[0088] .
[0089] in, It is a straight line The direction vector. Simultaneous equations and You can get points. In The coordinates of the system are shown in the following formula.
[0090] ; Then transform it back System, obtain , This expression represents a point. exist The coordinates in the system. Based on the above method, the transformation relationship from a monocular camera's two-dimensional image to the world's three-dimensional coordinates can be established, thereby obtaining the three-dimensional spatial coordinates of key nodes in the real world coordinates, providing real displacement information for subsequent motion (e.g., galloping, wind deflection) feature inversion.
[0091] Step 4.3: Analyze the motion trajectory and generate the analysis report. This analysis report may include, but is not limited to: the motion trajectory and waveform of the target point. Vertical and horizontal motion amplitude of the target point Inclination angle of the motion ellipse of the target point Target point movement frequency Target point coordinate transformation accuracy .
[0092] Optionally, coordinate transformation accuracy It is a 3 A vector of 1. In the image and Direction, coordinate transformation accuracy It can be further expressed as .
[0093] coordinate transformation accuracy Characterizes the vicinity of the target point and The deviation per unit pixel in the pixel direction corresponds to the plane. A larger spatial coordinate deviation means worse coordinate transformation resolution. Generally, The unit for each component is "meter / pixel (m / px)" or "millimeters / pixel (mm / px)".
[0094] In some implementations, the above coordinate transformation accuracy The acquisition may include the following steps 4.3.1 to 4.3.3.
[0095] Step 4.3.1: Take small pixel deviations .remember , , , Within the limits of computational accuracy, To achieve higher precision, the smallest possible value should be selected. Typically, a value of [value] is chosen. That's all.
[0096] Step 4.3.2: Based on Step 4.2, calculate respectively Coordinates in a three-dimensional world coordinate system .
[0097] Step 4.3.3: Calculation results : .
[0098] In summary, the flowchart of the method for obtaining the motion trajectory of an overhead power transmission line using monocular vision according to the present invention can be described as follows: Figure 1 As shown.
[0099] The following examples, exemplified by Examples 1-4, further detail the monocular vision method for acquiring the motion trajectory of overhead power transmission lines provided by the present invention. Examples 1-4 are some preferred embodiments of the present invention in practical application scenarios, but not all of them.
[0100] Example 1, as a partial implementation of the technical solution of the present invention, uses Blender to build a monocular camera solution test environment, such as... Figure 3 As shown. Among them, the plane A target point is set above. (Green dot in the image), its pixel coordinates .
[0101] First, set up the monocular camera, configure the camera parameters in the Blender program, and determine its installation location. , Euler angles , , Field of view pixel size Photosensitive element width ,focal length The imaging parameters were calculated. .
[0102] Based on step 2 above, select an image within the camera's field of view such as... Figure 3The four calibration points are indicated by red dots. The pixel coordinates of the four calibration points and their corresponding world coordinates are as follows.
[0103] .
[0104] The parameters to be calibrated were solved using BFGS convex optimization. You can get , Euler angles , , Imaging parameters This is basically consistent with the preset value in step 1 above.
[0105] Based on steps 4.2.1-4.2.5 above, solve the plane. On point world coordinates In fact, point The actual coordinates set in the software are: The solution obtained by this invention deviates from the result by centimeters.
[0106] Based on steps 4.3.1-4.3.3 above, solve the plane. On point The coordinate transformation accuracy in the vicinity is , .
[0107] This embodiment 1 demonstrates the effectiveness of the monocular vision method for obtaining the motion trajectory of overhead power transmission lines according to the present invention.
[0108] Example 2, a partial implementation of the technical solution of the present invention, involves conducting a monocular camera processing test on a tennis court, such as... Figure 4 As shown. Among them, the plane A test subject stands at the center of his face. The pixel coordinates are .
[0109] First, a monocular camera is installed. Its installation location is estimated to be... Used for initialization. View pixel size. .
[0110] Based on step 2 above, select an image within the camera's field of view such as... Figure 4 The four calibration points are indicated by red dots. The pixel coordinates of the four calibration points and their corresponding world coordinates are as follows.
[0111] .
[0112] The parameters to be calibrated were solved using BFGS convex optimization. You can get This matches the estimated installation location; Euler angles , , Imaging parameters Pixel coordinates Compared with the actual marked pixel coordinates Mean distance between It is 1.37 The calibration can be considered valid.
[0113] Based on steps 4.2.1-4.2.5 above, solve the plane. On point world coordinates In fact, the testers stood near the original point and measured... It is reasonable that the values are close to 0; the test subject is approximately 1.72m tall, and the height of the center point of his face was measured. This is reasonable. The deviation between the solution obtained by this invention and the actual value is on the order of centimeters.
[0114] Based on steps 4.3.1-4.3.3 above, solve the plane. On point The coordinate transformation accuracy in the vicinity is , .
[0115] This embodiment demonstrates the effectiveness of the monocular vision method for obtaining the motion trajectory of overhead power transmission lines according to the present invention.
[0116] Example 3, a partial implementation of the technical solution of the present invention, involves setting up a simulated overhead power line device in a laboratory and using a monocular camera to collect image data of the overhead power line, such as... Figure 5 As shown. The simulated overhead transmission line is in the plane. A small ball with a marker is placed there. Its pixel coordinates .
[0117] First, a monocular camera is set up. This camera is the same as the one in Example 2, therefore the calculated imaging parameters are... It should be close. Its installation location is not estimated. Field of view pixel size. .
[0118] Based on step 2 above, select an image within the camera's field of view such as... Figure 5 The four calibration points are indicated by red dots. The pixel coordinates of the four calibration points and their corresponding world coordinates are as follows.
[0119] .
[0120] The parameters to be calibrated were solved using BFGS convex optimization. ,get ; Euler angles , , Imaging parameters The difference between the imaging parameters and those in Example 2 Pixel coordinates Compared with the actual marked pixel coordinates Mean distance between It is 0.71 The calibration can be considered valid.
[0121] Based on steps 4.2.1-4.2.5 above, solve the plane. small ball world coordinates In fact, the ball can be measured using a regular measuring tape. world coordinates The solution obtained by this invention deviates from the result by centimeters.
[0122] Based on steps 4.3.1-4.3.3 above, solve the plane. On point The coordinate transformation accuracy in the vicinity is , .
[0123] This embodiment demonstrates the effectiveness of the monocular vision method for obtaining the motion trajectory of overhead power transmission lines according to the present invention.
[0124] Example 4, a partial implementation of the technical solution of the present invention, actually uses a monocular camera to collect image data of overhead power lines, such as... Figure 6 As shown. Among them, the plane A target point is set above. (Green dot in the image), its pixel coordinates .
[0125] Following step 1 above, the monocular camera was first installed. Measurements determined that the camera's installation location was... Used for initialization. View pixel size. .
[0126] Based on step 2 above, select an image within the camera's field of view such as... Figure 6 The 10 calibration points are indicated by red dots. The pixel coordinates of the 10 calibration points and their corresponding world coordinates are as follows.
[0127] .
[0128] The parameters to be calibrated were solved using BFGS convex optimization. You can get The error between the measurement results and the actual measurement is on the order of decimeters. Euler angles , , Imaging parameters Pixel coordinates Compared with the actual marked pixel coordinates Mean distance between It is 18.2 The calibration can be considered valid.
[0129] Following step 3 above, EnlightenGAN is used for low-light enhancement, USRNet is used for rain, snow, and fog removal, and a YOLOv7 model trained for spacer bar recognition is used for spacer bar target detection. Figure 7 As shown. The detection point marked "ID:1" is the target point. .
[0130] Based on step 4 above, Kalman filtering is performed to track and analyze the trajectory time history data of key points. Figure 6 midplane On point world coordinates .point The coordinate transformation accuracy in the vicinity is , .point The motion trajectory waveform is as follows Figure 8 As shown, the motion spectrum curve is as follows Figure 9 As shown, Directional motion amplitude , Directional motion amplitude Inclination angle of the motion ellipse Motion frequency .
[0131] The technical solution provided by one or more embodiments of the present invention features a simple equipment structure, low cost, and easy maintenance, requiring only a single camera to achieve three-dimensional coordinate calculation. On the one hand, it avoids the complex hardware synchronization and installation alignment problems of binocular or multi-camera systems; on the other hand, it allows for the direct utilization of existing power grid system monitoring cameras. Furthermore, it eliminates the need to install contact sensors on energized transmission lines, significantly reducing system costs and post-maintenance difficulty, and improving the reliability and security of the monitoring system.
[0132] The technical solution provided by one or more embodiments of this invention exhibits strong calibration robustness and good adaptability. Addressing the problem of difficulty in accurately measuring camera pose in the field, this invention selects several calibration points within the field of view, thereby inversely calculating the camera's imaging coefficients, rotation matrix, and translation vector. This algorithm offers more flexible calibration point selection, faster convergence, and higher accuracy, achieving accurate calibration results even when the camera's initial parameters are only roughly estimated or unknown. Compared to existing calibration methods, this method eliminates the need for a calibration plate, and the camera's extrinsic parameters do not change with the calibration plate's placement. The camera's extrinsic parameters are fixed in the world coordinate system, facilitating the acquisition of the target point's motion time history in the world coordinate system.
[0133] The technical solution provided by one or more embodiments of the present invention fully utilizes the physical characteristic that the movement of power transmission lines typically occurs within a specific plane (such as a vertical plane or a specific inclined plane). By establishing planar constraint equations, the problem of depth information loss in monocular vision is cleverly solved, accurately mapping two-dimensional pixel coordinates back to the three-dimensional world coordinate system. This method significantly improves the accuracy of solving the time history of power transmission line movement while ensuring computational efficiency.
[0134] The technical solutions provided by one or more embodiments of the present invention, because they require selecting calibration points with a relatively large range within the field of view, are therefore, in principle, friendly to wide-angle lenses, allowing for the capture of significant movements of power transmission lines within a large field of view. Considering that most existing power grid system monitoring cameras are wide-angle or near-wide-angle lenses, the present invention has the opportunity to directly utilize existing cameras.
[0135] The technical solutions provided by one or more embodiments of this invention are not dependent on the camera model. As long as the camera has video recording capabilities, or can be upgraded to a video recording camera, this method can be applied to measure the spatial movement trajectory of key points on overhead lines. Installing an infrared camera enables the identification and analysis of marker points at night, in light rain, or in light fog.
[0136] This invention also provides a monocular vision-based device for acquiring the motion trajectory of overhead power transmission lines. This device is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0137] This embodiment provides a monocular vision device for acquiring the motion trajectory of overhead power transmission lines, including: The image acquisition module is used to acquire video data of overhead power transmission lines using a preset monocular camera; A camera calibration module is used to calibrate the monocular camera and determine the camera parameters of the monocular camera; The image recognition module is used to process multiple image frames of the overhead power transmission line video data to obtain the motion time history pixel coordinates of key points of the power transmission line. The data analysis module is used to perform data analysis on the motion time-history pixel coordinates to determine the motion trajectory of the overhead power transmission line and generate an analysis report.
[0138] The step of calibrating the monocular camera and determining the camera parameters of the monocular camera includes: selecting at least four different calibration pixels in the calibration image captured by the monocular camera, determining the calibration two-dimensional pixel coordinates of the calibration pixels, and obtaining the calibration three-dimensional world coordinates of the calibration pixels. Based on the projection coordinates of the origin of the 3D camera coordinate system in the 3D world coordinate system, the rotation angle of the 3D world coordinate system relative to the 3D camera coordinate system, the pixel line density of the monocular camera, and the camera focal length of the monocular camera, the parameters to be calibrated are determined. The parameters to be calibrated represent the mapping relationship between the calibrated 3D world coordinates and the calibrated 2D pixel coordinates. The camera parameters are determined by solving the parameters to be calibrated using the scale-adaptive BFGS convex optimization algorithm. The step of performing data analysis on the motion time-history pixel coordinates to determine the motion trajectory of the overhead transmission line and generating an analysis report includes: Kalman filtering is applied to the target detection results of the key points of the power transmission line, and the trackers are distinguished and merged. Obtain the coordinate transformation equation, convert the pixel coordinates of each frame of the tracker into world coordinates, and generate the motion trajectory of the overhead power line; The motion trajectory is analyzed, and the analysis report is generated.
[0139] Further functional descriptions of the above modules are the same as those of the corresponding method embodiments described above, and will not be repeated here.
[0140] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0141] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0142] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for acquiring the time history of the motion trajectory of an overhead transmission line using monocular vision, characterized in that, The method includes: Use a pre-set monocular camera to acquire video data of overhead power transmission lines; The monocular camera is calibrated to determine its camera parameters; Image processing is performed on multiple image frames of the overhead transmission line video data to obtain the motion time history pixel coordinates of key points of the transmission line, which are markers pre-installed on the overhead transmission line. Data analysis is performed on the motion time-history pixel coordinates to determine the motion trajectory of the overhead power transmission line and generate an analysis report; The step of calibrating the monocular camera and determining the camera parameters of the monocular camera includes: selecting at least four different calibration pixels in the calibration image captured by the monocular camera, determining the calibration two-dimensional pixel coordinates of the calibration pixels, and obtaining the calibration three-dimensional world coordinates of the calibration pixels. Based on the projection coordinates of the origin of the 3D camera coordinate system in the 3D world coordinate system, the rotation angle of the 3D world coordinate system relative to the 3D camera coordinate system, the pixel line density of the monocular camera, and the camera focal length of the monocular camera, the parameters to be calibrated are determined. The parameters to be calibrated represent the mapping relationship between the calibrated 3D world coordinates and the calibrated 2D pixel coordinates. The camera parameters are determined by solving the parameters to be calibrated using the scale-adaptive BFGS convex optimization algorithm. The step of performing data analysis on the motion time-history pixel coordinates to determine the motion trajectory of the overhead transmission line and generating an analysis report includes: Kalman filtering is applied to the target detection results of the key points of the power transmission line, and the trackers are distinguished and merged. Obtain the coordinate transformation equation, convert the pixel coordinates of each frame of the tracker into world coordinates, and generate the motion trajectory of the overhead power line; The motion trajectory is analyzed to generate the analysis report; The process of obtaining the coordinate transformation equation, converting the pixel coordinates of each frame of the tracker into world coordinates, and generating the motion trajectory of the overhead power line includes: Based on the calibrated camera parameters Determine the orthogonal rotation matrix Translation vector Imaging coefficients Orthogonal rotation matrix The translation vector represents the rotation of the 3D camera coordinate system relative to the 3D world coordinate system. Characterizes the translation of the 3D camera coordinate system relative to the 3D world coordinate system; the origin of the 3D camera coordinate system. The coordinates in the three-dimensional world coordinate system are And the three-dimensional world coordinate system Euler angles After rotation, the coordinate axes are parallel to the 3D camera coordinate system; The imaging coefficient of the monocular camera represents the pixel line density of the camera's imaging element. With camera focal length The product; Denote the target point on the overhead power line in a three-dimensional world coordinate system. The plane of motion is ,Sure The plane equation is , It is a plane The normal vector in the three-dimensional world coordinate system, It is a constant term; Determine the target point The pixel coordinates in the video frame are ; Computational plane The normal vector in the 3D camera coordinate system is constant term ,ray Direction vector in the 3D camera coordinate system , The pixel width of a photo taken by the camera. The pixel height of a photo taken by the camera; The target point is obtained by calculation. The coordinates in the three-dimensional world coordinate system are .
2. The method according to claim 1, characterized in that, Before acquiring video data of overhead power lines using a pre-set monocular camera, the method further includes at least one of the following: The field of view of the monocular camera is set to be greater than a preset angle; The equivalent focal length of the monocular camera is set to be less than a preset distance; The pixel resolution of the monocular camera is set to be higher than the preset resolution; Distortion correction is performed on the monocular camera.
3. The method according to claim 1 or 2, characterized in that, The calibration of the monocular camera to determine its camera parameters includes: Select from the calibration images captured by the monocular camera There are three different calibration pixels, and the calibration two-dimensional pixel coordinates of the calibration pixels are: And obtain the calibration three-dimensional world coordinates of the calibration pixel as ; Let the parameter to be calibrated be denoted as And initialize the parameters to be calibrated; The camera parameters are determined by solving the parameters to be calibrated using the scale-adaptive BFGS convex optimization algorithm. Wherein, the origin of the 3D camera coordinate system As the reference point for camera perspective projection, the 3D camera coordinate system The axis is in the opposite direction to the camera's line of sight, in the three-dimensional camera coordinate system. The axis is directly to the right of the camera's field of view, in the 3D camera coordinate system. The axis is directly above the camera's field of view; the pixel origin of the two-dimensional pixel coordinate system. Located at the top right corner of the image or video data, the pixel horizontal axis of the two-dimensional pixel coordinate system. To the right is positive and equal to Same direction, pixel vertical axis of two-dimensional pixel coordinate system Downward is positive and with Reverse.
4. The method according to claim 3, characterized in that, The process of using the scale-adaptive BFGS convex optimization algorithm to solve for the parameters to be calibrated and to determine the camera parameters includes: The mathematical expression of the scale-adaptive BFGS convex optimization algorithm is: in, The theoretical pixel coordinates of the calibrated pixel are calculated based on the parameters to be calibrated. This is the projection model function for the monocular camera.
5. The method according to claim 3, characterized in that, The process of using the scale-adaptive BFGS convex optimization algorithm to solve for the parameters to be calibrated and to determine the camera parameters includes: make , Select the iteration tolerance tol; Calculate gradient ; Calculate the iterative search direction ; Let the strong Wolfe condition be denoted as , Pick , Determine the line search step size ; Update parameters, calculate , , , ; like Then, adaptive scaling of the inverse Hessian matrix is performed, and the scaling factor is calculated. Scaling of the approximation of the inverse Hesse matrix ; Update the inverse Hessian matrix approximation ; Circular counting, let And jump to calculate gradient. Steps; like Then, the loop will exit, and the convex optimization result of the camera parameters will be output. .
6. The method according to claim 3, characterized in that, The step of image processing on multiple image frames of the overhead transmission line video data to obtain the motion time-history pixel coordinates of key points on the transmission line includes: Check whether the video data of the overhead transmission line has reached the end of the video stream; If the end of the video stream has not been reached, a new video frame is read in; the new video frame is processed by an image enhancement method to obtain an enhanced video frame; the enhanced video frame is processed by a target detection method to identify and temporarily store the key points of the power transmission line and the single-frame pixel coordinates of the key points of the power transmission line. If the video stream reaches its end, output the object detection results for all temporarily stored frames.
7. The method according to claim 1, characterized in that, The generation of the analysis report includes at least one of the following: Generate the motion trajectory and waveform of the target point ; Generate the target point's motion amplitude in the vertical and horizontal directions. ; The tilt angle of the motion ellipse generating the target point ; The motion frequency of the generated target point ; Coordinate transformation accuracy of generated target points The coordinate transformation accuracy Characterize the vicinity of the target point and The deviation per unit pixel in the pixel direction corresponds to the plane. Spatial coordinate deviation.
8. The method according to claim 7, characterized in that, The coordinate transformation accuracy of the generated target point ,include: Take tiny pixel deviation ,remember , , , ; calculate Coordinates in a three-dimensional world coordinate system ; Calculate coordinate transformation accuracy The two-way conversion accuracy , 。 9. A monocular vision-based device for acquiring the time history of the motion trajectory of an overhead power transmission line, characterized in that, The device includes: The image acquisition module is used to acquire video data of overhead power transmission lines using a preset monocular camera; A camera calibration module is used to calibrate the monocular camera and determine the camera parameters of the monocular camera; The image recognition module is used to process multiple image frames of the overhead transmission line video data to obtain the motion time history pixel coordinates of key points of the transmission line, wherein the key points of the transmission line are markers pre-installed on the overhead transmission line. The data analysis module is used to perform data analysis on the motion time-history pixel coordinates to determine the motion trajectory of the overhead transmission line and generate an analysis report. The step of calibrating the monocular camera and determining the camera parameters of the monocular camera includes: selecting at least four different calibration pixels in the calibration image captured by the monocular camera, determining the calibration two-dimensional pixel coordinates of the calibration pixels, and obtaining the calibration three-dimensional world coordinates of the calibration pixels. Based on the projection coordinates of the origin of the 3D camera coordinate system in the 3D world coordinate system, the rotation angle of the 3D world coordinate system relative to the 3D camera coordinate system, the pixel line density of the monocular camera, and the camera focal length of the monocular camera, the parameters to be calibrated are determined. The parameters to be calibrated represent the mapping relationship between the calibrated 3D world coordinates and the calibrated 2D pixel coordinates. The camera parameters are determined by solving the parameters to be calibrated using the scale-adaptive BFGS convex optimization algorithm. The step of performing data analysis on the motion time-history pixel coordinates to determine the motion trajectory of the overhead transmission line and generating an analysis report includes: Kalman filtering is applied to the target detection results of the key points of the power transmission line, and the trackers are distinguished and merged. Obtain the coordinate transformation equation, convert the pixel coordinates of each frame of the tracker into world coordinates, and generate the motion trajectory of the overhead power line; The motion trajectory is analyzed to generate the analysis report; The process of obtaining the coordinate transformation equation, converting the pixel coordinates of each frame of the tracker into world coordinates, and generating the motion trajectory of the overhead power line includes: Based on the calibrated camera parameters Determine the orthogonal rotation matrix Translation vector Imaging coefficients Orthogonal rotation matrix The translation vector represents the rotation of the 3D camera coordinate system relative to the 3D world coordinate system. Characterizes the translation of the 3D camera coordinate system relative to the 3D world coordinate system; the origin of the 3D camera coordinate system. The coordinates in the three-dimensional world coordinate system are And the three-dimensional world coordinate system Euler angles After rotation, the coordinate axes are parallel to the 3D camera coordinate system; The imaging coefficient of the monocular camera represents the pixel line density of the camera's imaging element. With camera focal length The product; Denote the target point on the overhead power line in a three-dimensional world coordinate system. The plane of motion is ,Sure The plane equation is , It is a plane The normal vector in the three-dimensional world coordinate system, It is a constant term; Determine the target point The pixel coordinates in the video frame are ; Computational plane The normal vector in the 3D camera coordinate system is constant term ,ray Direction vector in the 3D camera coordinate system , The pixel width of a photo taken by the camera. The pixel height of a photo taken by the camera; The target point is obtained by solving the problem. The coordinates in the three-dimensional world coordinate system are .
Citation Information
Patent Citations
Conductor galloping early warning method, device and equipment based on power transmission line and medium
CN115272917A
Three-dimensional tennis track real-time reconstruction method and system based on multiple cameras
CN120997256A
