Aluminum alloy pulse TIG welding dynamic molten pool feature extraction method and equipment

Through image processing and machine vision technology, the characteristics of the dynamic molten pool of aluminum alloy pulse welding are extracted, which solves the problems of negative polarity interference and pulse current changes, achieves more accurate and stable feature extraction, and improves the ability to predict and regulate welding quality.

CN118570489APending Publication Date: 2024-08-30BEIHANG UNIV
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410699843.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In aluminum alloy pulse welding, the feature extraction of dynamic molten pool faces the complexity caused by interference during negative polarity, pulse current changes and molten pool dynamics. It is difficult for traditional methods to accurately and stably extract welding features.

Method used

An image acquisition device is used for calibration and converted into a grayscale image. The positive polarity state is identified through a pre-trained machine learning classifier. Gaussian filtering, grayscale mapping stretching and morphological operations are combined to extract the characteristics of the melt pool and small holes or arc craters. Characteristics, including width, length, diameter, and taper angle.

Benefits of technology

It improves the accuracy and stability of dynamic molten pool feature extraction, overcomes negative polarity interference and pulse current changes, and provides a technical basis for welding quality prediction and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570489A
    Figure CN118570489A
Patent Text Reader

Abstract

The invention discloses an aluminum alloy pulse TIG welding dynamic molten pool feature extraction method and device, and the method comprises the steps: calibrating an image collection device, determining the actual size of molten pool features in a collected image and the image pixel distance conversion rate, and collecting a welding process image; converting the collected image into a grayed image, searching for an area with the maximum image gray value, searching for the area centroid to position an interest area, estimating the size of a molten pool, and determining a pixel area of the interest area of the image according to the actual size of molten pool features in the collected image and the image pixel distance conversion rate; inputting the image of the region of interest into a trained machine learning classifier, classifying the image, and outputting a molten pool image in a positive polarity state; molten pool feature extraction and small hole or arc crater feature extraction are conducted on the molten pool image in the positive polarity state, and finally the width and length of a molten pool and the aperture and taper angle of a deep melting small hole are obtained; according to the invention, the interference during the negative polarity period is overcome, and the accuracy and stability of feature extraction are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of welding technology, and more particularly to a method and device for extracting dynamic molten pool features of aluminum alloy pulse TIG welding. Background Art

[0002] In the field of aluminum alloy pulse welding, the morphological characteristics of the dynamic molten pool during the welding process directly reflect key information such as welding stability, surface quality and penetration state. Therefore, the extraction of the morphological characteristics of the dynamic molten pool is crucial; the traditional welding method uses variable polarity alternating current, and the latest technology introduces square wave alternating current and combines low-frequency pulses and high-frequency pulses, resulting in a dynamic effect in the welding molten pool.

[0003] However, in aluminum alloy pulse welding, the feature extraction of dynamic molten pool faces a series of challenges:

[0004] First, aluminum alloy TIG welding requires the use of AC or variable polarity TIG welding. The cathode cleaning effect of the arc during the negative polarity period will form extremely bright cathode spots near the molten pool, interfering with the molten pool image.

[0005] Secondly, the change of pulse current causes the intensity of the light source in the picture to change, and the traditional threshold segmentation method with fixed parameters is difficult to adapt to this light source dynamics;

[0006] Finally, the characteristics of the dynamic melt pool are extremely irregular during the change process, making it difficult for traditional feature extraction methods to adapt.

[0007] Therefore, how to overcome the interference during the negative polarity of aluminum alloy TIG welding, adapt to the pulse current changes and the dynamics of the molten pool, cope with the complexity of dynamic molten pool feature extraction of aluminum alloy pulse welding, and improve the accuracy and stability of feature extraction is an urgent problem that technical personnel in this field need to solve. Summary of the invention

[0008] In view of this, the present invention provides a method and device for extracting dynamic molten pool features of aluminum alloy pulse TIG welding to solve some of the technical problems mentioned in the background technology.

