A pipeline automatic centering method, system and test device

During the construction of oil, gas and chemical pipelines, images are collected from the static pipeline side and the adjustment amount of the movable pipeline is calculated. Five-dimensional vectors are used to drive the movable pipeline to achieve centering. This solves the problems of high labor intensity and low construction efficiency in the existing technology and achieves high efficiency. , Stable pipeline alignment process.

CN114549638BActive Publication Date: 2024-09-20HUBEI UNIV OF ARTS & SCI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210084478.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-24
Publication Date
2024-09-20
Estimated Expiration
2042-01-24

AI Technical Summary

Technical Problem

In the construction of oil, gas and chemical pipelines, existing technologies have problems such as high labor intensity, low construction efficiency, and poor quality stability during the pipeline alignment process, making it difficult to meet market demand.

Method used

By collecting images from the side of the static pipe, the characteristics of the moving pipe are extracted, its adjustment relative to the static pipe is calculated, and the five-dimensional vector (position and inclination angle) is used to drive the moving pipe until alignment is achieved. The system includes an image acquisition unit, a deviation calculation unit and a pipeline adjustment unit. It uses a line laser and an industrial camera for image acquisition and feature extraction, calculates the adjustment amount, and drives the movement and rotation axis through a stepper motor for adjustment.

Benefits of technology

It achieves high efficiency, low labor intensity and good quality stability of pipeline centering, significantly improving construction efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114549638B
    Figure CN114549638B
Patent Text Reader

Abstract

The present invention discloses a pipeline automatic centering method, system and test device in the field of pipeline centering technology. It is defined that among two pipelines that need to be centered, the pipeline whose position remains fixed is a static pipeline, and the pipeline whose position needs to be adjusted is a dynamic pipeline. The method comprises: performing image acquisition on the dynamic pipeline from a set position on the static pipeline side to obtain an image of the dynamic pipeline; performing feature extraction on the image of the dynamic pipeline, and calculating and obtaining the adjustment amount of the dynamic pipeline relative to the static pipeline; and driving the dynamic pipeline according to the adjustment amount of the dynamic pipeline relative to the static pipeline until the dynamic pipeline and the static pipeline are centered. The present invention has the characteristics of high centering efficiency, low labor intensity, good quality stability, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of pipeline centering, and in particular relates to a pipeline automatic centering method, system and test device. Background Art

[0002] During the construction of oil, gas and chemical pipelines, pipe workers are required to align and position the pipe ends on site before welding can be carried out. When aligning the pipe ends, the central axes of the two pipes must coincide. This process is called pipe alignment. The quality of pipe alignment directly affects the quality of subsequent welding. Although there is a pipe alignment device, this equipment will generate construction stress when the pipe ends are aligned and will not change after disassembly and assembly. Currently, most construction sites are still operated by pipe workers. The construction process is roughly to support the pipe with a wooden block first, and then repeatedly adjust the position of the pipe with a crowbar and use a feeler gauge or weld gauge to check the misalignment and the gap between the ends. Finally, fix it by welding iron parts on the surface of the pipe. This operation method obviously has problems such as high labor intensity, low construction efficiency, and poor quality stability, and it is difficult to meet the urgent market demand. Summary of the invention

[0003] In order to solve the deficiencies in the prior art, the present invention provides a pipeline automatic centering method, system and test device, which have the characteristics of high centering efficiency, low labor intensity, good quality stability, etc.

[0004] To achieve the above-mentioned purpose, the technical solution adopted by the present invention is: a method for automatic pipeline centering, defining that of the two pipelines that need to be centered, the pipeline whose position remains fixed is the static pipeline, and the pipeline whose position needs to be adjusted is the dynamic pipeline, and the method comprises: performing image acquisition on the dynamic pipeline from a set position on the static pipeline side to obtain an image of the dynamic pipeline; performing feature extraction on the image of the dynamic pipeline, and calculating and obtaining the adjustment amount of the dynamic pipeline relative to the static pipeline; and driving the dynamic pipeline according to the adjustment amount of the dynamic pipeline relative to the static pipeline until the dynamic pipeline and the static pipeline are centered.

