Detection probe, detection equipment and detection method for pipeline inner wall defects

Through the combination of the dual-camera detection probe and the ring laser, the problem of confusion in the intersection of circular structured light is solved, and 360° full coverage of defect detection on the inner wall of the pipeline is achieved, ensuring the accuracy and precision of the detection results.

CN118730909BActive Publication Date: 2024-10-29TECHFLUID YANTAI LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411216120.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-10-29
Estimated Expiration
2044-09-02

Smart Images

  • Figure CN118730909B_ABST
    Figure CN118730909B_ABST
Patent Text Reader

Abstract

This invention relates to the field of detection technology for defects in the inner wall of pipelines, and particularly to a detection probe, detection equipment and detection method for defects in the inner wall of pipelines. In this scheme, a structured light unit emits a ring-shaped light spot and projects it onto the inner wall of the pipeline. When it encounters a defective inner wall of the pipeline, the ring-shaped light spot will deform. After calibration by the first camera and the second camera and processing by the host computer, the specific location and size of the defect can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of detecting pipeline inner wall defects, and relates to a detection probe, detection equipment and detection method for pipeline inner wall defects, and in particular to a detection probe, detection equipment and detection method for pipeline inner wall defects with a dual camera. Background Art

[0002] Using optical detection probes to detect whether there are defects on the inner wall of a pipeline is a common technical means in this field. In order to avoid the disadvantages of common optical detection probes when working, a Chinese invention patent application with publication number CN116934690A discloses a fully automatic defect detection method, system, equipment and medium based on a drainage network. In this patent application, the detection efficiency and detection effect of the detection system are improved by continuously training the pipeline defect model.

[0003] In order to further improve the detection effect, it is necessary to analyze the reasons why the structure cannot be accurately detected in principle. According to the pinhole imaging principle, the circular structured light surface of the object side is regarded as composed of an infinite number of circular rings (or elliptical rings). After all the circular rings are imaged by the pinhole, the circular rings presented on the image surface are partially overlapped; the circular light on each image can be regarded as the image formed by multiple circular rings or elliptical rings near a certain section of the circular structured light surface. Since it is necessary to extract the central light strip (including the defect) of the circular light with a certain width (i.e., imaged by multiple circular rings) on the image, and then calculate the actual position through the one-to-one correspondence between the two-dimensional pixel coordinates and the three-dimensional camera coordinates, and the points extracted from the overlapping part of the light are chaotic and located on multiple different sections of the cone, and the two-dimensional pixel coordinates and the three-dimensional camera coordinates are in a one-to-many relationship, and it is impossible to find the three-dimensional point on the correct section. Therefore, when the defect is in this part, the calculated three-dimensional position is very different from the actual position, so the size of the defect cannot be detected.

[0004] Based on the above problems, it is necessary to improve the existing equipment. Summary of the invention

[0005] Technical purpose: In order to overcome the deficiencies in the prior art, the present invention provides a detection probe, a detection device and a detection method for pipeline inner wall defects.

[0006] Technical solution: To achieve the above-mentioned purpose, the present invention discloses a detection probe for pipeline inner wall defects, comprising a housing, a camera group unit, a lighting group unit, a structured light unit and a sensor unit, wherein the camera group unit, the lighting group unit and the structured light unit are accommodated in the housing;

[0007] The structured light unit includes a ring laser, which is mounted on the central axis in the housing, and projects onto the inner wall of the pipeline to be tested and forms a circular ring;

[0008] The camera group unit includes a first camera and a second camera; the projection of a perpendicular line from the optical center of the first camera to the central axis of the spatial conic light and its extension line on the vertical axis section of the spatial conic light and the projection of a perpendicular line from the optical center of the second camera to the central axis of the spatial conic light and its extension line on the vertical axis section of the spatial conic light form an angle A window is provided at one end of the housing, and the first camera and the second camera share the window;

[0009] The lighting group unit includes a lighting lamp group, and the lighting lamp group is used to illuminate the inside of the pipeline to be tested;

[0010] The sensor unit comprises a posture sensor for assisting in determining the tilt angle of the detection probe and a speed sensor for assisting in determining the moving speed of the detection probe.

