K-TIG welding seam tracking method and system based on differential image processing

Through differential image processing and the Steger algorithm of the Hessian matrix, the problem of strong arc light interference in K-TIG welding is solved, the accuracy and reliability of the welding process are improved, and the accurate extraction of laser stripe feature points is achieved.

CN118587246APending Publication Date: 2024-09-03SOUTH CHINA UNIV OF TECH

Patent Information

Application Number
CN202410505788.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The strong arc light during K-TIG welding interferes with the accurate identification of laser stripes, affecting the accuracy of the welding process and system stability.

Method used

Using a method based on differential image processing, by taking laser stripe sequence images with different exposure values, extracting the weld ROI area, performing differential processing and median filtering, combined with the Steger algorithm of the Hessian matrix, accurately positioning and extracting the laser stripe feature points, and adjusting Welding gun movement trajectory to correct weld deviation.

Benefits of technology

It effectively reduces the interference of strong arc light on the extraction of laser stripe feature points, improves the accuracy and reliability of the welding process, and significantly improves the accuracy of laser stripe feature points, especially in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587246A
    Figure CN118587246A
Patent Text Reader

Abstract

The invention discloses a K-TIG welding seam tracking method and system based on differential image processing, and belongs to the field of welding image processing. The method comprises the steps of shooting a laser stripe sequence image; obtaining a welding seam ROI region in a self-adaptive mode; extracting a corresponding ROI region from each group of adjacent frame images for differential processing to obtain a differential image; performing filtering processing on the difference image, and processing the image after median filtering by using image morphological operation; positioning and extracting laser stripe feature points by using a Steger algorithm based on a Hessian matrix; calculating the actual position of a welding seam according to the extracted laser stripe feature points, analyzing the actual geometric position of a welding gun relative to an expected track, calculating the offset of the welding seam, and correcting the deviation of the welding seam by adjusting the motion track of the tip of the welding gun to realize the tracking of the welding seam. The precision and reliability of laser tracking in the welding process are improved, especially in a welding scene with high-intensity light interference.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of welding image processing, and in particular to a K-TIG weld tracking method and system based on differential image processing. Background Art

[0002] Keyhole tungsten inert gas welding (K-TIG welding) is a new and efficient welding method that uses the keyhole effect to achieve a large penetration depth during the welding process. It can achieve full penetration without beveling, single-sided welding and double-sided forming, and good double-sided weld formation. The welding quality is high and it has a large application background in medium and thick plate welding scenarios. The laser weld tracking system can accurately monitor the position and quality of the weld, significantly improving the accuracy and efficiency of the welding process. However, in the implementation of K-TIG welding technology, the high-intensity arc light generated by it interferes with the accurate identification of laser stripes. To ensure the accuracy of the welding process, it is necessary to rely on advanced image processing technology or use specific optical filtering devices and shading mechanisms to reduce light interference and improve system stability and tracking accuracy.

[0003] In summary, in order to solve the problem of the influence of strong arc light background on the accuracy of laser stripe recognition during K-TIG welding, it is urgently necessary to design a method that can effectively reduce or eliminate the influence of strong arc light background on the accuracy of laser stripe recognition. Summary of the invention

[0004] In order to solve at least one of the technical problems existing in the prior art to a certain extent, the object of the present invention is to provide a K-TIG weld tracking method and system based on differential image processing.

[0005] The technical solution adopted by the present invention is:

[0006] A K-TIG weld seam tracking method based on differential image processing comprises the following steps:

[0007] Take a sequence of laser stripe images with different exposure values;

[0008] Adaptively acquire the weld ROI area based on the laser stripe sequence image acquisition;

[0009] The corresponding ROI area is extracted from each group of adjacent frame images and a differential processing is performed to obtain a differential image;

[0010] The difference image is filtered using a median filter algorithm, and the image after the median filter is processed using an image morphological operation, specifically: a closing operation is performed on the image after the median filter, and then an opening operation is performed on the image obtained after the closing operation;

[0011] Based on the filtered image, the Steger algorithm based on the Hessian matrix is ​​used to accurately locate and extract the characteristic points of the laser stripes;

[0012] The actual position of the weld is calculated based on the extracted laser stripe feature points, the actual geometric position of the welding gun relative to the expected trajectory is analyzed, the weld offset is calculated, and the weld deviation is corrected by adjusting the motion trajectory of the welding gun tip to achieve weld tracking.

[0013] Furthermore, the step of capturing a sequence of laser stripe images with different exposure values ​​includes:

[0014] Set the exposure parameters of the laser weld tracker's built-in camera, including ISO, shutter speed, and aperture size, to adapt to arc lighting conditions of different intensities;

[0015] The control system is used to precisely synchronize the pulse signal of the stepper motor and the shutter trigger of the camera, and the rotation frequency of the light baffle is adjusted to match the camera shooting frame rate, so that in each rotation cycle of the light baffle, the camera can capture at least one frame of exposure image when the laser completely passes through the hollow part, and capture at least one frame of non-exposure image when the light baffle blocks the laser.

[0016] The laser seam tracker's built-in camera continuously captures a sequence of images during the welding process.

[0017] Furthermore, the step of adaptively acquiring the weld ROI area according to the laser stripe sequence image includes:

[0018] Before welding, the center and size of the ROI are determined by analyzing the initial weld image to ensure that the maximum range of weld movement is covered;

[0019] In the actual welding process, each group of adjacent frames is read out synchronously, that is, the first and second frames are a group, the second and third frames are a group, and so on. According to the ROI position and size determined before welding, the corresponding ROI area is extracted from each group of adjacent frames.

[0020] Furthermore, the step of performing differential processing on the corresponding ROI region extracted from each group of adjacent frame images to obtain a differential image includes:

[0021] Synchronously read out the image data of each group of two adjacent frames of ROI area, and perform image alignment operation on the areas of the two adjacent frames of ROI;

[0022] Due to the use of a special light-blocking plate that rotates at a certain frequency, the light-blocking plate implements periodic shielding at the laser emission end, so that the laser stripes captured by the camera present different exposure values ​​in adjacent frames. The arc light is not blocked due to its continuous nature. Within the fixed exposure time of the camera, the exposure value of the arc light is the same. By subtracting the pixel values ​​of the ROI area images of adjacent frames and calculating the difference value, the influence of strong arc light on the accuracy of weld tracking can be effectively reduced;

[0023] The formula for calculating the difference value is:

[0024] D 0 (x,y)=|I 2 (x,y)-I 1 (x,y)|

[0025] Among them, D 0 (x, y) represents the pixel value in the differential image, reflecting the magnitude of change between adjacent images; I 1 (x,y),I 2 (x, y) represents the pixel value of two adjacent frames of images, and x, y represents the coordinates of the pixel in the image.

[0026] Furthermore, the median filtering algorithm is used to filter the difference image D 0 Perform filtering, including:

[0027] A1. Select an appropriate filter window size, such as 3×3 or 5×5;

[0028] A2. Systematically traverse the difference image D 0 For each pixel in (x,y), position the currently processed pixel as the center of the filter window;

[0029] A3. For each pixel located at the center of the window, collect all pixel values ​​in its surrounding neighborhood, sort the collected pixels, find the median, and replace the original value of the current pixel center with the calculated median. If the number of pixels in the neighborhood is an even number, the median is the average of the two middle values.

[0030] A4. Repeat steps A2-A3 until every pixel in the difference image has been processed.

[0031] Furthermore, the method of using the Steger algorithm based on the Hessian matrix to accurately locate and extract the characteristic points of the laser stripes includes:

[0032] The Hessian matrix of each pixel is calculated by applying four Gaussian convolution to the morphologically processed image, and the candidate points that meet the stripe center are extracted by using the Steger algorithm by analyzing the maximum eigenvalue and the corresponding vector.

[0033] Scan column by column to obtain the point with the largest eigenvalue in each row and obtain the center line;

[0034] A straight line is fitted to the center line, and the intersection of the straight lines is the characteristic point of the laser stripe.

[0035] Another technical solution adopted by the present invention is:

[0036] A K-TIG weld seam tracking system based on differential image processing, comprising a welding module, a welding gun motion control module, a laser weld seam tracking system module and an identification control module;

[0037] The laser weld tracking system module comprises:

[0038] Laser weld tracker, used to emit laser and capture the streak image formed by the laser on the workpiece surface; by combining image processing technology, it can detect the weld position in real time to ensure accurate alignment and tracking of the welding gun;

[0039] The light shield is installed at the laser emitting end of the laser weld tracker and rotates at a preset frequency during the laser emission process to periodically change the exposure value of the laser stripe.

[0040] Furthermore, the laser weld tracking system module also includes:

[0041] The stepper motor, as the driving component of the light barrier, is used to realize the precise rotation control of the light barrier to ensure the synchronization of the exposure change of the laser stripe and the camera frame rate;