[0005] Furthermore, the moving pipeline and the static pipeline both use a five-dimensional vector (x c ,y c ,z c ,α,β) to represent, where (x c ,y c ,z c ) is the position of the center of the pipe groove end face in the global coordinate system O0-X0Y0Z0; (α, β) are the inclination angles of the pipeline axis projected on the X0O0Z0 plane and Y0O0Z0 plane of the global coordinate system O0-X0Y0Z0, respectively, where α represents the yaw angle and β represents the pitch angle.

[0006] Further, the feature extraction of the image of the moving pipe and the calculation of the adjustment amount of the moving pipe relative to the static pipe include: extracting the feature of the image of the moving pipe to obtain the space circle of the pipe groove end face; c -X c Y c Z c Under this condition, the attitude angles corresponding to the normal vectors of the plane where the space circle is located are the yaw angle α and the pitch angle β respectively; Assume that the unit normal vector of the surface where the space circle is located is Calculate the normal vector based on triangular geometry The attitude angles, namely the yaw angle α and pitch angle β are:

[0007]

[0008]

[0009] The ambiguity of the single circle pose estimation solution is eliminated by using the parallel relationship between the inner and outer characteristic circles of the pipe groove end face; the features of the moving pipe image are extracted, and the translation deviation of the moving pipe is calculated.

[0010] In a second aspect, a pipeline automatic centering system is provided, which defines that among two pipelines that need to be aligned, the pipeline whose position remains fixed is the static pipeline, and the pipeline whose position needs to be adjusted is the dynamic pipeline. The system includes: an image acquisition unit, which is used to acquire an image of the dynamic pipeline from a set position on the static pipeline side to obtain an image of the dynamic pipeline; a deviation calculation unit, which is used to extract features from the image of the dynamic pipeline and calculate the adjustment amount of the dynamic pipeline relative to the static pipeline; and a pipeline adjustment unit, which is used to drive the dynamic pipeline according to the adjustment amount of the dynamic pipeline relative to the static pipeline until the dynamic pipeline and the static pipeline are aligned.

[0011] In a third aspect, a pipeline automatic centering test device is provided, which defines that among the two pipelines that need to be aligned, the pipeline whose position remains fixed is the static pipeline, and the pipeline whose position needs to be adjusted is the dynamic pipeline, and the test device includes: an optical platform; a pipeline support and clamping device, which is installed on the optical platform and is used to fix the static pipeline; an image acquisition unit, which is installed on the optical platform and is used to acquire an image of the dynamic pipeline from a set position on the static pipeline side to obtain an image of the dynamic pipeline; a deviation calculation unit, which is communicatively connected to the image acquisition unit and is used to extract features from the image of the dynamic pipeline and calculate the adjustment amount of the dynamic pipeline relative to the static pipeline; and a pipeline adjustment unit, which is communicatively connected to the deviation calculation unit and is used to drive the dynamic pipeline according to the adjustment amount of the dynamic pipeline relative to the static pipeline until the dynamic pipeline and the static pipeline are aligned.

[0012] Furthermore, the image acquisition unit includes a straight line laser, a first industrial camera and a second industrial camera, the straight line laser irradiates the pipe to be aligned at a set angle, and the first industrial camera receives the laser reflected by the pipe to be aligned at a set angle; the second industrial camera is installed on one side of the static pipe, and the angle between the optical axis of the second industrial camera and the projection of the axis of the static pipe on the horizontal plane is α0.

[0013] Furthermore, the pipeline adjustment unit includes at least three moving axes and at least one rotating axis, and the moving axes are independent of each other; the moving axis adopts a stepper motor driving a ball screw, and the rotating axis adopts a stepper motor driving a worm gear mechanism.

[0014] Furthermore, a polarizing plate and a filter are installed in front of the lens of the first industrial camera.

