A visual scanning-based oil drill pipe surface defect detection device

By using clamping components and laser detection technology, the problem of automatic defect location in the secondary inspection of oil drill pipes has been solved, achieving efficient defect detection and re-inspection, and adapting to automated inspection under irregular drill pipe placement.

CN122306692APending Publication Date: 2026-06-30QINGDAO ZHAOFA PETROLEUM MACHINERY MANUFACTURING CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
QINGDAO ZHAOFA PETROLEUM MACHINERY MANUFACTURING CO LTD
Filing Date
2026-03-31
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Existing visual scanning-based oil drill pipe surface defect detection devices cannot directly use the defect coordinates from the initial detection for automatic positioning during secondary inspections, resulting in increased workload and low detection efficiency during re-inspections.

Method used

A clamping assembly is used to fix the position and provide status feedback for the drill rod. The laser receiver and laser transmitter interact to detect the position. The ring gear and laser probe work together with the displacement assembly to collect position parameters in real time, build a position association model of the defect area, and directionally control the movement trajectory of the laser probe.

Benefits of technology

It enables automatic location of defects during the re-inspection process, reducing manual searching and repeated correction, improving detection efficiency, and adapting to location-based defect re-inspection under irregular drill pipe placement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122306692A_ABST
    Figure CN122306692A_ABST
Patent Text Reader

Abstract

This invention relates to the field of surface defect detection technology, specifically to a vision-based scanning surface defect detection device for oil drill pipes. It includes a drive unit, a displacement assembly, a laser probe, and a control feedback module. This solution uses a clamping assembly to fix the drill pipe's position and provide position status feedback. A laser receiver and laser emitter interact to detect and capture abnormal positional distributions of the drill pipe, avoiding the influence of irrelevant defects or abnormal placement on the surface defect detection. Simultaneously, the displacement assembly and drive unit perform defect detection at different locations on the drill pipe's outer surface, achieving comprehensive defect detection. The control feedback module collects positional parameters of the detection area in real time, constructing a location-based defect re-inspection route for irregularly placed drill pipes, precisely capturing the repair status of each defect repair point, avoiding repeated position corrections, and improving re-inspection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of surface defect detection technology, and more specifically, to a visual scanning-based device for detecting surface defects in oil drill pipes. Background Technology

[0002] Oil drill pipe is a core load-bearing component in drilling operations, enduring complex alternating loads such as tension, compression, bending, and torsion downhole, while also facing the corrosive effects of corrosive media. Once defects such as cracks, pits, scratches, or corrosion appear on the drill pipe surface, fatigue fracture can easily occur in stress concentration zones, leading to downhole accidents and causing significant economic losses and personnel casualties. Therefore, efficient and accurate surface defect detection of oil drill pipe is a crucial step in ensuring drilling safety.

[0003] Currently, the detection of surface defects in oil drill pipes mainly relies on automated inspection equipment. Among them, vision-based scanning inspection devices have become the mainstream technical solution due to their advantages such as non-contact operation, high precision, and high efficiency. These devices typically include a laser probe, a rotary drive mechanism, an axial movement mechanism, and a data processing system. During inspection, the laser probe is positioned on the outside of the oil drill pipe. Driven by the rotary drive mechanism, the laser probe rotates uniformly around its own axis, while the axial movement mechanism drives the laser probe to move along the drill pipe axis, allowing the probe to cover the entire outer surface of the drill pipe in a helical scanning path. The laser probe acquires depth data of the drill pipe surface in real time. Based on the axial movement distance of the probe, the rotation angle of the drill pipe, and the distance value measured by the laser probe, the system calculates the three-dimensional spatial coordinates of each point on the surface, thereby identifying the location, size, and shape of defects (protrusions or depressions).

[0004] The aforementioned detection methods can automatically locate and record defects during the initial inspection. However, in practical applications, secondary inspections are often required. Examples include manual verification of initially detected suspicious defects, re-inspection and verification of repaired drill pipes, or repeated measurement of specific defects during sampling inspections. In such re-inspection scenarios, existing devices exhibit significant shortcomings.