[0011] Preferably, the first camera and the second camera are used to capture the internal image of the pipeline to be tested and the ring.

[0012] Preferably, the camera unit further comprises a third camera, the third camera has the same illumination band as the illumination lamp group in the illumination group unit, and is not in the same band range as the laser wavelength of the ring laser.

[0013] The first camera and the second camera have built-in bandpass filters, which can only transmit the emission band of the ring laser, the emission band of the lighting group and the circular ring projected by the ring laser. The third camera is used to collect pipe wall images.

[0014] Preferably, it also includes a host computer and a VR display module, the camera group unit, the lighting group unit, the structured light unit, and the sensor unit are respectively connected to the host computer through transmission lines, and the VR display module is connected to the host computer through a transmission line.

[0015] A detection device for defects on the inner wall of a pipeline, the detection device comprises the above-mentioned detection probe.

[0016] The pipeline inner wall defect detection method based on dual cameras includes the following steps:

[0017] (S1) by calculation and simulation, finding the intersection area where the spatial conic light is imaged by the first camera and the second camera respectively;

[0018] (S2) deleting the intersection area of ​​the images captured by the first camera and the second camera;

[0019] (S3) The images P9 and P 10 Perform defect detection and calculate defect depth;

[0020] (S4) The first defect and the second defect calculated by the first camera and the second camera in step S3 within different angle ranges relative to the spatial cone light are spliced ​​and merged to obtain the defect depth in all areas that can be covered 360° on the inner wall of the pipeline, thereby realizing defect detection with full coverage of 360° on the inner wall of the pipeline.

[0021] Preferably, in step (S1), the specific operation steps of finding the intersection area of ​​the spatial conic light imaged by the first camera and the second camera include:

[0022] (A1) Determine the spatial relative positions of the two cameras and the spatial conic light; determine the estimated relative positions of the first camera, the second camera and the spatial conic light through the imaging orientations of the first camera and the second camera;

[0023] (A2) Simulate the image of the spatial conic light on the image plane of the two cameras, combining the optical center of the first camera, the second camera and the spatial conic light camera image and the spatial cone light half angle , fit the images P1 and P2 of the ring within the measurement inner diameter range on the spatial conic light surface on the image planes of the first camera and the second camera, wherein there are two imaging intersection areas on P1 and P2, which are symmetrical sectors P3 and P4, P5 and P6 respectively;

[0024] (A3) Determine the imaging parameters of the spatial conic light and calculate the estimated coordinates of the center of the spatial conic light on the image plane of the first camera and the second camera and , inner diameter and , outer diameter and And estimate the coordinates using the center of the circle and The pixel range of the fan-shaped area (P3, P4, P5, P6) with a certain angle range at the center of the circle.

[0025] Preferably, in step (S2), deleting the intersection area of ​​the images captured by the first camera and the second camera comprises the following steps:

[0026] (B1) Set the pixel values ​​of the intersection areas P3 and P4 of the first camera imaging to 0, and estimate the coordinates of The center of the circle is less than and greater than The pixel value of the area is set to 0, and the first camera only contains the spatial conic light information area P7, which can be obtained by the following formula:

[0027] ;

[0028] (B2) Set the pixel values ​​of the intersection areas P5 and P6 of the second camera imaging to 0, and estimate the coordinates based on the center of the circle. The center of the circle is less than and greater than The pixel value of the area is set to 0, and the second camera only contains the spatial conic light information area P8, which can be obtained by the following formula:

[0029] ;

[0030] (B3) Image processing is performed on the areas P7 and P8 containing spatial conic light information, by extracting the red channel image, mean filtering, filtering overexposed bright spots, linear grayscale value transformation, dilation processing and binarization processing, so as to extract complete and accurate red circular light strips, which correspond to the images of the first camera and the second camera, respectively, areas P9 and P 10 .

[0031] Preferably, in step (S3), the images P9 and P 10 Performing defect detection and calculating defect depth includes the following steps:

[0032] (C1) Constructed using the Steger algorithm Hessian Matrix, extract the sub-pixel points of the central light strip; by solving Hessian The normal direction of each point on the light strip is obtained by using the characteristic value; the grayscale distribution function in the normal direction of the light strip is expanded by the second order Taylor with each point on the light strip as the base point to obtain the sub-pixel position coordinates of the center point;