[0009] In order to achieve the above object, the present invention adopts the following technical solution:

[0010] A method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding, comprising the following steps:

[0011] S1. Calibrate the image acquisition device before welding to determine the actual size of the molten pool features in the acquired image and the image pixel distance conversion rate, and acquire the welding process image;

[0012] S2. Convert the acquired image into a grayscale image, find the area with the maximum grayscale value of the image, find the centroid of the area to locate the area of ​​interest, estimate the size of the molten pool, and determine the pixel area of ​​the image area of ​​interest based on the actual size of the molten pool feature in the acquired image obtained by calibration and the image pixel distance conversion rate;

[0013] S3. Input the grayscale image of the region of interest into a pre-trained machine learning classifier, classify the image, and output a molten pool image in a positive polarity state;

[0014] S4. Perform melt pool feature extraction and small hole or arc crater feature extraction on the melt pool image in the positive polarity state output by the classifier, and finally obtain the melt pool width and length, as well as the deep melting small hole or arc crater diameter and cone angle.

[0015] Preferably, in step S1, the specific content of calibrating the image acquisition device is:

[0016] A flat cylindrical calibration piece with a known diameter is placed on the workpiece to be welded, directly below the welding gun and coaxial with the tungsten electrode, and an image acquisition device is used to capture the image of the calibration piece;

[0017] By calculating the ratio between the pixel size of the calibration part in the image and the actual size, the conversion factor for converting the pixel size of the melt pool feature in the image to the actual size is determined:

[0018] Horizontal conversion factor c h For: c h = l / a;

[0019] Longitudinal conversion factor c v For: c v = l / b;

[0020] Wherein, l is the diameter of the calibration object, the calibration object in the image is elliptical, a is the pixel size of the major axis of the ellipse, and b is the pixel size of the minor axis of the ellipse.

[0021] Preferably, in step S2, the pixel area of ​​the image interest area is a rectangle, and the pixel coordinates of the four vertices are specifically:

[0022]

[0023]

[0024] in, is the estimated actual width of the molten pool, (x c ,y c ) is the pixel coordinate of the centroid of the area with the maximum gray value in the image, α x is a coefficient greater than or equal to 1, α y is a coefficient greater than or equal to 0.5, c his the lateral conversion factor, c v is the vertical conversion factor.

[0025] Preferably, in step S3, the machine learning classifier screens out the molten pool image in a positive polarity state by identifying the current mode of the arc during the welding process, and the positive polarity state includes the peak positive polarity and base positive polarity of the low-frequency pulse.

[0026] Preferably, in step S4, the specific contents of molten pool feature extraction include:

[0027] (1) Gaussian filtering is performed on the molten pool image in the positive polarity state to eliminate the interference of noise points in the image;

[0028] (2) grayscale mapping stretching to highlight the molten pool area;

[0029] (3) grayscale threshold segmentation is performed on the image after grayscale mapping and stretching;

[0030] (4) Using the opening operation of first erosion and then dilation to perform morphological operations on the segmented image to remove areas unrelated to the melt pool;

[0031] (5) Extract the edge contour of the image after morphological operation;

[0032] (6) Extract the molten pool contour, retain only the edge contour of the molten pool, and exclude the arc and weld area: divide the edge contour into left and right sides, find the outermost point on the contour, retain N contour pixels connected to the outermost point before and after the outermost point, delete the rest of the contour, and obtain the partial contour of the molten pool;

[0033] (7) Read the pixel coordinates of the retained molten pool contour, and perform ellipse fitting based on the least squares method. The major axis of the fitted ellipse is the pixel distance of the molten pool width, and the minor axis is the pixel distance of the molten pool length.

[0034] Preferably, in step S4, the specific contents of the small hole or arc crater feature extraction include:

[0035] (1) Gaussian filtering is performed on the molten pool image in the positive polarity state to eliminate the interference of noise points in the image;