[0042] A coupling, matching the output shaft of the stepper motor and the mounting hole of the light baffle, to ensure that the light baffle is fixed to the stepper motor stably and accurately;

[0043] Connectors are used to fix the stepper motor and light baffle on the laser tracker to ensure that the light baffle can effectively block and release the laser beam.

[0044] Furthermore, the light barrier is designed and installed in the following manner:

[0045] Design a light baffle that can adapt to the size of the laser transmitter port, where the material of the light baffle is selected to be able to effectively block part of the laser light;

[0046] A stepper motor was chosen as the core of the rotation mechanism;

[0047] Connect the light baffle and the motor shaft through a coupling;

[0048] Fix the motor at the appropriate position of the laser weld tracker to ensure that the light shield can effectively block and release the laser beam;

[0049] The rotation frequency of the light shield is set through the motor control system, and the synchronization relationship between the rotation frequency of the light shield and the camera frame rate is coordinated.

[0050] Furthermore, the step of setting the rotation frequency of the light shield through the motor control system and coordinating the synchronization relationship between the rotation frequency of the light shield and the camera frame rate includes:

[0051] Start the motor control system and establish a communication connection with the stepper motor and its driver;

[0052] Set the rotation frequency of the light shield in the control software. The rotation frequency of the light shield is f block With the camera frame rate f camera Synchronous or its multiples, considering the flexibility in actual operation and the response to rapidly changing scenarios, f block Slightly higher than f camera An integer multiple of ;

[0053] The control system calculates the corresponding stepper motor pulse frequency and sends a control signal to the driver.

[0054] Furthermore, the welding module includes a deep-penetration K-TIG welding power source, a water cooler, a K-TIG welding gun and an argon gas cylinder.

[0055] Furthermore, the welding gun motion control module is a six-axis industrial robot.

[0056] Furthermore, the identification control module includes a PC and an OPC communication slave computer.

[0057] Compared with the existing technology, the present invention has the following advantages and beneficial effects:

[0058] 1) The present invention precisely controls the rotation frequency of the light baffle to synchronize with the camera frame rate, and on this basis applies a differential image processing algorithm to process continuous frame images. By calculating the pixel differences between adjacent frames, the static or slowly changing background brightness, including the influence of strong arc light, is suppressed, effectively reducing the interference of strong arc light on the extraction of laser stripe feature points.

[0059] 2) The present invention combines the differential image algorithm and the Steger algorithm based on the Hessian matrix to create a new image processing process. This process is specifically designed for extracting laser stripe feature points in a strong arc light environment of K-TIG welding. The differential image algorithm effectively reduces the interference of the strong arc light, and then the Steger algorithm is used to accurately extract the center line of the laser stripe. This method significantly improves the accuracy and reliability of laser stripe feature point extraction, especially in complex welding environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments of the present invention or the drawings of related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0061] Figure 1 is a flow chart of a K-TIG weld tracking method based on differential image processing according to an embodiment of the present invention;

[0062] Figure 2 This is a schematic diagram of the structure of a K-TIG weld tracking system based on differential image processing according to an embodiment of the present invention.

[0063] Figure 3 It is a schematic diagram of a three-dimensional model of a laser weld tracking system module designed in an embodiment of the present invention;

[0064] Figure 4 It is a schematic diagram of a three-dimensional model of a light-blocking plate designed in an embodiment of the present invention.

[0065] Reference numerals:

[0066] 1-Laser weld tracker; 2-Light baffle; 3-Stepper motor; 4-Coupling; 5-Connector. DETAILED DESCRIPTION

[0067] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0068] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0069] In the description of the present invention, the meaning of "several" is one or more, the meaning of "more" is two or more, and the meanings of "greater than", "less than", "exceed" and the like are understood as not including the number itself, and the meanings of "above", "below", "within" and the like are understood as including the number itself. If there is a description of the first and the second, it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In addition, "and / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship.

[0070] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific content of the technical solution.

[0071] In view of the problem in the prior art that it is impossible to avoid the interference of strong arc light in K-TIG welding, which makes it difficult to extract laser stripe feature points, the present invention provides a K-TIG weld tracking method and system based on differential image processing, which reduces the interference of strong arc light on the extraction of laser stripe feature points based on differential images, and improves the accuracy and reliability of laser tracking during K-TIG welding.

[0072] like Figure 1 As shown, this embodiment provides a K-TIG weld tracking method based on differential image processing, which can reduce the interference of strong arc light on the extraction of laser stripe feature points, including:

[0073] S1. Perform camera calibration, hand-eye calibration and line structured light plane calibration on the laser weld tracker.

[0074] As an optional implementation, step S1 specifically includes:

[0075] S11. By collecting a certain number of calibration plate images, the built-in camera of the laser weld tracker is calibrated using Zhang Zhengyou's calibration method to obtain the transformation matrix between pixel coordinates and world coordinates. The formula is:

[0076]

[0077] Among them, (X W ,Y W ,Z W ) is the coordinate value in the world coordinate system, R and T are the external rotation matrix and translation matrix respectively, dx and dy represent the actual millimeter distance of a pixel in the image in the x-axis and y-axis directions respectively, and u 0 and v 0Represents the offset between the origin of the image and the origin of the camera coordinate system on the x-axis and y-axis respectively, (X p ,Y p ) is the coordinate value of the pixel coordinate system;

[0078] S12, move the robot arm to different positions, and for each position, record the position A of the welding gun tip i and the corresponding camera pose B i At least two sets of different poses are required for calibration. In this example, in order to improve the accuracy and robustness of calibration, ten sets of poses are collected for hand-eye calibration at one time. The collected pose data is used to obtain the transformation matrix X by solving AX=XB.

[0079] S13, place the checkerboard calibration plate at different positions and angles. After each placement, record the projection line of the line structured light on the calibration plate and the image captured by the camera, and for each position and angle, calculate the equation of this line in the image coordinate system; use the camera calibration parameters obtained previously to convert the detected line structured light image coordinates into corresponding three-dimensional space coordinates, and calculate the best fitting plane of these three-dimensional space points by the least squares method. This plane is the line structured light plane, and the formula is:

[0080] Ax+By+Cz+D=0

[0081] Among them, A, B, C, and D are the parameters that need to be solved.

[0082] S2. Shooting laser stripe sequences with different exposure values.

[0083] As an optional implementation, step S2 specifically includes:

[0084] S21. Set the exposure parameters of the built-in camera of the laser weld tracker, including ISO, shutter speed and aperture size, to adapt to arc lighting conditions of different intensities;

[0085] S22, using a control system to accurately synchronize the pulse signal of the stepper motor and the shutter trigger of the camera, and adjusting the rotation frequency of the light baffle to match the camera shooting frame rate, so that in each rotation cycle of the light baffle, the camera can capture at least one frame of exposure image when the laser completely passes through the hollow part, and capture at least one frame of non-exposure image when the light baffle blocks the laser;

[0086] S23. Use the built-in camera of the laser weld tracker to continuously capture the image sequence of the welding process.

[0087] S3. Adaptively obtain the weld ROI area.

[0088] As an optional implementation, step S3 specifically includes:

[0089] S31. Before the actual welding task begins, first collect the weld image in a normal state, determine the horizontal position coordinates of the ROI area through the center line of the stripe, and determine the vertical position coordinates of the ROI according to the position of the weld end point. These two coordinates are used as the center point of the ROI, and the final ROI position is determined in combination with the maximum range of movement of the weld during operation. In this example, the size of the selected ROI area is set to 200×400;

[0090] S32. During the actual welding process, each adjacent frame is synchronously read out, that is, the first and second frames are a group, the second and third frames are a group, and so on. According to the final ROI position and size described in S21, the corresponding ROI area is extracted from each group of adjacent frames.

[0091] S4. Perform differential processing on the corresponding ROI area extracted from each group of adjacent frames.

[0092] As an optional implementation, step S4 specifically includes:

[0093] S41, synchronously read out the image data of each group of two adjacent frames of ROI area, perform image alignment operation on the areas of two adjacent frames of ROI, use SIFT (scale invariant feature transform) to extract the key feature points of the two adjacent frames of images, and convolve the original image I (x, y) with the Gaussian kernel G (x, y, σ) to obtain the scale space L (x, y, σ), the formula is:

[0094] L(x,y,σ)=G(x,y,σ)*I(x,y)

[0095] Where G(x,y,σ) is a Gaussian function and σ is a scale parameter. * represents a convolution operation;

[0096] The feature matching algorithm is used to calculate the Euclidean distance between the feature point descriptors to determine the corresponding positions of these feature points in the two frames of images. The formula is:

[0097]

[0098] Among them, d 1i and d 2i Respectively represent the i-th element in the SIFT descriptor of two matching feature points;