[0033] (C2) Using the ellipse characteristics to determine whether the sub-pixel point of the central light strip is a defect point; fitting the ellipse using the coordinates of the sub-pixel point of the central light strip extracted in step (C1) to obtain the ellipse parameters; setting a threshold for the sum of the distances from the sub-pixel point of the central light strip to the two foci of the ellipse, and using the property that the sum of the distances from each point on the ellipse to the two foci is equal to the major axis, determining the points beyond the threshold range as defect points and saving their pixel coordinates ;

[0034] (C3) Map the pixel coordinate system to the image coordinate system in two-dimensional space, and use the camera internal parameters to convert the saved pixel coordinates into image coordinates ;

[0035] (C4) Map the two-dimensional image coordinate system to the three-dimensional camera coordinate system, and substitute the image coordinates calculated in step (C3) into the spatial conic light equation In the calculation, the camera internal parameters are used to calculate the corresponding camera coordinates, that is, the three-dimensional coordinates with the camera optical center as the origin of the coordinate system ; The above camera internal parameters include focal length value , radial distortion coefficient , unit pixel size ;

[0036] (C5) Calculate the actual depth of the defect based on the distance between the defect point and the normal point. Calculate the distance between the defect point and the normal point using the distance formula between two points in space. dist ; According to trigonometric functions and the half angle of space conic light , calculate the actual defect size and depth; the image areas P9 and P obtained in step (S2) 10 As input parameters, steps (C1) to (C5) are executed to respectively calculate the first defect and the second defect within different angle ranges of the first camera and the second camera relative to the spatial cone light.

[0037] The present invention has the following beneficial effects:

[0038] 1. The ring laser in the structured light unit emits a ring light. By processing the deformation of the ring light at the defects on the inner wall of the pipeline, the inner diameter of the pipeline and the sizes of depressions, protrusions, etc. are calculated.

[0039] 2. The ring light laser of the structured light unit is placed on the central axis of the detection probe, and the emitted ring light is irradiated on the inner wall of the pipeline to be tested; a bandpass filter is placed in the first camera, and the transmission band of the bandpass filter is the same as the laser wavelength of the ring light laser, that is, the first camera can only capture the ring light spot emitted by the ring laser; the ring light spot emitted by the ring light laser is imaged as a standard circular ring on the inner wall of the defect-free pipeline, and will be deformed on the inner wall of the defective pipeline. The first camera and the ring light laser are strictly calibrated by computer vision, and the circular ring is transformed into the size of the defect on the inner wall of the pipe body after algorithm processing; the attitude sensor and the speed sensor can provide the inclination angle and movement speed of the detection probe, and provide data correction for the defect detection algorithm; the overall design is precise and the collected data is accurate.

[0040] 3. The imaging band of the third camera is the same as the lighting band of the lighting lamp group, and is not in the same band as the laser wavelength of the ring light laser; for example, the lighting lamp group uses a white light LED lamp group for illumination, the imaging band of the second camera is the visible light band, and the ring laser needs to select the infrared band; the selection of the bands of the ring laser, the first camera, the second camera and the lighting lamp group is aimed at ensuring that the second camera can capture a clear image of the inner wall of the tube body, but cannot capture the ring light emitted by the ring laser; the lighting lamp group provides lighting for the video shooting of the second camera; the characteristics of laser wavelengths in different bands are cleverly utilized, and the promotion and application value is high.

[0041] 4. The pipeline inner wall defect detection method based on dual cameras provided by the present invention adopts dual cameras to detect defects and calculate the defect size, thereby avoiding the overlap of circular structured light on the imaging plane; then the Steger algorithm is used to extract the center line scatter points and defect points of the circular structured light from the preprocessed image, and the elliptical characteristics are used to determine whether the sub-pixel point of the central light bar is a defect point. The defect calculation results within different angle ranges of the spatial cone light are spliced ​​and merged to obtain the defect depth in all areas that can be covered 360° on the inner wall of the pipeline, thereby realizing 360° full coverage defect detection of the inner wall of the pipeline; the model runs fast and the calculation results are true and reliable. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 The imaging principle of the existing detection probe;