[0036] (2) grayscale mapping stretching to highlight the small hole or arc crater area;

[0037] (3) grayscale threshold segmentation is performed on the image after grayscale mapping and stretching;

[0038] (4) Using the opening operation of first erosion and then dilation to perform morphological operations on the segmented image to remove areas that are irrelevant to the small hole or arc crater features;

[0039] (5) Extract the edge of the image after morphological operation;

[0040] (6) Extraction of small hole or arc crater contour, retain only the edge contour of the small hole or arc crater, and exclude the arc and weld area: project from the middle of the edge contour image to both sides, disconnect the molten pool part from the small hole or arc crater part, and then delete the molten pool part contour, divide the remaining part of the contour into left and right sides, and then find the outermost edge point on the contour, retain only the contour pixel points below the outermost extension point, and turn all the contours above black, exclude the arc part contour, and finally obtain the edge contour of the small hole or arc crater;

[0041] (7) Read the coordinates of the pixel points along the edge of the retained small hole or arc crater, and calculate the distance between the top pixel points of the left and right contours of the small hole or arc crater. The calculation result is the pixel distance of the small hole or arc crater aperture;

[0042] (8) Based on the least square method, straight line fitting is performed on the left and right contours of the small hole or arc pit, and the angle between the two straight lines is calculated based on the slopes of the two fitted straight lines. The obtained angle is the cone angle of the small hole or arc pit.

[0043] Preferably, the specific content of grayscale mapping stretching to highlight the molten pool area is:

[0044] The grayscale value of the image with grayscale value [0,255] is in the range [255k 1 ,255k 2 ] is linearly mapped to the interval [0,255], and the grayscale value after mapping is less than 255k 1 Pixels that are greater than 255k become 0 black 2 The pixel is changed to 255 white, and the value standard is whether the inside of the molten pool, the small hole or the arc crater area can be completely changed to white;

[0045] The calculation method of the mapped gray value is:

[0046]

[0047] Among them, k 1 With k 2 The value of needs to be determined according to the specific imaging effect of the camera.

[0048] A dynamic molten pool feature extraction device for aluminum alloy pulse TIG welding, based on the dynamic molten pool feature extraction method for aluminum alloy pulse TIG welding, comprises: an image acquisition device, a calibration device and a computer, the image acquisition device communicates with the computer and transmits the acquired image to the computer;

[0049] The computer includes an interest region extraction module, an image classification module, a molten pool feature extraction module and a small hole feature extraction module;

[0050] A calibration device, used to calibrate the image acquisition device before welding, and used to determine the actual size of the molten pool features in the acquired image and the image pixel distance conversion rate;

[0051] An image acquisition device, used for acquiring images of the welding process;

[0052] The region of interest extraction module is used to convert the acquired image into a grayscale image, find the region with the maximum grayscale value of the image, find the centroid of the region to locate the region of interest, estimate the size of the molten pool, and determine the pixel area of ​​the image region of interest based on the actual size of the molten pool feature in the acquired image obtained by calibration and the image pixel distance conversion rate;

[0053] An image classification module is used to classify the grayscale image of the region of interest through a pre-trained machine learning classifier and output a molten pool image in a positive polarity state;

[0054] A molten pool feature extraction module is used to extract molten pool features from the molten pool image in the positive polarity state output by the classifier to obtain the molten pool width and length;

[0055] The small hole feature extraction module is used to extract small hole or arc crater features from the molten pool image in the positive polarity state output by the classifier, and obtain the aperture and cone angle of the deep melting small hole or arc crater.

[0056] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements a method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding.

[0057] A processing terminal comprises a memory and a processor. The memory stores a computer program that can be run on the processor. When the processor executes the computer program, the method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding is implemented.