[0005] Because the drill pipe has a cylindrical structure, its surface lacks a naturally unique mounting reference. During the initial inspection, the drill pipe is clamped onto the rotating mechanism using a chuck or ejector pin, and the location coordinates of defects are recorded based on the initial position determined during this clamping (such as the intersection of an end face and a specific angle). For a second inspection, the same drill pipe needs to be clamped onto the inspection equipment again. Due to the drill pipe's lack of absolute positioning features such as circumferential keyways and axial locating pins, the initial position of the second clamping will inevitably deviate randomly from the first. This means that the defect coordinates recorded during the initial inspection no longer correspond to the same physical point on the drill pipe surface after the second clamping, but rather to a new, uncertain position.

[0006] Therefore, existing equipment cannot directly use the defect coordinates from the initial inspection to automatically move the probe to the target defect location during secondary inspections. Operators must manually re-capture each defect: first, based on the approximate area of ​​the defect in the initial inspection report, they manually control the probe movement and drill rod rotation, relying on real-time displayed depth images or point cloud data to re-locate and confirm the defect position. This process not only heavily relies on the operator's experience and patience, but also requires repeated manual searching and positioning for multiple defects, resulting in a significant increase in workload and a substantial decrease in inspection efficiency, making it difficult to meet the needs of large-scale and automated re-inspections.

[0007] To address the aforementioned issues, there is an urgent need for a vision-based oil drill pipe surface defect detection device capable of planning defect detection paths during the re-inspection process. Summary of the Invention

[0008] The purpose of this invention is to provide a visual scanning-based surface defect detection device for oil drill pipes to solve the problems mentioned in the background art.

[0009] To achieve the above objectives, a visual scanning-based surface defect detection device for oil drill pipes is provided, comprising a base, a pair of side platforms for clamping and fixing the drill pipe, and a detection assembly surrounding the outside of the drill pipe. Clamping assemblies are provided on opposite sides of the two side platforms to clamp and fix the drill pipe while simultaneously providing feedback on its position during clamping. The detection assembly includes an outer ring, a ring gear rotatably disposed within it, and a laser probe disposed within the ring gear. A displacement assembly is connected between the bottom of the detection assembly and the top of the base. A driving component is disposed between the outer ring and the ring gear. As the displacement assembly drives the detection assembly to slide along the outer surface of the drill pipe, the driving component, in conjunction with the ring gear, drives the ring gear to perform a circular motion along the outer surface of the drill pipe, thus detecting defects along the outer surface of the drill pipe.

[0010] A control feedback module is configured between the drive component, the displacement component, and the laser probe. The control feedback module collects the position parameters of the detection area in real time, locates the defect location, constructs a position association model of the same drill pipe defect area, and issues control parameters to directionally control the movement trajectory of the laser probe in combination with the position association model of the drill pipe defect area.

[0011] As a further improvement to this technical solution, the clamping assembly includes a clamping column and a plurality of limiting blocks disposed on the side of the clamping column. A main pneumatic push rod is connected between the clamping column and the side of the side platform. Each of the limiting blocks is arranged in an array on the outside of the clamping column and is connected to a secondary pneumatic push rod between itself and the side of the clamping column. The pneumatic push rod drives the limiting blocks to slide along the side of the clamping column to the inner wall of the drill pipe, and the drill pipe is fixed by the thrust generated by the mutually symmetrical limiting blocks.

[0012] As a further improvement to this technical solution, several laser emitters and laser receivers are provided on the sides of both limiting blocks. The laser emitters and laser receivers are located between the sides of each limiting block and the clamping column, and the laser emitters and laser receivers are arranged symmetrically in pairs. The laser emitters and laser receivers are exposed or covered by the displacement of the limiting blocks. The laser receivers at different positions receive feedback from the emitted lasers to indicate the displacement of the limiting blocks at the corresponding positions.

[0013] As a further improvement to this technical solution, the method for feeding back the position status during drill pipe clamping includes the following steps:

[0014] S1. The laser probe rotates synchronously with the ring gear, emitting laser light at different positions on the outer surface of the drill pipe. After reflection from the outer surface of the drill pipe, the laser light is received. A distance measurement algorithm is used to obtain the distance from the laser probe to the current position on the outer surface of the drill pipe. ,in This indicates the distance from the laser probe to the current position on the outer surface of the drill pipe. The speed at which laser light travels through the air. The time it takes for the laser probe to travel from emitting laser light to receiving the reflected laser light;

[0015] S2. Obtain the laser receiver reception status at each position, and determine the position status during the current drill pipe clamping process based on the laser receiver reception status;