[0043] Figure 2 is the image P1 of the first camera;

[0044] Figure 3 is the image P2 of the second camera;

[0045] Figure 4 is the first camera space cone light information area P7;

[0046] Figure 5 is the second camera space cone light information area P8;

[0047] Figure 6 The first camera picture area P9;

[0048] Figure 7 is the second camera image area P 10 ;

[0049] Figure 8 is a schematic diagram of the center point position coordinates;

[0050] Fig. 9 is a schematic diagram of the center point position coordinates;

[0051] Fig.10 is a schematic diagram of a defect point of the first camera;

[0052] Fig.11 is a schematic diagram of the defect point of the second camera;

[0053] Fig.12 It is a schematic diagram of the principle of the equipment used for detecting defects on the inner wall of a pipeline;

[0054] Fig.13 is a schematic diagram of the structure of the shell;

[0055] Fig.14 This is a schematic diagram of the distribution of the first camera, the second camera, and the isolation lighting group in Example 1;

[0056] Fig.15 This is a schematic diagram of the distribution of the first camera, the second camera, the third camera and the isolation lighting group in the second embodiment.

[0057] In the figure, 100, detection probe; 110, housing; 111, window; 120, camera group unit; 121, first camera; 122, second camera; 123, third camera; 130, lighting group unit; 131, lighting lamp group; 140, structured light unit; 141, ring laser; 150, sensor unit; 300, VR display module; 400, host computer; 500, centering wheel group; 600, transmission line. DETAILED DESCRIPTION

[0058] The following is combined with Figure 1 To Attachment Fig.15 The principles and features of the present invention are described, and the examples given are only used to explain the present invention, rather than to limit the scope of the present invention.

[0059] Embodiment 1: A detection probe for pipeline inner wall defects includes a housing 110, a camera group unit 120, a lighting group unit 130, a structured light unit 140, a sensor unit 150, a host computer 400, and a VR display module 300. The camera group unit 120, the lighting group unit 130, the structured light unit 140, and the sensor unit 150 are all housed in the housing 110. The housing 110 is cylindrical, and a window 111 is provided at one end thereof, and glass is installed at the window 111. The camera group unit 120 collects images in the pipeline to be tested through the window 111.

[0060] The structured light unit 140 includes a ring laser 141, which is mounted on the central axis of the housing 110. The ring laser 141 projects onto the inner wall of the pipeline to be tested to form an annular light spot. The annular light spot emitted by the ring laser 141 is projected onto the inner wall of a non-defective pipeline and is imaged as a standard circular ring; the annular light spot emitted by the ring laser 141 is projected onto the inner wall of a defective pipeline and deformed.

[0061] The camera group unit 120 includes a first camera 121 and a second camera 122. The projection of the perpendicular line from the optical center of the first camera 121 to the central axis of the spatial conic light and its extension line on the vertical axis section of the spatial conic light and the projection of the perpendicular line from the optical center of the second camera 122 to the central axis of the spatial conic light and its extension line on the vertical axis section of the spatial conic light form an angle , in this embodiment, the angle The first camera 121 and the second camera 122 are used to capture the annular light spot projected by the ring laser 141 onto the inner wall of the tube body. The first camera 121 and the second camera 122 are calibrated by computer vision, and the collected annular light spot can be processed by an algorithm in the host computer 400 to calculate the size of the defect on the inner wall of the tube body.

[0062] The lighting group unit 130 includes a lighting group 131 . In this embodiment, the lighting group 131 uses a white light LED. The number of the lighting groups 131 is not limited, as long as it can provide clear lighting for image acquisition of the first camera 121 and the second camera 122 .

[0063] The sensor unit 150 includes a posture sensor and a speed sensor, wherein the posture sensor is used to assist in determining the tilt angle of the detection probe 100, and the speed sensor is used to assist in determining the movement speed of the detection probe 100. In general, the sensor unit 150 can provide data correction for the defect detection algorithm and assist in determining the spatial position of the defect.

[0064] The host computer 400 as a processor can be used to process the images captured by the first camera 121 and the second camera 122. The camera group unit 120, the lighting group unit 130, the structured light unit 140, and the sensor unit 150 are respectively connected to the host computer 400 through a transmission line 600. The VR display module 300 is connected to the host computer 400 through a transmission line 600, and the VR display module 300 is used to display the captured image processed by the host computer 400.