[0015] Furthermore, the deviation calculation unit includes an industrial computer, a motion control card and a stepper motor driver, the industrial computer is respectively communicatively connected to the first industrial camera, the second industrial camera and the motion control card, the motion control card is electrically connected to the stepper motor driver, and the stepper motor driver is electrically connected to each stepper motor.

[0016] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention collects images of the moving pipe from a set position on the side of the static pipe, extracts features from the image of the moving pipe, and calculates the adjustment amount of the moving pipe relative to the static pipe; the moving pipe is driven according to the adjustment amount of the moving pipe relative to the static pipe until the moving pipe and the static pipe are aligned, and the present invention has the characteristics of high alignment efficiency, low labor intensity, good quality stability, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic diagram of pipeline position;

[0018] Figure 2 is a schematic diagram of a pipeline automatic centering test device provided by an embodiment of the present invention;

[0019] Figure 3 1 is a schematic diagram of a posture measurement adjustment process in an embodiment of the present invention;

[0020] Figure 4 is a schematic diagram of a monocular vision detection system in an embodiment of the present invention;

[0021] Figure 5 : is the monocular vision measurement principle of the space circle in the embodiment of the present invention, wherein (a) represents the projection of the space circle on the image plane; (b) represents the position and posture definition of the space circle;

[0022] Figure 61 is a schematic diagram of the process of monocular measurement of spatial circular pose in an embodiment of the present invention, wherein (a) represents the original image; (b) represents the state after image preprocessing; (c) represents the state after image edge extraction; (d) represents the state after ellipse arc segment detection; (e) represents the state after arc segment combination; (f) represents the state after ellipse fitting; (g) represents the state of target ellipse extraction; (h) represents the calculation result;

[0023] Figure 7 is a schematic diagram of a laser vision detection system in an embodiment of the present invention;

[0024] Figure 8 Schematic diagram of translation deviation measurement in an embodiment of the present invention, wherein (a) represents the distance deviation measurement principle of the centers of two pipe orifices in the horizontal direction; (b) represents the distance deviation measurement principle in the vertical direction;

[0025] Fig. 9 1 is a schematic diagram of the process of extracting groove feature points in an embodiment of the present invention, wherein (a) represents the original image; (b) represents the state after median filtering; (c) represents the state after threshold segmentation; (d) represents the state after laser stripe center line extraction; (e) represents the state after straight line fitting; (f) represents the state after feature point extraction;

[0026] Fig.10 1 is a schematic diagram of the upper and lower edge extraction process of the pipe cylindrical surface in an embodiment of the present invention, wherein (a) is the image rectangular detection area ROI frame setting; (b) is the sampling result of the pipe cylindrical surface edge point; (c) is the edge point straight line fitting result;

[0027] Fig.11 1 is a pipeline alignment test scenario in an embodiment of the present invention, wherein (a) represents before the pipeline is aligned; (b) represents after the pipeline is aligned;

[0028] Among them, 1. Optical platform; 2. Posture adjustment mechanism; 3. Moving pipeline; 4. Static pipeline; 5. Pipeline support and clamping device; 6. Industrial computer display; 7. Line laser; 8. First industrial camera; 9. Second industrial camera; 10. Wireless keyboard; 11. Wireless mouse. DETAILED DESCRIPTION

[0029] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0030] Embodiment 1:

[0031] A pipeline automatic centering method is provided, which defines that of two pipelines that need to be centered, the pipeline whose position remains fixed is the static pipeline, and the pipeline whose position needs to be adjusted is the dynamic pipeline. The method comprises: performing image acquisition on the dynamic pipeline from a set position on the static pipeline side to obtain an image of the dynamic pipeline; performing feature extraction on the image of the dynamic pipeline and calculating the adjustment amount of the dynamic pipeline relative to the static pipeline; and driving the dynamic pipeline according to the adjustment amount of the dynamic pipeline relative to the static pipeline until the dynamic pipeline and the static pipeline are centered.

