WO2020019348A1 - Device and method for detecting inner wall of microcapillary on basis of coherent light - Google Patents

Device and method for detecting inner wall of microcapillary on basis of coherent light Download PDF

Info

Publication number
WO2020019348A1
WO2020019348A1 PCT/CN2018/097662 CN2018097662W WO2020019348A1 WO 2020019348 A1 WO2020019348 A1 WO 2020019348A1 CN 2018097662 W CN2018097662 W CN 2018097662W WO 2020019348 A1 WO2020019348 A1 WO 2020019348A1
Authority
WO
WIPO (PCT)
Prior art keywords
wall
defect
microtube
speckle
coherent light
Prior art date
Application number
PCT/CN2018/097662
Other languages
French (fr)
Chinese (zh)
Inventor
王星泽
舒远
Original Assignee
合刃科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 合刃科技(深圳)有限公司 filed Critical 合刃科技(深圳)有限公司
Priority to PCT/CN2018/097662 priority Critical patent/WO2020019348A1/en
Priority to CN201880067108.9A priority patent/CN111213053A/en
Publication of WO2020019348A1 publication Critical patent/WO2020019348A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/954Inspecting the inner surface of hollow bodies, e.g. bores

Definitions

  • the present application relates to the field of pipeline detection, and in particular, to a device and method for detecting the inner wall of a microtube based on coherent light.
  • Micro-tubes and small-sized characteristic inner holes have been widely used in the fields of machinery manufacturing, chemical engineering, and medical instruments. Once these critical inner hole structures are exploded, leaked, etc., the whole machine will not work, and it will even pose a serious threat to human life and property. Defect detection on the inner wall of microtubes is of great significance for manufacturing, quality control and safety assurance.
  • non-optical non-destructive inspection methods are mostly used in the industry, mainly by using the electromagnetic characteristics and ultrasonic of pipeline materials, including magnetic flux leakage, eddy current, and ultrasonic methods.
  • the other is the traditional method of contact measurement, which is mainly a measurement method to obtain measurement information through the direct contact between the sensing element of the measurement device and the measured surface.
  • the disadvantage is that frequent contact between the probe and the tube wall will cause the probe to wear. In order to maintain accuracy, it needs to be calibrated frequently. Point-by-point measurement, the measurement speed is slow, the detection efficiency is low, and it is impossible to detect micro pipes or parts with a diameter smaller than the probe diameter. Inner hole, etc.
  • the detection requirements for small-sized micro-pipes and inner holes of parts are increasing, the internal space of micro-pipes is small, and the system requires high detection accuracy.
  • the above conventional detection methods cannot meet the detection requirements of such pipes, and effective detection methods are basically The above are based on optical visual inspection, wired laser 3D scanning method, and through the use of a charge-coupled device (CCD) camera, the surrounding small lights are directly taken into the pipe to take pictures of the inner wall, and get The image was analyzed to identify defect areas and defect sizes.
  • CCD charge-coupled device
  • These two methods are suitable for larger-diameter pipes and can achieve high-precision measurement, but the imaging device required is relatively large, making the relatively small structure of the pipe inoperable.
  • the image of the inner wall of the tube will be affected by uneven illumination, inaccurate imaging focus, and image distortion, which will reduce the detection effect.
  • the inner wall of the microtube cannot be detected.
  • the embodiments of the present application provide a device and a method for detecting the inner wall of a microtube based on coherent light, which solves the problem that the inner wall of the microtube cannot be accurately detected in the prior art.
  • an embodiment of the present application provides a microtube inner wall detection device, including:
  • a detection probe a transflective mirror connected to the detection probe through an optical fiber, a first lens, a second lens, a coherent light transmitter, a coherent light receiver, and an image processor; the front end of the detection probe is provided with a cone Reflector;
  • the coherent light emitter is configured to generate incident coherent light, and transmit the coherent light to the detection probe through the first lens, the half mirror, and an optical fiber;
  • the conical mirror of the detection probe is configured to project the incident coherent light onto the inner wall of the microtube and reflect the coherent light on the inner wall of the microtube to pass through the optical fiber, the semi-transparent mirror, and The second lens is transmitted to the coherent light receiver;
  • the coherent light receiver is configured to obtain a speckle image of the inner wall of the micro tube according to the reflected coherent light; and transmit the speckle image of the inner wall of the micro tube to the image processor;
  • the image processor is configured to determine a defect type of the inner wall of the microtube based on a speckle image of the inner wall of the microtube.
  • the speckle image of the inner wall of the microtube includes multiple panoramic subspeckle images of the inner wall of the microtube, and the image processor determines the speckle image based on the speckle image of the inner wall of the microtube.
  • Types of defects on the inner walls of microtubules including:
  • the image processor stitches the panoramic sub-speckle images of the inner wall of the plurality of micro-tubes into the panoramic speckle images of the inner wall of the micro-tube;
  • the image processor obtains a defect type corresponding to the calculation result from a correspondence table between the calculation result and the defect type to determine the defect type of the inner wall of the microtube.
  • the image processor is further configured to:
  • each speckle image in each set of speckle images of the multiple set of speckle images corresponds to a defect type ;
  • a correspondence table between the calculation results and the defect type is obtained, and the correspondence table between the calculation results and the defect type includes a calculation result range and a corresponding defect type, and an upper limit of the calculation result range and The lower limit is the maximum and minimum of a set of calculation results corresponding to the defect type, respectively.
  • the image processor is further configured to:
  • a request message is sent to a third-party server, where the request message is used to request to obtain the defect identification model and calculation result and defect stored by the third-party server.
  • Type correspondence table
  • the response message carrying the defect identification model and a correspondence table between calculation results and defect types.
  • the image processor is further configured to:
  • the device further includes: a movement mechanism connected to the detection probe;
  • the movement mechanism is configured to draw the detection to move in the microtube, and the distance of each movement is less than or equal to the length of the microtube detected by the detection probe each time.
  • the detection probe when the detection probe has a curved shape, the detection probe further includes:
  • a rotation device is used to rotate the detection probe, and the rotation angle is an angle input by a user.
  • the coherent light is a laser at any frequency between ultraviolet light and near-infrared light.
  • an embodiment of the present application further provides a method for detecting an inner wall of a microtube based on coherent light, including:
  • the image processor obtains a defect type corresponding to the calculation result from a correspondence table between the calculation result and the defect type to determine the defect type of the inner wall of the microtube.
  • acquiring a panoramic speckle image of the inner wall of the micro tube according to coherent light reflected from the inner wall of the micro tube includes:
  • the panoramic sub-speckle images on the inner wall of the plurality of microtubes are stitched into the panoramic speckle images on the inner wall of the micro-tube.
  • the method further includes:
  • each speckle image in each set of speckle images corresponding to a defect type Before determining the defect type of the inner wall of the microtube according to the calculation result, acquiring multiple sets of speckle images, each speckle image in each set of speckle images corresponding to a defect type;
  • a correspondence table between the calculation results and the defect type is obtained, and the correspondence table between the calculation results and the defect type includes a calculation result range and a corresponding defect type, and an upper limit of the calculation result range and The lower limit is the maximum and minimum of a set of calculation results corresponding to the defect type, respectively.
  • the method further includes:
  • a request message is sent to a third-party server, where the request message is used to request to obtain the defect identification model and calculation result and defect stored by the third-party server.
  • Type correspondence table
  • the response message carrying the defect identification model and a correspondence table between calculation results and defect types.
  • the method further includes:
  • the coherent light is a laser at any frequency between ultraviolet light and near-infrared light.
  • an embodiment of the present application further provides a computer storage medium.
  • the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by the processor, cause the processor Perform all or part of the method as in the second aspect.
  • the conical mirror provided at the front end of the detection probe irradiates incident coherent light onto the inner wall of the microtube, and transmits the coherent light reflected on the inner wall of the microtube to the coherent light receiver; coherent light
  • the receiver obtains a speckle image of the inner wall of the microtube according to the reflected coherent light; transmits the speckle image of the inner wall of the microtube to a graphics processor; the image processor determines the type of defect of the inner wall of the microtube based on the speckle image of the inner wall of the microtube.
  • FIG. 1 is a schematic structural diagram of a microtube inner wall detection device according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of another microtube inner wall detection device according to an embodiment of the present application.
  • 3 is a schematic diagram of the principle of coherent light imaging
  • FIG. 4 is a schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application
  • FIG. 5 is another schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application.
  • FIG. 6 is another schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application.
  • FIG. 7 is another schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application.
  • FIG. 8 is another schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a defect recognition model according to an embodiment of the present application.
  • FIG. 10 is another schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application.
  • FIG. 12 is a schematic flowchart of a method for detecting an inner wall of a microtube based on coherent light according to an embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a microtube inner wall detection and repair device according to an embodiment of the present application.
  • the micro-tube inner wall detection device 100 includes:
  • the detection probe 102 is a half mirror 104, a first lens 105, a second lens 106, a coherent light transmitter 108, a coherent light receiver 107, and an image processor 109 connected to the detection probe 102 through an optical fiber 103.
  • the coherent light emitter 108 generates coherent light and irradiates the first lens 105.
  • the first lens 105 irradiates the coherent light on a semi-transparent mirror 104 located on a focal plane of the first lens 105, and passes through the semi-transparent mirror 105
  • the optical fiber 103 connected to the half mirror 104 transmits the coherent light to the detection probe 102.
  • the coherent light transmitted from the semi-transparent mirror 104 through the optical fiber 103 may also be referred to as incident coherent light.
  • the detection probe 102 when using the thin tube inner wall detection device 100 for detection, the detection probe 102 needs to be inserted into the micro tube 101 to be detected.
  • a conical mirror 1021 is provided at the front end of the detection probe 102. 1021 reflects the incident coherent light 10 onto the inner wall of the microtube 101, and reflects the coherent light 11 reflected or scattered by the inner wall of the microtube 101.
  • the coherent light 11 reflected or scattered on the inner wall of the microtube 101 is transmitted to the coherent light receiver 107 through the half mirror 104 and the second lens 106, and the coherent light receiver 107 converts the received coherent light into speckle image.
  • the coherent light receiver 107 is located on a focusing plane of the second lens 106. This design allows the illumination light path and the imaging light path to be combined into one, realizing the simultaneous completion of lighting and imaging in a narrow micro-tube space.
  • the incident coherent light is a laser light having any frequency between ultraviolet light and near-infrared light.
  • the above-mentioned coherent light emitter may be a charge-coupled device (CCD) sensor, a complementary metal oxide semiconductor (CMOS) sensor.
  • CCD charge-coupled device
  • CMOS complementary metal oxide semiconductor
  • the inner wall of the microtube has a fixed structure or a smooth surface, and the defects are mainly distributed on the inner wall of the component.
  • the size of these defects is generally between 50um and 1mm.
  • Microscopic deformation of the inner wall of the microtube will cause changes in the diffraction spot.
  • the inner wall of the microtube reflects or scatters the coherent light to the coherent light receiver.
  • the coherent light receiver converts the received light signal into an image, and obtains fine Speckle image of the inner wall of the tube.
  • the detection probe 102 detects the current position of the annulus zone at a fixed measurement position in the microtube 101 each time, it is necessary to draw the detection probe to move along the microtube 101 through a movement mechanism, and the coherent light receiver 107 can obtain
  • the panoramic sub-images of the inner wall of the microtube at different positions are shown in FIG. 4, and the inner-wall sub-images of the current position are circle-shaped shadow parts.
  • the detection probe 102 needs to perform L / d detections to complete the detection of the inner wall of the microtube.
  • a panoramic sub-speckle image of the inner wall is obtained through the coherent light receiver; then, under the traction of the moving structure, the detection probe 102 moves a distance d, and the above detection process is repeated; the above length is After the detection of L's microtubules, L / d inner wall panoramic sub-speckle images can be obtained, as shown in FIG. 5.
  • the coherent optical receiver 107 After the coherent optical receiver 107 obtains an inner wall panoramic sub-speckle image, it transmits the inner wall panoramic sub-speckle image to the image processor 109.
  • the image processor 109 receives an inner wall panoramic sub-speckle image. Then, the inner wall panoramic sub-speckle image is time stamped, and the time stamp is the current system time. After receiving the L / d inner wall panoramic sub-speckle images, the image processor 109 stitches the L / d inner wall panoramic sub-speckle images into the micro-tube inner wall panoramic speckle images according to the sequence of time tags.
  • the image stitching technology is briefly described here.
  • the image stitching technology includes the following steps:
  • Image preprocessing Basic operations of digital image processing such as histogram matching, smoothing filtering, and enhanced transformation on the original image are prepared for the next step of image stitching.
  • Image registration is the core of the entire image stitching process, and the accuracy of registration determines the quality of image stitching. The basic idea is: first find the corresponding position of the template or feature point of the image to be registered and the reference image, and then establish a mathematical model of the conversion between the reference image and the image to be registered according to the corresponding relationship, and convert the image to be registered to the reference In the image coordinate system, the overlapping area between the two images is determined. The key to accurate registration is to find a data model that can well describe the transformation relationship between the two images.
  • Image synthesis After determining the conversion relationship model between the two images, that is, after overlapping regions, the images to be stitched need to be mosaic into a visually feasible panoramic image according to the information of the overlapping regions. Due to different shooting conditions and other factors, the grayscale (or brightness) of the image is different, or there is still a certain registration error in the image registration result. In order to minimize the residual distortion or the brightness (or grayscale) difference between the images, the mosaic result is affected. Impact, you need to choose a suitable image synthesis strategy.
  • the detection probe 102 moves a distance d1 each time under the traction of the moving mechanism, and the d1 is less than d, and passes M
  • the panoramic sub-images of the inner walls of the M micro-tubes are stitched according to an image stitching technique to obtain a panoramic speckle image of the inner walls of the micro-tubes.
  • the above-mentioned detection probe 102 is provided in a curved shape, and a rotation device 1022 is provided on the detection probe 102.
  • the rotation device The angle input by the user can be received in a wired or wireless manner, and defect detection at different positions and different angles on the inner wall of the microtube 101 can be achieved, and further, directional detection of defects on the inner wall of the microtube 101 can be realized.
  • the length of each detection of the inner wall of the microtube 101 by the detection probe 102 is s, as shown in FIG. 7A; the angle of each detection is ⁇ , as shown in FIG. 7B.
  • the 102 coherent light receiver 107 obtains an inner wall panoramic speckle image block after each detection, and transmits the inner wall panoramic speckle image block to the image processor 109, which obtains the inner wall panoramic speckle image.
  • a first time stamp is added to the inner speckle panoramic image block, and the first time stamp is the current system time; the detection probe 102 is rotated by an angle ⁇ 1 according to a preset direction under the control of its rotation device 1022.
  • the detection probe 102 completes the detection of the inner wall of the microtube at the current position.
  • the image processor 109 obtains 360 / ⁇ 1 panoramic speckle image blocks of the inner wall.
  • the sequence of the first time label of the inner wall panoramic speckle image block, according to the image stitching technique, the above 360 / ⁇ 1 inner wall panoramic speckle image block is stitched into an inner wall panoramic sub speckle image, and
  • the inner wall panoramic sub-speckle image is marked with a second time tag, and the second time tag is the current system time.
  • the preset direction may be a clockwise direction or a counterclockwise direction.
  • An inner wall panoramic sub-speckle image at the current position, and a second time label is added to the inner wall panoramic sub-speckle image.
  • the detection probe under the traction of the moving structure, the detection probe undergoes the above-mentioned detection process L / s1 to complete the detection of the inner wall of the microtube, and the image processor obtains L / s1 panoramic sub-speckle image of the inner wall.
  • the image processor 109 obtains the L / s1 inner wall panoramic sub-speckle images, according to the sequence of the second time label of each inner wall panoramic sub-speckle image, the above L / s1 inner wall panoramic sub-pixels are processed according to the image stitching technology.
  • the speckle image is stitched into a panoramic speckle image on the inner wall.
  • the detection probe 102 rotates according to the preset direction by an angle ⁇ 1 ⁇ , since the detection angle of the detection probe 102 is ⁇ each time, the detection probe 102 The area where the inner wall of the microtube is detected twice in succession will overlap, as shown in FIG. 8. At this time, the two inner wall panoramic speckle image blocks obtained by the above-mentioned coherent light receiver 107 connector have overlapping portions. According to this method, after the above-mentioned detection probe 102 is rotated 360 / ⁇ 1 times under the controller of its rotating device 1022, the defect detection of the inner wall of the current position annulus is completed, and the image processor 109 acquires 360 / ⁇ 1 inner wall panoramic speckles.
  • Image block the image processor 109 stitches the 360 / ⁇ 1 inner wall panoramic speckle image block into an inner wall panoramic sub-speckle image at the current position according to the image stitching technology. Then according to the above method, under the traction of the moving structure, the detection probe 102 undergoes the above-mentioned detection process L / s1 to complete the detection of the inner wall of the microtube, and the image processor 109 obtains L / s1 inner wall panoramic subspeckle image.
  • the image processor 109 obtains the L / s1 inner wall panoramic sub-speckle images, according to the sequence of the second time label of each inner wall panoramic sub-speckle image, the above L / s1 inner wall panoramic sub-pixels are processed according to the image stitching technology.
  • the speckle image is stitched into a panoramic speckle image on the inner wall.
  • the image processor 109 after the image processor 109 obtains the panoramic speckle image of the inner wall of the microtube, the image processor 109 inputs the panoramic speckle image of the inner wall of the microtube into a defect recognition model, and the defect
  • the recognition model is a neural network model.
  • the defect recognition model is used to perform a neural network operation on the panoramic speckle image on the inner wall of the microtube to obtain at least one calculation result. Each calculation result corresponds to a defect type. The type of defects existing on the inner wall of the microtube can be determined based on the calculation results. As shown in FIG.
  • the above defect recognition model includes an input layer, an intermediate layer, and an output layer; after the panoramic speckle image of the inner wall of the microtube is input from the input layer and after the intermediate layer operation, the output layer can output four calculation results, Including the first calculation result, the second calculation result, the third calculation result, and the fourth calculation result, respectively, corresponding to defect-free, dirty, cracked and deformed.
  • the output layer of the defect recognition model may output any one of the four calculation results or output any combination of the second calculation result, the third calculation result, and the fourth calculation result, that is, the output of the defect recognition model.
  • the defect type can be any one of no defect, dirt, cracking, and deformation; or the output defect type is any combination of dirt, cracking, and deformation. This method can directly determine the type of defects existing in the inner wall of the microtube based on the input panoramic speckle image of the inner wall of the microtube.
  • the image processor 109 inputs the panoramic speckle image of the inner wall of the micro tube into a defect recognition model.
  • the defect recognition model is used to calculate the panoramic speckle image on the inner wall of the microtube to obtain a calculation result, and then the defect type corresponding to the settlement result is determined according to the correspondence table between the calculation result and the defect type.
  • the image processor 109 determines that the inner wall of the microtube is free of defects; when the settlement result is greater than a2 and less than or equal to a3, the image processor 109 determines the inner wall of the microtube.
  • the defect type is dirty; when the settlement result is greater than a3 and less than or equal to a4, the image processor 109 determines that the defect type of the inner wall of the microtube is cracked; when the settlement result is greater than a4 and less than a5, the image processor 109 It is determined that the defect type on the inner wall of the microtube is deformation.
  • the types of defects on the inner wall of the microtubes include, but are not limited to, four types: non-defective, dirty, cracked and deformed.
  • the image processor 109 before the image processor 109 inputs the panoramic speckle image of the inner wall of the microtube into the defect recognition model, before the image processor 109 determines the defect type of the inner wall of the microtube according to the calculation result, Acquiring multiple sets of speckle images, each speckle image in each set of speckle images corresponding to a defect type;
  • a correspondence table between the calculation results and the defect type is obtained, and the correspondence table between the calculation results and the defect type includes a calculation result range and a corresponding defect type, and an upper limit of the calculation result range and The lower limit is the maximum and minimum of a set of calculation results corresponding to the defect type, respectively.
  • the image processor 109 inputs a group of non-defective speckle images into the above-mentioned defect recognition model, and obtains multiple calculation results.
  • the a1 of the calculation result range corresponding to the non-defect is the number of the multiple calculation results.
  • the minimum value, a2 is the maximum value among the multiple calculation results.
  • the image processor 109 before the image processor 109 inputs the panoramic speckle image of the inner wall of the microtube into a defect recognition model, and before determining a defect type of the inner wall of the microtube according to the calculation result, Sending a request message to a third-party server, where the request message is used to request to obtain the defect identification model and the correspondence table between the calculation result and the defect type stored by the third-party server;
  • the response message carrying the defect identification model and a correspondence table between calculation results and defect types.
  • the image processor 109 is further configured to retrain the defect recognition model and update the correspondence table between the calculation result and the defect type to ensure the accuracy of defect recognition, as follows:
  • the retraining of the defect recognition model and the update of the correspondence table between the calculation results and the defect types can be performed by the third-party server.
  • the request message is re-sent to the third-party server for requesting to obtain the correspondence table between the retrained defect identification model and the updated calculation result and defect type.
  • the micro-tube inner wall detecting device can perform a defect detection at a fixed position on the micro-tube inner wall.
  • the detection probe 102 is provided with a conical reflector; the micro-tube inner wall detection device receives position information to be detected, and the position information to be detected indicates a position between the position to be detected and the micro-tube detection entrance. Distance, the entrance of the capillary tube is the position corresponding to the origin O as shown in FIG. 10.
  • the detection probe 102 moves to the position to be detected indicated by the position information to be detected under the traction of the moving mechanism, and performs defect detection on the annular inner wall of the position to be detected.
  • the coherent light receiver 109 obtains a speckle image of the annular inner wall of the position to be detected according to the reflected or scattered coherent light transmitted by the optical fiber 103, and transmits the speckle image to the image processor 109.
  • the image processor 109 The speckle image is input to the defect recognition model for calculation to obtain a calculation result.
  • the image processor 109 determines a defect type corresponding to the calculation result according to a correspondence relationship table between the calculation result and the defect type, so as to determine whether a defect and a defect type exist in the position to be detected.
  • a rotation device is provided in the detection probe 102, and the detection device for the inner wall of the microtube receives the information of the point to be detected (L1, ⁇ ), where L1 represents the point between the point to be detected and the detection entrance of the microtube 101.
  • L1 represents the point between the point to be detected and the detection entrance of the microtube 101.
  • the distance between the two, ⁇ represents the included angle between a straight line passing through the position to be detected and the center point of the cross section where the detected position is located, and a straight line L2 passing through the center point.
  • the detection probe 102 is moved to the cross section of the point to be detected by the microtube 101 at the entrance L1 under the traction of the movement mechanism.
  • the detection probe 102 uses the straight line L2 as a reference line, The detection probe 102 is rotated clockwise, and the rotation angle is ⁇ , so that the point to be detected is located within the detection range of the detection probe 102.
  • the detection probe 102 detects the point to be detected using coherent light.
  • the coherent light receiver 107 obtains a speckle image of the annular inner wall of the point to be detected according to the reflected or scattered coherent light transmitted by the optical fiber 103, and transmits the speckle image to the image processor, and the image processor 109 transmits the speckle image
  • the speckle image is input to the above defect recognition model and calculated to obtain the calculation result.
  • the image processor 109 determines a defect type corresponding to the calculation result according to a correspondence table between the calculation result and the defect type, so as to determine whether a defect and a defect type exist at the point to be detected.
  • a speckle image of the inner wall of the microtube is obtained by using the speckle image to determine whether there is a defect in the inner wall of the microtube; when it is determined that the defect exists, the type of the defect is determined; The type of defect fixes it.
  • the embodiments of the present application not only solve the problem that the defects of the inner wall of the microtube cannot be accurately detected in the prior art, but also repair the defects of the inner wall of the microtube.
  • FIG. 12 is a schematic flowchart of a method for detecting an inner wall of a microtube according to an embodiment of the present application. As shown in Figure 12, the method includes:
  • the micro-tube inner wall detecting device acquires a panoramic speckle image of the inner wall of the micro-tube according to coherent light reflected from the inner wall of the micro-tube.
  • acquiring a panoramic speckle image of the inner wall of the micro tube according to coherent light reflected from the inner wall of the micro tube includes:
  • the panoramic sub-speckle images on the inner wall of the plurality of microtubes are stitched into the panoramic speckle images on the inner wall of the micro-tube.
  • the micro-tube inner wall detecting device calculates a panoramic speckle image of the inner wall of the micro-tube according to a defect recognition model to obtain a calculation result.
  • the micro-tube inner wall detecting device obtains a defect type corresponding to the calculation result from a correspondence table between the calculation result and the defect type, so as to determine the defect type of the micro-tube inner wall.
  • the method further includes:
  • each speckle image in each set of speckle images corresponding to a defect type Before determining the defect type of the inner wall of the microtube according to the calculation result, acquiring multiple sets of speckle images, each speckle image in each set of speckle images corresponding to a defect type;
  • a correspondence table between the calculation results and the defect type is obtained, and the correspondence table between the calculation results and the defect type includes a calculation result range and a corresponding defect type, and an upper limit of the calculation result range and The lower limit is the maximum and minimum of a set of calculation results corresponding to the defect type, respectively.
  • the method further includes:
  • a request message is sent to a third-party server, where the request message is used to request to obtain the defect identification model and calculation result and defect stored by the third-party server.
  • Type correspondence table
  • the response message carrying the defect identification model and a correspondence table between calculation results and defect types.
  • the method further includes:
  • the coherent light is a laser at any frequency between ultraviolet light and near-infrared light.
  • An embodiment of the present application further provides a computer storage medium.
  • the computer storage medium stores a computer program, where the computer program includes program instructions, and when the program instructions are executed by a processor, the computer executes the programs as shown in FIG. 12. Shows all or part of the method of the embodiment.

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