[0065] Embodiment 2: In this embodiment, on the basis of embodiment 1, a third camera 123 is further added to the camera group unit 120. The third camera 123 has the same illumination band as the illumination lamp group 131 in the illumination group unit 130, and is not in the same band range as the laser wavelength of the ring laser 141. The first camera 121 and the second camera 122 have built-in bandpass filters that can only transmit the emission band of the ring laser 141 and the emission band of the illumination lamp group 131, and are used to shoot the circular ring projected by the ring laser 141; the third camera 123 is responsible for shooting a clear image of the pipe wall under the illumination provided by the illumination group unit 130. Based on this embodiment, the VR display module 300 can not only display the collected annular light spot, but also display the inner wall of the pipe, presenting a more intuitive visual effect.

[0066] Embodiment three: A detection device for defects on the inner wall of a pipeline comprises the detection probe described above, and a crawling mechanism for supporting the detection probe 100 in the pipeline and a driving mechanism for driving the detection probe 100 to crawl in the pipeline are added on the basis of the detection probe 100. The specific types of the crawling mechanism and the driving mechanism are not limited in this embodiment, and any existing type can be adopted: for example, a centering wheel group 500 can be added to support the detection probe 100 in the pipeline to be tested, and a motor or an external force traction device can be added to drive the detection probe 100 to crawl in the pipeline.

[0067] Embodiment 4: Based on the detection device for pipeline inner wall defects disclosed in Embodiment 3, this embodiment discloses a pipeline inner wall defect detection method based on dual cameras, which specifically includes the following steps:

[0068] (S1) Through calculation and simulation, find the intersection area where the spatial conic light is imaged by the first camera 121 and the second camera 122. Specifically:

[0069] (A1) Determine the spatial relative positions of the two cameras and the spatial conic light; determine the relative estimated positions of the first camera 121, the second camera 122 and the spatial conic light through the imaging orientations of the first camera 121 and the second camera 122, as shown in Table 1:

[0070] Table 1: Summary of the relative positions of the two cameras and the spatial conic light

[0071]

[0072] (A2) Simulate the image of the spatial conic light on the image plane of the two cameras, such as Figure 1 As shown, the first camera 121, the second camera 122 and the spatial conic light camera image optical center and the spatial cone light half angle , fit the images P1 and P2 of the ring within the measuring inner diameter range on the spatial conic light surface on the image planes of the first camera 121 and the second camera 122, wherein there are two imaging intersection areas on P1 and P2, which are symmetrical sectors P3 and P4, P5 and P6 respectively;

[0073] (A3) Determine the spatial conic light imaging parameters and calculate the estimated coordinates of the center of the spatial conic light on the image plane of the first camera 121 and the second camera 122 and , inner diameter and , outer diameter and And estimate the coordinates using the center of the circle and The pixel range of the fan-shaped area (P3, P4, P5, P6) with a certain angle range at the center of the circle is shown in Table 2:

[0074] Table 2: Summary of spatial conic imaging parameters

[0075]

[0076] S2: Delete the intersection area of ​​the images captured by the first camera 121 and the second camera. Specifically:

[0077] (B1) Figure 2 As shown, the pixel values ​​of the intersection areas P3 and P4 imaged by the first camera 121 are set to 0, and the coordinates are estimated with the center of the circle The center of the circle is less than and greater than The pixel value of the area is set to 0, and the first camera 121 only contains the spatial conic light information area P7, which can be obtained by the following formula:

[0078] ;

[0079] (B2) Figure 3 As shown, the pixel values ​​of the intersection areas P5 and P6 imaged by the second camera 122 are set to 0, and the coordinates are estimated with the center of the circle The center of the circle is less than and greater than The pixel value of the area is set to 0, and the second camera 122 only contains the spatial conic light information area P8, which can be obtained by the following formula:

[0080] ;

