Control method, system, terminal and medium for mounting a tower climbing anti-fall device for unmanned aerial vehicle
Through deep learning computer vision and binocular depth stereo vision algorithms, the automatic mounting of the UAV tower climbing anti-fall device is realized, which solves the problem of complex and unstable pilot operations in the existing technology and improves the stability of the mounting. and efficiency, reducing the need for high-level pilots.
Patent Information
- Application Number
- CN202410902789.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-08
AI Technical Summary
The installation process of the existing UAV tower climbing anti-fall device requires pilot operation, which is complex and unstable. It is especially difficult to install accurately in strong winds, which increases the difficulty and risk of operation.
Using deep learning computer vision and binocular depth stereo vision algorithms, the drone camera identifies the mounting point, calculates the mounting distance and heading correction angle, and realizes automatic mounting, reducing the need for high-level pilots and operational complexity.
The automatic mounting of the drone's tower anti-fall device has been realized, which reduces the team's need for high-level pilots, improves the stability and efficiency of mounting, reduces the impact of the drone's shaking in strong winds, and improves the safety of the drone. installation accuracy and safety.
Smart Images

Figure CN118444697B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of unmanned aerial vehicles, and more specifically, to a method, system, terminal and medium for controlling the installation of an unmanned aerial vehicle tower climbing and anti-falling device. Background Art
[0002] In recent years, accidents in power production have occurred frequently, especially high-altitude fall accidents during tower climbing operations, which have become a prominent problem, highlighting their danger and high incidence, and becoming an important hidden danger in power safety production. The safety of tower climbing operations is crucial to the power industry, but the market lacks reliable tower climbing fall protection tools, resulting in frequent high-altitude fall accidents.
[0003] Currently, there are three types of tower climbing fall protection devices: 1. Double extension ropes for fall protection, double hook fall arresters, and safety rings. However, these devices require operators to change their original working habits, increase physical energy consumption, and may increase the risk of falling. Therefore, front-line teams are not willing to use them. 2. Installing anti-fall ladders, anti-fall rails, and anti-fall steel strands. Although these devices can effectively prevent falls, they require power outages for installation, which is costly and requires large investments. They are also difficult to maintain in the later stages, and are only applicable to newly built towers, which is not conducive to the renovation of existing towers and large-scale promotion. 3. The drone is equipped with a tower climbing anti-fall device. The drone is equipped with a tower climbing protection fixed bracket and a safety rope to fly to the top of the tower. With the assistance of real-time video transmission, the fixed bracket can be quickly installed and removed on the top of the tower. Although it reduces the industry pain points to a certain extent, the entire mounting process requires the pilot to manually operate the drone to complete the mounting operation. The work site environment is complex and the weather is changeable. In order to prevent the drone from exploding, the drone and the tower climbing protection fixed bracket are connected with a soft link. Strong winds will cause the bracket carried by the drone to shake violently, making it difficult to align the bracket with the tower mounting point. Especially when removing, the bracket has no weight, which causes the shaking to intensify, and repeated attempts are required to complete the mounting.
[0004] Therefore, how to research and design a UAV tower climbing anti-fall device mounting control method, system, terminal and medium that can overcome the above-mentioned defects is a problem that we urgently need to solve. Summary of the invention
[0005] In order to address the deficiencies in the prior art, the purpose of the present invention is to provide a control method, system, terminal and medium for the installation of an anti-fall device for unmanned aerial vehicle climbing a tower. Based on artificial intelligence algorithms such as deep learning computer vision and binocular depth stereo vision, the installation of the anti-fall device, which is the most difficult operation for the pilot, is replaced by the automatic installation of the anti-fall device. The drone only needs to take off vertically from the ground near the tower, and keep hovering after the drone's flight altitude is a certain distance above the tower. The drone automatically selects the corresponding mounting point and starts the automatic mounting function. The difficult mounting operation that could only be completed by high-level pilots in the past can be automatically completed, greatly reducing the team's demand for high-level pilots.
[0006] The above technical objectives of the present invention are achieved through the following technical solutions:
[0007] In a first aspect, a method for controlling the installation of a UAV tower climbing anti-fall device is provided, which is characterized by comprising the following steps:
[0008] Control the drone equipped with the anti-fall device to fly above the mounting area of the transmission tower;
[0009] Collecting first image information of the mounting area through a camera configured by the drone, and identifying at least one set of symmetrical mounting points from the first image information;
[0010] The mounting distance of each mounting point is calculated using a fusion algorithm of monocular neural reasoning and binocular depth.
[0011] Establish constraints based on the mounting orientation of the drone and select the optimal mounting point with the smallest mounting distance from all mounting points;
[0012] Determine the heading correction angle of the UAV by combining the distribution direction of the optimal mounting point and the mounting orientation of the UAV;
[0013] According to the mounting distance of the optimal mounting point and the heading correction angle of the UAV, the UAV is controlled to fly horizontally to the top of the optimal mounting point;
[0014] The vertical flight of the UAV is controlled according to the mounting distance of the optimal mounting point so that the anti-fall device can be mounted at the optimal mounting point.
[0015] Furthermore, the process of identifying at least one set of symmetrical mounting points from the first image information is specifically as follows:
[0016] Collect image data of the top of the tower, mark the mounting points in the image data, and use a semantic segmentation algorithm to train a first recognition model, and use the first recognition model to identify multiple groups of mounting points with a confidence level not less than a preset confidence level from the first image information;
[0017] Alternatively, collect image data of the top of the tower, mark the mounting points and support points in the image data, and then use a semantic segmentation algorithm to train a second recognition model, and use the second recognition model to identify multiple groups of mounting points whose distance from the support points is not less than a preset distance from the first image information.
[0018] Furthermore, the process of calculating the mounting distance of each mounting point by using the fusion algorithm of monocular neural reasoning and binocular depth is specifically as follows:
[0019] Calibrate the binocular camera system to determine the camera's intrinsic and extrinsic parameters. The intrinsic parameters include focal length and optical center coordinates, and the extrinsic parameters include the relative position relationship between the two cameras.
[0020] Extract feature points from the left and right view images captured by the two cameras respectively, and use SIFT, SURF and / or ORB algorithms to match the feature points in the left and right views;
[0021] Calculate the disparity of each pair of matched feature points on the left and right view image planes, where the disparity is the displacement in the horizontal direction;
[0022] The 3D depth of each feature point is calculated based on the camera's intrinsic parameters, baseline length, and parallax;
[0023] Combine the three-dimensional depth of the feature point with the plane coordinates of the corresponding feature point in the left and right view images to obtain the coordinates of the corresponding feature point in three-dimensional space;
[0024] Taking the UAV as the origin in the three-dimensional space, the mounting distance of each mounting point is determined according to the coordinates of the feature points in the three-dimensional space.
[0025] Furthermore, the process of constructing constraint conditions according to the mounting orientation of the UAV and selecting the optimal mounting point with the smallest mounting distance from all mounting points is specifically as follows:
[0026] In a set of symmetrical mounting points P0 and P1, the vector from mounting point P0 to mounting point P1 is the indicated orientation of mounting point P0, and the vector from mounting point P1 to mounting point P0 is the indicated orientation of mounting point P1;
[0027] The angle between the mounting position of the UAV and the indicated position is less than 90 degrees as a constraint condition, and a valid mounting point that meets the constraint condition is selected from all mounting points;
[0028] The mounting point with the smallest mounting distance is selected from the valid mounting points as the optimal mounting point. The mounting distance is the straight-line distance between the mounting point and the UAV in three-dimensional space.
[0029] Furthermore, the process of determining the heading correction angle of the UAV by combining the distribution direction of the optimal mounting point and the mounting orientation of the UAV is specifically as follows:
[0030] Determine the initial horizontal angle between the distribution direction of the optimal mounting point and the mounting orientation of the UAV in the first image information, with the distribution direction pointing to the right side of the first image information;
[0031] The drone is controlled to rotate horizontally to a preset angle according to the initial horizontal angle. When the initial horizontal angle is an acute angle, the drone rotates counterclockwise, and when the initial horizontal angle is an obtuse angle, the drone rotates clockwise;
[0032] The drone collects second image information of the optimal mounting point after rotating horizontally by a preset angle, and resets after image collection is completed;
[0033] Determine, from the second image information, a distribution direction of the optimal mounting point and a reference horizontal angle between the mounting orientation of the UAV in the second image information;
[0034] Calculate the angle difference between the initial horizontal angle and the reference horizontal angle, and calculate the angle coefficient by the ratio of the preset angle to the angle difference;
[0035] The heading correction angle of the UAV is calculated by the product of the initial horizontal angle and the angle coefficient. The rotation direction of the heading correction angle is the same as the direction of the preset horizontal rotation angle of the UAV.
[0036] Furthermore, the process of controlling the drone to fly horizontally to directly above the optimal mounting point according to the mounting distance of the optimal mounting point and the heading correction angle of the drone is specifically as follows:
[0037] Determine the coordinates of the feature points included in the optimal mounting point in three-dimensional space when calculating the mounting distance of the optimal mounting point. The feature point is the center point of the optimal mounting point.
[0038] Determine the horizontal moving direction and the horizontal moving distance according to the X-axis coordinate and the Y-axis coordinate of the feature point in the three-dimensional space;
[0039] After the drone completes horizontal rotation according to the heading correction angle, it moves horizontally according to the horizontal moving direction and horizontal moving distance.
[0040] Furthermore, the method also includes:
[0041] The entire cycle of the vertical flight of the UAV is divided into a first period and a second period;
[0042] Real-time collection of the drone’s vibration information in the first period and the actual wind speed of the environment;
[0043] Determine the directional deviation angle between the actual wind speed and the distribution direction of the optimal mounting point;
[0044] Determine the component of the actual wind speed at the indicated direction of the optimal mounting point according to the direction deflection angle to obtain a first wind speed;
[0045] Determine the maximum polarization time between the anti-fall device aligning with the optimal mounting point at intervals according to the vibration information of the UAV;
[0046] Establishing the correlation function between the maximum polarization time and the first wind speed;
[0047] Predicting the second wind speed in the second period based on the first wind speed in the first period, and estimating the estimated polarization time in the second period in combination with the correlation function;
[0048] The downward movement distance of the UAV in vertical flight is dynamically determined according to the mounting distance of the optimal mounting point, and the downward movement speed of the UAV in vertical flight is dynamically adjusted so that the anti-fall device mounted on the UAV is mounted when it is aligned with the optimal mounting point and at the minimum estimated polarization time.
[0049] In a second aspect, a control system for mounting a UAV tower climbing anti-falling device is provided, the system being used to implement a control method for mounting a UAV tower climbing anti-falling device as described in any one of the first aspects, comprising:
[0050] An initial control module is used to control the drone equipped with the anti-fall device to fly above the mounting area in the transmission tower;
[0051] An image processing module, used to collect first image information of the mounting area through a camera configured by the drone, and identify at least one set of symmetrical mounting points from the first image information;
[0052] The distance calculation module is used to calculate the mounting distance of each mounting point using a fusion algorithm of monocular neural reasoning and binocular depth;
[0053] The mounting identification module is used to construct constraint conditions according to the mounting orientation of the UAV and select the optimal mounting point with the smallest mounting distance from all mounting points;
[0054] A heading correction module is used to determine the heading correction angle of the drone based on the distribution direction of the optimal mounting point and the mounting orientation of the drone;
[0055] The translation control module is used to control the UAV to fly horizontally to the top of the optimal mounting point according to the mounting distance of the optimal mounting point and the heading correction angle of the UAV;
[0056] The vertical control module is used to control the vertical flight of the UAV according to the mounting distance of the optimal mounting point, so that the anti-fall device can be mounted at the optimal mounting point.
[0057] In a third aspect, a computer terminal is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for controlling the installation of a drone tower climbing anti-fall device as described in any one of the first aspects is implemented.
[0058] In a fourth aspect, a computer-readable medium is provided, on which a computer program is stored, wherein the computer program is executed by a processor to implement the method for controlling the installation of a drone tower climbing anti-fall device as described in any one of the first aspects.
[0059] Compared with the prior art, the present invention has the following beneficial effects:
[0060] 1. The control method for mounting a tower anti-fall device for a UAV provided by the present invention is based on artificial intelligence algorithms such as deep learning computer vision and binocular depth stereo vision, which replaces the most difficult mounting of the anti-fall device by the pilot, and realizes the automatic mounting of the anti-fall device. It only needs to take off the UAV vertically from the ground near the tower, and keep hovering after the UAV's flight altitude is higher than the tower by a certain distance. The UAV automatically selects the corresponding mounting point and starts the automatic mounting function, which can automatically complete the difficult mounting operation that could only be completed by high-level pilots in the past, greatly reducing the team's demand for high-level pilots;
[0061] 2. The present invention can effectively reduce the difficulty of visual processing by identifying paired symmetrical mounting points and screening out stable and reliable mounting points in combination with confidence or support points. At the same time, considering the mounting orientation and mounting distance of the UAV, the present invention can reduce the control workload of the UAV and the working time of automatic mounting of the UAV when identifying mounting points that will not interfere with the anti-fall rope connected to the anti-fall device;
[0062] 3. When determining the heading correction angle of the drone, the present invention takes into account the shooting angle difference of the camera during the image acquisition process, and can calculate a heading correction angle with a smaller error after performing angle correction based on the angle coefficient, which is conducive to aligning the anti-fall device with the mounting point;
[0063] 4. When the UAV is flying vertically, the present invention dynamically adjusts the downward speed of the UAV during vertical flight, taking into account that the UAV is affected by the vibration caused by the external wind speed and its own mechanical transmission process, so that the anti-fall device mounted on the UAV can be mounted when it is aligned with the optimal mounting point and at the minimum estimated polarization time, thereby effectively reducing the probability of the UAV exploding. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:
[0065] Figure 1 is a flow chart of Embodiment 1 of the present invention;
[0066] Figure 2 is a schematic diagram of the identification result of the mounting point in Example 1 of the present invention;
[0067] Figure 3 is a schematic diagram of the analysis of the mounting distance in Example 1 of the present invention;
[0068] Figure 4 It is a system block diagram in Example 2 of the present invention. DETAILED DESCRIPTION
[0069] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.
[0070] Embodiment 1: A method for controlling the installation of a UAV tower climbing anti-fall device, such as Figure 1 As shown, the following steps are included:
[0071] S1: Control the drone equipped with the anti-fall device to fly above the mounting area of the transmission tower;
[0072] S2: collecting first image information of the mounting area through a camera configured by the drone, and identifying at least one set of symmetrical mounting points from the first image information;
[0073] S3: The mounting distance of each mounting point is calculated using a fusion algorithm of monocular neural reasoning and binocular depth;
[0074] S4: Construct constraint conditions according to the mounting orientation of the UAV, and select the optimal mounting point with the smallest mounting distance from all mounting points;
[0075] S5: Determine the heading correction angle of the UAV based on the distribution direction of the optimal mounting point and the mounting orientation of the UAV;
[0076] S6: Control the drone to fly horizontally to just above the optimal mounting point according to the mounting distance of the optimal mounting point and the heading correction angle of the drone;
[0077] S7: Control the vertical flight of the UAV according to the mounting distance of the optimal mounting point, so that the anti-fall device can be mounted at the optimal mounting point.
[0078] As a feasible implementation method, the process of identifying at least one set of symmetrical mounting points from the first image information is specifically as follows: collecting image data of the top of the tower, marking the mounting points in the image data, training a first recognition model using a semantic segmentation algorithm, and identifying multiple sets of mounting points with a confidence level not less than a preset confidence level from the first image information using the first recognition model, such as Figure 2 shown.
[0079] As another feasible implementation, the process of identifying at least one group of symmetrical mounting points from the first image information is specifically as follows: collecting image data of the top of the pole tower, marking the mounting points and support points in the image data, and then using a semantic segmentation algorithm to train a second recognition model, and using the second recognition model to identify from the first image information multiple groups of mounting points whose distances from the support points are not less than a preset distance, and the support points may be areas that are fixedly installed by support plates.
[0080] In step S3, if Figure 3As shown in the figure, in order to move the drone horizontally to the top of the mounting point, the relative horizontal offset distance x, y and height z between the mounting point and the drone need to be calculated. This is achieved by fusion of monocular neural reasoning and binocular depth. The mounting point recognition and detection is run on the camera, and the recognition result is fused with the binocular stereo disparity depth result. The stereo disparity result is generated in real time and in parallel based on semi-global matching (SGBM), and then the depth data of the recognized target is re-projected to the 3D position in the physical space (x, y, z coordinates, unit: mm).
[0081] (1) Calibrate the binocular camera system to determine the camera’s intrinsic and extrinsic parameters. The intrinsic parameters include the focal length and optical center coordinates, and the extrinsic parameters include the relative position relationship between the two cameras.
[0082] (2) Feature points are extracted from the left and right view images captured by the two cameras respectively, and algorithms such as SIFT (Scale-invariant feature transform), SURF (Speeded Up Robust Features) and ORB (Oriented FAST and Rotated BRIEF) are used to match the feature points in the left and right views.
[0083] (3) Calculate the disparity of each pair of matched feature points on the left and right view image planes. The disparity is the displacement in the horizontal direction.
[0084] The disparity d and the three-dimensional depth z of the object have the following relationship: d = f * B / z; where f is the focal length of the camera and B is the baseline length of the binocular camera (the distance between the optical centers of the two cameras).
[0085] (4) Calculate the three-dimensional depth of each feature point based on the camera's intrinsic parameters, baseline length, and parallax.
[0086] z = f * B / d.
[0087] (5) Combine the three-dimensional depth of the feature point with the plane coordinates (u, v) of the corresponding feature point P in the left and right view images to obtain the coordinates (x, y, z) of the corresponding feature point in three-dimensional space.
[0088] x = (u - cx) * z / f
[0089] y = (v - cy) *z / f;
[0090] Among them, (cx, cy) is the coordinate of the principal point of the image, which is the intersection of the camera optical axis and the imaging plane. It is usually located at the approximate geometric center of the image.
[0091] (6) Taking the UAV as the origin in the three-dimensional space, the mounting distance of each mounting point is determined according to the coordinates of the feature points in the three-dimensional space.
[0092] In step S4, the process of constructing constraint conditions according to the mounting orientation of the UAV and selecting the optimal mounting point with the smallest mounting distance from all mounting points is as follows: in a set of symmetrical mounting points P0 and P1, the vector from mounting point P0 to mounting point P1 is the indicated orientation of mounting point P0, and the vector from mounting point P1 to mounting point P0 is the indicated orientation of mounting point P1; taking the orientation angle between the mounting orientation of the UAV and the indicated orientation less than 90 degrees as a constraint condition, selecting a valid mounting point that meets the constraint conditions from all mounting points; selecting the mounting point with the smallest mounting distance from the valid mounting points as the optimal mounting point, and the mounting distance is the straight-line distance between the mounting point and the UAV in three-dimensional space.
[0093] The present invention can effectively reduce the difficulty of visual processing by identifying pairs of symmetrical mounting points and combining confidence or support points to screen out stable and reliable mounting points. At the same time, taking into account the mounting orientation and mounting distance of the UAV, when the mounting points that will not interfere with the anti-fall rope connected to the anti-fall device are identified, the control workload of the UAV can be reduced and the working time of automatic mounting of the UAV can be reduced.
[0094] In step S5, the process of determining the heading correction angle of the drone in combination with the distribution direction of the optimal mounting point and the mounting orientation of the drone is specifically as follows: determining the initial horizontal angle between the distribution direction of the optimal mounting point and the mounting orientation of the drone in the first image information, with the distribution direction pointing to the right side of the first image information; controlling the drone to rotate horizontally by a preset angle according to the initial horizontal angle, the drone rotates counterclockwise when the initial horizontal angle is an acute angle, and the drone rotates clockwise when the initial horizontal angle is an obtuse angle; collecting the second image information of the optimal mounting point after the drone rotates horizontally by the preset angle, and resetting after the image acquisition is completed; determining the reference horizontal angle between the distribution direction of the optimal mounting point and the mounting orientation of the drone in the second image information from the second image information; calculating the angle difference between the initial horizontal angle and the reference horizontal angle, and calculating the angle coefficient as the ratio of the preset angle to the angle difference; calculating the heading correction angle of the drone as the product of the initial horizontal angle and the angle coefficient, and the rotation direction of the heading correction angle is the same as the direction of the preset angle of horizontal rotation of the drone.
[0095] When determining the heading correction angle of the UAV, the present invention takes into account the shooting angle difference of the camera during the image acquisition process, and can calculate the heading correction angle with a smaller error after angle correction based on the angle coefficient, which is conducive to the alignment of the anti-fall device and the mounting point.
[0096] In step S6, the process of controlling the drone to fly horizontally to directly above the optimal mounting point according to the mounting distance of the optimal mounting point and the heading correction angle of the drone is specifically as follows: determining the coordinates of the feature points contained in the optimal mounting point in the three-dimensional space when calculating the mounting distance of the optimal mounting point, the feature points being the center points of the optimal mounting points; determining the horizontal movement direction and the horizontal movement distance according to the X-axis coordinates and the Y-axis coordinates of the feature points in the three-dimensional space; and after the drone completes the horizontal rotation according to the heading correction angle, it moves horizontally according to the horizontal movement direction and the horizontal movement distance.
[0097] In step S7, the vertical flight of the drone may move downward at a fixed speed. In order to reduce the probability of the drone exploding, the present invention takes into account the environmental wind speed and the vibration of the drone during the vertical flight of the drone, so as to adaptively adjust the descent speed of the drone. The specific implementation includes the following steps: dividing the entire cycle of the vertical flight of the drone into a first period and a second period; collecting the vibration information of the drone in the first period and the actual wind speed of the environment in real time; determining the directional deviation angle between the actual wind speed and the distribution direction of the optimal mounting point; determining the component of the actual wind speed in the indicated direction of the optimal mounting point according to the directional deviation angle to obtain the first wind speed; determining the maximum polarization time of the anti-fall device between the intervals of aligning with the optimal mounting point according to the vibration information of the drone; establishing a correlation function between the maximum polarization time and the first wind speed; predicting the second wind speed of the second period according to the first wind speed of the first period, and estimating the estimated polarization time of the second period in combination with the correlation function; dynamically determining the downward movement distance of the vertical flight of the drone according to the mounting distance of the optimal mounting point, and dynamically adjusting the downward movement speed of the vertical flight of the drone, so that the anti-fall device mounted on the drone is mounted when it is aligned with the optimal mounting point and is at the minimum estimated polarization time.
[0098] When the UAV is flying vertically, the present invention takes into account the influence of vibration caused by external wind speed and its own mechanical transmission process on the UAV, and dynamically adjusts the downward movement speed of the UAV during vertical flight, so that the anti-fall device mounted on the UAV is mounted when it is aligned with the optimal mounting point and at the minimum estimated polarization time, thereby effectively reducing the probability of the UAV exploding.
[0099] It should be noted that the implementation process of the UAV tower climbing anti-fall device mounting control method recorded in the present invention can also be applied to the UAV tower climbing anti-fall device removal control, specifically, the connection process of the boom or hook configured for the UAV to the anti-fall device, that is, the identification of the mounting point is replaced by the identification and positioning structure, which can also realize the automatic removal control of the UAV tower climbing anti-fall device.
[0100] Embodiment 2: A control system for mounting a UAV tower climbing anti-fall device, which is used to implement the control method for mounting a UAV tower climbing anti-fall device as described in Embodiment 1. Figure 4As shown, it includes an initial control module, an image processing module, a distance calculation module, a mounting identification module, a heading correction module, a translation control module and a vertical control module.
[0101] Among them, the initial control module is used to control the drone equipped with the anti-fall device to fly above the mounting area in the transmission tower; the image processing module is used to collect the first image information of the mounting area through the camera configured by the drone, and identify at least one group of symmetrical mounting points from the first image information; the distance calculation module is used to calculate the mounting distance of each mounting point by adopting the fusion algorithm of monocular neural reasoning and binocular depth; the mounting identification module is used to construct constraint conditions according to the mounting orientation of the drone, and select the optimal mounting point with the smallest mounting distance from all mounting points; the heading correction module is used to determine the heading correction angle of the drone in combination with the distribution direction of the optimal mounting point and the mounting orientation of the drone; the translation control module is used to control the drone to fly horizontally to just above the optimal mounting point according to the mounting distance of the optimal mounting point and the heading correction angle of the drone; the vertical control module is used to control the vertical flight of the drone according to the mounting distance of the optimal mounting point, so that the anti-fall device is mounted at the optimal mounting point.
[0102] The present invention also records a computer terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, a method for controlling the installation of a drone tower climbing anti-fall device as described in any one of the first aspects is implemented.
[0103] The present invention also records a computer-readable medium on which a computer program is stored, wherein the computer program is executed by a processor to implement a method for controlling the installation of a drone tower climbing anti-fall device as described in any one of the first aspects.
[0104] Working principle: The present invention is based on artificial intelligence algorithms such as deep learning computer vision and binocular depth stereo vision. It replaces the most difficult anti-fall device installation operation of the pilot and realizes the automatic installation of the anti-fall device. It only needs to take off the UAV vertically from the ground near the tower, and keep hovering after the UAV's flight altitude is higher than the tower by a certain distance. The UAV automatically selects the corresponding mounting point and starts the automatic mounting function. It can automatically complete the difficult mounting operation that could only be completed by high-level pilots in the past, greatly reducing the team's demand for high-level pilots.
[0105] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0106] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0107] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0109] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for controlling the installation of a UAV tower climbing anti-fall device, characterized in that: The following steps are involved: Control the drone equipped with the anti-fall device to fly above the mounting area of the transmission tower; Collecting first image information of the mounting area through a camera configured by the drone, and identifying at least one set of symmetrical mounting points from the first image information; The mounting distance of each mounting point is calculated using a fusion algorithm of monocular neural reasoning and binocular depth. Establish constraints based on the mounting orientation of the drone and select the optimal mounting point with the smallest mounting distance from all mounting points; Determine the heading correction angle of the UAV by combining the distribution direction of the optimal mounting point and the mounting orientation of the UAV; According to the mounting distance of the optimal mounting point and the heading correction angle of the UAV, the UAV is controlled to fly horizontally to the top of the optimal mounting point; Control the vertical flight of the UAV according to the mounting distance of the optimal mounting point, so that the anti-fall device can be mounted at the optimal mounting point; The process of calculating the mounting distance of each mounting point by using the fusion algorithm of monocular neural reasoning and binocular depth is specifically as follows: Calibrate the binocular camera system to determine the camera's intrinsic and extrinsic parameters. The intrinsic parameters include focal length and optical center coordinates, and the extrinsic parameters include the relative position relationship between the two cameras. Extract feature points from the left and right view images captured by the two cameras respectively, and use SIFT, SURF and / or ORB algorithms to match the feature points in the left and right views; Calculate the disparity of each pair of matched feature points on the left and right view image planes, where the disparity is the displacement in the horizontal direction; The 3D depth of each feature point is calculated based on the camera's intrinsic parameters, baseline length, and parallax; Combine the three-dimensional depth of the feature point with the plane coordinates of the corresponding feature point in the left and right view images to obtain the coordinates of the corresponding feature point in three-dimensional space; Taking the UAV as the origin in the three-dimensional space, the mounting distance of each mounting point is determined according to the coordinates of the feature points in the three-dimensional space; The mount point recognition detection is run on the camera, and the recognition results are fused with the binocular stereo disparity depth results. The stereo disparity results are generated in real time and in parallel based on semi-global matching, and then the depth data of the recognized target is re-projected to the 3D position in the physical space.
2. The method for controlling the installation of the anti-fall device for climbing a tower of a drone according to claim 1 is characterized in that: The process of identifying at least one set of symmetrical mounting points from the first image information is specifically as follows: Collect image data of the top of the tower, mark the mounting points in the image data, and use a semantic segmentation algorithm to train a first recognition model, and use the first recognition model to identify multiple groups of mounting points with a confidence level not less than a preset confidence level from the first image information; Alternatively, collect image data of the top of the tower, mark the mounting points and support points in the image data, and then use a semantic segmentation algorithm to train a second recognition model, and use the second recognition model to identify multiple groups of mounting points whose distance from the support points is not less than a preset distance from the first image information.
3. The method for controlling the installation of the anti-fall device for climbing a tower of a drone according to claim 1 is characterized in that: The process of constructing constraint conditions according to the mounting orientation of the UAV and selecting the optimal mounting point with the smallest mounting distance from all mounting points is specifically as follows: In a set of symmetrical mounting points P0 and P1, the vector from mounting point P0 to mounting point P1 is the indicated orientation of mounting point P0, and the vector from mounting point P1 to mounting point P0 is the indicated orientation of mounting point P1; The angle between the mounting position of the UAV and the indicated position is less than 90 degrees as a constraint condition, and a valid mounting point that meets the constraint condition is selected from all mounting points; The mounting point with the smallest mounting distance is selected from the valid mounting points as the optimal mounting point. The mounting distance is the straight-line distance between the mounting point and the UAV in three-dimensional space.
4. The method for controlling the installation of the anti-fall device for climbing a tower of a drone according to claim 1 is characterized in that: The process of determining the heading correction angle of the UAV by combining the distribution direction of the optimal mounting point and the mounting orientation of the UAV is specifically as follows: Determine the initial horizontal angle between the distribution direction of the optimal mounting point and the mounting orientation of the UAV in the first image information, with the distribution direction pointing to the right side of the first image information; The drone is controlled to rotate horizontally to a preset angle according to the initial horizontal angle. When the initial horizontal angle is an acute angle, the drone rotates counterclockwise, and when the initial horizontal angle is an obtuse angle, the drone rotates clockwise; The drone collects second image information of the optimal mounting point after rotating horizontally by a preset angle, and resets after image collection is completed; Determine, from the second image information, a distribution direction of the optimal mounting point and a reference horizontal angle between the mounting orientation of the UAV in the second image information; Calculate the angle difference between the initial horizontal angle and the reference horizontal angle, and calculate the angle coefficient by the ratio of the preset angle to the angle difference; The heading correction angle of the UAV is calculated by the product of the initial horizontal angle and the angle coefficient. The rotation direction of the heading correction angle is the same as the direction of the preset horizontal rotation angle of the UAV.
5. The method for controlling the installation of the anti-fall device for climbing a tower of a drone according to claim 1 is characterized in that: The process of controlling the drone to fly horizontally to directly above the optimal mounting point according to the mounting distance of the optimal mounting point and the heading correction angle of the drone is specifically as follows: Determine the coordinates of the feature points included in the optimal mounting point in three-dimensional space when calculating the mounting distance of the optimal mounting point. The feature point is the center point of the optimal mounting point. Determine the horizontal moving direction and the horizontal moving distance according to the X-axis coordinate and the Y-axis coordinate of the feature point in the three-dimensional space; After the drone completes horizontal rotation according to the heading correction angle, it moves horizontally according to the horizontal moving direction and horizontal moving distance.
6. The method for controlling the installation of the anti-fall device for climbing a tower of a drone according to claim 1 is characterized in that: The method further includes: The entire cycle of the vertical flight of the UAV is divided into a first period and a second period; Real-time collection of the drone’s vibration information in the first period and the actual wind speed of the environment; Determine the directional deviation angle between the actual wind speed and the distribution direction of the optimal mounting point; Determine the component of the actual wind speed at the indicated direction of the optimal mounting point according to the direction deflection angle to obtain a first wind speed; Determine the maximum polarization time between the anti-fall device aligning with the optimal mounting point at intervals according to the vibration information of the UAV; Establishing the correlation function between the maximum polarization time and the first wind speed; Predicting the second wind speed in the second period based on the first wind speed in the first period, and estimating the estimated polarization time in the second period in combination with the correlation function; The downward movement distance of the UAV in vertical flight is dynamically determined according to the mounting distance of the optimal mounting point, and the downward movement speed of the UAV in vertical flight is dynamically adjusted so that the anti-fall device mounted on the UAV is mounted when it is aligned with the optimal mounting point and at the minimum estimated polarization time.
7. The control system for the anti-fall device for climbing the tower of unmanned aerial vehicle is characterized by: The system is used to implement the method for controlling the installation of the anti-fall device for climbing a tower of a drone as described in any one of claims 1 to 6, comprising: An initial control module is used to control the drone equipped with the anti-fall device to fly above the mounting area in the transmission tower; An image processing module, used to collect first image information of the mounting area through a camera configured by the drone, and identify at least one set of symmetrical mounting points from the first image information; The distance calculation module is used to calculate the mounting distance of each mounting point using a fusion algorithm of monocular neural reasoning and binocular depth; The mounting identification module is used to construct constraint conditions according to the mounting orientation of the UAV and select the optimal mounting point with the smallest mounting distance from all mounting points; A heading correction module is used to determine the heading correction angle of the drone based on the distribution direction of the optimal mounting point and the mounting orientation of the drone; The translation control module is used to control the UAV to fly horizontally to the top of the optimal mounting point according to the mounting distance of the optimal mounting point and the heading correction angle of the UAV; The vertical control module is used to control the vertical flight of the UAV according to the mounting distance of the optimal mounting point, so that the anti-fall device can be mounted at the optimal mounting point.
8. A computer terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for controlling the installation of the unmanned aerial vehicle tower climbing anti-fall device as described in any one of claims 1 to 6 is implemented.
9. A computer readable medium having a computer program stored thereon, characterized in that: The computer program is executed by a processor to implement the method for controlling the installation of a tower climbing anti-fall device for a drone as described in any one of claims 1 to 6.
