Method for identifying transverse pipe in vertical shaft based on TOF technology and related equipment thereof

By using TOF technology to obtain the well wall distance array on the drone, the problem of horizontal pipe identification in the vertical shaft without GPS signal is solved, and the rapid and accurate horizontal pipe identification and positioning is achieved, improving the flight stability of the drone in complex environments is improved. Sex and safety.

CN118963395APending Publication Date: 2024-11-15WUHAN DAOXIAOFEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411005517.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In the absence of GPS signals, traditional drones find it difficult to accurately identify and locate transverse tubes in the shaft, resulting in low detection efficiency and high safety risks.

Method used

TOF technology is used to carry on the drone. By obtaining the well wall distance array in real time, we determine whether there is a transverse tube, and adjust the position of the drone to determine the pipe diameter, ensuring the rapid identification of the orientation and size of the transverse tube in complex environments.

Benefits of technology

Improve the accuracy of cross-tube identification and positioning, ensure the flight stability and reliability of the drone in complex environments, provide accurate flight guidance, and reduce operational difficulty and safety risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963395A_ABST
    Figure CN118963395A_ABST
Patent Text Reader

Abstract

The invention provides a method for identifying a transverse pipe in a vertical shaft based on a TOF technology and related equipment thereof, and the method comprises the steps: obtaining a well wall distance array of the well wall of a target vertical shaft in real time through a TOF sensor disposed on an unmanned aerial vehicle when the unmanned aerial vehicle enters the target vertical shaft, then, according to the well wall distance array, whether a target transverse pipe is detected in a well wall collection area corresponding to the well wall distance array or not is judged, and if the target transverse pipe is detected in the well wall collection area corresponding to the well wall distance array, the pipeline diameter of the target transverse pipe is determined according to the well wall distance array; and if the target transverse pipe is not detected in the well wall acquisition area corresponding to the well wall distance array, the unmanned aerial vehicle is controlled to continue to fly in the target vertical shaft so as to detect the transverse pipe in the vertical shaft. The method provided by the invention can be applied to a pipeline scene without GPS signals, and can achieve the technical effects of rapid identification and accurate positioning of the transverse pipe in the vertical shaft.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pipeline detection, and in particular to a method for identifying a horizontal pipe in a vertical shaft based on TOF technology and related equipment. Background Art

[0002] In industries such as mining, oil, gas, and urban water supply and drainage, the inspection and maintenance of shafts and horizontal pipes (such as cable pipes, water pipes, etc.) in underground pipelines is a vital task. However, due to the characteristics of these environments, such as small space, insufficient light, and complex structures, traditional inspection methods face many challenges. Traditional inspection methods usually rely on manual inspections or the use of wired equipment for inspection, which is not only inefficient, but also has high safety risks and limited inspection accuracy.

[0003] In recent years, drone technology has developed rapidly and has gradually been applied to inspection tasks in various complex environments. Drones have the advantages of strong flexibility, high efficiency and low cost, so they show great potential in underground pipeline inspection. However, when drones fly in shafts, they need to be able to accurately identify the orientation and size of cross pipes. Traditional drone navigation methods usually rely on the Global Positioning System (GPS) or other positioning technologies, but these positioning technologies often do not work properly in complex environments such as shafts and underground pipelines.

[0004] That is, in the absence of GPS signals, how to provide a method for identifying transverse pipes in a shaft based on TOF technology to achieve the technical effect of rapid identification and accurate positioning of transverse pipes in the shaft is a technical problem that urgently needs to be solved in this field. Summary of the invention

[0005] The embodiment of the present invention provides a method for identifying a horizontal pipe in a vertical shaft based on TOF technology and related equipment thereof, so as to solve at least one of the above technical problems.

[0006] In a first aspect, the present application provides a method for identifying a horizontal pipe in a shaft based on TOF technology, the method being applied to a drone with a TOF sensor installed at the front end for inspecting underground pipelines, the method comprising:

[0007] When the UAV enters the target shaft, the TOF sensor installed on the UAV acquires the shaft wall distance array of the target shaft wall in real time;

[0008] Judging whether a target transverse pipe is detected in a well wall acquisition area corresponding to the well wall distance array according to the well wall distance array;

[0009] If a target transverse pipe is detected in the well wall acquisition area corresponding to the well wall distance array, the pipe diameter of the target transverse pipe is determined according to the well wall distance array;

[0010] If the target horizontal pipe is not detected in the well wall acquisition area corresponding to the well wall distance array, the UAV is controlled to continue to perform flight detection in the target vertical shaft;

[0011] Wherein, the target transverse pipe is connected with the target vertical shaft.