[0058] It can be seen from the above technical scheme that compared with the prior art, the present invention discloses a method and equipment for extracting dynamic molten pool features of aluminum alloy pulse TIG welding, which combines image processing and machine vision technology to cope with the complexity of dynamic molten pool feature extraction of aluminum alloy pulse welding. It not only overcomes the interference during the negative polarity period, but also introduces a new feature extraction strategy for pulse current changes and molten pool dynamics, extracts the molten pool width and length, and the diameter and cone angle of deep melting holes or arc pits, thereby improving the accuracy and stability of feature extraction and providing a technical basis for the prediction of welding quality and the regulation of welding process. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0060] Figure 1 The accompanying drawing is a flow chart of a method for extracting dynamic molten pool characteristics of aluminum alloy pulse TIG welding provided by the present invention;

[0061] Figure 2 The accompanying drawing is a schematic diagram of camera calibration provided by the present invention;

[0062] Figure 3 The accompanying drawing is a schematic diagram of the calibration part image provided by the present invention;

[0063] Figure 4 The accompanying drawing is a schematic diagram of the region of interest provided by the present invention;

[0064] Figure 5 The accompanying drawing is a schematic diagram of the region of interest provided by the present invention;

[0065] Figure 6 The accompanying drawing is a schematic diagram of a molten pool image of a low-frequency pulse variable polarity TIG welding arc state provided by the present invention;

[0066] Figure 7 The accompanying drawing is a schematic diagram of the molten pool feature extraction step provided by the present invention;

[0067] Figure 8 The accompanying drawing is a schematic diagram of the steps of extracting features of small holes or arc pits provided by the present invention;

[0068] Fig. 9 The accompanying drawing is a schematic diagram of the installation position and connection of the equipment provided by the present invention. DETAILED DESCRIPTION

[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0070] The embodiment of the present invention discloses a method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding, comprising the following steps:

[0071] S1. Calibrate the image acquisition device before welding to determine the actual size of the molten pool features in the acquired image and the image pixel distance conversion rate, and acquire the welding process image;

[0072] S2. Convert the acquired image into a grayscale image, find the area with the maximum grayscale value in the image, find the centroid of the area to locate the area of ​​interest, estimate the size of the molten pool, and determine the pixel area of ​​the image area of ​​interest based on the actual size of the calibrated part in the calibrated image and the image pixel distance conversion rate, so as to obtain an image that is more focused on the molten pool;

[0073] In this embodiment, the region of interest is extracted because the captured image may be relatively large, including, for example, a welding gun, a workpiece, etc. The region of interest is extracted to make the image more focused on the molten pool;

[0074] S3. Input the grayscale image of the region of interest into a pre-trained machine learning classifier, classify the image, and output a molten pool image in a positive polarity state;

[0075] S4. Perform melt pool feature extraction and small hole or arc crater feature extraction on the melt pool image in the positive polarity state output by the classifier, and finally obtain the melt pool width and length, as well as the deep melting small hole or arc crater diameter and cone angle.

[0076] In order to further implement the above technical solution, Figure 2 and Figure 3 In step S1, the specific content of calibrating the image acquisition device is:

[0077] A flat cylindrical calibration piece with a known diameter is placed on the workpiece to be welded, directly below the welding gun and coaxial with the tungsten electrode, and an image acquisition device is used to capture the image of the calibration piece;

[0078] By calculating the ratio between the pixel size of the calibration part in the image and the actual size, the conversion factor for converting the pixel size of the melt pool feature in the image to the actual size is determined:

[0079] Horizontal conversion factor c h For: c h = l / a;

[0080] Longitudinal conversion factor c v For: c v = l / b;

[0081] Where l is the diameter of the calibration part. The calibration part in the image is elliptical. a is the pixel size of the major axis of the ellipse. b is the pixel size of the minor axis of the ellipse. The horizontal conversion factor is used to convert the molten pool width, small hole or arc crater diameter; the vertical conversion factor is used to convert the molten pool length.

