Patent ID: 11878364
Assignee: SOOCHOW UNIVERSITY
Field: Measurement (Instruments)
Classification: CPC B  G | IPC B

Claim 6:
7. 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.