[0012] Preferably, judging whether a target transverse pipe is detected in a well wall acquisition area corresponding to the well wall distance array according to the well wall distance array comprises:

[0013] Determine whether a target transverse pipe is detected in the well wall collection area corresponding to the well wall distance array according to a preset judgment rule, and when the well wall distance array satisfies the preset judgment rule, it indicates that a target transverse pipe is detected in the well wall collection area corresponding to the well wall distance array;

[0014] The preset judgment rule is that there is a well wall distance array element in the well wall distance array that is greater than the radius of the target shaft.

[0015] Preferably, determining the pipe diameter of the target horizontal pipe according to the well wall distance array includes:

[0016] Adjusting the position of the UAV according to the well wall distance array so that the UAV is located at the center of the target cross pipe;

[0017] The pipe diameter of the target transverse pipe is calculated based on the well wall distance array obtained when the UAV is located at the center position of the target transverse pipe.

[0018] Preferably, the adjusting the position of the UAV according to the well wall distance array so that the UAV is located at the center of the target cross pipe includes:

[0019] Performing sum calculation on each row of the well wall distance array elements in the well wall distance array where the target transverse pipe is detected, to obtain the sum of the row direction distances of each row;

[0020] Determine the lateral position of the well wall distance array element corresponding to the maximum sum of the row distances in the well wall distance array, and adjust the UAV in the vertical direction according to the lateral position so that the lateral position corresponding to the maximum sum of the row distances in the well wall distance array obtained after the vertical adjustment is located at the horizontal center position of the well wall distance array obtained after the vertical adjustment;

[0021] The well wall distance array elements of each column in the well wall distance array obtained after vertical adjustment are summed up to obtain the sum of the column distances of each column;

[0022] Determine the longitudinal position of the wellbore distance array element corresponding to the maximum sum of the column distances in the wellbore distance array after the vertical adjustment, and adjust the UAV in real time in the horizontal direction according to the longitudinal position, so that the longitudinal position corresponding to the maximum sum of the column distances in the wellbore distance array obtained after the horizontal adjustment is located at the vertical center position of the wellbore distance array obtained after the horizontal adjustment. At this time, the UAV is located at the center position of the target cross pipe.

[0023] Preferably, the adjusting the position of the UAV according to the well wall distance array so that the UAV is located at the center of the target cross pipe includes:

[0024] Performing sum calculation on each column of the well wall distance array elements in the well wall distance array where the target transverse pipe is detected, to obtain the sum of the column-wise distances of each column;

[0025] Determine the longitudinal position of the well wall distance array element corresponding to the maximum sum of column-wise distances in the well wall distance array, and adjust the UAV in the horizontal direction according to the longitudinal position, so that the longitudinal position corresponding to the maximum sum of column-wise distances in the well wall distance array obtained after the horizontal adjustment is located at the vertical center position of the well wall distance array obtained after the horizontal adjustment;

[0026] The well wall distance array elements of each row in the well wall distance array obtained after the horizontal adjustment are summed up to obtain the sum of the row direction distances of each row;

[0027] Determine the lateral position of the well wall distance array element corresponding to the maximum sum of the row distances in the well wall distance array after horizontal adjustment, and adjust the UAV in real time in the vertical direction according to the lateral position, so that the lateral position corresponding to the maximum sum of the row distances in the well wall distance array after vertical adjustment is located at the horizontal center position of the well wall distance array obtained after the vertical adjustment, and at this time the UAV is located at the center position of the target cross pipe.

[0028] Preferably, after calculating the pipe diameter of the target horizontal pipe according to the well wall distance array, the method further comprises:

[0029] It is determined whether the pipe diameter is greater than the minimum safe pipe diameter that the drone is allowed to enter. If not, an alarm message is generated and sent to an external signal receiving station.

[0030] Preferably, the TOF sensor installed on the drone collects and processes in real time to obtain a well wall distance array of the target shaft wall, including:

[0031] The TOF sensor installed on the drone emits a laser array to the target shaft wall adjacent to the drone, obtains the shaft wall distance collected by each laser beam in the laser array, arranges the shaft wall distances accordingly according to the laser array, and obtains a shaft wall distance array corresponding to the laser array.

[0032] In a second aspect, the present application provides a device for identifying a horizontal pipe in a shaft based on TOF technology, the device comprising:

[0033] an acquisition unit, configured to acquire a well wall distance array of a well wall of a target well in real time through the TOF sensor installed on the UAV when the UAV enters the target well;

[0034] A judgment unit, configured to judge whether a target transverse pipe is detected in a well wall acquisition area corresponding to the well wall distance array according to the well wall distance array;