[0016] When the laser receiver at some locations fails to report laser reception, and the detection results show that the detection distance on the opposite side of the drill pipe's outer surface is... There is a regular difference in the detection distance of the opposite outer surface. Detection distance below normal conditions When this regular difference is continuous, it indicates that the drill pipe is currently in an inclined state.

[0017] When the detection distance of the drill pipe section The presence of a regular difference indicates that the drill pipe is currently in a bent state.

[0018] As a further improvement to this technical solution, the driving component includes a drive motor and a drive gear. The drive motor drives the drive gear to rotate, and the drive gear and the side of the ring gear are meshed. When the drive gear is rotating, it will synchronously drive the ring gear to make a circular motion along the outside of the drill rod.

[0019] As a further improvement to this technical solution, a number of limiting plates are provided between the outer ring and the ring gear. One end of the limiting plate is fixed to the side of the outer ring, and the other end has a U-shaped structure, with the end snapped into the inner side of the ring gear and in contact with its inner wall.

[0020] As a further improvement to this technical solution, limiting gears are provided on both sides of the outer ring. The limiting gears are rotatably connected to the outer ring, and the side of the limiting gear is meshed with the outside of the ring gear, rotating synchronously with the ring gear to limit the side of the ring gear.

[0021] As a further improvement to this technical solution, the location parameters of the detection area include the defect difference value. Rotation angle and the number of rotations .

[0022] As a further improvement to this technical solution, the method for acquiring the location parameters includes the following steps:

[0023] S101. Obtain the total number of pulses generated by the drive motor driving the ring gear to rotate one revolution through the encoder. Capture the pulse count n of the current defect area, reset it to zero once every rotation, and calculate the rotation angle of the current defect area. ;

[0024] S102. Each time the encoder returns to zero, it indicates that the ring gear has rotated one revolution. The number of times the encoder returns to zero is recorded as the number of revolutions. ;

[0025] S103. Pre-collect the standard detection distance under the normal detection conditions when the drill pipe leaves the factory. Obtain the detection distance of the current defect area. Calculate the defect difference .

[0026] As a further improvement to this technical solution, the method for constructing a location association model of the same drill pipe defect area by the control feedback module includes the following steps:

[0027] S1001, Based on the number of rotations The size is used to sequentially mark each defect point, and a defect point location distribution set is established. ,in to Defect points at different positions along the direction of movement of the detection component, where m represents the total number of defect points detected so far;

[0028] S1002, Based on the defect point location distribution set Calculate the position adjustment difference between adjacent defect points Among them, position adjustment difference ;

[0029] S1003. Calculate the position adjustment difference between each adjacent defect point. Construct a mobile route dataset ;

[0030] S1004. Eliminate abnormal drill pipe positions based on position status feedback during drill pipe clamping;

[0031] S1005. A coaxial optical structure is adopted so that the emission optical path and the receiving optical path of the laser probe share the same optical axis, so that the receiver is always located in the main direction of the mirror reflection.

[0032] S1006. A beam splitter is used to couple the laser emitter and receiver onto the same optical path, so that the laser is emitted along the optical axis. After irradiating the smooth surface, the reflected light returns along the original optical path and is guided to the receiver by the beam splitter to identify the smooth surface.

[0033] S1007. Mark the first obtained smooth surface as the initial defect repair point, and obtain the position parameters of the current initial defect repair point. The corresponding position is ;

[0034] S1008. Based on the constructed movement route dataset Calculate the position adjustment difference for each defect repair point, and then use the position adjustment difference and the initial position parameters of the defect repair points. Update the new position points of each adjacent defect repair point, and drive the drive motor to rotate and adjust its drive gear according to the position points.

[0035] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0036] 1. In this vision-based oil drill pipe surface defect detection device, the drill pipe is fixed in position and its position status is fed back by a clamping component. The laser receiver and laser emitter are used to perform position interaction detection, capture feedback of abnormal position distribution of the drill pipe, and avoid the influence of irrelevant defects or abnormal placement on the surface defect detection work of the drill pipe.

