# US 2023/0415258 A1 · Method for detecting surface welding quality of friction stir welding

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0415258 A1
- Document ID: US20230415258A1
- Status: Published application
- Kind: A1
- Application number: 18/036,880
- Filed: 2022-10-26
- Published: 2023-12-28
- Earliest claimed: 2022-06-27
- Assignees: Soochow University
- Applicants: Soochow University
- Inventors: Liguo CHEN; Yusheng XU; Wenxia ZHANG; Yongyong LIN; Yangjun WANG; Huade ZHANG; Liwei XUE; Guoshun YANG; Lining SUN
- Web page: https://patentgrep.com/patent/US20230415258A1

## CPC

- B23K 20/123: {Controlling or monitoring the welding process}
- B23K 20/124: {at the beginning or at the end of a weld}
- B23K 20/26: Auxiliary equipment
- B23K 31/125: {Weld quality monitoring}
- G01N 21/8851: {Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges (G01N21/8806 and G01N21/93 - G01N21/95692 take precedence; optical measurement of dimensions G01B11/00; optical scanning G02B26/10; image transformation G06T3/00; computerised image enhancement G06T5/00; image processing per se for flaw detection G06T7/0002)}
- B23K: SOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
- G01N: INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES (measuring or testing apparatus or processes other than immunoassay, involving enzymes or microorganisms C12M, C12Q)

## Abstract

A method for detecting a surface welding quality of friction stir welding includes: acquiring a continuous surface depth image of a welding seam; intercepting a surface depth image segment of the welding seam with a proper step size, and dividing the intercepted surface depth image segments of the welding seam into a front reference region, a thinned region and a rear reference region; judging whether flatness of the front reference region is less than a threshold, and if yes, taking a height of the front reference region at this point as a latest reference height; if no, judging whether the flatness of the rear reference region is less than the threshold, and if yes, taking a height of the rear reference region at this point as the latest reference height; if no, taking the reference height of previous depth image segment as the latest reference height; and calculating a difference.

## Claims

### Claim 1

A method for detecting a surface welding quality of friction stir welding, comprising the following steps:
(1) acquiring a continuous surface depth image of a welding seam;
(2) intercepting surface depth image segments of the welding seam with a first predetermined step size, and dividing the intercepted surface depth image segments of the welding seam into a front reference region, a thinned region and a rear reference region;
(3) judging whether flatness of the front reference region is less than a threshold, and if yes, taking a height of the front reference region at this point as a latest reference height; if no, judging whether the flatness of the rear reference region is less than the threshold, and if yes, taking a height of the rear reference region at this point as the latest reference height; if no, taking the reference height of the previous depth image segment as the latest reference height; and
(4) calculating a difference between the latest reference height and an average height of the thinned region at this point to obtain a thinning amount.

### Claim 2 (depends on 1)

The method for detecting a surface welding quality of friction stir welding according to claim 1, wherein in step (3), if the flatness of the front reference region is less than the threshold, a fitting plane of the front reference region is obtained by adopting a least square method, and a normal vector of the fitting plane is rotated to a direction parallel to a depth direction.

### Claim 3 (depends on 1)

The method for detecting a surface welding quality of friction stir welding according to claim 1, wherein if the flatness of the rear reference region is less than the threshold, a fitting plane of the rear reference region is obtained by adopting a least square method, and a normal vector of the fitting plane is rotated to the direction parallel to the depth direction.

### Claim 4 (depends on 1)

The method for detecting a surface welding quality of friction stir welding according to claim 1, further comprising: identifying a groove defect of the thinned region, judging whether a groove exists, and if yes, accumulating a length of the groove; and if no, ending the detection of the groove, and returning length information.

### Claim 5 (depends on 4)

The method for detecting a surface welding quality of friction stir welding according to claim 4, wherein whether the groove exists is judged by calculating a fluctuation degree of the surface depth image segment of the welding seam of the thinned region or comparing a depth of the surface depth image segment of the welding seam of the thinned region with the reference height.

### Claim 6 (depends on 1)

The method for detecting a surface welding quality of friction stir welding according to claim 1, further comprising: dividing the intercepted surface depth image segments of the welding seam into a front flash region and a rear flash region, the front flash region being located between the front reference region and the thinned region, and the rear flash region being located between the rear reference region and the thinned region; and judging whether flashes exist in the front flash region and the rear flash region.

### Claim 7 (depends on 6)

The method for detecting a surface welding quality of friction stir welding according to claim 6, wherein the flatness of the front reference region and the rear reference region is judged, a flash reference height is obtained, and whether a difference between a maximum height value of the front flash region and the flash reference height is greater than a threshold and whether a difference between a maximum height value of the rear flash region and the flash reference height is greater than the threshold are judged;
if the difference between the maximum height value of the front flash region and the flash reference height is greater than the threshold, binarization is performed on the front flash region to obtain a front flash width, a front flash height is calculated, whether at least one of the front flash width and the front flash height is greater than a corresponding threshold is judged, and if yes, a second predetermined step size is increased for the front flash, and a front flash region width and a front flash region height are recorded;
if the difference between the maximum height value of the front flash region and the flash reference height is not greater than the threshold, the judgment of the flash of the front flash region is finished;
if the difference between the maximum height value of the rear flash region and the flash reference height is greater than the threshold, binarization is performed on the rear flash region to obtain a rear flash width, a rear flash height is calculated, whether at least one of the rear flash width and the rear flash height is greater than a corresponding threshold is judged, and if yes, the second predetermined step size is increased for the rear flash, and a rear flash region width and a rear flash region height are recorded; and
if the difference between the maximum height value of the rear flash region and the flash reference height is not greater than the threshold, the judgment of the flash of the rear flash region is finished.

### Claim 8 (depends on 7)

The method for detecting a surface welding quality of friction stir welding according to claim 7, wherein the front flash region is binarized, a circumscribed rectangle of the obtained region of interest is fitted, a width of the circumscribed rectangle is taken as a front flash width, and the difference between the maximum height value of the front flash region and the flash reference height is calculated as the front flash height.

### Claim 9 (depends on 7)

The method for detecting a surface welding quality of friction stir welding according to claim 7, wherein the rear flash region is binarized, a circumscribed rectangle of the obtained region of interest is fitted, a width of the circumscribed rectangle is taken as a rear flash width, and the difference between the maximum height value of the rear flash region and the flash reference height is calculated as the rear flash height.

### Claim 10 (depends on 7)

The method for detecting a surface welding quality of friction stir welding according to claim 7, wherein when only the flatness of the front reference region is less than the threshold, an average height of the front reference region is calculated as the flash reference height; when only the flatness of the rear reference region is less than the threshold, an average height of the rear reference region is calculated as the flash reference height; when the flatness of the front reference region and the flatness of the rear reference region are both less than the threshold, an average height of the front reference region and the rear reference region is calculated as the flash reference height; when the flatness of the front reference region and the flatness of the rear reference region are both greater than the threshold, the latest reference height calculated previously is taken as the flash reference height.