[0035] A determination unit, configured to determine the pipe diameter of the target transverse pipe according to the well wall distance array when a target transverse pipe is detected in a well wall acquisition area corresponding to the well wall distance array;

[0036] The control unit is used to control the UAV to continue to perform flight detection in the target vertical shaft when no target horizontal pipe is detected in the well wall collection area corresponding to the well wall distance array.

[0037] In a third aspect, the present application also provides an electronic device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement any one of the methods for identifying a horizontal pipe in a vertical shaft based on TOF technology in the first aspect when executing the computer program stored in the memory.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for identifying a horizontal pipe in a vertical shaft based on TOF technology according to any one of the first aspects is implemented.

[0039] The present invention is applied to a drone for inspecting underground pipelines. When the drone enters a target shaft, the TOF sensor installed on the drone obtains the wall distance array of the target shaft in real time, and then determines whether the target transverse pipe is detected in the wall collection area corresponding to the wall distance array according to the wall distance array. If the target transverse pipe is detected in the wall collection area corresponding to the wall distance array, the pipe diameter of the target transverse pipe is determined according to the wall distance array. If the target transverse pipe is not detected in the wall collection area corresponding to the wall distance array, the drone is controlled to continue flying in the target shaft to detect the transverse pipe in the shaft. The method for identifying transverse pipes in a shaft based on TOF technology proposed by the present invention uses a 3DTOF sensor mounted on a drone to scan and analyze the wall of the target shaft in real time without a GPS signal, and adjusts the flight attitude and speed of the drone in real time according to the analysis result to quickly identify the orientation and diameter of the target transverse pipe. This ability of real-time data feedback and adjustment makes the flight of the drone in a complex environment more stable and reliable, improves the accuracy of transverse pipe identification and positioning, and can also provide accurate flight guidance for the drone. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 A schematic flow chart of a method for identifying a horizontal pipe in a shaft based on TOF technology provided in this application;

[0042] Figure 2 A schematic diagram of the structure of a device for identifying a horizontal pipe in a shaft based on TOF technology provided in this application;

[0043] Figure 3 A schematic diagram of the structure of an electronic device provided by this application;

[0044] Figure 4 A schematic diagram of the structure of a computer-readable storage medium provided in this application. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0046] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The process steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0047] The division of modules in this application is a logical division. There may be other division methods when it is implemented in actual applications. For example, multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection between modules can be electrical or other similar forms, which are not limited in this application. In addition, the modules or submodules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in multiple circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present application.

[0048] Next, see Figure 1 , Figure 1 The present invention is a flowchart of a method for identifying a horizontal pipe in a shaft based on TOF technology in an embodiment of the present invention. As an embodiment of a method for identifying a horizontal pipe in a shaft based on TOF technology provided by the present invention, the method is applied to a drone for inspecting underground pipelines, and a TOF sensor is installed at the front end of the drone. The method for identifying a horizontal pipe in a shaft based on TOF technology specifically includes the following steps S110 to S140:

[0049] Step S110: when the drone enters the target shaft, the TOF sensor installed on the drone acquires the shaft wall distance array of the target shaft wall in real time;

[0050] When the drone flies vertically in the shaft, the TOF sensor collects the distance data of the shaft wall corresponding to the position of the drone. The target horizontal pipe is connected to the shaft wall of the target shaft.

[0051] As an achievable manner, the above step S110 involves real-time acquisition and processing of the TOF sensor installed on the drone to obtain the target shaft wall distance array, which specifically includes the following contents:

[0052] The TOF sensor installed on the drone emits a laser array to the target shaft wall adjacent to the drone, obtains the shaft wall distance collected by each laser beam in the laser array, arranges the shaft wall distances accordingly according to the laser array, and obtains a shaft wall distance array corresponding to the laser array.

[0053] Specifically, the number of lasers in the laser array emitted by TOF sensors of different resolutions is different. The present application selects a TOF sensor with a higher resolution so that more array elements of the well wall distance array are obtained, and the measurement is more accurate and faster.

[0054] Step S120, judging whether a target transverse pipe is detected in a well wall acquisition area corresponding to the well wall distance array according to the well wall distance array;

[0055] As an achievable manner, the above step S120 involves judging whether a target transverse pipe is detected in a wellbore acquisition area corresponding to the wellbore distance array according to the wellbore distance array, and specifically includes the following sub-steps:

[0056] Determine whether a target transverse pipe is detected in the well wall collection area corresponding to the well wall distance array according to a preset judgment rule, and when the well wall distance array satisfies the preset judgment rule, it indicates that a target transverse pipe is detected in the well wall collection area corresponding to the well wall distance array;