[0037] 2. In this vision-based oil drill pipe surface defect detection device, a ring gear and laser probe are used in conjunction with a displacement component and a drive component to perform defect detection at different locations on the outer surface of the drill pipe, achieving all-round defect detection. The configured control feedback module collects the position parameters of the detection area in real time, locates the defect points based on the position parameters, calculates the position adjustment difference between adjacent defect points, and generates a movement route dataset with the captured initial defect repair points. This constructs a positioning defect re-inspection route for the irregular placement of the drill pipe, captures the repair status of each defect repair point at fixed points, avoids repeated position corrections, and improves re-inspection efficiency. Attached Figure Description

[0038] Figure 1 This is one of the overall structural schematic diagrams of the present invention;

[0039] Figure 2 This is a second schematic diagram of the overall structure of the present invention;

[0040] Figure 3 This is an exploded view of the side platform structure of the present invention;

[0041] Figure 4 This is a schematic diagram of the detection component structure of the present invention;

[0042] Figure 5 This is a schematic diagram simulating the abnormal location distribution of the drill pipe according to the present invention;

[0043] Figure 6 This is a planar schematic diagram of the detection component of the present invention;

[0044] Figure 7 This is a second planar schematic diagram of the detection component of the present invention;

[0045] Figure 8 This is a schematic diagram simulating the movement state of the detection component of the present invention.

[0046] The meanings of the labels in the diagram are as follows:

[0047] 10. Base; 110. Servo motor; 120. Lead screw; 130. Side plate

[0048] 20. Side platform; 210. Clamping post; 220. Limiting block;

[0049] 30. Detection component; 310. Drive component; 311. Drive motor; 312. Drive gear; 320. Ring gear; 330. Laser probe; 340. Roller; 350. Screw hole; 360. Limit gear; 370. Limit plate. Detailed Implementation

[0050] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0051] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0052] Please see Figure 1 As shown, a visual scanning-based oil drill pipe surface defect detection device is provided, including a base 10, a pair of side platforms 20 for clamping and fixing the drill pipe, and a detection component 30 surrounding the outside of the drill pipe. Clamping components are provided on opposite sides of the two side platforms 20 to clamp and fix the drill pipe while feeding back the position status of the drill pipe during clamping. The detection component 30 includes an outer ring, a ring gear 320 rotatably disposed inside it, and a laser probe 330 disposed inside the ring gear 320. A displacement component is connected between the bottom end of the detection component 30 and the top end of the base 10. A driving component 310 is disposed between the outer ring and the ring gear 320. When the displacement component drives the detection component 30 to slide along the outer surface of the drill pipe, the driving component 310 drives the ring gear 320 to make a circular motion along the outside of the drill pipe to detect defects along the outer surface of the drill pipe.

[0053] A control feedback module is configured between the drive component 310, the displacement component, and the laser probe 330. The control feedback module collects the position parameters of the detection area in real time, locates the defect location, constructs a position association model of the same drill pipe defect area, and issues control parameters. Combined with the position association model of the drill pipe defect area, the laser probe 330 is directionally controlled to move.

[0054] The specific implementation method is as follows:

[0055] First, the clamping assembly includes a clamping post 210 and several limiting blocks 220 disposed on the side of the clamping post 210. The clamping post 210 is connected to the side of the side platform 20 by a main pneumatic push rod. Each limiting block 220 is arranged in an array on the outside of the clamping post 210 and is connected to the side of the clamping post 210 by a secondary pneumatic push rod. The pneumatic push rod drives the limiting blocks 220 to slide along the side of the clamping post 210. During the clamping and fixing of the drill rod, the drill rod needs to be moved to the position between the two clamping posts 210 so that the inner side of the drill rod is aligned with the clamping post 210. At this time, the clamping post 210 at the other end is also aligned with the inner side of the other end of the drill rod. The main pneumatic push rod drives the clamping post 210 to move towards the inner side of the drill rod until the clamping post 210 is fully inserted into the inner end of the drill rod, thus completing the pre-fixing of the drill rod. Then, the auxiliary pneumatic push rod is activated, which drives each limit block 220 to move along the side of the clamping column 210 towards the inner wall of the drill rod until the side of the limit block 220 is in contact with the inner wall of the drill rod, thus completing the fixing of the drill rod.

