Welding quality detection method and system suitable for overlapped weldment
By ultrasonic scanning of the surface of the overlapping welds, signals related to the weld and welding surface are obtained, images are generated and fused, and the proportion of fusion in the welding connection area is calculated, the problem of difficulty in detecting the welding quality of overlapping welds is solved in the prior art, and high-precision welding quality detection is achieved.
Patent Information
- Application Number
- CN202510629178.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-16
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2045-05-16
AI Technical Summary
The existing ultrasonic detection technology is difficult to directly obtain three-dimensional data of the weld area of the overlapping weld, and the resolution of the transition area is insufficient, which cannot meet the welding quality inspection requirements of the overlapping weld.
By ultrasonic scanning of the two opposite surfaces of the overlapping welds, the ultrasonic reflection signal groups related to the weld and the weld surface are obtained respectively, the weld state image and the weld surface state image are generated, and the image is fused, and the fusion ratio of the welding connection area in the welding quality identification area is calculated to determine the welding quality state.
The ultrasonic detection accuracy of welding quality of overlap welds is improved, and the welding quality can be detected in real time and non-destructively, meeting the detection needs of overlap welds.
Smart Images

Figure CN120142478A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a detection method and system, in particular to a welding quality detection method and system suitable for overlapping weldments. Background Art
[0002] Laser welding is widely used in the field of precision manufacturing due to its characteristics of high energy density and small heat affected zone. In order to understand the quality of laser welding, it is necessary to perform welding quality detection on the weldments using laser welding. When performing welding quality detection on the weldments using laser welding, traditional detection methods can be used, such as the tensile shear method. When using the tensile shear method to detect the welding quality of weldments, it will cause damage to the weldments. Therefore, traditional detection methods cannot perform real-time detection on the weldments on the production line.
[0003] In order to detect the welding quality of weldments, ultrasonic detection technology can be used to detect the welding quality of weldments. Specifically, although ultrasonic detection technology is a non-destructive detection method, it has limitations in detecting laser welded parts. For example, when the weld seam is located at the contact surface between overlapping metal sheets, it is difficult for existing ultrasonic detection technology to directly obtain three-dimensional data of the weld seam area; the resolution of the transition area (such as the fusion zone and the non-fusion zone) is insufficient, that is, existing ultrasonic detection technology cannot meet the welding quality detection requirements of overlapping weldments. Summary of the Invention
[0004] The object of the present invention is to overcome the deficiencies existing in the prior art and provide a welding quality detection method and system suitable for overlapping weldments, which can perform ultrasonic detection on the welding quality of overlapping weldments and improve the accuracy of ultrasonic detection.
[0005] According to the technical solution provided by the present invention, a welding quality detection method suitable for overlapping weldments, the welding quality detection method includes: Providing a target overlapping weldment, and respectively performing ultrasonic scanning processing on two opposite surfaces of the target overlapping weldment to respectively obtain a weld ultrasonic reflection signal group related to the weld seam and a weld surface ultrasonic reflection signal group related to the weld surface; Generating a weld state image based on the weld ultrasonic reflection signal group, and generating a weld surface state image based on the weld surface ultrasonic reflection signal group, wherein the weld state image includes a weld reference area representing the welding state, and the weld surface state image includes a weld surface reference area representing the weld surface range; Fusing the weld state image and the weld surface state image, and generating a welding fusion image, wherein, During image fusion, at least align the weld reference area with the weld surface reference area, and fuse the weld reference area within the weld surface reference area to form a welding quality identification area in the welded fusion image, where the welding quality identification area at least includes a welding connection area and a welding transition area; Based on the weld fusion image, calculate the fusion ratio of the welding connection area within the welding quality identification area, and compare the calculated fusion ratio with the quality inspection ratio threshold to determine the welding quality status of the target overlapping weldment after comparison.
[0006] Among the two opposite surfaces of the target overlapping weldment subjected to ultrasonic scanning processing, at least the first surface and the second surface corresponding to the weld are included, where at least one of the first surface and the second surface is a welding bearing surface; When performing ultrasonic scanning processing on each surface, it at least includes a surface scanning operation and a signal interception operation performed in sequence, where After performing the surface scanning operation on the current surface, generate a surface ultrasonic reflection source signal group; When performing the signal interception operation, intercept the signals of the surface ultrasonic reflection source signal group to generate a surface ultrasonic reflection intercepted signal group; When the current surface is a welding bearing surface, configure the surface ultrasonic reflection intercepted signal group as the weld surface ultrasonic reflection signal group, otherwise, configure the surface ultrasonic reflection intercepted signal group as the weld ultrasonic reflection signal group.
[0007] When performing ultrasonic scanning processing, it also includes a tilt correction operation, where Before performing the signal interception operation, first perform the tilt correction operation; When performing the tilt correction operation, generate a reflection scan TOF array based on the surface ultrasonic reflection source signal group, and calculate and generate a flight time correction amount corresponding to each surface ultrasonic reflection source signal based on the reflection scan TOF array at the smooth position; Use the calculated flight time correction amount to perform tilt correction on the corresponding surface ultrasonic reflection source signal to generate a surface ultrasonic reflection tilt-corrected signal after tilt correction; Generate a surface ultrasonic reflection tilt-corrected signal group based on all the surface ultrasonic reflection tilt-corrected signals; When performing the signal interception operation, intercept the surface ultrasonic reflection tilt-corrected signal group to generate a surface ultrasonic reflection intercepted signal group after signal interception.
[0008] When calculating and generating the flight time correction amount corresponding to each weldment ultrasonic reflection scan signal, it includes: Perform plane fitting based on the reflected scanning TOF values corresponding to the smooth positions within the reflected scanning TOF array to generate a TOF fitting plane; For each surface ultrasonic scanning point, use the TOF fitting plane to determine the TOF fitting value of the current surface ultrasonic scanning point, and calculate and generate a time-of-flight correction amount based on the determined TOF fitting value and the corresponding reflected scanning TOF value within the reflected scanning TOF array; During tilt correction, when the time-of-flight correction amount is a non-integer, perform displacement correction on the surface ultrasonic reflection source signal successively based on the integer correction value and the decimal correction value, and generate a surface ultrasonic reflection tilt correction signal after the displacement correction, where, The integer correction value is the integer part value of the time-of-flight correction amount; The decimal correction value is the decimal part value of the time-of-flight correction amount, and when performing displacement correction based on the decimal correction value, the displacement correction method includes linear interpolation.
[0009] When generating a weld state image, it includes: Generate a weld zone signal intensity image representing the intensity of the ultrasonic reflection signal based on the weld ultrasonic reflection signal group; Perform binarization processing on the weld zone signal intensity image to generate a weld state image after binarization processing, where, During binarization processing, search for two signal feature intensity peaks in the weld zone signal intensity image, and configure the signal feature intensity valley value between the two searched signal feature intensity peaks as the binarization segmentation threshold; Perform binarization processing on the weld zone signal intensity image using the configured binarization segmentation threshold.
[0010] When performing image fusion, it includes: Select the weld surface state image or the weld state image as the fusion reference image, and then configure the weld state image or the weld surface state image as the fusion paired image; Mirror-flip the fusion reference image to generate a fusion reference mirror-flipped image after mirror-flipping; Logically invert the fusion reference mirror-flipped image, and perform rotation correction after logical inversion to generate a fusion reference inverted and corrected image, where the fusion reference inverted and corrected image includes a superimposition reference area, and the binary value state of the superimposition reference area is different from the binary value state of the weld reference area; Extract the paired feature positions within the fusion paired image, and superimpose the fusion paired image on the fusion reference inverted and corrected image based on the extracted feature positions to form a welding fusion image, and generate a welding quality identification area within the welding fusion image, where, A weld connection area is formed based on the superposition state of the weld reference area and the superposition reference area, and the part of the superposition reference area other than the formed weld connection area forms a welding transition area.
[0011] When calculating the fusion ratio, it includes: Count the pixel area of the weld connection area and the pixel area of the welding quality identification area, and take the ratio of the pixel area of the weld connection area to the pixel area of the welding quality identification area as the fusion ratio; The quality detection ratio threshold includes a better quality ratio threshold and a non - qualified quality ratio threshold. When the fusion ratio is not less than the better quality ratio threshold, the welding quality state of the target overlapping weldment is good welding quality. When the fusion ratio is less than the non - qualified quality ratio threshold, the welding quality state of the target overlapping weldment is judged as unqualified welding quality.
[0012] When the fusion ratio is not less than the non - qualified quality ratio threshold and less than the better quality ratio threshold, the welding quality state of the target overlapping weldment is judged as qualified welding quality, and the quality grade of the welding quality state is given. Among them, When determining the quality grade of the welding quality, it includes: Extract the ultrasonic reflection signal corresponding to the welding fusion image, calculate the corresponding reflection signal characteristic intensity value based on the extracted ultrasonic reflection signal, and normalize the calculated reflection signal characteristic intensity value. After that, generate the normalized reflection signal characteristic intensity histogram of the weld connection area, the normalized reflection signal characteristic intensity histogram of the welding transition area, and the normalized reflection signal characteristic intensity histogram of the non - fused area based on the normalized reflection signal characteristic intensity value. Among them, the non - fused area is the area in the welding fusion image other than the welding quality identification area; For all the above - mentioned normalized reflection signal characteristic intensity histograms, calculate the histogram statistical information corresponding to each normalized histogram. Among them, the histogram statistical information includes mean, standard deviation, and kurtosis; Determine the quality grade of the welding quality state based on the corresponding histogram statistical information of the weld connection area, the welding transition area, and the non - fused area.
[0013] When the fusion ratio is not less than the non - qualified quality ratio threshold and less than the better quality ratio threshold, the welding quality state of the target overlapping weldment is judged as qualified welding quality, and the quality grade of the welding quality state is given. Among them, When the number of welding quality detections of the target overlapping weldment exceeds the detection number threshold, the quality grade of the determined welding quality state is judged using the comprehensive quality coefficient. Among them, For the comprehensive quality coefficient, there is:
[0014] In the formula, is the comprehensive quality coefficient, is the mean value of the welding transition region, is the standard deviation of the welding transition region, is the kurtosis of the weld connection region, , , are the weight coefficients; Calculate the comprehensive quality coefficients corresponding to all historical target overlapping weldments, and determine the quality grade threshold based on all the comprehensive quality coefficients, Compare the comprehensive quality coefficient of the current target overlapping weldment with the determined quality grade threshold above to determine the quality grade of the welding quality state corresponding to the current target overlapping weldment.
[0015] A welding quality detection system suitable for overlapping weldments includes an ultrasonic scanning probe and a welding quality detection terminal, and the ultrasonic scanning probe is adaptively connected to the welding quality detection terminal. Among them, For any target overlapping weldment, perform ultrasonic scanning processing on the target overlapping weldment through the ultrasonic scanning probe. After that, the welding quality detection terminal uses the above welding quality detection method to perform quality detection and judgment to determine the welding quality state of the current target overlapping weldment.
[0016] Advantages of the present invention: Perform ultrasonic scanning processing on two opposite surfaces of the target overlapping weldment to respectively obtain a weld ultrasonic reflection signal group related to the weld seam and a weld surface ultrasonic reflection signal group related to the weld surface. After that, generate a weld seam state image based on the weld ultrasonic reflection signal group, generate a weld surface state image based on the weld surface ultrasonic reflection signal group, perform image fusion on the weld seam state image and the weld surface state image, and generate a welding fusion image; Calculate the fusion ratio of the welding connection region within the welding quality recognition region, and compare the calculated fusion ratio with the quality detection ratio threshold to determine the welding quality state of the target overlapping weldment after comparison, so as to realize ultrasonic detection of the welding quality of the overlapping weldment and improve the accuracy of ultrasonic detection. Brief Description of the Drawings
[0017] Figure 1 is a flowchart of an embodiment of the welding quality detection of the present invention.
[0018] Figure 2 is a perspective view of an embodiment of the target overlapping weldment of the present invention.
[0019] Figure 3 is a structural schematic diagram of an embodiment of the target overlapping weldment of the present invention.
[0020] Figure 4 It is a schematic diagram of an embodiment of the signal intensity image of the weld area of the present invention.
[0021] Figure 5 It is a schematic diagram of an embodiment of the weld state image of the present invention.
[0022] Figure 6 It is a schematic diagram of an embodiment of the signal intensity image of the welding surface area of the present invention.
[0023] Figure 7 It is a schematic diagram of an embodiment of the welding surface state image of the present invention.
[0024] Figure 8 It is a schematic diagram of an embodiment of the present invention in which the welding surface state image is used as a fusion reference graph and a fusion reference mirror-flipped image is formed after mirror flipping.
[0025] Figure 9 For Figure 8 It is a schematic diagram of an embodiment in which the fusion reference mirror-flipped image in [reference numeral] is logically inverted to form a fusion reference inverted image.
[0026] Figure 10 For Figure 9 It is a schematic diagram of an embodiment in which the fusion reference inverted image in [reference numeral] is rotationally corrected to generate a fusion reference inverted and corrected image.
[0027] Figure 11 For using Figure 10 It is a schematic diagram of an embodiment in which the fusion reference inverted and corrected image in [reference numeral] is used to generate a welding fusion image.
[0028] Figure 12 For Figure 5 It is a schematic diagram of an embodiment after edge detection of the weld reference area in [reference numeral].
[0029] Figure 13 It is a schematic diagram of an embodiment of the signal intensity image of the weld area of the present invention.
[0030] Explanation of reference numerals: 1 - First welding base, 2 - Second welding base, and 3 - Base welding stripes. Detailed implementation manner
[0031] The present invention will be further described below with reference to specific drawings and embodiments.
[0032] In order to perform ultrasonic detection on the welding quality of overlapping weldments and improve the accuracy of ultrasonic detection, the present invention provides a welding quality detection method suitable for overlapping weldments. Specifically, the welding quality detection method includes: Provide a target overlapping weldment, and perform ultrasonic scanning on two opposite surfaces of the target overlapping weldment respectively to obtain a weld ultrasonic reflection signal group related to the weld seam and a weld surface ultrasonic reflection signal group related to the weld surface respectively; Generate a weld seam state image based on the weld ultrasonic reflection signal group, and generate a weld surface state image based on the weld surface ultrasonic reflection signal group. Among them, the weld seam state image includes a weld seam reference area representing the welding state, and the weld surface state image includes a weld surface reference area representing the weld surface range; Fuse the weld seam state image and the weld surface state image, and generate a welding fusion image. Among them, During image fusion, at least align the weld seam reference area with the weld surface reference area, and fuse the weld seam reference area within the weld surface reference area to form a welding quality identification area in the welding fusion image. Among them, the welding quality identification area at least includes a welding connection area and a welding transition area; Based on the weld fusion image, calculate the fusion ratio of the welding connection area within the welding quality identification area, and compare the calculated fusion ratio with the quality detection ratio threshold to determine the welding quality state of the target overlapping weldment after comparison.
[0033] Figure 1 FIG. shows a flowchart of an embodiment for detecting the welding quality of an overlapping weldment according to the present invention. It can be seen from the figure that when detecting the welding quality, a target overlapping weldment should be provided, that is, when detecting the welding quality, the welding quality state of the target overlapping weldment is mainly determined; specifically, for the target overlapping weldment, the weld seam is located in the non-external surface area of the target overlapping weldment. At this time, the welding quality of the weld seam area cannot be directly observed by the naked eye. The following combines Figure 2 and Figure 3 to give an example of the situation of the target overlapping weldment.
[0034] Figure 2 and Figure 3 FIG. shows an embodiment of the target overlapping weldment. In the figure, the target overlapping weldment includes a first welding base 1 and a second welding base 2. Among them, there is an overlapping area between the first welding base 1 and the second welding base 2, and the weld seam is located in the overlapping area between the first welding base 1 and the second welding base 2. The first welding base 1 and the second welding base 2 can be welded and connected by existing common welding means, and the welding method adopted can be selected according to needs, such as laser welding. Therefore, the first welding base 1 and the second welding base 2 should be weldable connection materials. The specific welding connection method and process can be consistent with the prior art and will not be elaborated here.
[0035] From Figure 2 and Figure 3As can be seen from the shown target overlapping weldment, the target overlapping weldment includes at least two opposite surfaces. For example, the outer surface of the first welding base 1 and the corresponding outer surface of the second welding base 2 form two corresponding surfaces of the target overlapping weldment, and the two corresponding surfaces are both corresponding to the weld seam. For example, the two surfaces are respectively located on both sides of the weld seam. The weld seam can be consistent with the prior art, that is, the first welding base 1 and the second welding base 2 can be connected into one body through the weld seam. When the target overlapping weldment is of other types, the two corresponding surfaces of the target overlapping weldment can be determined according to the position of the weld seam, which will not be elaborated one by one here.
[0036] During specific implementation, for each target overlapping weldment, after determining the two surfaces corresponding to the weld seam of the target overlapping weldment, ultrasonic scanning processing should be performed on at least the two determined surfaces respectively, so that after the ultrasonic scanning processing, a weld seam ultrasonic reflection signal group related to the weld seam and a weld surface ultrasonic reflection signal group related to the weld surface can be obtained. Among them, the weld seam ultrasonic reflection signal group can characterize the reflection state of the weld seam to the ultrasonic signal, and the weld surface ultrasonic reflection signal group can characterize the reflection state of the weld surface to the ultrasonic signal. The method of ultrasonic scanning processing and the situation of generating the weld seam ultrasonic reflection signal group and the weld surface ultrasonic reflection signal group through ultrasonic scanning processing will be specifically described below.
[0037] It can be seen from Figure 1 that after obtaining the weld seam ultrasonic reflection signal group, a weld seam state image can be generated based on the weld seam ultrasonic reflection signal group. Among them, the weld seam state image should at least include a weld seam reference area characterizing the welding state, and the method and process of generating the weld seam state image will be specifically described below. Similarly, a weld surface state image can be generated based on the weld surface ultrasonic reflection signal group, and the weld surface state image can include a weld surface reference area characterizing the weld surface range. Among them, the weld surface range can be the expected welding area. For example, when the above-mentioned welding method is laser welding, it is the area range for carrying out laser welding. When it is other welding methods, the corresponding weld surface range can be determined according to the specific welding method, and the specific situation of determining the weld surface range will not be exemplified one by one here.
[0038] In order to perform welding quality detection, image fusion should be performed on the weld seam state image and the weld surface state image. Among them, during image fusion, at least the weld seam reference area and the weld surface reference area should be aligned, and after alignment, the weld seam reference area should be fused into the weld surface reference area, that is, the weld seam reference area should be placed within the weld surface reference area. And after the weld seam reference area is placed within the weld surface reference area, a welding fusion image can be formed, and a welding quality identification area can be generated in the welding fusion image. The method and process of performing image fusion will be exemplified below, and specific reference can be made to the corresponding descriptions below.
[0039] After obtaining the weld fusion image, the fusion ratio of the welding connection area within the welding quality recognition area can be calculated. Thereafter, the calculated fusion ratio can be compared with the quality inspection ratio threshold to determine the welding quality status of the target overlapping weldment after the comparison. Among them, the determined welding quality status of the target overlapping weldment generally includes good welding quality or unqualified welding quality. It can be understood that when the welding quality status of the target overlapping weldment is determined, the welding quality inspection of the target overlapping weldment is completed.
[0040] In an embodiment of the present invention, among the two opposite surfaces of the target overlapping weldment subjected to ultrasonic scanning processing, at least the first surface and the second surface corresponding to the weld. Among them, at least one of the first surface and the second surface is a welding bearing surface; When performing ultrasonic scanning processing on each surface, it at least includes a surface scanning operation and a signal intercepting operation performed in sequence. Among them, After performing the surface scanning operation on the current surface, a surface ultrasonic reflection source signal group is generated; When performing the signal intercepting operation, the surface ultrasonic reflection source signal group is signal-intercepted to generate a surface ultrasonic reflection intercepted signal group; When the current surface is a welding bearing surface, the surface ultrasonic reflection intercepted signal group is configured as a welding surface ultrasonic reflection signal group. Otherwise, the surface ultrasonic reflection intercepted signal group is configured as a weld ultrasonic reflection signal group.
[0041] As can be seen from the above description, the two surfaces of the target overlapping weldment subjected to ultrasonic scanning processing should be related to the weld. When the two surfaces corresponding to the weld are respectively referred to as the first surface and the second surface, at least one of the first surface and the second surface is a welding bearing surface. For example, when the welding method of the above-mentioned target overlapping weldment is laser welding, the surface bearing the laser welding is the welding bearing surface. Figure 2 and Figure 3 In the embodiment shown in, the corresponding outer surface of the second welding base 2 can be a welding bearing surface. When laser welding is used, the laser is incident on the corresponding surface of the second welding base 2 to act on the solder between the first reference weld body 1 and the second welding base 2 by using the laser and achieve the purpose of welding. Specifically, the area where the laser is incident on the surface of the second welding base 2 should correspond to the area overlapping with the first reference weld body 1 to enable effective welding. Specifically, when the welding method is other welding, the corresponding welding bearing surface can be determined accordingly. When the welding bearing surface is determined, the surface corresponding to the welding bearing surface can be further determined, and then ultrasonic scanning processing can be performed on each surface.
[0042] In specific implementation, the ultrasonic scanning process for each surface is the same. Generally, it may at least include a surface scanning operation and a signal intercepting operation. Among them, the surface scanning operation is to perform ultrasonic scanning on the current surface and generate a surface ultrasonic reflection source signal group after the ultrasonic scanning. Hereinafter, the method and process of performing ultrasonic scanning will be illustrated by examples.
[0043] When performing ultrasonic scanning, a high-frequency probe with a transmission frequency of 20 MHz can be selected. For the reflected ultrasonic signals, the sampling frequency can be set to 50 MHz. The ultrasonic coupling method for the target overlapping welded part is the immersion method, that is, the target overlapping welded part is placed in water. Thereafter, the position of the high-frequency probe and the scanning parameters should be adjusted. The position of the high-frequency probe should be adjusted to obtain a strong reflected signal. The configured scanning parameters may include the scanning step accuracy and the scanning range. Among them, the step accuracy may include a rough scanning step accuracy and / or a fine scanning step accuracy. The rough scanning step accuracy may be 1 mm, and the fine scanning step accuracy may be 0.1 mm. For the scanning range, generally, it should effectively cover the weld seam and the weld surface range. For example, in the above embodiment, when the outer surface of the second welding base 2 is the welding bearing surface, the Figure 2 area between the left end of the second welding base 2 and the right end of the first reference welding body 1 can be set as the scanning range. Similarly, the area corresponding to the first reference welding body 1 can be determined as the scanning range.
[0044] In specific implementation, the Figure 2 left end foot of the second welding base 2 in the above can be used as the scanning starting point. The width direction of the second welding base 2 is the scanning X direction, and the length direction of the second welding base 2 is the scanning Y direction. Thereafter, the high-frequency probe is subjected to ultrasonic scanning under the above configuration to generate a surface ultrasonic reflection source signal group after scanning. It can be understood that the surface ultrasonic reflection source signal group includes several surface ultrasonic reflection source signals, and the surface ultrasonic reflection source signals in the surface ultrasonic reflection source signal group are distributed in an array.
[0045] It should be noted that the surface scanning operation should be respectively performed on the first surface and the second surface of the target overlapping welded part. That is, after two surface scanning operations, two corresponding surface ultrasonic reflection source signal groups can be generated. It can be seen from this that the target overlapping welded part of the present invention should be of a type suitable for performing double-sided ultrasonic scanning operation, that is, the target overlapping welded part should not be limited to Figure 2The embodiments shown are specifically based on the ability to meet the requirements of double-sided ultrasonic scanning operations and obtain corresponding surface ultrasonic reflection source signal groups respectively. Those skilled in the art know that the surface ultrasonic reflection source signal is a signal similar to a sine wave. The surface ultrasonic reflection source signal includes the sampling values of several sampling points, and different sampling points can represent the reflections of ultrasonic signals at different positions. Therefore, in order to obtain the weld ultrasonic reflection signal group and the weld surface ultrasonic reflection signal group related to the weld, a signal truncation operation should be performed on the surface ultrasonic reflection source signal group.
[0046] It can be understood that when performing the signal truncation operation, it should be related to the type of the surface corresponding to the generation of the surface ultrasonic reflection source signal group. For example, when the surface ultrasonic reflection source signal group is generated by performing a surface scanning operation on the welding bearing surface, during the signal truncation operation, the sampling points corresponding to the reflection of the ultrasonic signal by the welding bearing surface should be mainly retained, so that the weld surface ultrasonic reflection signal group can be obtained after signal truncation; while when the surface ultrasonic reflection source signal group is generated by performing a surface scanning operation on the surface corresponding to the welding bearing surface, during the signal truncation operation, the sampling points corresponding to the reflection of the ultrasonic signal by the weld should be mainly retained, so that the weld ultrasonic reflection signal group can be obtained after signal truncation.
[0047] From the above description, it can be seen that the signal truncation operation should be related to the type of the current surface. After determining the type of the current surface, a signal truncation operation can be performed on the surface ultrasonic reflection source signal group. The way of performing the signal truncation operation can be consistent with the prior art. For example, reference can be made to the description of the signal truncation process in the patent with the publication number CN118362642A, which will not be elaborated here. From the above description, after the signal truncation operation, the weld ultrasonic reflection signal group and the weld surface ultrasonic reflection signal group can be obtained respectively. Since the depths corresponding to the weld surface and the weld are different, therefore, during the signal truncation operation, in order to form the weld surface ultrasonic reflection signal group, the relatively earlier sampling points in the surface ultrasonic reflection source signal should be truncated and retained to represent the reflection of the ultrasonic signal by the weld surface; while in order to form the weld ultrasonic reflection signal group, the sampling points in the middle part of the surface ultrasonic reflection source signal need to be truncated and retained to represent the reflection of the ultrasonic signal by the weld.
[0048] In one embodiment of the present invention, during the ultrasonic scanning process, a tilt correction operation is also included, where Before performing the signal truncation operation, a tilt correction operation is first performed; When performing the tilt correction operation, a reflection scan TOF array is generated based on the surface ultrasonic reflection source signal group, and the flight time correction amount corresponding to each surface ultrasonic reflection source signal is calculated and generated based on the reflection scan TOF array at the smooth position; The corresponding surface ultrasonic reflection source signals are corrected for tilt using the calculated time-of-flight correction amount, so as to generate surface ultrasonic reflection tilt-corrected signals after tilt correction; A surface ultrasonic reflection tilt-corrected signal group is generated based on all the surface ultrasonic reflection tilt-corrected signals; When performing the signal truncation operation, the surface ultrasonic reflection tilt-corrected signal group is truncated, so as to generate a surface ultrasonic reflection post-truncation signal group after signal truncation.
[0049] Specifically, when performing the surface scanning operation, coupling methods such as water immersion need to be adopted, and when placing the target overlapping weldment, an inevitable tilt phenomenon will occur, such as a global tilt of the target overlapping weldment caused by the placement. When there is a global tilt, if the signal truncation operation is directly performed, it will cause interference in the weld surface ultrasonic reflection signal group and the weld seam ultrasonic reflection signal group generated after signal truncation, thereby affecting the accuracy and reliability of subsequent welding quality inspection.
[0050] In order to improve the accuracy of welding quality inspection, in an embodiment of the present invention, the tilt correction operation can be performed before the signal truncation operation. Therefore, when performing the tilt correction operation, the objects to be targeted are the above two surface ultrasonic reflection source signal groups. As can be seen from the above description, the surface ultrasonic reflection source signals in each surface ultrasonic reflection source signal group are arranged in an array. Therefore, the reflection scanning TOF (time of flight, TOF) value corresponding to each surface ultrasonic reflection source signal is calculated, and a reflection scanning TOF array can be generated based on the calculated reflection scanning TOF values. Specifically, when calculating the reflection scanning TOF value corresponding to each surface ultrasonic reflection source signal, common technical means in the prior art can be used, specifically based on being able to calculate the corresponding reflection scanning TOF value.
[0051] In order to achieve tilt correction, in an embodiment of the present invention, the reflection scanning TOF array corresponding to the smoothing position can be used as the tilt correction reference, where the smoothing position can be the middle position within the above-mentioned configuration scanning range. Therefore, after selecting the smoothing position, the reflection scanning TOF array corresponding to the smoothing position can be determined, and thereafter, the time-of-flight correction amount corresponding to each surface ultrasonic reflection source signal can be calculated.
[0052] In an embodiment of the present invention, when calculating the time-of-flight correction amount corresponding to each weldment ultrasonic reflection scanning signal, it includes: Performing plane fitting based on the reflection scanning TOF value corresponding to the smoothing position in the reflection scanning TOF array to generate a TOF fitting plane; For each surface ultrasonic scanning point, the TOF fitting value of the current surface ultrasonic scanning point is determined by using the TOF fitting plane, and a time-of-flight correction amount is calculated and generated based on the determined TOF fitting value and the corresponding reflected scanning TOF value in the reflected scanning TOF array; During tilt correction, when the time-of-flight correction amount is a non-integer, the surface ultrasonic reflection source signal is sequentially subjected to displacement correction based on the integer correction value and the decimal correction value, and a surface ultrasonic reflection tilt correction signal is generated after the displacement correction, where, The integer correction value is the integer part value of the time-of-flight correction amount; The decimal correction value is the decimal part value of the time-of-flight correction amount, and when performing displacement correction based on the decimal correction value, the displacement correction method includes linear interpolation.
[0053] As can be seen from the above description, when selecting a smoothing position, all the reflected scanning TOF values corresponding to the smoothing position can be obtained. Thereafter, plane fitting can be performed based on all the obtained reflected scanning TOF values to generate a TOF fitting plane after plane fitting. The method and process of generating the TOF fitting plane will be illustrated by examples below.
[0054] Specifically, since the tilt of the surface during surface scanning operation is global, each reflected scanning TOF value can be expressed as:
[0055] where, is the position coordinate corresponding to a reflected scanning TOF value, represents the change slope of the current reflected scanning TOF value in the x direction, represents the change slope of the current reflected scanning TOF value in the y direction, represents the intercept.
[0056] In specific implementation, all the reflected scanning TOF values corresponding to the smoothing position are subjected to plane fitting by using the least squares method to generate a TOF fitting plane after plane fitting. The method and process of performing plane fitting by using the least squares method can be consistent with the prior art and will not be elaborated here. Of course, other methods can also be used for plane fitting, and the plane fitting method can be selected according to needs to meet the plane fitting requirements here.
[0057] As can be seen from the above description, each reflected scanning TOF value corresponds to a surface ultrasonic scanning point. Therefore, after obtaining the TOF fitting plane, for each surface ultrasonic scanning point, the TOF fitting value corresponding to the current surface ultrasonic scanning point can be obtained. Specifically, there is:
[0058] where, is the position coordinate of the current surface ultrasonic scanning point, is the change slope of the TOF fitting plane in the x direction, represents the change slope of the TOF fitting plane in the y direction, represents the intercept of the TOF fitting plane.
[0059] In specific implementation, when calculating the corresponding time-of-flight correction amount for each surface ultrasonic scanning point, there is:
[0060] where, is the position coordinate of the time-of-flight correction amount of the surface ultrasonic scanning point, is the reflected scanning TOF value of the surface ultrasonic scanning point with the position coordinate , is the TOF fitting value of the surface ultrasonic scanning point with the position coordinate .
[0061] It should be understood that after obtaining the time-of-flight correction amount of each surface ultrasonic scanning point, the surface ultrasonic wave reflection source signal of the current surface ultrasonic scanning point can be subjected to tilt correction, so that after tilt correction, all surface ultrasonic wave reflection tilt correction signals have no tilt in the depth direction. Specifically, during tilt correction, the sampling points of each surface ultrasonic wave reflection source signal are corrected using the time-of-flight correction amount, such as displacing the sampling points corresponding to the surface ultrasonic wave reflection source signal.
[0062] Specifically, for each surface ultrasonic wave reflection source signal, the surface ultrasonic wave reflection source signal can be represented by the sequence , where t is the sampling time corresponding to the surface ultrasonic wave reflection source signal; After determining the time-of-flight correction amount, a time axis of the current surface ultrasonic wave reflection source signal is established according to the time-of-flight correction amount, and there is: , where when the time-of-flight correction amount is an integer value, then is also an integer value. Therefore, the corresponding sampling values in the surface ultrasonic wave reflection source signal can be subjected to corresponding time shifts to complete displacement correction after the time shift. When the time-of-flight correction amount is a non-integer value, then is also a non-integer value. At this time, the integer part value and the decimal part value of the time-of-flight correction amount should be extracted first. Among them, the extracted integer part value can form an integer correction value, and the extracted decimal position can form a decimal correction value. For example, when the time-of-flight correction amount is 3.7, the formed integer correction value is 3, and the decimal correction value is 0.7.
[0063] During specific implementation, when performing displacement correction based on the integer correction value, the above-mentioned time-of-flight correction amount can be referred to. For the case where it is an integer value. When performing displacement correction based on the decimal correction value, a feasible displacement correction method can be:
[0064] Wherein, is the surface ultrasonic reflection tilt correction signal generated after performing displacement correction based on the decimal correction value, is the integer part value of the time-of-flight correction amount, That is, it is to extract the integer part value of the time-of-flight correction amount of, is the decimal correction value, is the time axis established based on the integer correction value.
[0065] Specifically, after each surface ultrasonic reflection source signal is subjected to the above-mentioned tilt correction, the corresponding surface ultrasonic reflection tilt correction signal can be obtained. Thereafter, based on all the surface ultrasonic reflection tilt correction signals corresponding to the same surface ultrasonic reflection source signal group, a surface ultrasonic reflection tilt correction signal group can be generated. When performing the signal truncation operation, the surface ultrasonic reflection tilt correction signal group is subjected to signal truncation to generate a surface ultrasonic reflection signal group after truncation after the signal truncation.
[0066] In an embodiment of the present invention, when generating a weld state image, it includes: Generating a weld zone signal intensity image representing the intensity of the ultrasonic reflection signal based on the weld ultrasonic reflection signal group; Performing binarization processing on the weld zone signal intensity image to generate a weld state image after the binarization processing, wherein, During the binarization processing, two signal feature intensity peaks are searched in the weld zone signal intensity image, and the signal feature intensity valley value between the two searched signal feature intensity peaks is configured as the binarization segmentation threshold; Using the configured binarization segmentation threshold to perform binarization processing on the weld zone signal intensity image.
[0067] In specific implementation, after obtaining the weld ultrasonic reflection signal group in the above manner, a signal intensity image of the weld area can be generated based on the weld ultrasonic reflection signal group. When generating the signal intensity image of the weld area, the signal feature intensity value of each weld ultrasonic reflection signal in the weld ultrasonic reflection signal group should be calculated. The signal feature intensity value can be the PPV (Peak to Peak Voltage) value, amplitude, envelope area of the weld ultrasonic reflection signal, or other characteristic values that can reflect the energy of the weld ultrasonic reflection signal. When the signal feature intensity value is PPV, amplitude, or envelope area, the corresponding signal feature intensity value can be calculated by using the commonly used technical means in the technical field. The specific calculation method and process will not be elaborated here.
[0068] After calculating the signal feature intensity value of each weld ultrasonic reflection signal, map each signal feature intensity value onto a grayscale image, and then the signal intensity image of the weld area can be obtained. That is, the obtained signal intensity image of the weld area is a grayscale image. Figure 4 An embodiment of the signal intensity image of the weld area is shown.
[0069] After obtaining the signal intensity image of the weld area, binary processing can be performed on the signal intensity image of the weld area. In order to improve the accuracy of binary processing, two signal feature intensity peaks can be searched in the signal intensity image of the weld area. For example, when the signal feature intensity value is the PPV value, two PPV peaks can be searched on the signal intensity image of the weld area. That is, the two searched PPV peaks should be greater than other PPV values on the signal intensity image of the weld area. Therefore, based on the generation method of the signal intensity image of the weld area, the corresponding two signal feature intensity peaks can be searched by using the commonly used method in the technical field.
[0070] After searching for the two signal feature intensity peaks, configure the signal feature intensity valley value between the two signal feature intensity peaks as the binary segmentation threshold. Among them, the signal feature intensity valley value is the smallest signal feature intensity value between the two signal feature intensity peaks. From the above description, it can be seen that each signal feature intensity value will be mapped onto the signal intensity image of the weld area. After searching for the two signal feature intensity peaks, the corresponding signal feature intensity valley value can be searched. Thereafter, the value of the signal feature intensity corresponding to the signal feature intensity valley value can be used as the binary segmentation threshold.
[0071] Figure 13When the signal feature intensity value is the PPV value, a signal intensity image of the weld zone is generated. In the figure, the abscissa is the normalized PPV value, divided into 256 intervals, and the ordinate is the frequency, that is, the number of data points in each interval. It can be seen from the figure that there are two peak regions of the PPV value. At this time, the corresponding signal feature intensity peaks are determined within the two peak regions. Thereafter, the signal feature intensity valley is searched between the two determined signal feature intensity peaks. It should be noted that when other types of signal feature intensity values are used, the description here can be referred to in order to determine the corresponding binary segmentation threshold, and no further examples will be given here.
[0072] During binary processing, for any pixel on the signal intensity image of the weld zone, when the pixel value of the pixel is greater than the binary segmentation threshold, the binary value corresponding to the current pixel can be set to 1, otherwise, the binary value corresponding to the current pixel can be set to 0. By performing the binary processing here on all pixel values, the binary processing of the signal intensity image of the weld zone can be achieved, and a weld state image is generated. Therefore, the weld state image is a binary image.
[0073] In specific implementation, in order to eliminate noise and isolated points, after binary processing, image morphology processing can also be adopted, and a weld state image is generated after image morphology processing. Among them, the adopted image morphology processing can include opening operation, closing operation, and / or small area removal. The specific situation of image morphology processing can be selected according to needs and will not be elaborated here. Figure 5 Shows the weld state image generated after image morphology processing. Figure 5 In it, the middle black area is the weld reference area representing the welding state.
[0074] It can be understood that when generating the solder surface state image, the above method for generating the weld state image can be adopted. Therefore, when adopting the method for generating the weld state image, the method and process for generating the solder surface state image can refer to the corresponding description above. In specific implementation, when adopting the same method as generating the weld state image, first generate a signal intensity image of the solder surface area representing the ultrasonic reflection signal intensity based on the solder surface ultrasonic reflection signal group. Figure 6 Shows an embodiment of generating a signal intensity image of the solder surface area. It should be noted that for Figure 6 For the signal intensity image of the solder surface area shown in, the outer surface corresponding to the second welding base 2 serves as the welding bearing surface. Figure 6 The horizontal bar in corresponds to the base welding stripe 3 on the second welding base 2. Figure 7 Shows an embodiment of generating a solder surface state image after binary processing and image morphology processing of the signal intensity image of the solder surface area. Figure 7 In it, the middle black area is the solder surface reference area representing the solder surface range.
[0075] In an embodiment of the present invention, when performing image fusion, it includes: Select the solder joint state image or the weld seam state image as the fusion reference image, and then configure the weld seam state image or the solder joint state image as the fusion paired image; Mirror - flip the fusion reference image to generate a fusion reference mirror - flipped image after mirror - flipping; Logically invert the fusion reference mirror - flipped image, and perform rotation correction after logical inversion to generate a fusion reference inverted and corrected image. Among them, the fusion reference inverted and corrected image includes a superposition reference area, and the binary value state of the superposition reference area is different from the binary value state of the weld seam reference area; Extract the paired feature positions in the fusion paired image, and superimpose the fusion paired image on the fusion reference inverted and corrected image based on the extracted feature positions to form a welding fusion image, and generate a welding quality recognition area in the welding fusion image. Among them, Form a weld seam connection area based on the superposition state of the weld seam reference area and the superposition reference area, and the part of the superposition reference area except for forming the weld seam connection area forms a welding transition area.
[0076] It should be noted that when performing image fusion, one of the solder joint state image or the weld seam state image needs to be selected as the fusion reference image. For example, the solder joint state image can be selected as the fusion reference image. At this time, the weld seam state image can be used as the fusion paired image. Similarly, when the weld seam state image is used as the fusion reference image, the solder joint state image can be used as the fusion paired image.
[0077] It should be noted that when performing ultrasonic scanning on the target overlapping weldment in the above - mentioned manner, the obtained weld seam state image and solder joint state image are in a mirror - image state in space. Therefore, after selecting the fusion reference image, in order to align the weld seam state image and the solder joint state image in space, the fusion reference image can be mirror - flipped to generate a fusion reference mirror - flipped image. Among them, when mirror - flipping, it can be horizontal mirror - flipping or vertical mirror - flipping. The method and process of mirror - flipping the fusion reference image can be consistent with the prior art and will not be elaborated here. Figure 8 An embodiment is shown in which the solder joint state image is used as the fusion reference image, and a fusion reference mirror - flipped image is generated after mirror - flipping the solder joint state image.
[0078] As can be seen from the above description, the fused reference mirror flipped image is a binary image. Therefore, for the convenience of subsequent fusion processing, the fused reference mirror flipped image can be logically inverted, and rotation correction can be performed after the logical inversion to generate the fused reference inverted and corrected image. Herein, the logical inversion means inverting the binary value of each pixel in the fused reference mirror flipped image. After inverting the binary value, the black area can be transformed into a white area, and the white area can be transformed into a black area. Figure 9 shows an embodiment of logically inverting the fused reference mirror flipped image in Figure 8 . Specifically, after the logical inversion, image correction can be performed through a rotation correction operation to further improve the accuracy of image alignment in image fusion, and thus the accuracy of welding quality detection can be improved.
[0079] It should be noted that during the rotation correction, it is mainly to make the corresponding upper and lower edges of the fused reference mirror flipped image and the fused paired image on the same parallel line. Therefore, the commonly used rotation correction method in this technical field can be adopted, and the rotation correction method and process can be consistent with the prior art, which will not be elaborated here. In order to obtain the effect of rotation correction, the required parallel line state can be determined first, and then the fused reference mirror flipped image and the fused paired image are both corrected to the corresponding parallel line state. Of course, in order to simplify the rotation correction, the upper and lower edges of the fused paired image can be selected as the rotation correction reference, and then the fused reference mirror flipped image is rotationally corrected. It can be seen from this that the rotation correction method can be selected according to needs, so that the fused reference mirror flipped image and the fused paired image can meet the calibration alignment and do not affect the subsequent superposition fusion.
[0080] Specifically, the fused reference inverted and corrected image includes a superimposition reference area. Figure 10 shows an embodiment of rotationally correcting the image in Figure 9 and generating the fused reference inverted and corrected image. Figure 10 In , the white area in the middle part is the superimposition reference area. When the superimposition reference area is in a white state, the above-mentioned weld reference area is in a black state. Therefore, the binary value state of the superimposition reference area is different from the binary value state of the weld reference area. Specifically, during implementation, the superimposition reference area and the weld reference area with different binary value states are used for image superposition to facilitate the generation of the welding quality recognition area.
[0081] In order to superimpose the fusion paired image on the image after the above-mentioned generated fusion reference is inverted and corrected, the paired feature positions in the fusion paired image should be extracted, so that the fusion paired image can be accurately superimposed on the image after the fusion reference is inverted and corrected by using the extracted paired feature positions, so as to form a welded fusion image. It should be noted that the paired feature positions should be related to the formed fusion paired image, and the fusion paired image can be accurately aligned with the image after the above-mentioned fusion reference is inverted and corrected through the paired feature positions. Here, taking the welding surface state image as the fusion reference image and the weld state image as the fusion paired image as an example, the extraction of the paired feature positions in the fusion paired image will be illustrated by way of example.
[0082] When the weld state image is configured as the fusion paired image, the edge of the fusion paired image can be used as the paired feature position. For example, Figure 2 and Figure 3 In the illustrated embodiment, the position corresponding to the left end of the second welding base 2 in the fusion paired image can be used as the paired feature position, and the image after the fusion reference is inverted and corrected also includes the end position of the second welding base 2. Therefore, common technical means in the technical field can be used to extract features from the corresponding edge position in the fusion paired image. Thereafter, the corresponding position is extracted on the image after the fusion reference is inverted and corrected as the reference alignment position. Align the paired feature position with the reference alignment position. Thereafter, the fusion paired image can be superimposed on the image after the fusion reference is inverted and corrected to form a welded fusion image.
[0083] It should be noted that for a determined target overlapping weldment, a determined position or area can be selected as the paired feature position according to the type of the target overlapping weldment, that is, the selected paired feature position can be related to the type of the target overlapping weldment, etc. After selecting the paired feature position, common technical means in the technical field can be used to achieve image alignment. The image alignment method and process can be consistent with the prior art, and will not be illustrated one by one here.
[0084] In an embodiment of the present invention, when the fusion paired image is superimposed on the image after the fusion reference is inverted and corrected, the weld reference area and the superimposition reference area are mainly aligned and superimposed. When aligning and superimposing, the corresponding binary values of the weld reference area and the binary values of the corresponding superimposition reference area are subjected to a superimposition operation. Specifically, during the superimposition operation, for any position of the superimposition operation, when the corresponding binary value of the weld reference area or the corresponding binary value of the superimposition reference area is 1, the binary value of the pixel corresponding to the current superimposition operation position is 1; when the binary value corresponding to the weld reference area and the binary value corresponding to the superimposition reference area are both 0, the binary value of the pixel corresponding to the current superimposition operation position is 0.
[0085] As can be seen from the above description of the superposition operation, the formed welding quality identification area should correspond to the superposition reference area, that is, the range of the welding quality identification area does not exceed the range of the superposition reference area. When the binarized value of the pixel after superposition is 1, the weld connection area can be formed, and the area in the superposition reference area except the formed weld connection area can form the welding transition area. Figure 11 An embodiment of forming the welding quality identification area is shown in Figure 11 In it, the middle black area is the weld connection area, and the white area outside the weld connection area is the welding transition area.
[0086] It can be understood that after selecting the fusion reference image and the fusion paired image, and performing image fusion using the above image fusion method, the required welding quality identification area, weld connection area, and welding transition area can be obtained, and then the fusion ratio can be calculated.
[0087] In an embodiment of the present invention, when calculating the fusion ratio, it includes: Statistical pixel area of the weld connection area and the pixel area of the welding quality identification area, and taking the ratio of the pixel area of the weld connection area to the pixel area of the welding quality identification area as the fusion ratio; The quality detection ratio threshold includes a better quality ratio threshold and a non - qualified quality ratio threshold. When the fusion ratio is not less than the better quality ratio threshold, the welding quality state of the target overlapping weldment is good welding quality; When the fusion ratio is less than the non - qualified quality ratio threshold, the welding quality state of the target overlapping weldment is judged as unqualified welding quality.
[0088] As can be seen from the above - mentioned method of forming the welding quality identification area, the pixel area of the weld connection area and the pixel area of the welding quality identification area can be statistically obtained by using common technical means in the technical field. Thereafter, the ratio of the pixel area of the weld connection area to the pixel area of the welding quality identification area can be calculated, and the calculated ratio is used as the fusion ratio.
[0089] When performing welding quality detection, a quality detection ratio threshold should also be set, such as at least setting a better quality ratio threshold and a non - qualified quality ratio threshold. Generally, the non - qualified quality ratio threshold can be 60%, and the better quality ratio threshold can be 90%. The situations of the better quality ratio threshold and the non - qualified quality ratio threshold can be specifically selected and determined according to the type of the target overlapping weldment and the welding quality detection standard, and will not be listed one by one here.
[0090] In an embodiment of the present invention, when the fusion ratio is not less than the quality unqualified ratio threshold and less than the quality better ratio threshold, the welding quality status of the target overlapping weldment is determined to be qualified, and the quality grade of the welding quality status is given, where When determining the quality grade of the welding quality, it includes: Extract the ultrasonic reflection signal corresponding to the welding fusion image, calculate the corresponding reflection signal feature intensity value based on the extracted ultrasonic reflection signal, and normalize the calculated reflection signal feature intensity value. Thereafter, generate the normalized reflection signal feature intensity histogram of the weld connection area, the normalized reflection signal feature intensity histogram of the welding transition area, and the normalized reflection signal feature intensity histogram of the unfused area based on the normalized reflection signal feature intensity value, where the unfused area is the area other than the welding quality identification area in the welding fusion image; For all the above normalized reflection signal feature intensity histograms, calculate the histogram statistical information corresponding to each normalized histogram, where the histogram statistical information includes mean, standard deviation, and kurtosis; Based on the corresponding histogram statistical information of the weld connection area, the welding transition area, and the unfused area, determine the quality grade of the welding quality status.
[0091] It can be understood that when the welding quality status of the target overlapping weldment is determined to be good welding quality, it can be regarded as the weldment detection of the target overlapping weldment passing, and when the welding quality status of the target overlapping weldment is unqualified welding quality, it can be regarded as the welding quality of the target overlapping weldment not passing. In specific implementation, for the calculated fusion ratio, there may be a situation where it is not less than the quality unqualified ratio threshold but less than the quality better ratio threshold. At this time, it can be regarded as the welding quality status of the target overlapping weldment being qualified. When the welding quality status is qualified, in order to further determine the welding quality, the quality grade corresponding to the welding quality status of the target overlapping weldment should also be determined to further judge the qualified status of the target overlapping weldment through the quality grade.
[0092] When determining the quality grade of the welding quality, the ultrasonic reflection signal corresponding to the welding fusion image should be extracted. In an embodiment of the present invention, when the fusion reference image is the weld surface state image, the weld ultrasonic reflection signals corresponding to the weld connection area, the welding transition area, and the unfused area in the weld state image can be extracted as the ultrasonic reflection signals corresponding to the weld connection area, the welding transition area, and the unfused area, where the unfused area is the remaining area in the weld state image other than the areas corresponding to the weld connection area and the welding transition area.
[0093] In specific implementation, after obtaining the welding fusion object, common technical means in the technical field can be used to determine the region positions corresponding to the weld connection region, the welding transition region, and the lack of fusion region in the weld state image. Thereafter, corresponding weld ultrasonic reflection signals can be extracted from the weld ultrasonic reflection signal group for generating the weld state image.
[0094] In specific implementation, after extracting the corresponding weld ultrasonic reflection signals, the corresponding reflection signal characteristic intensity values can be calculated. The reflection signal characteristic intensity values can be the same as the above-mentioned signal characteristic intensity values, such as the PPV value. After calculating the reflection signal characteristic intensity values of all the weld ultrasonic reflection signals, all the reflection signal characteristic intensity values can be normalized. The normalization method adopted can be selected according to needs and will not be elaborated here. Thereafter, using the normalized reflection signal characteristic intensity values and the corresponding states of the weld connection region, the welding transition region, and the lack of fusion region, a normalized reflection signal characteristic intensity histogram of the weld connection region, a normalized reflection signal characteristic intensity histogram of the welding transition region, and a normalized reflection signal characteristic intensity histogram of the lack of fusion region can be generated. The method and process for generating the corresponding histograms can be consistent with the prior art and will not be elaborated here.
[0095] For all the above-mentioned normalized reflection signal characteristic intensity histograms, that is, the normalized reflection signal characteristic intensity histogram of the weld connection region, the normalized reflection signal characteristic intensity histogram of the welding transition region, and the normalized reflection signal characteristic intensity histogram of the lack of fusion region, the corresponding histogram statistical information is calculated. Among them, the histogram statistical information includes the mean value, the standard deviation, and the kurtosis. Thereafter, based on the corresponding histogram statistical information of the weld connection region, the welding transition region, and the lack of fusion region, the quality grade of the welding quality state can be determined.
[0096] In specific implementation, the quality grade can include the first grade, the second grade, and the third grade. The following is an example of how to determine the quality grade according to the histogram statistical information. Specifically: The welding state corresponding to the first grade is: the distribution in the weld connection region is concentrated and sharp, and the distribution in the welding transition region is concentrated and close to the distribution characteristics of the weld connection region, indicating sufficient fusion and a continuous bonding interface. The corresponding judgment conditions are: , and,
[0097] Among them, is the mean value of the weld connection region, is the standard deviation of the weld connection region, is the kurtosis of the weld connection region, is the mean value of the welding transition region, is the standard deviation of the welding transition region, is the kurtosis of the welding transition region.
[0098] The welding state corresponding to the second level is as follows: there are local lack of fusion points in the welding transition zone, but the overall transition trend is complete; the distribution of the characteristic intensity values of the reflection signals shows a wide peak characteristic, indicating the existence of microscopic inhomogeneity in the bonding state. The corresponding judgment situations are: , and , or, the peak value of the characteristic intensity value of the reflection signal in the welding transition region < the mean value of the histogram statistical information corresponding to the lack of fusion region; or, .
[0099] The welding state corresponding to the third level is as follows: the distribution in the weld connection region is dispersed, the bonding state in the welding transition zone is unstable, the signals in the welding transition region and the lack of fusion region are mixed, and there are obvious defects in the bonding interface; the corresponding judgment situations are:
[0100] or,
[0101] or, the overlap degree of the distribution of the characteristic intensity values of the reflection signals in the welding transition region and the characteristic intensity values of the reflection signals in the lack of fusion region > 30%.
[0102] In specific implementation, common technical means in this technical field can be used to calculate the overlap degree of the distribution of the characteristic intensity values of the reflection signals in the welding transition region and the characteristic intensity values of the reflection signals in the lack of fusion region. For example, a feasible way is: for the welding quality identification region, extract the ultrasonic reflection signals corresponding to the welding fusion image in the above manner. Thereafter, normalize the extracted ultrasonic reflection signals, and respectively generate histograms of the characteristic intensity of the reflection signals corresponding to the welding transition region and the lack of fusion region. Among them, the generated histogram consists of multiple intervals, each interval represents a set range of signal intensity values, and count the number of signals in this range. Generally, it is divided into 256 intervals. Thereafter, for each interval, take the smaller value of the two histogram values for summation to obtain the overlapping area. Finally, divide this overlapping area by the total area of the histogram of the lack of fusion region to obtain the value of the overlap degree of the distribution.
[0103] It should be understood that other technical means can also be used to determine the overlap degree of the distribution of the characteristic intensity values of the reflection signals in the welding transition region and the characteristic intensity values of the reflection signals in the lack of fusion region. The specific determination method can be selected according to needs and will not be listed one by one here.
[0104] In an embodiment of the present invention, when the fusion ratio is not less than the quality unqualified ratio threshold and less than the better quality ratio threshold, the welding quality status of the target overlapping weldment is determined to be qualified, and the quality grade of the welding quality status is given. Among them, When the number of welding quality detections of the target overlapping weldment exceeds the detection number threshold, the quality grade of the determined welding quality status is determined by using the comprehensive quality coefficient. Among them, For the comprehensive quality coefficient, there is:
[0105] In the formula, is the comprehensive quality coefficient, is the mean value of the welding transition region, is the standard deviation of the welding transition region, is the kurtosis of the weld connection region, , , are weight coefficients; Calculate the comprehensive quality coefficients corresponding to all historical target overlapping weldments, and determine the quality grade threshold based on all the comprehensive quality coefficients. Compare the comprehensive quality coefficient of the current target overlapping weldment with the determined quality grade threshold above to determine the quality grade of the welding quality status corresponding to the current target overlapping weldment.
[0106] It can be understood that in actual production, batch welding quality detections are carried out on the same type of target overlapping weldments. However, when the number of detections of the target overlapping weldments is small, the above-mentioned quality grade determination method can be adopted. When welding quality detections are carried out on a large number of target overlapping weldments, when making a quality grade determination, comprehensive judgment can be made by using the target overlapping weldments that have undergone welding quality detections. Generally, the detection number threshold can be 100, that is, when the number of welding quality detections of the same type of target overlapping weldments exceeds 100, the quality grade can be determined by the comprehensive quality coefficient.
[0107] It should be noted that when determining the quality grade of the welding quality status based on the comprehensive quality coefficient, the above-mentioned ultrasonic reflection signal extraction, calculation of the corresponding reflection signal characteristic intensity value, generation of the histogram, and statistics of the histogram to obtain the histogram statistical information are still required. The specific method and process for obtaining the histogram statistical information can refer to the corresponding description above and will not be elaborated here. After obtaining the corresponding histogram statistical information, the comprehensive quality coefficient corresponding to the current target overlapping weldment can be determined. , specifically, the weight coefficient , the weight coefficient , the weight coefficient The value of can be selected according to needs, such as the weight coefficient and the weight coefficient and the weight coefficient The sum of the accumulations can be 1. Of course, it can also be other values, and no further examples will be given here.
[0108] For the target overlapping weldments that belong to the same type of weldments, the comprehensive quality coefficient corresponding to the historical target overlapping weldments can be calculated, and the distribution of the comprehensive quality coefficient can be statistically analyzed to obtain the statistical value of the comprehensive quality coefficient corresponding to the historical target overlapping weldments. The statistical value of the comprehensive quality coefficient can be the mean value of the historical target overlapping weldments. Of course, it can also be other values obtained through statistics. After obtaining the statistical value of the comprehensive quality coefficient, the 60th percentile of the statistical value of the comprehensive quality coefficient can be used as the second-level threshold, and the 90th percentile of the statistical value of the comprehensive quality coefficient can be used as the first-level threshold.
[0109] During specific implementation, if the comprehensive quality coefficient of the current target overlapping weldment is greater than the first-level threshold, the quality level of the current target overlapping weldment is determined as the first level; if the comprehensive quality coefficient of the current target overlapping weldment is not less than the second-level threshold and less than the first-level threshold, the quality level of the current target overlapping weldment is determined as the second level; if the comprehensive quality coefficient of the current target overlapping weldment is less than the second-level threshold, the quality level of the current target overlapping weldment is determined as the third level.
[0110] It should be noted that the standard for dividing the quality level here is consistent with the above-mentioned quality level division standard. Specifically, when the quality level is the first level, it indicates that the welding transition zone is tightly combined and the weld connection area is concentrated; when the quality level is the second level, it indicates that there are microscopic inhomogeneities in the welding transition zone; when the quality level is the third level, it indicates that the combination degree of the welding transition zone is poor.
[0111] During specific implementation, when determining the quality level status based on the comprehensive quality coefficient , there will be statistical deviations. Therefore, in order to accurately obtain the quality level of the welding quality status, fine-tuning processing is required, which at least includes the comprehensive quality coefficient fine-tuning processing and the quality level fine-tuning processing performed in sequence. Specifically, When performing the comprehensive quality coefficient fine-tuning processing, it includes: Extract the edge contour of the weld connection area, calculate the curvature of each point on the edge contour, and statistically analyze the standard deviation of the curvature; Compare the statistically obtained standard deviation of the curvature with the quality coefficient standard deviation threshold, and adjust the value of the comprehensive quality coefficient .
[0112] Specifically, the Canny algorithm can be used to extract the edges of the weld connection area to obtain the closed edge contour of the weld connection area. Figure 12 An embodiment of extracting the closed edge contour of the weld connection area is shown in Figure 12 . In the figure, the white curve is the closed edge contour of the weld connection area. Of course, other methods can also be used to extract the closed edge contour, and the method of extracting the closed edge contour can be selected according to needs, and will not be exemplified one by one here.
[0113] After the closed edge contour is extracted, the curvature of each point on the closed edge contour can be calculated. The method of calculating the curvature of each point can be consistent with the prior art and will not be elaborated here. After calculating the curvature of each point, the standard deviation of the curvature can be statistically obtained by using the common technical means in the prior art. The method and process of statistically obtaining the standard deviation of the curvature can be consistent with the prior art and will not be elaborated here.
[0114] It can be understood that when the standard deviation of the curvature is low, the closed edge contour can be considered relatively smooth, while when the standard deviation of the curvature is high, it can be considered that there are obvious concavities and convexities or serrations in the closed edge contour. Specifically in implementation, the threshold of the standard deviation of the quality coefficient can be set to 0.5. When the statistically obtained standard deviation of the curvature is less than 0.5, the above calculated comprehensive quality coefficient is added with the first adjustment coefficient. When the statistically obtained standard deviation of the curvature is not less than 0.5, the above calculated comprehensive quality coefficient is subtracted by the second adjustment coefficient. Among them, the first adjustment coefficient can be 0.1, and the second adjustment coefficient can be 0.15. Of course, the first adjustment coefficient and the second adjustment coefficient can also be other values, which can be specifically selected according to actual needs, so as to better characterize the welding quality of the target overlapping weldments.
[0115] When performing the fine-tuning process of the quality grade, it includes: Extracting the weld ultrasonic reflection signal corresponding to the welding transition area in the weld state image, and calculating the TOF value of the weld ultrasonic reflection signal corresponding to the welding transition area, so as to statistically obtain the TOF standard deviation and the TOF mean value of the welding transition area based on the calculated TOF value; Calculating the TOF coefficient of variation of the welding transition area, then there is:
[0116] where, is the TOF coefficient of variation, is the TOF standard deviation of the welding transition area, is the TOF mean value of the welding transition area; When the TOF coefficient of variation <10%, the current quality grade of the welding quality state is confirmed. When the TOF coefficient of variation When it is ≥ 10%, the quality grade of the confirmed welding quality status will be forced to be downgraded by one level to update the quality grade of the welding quality status. For example, when the previous quality grade is the first grade, when the TOF coefficient of variation is ≥ 10%, the quality grade of the welding quality status should be configured as the second grade.
[0117] It should be noted that, for example, when the previous quality grade is the third grade, when the TOF coefficient of variation is < 10%, the quality grade of the welding quality status can be maintained as the third grade, or the welding quality status of the target overlapping weldment can be judged as unqualified welding quality. Other situations can refer to the description here.
[0118] From the above description, a welding quality detection system suitable for overlapping weldments can be obtained. Specifically, it includes an ultrasonic scanning probe and a welding quality detection terminal. The ultrasonic scanning probe is adaptively connected to the welding quality detection terminal. Among them, For any target overlapping weldment, the ultrasonic scanning probe is used to perform ultrasonic scanning processing on the target overlapping weldment. Thereafter, the welding quality detection terminal uses the above welding quality detection method to perform quality detection and judgment to determine the welding quality status of the current target overlapping weldment.
[0119] Specifically, the welding quality detection terminal can be a commonly used computer terminal in the existing. The type of the welding quality detection terminal can be selected according to needs, and no further examples will be given here. The ultrasonic scanning probe can be the high-frequency probe mentioned above. The method and process of using the ultrasonic scanning probe and the welding quality detection terminal to perform welding quality detection on the target overlapping weldment can refer to the above description, and will not be elaborated here.
Claims
1. A welding quality detection method suitable for overlapping weldments, characterized in that: The welding quality detection method comprises: Providing a target overlapping weldment, and performing ultrasonic scanning processing on two opposite surfaces of the target overlapping weldment respectively, so as to obtain a weld ultrasonic reflection signal group related to the weld and a weld surface ultrasonic reflection signal group related to the weld surface respectively; Generate a weld state image based on the weld ultrasonic reflection signal group, and generate a weld surface state image based on the weld surface ultrasonic reflection signal group, wherein the weld state image includes a weld reference area representing the welding state, and the weld surface state image includes a weld surface reference area representing the weld surface range; The weld state image and the weld surface state image are fused to generate a weld fusion image, where: When the images are fused, at least the weld reference area is aligned with the weld surface reference area, and the weld reference area is fused into the weld surface reference area to form a welding quality identification area in the welding fusion image, wherein the welding quality identification area at least includes a welding connection area and a welding transition area; Based on the weld fusion image, the fusion ratio of the weld connection area within the welding quality identification area is calculated, and the calculated fusion ratio is compared with the quality detection ratio threshold to determine the welding quality status of the target overlapping weldment after comparison.
2. The welding quality detection method suitable for overlapped weldments according to claim 1 is characterized in that: Performing ultrasonic scanning on two opposite surfaces of the target overlapping weldment, at least a first surface and a second surface corresponding to the weld, wherein at least one of the first surface and the second surface is a welding bearing surface; When performing ultrasonic scanning processing on each surface, at least a surface scanning operation and a signal interception operation are performed in sequence, wherein: After performing a surface scanning operation on the current surface, a surface ultrasonic reflection source signal group is generated; When executing the signal interception operation, the surface ultrasonic wave reflection source signal group is intercepted to generate the surface ultrasonic wave reflection intercepted signal group; When the front surface is a welding bearing surface, the surface ultrasonic reflection intercepted signal group is configured as the welding surface ultrasonic reflection signal group; otherwise, the surface ultrasonic reflection intercepted signal group is configured as the welding seam ultrasonic reflection signal group.
3. The welding quality detection method suitable for overlapped weldments according to claim 2 is characterized in that When performing ultrasonic scanning processing, a tilt correction operation is also included, in which: Before executing the signal interception operation, a tilt correction operation is performed first; When performing the tilt correction operation, a reflection scanning TOF array is generated based on the surface ultrasonic reflection source signal group, and a flight time correction amount corresponding to each surface ultrasonic reflection source signal is calculated and generated based on the reflection scanning TOF array of the smooth position; Performing tilt correction on the corresponding surface ultrasonic wave reflection source signal using the calculated flight time correction amount to generate a surface ultrasonic wave reflection tilt correction signal after the tilt correction; generating a surface ultrasonic reflection tilt correction signal group based on all surface ultrasonic reflection tilt correction signals; When the signal interception operation is performed, the surface ultrasonic wave reflection tilt correction signal group is subjected to signal interception to generate a surface ultrasonic wave reflection post-interception signal group after the signal interception.
4. The welding quality detection method suitable for overlapped weldments according to claim 3 is characterized in that: The calculation of the flight time correction corresponding to each weld ultrasonic reflection scanning signal includes: Performing plane fitting based on the reflection scanning TOF values corresponding to the smoothed positions in the reflection scanning TOF array to generate a TOF fitting plane; For each surface ultrasonic scanning point, a TOF fitting value of the current surface ultrasonic scanning point is determined using a TOF fitting plane, and a flight time correction amount is calculated based on the determined TOF fitting value and a corresponding reflection scanning TOF value in a reflection scanning TOF array; During tilt correction, when the flight time correction amount is non-integer, the surface ultrasonic reflection source signal is subjected to displacement correction based on the integer correction value and the decimal correction value in sequence, and a surface ultrasonic reflection tilt correction signal is generated after the displacement correction, wherein: The integer correction value is an integer value of the flight time correction amount; The decimal correction value is a decimal value of the flight time correction amount, and when the displacement correction is performed based on the decimal correction value, the displacement correction method includes linear interpolation.
5. The welding quality detection method suitable for overlapped weldments according to any one of claims 1 to 4, characterized in that: When generating weld status images, include: Generate a signal intensity image of the weld area representing the intensity of the ultrasonic reflection signal based on the weld ultrasonic reflection signal group; The signal intensity image of the weld area is binarized to generate a weld state image after binarization, wherein: During the binarization process, two signal characteristic intensity peaks are searched in the signal intensity image of the weld area, and the signal characteristic intensity valley between the two searched signal characteristic intensity peaks is configured as the binarization segmentation threshold; The configured binary segmentation threshold is used to perform binary processing on the weld area signal intensity image.
6. The welding quality detection method suitable for overlapped weldments according to claim 5 is characterized in that: When performing image fusion, it includes: The weld surface state image or the weld seam state image is selected as the fusion reference image, and the weld seam state image or the weld surface state image is configured as the fusion pairing image; mirror-flipping the fused reference image to generate a fused reference mirror-flipped image after the mirror-flipping; Performing logical inversion on the fused reference mirror flipped image, and performing rotation correction after logical inversion to generate a fused reference inversion corrected image, wherein the fused reference inversion corrected image includes a superimposed reference area, and the binary numerical state of the superimposed reference area is different from the binary numerical state of the weld reference area; Extracting the paired feature position in the fused paired image, and superimposing the fused paired image on the fused reference negated corrected image based on the extracted feature position to form a welding fusion image, and generating a welding quality identification area in the welding fusion image, wherein: A weld connection region is formed based on the superposition state of the weld reference region and the superposition reference region, and a portion of the superposition reference region other than the weld connection region forms a welding transition region.
7. The welding quality detection method suitable for overlapped weldments according to claim 6 is characterized in that: When calculating the fusion ratio, include: The pixel area of the weld connection area and the pixel area of the welding quality identification area are counted, and the ratio of the pixel area of the weld connection area to the pixel area of the welding quality identification area is used as the fusion ratio; The quality detection ratio threshold includes a good quality ratio threshold and an unqualified quality ratio threshold. When the fusion ratio is not less than the good quality ratio threshold, the welding quality status of the target overlap weldment is good welding quality; When the fusion ratio is less than the unqualified quality ratio threshold, the welding quality status of the target overlapping weldment is judged as unqualified welding quality.
8. The welding quality detection method suitable for overlapped weldments according to claim 7 is characterized in that: When the fusion ratio is not less than the unqualified quality ratio threshold and less than the good quality ratio threshold, the welding quality status of the target overlap weldment is judged as qualified welding quality, and the quality grade of the welding quality status is given, where: When determining the quality level of welding quality, include: Extracting the ultrasonic reflection signal corresponding to the welding fusion image, and calculating the corresponding reflection signal characteristic intensity value based on the extracted ultrasonic reflection signal, and normalizing the calculated reflection signal characteristic intensity value, and then generating the normalized reflection signal characteristic intensity histogram of the weld connection area, the normalized reflection signal characteristic intensity histogram of the welding transition area, and the normalized reflection signal characteristic intensity histogram of the unfused area based on the normalized reflection signal characteristic intensity value, wherein the unfused area is the area in the welding fusion image except the welding quality identification area; For all the above normalized reflection signal characteristic intensity histograms, calculate the histogram statistical information corresponding to each normalized histogram, wherein the histogram statistical information includes the mean, standard deviation and kurtosis; The quality grade of the welding quality status is determined based on the corresponding histogram statistical information of the weld connection area, the weld transition area and the unfused area.
9. The welding quality detection method suitable for overlapped weldments according to claim 7 is characterized in that: When the fusion ratio is not less than the unqualified quality ratio threshold and less than the good quality ratio threshold, the welding quality status of the target overlap weldment is judged as qualified welding quality, and the quality grade of the welding quality status is given, where: When the number of welding quality inspections of the target overlapping weldment exceeds the inspection number threshold, the quality level of the determined welding quality state is determined using the comprehensive quality coefficient, where: For the comprehensive quality coefficient, we have: In the formula, is the comprehensive quality coefficient, is the mean value of the welding transition area, is the standard deviation of the welding transition region, is the kurtosis of the weld connection area, , , is the weight coefficient; Calculate the comprehensive quality coefficients corresponding to all historical target overlap weldments, and determine the quality grade threshold based on all comprehensive quality coefficients. The comprehensive quality coefficient of the current target overlap weldment is compared with the quality grade threshold determined above to determine the quality grade of the welding quality state corresponding to the current target overlap weldment.
10. A welding quality inspection system suitable for overlapping weldments, characterized in that: It includes an ultrasonic scanning probe and a welding quality detection terminal, the ultrasonic scanning probe is adapted to be connected with the welding quality detection terminal, wherein: For any target overlapping weldment, an ultrasonic scanning process is performed on the target overlapping weldment by means of an ultrasonic scanning probe. Thereafter, the welding quality inspection terminal uses the welding quality inspection method of any one of claims 1 to 9 above to perform quality inspection and judgment to determine the welding quality status of the current target overlapping weldment.
Citation Information
Patent Citations
Image-based welding quality detection method and system
CN118362642A
Power battery laser welding detection method fusing photoelectric-OCT in-situ sensing
CN118977011A
Welding seam quality detection method and welding seam detection system
CN119688704A
Method for tracking and ranking the qualification of welders
RU2763708C1
Methods for ultrasonic inspection of spot and seam resistance welds in metallic sheets
US6925882B1