Real-time tracking detection method in multi-layer and multi-pass welding

By constructing a coordinate system at the intersection of the workpiece plane and the bisector of the weld bevel angle, the theoretical position of the welding torch is obtained. Combined with the image information detected by the weld tracker, the problem of insufficient computing power during the welding process is solved, and real-time tracking and precise positioning of the weld are realized.

CN118809035APending Publication Date: 2024-10-22BEIJING CHUANGXIANG ZHIKONG TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411168586.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

In current welding processes, weld seam tracking and identification require powerful computing capabilities, which leads to data transmission delays and affects detection accuracy and speed.

Method used

By constructing a coordinate system with the intersection of the workpiece plane and the bisector of the weld bevel angle as the origin, the theoretical position coordinate range of the welding torch is obtained. Combined with the laser image information detected by the weld tracker, the weld detection point is determined through matching.

Benefits of technology

It reduces computational load, lowers data transmission latency, improves the positioning speed and accuracy of detection points, and enables real-time tracking of weld detection points.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118809035A_ABST
    Figure CN118809035A_ABST
Patent Text Reader

Abstract

The invention discloses a real-time tracking detection method in multi-layer and multi-pass welding, and relates to the field of machine vision detection. A pre-arranged multi-layer and multi-channel cad section drawing is input, a coordinate system is constructed with the intersection of a reference plane and a critical line in the section drawing as an original point, a welding gun theoretical position coordinate interval # imgabs0 # of a jth welding bead of an ith welding layer in the coordinate system is obtained, actual position coordinates (xst, ysc) of a welding gun in the coordinate system in the welding process are obtained, the actual position coordinates (xst, ysc) are matched with the theoretical position coordinate interval, and the actual position coordinates (xst, ysc) of the welding gun in the coordinate system are obtained. The method comprises the following steps: determining a welding layer i and a welding bead j which are currently welded, acquiring a laser image detected by a current welding seam tracker, extracting welding seam contour information of the laser image, matching the acquired welding seam contour information with a pre-arranged multi-layer and multi-path planning track, and determining a detection point of current welding seam detection according to a matching result, the method can reduce the calculation amount in the recognition process, reduces the data transmission delay time, improves the positioning speed and precision of the detection point, and achieves the real-time tracking of the welding seam detection point.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of machine vision detection, and in particular to a real-time tracking detection method in multi-layer and multi-pass welding. Background Art

[0002] The weld seam positioning and tracking system is mainly used in the field of automated welding to guide the welding gun and accurately align the weld seam. The sensor collects information such as the weld seam position, weld seam width, height, etc., and the controller processes the data. It cooperates with the motion mechanism or robot to realize the correction of the welding gun so that the welding gun can always align with the weld seam for welding.

[0003] At present, in the welding process, the laser image is mainly obtained by the weld tracker, and the weld contour information of the laser image is extracted for dynamic matching to achieve real-time tracking of the weld detection point. This tracking and identification method requires the host computer to have strong computing power to meet the detection speed and detection accuracy requirements in the processing process. In addition, during the detection process, data transmission delays often occur, resulting in inaccurate detection point positioning and affecting construction quality. To this end, we propose a real-time tracking detection method in multi-layer and multi-pass welding. Summary of the invention

[0004] The main purpose of the present invention is to provide a real-time tracking detection method in multi-layer and multi-pass welding, which can effectively solve the problems in the background technology.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is:

[0006] The real-time tracking detection method in multi-layer and multi-pass welding includes:

[0007] Input the pre-arranged multi-layer and multi-channel CAD section drawing, and construct a coordinate system with the intersection of the reference plane and the critical line in the section drawing as the origin, wherein the reference plane is the welding workpiece plane, and the critical line is the angle bisector of the weld groove;