[0056] However, drill pipes can be affected by placement or inherent defects, such as Figure 5 As shown, under normal conditions, the drill rod is placed horizontally and has no defects. At this time, the centers of the two sides are aligned with the centers of the corresponding clamping posts 210, and the sides of each limiting block 220 are attached to different positions on the inner side of the drill rod, achieving stable clamping. However, if the drill rod tilts during placement or bends during use, the centers of the two sides or some areas may become inconsistent, leading to misjudgments of defects during subsequent defect detection. To solve this problem, this solution provides several laser emitters and receivers on the sides of both limiting blocks 220. The laser emitters and receivers are positioned between each limiting block 220 and the side of the clamping post 210, and are symmetrically arranged in pairs. When the limiting blocks 220 are stationary, the laser emitters and receivers are covered and blocked, preventing them from emitting laser light. When the limiting blocks 220 move to a position where they are in contact with the inner wall of the drill rod, the laser emitters and receivers are exposed, and the corresponding laser emitters will emit laser light. The laser beam is directed to the laser receiver at the corresponding position. The laser receiver receives laser feedback. When the drill rod is tilted or bent, some of the limit blocks 220 can be fully displaced, exposing the corresponding laser transmitter or laser receiver. Other limit blocks 220 cannot be fully displaced, and the corresponding laser transmitter or laser receiver remains blocked. In this state, some laser receivers cannot provide feedback. Based on the distribution of laser receivers without feedback, an abnormal distribution of the drill rod position (i.e., abnormal placement or overall bending abnormality) is detected, which needs to be verified with subsequent laser ranging.

[0057] Furthermore, during the surface defect detection process of the drill pipe, a spiral detection operation is performed using the detection component 30 located on the outside of the drill pipe, such as... Figure 4 As shown, the driving component 310 includes a driving motor 311 and a driving gear 312. The driving motor 311 drives the driving gear 312 to rotate, and the driving gear 312 maintains a meshing connection with the side of the ring gear 320. When the driving gear 312 is rotating, it synchronously drives the ring gear 320 to make a circular motion along the outside of the drill rod. In order to ensure the stability of the ring gear 320 during rotation, several pairs of limiting plates 370 are provided between the outer ring and the ring gear 320. One end of the limiting plate 370 is fixed to the side of the outer ring, and the other end is U-shaped. The structure consists of a ring gear 320 and a drive gear 312. The ring gear 320 is inserted into the inner wall of the drive gear 312, limiting its movement and preventing disengagement. A limiting gear 360 is located on both sides of the outer ring, maintaining a rotatable connection with the outer ring. The side of the limiting gear 360 meshes with the outer side of the ring gear 320, rotating synchronously with it. This limits the side of the ring gear 320, preventing continuous contact with the inner side of the outer ring, which could easily cause wear at the contact point over time. The laser probe 330 is located inside the ring gear 320, with its end facing the outer surface of the drill rod. As the laser probe 330 rotates synchronously with the ring gear 320, it emits laser light to different positions on the outer surface of the drill rod. After reflection from the outer surface, the laser light is received. A distance measurement algorithm is used to obtain the distance from the laser probe 330 to the current position on the outer surface of the drill rod. ,in This indicates the distance from the laser probe 330 to the current position on the outer surface of the drill pipe. The speed at which a laser travels through the air is given by the following formula: , The time taken for the laser probe 330 to receive the reflected laser from the emission of the laser is used to provide feedback on the current defects on the outer surface of the drill rod by measuring the distance between the laser probe 330 and the current position on the outer surface of the drill rod (if it is a depression, the corresponding distance will increase compared to the normal state; if it is a bulge, the corresponding distance will decrease compared to the normal state).

[0058] It is worth noting that due to the presence of abnormal drill pipe locations, these abnormal locations need to be ruled out beforehand during the inspection process. When the inspection results show the detection distance on opposite sides of the drill pipe's outer surface... There is a regular difference, that is, the detection distance on one side of the outer surface. Detection distance exceeding normal conditions Detection distance of the opposite outer surface Detection distance below normal conditions Furthermore, this regular difference is continuous, indicating that the drill pipe is currently tilted. The detection distance in a portion of the drill pipe, i.e., the bending area, is... The presence of a regular difference indicates that the drill pipe is currently in a bent state.

[0059] After ruling out the two types of abnormal drill pipe location distributions mentioned above, the specific detection distance will then be determined. Extract and obtain the detection distance that differs from the standard detection distance. The location of the current defect is determined by the location parameters.