[0032] During the pipeline alignment process, generally one pipeline is fixed and the other pipeline needs to be adjusted. Therefore, the pipeline whose position remains fixed is called the static pipeline, and the pipeline that needs to be adjusted through the attitude adjustment platform is called the dynamic pipeline.

[0033] Since the pipeline is rotationally invariant during measurement, the pipeline position in space can be expressed as a five-dimensional vector (x c ,y c ,z c ,α,β) to uniquely represent, such as Figure 1 As shown. Among them, (x c ,y c ,z c ) is the position of the center of the pipe groove end face in the global coordinate system O0-X0Y0Z0; (α, β) are the inclination angles of the pipeline axis projected on the X0O0Z0 plane and Y0O0Z0 plane of the global coordinate system O0-X0Y0Z0, respectively, where α represents the yaw angle and β represents the pitch angle.

[0034] For pipeline alignment, the posture deviation between the two pipelines to be aligned is mainly the translation deviation Δx, Δy, Δz along the X0, Y0, Z0 axis and the rotation deviation Δα and Δβ around the X0 and Y0 axis. To achieve pipeline alignment is to adjust the pipeline axis to coincide and meet the requirements of misalignment and gap. According to the pipeline alignment status, the visual system measures translation parameters and rotation parameters, and the control system converts the posture deviation into the motion adjustment amount of the posture adjustment mechanism.

[0035] 1. Calculation of rotation deviation.

[0036] Since the pipeline groove end surface provides a spatial circular feature, it is possible to realize the monocular vision measurement of pipeline posture. The monocular vision inspection system based on the circular feature is composed of a camera, a lens, and an industrial computer. Figure 4 shown.

[0037] The spatial circular pose measurement model in the camera coordinate system is as follows: Figure 5As shown in the figure, when the camera optical axis is not perpendicular to the pipe groove end face, the space circle is imaged as an ellipse on the image plane after perspective projection transformation. The ellipse can be understood as the interception of the elliptical cone formed by the image plane, the space circle and the optical center. Therefore, the monocular vision positioning problem of the space circle is to find a cutting plane in space so that after the plane cuts the elliptical cone, it intersects with the elliptical cone surface to form a circle with a radius equal to the radius of the space circle. In the camera coordinate system O c -X c Y c Z c The normal vector corresponding to the plane where the space circle lies is The corresponding attitude angles are α and β respectively. Assume that the unit normal vector of the surface where the target space circle is calculated is The normal vector can be calculated based on the triangular geometry relationship The attitude angles, namely the yaw angle α and pitch angle β are:

[0038]

[0039]

[0040] Figure 6 This is the process of extracting the structural features of the pipe mouth image. Under the premise that the camera intrinsic parameter matrix and the pipe structure size are known, the closed-form solution of the spatial circular pose is reversely calculated based on the measurement model. In view of the ambiguity problem of single circle positioning, the relationship between the inner and outer characteristic circles of the groove end face being parallel to each other is used to eliminate false solutions and obtain the unique solution of the pipe pose. The pose parameters to be solved are mainly the normal vector of the surface where the structural characteristic circle is located. According to this direction vector, the attitude angle of the pipe axis can be calculated.

[0041] 2. Calculation of translation deviation.

[0042] After the pipeline is leveled, the laser vision detection system is used to detect the translation deviation. The laser vision detection system designed in this embodiment is as follows: Figure 7 In order to reduce the influence of metal reflection on the pipe surface on the measurement, a polarizing plate and a filter are installed in front of the lens.