[0081] (B3) Perform image processing on the areas P7 and P8 containing spatial conical light information, extracting a complete and accurate red circular light strip by extracting a red channel image, mean filtering, filtering overexposed bright spots, linear grayscale value transformation, dilation processing and binarization processing; the above steps are implemented in this embodiment through MATLAB algorithm, which is a typical operation for those skilled in the art and will not be discussed in detail here. Figure 4 As shown, the images corresponding to the first camera 121 and the second camera 122 are respectively in areas P9 and P 10 ;

[0082] (S3) The images P9 and P9 pre-processed by the first camera 121 and the second camera 122 are processed. 10 Perform defect detection and calculate defect depth, including:

[0083] (C1) Constructed using the Steger algorithm Hessian Matrix, find the process parameters for extracting the center point coordinates , for a two-dimensional image is the grayscale distribution function, Hessian The matrix is:

[0084] ;

[0085] in: ;

[0086] Solution Hessian The characteristic value of is used to obtain the normal direction of the light strip, and the Hessian A point in the matrix The eigenvector calculated from the maximum eigenvalue ; A point in the image of Hessian The eigenvector calculated by taking the maximum eigenvalue of the matrix is ​​the normal direction of the point , the two eigenvalues ​​are:

[0087] ;

[0088] For the largest eigenvalue λ, substitute it into the equation ,in I is the identity matrix, find the corresponding eigenvector ;by The second-order Taylor expansion of the grayscale distribution function in the normal direction of the light strip is performed as the base point. The grayscale representation of is:

[0089] ;

[0090] Depend on According to the above formula, we can get:

[0091] ;

[0092] Get the sub-pixel position coordinates of the center point, That is the required center point position coordinates, such as Figure 5 As shown;

[0093] (C2) Using the ellipse characteristics to determine whether the sub-pixel point of the central light strip is a defect point; using the coordinates of the sub-pixel point of the central light strip extracted in step (C1) to fit the ellipse, the ellipse parameters are obtained, as shown in Table 3:

[0094] Table 3: Summary of ellipse parameters

[0095]

[0096] Set the threshold for the sum of the distances from the sub-pixel point of the central light strip to the two foci of the ellipse ,Using the property that the sum of the distances from each point on the ellipse to the two foci is equal to the major axis, points beyond the threshold range are judged as defect points and their pixel coordinates are saved. ,like Figure 6 As shown;

[0097] Find the point on the fitting ellipse closest to the defect point as the normal point when there is no defect and store it in the corresponding variable; the point summary, the first camera 121 is shown in Table 4, and the second camera 122 is shown in Table 5:

[0098] Table 4: Summary of the first camera position

[0099]

[0100] Table 5: Summary of the second camera points

[0101]

[0102] (C3) Mapping the pixel coordinate system to the image coordinate system in two-dimensional space;

[0103] Table 6: Summary of camera internal and external parameters

[0104]

[0105] Using the camera focal length values ​​shown in Table 6 , radial distortion coefficient , unit pixel size Parameters, convert the saved pixel coordinates to image coordinates ; Summary of the coordinates of the two-dimensional images, the first camera 121 is shown in Table 7, and the second camera 122 is shown in Table 8;

[0106] Table 7: Summary of the coordinates of the first camera's 2D image

[0107]

[0108] Table 8: Summary of coordinates of the second camera 2D image

[0109]

[0110] (C4) Map the two-dimensional image coordinate system to the three-dimensional camera coordinate system, and substitute the image coordinates calculated in step (C3) into the spatial conic light equation In the example, the focal length values ​​of the camera are shown in Table 6. , radial distortion coefficient , unit pixel size Parameters, that is, the three-dimensional coordinates with the camera optical center as the origin of the coordinate system , as shown in Table 9:

[0111] Table 9: Summary of 3D image coordinates

[0112]

[0113] (C5) Calculate the actual depth of the defect based on the distance between the defect point and the normal point. Calculate the distance between the defect point and the normal point using the distance formula between two points in space. dist ; According to trigonometric functions and the half angle of space conic light , calculate the actual defect size and depth;

[0114] The image regions P9 and P 10 As input parameters, steps (C1) to (C5) are executed to respectively calculate the first defect and the second defect within different angle ranges of the first camera 121 and the second camera 122 relative to the spatial cone light, as shown in Table 10:

[0115] Table 10: Summary of actual defects

[0116]