[0060] During the location parameter acquisition process, such as Figure 2-4 As shown, the displacement assembly includes a lead screw 120 and a servo motor 110 coaxially connected to one end of the lead screw 120. The bottom end of the detection assembly 30 has a threaded hole 350 that maintains a threaded connection with the lead screw 120. To ensure uniform operation on the outer surface of the drill rod, the position of the entire detection assembly 30 needs to be adjusted in real time so that it can move along the outer surface of the drill rod. This, combined with the rotating ring gear 320, allows for detection processing at different positions on the outer surface of the drill rod. Figure 8 As shown, the servo motor 110 drives the lead screw 120 to rotate in the same phase, and the screw hole 350 drives the detection component 30 to move evenly along the horizontal position. In order to ensure the stability of the overall movement, rollers 340 are provided on both sides of the bottom end of the detection component 30, and side plates 130 are provided on both sides of the top end of the base 10, directly opposite the rollers 340. There is a groove starting from the middle of the side plate 130. The rollers 340 move along the inner end of the groove at the corresponding position to correct their position and ensure that the detection component 30 can move stably along the horizontal position.

[0061] When the laser probe 330 detects the detection distance When a region with a difference is detected, the current outer surface area of ​​the drill pipe is marked as a defect region. The location parameters of the detection area are collected through the control feedback module, including the defect difference. Rotation angle and the number of rotations The specific data collection method is as follows:

[0062] First, the total number of pulses generated by the drive motor 311 driving the ring gear 320 to rotate one revolution is obtained through the encoder. Capture the pulse count n of the current defect area, reset it to zero once every rotation, and calculate the rotation angle of the current defect area. ,like Figure 6-7 As shown, The initial position of the laser probe 330, from Move to Surface depression detected, corresponding rotation angle for ,from Move to Detected surface protrusion, corresponding rotation angle for ;

[0063] Each time the encoder returns to zero, it indicates that the ring gear 320 has rotated one revolution. The number of times the encoder returns to zero is the number of revolutions. The servo motor 110 drives the lead screw 120 to rotate evenly, meaning that when the detection component 30 moves to different positions, the corresponding ring gear 320 rotates the same number of times.

[0064] In calculating the defect difference During the process, it is necessary to collect the standard inspection distance in advance under the normal inspection conditions of the drill pipe when it leaves the factory. Obtain the detection distance of the current defect area. Calculate the defect difference .

[0065] Furthermore, although the drill pipe may undergo angle adjustments during re-inspection, resulting in changes in the rotation angle of various defect points... The rotation angle between adjacent defect points has changed. Since the difference is fixed, it is only necessary to locate the defect point at the initial position, and then the rotation angle between adjacent defect points can be used to determine the result. The difference is used for positioning processing, and the surface defects of the drill rod (both protrusions and depressions) need to be ground after processing so that the original defect area is smoother than the other untreated areas.

[0066] Based on this, this solution constructs a location association model for the same drill pipe defect area and issues control parameters. The laser probe 330's movement trajectory is then directionally controlled using this model. The specific method is as follows:

[0067] First, during defect detection, based on the number of rotations... The size is used to sequentially mark each defect point, and a defect point location distribution set is established. ,in to Defect points at different positions along the moving direction of the detection component 30, where m represents the total number of defect points currently detected, and to Location is determined by positional parameters, such as defects. The position is Based on the defect point location distribution set Calculate the position adjustment difference between adjacent defect points Among them, position adjustment difference That is, the positional adjustment difference between two adjacent defect points. The positional adjustment difference between adjacent defect points is calculated by expressing the difference in the number of rotations and the difference in rotation angle between adjacent positions. Construct a mobile route dataset .

[0068] After defect repair is completed, a re-inspection is performed. First, abnormal drill rod positions are ruled out. A coaxial optical structure is used, meaning the emission and receiving optical paths of the laser probe 330 share the same optical axis, ensuring the receiver is always positioned on the principal direction of specular reflection. A beam splitter couples the laser emitter and receiver onto the same optical path, allowing the laser to exit along the optical axis. After illuminating the smooth surface (the treated defect point surface), the reflected light returns along the original optical path and is guided to the receiver by the beam splitter, thus identifying the smooth surface. The first smooth surface identified is marked as the initial defect repair point (i.e., the defect repair point closest to the drill bit tip, the repaired defect point). The position parameters of the current initial defect repair point are then obtained. The corresponding position is Based on the constructed mobile route dataset Calculate the position adjustment difference for each defect repair point, and then use the position adjustment difference and the initial position parameters of the defect repair points. The new position points of each adjacent defect repair point are updated, and the drive motor 311 is driven to rotate and adjust its drive gear 312 according to the new position points. The vertex is captured to capture the re-inspection results of each defect repair point.