[0043] The image feature information on the camera coordinate plane xOy is as follows Figure 8 shown. Figure 8 In (a), the laser stripes projected onto the pipe surface are represented by L1 and L2, A1 and A2 are the plane projections of the pipe axis, p1, p2, p3 and p4 are the groove feature points, and when the laser lines projected onto the two pipe openings are collinear, Δx = 0. Assuming p i =(x i ,y i ,z i) is the three-dimensional coordinate of the feature point in the camera coordinate system, i = 1, 2, 3, 4, then Δx = |z1-z3|, Δ z =|x1-x3|; Figure 8 In (b), l1, l2, l3 and l4 are the upper and lower edge lines of the pipeline obtained by straight line fitting of the image, A1 is the center line of l1 and l2, and A2 is the center line of l3 and l4. Assume that the pixel values ​​of the rows where A1 and A2 are located are r1 and r2 respectively, the pixel distance between the straight lines l3 and l4 is d (unit: pixel), and the actual diameter of the pipeline is D (unit: mm), then

[0044] According to the structured light 3D measurement principle and coordinate transformation relationship, the mathematical expression of pixel coordinates P′(c,r) and 3D coordinates P(x,y,z) in the camera coordinate system is:

[0045]

[0046] In the formula, the parameters (f,k,C x ,C y ,S x ,S y ) are the internal parameters of the camera, and (A, B, C, D) are the laser plane parameters.

[0047] The extraction process of groove feature points is as follows: Fig. 9 shown.

[0048] The pipeline upper and lower edge line extraction process is as follows Fig.10 shown.

[0049] The present invention collects images of the moving pipeline from a set position on the side of the static pipeline, extracts features from the images of the moving pipeline, and calculates the adjustment amount of the moving pipeline relative to the static pipeline; the moving pipeline is driven according to the adjustment amount of the moving pipeline relative to the static pipeline until the moving pipeline and the static pipeline are aligned, and has the characteristics of high alignment efficiency, low labor intensity, good quality stability, etc.

[0050] Embodiment 2:

[0051] Based on the pipeline automatic centering method described in Example 1, this embodiment provides a pipeline automatic centering system, which defines that among the two pipelines that need to be aligned, the pipeline whose position remains fixed is the static pipeline, and the pipeline whose position needs to be adjusted is the dynamic pipeline. The system includes: an image acquisition unit, which is used to acquire an image of the dynamic pipeline from a set position on the static pipeline side to obtain an image of the dynamic pipeline; a deviation calculation unit, which is used to extract features from the image of the dynamic pipeline and calculate the adjustment amount of the dynamic pipeline relative to the static pipeline; and a pipeline adjustment unit, which is used to drive the dynamic pipeline according to the adjustment amount of the dynamic pipeline relative to the static pipeline until the dynamic pipeline and the static pipeline are aligned.

[0052] Embodiment three:

[0053] Based on the pipeline automatic centering method described in Example 1 and the pipeline automatic centering system described in Example 2, this embodiment provides a pipeline automatic centering test device for verifying the feasibility and effectiveness of the method described in Example 1.

[0054] like Figure 2 As shown, a pipeline automatic centering test device mainly includes a posture adjustment mechanism, a visual measurement system and a control system, etc., specifically including: an optical platform 1; a pipeline support and clamping device 5, installed on the optical platform 1, for fixing a static pipeline 4; a visual measurement system, i.e., an image acquisition unit, installed on the optical platform 1, for acquiring an image of a dynamic pipeline 3 from a set position on the static pipeline side, and obtaining an image of the dynamic pipeline 3; the control system includes a deviation calculation unit, which is communicated with the image acquisition unit, and is used to extract features from the image of the dynamic pipeline, and calculate the adjustment amount of the dynamic pipeline relative to the static pipeline; the posture adjustment mechanism 2, i.e., the pipeline adjustment unit, is communicated with the deviation calculation unit, and is used to drive the dynamic pipeline according to the adjustment amount of the dynamic pipeline relative to the static pipeline until the dynamic pipeline and the static pipeline are aligned.