[0008] Get the coordinate interval of the welding gun theoretical position of the jth weld of the i-th welding layer in the coordinate system in, are the minimum and maximum values ​​of the horizontal coordinate of the welding gun in the coordinate system when welding the jth weld pass of the i-th welding layer; are the minimum and maximum values ​​of the ordinate of the welding gun in the coordinate system when welding the jth weld of the i-th welding layer, respectively. The value of is determined according to the following formula:

[0009]

[0010] In the formula, x ijis the horizontal coordinate of the center point of the jth weld of the i-th weld layer in the coordinate system; m ij is the width of the jth weld bead of the i-th weld layer; is the component of the welding gun swing amplitude in the x-axis direction, where θ is the tilt angle of the welding gun during welding; f is the swing amplitude of the welding gun; α is the constant correction coefficient, where the value range of the constant correction coefficient α is [0.9, 1.15]. The specific value is determined according to the number of welding layers i, and the value selection principle is:

[0011] When i=1, α=1;

[0012] When i=n, ​​α∈[0.9, 1];

[0013] When 1<i<n, α∈[1,1.15];

[0014] The value of is determined according to the following formula:

[0015]

[0016] In the formula, y ij h is the ordinate of the center point of the jth weld bead of the i-th weld layer in the coordinate system; ij is the height of the jth weld bead of the i-th welding layer; is the component of the welding gun swing amplitude in the y-axis direction, where, β is a constant correction coefficient, where the value range of the constant correction coefficient β is [0.95, 1.2]. The specific value is determined according to the number of welding layers i, and the value selection principle is:

[0017] When i=1, β∈[0.95,1];

[0018] When i = n, β∈[1, 1.2];

[0019] When 1<i<n, β∈[1,1.15];

[0020] Get the actual position coordinates (x st ,y sc ), by matching with the theoretical position coordinate interval, the welding layer i and welding pass j of the current welding are determined, where i = 1, 2, ..., n; n is the total number of welding layers of multi-layer and multi-pass welding; j = 1, 2, ..., m; m is the total number of welding passes of the i-th welding layer, when i = 1, j = 1, the welding layer is the welding base layer; when i = n, the welding layer is the welding cover layer; when 1 < i < n, the welding layer is the welding filling layer; the matching mechanism of the position coordinates is:

[0021] when and When , it means that the current welding is the jth weld of the i-th welding layer;

[0022] The laser image detected by the current weld tracker is obtained, the weld contour information of the laser image is extracted, the obtained weld contour information is matched with the pre-arranged multi-layer multi-channel planning trajectory, and the detection point of the current weld detection is determined according to the matching result.

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

[0024] Compared with the prior art, the technical solution of the present invention constructs a coordinate system with the intersection of the reference plane and the critical line in the section view as the origin by inputting a pre-arranged multi-layer and multi-pass CAD section view, and obtains the welding gun theoretical position coordinate interval of the jth weld pass of the i-th welding layer in the coordinate system. Get the actual position coordinates (x st ,y sc ), by matching with the theoretical position coordinate interval, the current welding layer i and weld bead j are determined, the laser image detected by the current weld tracker is obtained, the weld contour information of the laser image is extracted, and the obtained weld contour information is matched with the pre-arranged multi-layer and multi-channel planning trajectory. The detection point of the current weld detection is determined according to the matching result, which can reduce the amount of calculation in the recognition process, reduce the data transmission delay time, improve the positioning speed and accuracy of the detection point, and realize real-time tracking of the weld detection point. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is a flow chart of the real-time tracking detection method in multi-layer and multi-pass welding of the present invention;

[0026] Figure 2 A schematic diagram of a coordinate system constructed for the technical solution of the present invention;

[0027] Figure 3 This is a schematic diagram of multi-layer and multi-pass weld filling according to the present invention;

[0028] Figure 4 This is the laser image matching flow chart. DETAILED DESCRIPTION

[0029] The present invention will be further described below in conjunction with specific implementation methods, wherein the accompanying drawings are only used for exemplary descriptions and represent only schematic diagrams rather than actual drawings, and should not be understood as limiting the present invention. In order to better illustrate the specific implementation methods of the present invention, some parts of the accompanying drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product.