[0099] Finally, a transformation matrix is ​​calculated based on the matched feature points to transform one of the frames until it is accurately aligned with the other frame in the same coordinate system. The formula is:

[0100]

[0101] Where (x, y) is the coordinate of the point in the original image, (x', y') is the coordinate after transformation, A is the affine transformation matrix, a, b, c, d are the linear parts of the affine transformation, t x ,t y is the translation amount;

[0102] S42. Due to the use of a special light shield that rotates at a certain frequency, the light shield implements periodic shielding at the laser emission end, so that the laser stripes captured by the camera present different exposure values ​​in adjacent frames. The arc light is not blocked due to its continuous nature. Within the fixed exposure time of the camera, the exposure value of the arc light is the same. By subtracting the pixel values ​​of the ROI area images of adjacent frames and calculating the difference value, the influence of strong arc light on the accuracy of weld tracking can be effectively reduced. The images after the image alignment operation are compared pixel by pixel to calculate the difference value. The formula is:

[0103] D 0 (x,y)=|I 2 (x,y)-I 1 (x,y)|

[0104] Among them, D 0 (x, y) represents the pixel value in the differential image, reflecting the magnitude of change between adjacent images. 1 (x,y),I 2 (x, y) represents the pixel value of two adjacent frames of images, and x, y represents the coordinates of the pixel in the image.

[0105] S5, using the median filtering algorithm to the difference image D 0 Perform denoising.

[0106] As an optional implementation, step S5 specifically includes:

[0107] S51, selecting a suitable filter window size, such as 3×3 or 5×5;

[0108] S52. Systematically traverse D 0 For each pixel in (x,y), position the currently processed pixel as the center of the filter window;

[0109] S53, for each pixel located at the center of the window, collect all pixel values ​​of its surrounding neighborhood, sort the collected pixels, find the median, and replace the original value of the current pixel center with the calculated median. If the number of pixels in the neighborhood is an even number, the median is the average of the two middle values;

[0110] S54, repeat S52-S43 until every pixel in the differential image is processed, and the differential image after median filtering is recorded as D 1 (x,y).

[0111] S6, using image morphological operations to 1 (x,y) is processed.

[0112] As an optional implementation, step S6 specifically includes:

[0113] S61, to D 1 (x, y) is closed to eliminate the internal holes of the laser stripes. The closing operation is to first perform an expansion operation to eliminate the holes inside the highlight area, and then perform an erosion operation to restore it. The formula is:

[0114]

[0115] Among them, D close represents the image after the closing operation, represents the closing operation, represents the corrosion operation, and ⊕ represents the expansion operation;

[0116] S62, then D close Opening operation is performed to eliminate small spots around the laser stripes, which makes the laser edge smoother while enhancing image connectivity. The formula is:

[0117]

[0118] Among them, D open Represents the image obtained after opening operation, and o represents the opening operation.

[0119] S7. Apply the Steger algorithm based on the Hessian matrix to accurately locate and extract the characteristic points of the laser stripes.

[0120] As an optional implementation manner, step S7 specifically includes:

[0121] S71, to D open Perform four Gaussian convolution operations to obtain the Hessian matrix of each pixel, and calculate the eigenvalue and eigenvector of the Hessian matrix. The eigenvector corresponding to the eigenvalue with the largest absolute value is the normal of the line feature. Use the Steger algorithm to extract the candidate points that meet the stripe center conditions and the maximum value of all pixels in the image. The formula of the Hessian matrix is:

[0122]

[0123] The formula for the Gaussian convolution operation is:

[0124] D open (x,y;σ)=g(x,y;σ)*D open

[0125] Among them, g(x, y; σ) represents the Gaussian function and its derivative, * represents the convolution operation, and D open (x, y; σ) can approximately replace the derivative value in the Hessian matrix;

[0126] S72, scanning column by column, obtaining the point with the largest eigenvalue in each row, and obtaining the center line;

[0127] S73. Fit the center line with a straight line, and the intersection of the straight lines is the required feature point.

[0128] S8. Calculation and correction of weld deviation.

[0129] As an optional implementation, step S8 specifically includes:

[0130] S81, using the camera calibration parameters obtained in S1, the hand-eye calibration transformation matrix X and the line structured light plane equation Ax+By+Cz+D=0, convert the feature point position coordinates (u, v) in the image coordinate system to the feature point position coordinates in the robot coordinate system

[0131] S82, return the actual position of the welding gun tip through the robot Analyze the actual geometric position of the welding gun relative to the expected trajectory and calculate the weld offset using the formula:

[0132]

[0133]

[0134]

[0135] S83. Adjust the motion trajectory of the welding gun tip to correct weld deviation and achieve weld tracking.

[0136] like Figure 2 As shown, this embodiment also provides a K-TIG weld tracking system based on differential image processing, which specifically includes a welding module, a welding gun motion control module, a laser weld tracking system module and an identification control module, wherein the identification control module is provided with the above-mentioned laser stripe extraction method program.

[0137] like Figure 3The laser weld tracking system module includes: a laser weld tracker 1, which emits laser and uses a built-in camera to capture the stripes formed by the laser on the surface of the workpiece. The tracker can detect the weld position in real time through a high-precision laser emission and receiving system, combined with advanced image processing technology, to ensure the precise alignment and tracking of the welding gun. The light baffle 2 is installed at the laser emission end of the laser weld tracker, rotates at a preset frequency during the laser emission process, and periodically changes the exposure value of the laser stripes. The stepper motor 3 is the driving component of the light baffle, which realizes the precise rotation control of the light baffle to ensure the synchronization of the exposure change of the laser stripes and the camera frame rate. The coupling 4 matches the output shaft of the stepper motor and the mounting hole of the light baffle to ensure that the light baffle can be fixed on the stepper motor stably and accurately. The connector 5 fixes the motor and the light baffle on the laser tracker to ensure that the light baffle can effectively block and release the laser beam.

[0138] In some embodiments, the welding module includes a deep-penetration K-TIG welding power source, a water cooler, a K-TIG welding gun, and an argon gas cylinder. The welding gun motion control module includes a YASKAWA six-axis industrial robot. The identification control module includes a PC and an OPC communication slave computer.

[0139] In some embodiments, a light shield rotating at a certain frequency is installed at the laser emitting end of the laser weld tracker 1, and the specific steps include:

[0140] (1) Design a Figure 4 The light baffle 2 shown is in the shape of a disk, with a fixed axis in the center and the edge evenly divided into 6 equally divided fan-shaped areas, which are alternately opened and closed to form a regular hollow pattern, allowing light to pass through the open part during rotation, while blocking the light in the closed part. The hollow-designed light baffle 2 achieves fine light control through alternating open and closed areas, while reducing weight; the material of the light baffle 2 is selected to be a material that can effectively block part of the laser light;

[0141] (2) According to the size, weight and required rotation speed of the light shield 2, calculate the required torque T and power P:

[0142] For Figure 3 The light shield 2 shown in the figure needs to calculate the moment of inertia J of each sector in turn. 1 , the moment of inertia of the entire disk J 2 , the moment of inertia of the central axis J 3 , and then calculate the total moment of inertia J total , the calculation formula is:

[0143]

[0144]

[0145]

[0146] J total =J 2 +J 3 -∑J 1

[0147] Among them, m 1 is the mass of each sector, r is the average distance from the center to the edge of the sector, m 2 is the mass of the entire thin disk, R is the maximum distance from the center to the edge of the light barrier 2, m 3 is the mass of the central axis, L is the length of the central axis;

[0148] The required torque T depends on the acceleration of the light barrier and the static and dynamic frictions to be overcome. In the simplified calculation, the acceleration torque is mainly considered. The formula for calculating the acceleration torque is:

[0149] T=J total α

[0150] Among them, α is the angular acceleration, and the calculation formula of angular acceleration is:

[0151]

[0152] Where Δω is the change in angular velocity (in radians per second), and t is the time required to reach that rotational speed;

[0153] Calculate the required power P. The power calculation formula is:

[0154]

[0155] Where v is the rotation speed of the motor.

[0156] (3) Select the appropriate stepper motor size and model based on the torque requirement and power, determine the power requirements of the stepper motor, and select the appropriate power supply unit and a driver compatible with the stepper motor;

[0157] (4) Connect the central axis of the light shield 2 and the axis of the stepping motor 3 through the coupling 4;

[0158] (5) Fix the stepper motor 3 to the appropriate position of the laser weld tracker 1 through the connector 5 to ensure that the light shielding plate 2 can effectively block and release the laser beam;

[0159] (6) The rotation frequency of the light shielding plate 2 is set through the motor control system, and the synchronization relationship between the rotation frequency of the light shielding plate 2 and the camera frame rate is coordinated.

[0160] As an optional implementation, the synchronization relationship in the above step (6) is implemented in the following manner:

[0161] a) starting the motor control system and establishing a communication connection with the stepper motor 3 and its driver;