[0057] The preset judgment rule is that there is a well wall distance array element in the well wall distance array that is greater than the radius of the target shaft.

[0058] Specifically, when the target transverse pipe is detected, the well wall distance array acquired in real time will change accordingly with the change of the UAV's flight position, because when the TOF sensor does not detect the target transverse pipe, the detected distance is generally slightly smaller than the radius of the target vertical shaft, and will not change significantly with the change of the UAV's position. When the TOF sensor detects the target transverse pipe, since the target transverse pipe is connected to the target vertical shaft, the well wall distance measured by the TOF sensor at the position where the target transverse pipe is connected to the target vertical shaft must be greater than the radius of the target vertical shaft. Therefore, whether the transverse pipe is detected is judged by judging whether there is an element greater than the radius of the target vertical shaft in the data of the acquired well wall distance array.

[0059] Step S130: if a target transverse pipe is detected in the well wall acquisition area corresponding to the well wall distance array, the pipe diameter of the target transverse pipe is determined according to the well wall distance array;

[0060] As an achievable manner, the step S130 of determining the pipe diameter of the target horizontal pipe according to the well wall distance array specifically includes the following sub-steps:

[0061] (1) adjusting the position of the UAV according to the well wall distance array so that the UAV is located at the center of the target cross pipe;

[0062] As an achievable manner, the above sub-step (1) involves adjusting the position of the UAV according to the well wall distance array so that the UAV is located at the center of the target horizontal pipe, which can be used to perform the following:

[0063] Performing sum calculation on each row of the well wall distance array elements in the well wall distance array where the target transverse pipe is detected, to obtain the sum of the row direction distances of each row;

[0064] Determine the lateral position of the well wall distance array element corresponding to the maximum sum of the row distances in the well wall distance array, and adjust the UAV in the vertical direction according to the lateral position so that the lateral position corresponding to the maximum sum of the row distances in the well wall distance array obtained after the vertical adjustment is located at the horizontal center position of the well wall distance array obtained after the vertical adjustment;

[0065] The well wall distance array elements of each column in the well wall distance array obtained after vertical adjustment are summed up to obtain the sum of the column distances of each column;

[0066] Determine the longitudinal position of the wellbore distance array element corresponding to the maximum sum of the column distances in the wellbore distance array after the vertical adjustment, and adjust the UAV in real time in the horizontal direction according to the longitudinal position, so that the longitudinal position corresponding to the maximum sum of the column distances in the wellbore distance array obtained after the horizontal adjustment is located at the vertical center position of the wellbore distance array obtained after the horizontal adjustment. At this time, the UAV is located at the center position of the target cross pipe.

[0067] As an alternative way to perform the above-mentioned specific content of "adjusting the position of the UAV according to the well wall distance array so that the UAV is located at the center of the target cross pipe", the above-mentioned sub-step (1) involves adjusting the position of the UAV according to the well wall distance array so that the UAV is located at the center of the target cross pipe, which can also be used to perform the following content:

[0068] Performing sum calculation on each column of the well wall distance array elements in the well wall distance array where the target transverse pipe is detected, to obtain the sum of the column-wise distances of each column;

[0069] Determine the longitudinal position of the well wall distance array element corresponding to the maximum sum of column-wise distances in the well wall distance array, and adjust the UAV in the horizontal direction according to the longitudinal position, so that the longitudinal position corresponding to the maximum sum of column-wise distances in the well wall distance array obtained after the horizontal adjustment is located at the vertical center position of the well wall distance array obtained after the horizontal adjustment;

[0070] The well wall distance array elements of each row in the well wall distance array obtained after the horizontal adjustment are summed up to obtain the sum of the row direction distances of each row;

[0071] Determine the lateral position of the well wall distance array element corresponding to the maximum sum of the row distances in the well wall distance array after horizontal adjustment, and adjust the UAV in real time in the vertical direction according to the lateral position, so that the lateral position corresponding to the maximum sum of the row distances in the well wall distance array after vertical adjustment is located at the horizontal center position of the well wall distance array obtained after the vertical adjustment, and at this time the UAV is located at the center position of the target cross pipe.