[0082] In this embodiment, the calibration piece is cylindrical and has good reflectivity. The height of the calibration piece is within 2 mm, and the diameter is close to the width of the weld.

[0083] Assume that the pixel distance of the molten pool width identified by the subsequent process is w pp , the pixel distance of the melt pool length is l pp , the aperture pixel distance is w kp , then the actual molten pool width The pixel distance of the melt pool length is The aperture pixel distance is

[0084] In order to further implement the above technical solution, in step S2, the pixel area of ​​the image interest area is a rectangle, and the pixel coordinates of the four vertices are specifically:

[0085]

[0086] in, is the estimated actual width of the molten pool, (x c ,y c ) is the pixel coordinate of the centroid of the area with the maximum gray value in the image, α x is a coefficient greater than or equal to 1, α y is a coefficient greater than or equal to 0.5, c h is the lateral conversion factor, c v is the vertical conversion factor.

[0087] In this embodiment, if Figure 4 and Figure 5 The region of interest is a square area that contains the complete molten pool image. The brightest area in the image is at the arc and the molten pool directly below the arc, which is where the grayscale value of the grayscale image is the largest. Estimate the size of the molten pool based on welding experience or preliminary tests (the error should not exceed 50%).

[0088] In order to further implement the above technical solution, in step S3, the machine learning classifier screens out the molten pool image in the positive polarity state by identifying the current mode of the arc during the welding process. The positive polarity state includes the peak positive polarity and the base positive polarity of the low-frequency pulse, such as Figure 6 .

[0089] In practical applications, due to the large difference between positive and negative polarity images, the classifier can use any machine learning method for pattern recognition type tasks to implement the classification task, such as support vector machine, convolutional neural network (LeNet-5, AlexNet, VGGNet, ResNet), random forest method, etc.

[0090] In order to further implement the above technical solution, Figure 7In step S4, the specific contents of the molten pool feature extraction include:

[0091] (1) Gaussian filtering is performed on the molten pool image in the positive polarity state to eliminate the interference of noise points in the image;

[0092] (2) grayscale mapping stretching to highlight the molten pool area;

[0093] (3) grayscale threshold segmentation is performed on the image after grayscale mapping and stretching;

[0094] (4) Using the opening operation of first erosion and then dilation to perform morphological operations on the segmented image to remove areas unrelated to the melt pool;

[0095] (5) Extract the edge contour of the image after morphological operation;

[0096] (6) Extract the molten pool contour, retain only the edge contour of the molten pool, and exclude the arc and weld area: divide the edge contour into left and right sides, find the outermost point on the contour, retain N contour pixels connected to the outermost point before and after the outermost point, delete the rest of the contour, and obtain the partial contour of the molten pool;

[0097] In practical applications, the number of pixels N depends on the camera frame, installation location and specific welding parameters;

[0098] (7) Read the pixel coordinates of the retained molten pool contour and perform ellipse fitting based on the least squares method. The major axis of the fitted ellipse is the pixel distance w of the molten pool width. pp , the short axis is the length of the melt pool pixel distance l pp .

[0099] In order to further implement the above technical solution, Figure 8 In step S4, the specific contents of the small hole or arc crater feature extraction include:

[0100] (1) Gaussian filtering is performed on the molten pool image in the positive polarity state to eliminate the interference of noise points in the image;

[0101] (2) grayscale mapping stretching to highlight the small hole or arc crater area;

[0102] (3) grayscale threshold segmentation is performed on the image after grayscale mapping and stretching;

[0103] (4) Using the opening operation of first erosion and then dilation to perform morphological operations on the segmented image to remove areas that are irrelevant to the small hole or arc crater features;

[0104] (5) Extract the edge of the image after morphological operation;