[0117] (S4) Defect merging: The first defect and the second defect calculated by the first camera 121 and the second camera 122 in step S3 within different angle ranges relative to the spatial cone light are spliced ​​and merged to obtain the defect depth in all areas on the inner wall of the pipeline that can be covered 360°, as shown in Table 11, thereby achieving defect detection with full coverage of 360° on the inner wall of the pipeline.

[0118] Table 11: Summary of pipe wall defects

[0119]

[0120] According to the actual imaging situation, generally, when α=90°±β, the part of the intersection area on the dual camera imaging can still be removed, that is, within the protection scope of the present invention, the above steps S1 to S4 can realize the 360° full coverage detection of the pipe wall by the dual cameras.

[0121] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A probe for detecting defects on the inner wall of a pipeline, comprising a housing (110), characterized in that: It also includes a camera group unit (120), a lighting group unit (130), a structured light unit (140) and a sensor unit (150), wherein the camera group unit (120), the lighting group unit (130) and the structured light unit (140) are stored in the housing (110); The structured light unit (140) comprises a ring laser (141), the ring laser (141) being mounted on a central axis in the housing (110), the ring laser (141) being projected onto an inner wall of the pipeline to be tested and forming a circular ring; The camera group unit (120) comprises a first camera (121) and a second camera (122); a projection of a perpendicular line from the optical center of the first camera (121) to the central axis of the spatial conic light and its extension on the vertical axis section of the spatial conic light and a projection of a perpendicular line from the optical center of the second camera (122) to the central axis of the spatial conic light and its extension on the vertical axis section of the spatial conic light form an angle; a window (111) is provided at one end of the housing (110), and the first camera (121) and the second camera (122) share the window (111); The lighting group unit (130) comprises a lighting lamp group (131), and the lighting lamp group (131) is used to illuminate the interior of the pipeline to be tested; The sensor unit (150) comprises a posture sensor for assisting in determining the tilt angle of the detection probe (100) and a speed sensor for assisting in determining the movement speed of the detection probe (100); The first camera (121) and the second camera (122) are used to collect images of the interior of the pipeline to be tested and the circular ring; the camera unit (120) further comprises a third camera (123); the third camera (123) and the lighting lamp group (131) in the lighting group unit (130) have the same lighting band, and are not within the same band range as the laser wavelength of the ring laser (141); the first camera (121) and the second camera (122) have built-in bandpass filters, the bandpass filters can only transmit the emission band of the ring laser (141), the emission band of the lighting lamp group (131) and the circular ring projected by the ring laser (141); the third camera (123) is used to collect images of the pipe wall.

2. The detection probe for pipeline inner wall defects according to claim 1, characterized in that: It also includes a host computer (400) and a VR display module (300), wherein the camera group unit (120), the lighting group unit (130), the structured light unit (140), and the sensor unit (150) are respectively connected to the host computer (400) via a transmission line (600), and the VR display module (300) is connected to the host computer (400) via a transmission line (600).

3. A device for detecting defects on the inner wall of a pipeline, characterized in that: The detection device comprises the detection probe (100) described in claim 1 or 2.