[0072] Specifically, when the present application determines that the target transverse pipe is detected, the drone can be first adjusted horizontally so that the vertical maximum width of the target transverse pipe is at the vertical center of the well wall distance array of the TOF sensor, at which time the center of the TOF sensor is at the vertical diameter position of the target transverse pipe, and then the drone is adjusted vertically so that the horizontal maximum width of the target transverse pipe is at the horizontal center of the well wall distance array of the TOF sensor, at which time the center of the TOF sensor is at the center position of the target transverse pipe. Alternatively, the drone can be first adjusted vertically so that the horizontal maximum width of the target transverse pipe is at the horizontal center of the well wall distance array of the TOF sensor, at which time the center of the TOF sensor is at the horizontal diameter position of the target transverse pipe, and then the drone is adjusted horizontally so that the vertical maximum width of the target transverse pipe is at the vertical center of the well wall distance array of the TOF sensor, at which time the center of the TOF sensor is at the center position of the target transverse pipe, and then the drone can be adjusted accordingly according to the relative position coordinates of the center of the TOF sensor and the center of the drone, so that the center of the drone is at the center position of the target transverse pipe.

[0073] (2) Calculating the pipe diameter of the target transverse pipe based on the well wall distance array obtained when the UAV is located at the center position of the target transverse pipe.

[0074] As an achievable manner, after calculating the pipe diameter of the target horizontal pipe according to the well wall distance array in the above step S130, the method further includes:

[0075] It is determined whether the pipe diameter is greater than the minimum safe pipe diameter that the drone is allowed to enter. If not, an alarm message is generated and sent to an external signal receiving station.

[0076] Specifically, when the target transverse pipe is detected, the pipe center and pipe diameter of the target transverse pipe can be obtained based on the well wall distance array collected and processed by the TOF sensor. By comparing the pipe diameter of the target transverse pipe with the minimum safe pipe diameter that the drone is allowed to enter, the flight risk of the drone caused by the pipe being too small can be effectively avoided, which improves the safety of the drone, reduces the difficulty of drone operation, and expands the application field of the drone. When the pipe diameter of the target transverse pipe is larger than the minimum safe pipe diameter that the drone is allowed to enter, the center of the drone can be adjusted to the center of the target transverse pipe based on the relative position coordinates of the center of the TOF sensor and the center of the drone, so as to control the drone to fly from the target shaft into the target transverse pipe.

[0077] During the flight of the target shaft, the UAV continuously acquires and analyzes 3DTOF data, and adjusts the flight attitude and speed of the UAV in real time to adapt to changes in the internal environment of the pipeline. This real-time data feedback and adjustment capability makes the flight of the UAV in complex environments more stable and reliable. After identifying the target transverse pipe, the present invention dynamically plans the flight path of the UAV by analyzing the 3DTOF data in real time. According to the position of the transverse pipe, the UAV can autonomously adjust its flight attitude and speed to fly into the pipeline along the optimal path. This dynamic path planning capability improves the autonomous navigation capability of the UAV in complex environments. The present invention is not only suitable for transverse pipe detection in shafts, but can also be extended to pipeline detection and UAV navigation tasks in other similar complex environments. This versatility and scalability make the present invention have broad application prospects and potential market value.

[0078] Step S140: If the target horizontal pipe is not detected in the well wall collection area corresponding to the well wall distance array, the UAV is controlled to continue to perform flight detection in the target vertical shaft.

[0079] The embodiment of the present invention is applied to a drone for inspecting underground pipelines. When the drone enters a target shaft, the TOF sensor installed on the drone obtains the wall distance array of the target shaft in real time, and then determines whether the target transverse pipe is detected in the wall collection area corresponding to the wall distance array according to the wall distance array. If the target transverse pipe is detected in the wall collection area corresponding to the wall distance array, the pipe diameter of the target transverse pipe is determined according to the wall distance array. If the target transverse pipe is not detected in the wall collection area corresponding to the wall distance array, the drone is controlled to continue flying in the target shaft to detect the transverse pipe in the shaft. The method for identifying transverse pipes in a shaft based on TOF technology proposed in the embodiment of the present invention uses a 3DTOF sensor mounted on a drone to scan and analyze the wall of the target shaft in real time in the absence of a GPS signal, and adjusts the flight attitude and speed of the drone in real time according to the analysis results to quickly identify the orientation and diameter of the target transverse pipe. This ability of real-time data feedback and adjustment makes the flight of the drone in a complex environment more stable and reliable, improves the accuracy of transverse pipe identification and positioning, and can also provide accurate flight guidance for the drone.

[0080] The following is an embodiment of a device for identifying a horizontal pipe in a shaft based on TOF technology according to an embodiment of the present invention. Figure 2 , Figure 2 Schematic diagram of an embodiment of a device for identifying a horizontal pipe in a shaft based on TOF technology in an embodiment of the present invention. The device 200 includes:

[0081] An acquisition unit 201 is used to acquire a well wall distance array of a well wall of a target well in real time through the TOF sensor installed on the UAV when the UAV enters the target well;