A device (100) and method for detecting the inner wall of a microcapillary (101) on the basis of coherent light, the device (100) comprising: a coherent light emitter (108), used for generating coherent light and transmitting the same to a detection probe (102) by way of a first lens (105), a half mirror (104) and an optical fiber (103); the detection probe (102), used for projecting the coherent light onto the inner wall of the microcapillary (101) and transmitting the reflected coherent light to a coherent light receiver (107) by way of the optical fiber (103), the half mirror (104) and a second lens (106); the coherent light receiver (107), used for obtaining a speckle image of the inner wall of the microcapillary (101) according to the reflected coherent light and transmitting the speckle image of the inner wall of the microcapillary (101) to a image processor (109); and the image processor (109), used for determining a defect type of the inner wall of the microcapillary (101) according to the speckle image of the inner wall of the microcapillary (101). Employing the described device solves the problem in existing technology of it being impossible to detect a defect of the inner wall of a microcapillary.

Description

基于相干光的微细管内壁检测装置及方法Device and method for detecting inner wall of microtube based on coherent light 技术领域Technical field
本申请涉及管道检测领域,尤其涉及一种基于相干光的微细管内壁检测装置及方法。The present application relates to the field of pipeline detection, and in particular, to a device and method for detecting the inner wall of a microtube based on coherent light.
背景技术Background technique
微细管、小尺寸特征内孔在机械制造业、化工、医学仪器等领域得到了广泛的应用。这些关键性的内孔结构一旦发生爆炸、泄露等事故,将导致机器整体不能工作,甚至对人的生命和财产造成严重威胁。微细管的内壁缺陷检测对于制造,质量控制以及安全保障有着重要的意义。Micro-tubes and small-sized characteristic inner holes have been widely used in the fields of machinery manufacturing, chemical engineering, and medical instruments. Once these critical inner hole structures are exploded, leaked, etc., the whole machine will not work, and it will even pose a serious threat to human life and property. Defect detection on the inner wall of microtubes is of great significance for manufacturing, quality control and safety assurance.
常规的管道检测,工业上多采用非光学无损检测方法,主要是利用管道材料的电磁特性、超声波等进行检测,包括漏磁法、涡流法、超声波法等。另一种是传统的方法是接触式测量,主要是通过测量设备的感知元件与被测表面直接接触获得测量信息的测量方法。其缺点是如探头与管壁的频繁接触会导致探头的磨损,为了保持精度,需要经常对其校准;逐点测量,测量速度慢,检测效率低,无法检测直径小于探头直径的微细管道或零件内孔等。For conventional pipeline inspection, non-optical non-destructive inspection methods are mostly used in the industry, mainly by using the electromagnetic characteristics and ultrasonic of pipeline materials, including magnetic flux leakage, eddy current, and ultrasonic methods. The other is the traditional method of contact measurement, which is mainly a measurement method to obtain measurement information through the direct contact between the sensing element of the measurement device and the measured surface. The disadvantage is that frequent contact between the probe and the tube wall will cause the probe to wear. In order to maintain accuracy, it needs to be calibrated frequently. Point-by-point measurement, the measurement speed is slow, the detection efficiency is low, and it is impossible to detect micro pipes or parts with a diameter smaller than the probe diameter. Inner hole, etc.
针对小尺寸的微细管道和零件内孔的检测需求越来越大,微细管道内部空间狭小,系统检测精度要求比较高,以上几种常规检测方法无法满足此类管道的检测需求,有效检测方法基本上都是基于光学的视觉检测,有线激光3D扫描法,以及通过采用电荷耦合元件(charge-coupled device,CCD)摄像头,四周有照明用的小灯直接到管道内对内壁进行拍照,并对得到的图像进行分析识别出缺陷区域和缺陷大小等。这两种方法适用于较大直径管道,可以实现较高精度的测量,但所需的成像装置比较大,使得结构相对细小的管道无法操作。另外管内壁的图像会受照明不均匀、成像对焦不准以及图像畸变的影响,造成检测效果的降低;综上所述,基于传统的照明方法和成像技术无法对微细管内壁进行检测。The detection requirements for small-sized micro-pipes and inner holes of parts are increasing, the internal space of micro-pipes is small, and the system requires high detection accuracy. The above conventional detection methods cannot meet the detection requirements of such pipes, and effective detection methods are basically The above are based on optical visual inspection, wired laser 3D scanning method, and through the use of a charge-coupled device (CCD) camera, the surrounding small lights are directly taken into the pipe to take pictures of the inner wall, and get The image was analyzed to identify defect areas and defect sizes. These two methods are suitable for larger-diameter pipes and can achieve high-precision measurement, but the imaging device required is relatively large, making the relatively small structure of the pipe inoperable. In addition, the image of the inner wall of the tube will be affected by uneven illumination, inaccurate imaging focus, and image distortion, which will reduce the detection effect. In summary, based on the traditional lighting methods and imaging technology, the inner wall of the microtube cannot be detected.
发明内容Summary of the Invention
本申请实施例提供一种基于相干光的微细管内壁检测装置及方法,解决了现有技术对微细管内壁缺陷无法精确检测的问题。The embodiments of the present application provide a device and a method for detecting the inner wall of a microtube based on coherent light, which solves the problem that the inner wall of the microtube cannot be accurately detected in the prior art.
第一方面,本申请实施例提供一种微细管内壁检测装置,包括:In a first aspect, an embodiment of the present application provides a microtube inner wall detection device, including:
检测探头,通过光纤与所述检测探头相连接的半透半反镜,第一透镜,第二透镜,相干光发射器,相干光接收器和图像处理器;所述检测探头的前端设置有圆锥反射镜;A detection probe, a transflective mirror connected to the detection probe through an optical fiber, a first lens, a second lens, a coherent light transmitter, a coherent light receiver, and an image processor; the front end of the detection probe is provided with a cone Reflector;
所述相干光发射器,用于产生入射相干光,经过所述第一透镜、所述半透半反镜和光纤传输至所述检测探头;The coherent light emitter is configured to generate incident coherent light, and transmit the coherent light to the detection probe through the first lens, the half mirror, and an optical fiber;
所述检测探头的圆锥反射镜,用于将所述入射相干光投射到所述微细管内壁上,并反射所述微细管内壁反射相干光,经过所述光纤、所述半透半反镜和所述第二透镜传输至所述相干光接收器;The conical mirror of the detection probe is configured to project the incident coherent light onto the inner wall of the microtube and reflect the coherent light on the inner wall of the microtube to pass through the optical fiber, the semi-transparent mirror, and The second lens is transmitted to the coherent light receiver;
所述相干光接收器,用于根据反射相干光得到微细管内壁的散斑图像;并将所述微细管内壁的散斑图像传输至所述图像处理器;The coherent light receiver is configured to obtain a speckle image of the inner wall of the micro tube according to the reflected coherent light; and transmit the speckle image of the inner wall of the micro tube to the image processor;
所述图像处理器,用于根据所述微细管内壁的散斑图像,确定所述微细管内壁的缺陷类型。The image processor is configured to determine a defect type of the inner wall of the microtube based on a speckle image of the inner wall of the microtube.
在一种可行的实施例中,所述微细管内壁的散斑图像包括多张微细管内壁的全景子散斑图像,所述图像处理器根据所述微细管内壁的散斑图像,确定所述微细管内壁的缺陷类型,包括:In a feasible embodiment, the speckle image of the inner wall of the microtube includes multiple panoramic subspeckle images of the inner wall of the microtube, and the image processor determines the speckle image based on the speckle image of the inner wall of the microtube. Types of defects on the inner walls of microtubules, including:
所述图像处理器将所述多张微细管内壁的全景子散斑图像拼接成所述微细管内壁的全景散斑图像;The image processor stitches the panoramic sub-speckle images of the inner wall of the plurality of micro-tubes into the panoramic speckle images of the inner wall of the micro-tube;
所述图像处理器根据缺陷识别模型对所述微细管内壁的全景散斑图像进行计算,以得到计算结果;Calculating, by the image processor, a panoramic speckle image on the inner wall of the microtube according to a defect recognition model to obtain a calculation result;
所述图像处理器从计算结果与缺陷类型的对应关系表中获取所述计算结果对应的缺陷类型,以确定所述微细管内壁的缺陷类型。The image processor obtains a defect type corresponding to the calculation result from a correspondence table between the calculation result and the defect type to determine the defect type of the inner wall of the microtube.
在一种可行的实施例中,所述图像处理器还用于:In a feasible embodiment, the image processor is further configured to:
在根据所述计算结果确定所述微细管内壁的缺陷类型之前,获取多组散斑图像,所述多组散斑图像的每组散斑图像中的每张散斑图像均对应一种缺陷类型;Before determining the defect type of the inner wall of the microtube according to the calculation result, multiple sets of speckle images are obtained, and each speckle image in each set of speckle images of the multiple set of speckle images corresponds to a defect type ;
根据所述多组散斑图像进行神经网络训练,以得到所述缺陷识别模型;Performing neural network training according to the multiple sets of speckle images to obtain the defect recognition model;
分别将所述多组散斑图像输入到所述缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the multiple sets of speckle images to the defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
根据所述多组计算结果,获取所述计算结果与缺陷类型的对应关系表,所述计算结果与缺陷类型的对应关系表包括计算结果范围和对应的缺陷类型,所述计算结果范围的上限和下限分别缺陷类型对应的一组计算结果的最大值和最小值。According to the plurality of sets of calculation results, a correspondence table between the calculation results and the defect type is obtained, and the correspondence table between the calculation results and the defect type includes a calculation result range and a corresponding defect type, and an upper limit of the calculation result range and The lower limit is the maximum and minimum of a set of calculation results corresponding to the defect type, respectively.
在一种可行的实施例中,所述图像处理器还用于:In a feasible embodiment, the image processor is further configured to:
在根据所述计算结果确定所述微细管内壁的缺陷类型之前,向第三方服务器发送请求消息,所述请求消息用于请求获取所述第三方服务器存储的所述缺陷识别模型和计算结果与缺陷类型的对应关系表;Before determining the defect type of the inner wall of the microtube according to the calculation result, a request message is sent to a third-party server, where the request message is used to request to obtain the defect identification model and calculation result and defect stored by the third-party server. Type correspondence table;
接收所述第三方服务器发送的响应消息,以响应所述请求消息,所述响应消息携带所述缺陷识别模型和计算结果与缺陷类型的对应关系表。Receiving a response message sent by the third-party server in response to the request message, the response message carrying the defect identification model and a correspondence table between calculation results and defect types.
在一种可行的实施例中,所述图像处理器还用于:In a feasible embodiment, the image processor is further configured to:
每使用所述缺陷识别模型和计算结果与缺陷类型的对应关系表进行缺陷类型识别N次后,重新获取多组散斑图像,所述N为大于1的整数;After each defect type identification is performed N times using the defect identification model and the correspondence table between the calculation result and the defect type, multiple sets of speckle images are obtained again, where N is an integer greater than 1;
根据重新获取的多组散斑图像,对所述缺陷识别模型进行重训练,以得重训练后的缺陷识别模型;Retraining the defect recognition model according to the reacquired multiple sets of speckle images to obtain the retrained defect recognition model;
分别将所述重新获取的多组散斑图像输入到所述训练后的缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the reacquired multiple sets of speckle images to the trained defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
根据所述多组计算结果,重新获取所述计算结果与缺陷类型的对应关系表。According to the plurality of sets of calculation results, a correspondence table between the calculation results and defect types is obtained again.
在一种可行的实施例中,所述装置还包括:与所述检测探头相连接的运动机构;In a feasible embodiment, the device further includes: a movement mechanism connected to the detection probe;
所述运动机构,用于牵引所述检测在所述微细管中移动,且每次移动的距离小于或等于所述检测探头每次所检测的微细管的长度。The movement mechanism is configured to draw the detection to move in the microtube, and the distance of each movement is less than or equal to the length of the microtube detected by the detection probe each time.
在一种可行的实施例中,当所述检测探头是弯曲形状时,所述检测探头还包括:In a feasible embodiment, when the detection probe has a curved shape, the detection probe further includes:
旋转装置,用于旋转所述检测探头,且旋转的角度为用户输入的角度。A rotation device is used to rotate the detection probe, and the rotation angle is an angle input by a user.
在一种可行的实施例中,所述相干光为紫外光到近红外光之间任一频率的激光。In a feasible embodiment, the coherent light is a laser at any frequency between ultraviolet light and near-infrared light.
第二方面,本申请实施例还提供了一种基于相干光的微细管内壁检测方法,包括:In a second aspect, an embodiment of the present application further provides a method for detecting an inner wall of a microtube based on coherent light, including:
根据微细管内壁反射的相干光获取所述微细管内壁的全景散斑图像;Obtaining a panoramic speckle image of the inner wall of the microtube according to the coherent light reflected from the inner wall of the microtube;
所述图像处理器根据缺陷识别模型对所述微细管内壁的全景散斑图像进行计算,以得到计算结果;Calculating, by the image processor, a panoramic speckle image on the inner wall of the microtube according to a defect recognition model to obtain a calculation result;
所述图像处理器从计算结果与缺陷类型的对应关系表中获取所述计算结果对应的缺陷类型,以确定所述微细管内壁的缺陷类型。The image processor obtains a defect type corresponding to the calculation result from a correspondence table between the calculation result and the defect type to determine the defect type of the inner wall of the microtube.
在一种可行的实施例中,根据微细管内壁反射的相干光获取所述微细管内壁的全景散斑图像,包括:In a feasible embodiment, acquiring a panoramic speckle image of the inner wall of the micro tube according to coherent light reflected from the inner wall of the micro tube includes:
根据所述微细管内壁反射的相干光,获取多张微细管内壁的全景子散斑图像;Obtaining a plurality of panoramic sub-speckle images of the inner wall of the micro tube according to the coherent light reflected from the inner wall of the micro tube;
将所述多张微细管内壁的全景子散斑图像拼接成所述微细管内壁的全景散斑图像。The panoramic sub-speckle images on the inner wall of the plurality of microtubes are stitched into the panoramic speckle images on the inner wall of the micro-tube.
在一种可行的实施例中,所述方法还包括:In a feasible embodiment, the method further includes:
在根据所述计算结果确定所述微细管内壁的缺陷类型之前,获取多组散斑图像,所述每组散斑图像中的每张散斑图像均对应一种缺陷类型;Before determining the defect type of the inner wall of the microtube according to the calculation result, acquiring multiple sets of speckle images, each speckle image in each set of speckle images corresponding to a defect type;
根据所述多组散斑图像进行神经网络训练,以得到所述缺陷识别模型;Performing neural network training according to the multiple sets of speckle images to obtain the defect recognition model;
分别将所述多组散斑图像输入到所述缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the multiple sets of speckle images to the defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
根据所述多组计算结果,获取所述计算结果与缺陷类型的对应关系表,所述计算结果与缺陷类型的对应关系表包括计算结果范围和对应的缺陷类型,所述计算结果范围的上限和下限分别缺陷类型对应的一组计算结果的最大值和最小值。According to the plurality of sets of calculation results, a correspondence table between the calculation results and the defect type is obtained, and the correspondence table between the calculation results and the defect type includes a calculation result range and a corresponding defect type, and an upper limit of the calculation result range and The lower limit is the maximum and minimum of a set of calculation results corresponding to the defect type, respectively.
在一种可行的实施例中,所述方法还包括:In a feasible embodiment, the method further includes:
在根据所述计算结果确定所述微细管内壁的缺陷类型之前,向第三方服务器发送请求消息,所述请求消息用于请求获取所述第三方服务器存储的所述缺陷识别模型和计算结果与缺陷类型的对应关系表;Before determining the defect type of the inner wall of the microtube according to the calculation result, a request message is sent to a third-party server, where the request message is used to request to obtain the defect identification model and calculation result and defect stored by the third-party server. Type correspondence table;
接收所述第三方服务器发送的响应消息,以响应所述请求消息,所述响应消息携带所述缺陷识别模型和计算结果与缺陷类型的对应关系表。Receiving a response message sent by the third-party server in response to the request message, the response message carrying the defect identification model and a correspondence table between calculation results and defect types.
在一种可行的实施例中,所述方法还包括:In a feasible embodiment, the method further includes:
每使用所述缺陷识别模型和计算结果与缺陷类型的对应关系表进行缺陷类型识别N次后,重新获取多组散斑图像,所述N为大于1的整数;After each defect type identification is performed N times using the defect identification model and the correspondence table between the calculation result and the defect type, multiple sets of speckle images are obtained again, where N is an integer greater than 1;
根据重新获取的多组散斑图像,对所述缺陷识别模型进行重训练,以得重训练后的缺陷识别模型;Retraining the defect recognition model according to the reacquired multiple sets of speckle images to obtain the retrained defect recognition model;
分别将所述重新获取的多组散斑图像输入到所述训练后的缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the reacquired multiple sets of speckle images to the trained defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
根据所述多组计算结果,重新获取所述计算结果与缺陷类型的对应关系表。According to the plurality of sets of calculation results, a correspondence table between the calculation results and defect types is obtained again.
在一种可行的实施例中,所述相干光为紫外光到近红外光之间任一频率的激光。In a feasible embodiment, the coherent light is a laser at any frequency between ultraviolet light and near-infrared light.
第三方面,本申请实施例还提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如第二方面的全部或部分方法。According to a third aspect, an embodiment of the present application further provides a computer storage medium. The computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by the processor, cause the processor Perform all or part of the method as in the second aspect.
可以看出,在本申请实施例的方案中,检测探头前端设置的圆锥反射镜将入射相干光照射到微细管内壁上,并将微细管内壁反射的相干光传输至相干光接收器;相干光接收器根据反射相干光得到微细管内壁的散斑图像;并将微细管内壁的散斑图像传输至图形处理器;图像处理器根据微细管内壁的散斑图像,确定微细管内壁的缺陷类型。采用本申请实施例解决现有技术对微细管内壁缺陷无法进行检测的问题。It can be seen that, in the solution of the embodiment of the present application, the conical mirror provided at the front end of the detection probe irradiates incident coherent light onto the inner wall of the microtube, and transmits the coherent light reflected on the inner wall of the microtube to the coherent light receiver; coherent light The receiver obtains a speckle image of the inner wall of the microtube according to the reflected coherent light; transmits the speckle image of the inner wall of the microtube to a graphics processor; the image processor determines the type of defect of the inner wall of the microtube based on the speckle image of the inner wall of the microtube. The embodiment of the present application is adopted to solve the problem that the inner wall defect of the microtube cannot be detected in the prior art.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These or other aspects of the present application will be more concise and easy to understand in the description of the following embodiments.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application or the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to these drawings without paying creative labor.
图1为本申请实施例提供的一种微细管内壁检测装置的结构示意图;FIG. 1 is a schematic structural diagram of a microtube inner wall detection device according to an embodiment of the present application; FIG.
图2为本申请实施例提供的另一种微细管内壁检测装置的结构示意图;2 is a schematic structural diagram of another microtube inner wall detection device according to an embodiment of the present application;
图3为相干光成像的原理示意图;3 is a schematic diagram of the principle of coherent light imaging;
图4为本申请实施例提供的一种基于相干光的微细管内壁检测原理示意图;FIG. 4 is a schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application; FIG.
图5为本申请实施例提供的另一种基于相干光的微细管内壁检测原理示意图;FIG. 5 is another schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application; FIG.
图6为本申请实施例提供的另一种基于相干光的微细管内壁检测原理示意图;FIG. 6 is another schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application; FIG.
图7为本申请实施例提供的另一种基于相干光的微细管内壁检测原理示意图;FIG. 7 is another schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application; FIG.
图8为本申请实施例提供的另一种基于相干光的微细管内壁检测原理示意图;FIG. 8 is another schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application; FIG.
图9为本申请实施例提供的缺陷识别模型示意图;FIG. 9 is a schematic diagram of a defect recognition model according to an embodiment of the present application; FIG.
图10为本申请实施例提供的另一种基于相干光的微细管内壁检测原理示意图;FIG. 10 is another schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application; FIG.
图11为本申请实施例提供的另一种基于相干光的微细管内壁检测原理示意图;FIG. 11 is a schematic diagram of detecting the inner wall of a microtube based on coherent light according to an embodiment of the present application; FIG.
图12为本申请实施例提供的一种基于相干光的微细管内壁检测方法的流程示意图。FIG. 12 is a schematic flowchart of a method for detecting an inner wall of a microtube based on coherent light according to an embodiment of the present application.
具体实施方式detailed description
下面结合附图对本申请的实施例进行描述。The embodiments of the present application are described below with reference to the drawings.
参见图1,图1为本申请实施例提供的一种微细管内壁检测修复装置的结构示意图。如图1所示,该微细管内壁检测装置100包括:Referring to FIG. 1, FIG. 1 is a schematic structural diagram of a microtube inner wall detection and repair device according to an embodiment of the present application. As shown in FIG. 1, the micro-tube inner wall detection device 100 includes:
检测探头102,通过光纤103与所述检测探头102相连接的半透半反镜104、第一透镜105、第二透镜106、相干光发射器108、相干光接收器107和图像处理器109。The detection probe 102 is a half mirror 104, a first lens 105, a second lens 106, a coherent light transmitter 108, a coherent light receiver 107, and an image processor 109 connected to the detection probe 102 through an optical fiber 103.
上述相干光发射器108产生相干光,并照射到上述第一透镜105上,该第 一透镜105将相干光照射到位于其聚焦平面上的半透半反镜104上,再通过与该半透半反镜104相连的光纤103将上述相干光传输至上述检测探头102上。对于该检测探头102来说,从上述半透半反镜104经过光纤103传输过来的相干光也可以称为入射相干光。The coherent light emitter 108 generates coherent light and irradiates the first lens 105. The first lens 105 irradiates the coherent light on a semi-transparent mirror 104 located on a focal plane of the first lens 105, and passes through the semi-transparent mirror 105 The optical fiber 103 connected to the half mirror 104 transmits the coherent light to the detection probe 102. For the detection probe 102, the coherent light transmitted from the semi-transparent mirror 104 through the optical fiber 103 may also be referred to as incident coherent light.
如图2所示,利用上述细管内壁检测装置100进行检测时,需要将上述检测探头102伸入到待检测微细管101内,上述检测探头102前端设置有圆锥反射镜1021,该圆锥反射镜1021将入射相干光10反射到上述微细管101的内壁上,并反射该微细管101内壁反射或者散射的相干光11。As shown in FIG. 2, when using the thin tube inner wall detection device 100 for detection, the detection probe 102 needs to be inserted into the micro tube 101 to be detected. A conical mirror 1021 is provided at the front end of the detection probe 102. 1021 reflects the incident coherent light 10 onto the inner wall of the microtube 101, and reflects the coherent light 11 reflected or scattered by the inner wall of the microtube 101.
上述微细管101内壁反射或者散射的相干光11经过上述半透半反镜104和第二透镜106传输至上述相干光接收器107,该相干光接收器107将接收到的相干光转换为散斑图像。其中,上述相干光接收器107位于上述第二透镜106的聚焦平面上。这种设计使得照明光路和成像光路合二为一,实现了在狭小的微细管空间中同时完成照明和成像。The coherent light 11 reflected or scattered on the inner wall of the microtube 101 is transmitted to the coherent light receiver 107 through the half mirror 104 and the second lens 106, and the coherent light receiver 107 converts the received coherent light into speckle image. The coherent light receiver 107 is located on a focusing plane of the second lens 106. This design allows the illumination light path and the imaging light path to be combined into one, realizing the simultaneous completion of lighting and imaging in a narrow micro-tube space.
其中,上述入射相干光为紫外光到近红外光之间任一频率的激光。The incident coherent light is a laser light having any frequency between ultraviolet light and near-infrared light.
可选地,上述相干光发射器可为电荷耦合元件(charge-coupled device,CCD)传感器、互补金属氧化物半导体(complementary metal oxide semiconductor,CMOS)传感器。Optionally, the above-mentioned coherent light emitter may be a charge-coupled device (CCD) sensor, a complementary metal oxide semiconductor (CMOS) sensor.
在此需要说明的是,微细管内壁存在固定的结构或光滑的表面,缺陷主要分布于构件的内壁,这些缺陷的尺寸一般在50um到1mm之间,对于波长为650nm的相干激光而言,能检测的微细管内壁缺陷的精度可以达到1um。微细管内壁微观形变会引起衍射光斑的改变。当光到粗糙表面上市,表面上每一点都会有散射光,这些散射光就是相干光,其振幅和相位不同,且随机分布。这些散射光叠加后,形成对比度明显的颗粒状结构,这些就是散斑。如图3所示,入射相干光照射到上述微细管内壁后,该微细管内壁反射或散射相干光至上述相干光接收器,该相干光接收器将接收到光信号转化为图像,即得到微细管内壁的散斑图像。It should be noted here that the inner wall of the microtube has a fixed structure or a smooth surface, and the defects are mainly distributed on the inner wall of the component. The size of these defects is generally between 50um and 1mm. For a coherent laser with a wavelength of 650nm, it can The accuracy of the micro-tube inner wall defect detection can reach 1um. Microscopic deformation of the inner wall of the microtube will cause changes in the diffraction spot. When light hits the rough surface, there will be scattered light at each point on the surface. These scattered lights are coherent light, with different amplitudes and phases, and randomly distributed. These scattered lights are superimposed to form a granular structure with obvious contrast. These are speckles. As shown in FIG. 3, after the incident coherent light is irradiated to the inner wall of the microtube, the inner wall of the microtube reflects or scatters the coherent light to the coherent light receiver. The coherent light receiver converts the received light signal into an image, and obtains fine Speckle image of the inner wall of the tube.
由于检测探头102每次在微细管101中的一个固定的测量位置检测当前位置的环带区域,因此需要通过运动机构牵引上述检测探头沿着微细管101内运动,上述相干光接收器107可获取该微细管不同位置的内壁全景子图像,如图 4所示,当前位置的内壁子图像为环带状的阴影部分。Since the detection probe 102 detects the current position of the annulus zone at a fixed measurement position in the microtube 101 each time, it is necessary to draw the detection probe to move along the microtube 101 through a movement mechanism, and the coherent light receiver 107 can obtain The panoramic sub-images of the inner wall of the microtube at different positions are shown in FIG. 4, and the inner-wall sub-images of the current position are circle-shaped shadow parts.
假设上述检测探头102每次能被检测微细管的长度为d,微细管的全长为L,则该检测探头需要进行L/d次检测,即可完成对上述微细管内壁的检测。由于检测探头102每次检测后,通过上述相干光接收器得到一张内壁全景子散斑图像;然后在运动结构的牵引下,上述检测探头102移动距离d,重复上述检测过程;对上述长度为L的微细管检测完毕后,可得到L/d张内壁全景子散斑图像,如图5所示。Assuming that the length of the microtube that can be detected by the detection probe 102 is d and the total length of the microtube is L, the detection probe needs to perform L / d detections to complete the detection of the inner wall of the microtube. After each detection by the detection probe 102, a panoramic sub-speckle image of the inner wall is obtained through the coherent light receiver; then, under the traction of the moving structure, the detection probe 102 moves a distance d, and the above detection process is repeated; the above length is After the detection of L's microtubules, L / d inner wall panoramic sub-speckle images can be obtained, as shown in FIG. 5.
上述相干光接收器107每获取一张内壁全景子散斑图像后,将该内壁全景子散斑图像传输至上述图像处理器109;该图像处理器109每接收到一张内壁全景子散斑图像后,对该内壁全景子散斑图像打上时间标签,该时间标签为当前的系统时刻。当接收到L/d张内壁全景子散斑图像后,上述图像处理器109按照时间标签的先后顺序将上述L/d张内壁全景子散斑图像拼接成上述微细管内壁的全景散斑图像。After the coherent optical receiver 107 obtains an inner wall panoramic sub-speckle image, it transmits the inner wall panoramic sub-speckle image to the image processor 109. The image processor 109 receives an inner wall panoramic sub-speckle image. Then, the inner wall panoramic sub-speckle image is time stamped, and the time stamp is the current system time. After receiving the L / d inner wall panoramic sub-speckle images, the image processor 109 stitches the L / d inner wall panoramic sub-speckle images into the micro-tube inner wall panoramic speckle images according to the sequence of time tags.
在此对图像拼接技术进行简要说明,图像拼接技术包括以下步骤:The image stitching technology is briefly described here. The image stitching technology includes the following steps:
1)图像预处理:对原始图像进行直方图匹配、平滑滤波、增强变换等数字图像处理的基本操作,为图像拼接的下一步作好准备。1) Image preprocessing: Basic operations of digital image processing such as histogram matching, smoothing filtering, and enhanced transformation on the original image are prepared for the next step of image stitching.
2)图像配准:图像配准是整个图像拼接流程的核心,配准的精度决定了图像的拼接质量。其基本思想是:首先找到待配准图像与参考图像的模板或特征点的对应位置,然后根据对应关系建立参考图像与待配准图像之间的转换数学模型,将待配准图像转换到参考图像的坐标系中,确定两图像之间的重叠区域。精确配准的关键是寻找一个能很好描述两幅图像转换关系的数据模型。2) Image registration: Image registration is the core of the entire image stitching process, and the accuracy of registration determines the quality of image stitching. The basic idea is: first find the corresponding position of the template or feature point of the image to be registered and the reference image, and then establish a mathematical model of the conversion between the reference image and the image to be registered according to the corresponding relationship, and convert the image to be registered to the reference In the image coordinate system, the overlapping area between the two images is determined. The key to accurate registration is to find a data model that can well describe the transformation relationship between the two images.
3)图像合成:确定了两幅图像之间的转换关系模型,即重叠区域后,就需要根据重叠区域的信息将待拼接图像镶嵌成一个视觉可行的全景图。由于不同拍摄条件等因素造成图像灰度(或亮度)差异,或者图像配准结果仍存在一定配准误差,为了尽可能地减少遗留变形或图像间的亮度(或灰度)差异对镶嵌结果的影响,就需要选择合适的图像合成策略。3) Image synthesis: After determining the conversion relationship model between the two images, that is, after overlapping regions, the images to be stitched need to be mosaic into a visually feasible panoramic image according to the information of the overlapping regions. Due to different shooting conditions and other factors, the grayscale (or brightness) of the image is different, or there is still a certain registration error in the image registration result. In order to minimize the residual distortion or the brightness (or grayscale) difference between the images, the mosaic result is affected. Impact, you need to choose a suitable image synthesis strategy.
在一种可行的实施例中,为了提高检测精度,在对上述微细管101内壁检测的过程中,上述检测探头102在运动机构的牵引下每次移动的距离d1,该d1小于d,经过M次检测,上述检测探头102完成对上述长度为L的微细管 101内壁的检测,并得到M张微细管内壁全景子散斑图像,其中,M=L/d1;由于该检测探头102每次能被检测微细管的长度为d,因此在相邻的两次检测过程中,存在重叠的检测区域,因此对于通过两次相邻的检测得到两张内壁全景子散斑图像存在相同的部分,如图6所示。In a feasible embodiment, in order to improve the detection accuracy, during the detection of the inner wall of the microtube 101, the detection probe 102 moves a distance d1 each time under the traction of the moving mechanism, and the d1 is less than d, and passes M In the second inspection, the detection probe 102 completes the inspection of the inner wall of the microtube 101 with the length L, and obtains M sub-speckle panoramic images of the inner wall of the microtube, where M = L / d1; since the detection probe 102 can The length of the detected microtube is d, so there are overlapping detection areas in the two adjacent detection processes, so there are the same parts for the two inner wall panoramic sub-speckle images obtained by the two adjacent detections, such as Figure 6 shows.
上述图像处理器109获取上述M张微细管内壁全景子图像后,根据图像拼接技术将上述M张微细管内壁全景子图像进行拼接,以得到上述微细管内壁的全景散斑图像。After the image processor 109 obtains the panoramic sub-images of the inner walls of the M micro-tubes, the panoramic sub-images of the inner walls of the M micro-tubes are stitched according to an image stitching technique to obtain a panoramic speckle image of the inner walls of the micro-tubes.
在一种可行的实施例中,如图7的a图所示,为了适应不同口径的微细管,上述检测探头102设置为弯曲状,且该检测探头102上设置有旋转装置1022,该旋转装置可以通过有线或无线的方式接收用户输入的角度,可以实现微细管101内壁不同位置不同角度的缺陷检测,进而实现对微细管101内壁的缺陷进行定向检测。In a feasible embodiment, as shown in FIG. 7 (a), in order to adapt to micro tubes of different calibers, the above-mentioned detection probe 102 is provided in a curved shape, and a rotation device 1022 is provided on the detection probe 102. The rotation device The angle input by the user can be received in a wired or wireless manner, and defect detection at different positions and different angles on the inner wall of the microtube 101 can be achieved, and further, directional detection of defects on the inner wall of the microtube 101 can be realized.
具体地,上述检测探头102每次对微细管101内壁进行检测的长度为s,如图7的a图所示;每次检测的角度为θ,如图7的b图所示,上述检测探头102每次检测后上述相干光接收器107得到一张内壁全景散斑图像块,并将该内壁全景散斑图像块传输至上述图像处理器109,该图像处理器109获取该内壁全景散斑图像块后,为该内壁全景散斑图像块打上第一时间标签,该第一时间标签为当前系统时间;检测探头102在其旋转装置1022的控制下按照预设方向每次旋转角度θ1,此时θ1=θ;旋转360/θ1次,上述检测探头102完成对当前位置的微细管内壁的检测,此时上述图像处理器109获取360/θ1张内壁全景散斑图像块,该图像处理器109按照内壁全景散斑图像块的第一时间标签的先后顺序,根据图像拼接技术将上述360/θ1张内壁全景散斑图像块拼接成一张内壁全景子散斑图像,同时为该内壁全景子散斑图像打上第二时间标签,该第二时间标签为当前系统时间。Specifically, the length of each detection of the inner wall of the microtube 101 by the detection probe 102 is s, as shown in FIG. 7A; the angle of each detection is θ, as shown in FIG. 7B. The 102 coherent light receiver 107 obtains an inner wall panoramic speckle image block after each detection, and transmits the inner wall panoramic speckle image block to the image processor 109, which obtains the inner wall panoramic speckle image. After the block, a first time stamp is added to the inner speckle panoramic image block, and the first time stamp is the current system time; the detection probe 102 is rotated by an angle θ1 according to a preset direction under the control of its rotation device 1022. θ1 = θ; rotate 360 / θ once, the detection probe 102 completes the detection of the inner wall of the microtube at the current position. At this time, the image processor 109 obtains 360 / θ1 panoramic speckle image blocks of the inner wall. The sequence of the first time label of the inner wall panoramic speckle image block, according to the image stitching technique, the above 360 / θ1 inner wall panoramic speckle image block is stitched into an inner wall panoramic sub speckle image, and The inner wall panoramic sub-speckle image is marked with a second time tag, and the second time tag is the current system time.
可选地,上述预设方向可为顺时针方向或逆时针方向。Optionally, the preset direction may be a clockwise direction or a counterclockwise direction.
在完成对当前位置环带内壁的缺陷检测后,上述检测探头102在运动机构的牵引下,沿着检测方向移动距离s1,且s1=s;然后按照上述方法上述检测探头完成对当前位置的获取当前位置的内壁全景子散斑图像,并为该内壁全景子散斑图像打上第二时间标签。按照该方法,在上述运动结构的牵引下,上述 检测探头经过L/s1次上述检测过程,完成对微细管内壁的检测,且上述图像处理器获取L/s1张内壁全景子散斑图像。After completing the defect detection of the inner wall of the current position of the annulus, the above-mentioned detection probe 102 is moved along the detection direction by a distance s1 and s1 = s under the traction of the moving mechanism; and then the above-mentioned detection probe completes the acquisition of the current position according to the above method. An inner wall panoramic sub-speckle image at the current position, and a second time label is added to the inner wall panoramic sub-speckle image. According to this method, under the traction of the moving structure, the detection probe undergoes the above-mentioned detection process L / s1 to complete the detection of the inner wall of the microtube, and the image processor obtains L / s1 panoramic sub-speckle image of the inner wall.
上述图像处理器109获取上述L/s1张内壁全景子散斑图像后,按照每张内壁全景子散斑图像的第二时间标签的先后顺序,根据图像拼接技术将上述L/s1张内壁全景子散斑图像拼接成一张内壁全景散斑图像。After the image processor 109 obtains the L / s1 inner wall panoramic sub-speckle images, according to the sequence of the second time label of each inner wall panoramic sub-speckle image, the above L / s1 inner wall panoramic sub-pixels are processed according to the image stitching technology. The speckle image is stitched into a panoramic speckle image on the inner wall.
可选地,在上述检测探头的旋转装置1022的控制下,当该检测探头102按照上述预设方向旋转的角度θ1<θ时,由于检测探头102每次检测的角度为θ,该检测探头102对微细管内壁进行连续两次检测的区域会重叠,重叠区域如图8所示,此时上述相干光接收器107接器得到的两张内壁全景散斑图像块存在重叠的部分。按照该方法,上述检测探头102在其旋转装置1022的控制器下,转动360/θ1次后,完成对当前位置环带内壁的缺陷检测,上述图像处理器109获取360/θ1张内壁全景散斑图像块;上述图像处理器109根据图像拼接技术将上述360/θ1张内壁全景散斑图像块拼接成当前位置的内壁全景子散斑图像。然后按照上述方法,在上述运动结构的牵引下,上述检测探头102经过L/s1次上述检测过程,完成对微细管内壁的检测,且上述图像处理器109获取L/s1张内壁全景子散斑图像。Optionally, under the control of the rotation device 1022 of the detection probe, when the detection probe 102 rotates according to the preset direction by an angle θ1 <θ, since the detection angle of the detection probe 102 is θ each time, the detection probe 102 The area where the inner wall of the microtube is detected twice in succession will overlap, as shown in FIG. 8. At this time, the two inner wall panoramic speckle image blocks obtained by the above-mentioned coherent light receiver 107 connector have overlapping portions. According to this method, after the above-mentioned detection probe 102 is rotated 360 / θ 1 times under the controller of its rotating device 1022, the defect detection of the inner wall of the current position annulus is completed, and the image processor 109 acquires 360 / θ 1 inner wall panoramic speckles. Image block; the image processor 109 stitches the 360 / θ1 inner wall panoramic speckle image block into an inner wall panoramic sub-speckle image at the current position according to the image stitching technology. Then according to the above method, under the traction of the moving structure, the detection probe 102 undergoes the above-mentioned detection process L / s1 to complete the detection of the inner wall of the microtube, and the image processor 109 obtains L / s1 inner wall panoramic subspeckle image.
上述图像处理器109获取上述L/s1张内壁全景子散斑图像后,按照每张内壁全景子散斑图像的第二时间标签的先后顺序,根据图像拼接技术将上述L/s1张内壁全景子散斑图像拼接成一张内壁全景散斑图像。After the image processor 109 obtains the L / s1 inner wall panoramic sub-speckle images, according to the sequence of the second time label of each inner wall panoramic sub-speckle image, the above L / s1 inner wall panoramic sub-pixels are processed according to the image stitching technology. The speckle image is stitched into a panoramic speckle image on the inner wall.
在一种可能的实施例中,上述图像处理器109获取上述微细管内壁的全景散斑图像后,该图像处理器109将该微细管内壁的全景散斑图像输入到缺陷识别模型中,该缺陷识别模型为一种神经网路模型通过该缺陷识别模型对上述微细管内壁的全景散斑图像进行神经网络运算,得到至少一个计算结果,每个计算结果对应一种缺陷类型,上述图像处理109器可根据计算结果即可确定上述微细管内壁存在的缺陷类型。如图9所示,上述缺陷识别模型包括输入层、中间层和输出层;上述微细管内壁的全景散斑图像从输入层输入后,经过中间层运算后,输出层可输出四种计算结果,包括第一计算结果、第二计算结果、第三计算结果和第四计算结果,分别对应无缺陷、脏污、崩裂和形变。In a possible embodiment, after the image processor 109 obtains the panoramic speckle image of the inner wall of the microtube, the image processor 109 inputs the panoramic speckle image of the inner wall of the microtube into a defect recognition model, and the defect The recognition model is a neural network model. The defect recognition model is used to perform a neural network operation on the panoramic speckle image on the inner wall of the microtube to obtain at least one calculation result. Each calculation result corresponds to a defect type. The type of defects existing on the inner wall of the microtube can be determined based on the calculation results. As shown in FIG. 9, the above defect recognition model includes an input layer, an intermediate layer, and an output layer; after the panoramic speckle image of the inner wall of the microtube is input from the input layer and after the intermediate layer operation, the output layer can output four calculation results, Including the first calculation result, the second calculation result, the third calculation result, and the fourth calculation result, respectively, corresponding to defect-free, dirty, cracked and deformed.
进一步地,上述缺陷识别模型的输出层可输出上述四种计算结果中的任一 种或者,输出第二计算结果、第三计算结果和第四计算结果中的任意组合,即上述缺陷识别模型输出的缺陷类型可以是无缺陷、脏污、崩裂和形变中的任一种;或者输出的缺陷类型为脏污、崩裂和形变中的任意组合。该方法可以根据输入的微细管内壁的全景散斑图像直接确定该微细管内壁中存在的缺陷的类型。Further, the output layer of the defect recognition model may output any one of the four calculation results or output any combination of the second calculation result, the third calculation result, and the fourth calculation result, that is, the output of the defect recognition model. The defect type can be any one of no defect, dirt, cracking, and deformation; or the output defect type is any combination of dirt, cracking, and deformation. This method can directly determine the type of defects existing in the inner wall of the microtube based on the input panoramic speckle image of the inner wall of the microtube.
在一种可行的实施例中,上述图像处理器109获取上述微细管内壁的全景散斑图像后,该图像处理器109将上述微细管内壁的全景散斑图像输入到缺陷识别模型中。通过该缺陷识别模型对上述微细管内壁的全景散斑图像进行计算,得到计算结果,然后根据计算结果与缺陷类型对应关系表确定该结算结果对应的缺陷类型。In a feasible embodiment, after the image processor 109 obtains the panoramic speckle image of the inner wall of the micro tube, the image processor 109 inputs the panoramic speckle image of the inner wall of the micro tube into a defect recognition model. The defect recognition model is used to calculate the panoramic speckle image on the inner wall of the microtube to obtain a calculation result, and then the defect type corresponding to the settlement result is determined according to the correspondence table between the calculation result and the defect type.
其中,上述计算结果与缺陷类型对应关系表如表1所示。The correspondence table between the above calculation results and defect types is shown in Table 1.
计算结果范围Calculation result range 缺陷类型Defect type
(a1,a2](a1, a2) 无缺陷No defects
(a2,a3](a2, a3) 脏污Dirty
(a3,a4](a3, a4) 崩裂crack
(a4,a5)(a4, a5) 形变deformation
表1Table 1
具体地,上述计算结果与缺陷类型对应关系表中列举了4种缺陷类型,分别为无缺陷、脏污、崩裂和形变。当上述计算结果大于a1且小于或者等于a2时,上述图像处理器109确定上述微细管内壁无缺陷;当上述结算结果大于a2且小于或者等于a3时,上述图像处理器109确定上述微细管内壁的缺陷类型为脏污;当上述结算结果大于a3且小于或者等于a4时,上述图像处理器109确定上述微细管内壁的缺陷类型为崩裂;当上述结算结果大于a4且小于a5时,上述图像处理器109确定上述微细管内壁的缺陷类型为形变。Specifically, in the table of the correspondence between the calculation results and the defect types, four types of defects are listed, which are no defect, dirt, cracking, and deformation. When the calculation result is greater than a1 and less than or equal to a2, the image processor 109 determines that the inner wall of the microtube is free of defects; when the settlement result is greater than a2 and less than or equal to a3, the image processor 109 determines the inner wall of the microtube. The defect type is dirty; when the settlement result is greater than a3 and less than or equal to a4, the image processor 109 determines that the defect type of the inner wall of the microtube is cracked; when the settlement result is greater than a4 and less than a5, the image processor 109 It is determined that the defect type on the inner wall of the microtube is deformation.
需要指出的是,上述微细管内壁的缺陷类型包括但不限定于无缺陷、脏污、崩裂和形变四种。It should be noted that the types of defects on the inner wall of the microtubes include, but are not limited to, four types: non-defective, dirty, cracked and deformed.
可选地,上述图像处理器109在将上述微细管内壁的全景散斑图像输入到缺陷识别模型中之前,上述图像处理器109在根据所述计算结果确定所述微细 管内壁的缺陷类型之前,获取多组散斑图像,所述每组散斑图像中的每张散斑图像均对应一种缺陷类型;Optionally, before the image processor 109 inputs the panoramic speckle image of the inner wall of the microtube into the defect recognition model, before the image processor 109 determines the defect type of the inner wall of the microtube according to the calculation result, Acquiring multiple sets of speckle images, each speckle image in each set of speckle images corresponding to a defect type;
根据所述多组散斑图像进行神经网络训练,以得到所述缺陷识别模型;Performing neural network training according to the multiple sets of speckle images to obtain the defect recognition model;
分别将所述多组散斑图像输入到所述缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the multiple sets of speckle images to the defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
根据所述多组计算结果,获取所述计算结果与缺陷类型的对应关系表,所述计算结果与缺陷类型的对应关系表包括计算结果范围和对应的缺陷类型,所述计算结果范围的上限和下限分别缺陷类型对应的一组计算结果的最大值和最小值。According to the plurality of sets of calculation results, a correspondence table between the calculation results and the defect type is obtained, and the correspondence table between the calculation results and the defect type includes a calculation result range and a corresponding defect type, and an upper limit of the calculation result range and The lower limit is the maximum and minimum of a set of calculation results corresponding to the defect type, respectively.
如表1所示,上述图像处理器109将一组无缺陷的散斑图像输入上述缺陷识别模型中,得到多个计算结果,无缺陷对应的计算结果范围的a1为该多个计算结果中的最小值,a2为上述多个计算结果中的最大值。As shown in Table 1, the image processor 109 inputs a group of non-defective speckle images into the above-mentioned defect recognition model, and obtains multiple calculation results. The a1 of the calculation result range corresponding to the non-defect is the number of the multiple calculation results. The minimum value, a2 is the maximum value among the multiple calculation results.
在一种可行的实施例中,上述图像处理器109在将上述微细管内壁的全景散斑图像输入到缺陷识别模型中之前,在根据所述计算结果确定所述微细管内壁的缺陷类型之前,向第三方服务器发送请求消息,所述请求消息用于请求获取所述第三方服务器存储的所述缺陷识别模型和计算结果与缺陷类型的对应关系表;In a feasible embodiment, before the image processor 109 inputs the panoramic speckle image of the inner wall of the microtube into a defect recognition model, and before determining a defect type of the inner wall of the microtube according to the calculation result, Sending a request message to a third-party server, where the request message is used to request to obtain the defect identification model and the correspondence table between the calculation result and the defect type stored by the third-party server;
接收所述第三方服务器发送的响应消息,以响应所述请求消息,所述响应消息携带所述缺陷识别模型和计算结果与缺陷类型的对应关系表。Receiving a response message sent by the third-party server in response to the request message, the response message carrying the defect identification model and a correspondence table between calculation results and defect types.
进一步地,所述图像处理器109还用于对缺陷识别模型进行重训练,并更新上述计算结果与缺陷类型之间的对应关系表,以保证缺陷识别的精度,具体如下:Further, the image processor 109 is further configured to retrain the defect recognition model and update the correspondence table between the calculation result and the defect type to ensure the accuracy of defect recognition, as follows:
每使用所述缺陷识别模型和计算结果与缺陷类型的对应关系表进行缺陷类型识别N次后,重新获取多组散斑图像,所述N为大于1的整数;After each defect type identification is performed N times using the defect identification model and the correspondence table between the calculation result and the defect type, multiple sets of speckle images are obtained again, where N is an integer greater than 1;
根据重新获取的多组散斑图像,对所述缺陷识别模型进行重训练,以得重训练后的缺陷识别模型;Retraining the defect recognition model according to the reacquired multiple sets of speckle images to obtain the retrained defect recognition model;
分别将所述重新获取的多组散斑图像输入到所述训练后的缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the reacquired multiple sets of speckle images to the trained defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
根据所述多组计算结果,重新获取所述计算结果与缺陷类型的对应关系表。According to the plurality of sets of calculation results, a correspondence table between the calculation results and defect types is obtained again.
需要指出的是,上述对缺陷识别模型进行重训练和更新上述计算结果与缺陷类型的对应关系表可由上述第三方服务器来进行,上述图像处理器109每使用上述缺陷识别模型和计算结果与缺陷类型的对应关系表进行缺陷类型识别N次后,向上述第三方服务器重新发送请求消息,用于请求获取重训练后的缺陷识别模型和更新后的计算结果与缺陷类型的对应关系表It should be noted that the retraining of the defect recognition model and the update of the correspondence table between the calculation results and the defect types can be performed by the third-party server. Each time the image processor 109 uses the defect recognition model and the calculation results and the defect types, After identifying the defect type N times in the corresponding relationship table, the request message is re-sent to the third-party server for requesting to obtain the correspondence table between the retrained defect identification model and the updated calculation result and defect type.
在一种可行的实施例中,上述微细管内壁检测装置可对上述微细管内壁进行定点位置的缺陷检测。In a feasible embodiment, the micro-tube inner wall detecting device can perform a defect detection at a fixed position on the micro-tube inner wall.
具体地,如图10所示,上述检测探头102设置有圆锥反射镜;上述微细管内壁检测装置接收到待检测位置信息,该待检测位置信息表示待检测位置与上述微细管检测入口之间的距离,该微细管入口为如图10中所示原点O对应的位置。上述检测探头102在运动机构的牵引下运动至上述待检测位置信息所指示的待检测位置,对该待检测位置的环状内壁的进行缺陷检测。其中,上述检测探头102对待检测位置进行缺陷检测的具体过程可参见上述实施例的相关描述,在此不再叙述。Specifically, as shown in FIG. 10, the detection probe 102 is provided with a conical reflector; the micro-tube inner wall detection device receives position information to be detected, and the position information to be detected indicates a position between the position to be detected and the micro-tube detection entrance. Distance, the entrance of the capillary tube is the position corresponding to the origin O as shown in FIG. 10. The detection probe 102 moves to the position to be detected indicated by the position information to be detected under the traction of the moving mechanism, and performs defect detection on the annular inner wall of the position to be detected. For the specific process of performing the defect detection by the detection probe 102 on the position to be detected, refer to the related description of the foregoing embodiment, and details are not described herein again.
上述相干光接收器109根据光纤103传输的反射或散射相干光得到上述待检测位置的环状内壁的散斑图像,并将该散斑图像传输至上述图像处理器109,该图像处理器109将上述散斑图像输入至上述缺陷识别模型中进行计算,以得到计算结果。上述图像处理器109根据计算结果与缺陷类型的对应关系表确定该计算结果对应的缺陷类型,从而确定上述待检测位置是否存在缺陷和缺陷类型。The coherent light receiver 109 obtains a speckle image of the annular inner wall of the position to be detected according to the reflected or scattered coherent light transmitted by the optical fiber 103, and transmits the speckle image to the image processor 109. The image processor 109 The speckle image is input to the defect recognition model for calculation to obtain a calculation result. The image processor 109 determines a defect type corresponding to the calculation result according to a correspondence relationship table between the calculation result and the defect type, so as to determine whether a defect and a defect type exist in the position to be detected.
如图11所示,上述检测探头102内设置有旋转装置,上述微细管内壁检测装置接收到待检测点信息(L1,α),其中,L1表示待检测点与上述微细管101检测入口处之间的距离,α表示经过待检测位置和该待检测位置所在横截面的中心点的直线与经过中心点的直线L2的夹角。上述检测探头102在运动机构的牵引下,运动至距离微细管101检测入口L1的待检测点的横截面,然后上述检测探头102在其旋转装置的控制下,以上述直线L2为基准线,逆时针旋转检测探头102,旋转的角度为α,使得上述待检测点位于上述检测探头102 的检测范围内。然后该检测探头102利用相干光对该待检测点进行检测。其中,上述检测探头102对待检测点进行缺陷检测的具体过程可参见上述实施例的相关描述,在此不再叙述。As shown in FIG. 11, a rotation device is provided in the detection probe 102, and the detection device for the inner wall of the microtube receives the information of the point to be detected (L1, α), where L1 represents the point between the point to be detected and the detection entrance of the microtube 101. The distance between the two, α represents the included angle between a straight line passing through the position to be detected and the center point of the cross section where the detected position is located, and a straight line L2 passing through the center point. The detection probe 102 is moved to the cross section of the point to be detected by the microtube 101 at the entrance L1 under the traction of the movement mechanism. Then, under the control of the rotating device, the detection probe 102 uses the straight line L2 as a reference line, The detection probe 102 is rotated clockwise, and the rotation angle is α, so that the point to be detected is located within the detection range of the detection probe 102. The detection probe 102 then detects the point to be detected using coherent light. For the specific process of performing the defect detection by the detection probe 102 on the inspection point, refer to the related description of the foregoing embodiment, which will not be described here.
上述相干光接收器107根据光纤103传输的反射或散射相干光得到上述待检测点的环状内壁的散斑图像,并将该散斑图像传输至上述图像处理器,该图像处理器109将上述散斑图像输入至上述缺陷识别模型中进行计算,以得到计算结果。上述图像处理器109根据计算结果与缺陷类型的对应关系表确定该计算结果对应的缺陷类型,从而确定上述待检测点是否存在缺陷和缺陷类型。The coherent light receiver 107 obtains a speckle image of the annular inner wall of the point to be detected according to the reflected or scattered coherent light transmitted by the optical fiber 103, and transmits the speckle image to the image processor, and the image processor 109 transmits the speckle image The speckle image is input to the above defect recognition model and calculated to obtain the calculation result. The image processor 109 determines a defect type corresponding to the calculation result according to a correspondence table between the calculation result and the defect type, so as to determine whether a defect and a defect type exist at the point to be detected.
可以看出,在本申请实施例的方案中,通过获取微细管内壁的散斑图像,并根据该散斑图像确定微细管内壁是否存在缺陷;当确定存在缺陷时,确定该缺陷的类型;根据缺陷的类型对其进行修复。采用本申请实施例不仅解决现有技术对微细管内壁缺陷无法精确检测的问题,同时对微细管内壁的缺陷进行修复。It can be seen that, in the scheme of the embodiment of the present application, a speckle image of the inner wall of the microtube is obtained by using the speckle image to determine whether there is a defect in the inner wall of the microtube; when it is determined that the defect exists, the type of the defect is determined; The type of defect fixes it. The embodiments of the present application not only solve the problem that the defects of the inner wall of the microtube cannot be accurately detected in the prior art, but also repair the defects of the inner wall of the microtube.
参见图12,图12为本申请实施例提供的一种微细管内壁检测方法的流程示意图。如图12所示,该方法包括:Referring to FIG. 12, FIG. 12 is a schematic flowchart of a method for detecting an inner wall of a microtube according to an embodiment of the present application. As shown in Figure 12, the method includes:
S1201、微细管内壁检测装置根据微细管内壁反射的相干光获取所述微细管内壁的全景散斑图像。S1201. The micro-tube inner wall detecting device acquires a panoramic speckle image of the inner wall of the micro-tube according to coherent light reflected from the inner wall of the micro-tube.
在一种可行的实施例中,根据微细管内壁反射的相干光获取所述微细管内壁的全景散斑图像,包括:In a feasible embodiment, acquiring a panoramic speckle image of the inner wall of the micro tube according to coherent light reflected from the inner wall of the micro tube includes:
根据所述微细管内壁反射的相干光,获取多张微细管内壁的全景子散斑图像;Obtaining a plurality of panoramic sub-speckle images of the inner wall of the micro tube according to the coherent light reflected from the inner wall of the micro tube;
将所述多张微细管内壁的全景子散斑图像拼接成所述微细管内壁的全景散斑图像。The panoramic sub-speckle images on the inner wall of the plurality of microtubes are stitched into the panoramic speckle images on the inner wall of the micro-tube.
S1202、微细管内壁检测装置根据缺陷识别模型对所述微细管内壁的全景散斑图像进行计算,以得到计算结果。S1202. The micro-tube inner wall detecting device calculates a panoramic speckle image of the inner wall of the micro-tube according to a defect recognition model to obtain a calculation result.
S1203、微细管内壁检测装置从计算结果与缺陷类型的对应关系表中获取所述计算结果对应的缺陷类型,以确定所述微细管内壁的缺陷类型。S1203. The micro-tube inner wall detecting device obtains a defect type corresponding to the calculation result from a correspondence table between the calculation result and the defect type, so as to determine the defect type of the micro-tube inner wall.
在一种可行的实施例中,所述方法还包括:In a feasible embodiment, the method further includes:
在根据所述计算结果确定所述微细管内壁的缺陷类型之前,获取多组散斑 图像,所述每组散斑图像中的每张散斑图像均对应一种缺陷类型;Before determining the defect type of the inner wall of the microtube according to the calculation result, acquiring multiple sets of speckle images, each speckle image in each set of speckle images corresponding to a defect type;
根据所述多组散斑图像进行神经网络训练,以得到所述缺陷识别模型;Performing neural network training according to the multiple sets of speckle images to obtain the defect recognition model;
分别将所述多组散斑图像输入到所述缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the multiple sets of speckle images to the defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
根据所述多组计算结果,获取所述计算结果与缺陷类型的对应关系表,所述计算结果与缺陷类型的对应关系表包括计算结果范围和对应的缺陷类型,所述计算结果范围的上限和下限分别缺陷类型对应的一组计算结果的最大值和最小值。According to the plurality of sets of calculation results, a correspondence table between the calculation results and the defect type is obtained, and the correspondence table between the calculation results and the defect type includes a calculation result range and a corresponding defect type, and an upper limit of the calculation result range and The lower limit is the maximum and minimum of a set of calculation results corresponding to the defect type, respectively.
在一种可行的实施例中,所述方法还包括:In a feasible embodiment, the method further includes:
在根据所述计算结果确定所述微细管内壁的缺陷类型之前,向第三方服务器发送请求消息,所述请求消息用于请求获取所述第三方服务器存储的所述缺陷识别模型和计算结果与缺陷类型的对应关系表;Before determining the defect type of the inner wall of the microtube according to the calculation result, a request message is sent to a third-party server, where the request message is used to request to obtain the defect identification model and calculation result and defect stored by the third-party server. Type correspondence table;
接收所述第三方服务器发送的响应消息,以响应所述请求消息,所述响应消息携带所述缺陷识别模型和计算结果与缺陷类型的对应关系表。Receiving a response message sent by the third-party server in response to the request message, the response message carrying the defect identification model and a correspondence table between calculation results and defect types.
在一种可行的实施例中,所述方法还包括:In a feasible embodiment, the method further includes:
每使用所述缺陷识别模型和计算结果与缺陷类型的对应关系表进行缺陷类型识别N次后,重新获取多组散斑图像,所述N为大于1的整数;After each defect type identification is performed N times using the defect identification model and the correspondence table between the calculation result and the defect type, multiple sets of speckle images are obtained again, where N is an integer greater than 1;
根据重新获取的多组散斑图像,对所述缺陷识别模型进行重训练,以得重训练后的缺陷识别模型;Retraining the defect recognition model according to the reacquired multiple sets of speckle images to obtain the retrained defect recognition model;
分别将所述重新获取的多组散斑图像输入到所述训练后的缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the reacquired multiple sets of speckle images to the trained defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
根据所述多组计算结果,重新获取所述计算结果与缺陷类型的对应关系表。According to the plurality of sets of calculation results, a correspondence table between the calculation results and defect types is obtained again.
在一种可行的实施例中,所述相干光为紫外光到近红外光之间任一频率的激光。In a feasible embodiment, the coherent light is a laser at any frequency between ultraviolet light and near-infrared light.
在此需要说明的是,上述步骤S1201-S1203的具体实现方式可以参见图1-图11所示实施例的相关描述,在此不再叙述。It should be noted that, for specific implementation manners of the foregoing steps S1201 to S1203, reference may be made to related descriptions of the embodiments shown in FIGS. 1 to 11, and details are not described herein again.
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质存储有 计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述计算机执行如图12所示实施例的全部或部分方法。An embodiment of the present application further provides a computer storage medium. The computer storage medium stores a computer program, where the computer program includes program instructions, and when the program instructions are executed by a processor, the computer executes the programs as shown in FIG. 12. Shows all or part of the method of the embodiment.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been described in detail above. Specific examples have been used in this document to explain the principles and implementation of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application. Persons of ordinary skill in the art may change the specific implementation and application scope according to the idea of the present application. In summary, the content of this description should not be construed as a limitation on the present application.