[0069] This solution uses a clamping assembly to fix the drill rod's position and provide position status feedback. A laser receiver and laser emitter interact to detect and capture abnormal drill rod position distributions, avoiding the influence of irrelevant defects or abnormal placement on the drill rod's surface defect detection. Simultaneously, a ring gear 320 and laser probe 330, along with a displacement assembly and drive unit 310, perform defect detection at different locations on the drill rod's outer surface, achieving comprehensive defect detection. A configured control feedback module collects position parameters of the detection area in real time, locates defect points based on these parameters, calculates the position adjustment difference between adjacent defect points, and generates a movement route dataset using the captured initial defect repair points. This constructs a positioning-based defect re-inspection route for irregularly placed drill rods, precisely capturing the repair status of each defect repair point, avoiding redundant position corrections, and improving re-inspection efficiency.

[0070] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely preferred examples and are not intended to limit the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.

Claims

1. A visual scanning-based surface defect detection device for oil drill pipes, comprising a base (10), a pair of side platforms (20) for clamping and fixing the drill pipe, and a detection assembly (30) surrounding the outside of the drill pipe, wherein clamping assemblies are provided on opposite sides of the two side platforms (20) to clamp and fix the drill pipe while simultaneously providing feedback on the position status of the drill pipe during clamping, characterized in that: The detection component (30) includes an outer ring, a ring gear (320) rotatably disposed inside it, and a laser probe (330) disposed inside the ring gear (320). A displacement component is connected between the bottom end of the detection component (30) and the top end of the base (10). A driving component (310) is disposed between the outer ring and the ring gear (320). During the process of the displacement component driving the detection component (30) to slide along the outer surface of the drill rod, the driving component (310) drives the ring gear (320) to make a circular motion along the outer side of the drill rod, and performs defect detection along the outer surface of the drill rod. A control feedback module is configured between the drive component (310), the displacement component and the laser probe (330). The control feedback module collects the position parameters of the detection area in real time, locates the defect location, constructs a position association model of the same drill pipe defect area, and issues control parameters. Combined with the position association model of the drill pipe defect area, the laser probe (330) is directionally controlled to move.

2. The visual scanning-based oil drill pipe surface defect detection device according to claim 1, characterized in that: The clamping assembly includes a clamping column (210) and a plurality of limiting blocks (220) disposed on the side of the clamping column (210). The clamping column (210) is connected to the side of the side platform (20) by a main pneumatic push rod. Each of the limiting blocks (220) is arranged in an array on the outside of the clamping column (210) and is connected to the side of the clamping column (210) by an auxiliary pneumatic push rod. The limiting blocks (220) are driven to slide along the side of the clamping column (210) to the inner wall of the drill pipe by the pneumatic push rod, and the drill pipe is fixed by the thrust generated by the mutually symmetrical limiting blocks (220).

3. The visual scanning-based oil drill pipe surface defect detection device according to claim 2, characterized in that: Both of the aforementioned limiting blocks (220) are provided with a number of laser emitters and laser receivers on their sides. The laser emitters and laser receivers are respectively located between the sides of each limiting block (220) and the clamping column (210), and the laser emitters and laser receivers are arranged symmetrically to each other. The laser emitters and laser receivers are exposed or covered by the displacement of the limiting blocks (220). The laser receivers at different positions receive feedback from the emitted lasers to indicate the displacement of the corresponding limiting blocks (220).