[0082] A first judgment unit 202 is used to judge whether a target horizontal pipe is detected in the well wall acquisition area corresponding to the well wall distance array according to the well wall distance array;

[0083] A determination unit 203, configured to determine the pipe diameter of the target transverse pipe according to the well wall distance array when a target transverse pipe is detected in a well wall acquisition area corresponding to the well wall distance array;

[0084] The control unit 204 is used to control the UAV to continue to perform flight detection in the target vertical shaft when no target horizontal pipe is detected in the well wall collection area corresponding to the well wall distance array.

[0085] Wherein, the target horizontal pipe is connected to the well wall of the target vertical well.

[0086] As an implementable manner, the first determination unit 202 is specifically configured to execute the following contents:

[0087] Determine whether a target transverse pipe is detected in the well wall collection area corresponding to the well wall distance array according to a preset judgment rule, and when the well wall distance array satisfies the preset judgment rule, it indicates that a target transverse pipe is detected in the well wall collection area corresponding to the well wall distance array;

[0088] The preset judgment rule is that there is a well wall distance array element in the well wall distance array that is greater than the radius of the target shaft.

[0089] As an implementable manner, the determining unit 203 includes:

[0090] A center adjustment subunit, used for adjusting the position of the UAV according to the well wall distance array, so that the UAV is located at the center position of the target cross pipe;

[0091] The calculation subunit is used to calculate the pipe diameter of the target cross pipe according to the well wall distance array obtained when the UAV is located at the center position of the target cross pipe.

[0092] As an implementable manner, the center adjustment subunit is used to perform the following:

[0093] Performing sum calculation on each row of the well wall distance array elements in the well wall distance array where the target transverse pipe is detected, to obtain the sum of the row direction distances of each row;

[0094] Determine the lateral position of the well wall distance array element corresponding to the maximum sum of the row distances in the well wall distance array, and adjust the UAV in the vertical direction according to the lateral position so that the lateral position corresponding to the maximum sum of the row distances in the well wall distance array obtained after the vertical adjustment is located at the horizontal center position of the well wall distance array obtained after the vertical adjustment;

[0095] The well wall distance array elements of each column in the well wall distance array obtained after vertical adjustment are summed up to obtain the sum of the column distances of each column;

[0096] Determine the longitudinal position of the wellbore distance array element corresponding to the maximum sum of the column distances in the wellbore distance array after the vertical adjustment, and adjust the UAV in real time in the horizontal direction according to the longitudinal position, so that the longitudinal position corresponding to the maximum sum of the column distances in the wellbore distance array obtained after the horizontal adjustment is located at the vertical center position of the wellbore distance array obtained after the horizontal adjustment. At this time, the UAV is located at the center position of the target cross pipe.

[0097] As an alternative, the center adjustment subunit is further configured to perform the following:

[0098] Performing sum calculation on each column of the well wall distance array elements in the well wall distance array where the target transverse pipe is detected, to obtain the sum of the column-wise distances of each column;

[0099] Determine the longitudinal position of the well wall distance array element corresponding to the maximum sum of column-wise distances in the well wall distance array, and adjust the UAV in the horizontal direction according to the longitudinal position, so that the longitudinal position corresponding to the maximum sum of column-wise distances in the well wall distance array obtained after the horizontal adjustment is located at the vertical center position of the well wall distance array obtained after the horizontal adjustment;

[0100] The well wall distance array elements of each row in the well wall distance array obtained after the horizontal adjustment are summed up to obtain the sum of the row direction distances of each row;

[0101] Determine the lateral position of the well wall distance array element corresponding to the maximum sum of the row distances in the well wall distance array after horizontal adjustment, and adjust the UAV in real time in the vertical direction according to the lateral position, so that the lateral position corresponding to the maximum sum of the row distances in the well wall distance array after vertical adjustment is located at the horizontal center position of the well wall distance array obtained after the vertical adjustment, and at this time the UAV is located at the center position of the target cross pipe.

[0102] As an achievable manner, the device further includes:

[0103] A second judgment unit is used to judge whether the pipe diameter is greater than or equal to the minimum safe pipe diameter that the drone is allowed to enter;

[0104] The generating unit is used to generate an alarm message and send the alarm message to an external signal receiving station when it is determined that the diameter of the pipeline is smaller than the minimum safe pipeline diameter that the drone is allowed to enter.

[0105] As an implementable manner, the acquisition unit 201 is specifically configured to execute the following contents:

[0106] The TOF sensor installed on the drone emits a laser array to the target shaft wall adjacent to the drone, obtains the shaft wall distance collected by each laser beam in the laser array, arranges the shaft wall distances accordingly according to the laser array, and obtains a shaft wall distance array corresponding to the laser array.