[0162] b) Set the rotation frequency of light barrier 2 in the control software. The rotation frequency of light barrier 2 is f block With the camera frame rate f camera Synchronous or its multiples, considering the flexibility in actual operation and the response to rapidly changing scenarios, f block Slightly higher than f camera An integer multiple of ;

[0163] The control system calculates the corresponding stepper motor pulse frequency and sends a control signal to the driver. The calculation formula of the pulse frequency f is:

[0164]

[0165] Among them, S is the number of steps required for the stepper motor to make one revolution.

[0166] The working process of the above-mentioned K-TIG weld tracking system based on differential image processing is as follows:

[0167] Step 1: After the system is powered on, open the argon gas bottle to ensure the supply of argon gas;

[0168] Step 2: Controlling the six-axis industrial robot to reach a welding start position through the robot teaching pendant;

[0169] Step 3, the PC is connected to the laser weld tracker system module and the OPC communication slave computer, so that the PC is in an image acquisition state and a control state, and sets a suitable camera frame rate, a light baffle rotation frequency, and a robot movement speed;

[0170] Step 4, setting a suitable welding current for the deep-penetration K-TIG welding power source;

[0171] Step 5, the PC controls the deep-penetration K-TIG welding power source to start arcing and start welding, the PC controls the six-axis robot to move along the welding direction at a certain speed, and the built-in camera of the laser weld tracking system captures welding image information, and the weld deviation is extracted by the weld tracking method based on differential image processing, and the deviation is corrected by the six-axis robot;

[0172] Step 6: After welding is completed, the PC controls the deep-penetration K-TIG welding power source to extinguish the arc, and controls the six-axis robot to stop moving after the arc is extinguished. After the movement stops completely, the PC disconnects the weld tracker system module and the OPC communication slave computer;

[0173] Step 7: Power off the system.

[0174] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0175] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

[0176] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A K-TIG weld tracking method based on differential image processing, It is characterized in that The following steps are involved: Take a sequence of laser stripe images with different exposure values; Adaptively acquire the weld ROI area based on the laser stripe sequence image acquisition; The corresponding ROI area is extracted from each group of adjacent frame images and a differential processing is performed to obtain a differential image; Using the median filter algorithm to filter the difference image, and using image morphology operations to process the median filtered image; Based on the filtered image, the Steger algorithm based on the Hessian matrix is ​​used to locate and extract the characteristic points of the laser stripes; The actual position of the weld is calculated based on the extracted laser stripe feature points, the actual geometric position of the welding gun relative to the expected trajectory is analyzed, the weld offset is calculated, and the weld deviation is corrected by adjusting the motion trajectory of the welding gun tip to achieve weld tracking.

2. A K-TIG weld seam tracking method based on differential image processing according to claim 1, It is characterized in that The step of capturing a sequence of laser stripe images with different exposure values ​​comprises: Set the exposure parameters of the laser weld tracker's built-in camera, including ISO, shutter speed, and aperture size, to adapt to arc lighting conditions of different intensities; The pulse signal of the synchronous stepper motor and the shutter trigger of the camera are adjusted to match the frame rate of the camera, so that in each rotation cycle of the light baffle, the camera can capture at least one frame of exposure image when the laser completely passes through the hollow part, and capture at least one frame of non-exposure image when the light baffle blocks the laser; The laser seam tracker's built-in camera continuously captures a sequence of images during the welding process.

3. The K-TIG weld tracking method based on differential image processing according to claim 1, It is characterized in that The method of adaptively acquiring the weld ROI area according to the laser stripe sequence image comprises: Before welding, the center and size of the ROI are determined by analyzing the initial weld image to ensure that the maximum range of weld movement is covered; In the actual welding process, each group of adjacent frames is read out synchronously, and the corresponding ROI area is extracted from each group of adjacent frames according to the ROI position and size determined before welding.

4. The K-TIG weld tracking method based on differential image processing according to claim 1, It is characterized in that The step of performing differential processing on the corresponding ROI region extracted from each group of adjacent frame images to obtain a differential image includes: Synchronously read out the image data of the ROI area of ​​each group of two adjacent frames, and perform image alignment operation on the areas of the ROI of the two adjacent frames; due to the use of a special light-blocking plate that rotates at a certain frequency, the light-blocking plate implements periodic shielding at the laser emission end, so that the laser stripes captured by the camera present different exposure values ​​in adjacent frames. The arc light is not blocked due to its continuous nature. Within the fixed exposure time of the camera, the exposure value of the arc light is the same. The difference value is calculated by subtracting the pixel values ​​of the ROI area images of adjacent frames; The formula for calculating the difference value is: D 0 (x,y)=|I 2 (x,y)-I 1 (x,y)| Among them, D 0 (x, y) represents the pixel value in the difference image; I 1 (x,y),I 2 (x, y) represents the pixel value of two adjacent frames of images, and x, y represents the coordinates of the pixel in the image.

