TUNNEL DEFECT DETECTING METHOD AND SYSTEM USING UNMANNED AERIAL VEHICLE

20220383484 · 2022-12-01

    Inventors

    Cpc classification

    International classification

    Abstract

    Tunnel defect detecting method and system using unmanned aerial vehicle (UAV) are provided, and the UAV is equipped with a light-emitting diode (LED) module, a camera, a laser radar, an ultrasonic distance meter and an inertial measurement unit (IMU). The method includes: collecting images in a tunnel based on the LED module and the camera to obtain a training image set; training by using the training image set to obtain a defect detecting model, collecting real-time tunnel images, detecting suspected defects to the real-time tunnel images by the defect detecting model, obtaining pose information of the UAV based on the camera, the laser radar, the ultrasonic distance meter and the IMU to control the UAV to hover. The method can realize accurate pose estimation and defect detection in the tunnel with no GPS signals and highly symmetrical inside.

    Claims

    1. A tunnel defect detecting method using an unmanned aerial vehicle (UAV), wherein the UAV is equipped with a light-emitting diode (LED) module, a camera, a laser radar, an ultrasonic distance meter and an inertial measurement unit (IMU); and the tunnel defect detecting method comprises: S1, collecting a plurality of original images of tunnel defects in a tunnel based on the LED module and the camera to obtain an original image set, and pre-processing the original image set to obtain a training image set; S2, constructing a neural network model, and training the neural network model by using the training image set to obtain a defect detecting model; S3, acquiring pose information of the UAV based on the camera, the laser radar, the ultrasonic distance meter and the IMU, collecting real-time tunnel images based on the LED module and the camera while the UAV is flying in the tunnel, and detecting suspected defects in the real-time tunnel images by using the defect detecting model; wherein if the suspected defects are detected, executing S4; otherwise, continuing the flying of the UAV, and repeating S3; and S4, making the UAV to hover, collecting suspected defect images based on the LED module and the camera, using the defect detecting model to detect defects of the suspected defect images to obtain a defect detection result, recording position information of the UAV and the defect detection result, and then continuing the flying of the UAV, and executing S3.

    2. The tunnel defect detecting method using the UAV according to claim 1, wherein the pre-processing the original image set to obtain a training image set, comprises: denoising and enhancing the original images in the original image set, and marking defect types of the original images to obtain the training image set.

    3. The tunnel defect detecting method using the UAV according to claim 2, wherein the defect types comprise a crack defect and a spalling defect, the crack defect refers to a linear crack on a tunnel surface, and the spalling defect refers to a depression on the tunnel surface after concrete falls off.

    4. The tunnel defect detecting method using the UAV according to claim 2, wherein in S1, the original image set is subjected to data enhancement before the denoising and enhancing the original images in the original image set; the data enhancement comprises: performing flipping, contrast and brightness adjustment and image random cropping to image samples in the original image set, and adding images obtained by the data enhancement to the original image set.

    5. The tunnel defect detecting method using UAV according to claim 1, wherein the acquiring pose information of the UAV based on the camera, the laser radar, the ultrasonic distance meter and the IMU, comprises: obtaining UAV motion information measured by the IMU, and obtaining first position information of the UAV based on the UAV motion information; obtaining UAV flight images collected by the camera being a binocular camera, pre-processing the UAV flight images to obtain pre-processed UAV flight images and then performing feature point tracking onto the pre-processed UAV flight images by an optical flow method to solve second position information of the UAV; obtaining radar point cloud data collected by the laser radar, and obtaining third position information of the UAV based on the radar point cloud data; obtaining absolute height information of the UAV based on measurement of the ultrasonic distance meter; and taking the first position information as predicted values, taking the second position information, the third position information and the absolute height information as observed values, and fusing the predicted values and the observed values to obtain the pose information of the UAV.

    6. The tunnel defect detecting method using the UAV according to claim 5, wherein the first position information, the second position information, the third position information and the absolute height information are fused by using an unscented Kalman filter (UKF) algorithm to obtain the pose information of the UAV.

    7. The tunnel defect detecting method using the UAV according to claim 1, wherein in the S3 and the S4, the flying of the UAV further comprises: performing obstacle avoidance control; wherein the performing obstacle avoidance control, comprises: changing a speed of the UAV according to a current speed of the UAV and a distance between the UAV and an obstacle based on an artificial potential field method.

    8. A tunnel defect detecting system based on the tunnel defect detecting method using the UAV according to claim 1, and wherein the tunnel defect detecting system comprises: the UAV, being equipped with the LED module, the camera, the laser radar, the ultrasonic distance meter and the IMU; a position calculator, configured to obtain the pose information of the UAV based on the camera, the laser radar, the ultrasonic distance meter and the IMU; a defect detector, configured to detect the suspected defects and the defects based on the real-time tunnel images collected by the LED module and the camera and the defect detecting model; and a flight controller, configured to control the flying and the hovering of the UAV based on the pose information of the UAV during the flying and suspected defect detection results of the defect detector.

    9. The tunnel defect detecting system according to claim 8, wherein the flight controller is further configured to perform obstacle avoidance control during the flying of the UAV; wherein the obstacle avoidance control comprises: based on an artificial potential field method, a speed of the UAV is changed according to a current speed of the UAV and a distance between the UAV and an obstacle.

    10. The tunnel defect detecting system according to claim 8, wherein the tunnel defect detecting system further comprises an upper computer and a communicator, the communicator is mounted on the UAV, and the upper computer is in communication connection with the tunnel defect detection system using UAV through the communicator.

    Description

    BRIEF DESCRIPTION OF THE FIGURES

    [0034] FIG. 1 is a flow chart of the tunnel defect detection method using an UAV.

    [0035] FIG. 2 is a flow chart for determining the pose information of the UAV.

    [0036] FIG. 3 is a block diagram of the tunnel defect detecting system using an UAV.

    DETAILED DESCRIPTION OF THE EMBODIMENTS

    [0037] The invention will be described in detail below with reference to the drawings and specific embodiments. The embodiment is implemented on the premise of the technical scheme of the invention, and gives detailed implementation and specific operation process. However, the protection scope of the invention is not limited to the following embodiments.

    Embodiment 1

    [0038] In this embodiment, the unmanned aerial vehicle (UAV) for tunnel defect detection is a multi-rotor UAV, which is equipped with a LED module, a camera, a laser radar, an ultrasonic distance meter and an inertial measurement unit (IMU); the LED module is used to supplement the illumination in the tunnel, so that the camera can collect images at a certain brightness; the radar point cloud data collected by the laser radar can realize the positioning and obstacle avoidance of the UAV; the camera collects tunnel images for defect detection, and it can also be used as a visual odometer to estimate the pose information of the UAV; and the ultrasonic distance meter is used to obtain the height information of the UAV.

    [0039] A tunnel defect detecting method using UAV, as shown in FIG. 1, includes the following steps:

    [0040] S1, mounting the LED module and the camera on the UAV, collecting a plurality of original images of tunnel defects in a tunnel based on the LED module and the camera to obtain an original image set, and pre-processing the original image set to obtain a training image set;

    [0041] S2, constructing a neural network model, and training the neural network model by the training image set to obtain a defect detecting model;

    [0042] S3, acquiring the pose information of the UAV based on the camera, the laser radar, the ultrasonic distance meter and the IMU, collecting real-time tunnel images based on the LED module and the camera while the UAV is flying in the tunnel, and using the defect detecting model to detect suspected defects in the real-time tunnel images; if the suspected defects are detected, executing S4, otherwise, continuing the flight of the UAV, and repeating S3; and

    [0043] S4, making the UAV to hover, collecting the suspected defect images based on the LED module and the camera, and using the defect detecting model to detect defects of the suspected defect images to obtain a defect detection result, recording the position information of the UAV and the defect detection result and then continuing the flight of the UAV, and executing S3.

    [0044] In a word, the method includes two stages, the first stage is the defect detecting model building stage, and the second stage is the defect detecting stage.

    [0045] In the defect detecting model building stage, the UAV can be manually controlled to fly in the tunnel; when the UAV flies, the camera collects the images of the tunnel, and the staff observes the images; if the staff finds defects on the images, the staff will control the UAV to hover and collect multiple original images of tunnel defects containing the defects, and then continue to control the UAV to fly and repeat the above process to obtain an original image set.

    [0046] Defect types include a crack defect and a spalling defect; the crack defect refers to linear crack on the tunnel surface, the spalling defect refers to a similar round or oval depression left after the hardened concrete on the tunnel surface falls off.

    [0047] When the LED module is used for extra illumination supplement, the jitter of the UAV in flight will lead to problems such as uneven brightness, blurred details and noise in the collected images. Therefore, the original images in the original image set are subjected to denoising and image enhancement processing, such as contrast stretching, to improve the image quality, and then the defect types of each original image are marked to obtain the training image set.

    [0048] Because the number of original images collected may be small, the training image set can be expanded by data enhancement. The original image set is subjected to data enhancement before the denoising and the image enhancement processing. The data enhancement specifically includes performing flipping, contrast and brightness adjustment and image random cropping to image samples in the original image set, and adding the images obtained by data enhancement to the original image set.

    [0049] After that, the neural network can be constructed by CNN (Convolutional Neural Networks) convolutional neural network, or by other neural network structures, and the training based on the training image set. When the recognition accuracy reaches the expected threshold, the trained defect detecting model can be obtained.

    [0050] In this embodiment, the defect detecting model is stored in the minicomputer NUC (Next Unit of Computing) mounted on the UAV, and the defect detecting model building stage is completed.

    [0051] In the defect detection stage, the UAV flies autonomously in the tunnel, and uses the defect detecting model to detect defects in the real-time tunnel images collected during the flight; if a suspected defect is detected, the UAV is controlled to hover at the suspected defect position to collect images with higher quality, and then detects defects based on the defect detecting model again.

    [0052] Without the help of GPS signals, accurate position estimation is needed to realize the accurate hovering of the UAV, and the positioning cannot be realized in the tunnel environment with repeated structure, high symmetry and self-similarity only by laser radar. As shown in FIG. 2, in the application, obtaining the pose information of the UAV based on the camera, the laser radar, the ultrasonic distance meter and the IMU is specifically as follows.

    [0053] Acquiring the UAV motion information measured by the IMU, and obtaining the first position information of the UAV based on the UAV motion information;

    [0054] Obtain the acceleration and angular acceleration information [α.sub.t.sup.t, w.sub.t.sup.b] of the UAV with the IMU, and the coordinate system of the information is UAV coordinate system; based on the state propagation model of the IMU, the position, speed and angle information of the UAV can be obtained at every moment as follows:

    [00001] { u t = [ a t t , w t b ] T v t = [ a v t , a v t ] T [ P t + 1 w , P . t + 1 b , ϕ t + 1 w ] = f ( P t w , P . t b , ϕ t w , u t , v t ) ;

    [0055] where, P.sub.t.sup.w represents the three-dimensional position of the UAV in the world coordinate system at time t, {dot over (P)}.sub.t.sup.brepresents the three-dimensional speed of the UAV in the UVA coordinate system, Ø.sub.t.sup.w is the three-dimensional angle (yaw, pitch and roll angle) of the UAV in the world coordinate system, v.sub.t represents the noise information of the IMU, and ƒ(•) represents the discrete form of kinematics equation.

    [0056] obtaining the UAV flight images collected by the binocular camera; after pre-processing the UAV flight images, using the optical flow method to track the feature points, and solving the second position information of the UAV; the camera is the binocular camera;

    [0057] the binocular camera acquires flight images with a frame rate of 30 FPS; the binocular camera acquires left and right images during the UAV flight as follows: firstly, using histogram to equalize and enhance the image contrast of the two images, and using the adaptive threshold method to segment the images to obtain the black-and-white images; then, detecting the Fast feature points of the black-and-white images, tracking the feature points by using KLT (Kanade-Lucas-Tomasi Tracking) optical flow, eliminate the wrong tracking points by using RANSAC (Random Sample Consensus) algorithm, and tracking the optical flow of the left and right images to obtain the depth of feature points as follows:

    [00002] depth = Bf x d ;

    [0058] where, B represents the baseline length of left and right cameras, f.sub.x represents the focal length and d represents the parallax;

    [0059] when a certain number of images are obtained, PnP (perspective-n-point) algorithm is used to solve the features of adjacent moments to obtain the pose information [x.sup.w, y.sup.w, depth] of the UAV.

    [0060] Acquiring radar point cloud data collected by the laser radar, building the 2D

    [0061] SLAM in real-time, and matching the currently acquired radar point cloud data with the real-time map, so as to solve the third position information of the UAV;

    [0062] scanning the surrounding environment by the laser radar, build the 2D SLAM in real-time, using Hector-SLAM algorithm when the original data of the laser radar matches the map currently built, using Gauss-Newton method to obtain the most probable pose of the UAV in the map at that moment as follows:


    ξ*=argmin.sub.ξΣ.sub.i=1.sup.n[1−M(S.sub.i(ξ))].sup.2;

    [0063] where, ξ=(x, y, θ).sup.T represents the pose information, S.sub.i(ξ) represents the representation of endpoint coordinates of the laser radar in the world coordinate system, and M(S.sub.i(ξ) ) represents the map value of the coordinate point S.sub.i(ξ).

    [0064] Obtaining the absolute height information of the UAV based on measurement of the ultrasonic distance meter;

    [0065] take the first position information as the predicted value, the second position information, the third position information and the absolute height information as the observed values, update the predicted value by using unscented Kalman filter (UKF) algorithm, and finally obtaining the fused pose information of the UAV, X.sub.t=[p.sub.t.sup.w, {dot over (P)}.sub.t.sup.b, Ø.sub.t.sup.w, w.sub.t.sup.b].

    [0066] The operation of UAV in flight also includes obstacle avoidance control, in which the speed of the UAV is changed according to the current speed of the UAV and the distance between the UAV and the obstacle based on the artificial potential field method. During the flight, based on the obstacle information scanned by the laser radar, it is assumed that the obstacle is a positive charge, and the UAV is also a positive charge, so the repulsion force will be generated between the UAV and the obstacle, and the closer the distance is, the greater the repulsion force. The repulsion force can be expressed by the square of the distance between the current position of the UAV and the obstacle. When the UAV approaches an obstacle, the speed of the UAV will be reduced, so that the distance between the UAV and the obstacle will not be too close, thus achieving obstacle avoidance control.

    [0067] The application also provides a tunnel defect detecting system using UAV, as shown in FIG. 3, which includes:

    [0068] the UAV, which is equipped with the LED module, the camera, the laser radar, the ultrasonic distance meter and the IMU;

    [0069] a position calculator, which obtains the pose information of the UAV based on the camera, the laser radar, the ultrasonic distance meter and the IMU;

    [0070] a defect detector, which detects suspected defects and defects based on real-time tunnel images collected by the LED module and the camera and the defect detecting model;

    [0071] a flight controller, which controls the flight and hovering of the UAV based on the pose information of the UAV during flight and the suspected defect detection results of the defect detector.

    [0072] It is worth mentioning that, in some embodiments, the position calculator, the defect detector and the flight controller are embodied by at least one processor and at least one memory coupled to the at least one processor, and the at least one memory stores programs executable by the at least one processor.

    [0073] The flight controller also carries out obstacle avoidance control during the flight of the UAV. In the obstacle avoidance control, based on the artificial potential field method, the speed of the UAV is changed according to the current speed of the UAV and the distance between the UAV and obstacle.

    [0074] The defect detecting system also includes an upper computer (also referred to as host computer) and a communicator, and the communicator is mounted on the UAV, and the upper computer is in communication connection with the tunnel defect detecting system using UAV through the communicator.

    [0075] Specifically, when the UAV performs the tunnel defect detecting task, the upper computer is the staffs computer. The UAV is equipped with a minicomputer NUC (abbreviation for Next Unit of Computing), in which the defect detecting model is stored, and the position calculator (also referred to as position calculating module), the defect detector (also referred to as defect identifying module) and the flight controller (also referred to as flight control module) are all integrated in the NUC. The communicator (for example, wireless communication module) can realize the real-time communication connection between the UAV and the upper computer. The staff can receive the defect detecting information, position information, position and pose information of the UAV, etc., and can also send control instructions to the UAV.

    [0076] The preferred embodiments of the invention have been described in detail above.

    [0077] It should be understood that those skilled in the art can make many modifications and changes according to the concept of the invention without creative efforts. Therefore, all technical solutions that can be obtained by the technicians in the technical field through logical analysis, reasoning or limited experiments based on the existing technology according to the concept of the invention should be within the scope of protection determined by the claims.