[0055] The visual measurement system includes a laser visual detection system and a monocular visual detection system. The laser visual detection system includes a straight line laser 7 and a first industrial camera 8. The laser emitted by the straight line laser 7 is tilted to illuminate the pipe to be aligned, and the first industrial camera 8 receives it vertically. The angle between the laser plane and the optical axis of the first industrial camera 8 is 45°; the monocular visual detection system includes a second industrial camera 9. The second industrial camera 9 and the static pipe are installed on the same side, and the angle between the optical axis of the second industrial camera 9 and the axis of the static pipe projected on the horizontal plane is α0. If the monocular visual detection system measures the attitude angle α of the axis of the moving pipe in the camera coordinates, then the adjustment amount of the rotating platform in the posture adjustment mechanism is θ=α+α0. In this embodiment, α0=30°.

[0056] The posture adjustment mechanism designed in this embodiment can realize precise posture adjustment in the X, Y, Z axis directions and around the Y axis. It is composed of three moving axes and one rotating axis superimposed on each other. The rotating axis is the R axis, and the movements of each moving axis do not affect each other. The horizontal and vertical movements are driven by stepper motors, couplings, ball screws and guide rails, and the rotational movement is driven by stepper motors, couplings and worm gears. The support and clamping mechanism consists of a set of upper and lower symmetrical V-shaped guide rails, and the pipeline is fixed by a screw. In addition, the pipeline installation distance is limited by a block on the cross bar along the pipeline axis. Since the V-shaped guide rail is parallel to the optical platform, the pitch angle deviation of the two pipelines is 0°, that is, Δβ=0.

[0057] The control system adopts a control method that combines a host computer and a motion control card. It can convert the posture deviation calculated by the visual measurement system into the motion adjustment amount of the posture adjustment mechanism, and then control the movement of the posture adjustment platform to achieve pipeline alignment. The entire adjustment process is controlled by the industrial computer and output to the industrial computer display 6 to display the control process.

[0058] The whole measurement / adjustment process of the system is carried out in two steps, such as Figure 3 As shown. In the first step, the end face of the pipe mouth appears in the camera field of view of the monocular vision inspection system. By restoring the characteristic circle pose of the pipe mouth, the rotation deviation Δα of the pipeline is determined, and the rotation deviation solution result is fed back to the control system to level the pipeline; in the second step, based on the first step, the laser vision inspection system is used to calculate the translation parameters Δx, Δy, and Δz of the pipeline in the X, Y, and Z axis directions, where Δz is determined by the pipe docking gap.

[0059] like Fig.11 As shown in the figure, before the pipeline is centered, the mouth of the moving pipeline appears in the camera field of view, and the monocular vision detection system works to calculate the rotation angle deviation. After the moving pipeline is leveled, the straight line laser is turned on, and the laser vision detection system works to calculate the translation deviation. The repeatability of the position adjustment platform in the horizontal and vertical directions is 2μm, and the repeatability of the rotation direction is 0.01°. The diameter of the pipe selected in the experiment is 80mm, the wall thickness is 12mm, the single-side bevel angle is 30°, and the bevels are all processed on the lathe. The visual measurement system uses two sets of MV-A7500MG20 industrial cameras with a resolution of 2448 pixels × 2048 pixels and a pixel size of 3.45μm × 3.45μm. They are equipped with OPT-C1614-5M 5-megapixel fixed-focus lenses with a focal length of 16mm, and the straight line laser model is KYL65N10-22110. The visual measurement system calibration uses a dot array calibration plate, which is made of frosted ceramic and has a size of 60mm×60mm.

[0060] High-precision calibration is an important guarantee for visual pose measurement. In this embodiment, the camera internal parameters and light plane parameters are calibrated, and the calibration results are shown in Table 1 and Table 2.

[0061] Table 1 Camera internal parameter calibration results

[0062] Internal parameters f / mm <![CDATA[κ / m -2 ]]> <![CDATA[S x / μm]]> <![CDATA[S y / μm]]> <![CDATA[C x / pixels]]> <![CDATA[C y / pixels]]> Nominal value 16 0 3.45 3.45 1224 1024 Calibration value 16.236 -894.865 3.44956 3.45 1170.3 1057.16