5. The K-TIG weld seam tracking method based on differential image processing according to claim 1, It is characterized in that The filtering process of the differential image using a median filtering algorithm includes: A1. Select the appropriate filter window size; A2, traverse each pixel in the differential image and locate the currently processed pixel as the center of the filter window; A3. For each pixel located at the center of the window, collect all pixel values ​​in its surrounding neighborhood, sort the collected pixels, find the median, and replace the original value of the current pixel center with the calculated median. If the number of pixels in the neighborhood is an even number, the median is the average of the two middle values. A4. Repeat steps A2-A3 until every pixel in the difference image has been processed.

6. The K-TIG weld tracking method based on differential image processing according to claim 1, It is characterized in that The method of using the Steger algorithm based on the Hessian matrix to accurately locate and extract the characteristic points of the laser stripes includes: The Hessian matrix of each pixel is calculated by applying four Gaussian convolution to the morphologically processed image, and the candidate points that meet the stripe center are extracted by using the Steger algorithm by analyzing the maximum eigenvalue and the corresponding vector. Scan column by column to obtain the point with the largest eigenvalue in each row and obtain the center line; A straight line is fitted to the center line, and the intersection of the straight lines is the characteristic point of the laser stripe.

7. A K-TIG weld tracking system based on differential image processing, It is characterized in that It includes welding module, welding gun motion control module, laser weld seam tracking system module and identification control module; The laser weld tracking system module comprises: Laser weld tracker, used to emit laser and capture the streak image formed by the laser on the workpiece surface; by combining image processing technology, it can detect the weld position in real time to ensure the alignment and tracking of the welding gun; The light shield is installed at the laser emitting end of the laser weld tracker and rotates at a preset frequency during the laser emission process to periodically change the exposure value of the laser stripe.

8. A K-TIG weld tracking system based on differential image processing according to claim 7, It is characterized in that The laser weld tracking system module also includes: The stepper motor, as the driving component of the light barrier, is used to realize the precise rotation control of the light barrier to ensure the synchronization of the exposure change of the laser stripe and the camera frame rate; A coupling, matching the output shaft of the stepper motor and the mounting hole of the light baffle, to ensure that the light baffle is fixed to the stepper motor stably and accurately; Connectors are used to fix the stepper motor and light baffle on the laser tracker to ensure that the light baffle can effectively block and release the laser beam.

9. A K-TIG weld tracking system based on differential image processing according to claim 7 or 8, It is characterized in that The light barrier is designed and installed in the following manner: Design a light baffle that can adapt to the size of the laser transmitter port, where the material of the light baffle is selected to block part of the laser light; A stepper motor was chosen as the core of the rotation mechanism; Connect the light baffle and the motor shaft through a coupling; Fix the motor at the appropriate position of the laser weld tracker to ensure that the light shield can effectively block and release the laser beam; set the rotation frequency of the light shield through the motor control system, and coordinate the synchronization relationship between the rotation frequency of the light shield and the camera frame rate.

10. A K-TIG weld tracking system based on differential image processing according to claim 9, It is characterized in that The step of setting the rotation frequency of the light shield by the motor control system and coordinating the synchronization relationship between the rotation frequency of the light shield and the camera frame rate includes: Start the motor control system and establish a communication connection with the stepper motor and its driver; Set the rotation frequency of the light shield in the control software. The rotation frequency of the light shield is f block With the camera frame rate f camera Synchronous or multiples thereof; The control system calculates the corresponding stepper motor pulse frequency and sends a control signal to the driver.

Citation Information

Patent Citations

  • Line laser real-time welding seam tracking method for six-freedom-degree welding robot

    CN106392267A

  • Self-adaptive extraction method for geometrical characteristics of butt weld

    CN113649672A

  • Embedded visual tracking control system of autonomous mobile welding robot

    CN114714355A

  • Guide welding and weld joint quality detection method and system based on line structured light vision

    CN117900722A

Cited By

  • Laser sensor for mirror surface stainless steel welding seam tracking and welding seam tracking identification method

    CN120133706A