[0107] The embodiment of the present invention is applied to a drone for inspecting underground pipelines. When the drone enters a target shaft, the acquisition unit 201 acquires the shaft wall distance array of the target shaft wall in real time through the TOF sensor installed on the drone. Then the judgment unit 202 judges whether the target transverse pipe is detected in the shaft wall collection area corresponding to the shaft wall distance array according to the shaft wall distance array. If the target transverse pipe is detected in the shaft wall collection area corresponding to the shaft wall distance array, the determination unit 203 determines the pipe diameter of the target transverse pipe according to the shaft wall distance array. If the target transverse pipe is not detected in the shaft wall collection area corresponding to the shaft wall distance array, the control unit 204 controls the drone to continue flying in the target shaft to detect the transverse pipe in the shaft. The method for identifying transverse pipes in a shaft based on TOF technology proposed in the embodiment of the present invention uses a 3DTOF sensor mounted on a drone to scan and analyze the shaft wall of the target shaft in real time in the absence of a GPS signal, and adjusts the flight attitude and speed of the drone in real time according to the analysis result to quickly identify the orientation and diameter of the target transverse pipe. This real-time data feedback and adjustment capability makes the UAV's flight in complex environments more stable and reliable, improves the accuracy of cross tube identification and positioning, and can also provide precise flight guidance for the UAV.

[0108] An electronic device is also provided in an embodiment of the present invention. Figure 3 , Figure 3 The electronic device of the present invention is a schematic diagram of an embodiment of the electronic device, including:

[0109] A memory 301, a processor 302, and a computer program 303 stored in the memory and executable on the processor, wherein when the processor executes the computer program 303 stored in the memory, the method for identifying a horizontal pipe in a shaft based on TOF technology is implemented.

[0110] For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the part of a method for identifying a horizontal pipe in a shaft based on TOF technology in the embodiment of the present invention. The memory 301 can be used to store a computer program 303, which includes software programs, modules and data. The processor 302 executes the computer program 303 stored in the memory 301 to perform various functional applications and data processing of the electronic device.

[0111] The present invention also provides a computer-readable storage medium. Figure 4 , Figure 4 The present invention is a schematic diagram of an embodiment of a computer-readable storage medium, wherein the computer-readable storage medium may store a computer program, which when executed includes part or all of the steps of a method for identifying a horizontal pipe in a vertical shaft based on TOF technology recorded in the above method embodiment.

[0112] Technicians in the relevant field can clearly understand that, for the convenience and conciseness of description, the specific working processes of the above-described devices, electronic devices and computer-readable storage media can refer to the corresponding process of a method for identifying horizontal pipes in a vertical shaft based on TOF technology in the aforementioned method embodiment, and will not be repeated here.

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

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

[0115] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0116] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of a method for identifying a horizontal pipe in a shaft based on TOF technology in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0117] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for identifying a horizontal pipe in a shaft based on TOF technology, the method being applied to a drone for inspecting underground pipelines, the front end of the drone being equipped with a TOF sensor, the method comprising: When the UAV enters the target shaft, the TOF sensor installed on the UAV acquires the shaft wall distance array of the target shaft wall in real time; Judging whether a target transverse pipe is detected in a well wall acquisition area corresponding to the well wall distance array according to the well wall distance array; If a target transverse pipe is detected in the well wall acquisition area corresponding to the well wall distance array, the pipe diameter of the target transverse pipe is determined according to the well wall distance array; If the target horizontal pipe is not detected in the well wall acquisition area corresponding to the well wall distance array, the UAV is controlled to continue to perform flight detection in the target vertical shaft; Wherein, the target transverse pipe is connected with the target vertical shaft.

2. A method for identifying a horizontal pipe in a shaft based on TOF technology according to claim 1, characterized in that: The step of judging whether a target transverse pipe is detected in a well wall acquisition area corresponding to the well wall distance array according to the well wall distance array comprises: Determine whether a target transverse pipe is detected in the well wall collection area corresponding to the well wall distance array according to a preset judgment rule, and when the well wall distance array satisfies the preset judgment rule, it indicates that a target transverse pipe is detected in the well wall collection area corresponding to the well wall distance array; The preset judgment rule is that there is a well wall distance array element in the well wall distance array that is greater than the radius of the target shaft.

3. A method for identifying a horizontal pipe in a shaft based on TOF technology according to claim 2, characterized in that: Determining the pipe diameter of the target horizontal pipe according to the well wall distance array includes: Adjusting the position of the UAV according to the well wall distance array so that the UAV is located at the center of the target cross pipe; The pipe diameter of the target transverse pipe is calculated based on the well wall distance array obtained when the UAV is located at the center position of the target transverse pipe.