Claims (10)

  1. 一种基于相干光的微细管内壁检测装置,其特征在于,包括:A microtube inner wall detection device based on coherent light is characterized in that it includes:
    检测探头,通过光纤与所述检测探头相连接的半透半反镜,第一透镜、第二透镜,相干光发射器,相干光接收器和图像处理器;所述检测探头的前端设置有圆锥反射镜;A detection probe, a transflective mirror connected to the detection probe through an optical fiber, a first lens, a second lens, a coherent light transmitter, a coherent light receiver, and an image processor; the front end of the detection probe is provided with a cone Reflector;
    所述相干光发射器,用于产生入射相干光,经过所述第一透镜、所述半透半反镜和光纤传输至所述检测探头;The coherent light emitter is configured to generate incident coherent light, and transmit the coherent light to the detection probe through the first lens, the half mirror, and an optical fiber;
    所述检测探头的圆锥反射镜,用于将所述入射相干光投射到所述微细管内壁上,并反射所述微细管内壁反射的相干光,经过所述光纤、所述半透半反镜和所述第二透镜传输至所述相干光接收器;The conical mirror of the detection probe is used for projecting the incident coherent light onto the inner wall of the microtube, and reflecting the coherent light reflected on the inner wall of the microtube, passing through the optical fiber and the semi-transparent mirror And the second lens is transmitted to the coherent light receiver;
    所述相干光接收器,用于根据反射相干光得到微细管内壁的散斑图像;并将所述微细管内壁的散斑图像传输至所述图像处理器;The coherent light receiver is configured to obtain a speckle image of the inner wall of the micro tube according to the reflected coherent light; and transmit the speckle image of the inner wall of the micro tube to the image processor;
    所述图像处理器,用于根据所述微细管内壁的散斑图像,确定所述微细管内壁的缺陷类型。The image processor is configured to determine a defect type of the inner wall of the microtube based on a speckle image of the inner wall of the microtube.
  2. 根据权利要求1所述的装置,其特征在于,所述微细管内壁的散斑图像包括多张微细管内壁的全景子散斑图像,所述图像处理器根据所述微细管内壁的散斑图像,确定所述微细管内壁的缺陷类型,包括:The device according to claim 1, wherein the speckle image of the inner wall of the microtube includes multiple panoramic subspeckle images of the inner wall of the microtube, and the image processor is based on the speckle image of the inner wall of the microtube. To determine the type of defect on the inner wall of the microtube, including:
    所述图像处理器将所述多张微细管内壁的全景子散斑图像拼接成所述微细管内壁的全景散斑图像;The image processor stitches the panoramic sub-speckle images of the inner wall of the plurality of micro-tubes into the panoramic speckle images of the inner wall of the micro-tube;
    所述图像处理器根据缺陷识别模型对所述微细管内壁的全景散斑图像进行计算,以得到计算结果;Calculating, by the image processor, a panoramic speckle image on the inner wall of the microtube according to a defect recognition model to obtain a calculation result;
    所述图像处理器从计算结果与缺陷类型的对应关系表中获取所述计算结果对应的缺陷类型,以确定所述微细管内壁的缺陷类型。The image processor obtains a defect type corresponding to the calculation result from a correspondence table between the calculation result and the defect type to determine the defect type of the inner wall of the microtube.
  3. 根据权利要求2所述的装置,其特征在于,所述图像处理器还用于:The apparatus according to claim 2, wherein the image processor is further configured to:
    在根据所述计算结果确定所述微细管内壁的缺陷类型之前,获取多组散斑图像,所述多组散斑图像的每组散斑图像中的每张散斑图像均对应一种缺陷类 型;Before determining the defect type of the inner wall of the microtube according to the calculation result, multiple sets of speckle images are obtained, and each speckle image in each set of speckle images of the multiple set of speckle images corresponds to a defect type ;
    根据所述多组散斑图像进行神经网络训练,以得到所述缺陷识别模型;Performing neural network training according to the multiple sets of speckle images to obtain the defect recognition model;
    分别将所述多组散斑图像输入到所述缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the multiple sets of speckle images to the defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
    根据所述多组计算结果,获取所述计算结果与缺陷类型的对应关系表,所述计算结果与缺陷类型的对应关系表包括计算结果范围和对应的缺陷类型,所述计算结果范围的上限和下限分别缺陷类型对应的一组计算结果的最大值和最小值。According to the plurality of sets of calculation results, a correspondence table between the calculation results and the defect type is obtained, and the correspondence table between the calculation results and the defect type includes a calculation result range and a corresponding defect type, and an upper limit of the calculation result range and The lower limit is the maximum and minimum of a set of calculation results corresponding to the defect type, respectively.
  4. 根据权利要求2所述的装置,其特征在于,所述图像处理器还用于:The apparatus according to claim 2, wherein the image processor is further configured to:
    在根据所述计算结果确定所述微细管内壁的缺陷类型之前,向第三方服务器发送请求消息,所述请求消息用于请求获取所述第三方服务器存储的所述缺陷识别模型和计算结果与缺陷类型的对应关系表;Before determining the defect type of the inner wall of the microtube according to the calculation result, a request message is sent to a third-party server, where the request message is used to request to obtain the defect identification model and calculation result and defect stored by the third-party server. Type correspondence table;
    接收所述第三方服务器发送的响应消息,以响应所述请求消息,所述响应消息携带所述缺陷识别模型和计算结果与缺陷类型的对应关系表。Receiving a response message sent by the third-party server in response to the request message, the response message carrying the defect identification model and a correspondence table between calculation results and defect types.
  5. 根据权利要求3或4所述的装置,其特征在于,所述图像处理器还用于:The apparatus according to claim 3 or 4, wherein the image processor is further configured to:
    每使用所述缺陷识别模型和计算结果与缺陷类型的对应关系表进行缺陷类型识别N次后,重新获取多组散斑图像,所述N为大于1的整数;After each defect type identification is performed N times using the defect identification model and the correspondence table between the calculation result and the defect type, multiple sets of speckle images are obtained again, where N is an integer greater than 1;
    根据重新获取的多组散斑图像,对所述缺陷识别模型进行重训练,以得重训练后的缺陷识别模型;Retraining the defect recognition model according to the reacquired multiple sets of speckle images to obtain the retrained defect recognition model;
    分别将所述重新获取的多组散斑图像输入到所述训练后的缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the reacquired multiple sets of speckle images to the trained defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
    根据所述多组计算结果,重新获取所述计算结果与缺陷类型的对应关系表。According to the plurality of sets of calculation results, a correspondence table between the calculation results and defect types is obtained again.
  6. 根据权利要求1-5任一项所述的装置,其特征在于,所述装置还包括: 与所述检测探头相连接的运动机构;The device according to any one of claims 1-5, further comprising: a movement mechanism connected to the detection probe;
    所述运动机构,用于牵引所述检测在所述微细管中移动,且每次移动的距离小于或等于所述检测探头每次所检测的微细管的长度;The movement mechanism is used for pulling the detection to move in the microtube, and the distance of each movement is less than or equal to the length of the microtube detected by the detection probe each time;
    所述检测探头还包括旋转装置,用于旋转所述检测探头,且旋转的角度为用户输入的角度。The detection probe further includes a rotation device for rotating the detection probe, and the rotation angle is an angle input by a user.
  7. 一种基于相干光的微细管内壁检测方法,其特征在于,包括:A method for detecting the inner wall of a microtube based on coherent light, comprising:
    根据所述微细管内壁反射的相干光,获取多张微细管内壁的全景子散斑图像;并将所述多张微细管内壁的全景子散斑图像拼接成所述微细管内壁的全景散斑图像;Obtaining a plurality of panoramic sub-speckle images of the inner wall of the micro tube according to the coherent light reflected from the inner wall of the micro-tube; and stitching the panoramic sub-speckle images of the inner wall of the plurality of micro-tubes into a panoramic speckle of the inner wall of the micro-tube image;
    根据缺陷识别模型对所述微细管内壁的全景散斑图像进行计算,以得到计算结果;Calculating the panoramic speckle image on the inner wall of the microtube according to the defect recognition model to obtain a calculation result;
    从计算结果与缺陷类型的对应关系表中获取所述计算结果对应的缺陷类型,以确定所述微细管内壁的缺陷类型。A defect type corresponding to the calculation result is obtained from a correspondence table between the calculation result and the defect type to determine the defect type of the inner wall of the microtube.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, further comprising:
    在根据所述计算结果确定所述微细管内壁的缺陷类型之前,获取多组散斑图像,所述多组散斑图像中的每组散斑图像中的每张散斑图像均对应一种缺陷类型;Before determining the defect type of the inner wall of the microtube according to the calculation result, multiple sets of speckle images are obtained, and each speckle image in each of the multiple sets of speckle images corresponds to a defect Types of;
    根据所述多组散斑图像进行神经网络训练,以得到所述缺陷识别模型;Performing neural network training according to the multiple sets of speckle images to obtain the defect recognition model;
    分别将所述多组散斑图像输入到所述缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the multiple sets of speckle images to the defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
    根据所述多组计算结果,获取所述计算结果与缺陷类型的对应关系表,所述计算结果与缺陷类型的对应关系表包括计算结果范围和对应的缺陷类型,所述计算结果范围的上限和下限分别缺陷类型对应的一组计算结果的最大值和最小值。According to the plurality of sets of calculation results, a correspondence table between the calculation results and the defect type is obtained, and the correspondence table between the calculation results and the defect type includes a calculation result range and a corresponding defect type, and an upper limit of the calculation result range and The lower limit is the maximum and minimum of a set of calculation results corresponding to the defect type, respectively.
  9. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, further comprising:
    在根据所述计算结果确定所述微细管内壁的缺陷类型之前,向第三方服务 器发送请求消息,所述请求消息用于请求获取所述第三方服务器存储的所述缺陷识别模型和计算结果与缺陷类型的对应关系表;Before determining the defect type of the inner wall of the microtube according to the calculation result, a request message is sent to a third-party server, where the request message is used to request to obtain the defect identification model and calculation result and defect stored by the third-party server. Type correspondence table;
    接收所述第三方服务器发送的响应消息,以响应所述请求消息,所述响应消息携带所述缺陷识别模型和计算结果与缺陷类型的对应关系表。Receiving a response message sent by the third-party server in response to the request message, the response message carrying the defect identification model and a correspondence table between calculation results and defect types.
  10. 根据权利要求7-9任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 7-9, wherein the method further comprises:
    每使用所述缺陷识别模型和计算结果与缺陷类型的对应关系表进行缺陷类型识别N次后,重新获取多组散斑图像,所述N为大于1的整数;After each defect type identification is performed N times using the defect identification model and the correspondence table between the calculation result and the defect type, multiple sets of speckle images are obtained again, where N is an integer greater than 1;
    根据重新获取的多组散斑图像,对所述缺陷识别模型进行重训练,以得重训练后的缺陷识别模型;Retraining the defect recognition model according to the reacquired multiple sets of speckle images to obtain the retrained defect recognition model;
    分别将所述重新获取的多组散斑图像输入到所述训练后的缺陷识别模型进行计算,以得到多组计算结果,所述多组计算结果中的每组计算结果对应一种缺陷类型;Inputting the reacquired multiple sets of speckle images to the trained defect recognition model for calculation respectively to obtain multiple sets of calculation results, and each of the multiple sets of calculation results corresponds to a defect type;
    根据所述多组计算结果,重新获取所述计算结果与缺陷类型的对应关系表。According to the plurality of sets of calculation results, a correspondence table between the calculation results and defect types is obtained again.