[0105] (6) Extraction of small hole or arc crater contour, retain only the edge contour of the small hole or arc crater, and exclude the arc and weld area: project from the middle of the edge contour image to both sides, disconnect the molten pool part from the small hole or arc crater part, and then delete the molten pool part contour, divide the remaining part of the contour into left and right sides, and then find the outermost edge point on the contour, retain only the contour pixel points below the outermost extension point, and turn all the contours above black, exclude the arc part contour, and finally obtain the edge contour of the small hole or arc crater;

[0106] (7) Read the coordinates of the pixel points along the edge of the retained small hole or arc crater, and calculate the distance between the top pixel points of the left and right contours of the small hole or arc crater. The calculation result is the pixel distance of the small hole or arc crater aperture;

[0107] In this embodiment, the aperture pixel distance w of the pinhole or arc crater is kp for:

[0108]

[0109] Among them, (x l ,y l ) is the coordinate of the top pixel of the left contour, (x r ,y r ) is the coordinate of the top pixel of the right contour;

[0110] (8) performing straight line fitting on the left and right contours of the small hole or arc pit based on the least square method, and calculating the straight line angle based on the slopes of the two fitted straight lines. The obtained angle is the cone angle of the small hole or arc pit;

[0111] In this embodiment, the fitted straight lines are fl(x)=k l x+b l 、f r (x) = k r x+b r ;

[0112] The cone angle β of the small hole or arc pit is specifically:

[0113] β=arctan(k l )-arctan(k r ).

[0114] In order to further implement the above technical solution, the specific contents of grayscale mapping stretching to highlight the molten pool area are as follows:

[0115] The grayscale value of the image with grayscale value [0,255] is in the range [255k 1 ,255k 2 ] is linearly mapped to the interval [0,255], and the grayscale value after mapping is less than 255k 1Pixels that are greater than 255k become 0 black 2 The pixel is changed to 255 white, and the value standard is whether the inside of the molten pool, the small hole or the arc crater area can be completely changed to white;

[0116] The calculation method of the mapped grayscale value is:

[0117]

[0118] Among them, k 1 With k 2 The value of needs to be determined according to the specific imaging effect of the camera;

[0119] In practical applications, k 1 =0.4, k 2 =0.45; grayscale threshold segmentation, the threshold is 0.5*255; use Sobel operator, Canny edge detection, etc. to extract the edge of the image after morphological operation.

[0120] A dynamic molten pool feature extraction device for aluminum alloy pulse TIG welding is based on a dynamic molten pool feature extraction method for aluminum alloy pulse TIG welding, such as Fig. 9 , including: an image acquisition device, a calibration device and a computer, the image acquisition device communicates with the computer and transmits the acquired image to the computer;

[0121] The computer includes an interest region extraction module, an image classification module, a molten pool feature extraction module and a small hole feature extraction module;

[0122] A calibration device, used to calibrate the image acquisition device before welding, and used to determine the actual size of the molten pool features in the acquired image and the image pixel distance conversion rate;

[0123] An image acquisition device, used for acquiring images of the welding process;

[0124] The region of interest extraction module is used to convert the collected image into a grayscale image, find the area with the maximum grayscale value of the image, find the centroid of the area to locate the region of interest, estimate the size of the molten pool, and determine the pixel area of ​​the image region of interest based on the actual size of the molten pool feature in the collected image obtained by calibration and the image pixel distance conversion rate, and grayscale it;

[0125] An image classification module is used to classify the grayscale image of the region of interest through a pre-trained machine learning classifier and output a molten pool image in a positive polarity state;

[0126] A molten pool feature extraction module is used to extract molten pool features from the molten pool image in the positive polarity state output by the classifier to obtain the molten pool width and length;

[0127] The small hole feature extraction module is used to extract small hole or arc crater features from the molten pool image in the positive polarity state output by the classifier, and obtain the aperture and cone angle of the deep melting small hole or arc crater.

[0128] In this embodiment, the image acquisition device is a CCD camera with a neutral density lens, which has a certain angle with the horizontal plane.

[0129] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements a method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding.