4. A method for identifying a horizontal pipe in a shaft based on TOF technology according to claim 3, characterized in that: The step of adjusting the position of the UAV according to the well wall distance array so that the UAV is located at the center of the target horizontal pipe includes: Performing sum calculation on each row of the well wall distance array elements in the well wall distance array where the target transverse pipe is detected, to obtain the sum of the row direction distances of each row; Determine the lateral position of the well wall distance array element corresponding to the maximum sum of the row distances in the well wall distance array, and adjust the UAV in the vertical direction according to the lateral position so that the lateral position corresponding to the maximum sum of the row distances in the well wall distance array obtained after the vertical adjustment is located at the horizontal center position of the well wall distance array obtained after the vertical adjustment; The well wall distance array elements of each column in the well wall distance array obtained after vertical adjustment are summed up to obtain the sum of the column distances of each column; Determine the longitudinal position of the wellbore distance array element corresponding to the maximum sum of the column distances in the wellbore distance array after the vertical adjustment, and adjust the UAV in real time in the horizontal direction according to the longitudinal position, so that the longitudinal position corresponding to the maximum sum of the column distances in the wellbore distance array obtained after the horizontal adjustment is located at the vertical center position of the wellbore distance array obtained after the horizontal adjustment. At this time, the UAV is located at the center position of the target cross pipe.

5. The method for identifying a horizontal pipe in a shaft based on TOF technology according to claim 3, characterized in that: The step of adjusting the position of the UAV according to the well wall distance array so that the UAV is located at the center of the target horizontal pipe includes: Performing sum calculation on each column of the well wall distance array elements in the well wall distance array where the target transverse pipe is detected, to obtain the sum of the column-wise distances of each column; Determine the longitudinal position of the well wall distance array element corresponding to the maximum sum of column-wise distances in the well wall distance array, and adjust the UAV in the horizontal direction according to the longitudinal position, so that the longitudinal position corresponding to the maximum sum of column-wise distances in the well wall distance array obtained after the horizontal adjustment is located at the vertical center position of the well wall distance array obtained after the horizontal adjustment; The well wall distance array elements of each row in the well wall distance array obtained after the horizontal adjustment are summed up to obtain the sum of the row direction distances of each row; Determine the lateral position of the well wall distance array element corresponding to the maximum sum of the row distances in the well wall distance array after horizontal adjustment, and adjust the UAV in real time in the vertical direction according to the lateral position, so that the lateral position corresponding to the maximum sum of the row distances in the well wall distance array after vertical adjustment is located at the horizontal center position of the well wall distance array obtained after the vertical adjustment, and at this time the UAV is located at the center position of the target cross pipe.

6. A method for identifying a horizontal pipe in a shaft based on TOF technology according to claim 2, characterized in that: After calculating the pipe diameter of the target horizontal pipe according to the well wall distance array, the method further includes: It is determined whether the pipe diameter is greater than the minimum safe pipe diameter that the drone is allowed to enter. If not, an alarm message is generated and sent to an external signal receiving station.

7. A method for identifying a horizontal pipe in a shaft based on TOF technology according to claim 1, characterized in that: The method of acquiring the target shaft wall distance array by real-time acquisition and processing of the TOF sensor installed on the drone includes: The TOF sensor installed on the drone emits a laser array to the target shaft wall adjacent to the drone, obtains the shaft wall distance collected by each laser beam in the laser array, and arranges the shaft wall distances accordingly according to the laser array to obtain a shaft wall distance array corresponding to the laser array.

8. A device for identifying horizontal pipes in a shaft based on TOF technology, characterized in that: The device comprises: an acquisition unit, configured to acquire a well wall distance array of a well wall of a target well in real time through the TOF sensor installed on the UAV when the UAV enters the target well; A judgment unit, configured to judge whether a target transverse pipe is detected in a well wall acquisition area corresponding to the well wall distance array according to the well wall distance array; A determination unit, configured to determine the pipe diameter of the target transverse pipe according to the well wall distance array when a target transverse pipe is detected in a well wall acquisition area corresponding to the well wall distance array; The control unit is used to control the UAV to continue to perform flight detection in the target vertical shaft when the target horizontal pipe is not detected in the well wall collection area corresponding to the well wall distance array.

9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is used to implement a method for identifying a horizontal pipe in a vertical shaft based on TOF technology as described in any one of claims 1 to 7 when executing the computer program stored in the memory.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, a method for identifying a horizontal pipe in a shaft based on TOF technology as claimed in any one of claims 1 to 7 is implemented.