PCT/CN2018/097662 2018-07-27 2018-07-27 Device and method for detecting inner wall of microcapillary on basis of coherent light WO2020019348A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/097662 WO2020019348A1 (en) 2018-07-27 2018-07-27 Device and method for detecting inner wall of microcapillary on basis of coherent light
CN201880067108.9A CN111213053A (en) 2018-07-27 2018-07-27 Device and method for detecting inner wall of micro-fine tube based on coherent light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/097662 WO2020019348A1 (en) 2018-07-27 2018-07-27 Device and method for detecting inner wall of microcapillary on basis of coherent light

Publications (1)

Publication Number Publication Date
WO2020019348A1 true WO2020019348A1 (en) 2020-01-30

Family

ID=69180725

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/097662 WO2020019348A1 (en) 2018-07-27 2018-07-27 Device and method for detecting inner wall of microcapillary on basis of coherent light

Country Status (2)

Country Link
CN (1) CN111213053A (en)
WO (1) WO2020019348A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115389538A (en) * 2022-08-09 2022-11-25 深圳市埃芯半导体科技有限公司 X-ray analysis apparatus and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113702400A (en) * 2021-08-09 2021-11-26 复旦大学 Panoramic technology-based pipeline inner wall defect detection system and detection method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4967092A (en) * 1988-05-17 1990-10-30 Societe Anonyme Dite Hispano-Suiza Apparatus for optically checking the inner profile of a tube or bore
US20040189987A1 (en) * 2000-11-15 2004-09-30 Quest Integrated Inc. A method for reformer tube in situ inspection radius calculation
CN101023319A (en) * 2004-09-22 2007-08-22 罗伯特·博世有限公司 Optical measuring device for measuring several surfaces of a measuring object
CN101701922A (en) * 2009-11-19 2010-05-05 西北工业大学 Device for carrying out optical non-destructive testing on surface of annular inner wall
CN104568983A (en) * 2015-01-06 2015-04-29 浙江工业大学 Active-omni-directional-vision-based pipeline inside functional defect detection device and detection method
CN105486695A (en) * 2014-10-01 2016-04-13 业纳工业计量德国公司 Hole detection device
CN107490549A (en) * 2016-06-10 2017-12-19 波音公司 EO-1 hyperion borescope system
CN108037190A (en) * 2017-11-03 2018-05-15 大连理工大学 A kind of high temperature furnace pipe damage rank intelligence assessment method based on neutral net

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3167260B2 (en) * 1995-04-13 2001-05-21 株式会社クボタ In-pipe inspection equipment
JP5779461B2 (en) * 2011-09-21 2015-09-16 株式会社トプコン Optical coherence tomographic image processing apparatus and operating method thereof
CN102608124A (en) * 2012-04-06 2012-07-25 天津大学 Micro-pipe internal flaw and appearance measurement device and method
CN103063684B (en) * 2012-12-20 2015-09-23 西安石油大学 A kind of inner-walls of duct panorama sketch display and defect positioning method
CN103673880A (en) * 2013-12-06 2014-03-26 上海新跃仪表厂 Micro-hole inner wall vision inspection system based on composite reflector and inspection method of system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4967092A (en) * 1988-05-17 1990-10-30 Societe Anonyme Dite Hispano-Suiza Apparatus for optically checking the inner profile of a tube or bore
US20040189987A1 (en) * 2000-11-15 2004-09-30 Quest Integrated Inc. A method for reformer tube in situ inspection radius calculation
CN101023319A (en) * 2004-09-22 2007-08-22 罗伯特·博世有限公司 Optical measuring device for measuring several surfaces of a measuring object
CN101701922A (en) * 2009-11-19 2010-05-05 西北工业大学 Device for carrying out optical non-destructive testing on surface of annular inner wall
CN105486695A (en) * 2014-10-01 2016-04-13 业纳工业计量德国公司 Hole detection device
CN104568983A (en) * 2015-01-06 2015-04-29 浙江工业大学 Active-omni-directional-vision-based pipeline inside functional defect detection device and detection method
CN107490549A (en) * 2016-06-10 2017-12-19 波音公司 EO-1 hyperion borescope system
CN108037190A (en) * 2017-11-03 2018-05-15 大连理工大学 A kind of high temperature furnace pipe damage rank intelligence assessment method based on neutral net

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115389538A (en) * 2022-08-09 2022-11-25 深圳市埃芯半导体科技有限公司 X-ray analysis apparatus and method
CN115389538B (en) * 2022-08-09 2023-12-29 深圳市埃芯半导体科技有限公司 X-ray analysis device and method