[0063] Table 2 Calibration results of light plane parameters

[0064] parameter Calibration results A 0.0364 B 0.1203 C -0.2356 D 60.245

[0065] The moving pipe and the static pipe were installed on the experimental platform respectively, and the deflection angle α of the same pipe in 9 different positions was measured by the monocular vision inspection system. The initial position of the moving pipe is set to be roughly perpendicular to the optical axis of the camera in the monocular vision inspection system. At this time, the pipe mouth appears in the middle of the image. The rotation angle range of the R axis of the attitude adjustment platform is -8°~8°. When the platform rotates counterclockwise, the rotation angle is negative, and the opposite is positive. The measurement results of the attitude angle α of the characteristic circle of the pipe mouth end face structure in the camera coordinate system under different rotation angles are shown in Table 3.

[0066] Table 3 Rotation angle measurement

[0067]

[0068] It can be seen from Table 3 that the rotation angle measurement error is within 0.5°, and the measurement error is caused by mechanical assembly, system calibration, image processing and platform motion error.

[0069] On this basis, multiple experiments were conducted to verify that the system can successfully complete the centering operation. In addition, the system shortened the pipeline centering time from the original manual operation time of 15 minutes to 2 minutes, greatly improving the efficiency of pipeline centering.

[0070] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A pipeline automatic centering method, characterized in that: It is defined that among the two pipes that need to be aligned, the pipe whose position remains fixed is the static pipe, and the pipe whose position needs to be adjusted is the dynamic pipe. The method includes: Capturing images of the moving pipeline from a set position on the static pipeline side to obtain images of the moving pipeline; Extract features from the image of the moving pipe, and calculate the adjustment amount of the moving pipe relative to the static pipe; The moving pipe is driven according to the adjustment amount of the moving pipe relative to the static pipe until the moving pipe and the static pipe are aligned; Among them, the dynamic pipeline and the static pipeline both use five-dimensional vector To indicate that, The center of the pipe groove end face in the global coordinate system Position in The pipeline axis is in the global coordinate system of Plane and The tilt angle of the projection on the plane, where Expressed as the yaw angle, Expressed as pitch angle; The feature extraction of the image of the moving pipeline and the calculation of the adjustment amount of the moving pipeline relative to the static pipeline include: Extract features from the moving pipe image to obtain the spatial circle of the pipe groove end face; In the camera coordinate system In this case, the attitude angles corresponding to the normal vectors corresponding to the plane where the space circle is located are the yaw angles and pitch angle ; Assume that the unit normal vector of the surface where the calculated space circle is located is , the normal vector is calculated based on the triangular geometric relationship The attitude angle, that is, the yaw angle and pitch angle They are: (1) (2) The ambiguity of the single circle pose estimation solution is eliminated by using the parallel relationship between the inner and outer characteristic circles of the pipe groove end face. Feature extraction is performed on the image of the moving pipeline, and the translation deviation of the moving pipeline is calculated.

2. A pipeline automatic centering system, characterized in that: It is defined that of the two pipes that need to be aligned, the pipe whose position remains fixed is the static pipe, and the pipe whose position needs to be adjusted is the dynamic pipe. The system includes: An image acquisition unit is used to acquire an image of the moving pipe from a set position on the static pipe side to obtain an image of the moving pipe; A deviation calculation unit is used to extract features from the image of the moving pipe and calculate the adjustment amount of the moving pipe relative to the static pipe; The pipeline adjustment unit is used to drive the moving pipeline according to the adjustment amount of the moving pipeline relative to the static pipeline until the moving pipeline and the static pipeline are aligned; Among them, the dynamic pipeline and the static pipeline both use five-dimensional vector To indicate that, The center of the pipe groove end face in the global coordinate system Position in The pipeline axis is in the global coordinate system of Plane and The tilt angle of the projection on the plane, where Expressed as the yaw angle, Expressed as pitch angle; The feature extraction of the image of the moving pipeline and the calculation of the adjustment amount of the moving pipeline relative to the static pipeline include: Extract features from the moving pipe image to obtain the spatial circle of the pipe groove end face; In the camera coordinate system In this case, the attitude angles corresponding to the normal vectors corresponding to the plane where the space circle is located are the yaw angles and pitch angle ; Assume that the unit normal vector of the surface where the calculated space circle is located is , the normal vector is calculated based on the triangular geometric relationship The attitude angle, that is, the yaw angle and pitch angle They are: (1) (2) The ambiguity of the single circle pose estimation solution is eliminated by using the parallel relationship between the inner and outer characteristic circles of the pipe groove end face. Feature extraction is performed on the image of the moving pipeline, and the translation deviation of the moving pipeline is calculated.