[0130] A processing terminal comprises a memory and a processor. The memory stores a computer program that can be run on the processor. When the processor executes the computer program, a method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding is implemented.

[0131] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0132] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A dynamic molten pool feature extraction method for aluminum alloy pulse TIG welding, characterized in that: The following steps are involved: S1. Calibrate the image acquisition device before welding to determine the actual size of the molten pool features in the acquired image and the image pixel distance conversion rate, and acquire the welding process image; S2. Convert the acquired image into a grayscale image, find the area with the maximum grayscale value of the image, find the centroid of the area to locate the area of ​​interest, estimate the size of the molten pool, and determine the pixel area of ​​the image area of ​​interest based on the actual size of the molten pool feature in the acquired image obtained by calibration and the image pixel distance conversion rate; S3. Input the grayscale image of the region of interest into a pre-trained machine learning classifier, classify the image, and output a molten pool image in a positive polarity state; S4. Perform melt pool feature extraction and small hole or arc crater feature extraction on the melt pool image in the positive polarity state output by the classifier, and finally obtain the melt pool width and length, as well as the deep melting small hole or arc crater diameter and cone angle.

2. The method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding according to claim 1, characterized in that: In step S1, the specific contents of calibrating the image acquisition device are: A flat cylindrical calibration piece with a known diameter is placed on the workpiece to be welded, directly below the welding gun and coaxial with the tungsten electrode, and an image acquisition device is used to capture an image of the calibration piece; By calculating the ratio between the pixel size of the calibration part in the image and the actual size, the conversion factor for converting the pixel size of the melt pool feature in the image to the actual size is determined: Horizontal conversion factor c h For: c h = l / a; Longitudinal conversion factor c v For: c v = l / b; Wherein, l is the diameter of the calibration object, the calibration object in the image is elliptical, a is the pixel size of the major axis of the ellipse, and b is the pixel size of the minor axis of the ellipse.

3. The method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding according to claim 1, characterized in that: In step S2, the pixel area of ​​the image interest area is a rectangle, and the pixel coordinates of the four vertices are specifically: in, is the estimated actual width of the molten pool, (x c ,y c ) is the pixel coordinate of the centroid of the area with the maximum gray value in the image, α x is a coefficient greater than or equal to 1, α y is a coefficient greater than or equal to 0.5, c h is the lateral conversion factor, c v is the vertical conversion factor.

4. The method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding according to claim 1, characterized in that: In step S3, the machine learning classifier screens out the molten pool image in the positive polarity state by identifying the current mode of the arc during the welding process. The positive polarity state includes the peak positive polarity and base positive polarity of the low-frequency pulse.

5. The method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding according to claim 1, characterized in that: In step S4, the specific contents of molten pool feature extraction include: (1) Gaussian filtering is performed on the molten pool image in the positive polarity state to eliminate the interference of noise points in the image; (2) grayscale mapping stretching to highlight the molten pool area; (3) grayscale threshold segmentation is performed on the image after grayscale mapping and stretching; (4) Using the opening operation of first erosion and then dilation to perform morphological operations on the segmented image to remove areas unrelated to the melt pool; (5) Extract the edge contour of the image after morphological operation; (6) Extract the molten pool contour, retain only the edge contour of the molten pool, and exclude the arc and weld area: divide the edge contour into left and right sides, find the outermost point on the contour, retain N contour pixels connected to the outermost point before and after the outermost point, delete the rest of the contour, and obtain the partial contour of the molten pool; (7) Read the pixel coordinates of the retained molten pool contour, and perform ellipse fitting based on the least squares method. The major axis of the fitted ellipse is the pixel distance of the molten pool width, and the minor axis is the pixel distance of the molten pool length.