4. The visual scanning-based oil drill pipe surface defect detection device according to claim 3, characterized in that: The method for providing feedback on the position status during drill pipe clamping includes the following steps: S1. The laser probe (330) rotates synchronously with the ring gear (320) and emits laser light to different positions on the outer surface of the drill rod. After reflection from the outer surface of the drill rod, the laser light is received. The distance between the laser probe (330) and the current position on the outer surface of the drill rod is obtained using a distance measurement algorithm. ,in This indicates the distance from the laser probe (330) to the current position on the outer surface of the drill pipe. The speed at which laser light travels through the air. The time taken for the laser probe (330) to go from emitting laser light to receiving the reflected laser light; S2. Obtain the laser receiver reception status at each position, and determine the position status during the current drill pipe clamping process based on the laser receiver reception status; When the laser receiver at some locations fails to report laser reception, and the detection results show that the detection distance on the opposite side of the drill pipe's outer surface is... There is a regular difference in the detection distance of the opposite outer surface. Detection distance below normal conditions When this regular difference is continuous, it indicates that the drill pipe is currently in an inclined state. When the detection distance of the drill pipe section The presence of a regular difference indicates that the drill pipe is currently in a bent state.

5. The visual scanning-based oil drill pipe surface defect detection device according to claim 1, characterized in that: The drive unit (310) includes a drive motor (311) and a drive gear (312). The drive motor (311) drives the drive gear (312) to rotate, and the drive gear (312) and the side of the ring gear (320) are meshed. When the drive gear (312) is rotating, it will synchronously drive the ring gear (320) to make a circular motion along the outside of the drill rod.

6. The visual scanning-based oil drill pipe surface defect detection device according to claim 5, characterized in that: A plurality of limiting plates (370) are provided between the outer ring and the ring gear (320). One end of the limiting plate (370) is fixed to the side of the outer ring, and the other end is U-shaped and snaps into the inner side of the ring gear (320) and contacts its inner wall.

7. The visual scanning-based oil drill pipe surface defect detection device according to claim 6, characterized in that: Both sides of the outer ring are provided with limiting gears (360). The limiting gears (360) are rotatably connected to the outer ring, and the side of the limiting gears (360) is meshed with the outside of the ring gears (320), and rotates synchronously with the ring gears (320) to limit the side of the ring gears (320).

8. The visual scanning-based oil drill pipe surface defect detection device according to claim 1, characterized in that: The location parameters of the detection area include the defect difference. Rotation angle and the number of rotations .

9. The visual scanning-based oil drill pipe surface defect detection device according to claim 8, characterized in that: The method for acquiring the location parameters includes the following steps: S101. Obtain the total number of pulses generated by the drive motor (311) driving the ring gear (320) to rotate one revolution through the encoder. Capture the pulse count n of the current defect area, reset it to zero once every rotation, and calculate the rotation angle of the current defect area. ; S102. When the encoder returns to zero once, it means that the ring gear (320) has rotated one revolution. The number of times the encoder returns to zero is recorded as the number of revolutions. ; S103. Pre-collect the standard detection distance under the normal detection conditions when the drill pipe leaves the factory. Obtain the detection distance of the current defect area. Calculate the defect difference .

10. The visual scanning-based oil drill pipe surface defect detection device according to claim 9, characterized in that: The method for constructing a location association model of the same drill pipe defect area by the control feedback module includes the following steps: S1001, Based on the number of rotations The size is used to sequentially mark each defect point, and a defect point location distribution set is established. ,in to Defect points at different positions along the moving direction of the detection component (30), where m represents the total number of defect points currently detected; S1002, Based on the defect point location distribution set Calculate the position adjustment difference between adjacent defect points Among them, position adjustment difference ; S1003. Calculate the position adjustment difference between each adjacent defect point. Construct a mobile route dataset ; S1004. Eliminate abnormal drill pipe positions based on position status feedback during drill pipe clamping; S1005. A coaxial optical structure is adopted so that the emission optical path and the receiving optical path of the laser probe (330) share the same optical axis, so that the receiver is always located in the main direction of mirror reflection. S1006. A beam splitter is used to couple the laser emitter and receiver onto the same optical path, so that the laser is emitted along the optical axis. After irradiating the smooth surface, the reflected light returns along the original optical path and is guided to the receiver by the beam splitter to identify the smooth surface. S1007. Mark the first obtained smooth surface as the initial defect repair point, and obtain the position parameters of the current initial defect repair point. The corresponding position is ; S1008. Based on the constructed movement route dataset Calculate the position adjustment difference for each defect repair point, and then use the position adjustment difference and the initial position parameters of the defect repair points. Update the new position of each adjacent defect repair point, and drive the drive motor (311) to rotate and adjust its drive gear (312) according to the position point.