3. A pipeline automatic centering test device, characterized in that: It is defined that of the two pipes that need to be aligned, the pipe whose position remains fixed is the static pipe, and the pipe whose position needs to be adjusted is the dynamic pipe. The test device includes: Optical platform; A pipe support and clamping device, mounted on the optical platform, for fixing the static pipe; An image acquisition unit is installed on the optical platform and is used to acquire an image of the moving pipe from a set position on the static pipe side to obtain an image of the moving pipe; The deviation calculation unit is connected to the image acquisition unit for extracting features from the image of the moving pipe and calculating the adjustment amount of the moving pipe relative to the static pipe; The pipeline adjustment unit is in communication with the deviation calculation unit and is used to drive the moving pipeline according to the adjustment amount of the moving pipeline relative to the static pipeline until the moving pipeline and the static pipeline are aligned; Among them, the dynamic pipeline and the static pipeline both use five-dimensional vector To indicate that, The center of the pipe groove end face in the global coordinate system Position in The pipeline axis is in the global coordinate system of Plane and The tilt angle of the projection on the plane, where Expressed as the yaw angle, Expressed as pitch angle; The feature extraction of the image of the moving pipeline and the calculation of the adjustment amount of the moving pipeline relative to the static pipeline include: Extract features from the moving pipe image to obtain the spatial circle of the pipe groove end face; In the camera coordinate system In this case, the attitude angles corresponding to the normal vectors corresponding to the plane where the space circle is located are the yaw angles and pitch angle ; Assume that the unit normal vector of the surface where the calculated space circle is located is , the normal vector is calculated based on the triangular geometric relationship The attitude angle, that is, the yaw angle and pitch angle They are: (1) The ambiguity of the single circle pose estimation solution is eliminated by using the parallel relationship between the inner and outer characteristic circles of the pipe groove end face. Feature extraction is performed on the image of the moving pipeline, and the translation deviation of the moving pipeline is calculated.

4. The pipeline automatic centering test device according to claim 3 is characterized in that: The image acquisition unit includes a straight line laser, a first industrial camera and a second industrial camera. The straight line laser irradiates the pipeline to be aligned at a set angle, and the first industrial camera receives the laser reflected by the pipeline to be aligned at a set angle; the second industrial camera is installed on one side of the static pipeline, and the angle between the optical axis of the second industrial camera and the projection of the axis of the static pipeline on the horizontal plane is .

5. The pipeline automatic centering test device according to claim 4 is characterized in that: The pipeline adjustment unit includes at least three moving axes and at least one rotating axis, and the moving axes are independent of each other; the moving axis adopts a stepping motor to drive a ball screw, and the rotating axis adopts a stepping motor to drive a worm gear mechanism.

6. The pipeline automatic centering test device according to claim 4, characterized in that: A polarizing plate and a filter are installed in front of the lens of the first industrial camera.

7. The pipeline automatic centering test device according to claim 5, characterized in that: The deviation calculation unit includes an industrial computer, a motion control card and a stepper motor driver. The industrial computer is respectively connected to the first industrial camera, the second industrial camera and the motion control card for communication. The motion control card is electrically connected to the stepper motor driver, and the stepper motor driver is electrically connected to each stepper motor.