[0030] The implementation process of the technical solution of the present invention includes the following steps:

[0031] Step 1: Input the pre-arranged multi-layer and multi-channel CAD section drawing, and construct the coordinate system with the intersection of the reference plane and the critical line in the section drawing as the origin, such as Figure 2 As shown, the reference plane is the plane of the welding workpiece, and the critical line is the angle bisector of the weld groove;

[0032] Step 2: Obtain the welding gun theoretical position coordinate interval of the jth weld pass of the i-th welding layer in the coordinate system in, are the minimum and maximum values ​​of the horizontal coordinate of the welding gun in the coordinate system when welding the jth weld pass of the i-th welding layer; are the minimum and maximum values ​​of the ordinate of the welding gun in the coordinate system when welding the jth weld of the i-th welding layer, respectively. The value of is determined according to the following formula:

[0033]

[0034] In the formula, x ij is the horizontal coordinate of the center point of the jth weld of the i-th weld layer in the coordinate system; m ij is the width of the jth weld bead of the i-th weld layer; is the component of the welding gun swing amplitude in the x-axis direction, where θ is the tilt angle of the welding gun during welding; f is the swing amplitude of the welding gun; α is the constant correction coefficient, where the value range of the constant correction coefficient α is [0.9, 1.15]. The specific value is determined according to the number of welding layers i, and the value selection principle is:

[0035] When i=1, α=1;

[0036] When i=n, ​​α∈[0.9, 1];

[0037] When 1<i<n, α∈[1,1.15];

[0038] The value of is determined according to the following formula:

[0039]

[0040] In the formula, y ij h is the ordinate of the center point of the jth weld bead of the i-th weld layer in the coordinate system; ij is the height of the jth weld bead of the i-th welding layer; is the component of the welding gun swing amplitude in the y-axis direction, where, β is a constant correction coefficient, where the value range of the constant correction coefficient β is [0.95, 1.2]. The specific value is determined according to the number of welding layers i, and the value selection principle is:

[0041] When i=1, β∈[0.95,1];

[0042] When i = n, β∈[1, 1.2];

[0043] When 1<i<n, β∈[1,1.15];

[0044] Step 3: Get the actual position coordinates (x st ,y sc ), by matching with the theoretical position coordinate interval, the welding layer i and welding pass j of the current welding are determined, where i = 1, 2, ..., n; n is the total number of welding layers of multi-layer and multi-pass welding; j = 1, 2, ..., m; m is the total number of welding passes of the i-th welding layer, and the matching mechanism of the position coordinates is:

[0045] when and When , it means that the current welding is the jth weld of the i-th welding layer;

[0046] It should be noted that in the multi-layer and multi-lane dynamic routing and welding initial point positioning system, the welding robot needs to integrate the visual sensing system with the robotic arm welding system. In this process, in order to make the robotic arm welding position correspond to the target position identified by the visual system, the weld groove feature point position in the camera captured image needs to establish a conversion relationship with the actual welding position of the welding gun. The establishment of the conversion relationship needs to be performed according to the hand-eye calibration operation, that is, the camera used to shoot the object is usually called the "eye" of the robotic arm, and the end of the robotic arm, that is, the end of the welding gun, is called the "hand", and the position relationship transformation matrix of the camera and the welding gun is established. The position relationship of the camera and the welding gun is different, and the method of calibrating the transformation matrix is ​​also different. Commonly used methods include:

[0047] The visual sensing system is installed in a fixed position without physical connection to the robot arm, but this method is not convenient for flexible use in engineering application sites;