4. A dual-camera pipeline inner wall defect detection method based on the detection probe of claim 1, characterized in that: The following steps are involved: (S1) finding, through calculation and simulation, the intersection area where the spatial conic light is imaged by the first camera (121) and the second camera (122); (S2) deleting an intersection area of ​​images captured by the first camera (121) and the second camera (122); (S3) Preprocessing the images P9 and P1 by the first camera (121) and the second camera (122) 10 Perform defect detection and calculate defect depth; (S4) combining the first defect and the second defect in different angle ranges of the spatial cone light with respect to the first camera (121) and the second camera (122) calculated in step S3 to obtain the defect depth in all areas on the inner wall of the pipeline that can be covered 360°, thereby achieving defect detection with full coverage of 360° on the inner wall of the pipeline; In step (S1), the specific operation steps of finding the intersection area of ​​the spatial conic light formed by the first camera (121) and the second camera (122) respectively include: (A1) determining the spatial relative positions of the two cameras and the spatial conic light; determining the estimated relative positions of the first camera (121), the second camera (122) and the spatial conic light through the respective imaging orientations of the first camera (121) and the second camera (122); (A2) simulating the images of the spatial conic light on the image planes of the two cameras, combining the first camera (121), the second camera (122) with the optical center of the spatial conic light camera image and the spatial conic light half-angle, fitting the images P1 and P2 of the ring within the measurement inner diameter range on the spatial conic light curved surface on the image planes of the first camera (121) and the second camera (122), wherein there are two imaging intersection areas on P1 and P2, which are respectively symmetrical sectors P3 and P4, and P5 and P6; (A3) determining the imaging parameters of the spatial conic light, and calculating the estimated coordinates of the center of the spatial conic light on the image planes of the first camera (121) and the second camera (122) and , inner diameter and , outer diameter and And estimate the coordinates using the center of the circle and The pixel range of the fan-shaped area (P3, P4, P5, P6) with a certain angle range at the center of the circle; In step (S2), deleting the intersection area of ​​the images captured by the first camera (121) and the second camera (122) comprises the following steps: (B1) The pixel values ​​of the intersection areas P3 and P4 imaged by the first camera (121) are set to 0, and the coordinates are estimated based on the center of the circle. The center of the circle is less than and greater than The pixel value of the area is set to 0, and the first camera (121) only contains the spatial conic light information area P7, which can be obtained by the following formula: ; (B2) The pixel values ​​of the intersection areas P5 and P6 imaged by the second camera (122) are set to 0, and the coordinates are estimated based on the center of the circle. The center of the circle is less than and greater than The pixel value of the area is set to 0, and the second camera (122) only contains the spatial conic light information area P8, which can be obtained by the following formula: ; (B3) Image processing is performed on the areas P7 and P8 containing spatial conic light information, by extracting a red channel image, performing mean filtering, filtering overexposed bright spots, performing linear grayscale value transformation, dilation processing, and binarization processing, so as to extract a complete and accurate red circular light strip, the corresponding images of the first camera (121) and the second camera (122) are areas P9 and P8, respectively. 10 ; In step (S3), the images P9 and P 10 Performing defect detection and calculating defect depth includes the following steps: (C1) Constructed using the Steger algorithm Hessian Matrix, extract the sub-pixel points of the central light strip; by solving Hessian The normal direction of each point on the light strip is obtained by using the characteristic value; the grayscale distribution function in the normal direction of the light strip is expanded by the second order Taylor with each point on the light strip as the base point to obtain the sub-pixel position coordinates of the center point; (C2) Using the ellipse characteristics to determine whether the sub-pixel point of the central light strip is a defect point; fitting the ellipse using the coordinates of the sub-pixel point of the central light strip extracted in step (C1) to obtain the ellipse parameters; setting a threshold for the sum of the distances from the sub-pixel point of the central light strip to the two foci of the ellipse, and using the property that the sum of the distances from each point on the ellipse to the two foci is equal to the major axis, determining the points beyond the threshold range as defect points and saving their pixel coordinates ; (C3) Map the pixel coordinate system to the image coordinate system in two-dimensional space, and use the camera internal parameters to convert the saved pixel coordinates into image coordinates ; (C4) Map the two-dimensional image coordinate system to the three-dimensional camera coordinate system, and substitute the image coordinates calculated in step (C3) into the spatial conic light equation In the calculation, the camera internal parameters are used to calculate the corresponding camera coordinates, that is, the three-dimensional coordinates with the camera optical center as the origin of the coordinate system. ; The above camera internal parameters include focal length value , radial distortion coefficient , unit pixel size ; (C5) Calculate the actual depth of the defect based on the distance between the defect point and the normal point. Calculate the distance between the defect point and the normal point using the distance formula between two points in space. dist ; According to trigonometric functions and the half angle of space conic light θ , calculate the actual defect size and depth; the image areas P9 and P obtained in step (S2) 10 As input parameters, steps (C1) to (C5) are executed to respectively calculate the first defect and the second defect within different angle ranges of the first camera (121) and the second camera (122) relative to the spatial cone light.

Citation Information

Patent Citations

  • Full-automatic defect detection method, system and equipment based on drainage pipe network and medium

    CN116934690A

  • Optical method for detecting defect on inner wall of holes

    CN101109715A

  • Laser measuring device for narrow slit detection and positioning and measuring method thereof

    CN110887787A