Also Published As

Publication number Publication date
CN111213053A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
TWI698635B (en) Systems, methods and non-transitory computer-readable media for determining parameters of a metrology process to be performed on a specimen
CN101109715B (en) Optical method for detecting defect on inner wall of holes
JP6515344B2 (en) Defect detection apparatus and defect detection method
JP2008292365A (en) Shape evaluation method, shape evaluation device, and three-dimensional inspection device
JP6079948B1 (en) Surface defect detection device and surface defect detection method
CN100480623C (en) Method for measuring three-dimensional objects by single view backlit shadowgraphy using optical laws of light propagation
WO2020019348A1 (en) Device and method for detecting inner wall of microcapillary on basis of coherent light
CN101109716A (en) Optical detecting method for internal surface of hole
WO2013100004A1 (en) Method for measuring shape of threaded tube end portion
CN108287165A (en) Defect inspection method and defect inspection system
WO2021179400A1 (en) Computer vision-based adaptive measurement system and method for geometric parameters in assembly process
Liu et al. Review of optical detection technologies for inner-wall surface defects
Yuan et al. High dynamic online detection method for surface defects of small diameter reflective inner wall
JP2018025478A (en) Appearance inspection method and appearance inspection apparatus
JP6481217B1 (en) Tubular body surface inspection apparatus and tubular body surface inspection method
JPWO2018221653A1 (en) Tubular internal surface inspection method and tubular internal surface inspection apparatus
WO2018072447A1 (en) Differential interference-based optical film defect detection method
JP2011069616A (en) Device and method for inspection inner surface of pipe material
JP5388467B2 (en) Optical device defect inspection method and optical device defect inspection apparatus
JP6647903B2 (en) Image inspection device, image inspection program, computer-readable recording medium, and recorded device
CN204630951U (en) Pipeline on-line measuring device
CN110956659A (en) Industrial CT-based rapid measuring method for wall thickness of annular cross section
JP2015210151A (en) Method and device for detecting surface defect
JP6604258B2 (en) Thread shape measuring device for threaded tubes
JP2018040792A (en) Inspection system, inspection method, method of manufacturing films

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18927823

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.06.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18927823

Country of ref document: EP

Kind code of ref document: A1