6. The method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding according to claim 1, characterized in that: In step S4, the specific contents of the small hole or arc crater feature extraction include: (1) Gaussian filtering is performed on the molten pool image in the positive polarity state to eliminate the interference of noise points in the image; (2) grayscale mapping stretching to highlight the small hole or arc crater area; (3) grayscale threshold segmentation is performed on the image after grayscale mapping and stretching; (4) Using the opening operation of first erosion and then dilation to perform morphological operations on the segmented image to remove areas that are irrelevant to the small hole or arc crater features; (5) Extract the edge of the image after morphological operation; (6) Extraction of small hole or arc crater contour, retain only the edge contour of the small hole or arc crater, and exclude the arc and weld area: project from the middle of the edge contour image to both sides, disconnect the molten pool part from the small hole or arc crater part, and then delete the molten pool part contour, divide the remaining part of the contour into left and right sides, and then find the outermost edge point on the contour, retain only the contour pixel points below the outermost extension point, and turn all the contours above black, exclude the arc part contour, and finally obtain the edge contour of the small hole or arc crater; (7) Read the coordinates of the pixel points along the edge of the retained small hole or arc crater, and calculate the distance between the top pixel points of the left and right contours of the small hole or arc crater. The calculation result is the pixel distance of the small hole or arc crater aperture; (8) Based on the least square method, straight line fitting is performed on the left and right contours of the small hole or arc pit, and the angle between the two straight lines is calculated based on the slopes of the two fitted straight lines. The obtained angle is the cone angle of the small hole or arc pit.

7. A method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding according to claim 5 or 6, characterized in that: The specific contents of grayscale mapping stretching to highlight the melt pool area are: The grayscale values ​​of pixels in the interval [255k1, 255k2] in the image with a grayscale value of [0, 255] are linearly mapped to the interval [0, 255]. After mapping, the pixels with grayscale values ​​less than 255k1 become 0 black, and the pixels with grayscale values ​​greater than 255k2 become 255 white. Whether the inside of the molten pool, the small hole or the arc crater area can all become white is used as the value standard; The calculation method of the mapped gray value is: The values ​​of k1 and k2 need to be determined according to the specific imaging effect of the camera.

8. A dynamic molten pool feature extraction device for aluminum alloy pulse TIG welding, characterized in that: A method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding based on any one of claims 1 to 7, comprising: an image acquisition device, a calibration device and a computer, wherein the image acquisition device communicates with the computer and transmits the acquired image to the computer; The computer includes an interest region extraction module, an image classification module, a molten pool feature extraction module and a small hole feature extraction module; A calibration device, used to calibrate the image acquisition device before welding, to determine the actual size of the molten pool features in the acquired image and the image pixel distance conversion rate; An image acquisition device, used for acquiring images of the welding process; The region of interest extraction module is used to convert the acquired image into a grayscale image, find the region with the maximum grayscale value of the image, find the centroid of the region to locate the region of interest, estimate the size of the molten pool, and determine the pixel area of ​​the image region of interest based on the actual size of the molten pool feature in the acquired image and the image pixel distance conversion rate; An image classification module is used to classify the grayscale image of the region of interest through a pre-trained machine learning classifier and output a molten pool image in a positive polarity state; A molten pool feature extraction module is used to extract molten pool features from the molten pool image in the positive polarity state output by the classifier to obtain the molten pool width and length; The small hole feature extraction module is used to extract small hole or arc crater features from the molten pool image in the positive polarity state output by the classifier, and obtain the aperture and cone angle of the deep melting small hole or arc crater.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding as described in any one of claims 1 to 7.

10. A processing terminal, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, it implements the method for extracting dynamic molten pool features of aluminum alloy pulse TIG welding as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Welding image identification method

    CN101127083A

  • A method for real-time extraction of image contour of weld pool

    CN109308705A

  • Weld width prediction method before molten pool forming based on mixed spectrum vision

    CN109447939A

  • Aluminum alloy molten pool contour extraction method

    CN111932572A

  • Prediction method for perforated plasma-arc weld pool based on deep learning algorithm

    CN112894101A