[0048] The visual sensing system is fixed at the execution end of the robot arm, and the visual sensing system is fixedly connected to the end position of the robot arm to facilitate the robot arm to perform welding at different positions. In actual engineering welding applications, the robot arm and the sensor should maintain synchronous movement, so in the weld dynamic routing and initial point positioning system, the structured light vision sensor uses the second fixed connection method. The camera is fixed at the end of the robot arm and fixedly connected to the welding gun. Through the hand-eye conversion matrix and the weld vision processing algorithm, the measurement point position information of the weld in the robot arm coordinate system can be obtained; the coordinates of the welding gun are converted into coordinate values ​​in the coordinate system constructed in this scheme through the above method, thereby obtaining the actual position coordinates (x st ,y sc );

[0049] It should be noted that when i=1, j=1, the welding layer is the welding base layer; when i=n, ​​the welding layer is the welding cover layer; when 1<i<n, the welding layer is the welding filling layer; the welding layer distribution structure is as follows Figure 3 The schematic diagram of multi-layer and multi-pass weld filling is shown;

[0050] Step 4: Obtain the laser image detected by the current weld tracker, extract the weld contour information of the laser image, match the obtained weld contour information with the pre-arranged multi-layer multi-channel planning trajectory, and determine the detection point of the current weld detection according to the matching result;

[0051] In this embodiment, a matching method process step is provided, which is specifically as follows:

[0052] Step 41: Image Preprocessing

[0053] The acquired laser image is preprocessed to extract the ROI area, grayscale the ROI area image, and threshold segment the weld area to extract the weld contour area image. Finally, morphological processing is performed to trim the weld area image, and the center line position of the laser stripe is extracted by combining stripe thinning and other operations.

[0054] Step 42: Threshold segmentation of weld contour image

[0055] In the image processing method, binarization of the image is a method of image segmentation. When performing the image binarization operation, the main purpose is to filter out the pixels in the weld laser contour image area. Depending on the different settings of the pixel grayscale threshold, the binarization algorithm is also different, mainly divided into fixed threshold and adaptive threshold. As shown in the following formula,

[0056]

[0057] In the formula, T is the set pixel grayscale threshold; the threshold segmentation process is performed on the weld contour image ROI area through the above formula;

[0058] Step 43: Stripe refinement of weld contour

[0059] In the captured image, the width of the laser stripe is affected by the width of the laser emission line. In the process of identifying feature points, in order to accurately extract the position of the weld feature points, the contour line needs to be refined. The definition of stripe refinement is: let R be a plane set, B be the boundary of the plane set, P is a point in the plane set R, its nearest point on it is M, and the straight line distance from P's position to B is PM. If P is not unique, P is a skeleton point of R, and the union of such points is called the skeleton of R.

[0060] Follow the steps below to find the skeleton point set of the laser stripe pixel set R:

[0061] First, the skeleton pixels and the contour pixels of the set R are determined, then the non-skeleton weld contour pixels are removed, and finally the remaining skeleton pixel set is used to replace the original set R; the above process needs to be performed multiple times during the application process until the set R is only composed of skeleton pixels.

[0062] Step 44: Linear fitting of weld contour and feature point identification

[0063] Hough straight line fitting is performed on the image after centerline extraction. The straight line equation fitted by each curve is shown as follows:

[0064]

[0065] According to the linear fitting results, the straight line corresponds to Coordinates, since the Hough line fitting algorithm fits lines using a voting mechanism in parameter space, there will be a situation where multiple straight lines are fitted in a concentrated area of ​​pixels that need to be fitted. In order to identify the characteristic point positions of the weld in these fitted line segments, these fitted line segments are marked with line segment numbers from left to right and sorted in sequence. Then the angles between two adjacent line segments are calculated in sequence. Set the angle threshold to d. When the angle between two adjacent straight lines is When it is greater than the threshold d, calculate the intersection coordinates p(x, y, z) of the two straight lines;

[0066] Step 45: Sort the intersection points p obtained in the image into p1, p2, and p3 in a certain order, and obtain their coordinate values ​​p1 (x1, y1), p2 (x2, y2), and p3 (x3, y3), and perform weld feature matching calculation on the coordinate points. The coordinates of the coordinate points should satisfy the following formula:

[0067]

[0068] In the formula, t and k are variable parameters, and their specific values ​​are set according to the weld profile parameters.

[0069] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A real-time tracking detection method in multi-layer and multi-pass welding, characterized in that: include: Input the pre-arranged multi-layer and multi-channel CAD section drawing, and construct the coordinate system with the intersection of the reference plane and the critical line in the section drawing as the origin; Get the coordinate interval of the welding gun theoretical position of the jth weld of the i-th welding layer in the coordinate system in, are the minimum and maximum values ​​of the horizontal coordinate of the welding gun in the coordinate system when welding the jth weld pass of the i-th welding layer; are the minimum and maximum values ​​of the ordinate of the welding gun in the coordinate system when welding the jth weld pass of the i-th welding layer; Get the actual position coordinates (x st ,y sc ), by matching with the theoretical position coordinate interval, determine the welding layer i and welding pass j of the current welding, where i = 1, 2, ..., n; n is the total number of welding layers of multi-layer and multi-pass welding; j = 1, 2, ..., m; m is the total number of welding passes of the i-th welding layer; The laser image detected by the current weld tracker is obtained, the weld contour information of the laser image is extracted, the obtained weld contour information is matched with the pre-arranged multi-layer multi-channel planning trajectory, and the detection point of the current weld detection is determined according to the matching result.

2. The real-time tracking detection method in multi-layer and multi-pass welding according to claim 1 is characterized in that: The reference plane is the welding workpiece plane, and the critical line is the angle bisector of the weld groove.

3. The real-time tracking detection method in multi-layer and multi-pass welding according to claim 1 is characterized in that: When i=1, j=1, the welding layer is the welding base layer; When i=n, ​​the welding layer is the welding cover layer; When 1<i<n, the welding layer is a welding filling layer.

4. The real-time tracking detection method in multi-layer and multi-pass welding according to claim 1 is characterized in that: The matching mechanism of position coordinates is: when and , it means that the current welding is the jth weld of the i-th welding layer.

5. The real-time tracking detection method in multi-layer and multi-pass welding according to claim 1 is characterized in that: The value of is determined according to the following formula: In the formula, x ij is the horizontal coordinate of the center point of the jth weld of the i-th weld layer in the coordinate system; m ij is the width of the jth weld bead of the i-th weld layer; is the component of the welding gun swing amplitude in the x-axis direction, where θ is the tilt angle of the welding gun during welding; f is the swing amplitude of the welding gun; α is the constant correction coefficient.

6. The real-time tracking detection method in multi-layer and multi-pass welding according to claim 1 is characterized in that: The value of is determined according to the following formula: In the formula, y ij h is the ordinate of the center point of the jth weld bead of the i-th weld layer in the coordinate system; ij is the height of the jth weld bead of the i-th welding layer; is the component of the welding gun swing amplitude in the y-axis direction, where, β is a constant correction coefficient.

7. The real-time tracking detection method in multi-layer and multi-pass welding according to claim 5 is characterized in that: The value range of the constant correction coefficient α is [0.9, 1.15]. The specific value is determined according to the number of welding layers i. The value selection principle is: When i=1, α=1; When i=n, ​​α∈[0.9, 1]; When 1<i<n, α∈[1,1.15].

8. The real-time tracking detection method in multi-layer and multi-pass welding according to claim 6 is characterized in that: The value range of the constant correction coefficient β is [0.95, 1.2]. The specific value is determined according to the number of welding layers i. The value selection principle is: When i=1, β∈[0.95,1]; When i = n, β∈[1, 1.2]; When 1<i<n, β∈[1,1.15].

Citation Information

Cited By

  • Self-adaptive generation method and system for multi-layer and multi-pass welding path of robot

    CN119870820A

  • An adaptive generation method and system for multi-layer, multi-pass welding paths in robots

    CN119870820B