Laser welding defect detection method and related equipment

By performing various preprocessing and signal decomposition and reconstruction techniques on the electrical signals collected during the laser welding process, the detection of multiple weld defects is realized, which solves the problem that only one kind of defect can be detected in the existing technology, and improves the efficiency Detection accuracy and efficiency.

CN118664133APending Publication Date: 2024-09-20GUANGZHOU DILIGINE PHOTONICS CO LTD

Patent Information

Application Number
CN202410769358.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing laser welding defect detection methods can only detect one type of defect through electrical signals collected at one time, and cannot detect multiple defects.

Method used

By performing various pre-processing methods on the electrical signals collected at one time, multiple processed signals are obtained, and combined with signal decomposition and reconstruction technology, the detection of various weld defects, including blasted spots, false welds and tailor-made welds, is achieved Spacing defects.

Benefits of technology

The accuracy and efficiency of defect detection are improved, and multiple defects can be detected through the electrical signal collected at one time, which reduces the difficulty of detection and improves the accuracy of detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118664133A
    Figure CN118664133A
Patent Text Reader

Abstract

The invention relates to the field of laser welding. The embodiment of the invention discloses a laser welding defect detection method and related equipment. The method comprises the steps that an industrial control computer obtains an electric signal corresponding to a target optical signal radiated by a target welding seam in the laser welding process; the industrial control computer processes the electric signals corresponding to the target optical signals in multiple preprocessing modes to obtain multiple processed electric signals, and the multiple processed electric signals correspond to the multiple weld defects; and the industrial control computer determines whether a weld defect corresponding to each processed electric signal exists in the target weld or not based on each processed electric signal in the multiple processed electric signals. By adopting the embodiment of the invention, the detection of various defects can be realized through the electric signal acquired at one time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of laser welding, and in particular to a laser welding defect detection method and related equipment. Background Art

[0002] In the field of laser processing, due to the influence of processing environment and processing parameters, the welds produced by laser processing will have different defects. For example, the contamination of the lens in the laser head will reduce the laser power output by the laser head, resulting in a cold weld. Another example is that during the laser processing process, violent spattering will form explosion points on the weld.

[0003] For weld defect detection, the optical signal radiated by the weld during welding is generally collected and converted into an electrical signal, and then the weld is determined to have defects based on the electrical signal. This method has limitations: the electrical signal collected at one time can only be used to detect one defect in the weld. Summary of the invention

[0004] The embodiments of the present application provide a laser welding defect detection method and related equipment. The use of the embodiments of the present application is conducive to the detection of multiple defects through an electrical signal collected once.

[0005] This application is implemented using the following technical solutions.

[0006] In a first aspect, an embodiment of the present application provides a laser welding defect detection method, comprising:

[0007] The industrial control computer obtains an electrical signal corresponding to a target light signal radiated by a target weld during the laser welding process; the industrial control computer processes the electrical signal corresponding to the target light signal using a variety of preprocessing methods to obtain a plurality of processed electrical signals, and the plurality of processed electrical signals correspond to a plurality of weld defects; the industrial control computer determines whether the target weld has a weld defect corresponding to each processed electrical signal based on each of the plurality of processed electrical signals.

[0008] It can be seen that the electrical signal collected once is processed by multiple preprocessing methods to obtain multiple processed signals, and the multiple processed signals can be used for different defect detections, thereby realizing the detection of multiple defects through the electrical signal collected once.

[0009] In combination with the first aspect, in a possible implementation, the industrial control computer processes the electrical signal corresponding to the target optical signal using multiple preprocessing methods to obtain multiple processed electrical signals, including:

[0010] The industrial control computer determines the defect signal from the electrical signal corresponding to the target optical signal; the industrial control computer reconstructs the defect signal to obtain a defect reconstruction signal, and the multiple processed electrical signals include the defect reconstruction signal.

[0011] It can be seen that by reconstructing the defect signal to obtain the defect reconstruction signal, the peak signal in the defect reconstruction signal becomes more obvious. When using the defect reconstruction signal for explosive point detection, it is beneficial to reduce the difficulty of explosive point defect detection and improve the accuracy of the explosive point defect detection results.

[0012] In combination with the first aspect, in a possible implementation, the industrial control computer reconstructs the defect signal to obtain a defect reconstructed signal, including:

[0013] The industrial control computer performs N signal decompositions on the defect signal to obtain N detail components; N is an integer greater than 2; at least one defect signal includes the defect signal; the industrial control computer selects M detail components from the N detail components, and M is a positive integer less than N; wherein the M detail components include all detail components obtained in the process of performing signal decomposition based on the first approximate component to obtain the second approximate component; the first approximate component is a noise smoothed signal, and the second approximate component is a defect smoothed signal; the industrial control computer performs accumulation processing on the M detail components to obtain a defect reconstruction signal.

[0014] Optionally, the signal is decomposed into discrete wavelet decomposition, empirical mode decomposition, variational mode decomposition, wavelet packet decomposition, etc., which is not limited here.

[0015] It can be seen that by decomposing the defect signal to obtain multiple detail components, and then reconstructing the signal based on the multiple detail components, the characteristics of the defect reconstructed signal are more obvious than those of the defect signal. Therefore, the subsequent detection of the explosive point defect of the target weld based on the defect reconstructed signal is beneficial to improve the accuracy of the explosive point defect detection results.

[0016] In combination with the first aspect, in a possible implementation, the industrial control computer determines whether the target weld has a weld defect corresponding to each processed electrical signal based on each processed electrical signal among the multiple processed electrical signals, including:

[0017] The industrial control computer multiplies the defect reconstruction signal with the fluctuation amplification factor and the step amplification factor to obtain a target detection signal; if the maximum value in the target detection signal is greater than the first threshold, or the absolute value of the minimum value in the target detection signal is greater than the second threshold, the industrial control computer determines that there is a burst defect in the target weld; wherein the weld defects corresponding to the processed electrical signal include burst defects.

[0018] By performing dot multiplication of the defect reconstruction signal with the fluctuation amplification factor and the step amplification factor, the peak signal of the defect reconstruction signal is amplified, which is beneficial to improving the accuracy of the explosive point defect detection results when performing explosive point defect detection on the target weld subsequently.

[0019] In combination with the first aspect, in a possible implementation manner, the method of this embodiment further includes:

[0020] The industrial control computer extracts the first signal from the first approximate component based on the first sliding window; extracts the second signal from the second approximate component based on the second sliding window; the industrial control computer calculates the first signal and the second signal respectively to obtain the first standard deviation and the second standard deviation, and the difference between the first standard deviation and the second standard deviation is the fluctuation amplification factor; the industrial control computer divides the first signal into a third signal and a fourth signal on average, and the industrial control computer calculates the third signal and the fourth signal respectively to obtain the first mean and the second mean, and calculates the first difference between the first mean and the second mean; the industrial control computer divides the second signal into a fifth signal and a sixth signal on average, and the industrial control computer calculates the fifth signal and the sixth signal respectively to obtain the third mean and the fourth mean, and calculates the first difference between the third mean and the fourth mean; the difference between the first difference and the second difference is the step amplification factor.

[0021] In combination with the first aspect, in a possible implementation, the industrial control computer determines the defect signal from the electrical signal corresponding to the target optical signal, including:

[0022] The industrial control computer obtains an image of the target weld; the industrial control computer determines the position information of the suspected explosion point on the target weld from the image of the target weld; the industrial control computer obtains a defect signal from the electrical signal corresponding to the target light signal based on the position information of the suspected explosion point, and the defect signal includes the electrical signal corresponding to the light signal radiated by the suspected explosion point.

[0023] It can be seen that by acquiring an image of the target weld, it is determined whether there is a suspected explosion point in the target weld based on the image of the target weld. When it is determined that there is a suspected explosion point in the target weld, an electrical signal defect signal corresponding to the light signal radiated by the suspected explosion point is obtained from the electrical signal corresponding to the target light signal based on the position of the suspected explosion point on the target weld. That is, when judging whether there is an explosion point in the target weld, it is not a purposeless detection, but the suspected explosion point is first selected, and then based on subsequent operations, it is judged whether the suspected explosion point is a real explosion point, thereby improving the detection efficiency.

[0024] In combination with the first aspect, in a possible implementation, the multiple preprocessing methods include high-pass filtering, the multiple processed electrical signals include a first electrical signal obtained by high-pass filtering the electrical signal corresponding to the target light signal, and the weld defect corresponding to the first electrical signal is a tailored welding interval defect; the industrial control computer determines whether the target weld has a weld defect corresponding to each processed electrical signal based on each processed electrical signal in the multiple processed electrical signals, including:

[0025] The industrial control computer determines at least one signal segment whose amplitude is lower than the reference lower edge line from the first electrical signal based on the reference lower edge line signal; if there is a corresponding signal segment with a duration exceeding a preset duration in at least one signal segment, the industrial control computer determines that there is a welding interval defect in the target weld.

[0026] The target weld is obtained by welding the workpieces together.

[0027] By determining whether there is a signal segment with a duration exceeding a preset duration in the signal segment with an amplitude lower than the reference lower edge line in the first electrical signal, it is determined whether there is a welding interval defect in the target weld. This method can detect the presence of a welding interval defect in the target weld on the workpiece, thereby preventing the workpiece from flowing into the next process and ultimately preventing defective products from flowing out.

[0028] In combination with the first aspect, in a possible implementation manner, the method of this embodiment further includes:

[0029] The industrial control computer obtains multiple normal signals, which are electrical signals corresponding to optical signals generated by welds without splicing interval defects; the industrial control computer aligns the multiple normal signals, and determines multiple signal groups from the multiple normal signals based on a sliding window; each signal group includes multiple signal segments obtained by intercepting the multiple normal signals once through the sliding window; the industrial control computer obtains the maximum amplitude value from each signal group in the multiple signal groups to obtain multiple amplitude maximum values; the industrial control computer obtains a maximum value curve based on the multiple amplitude maximum values; the industrial control computer performs mean filtering on the maximum value curve to obtain a first reference center line; the industrial control computer obtains a reference lower edge line based on the first reference center line and a preset offset value, the amplitude points in the reference lower edge line correspond to the amplitude points in the first reference center line, and the amplitudes of the amplitude points in the reference lower edge line are the differences between the amplitudes of the corresponding amplitude points in the reference center line and the preset offset value.

[0030] In combination with the first aspect, in a possible implementation, the multiple preprocessing methods include low-pass filtering, the multiple processed electrical signals include a second electrical signal obtained by performing low-pass filtering on the electrical signal corresponding to the target light signal, and the weld defect corresponding to the second electrical signal is a cold weld defect; the industrial control computer determines whether the target weld has a weld defect corresponding to each processed electrical signal based on each processed electrical signal in the multiple processed electrical signals, including:

[0031] The industrial control computer obtains the upper limit value of the target light signal according to the curve of the second electrical signal and the reference upper edge line of the target light signal; the industrial control computer determines whether the target weld has a cold weld defect according to the upper limit value of the target light signal; wherein, if the curve amplitude of the second electrical signal is higher than the reference upper edge line amplitude of the target light signal, and the upper limit value of the target light signal is higher than the upper limit threshold, the industrial control computer determines that the target weld has a cold weld defect.

[0032] In combination with the first aspect, in a possible implementation, the curve of the second electrical signal includes a plurality of first points, the reference upper edge line includes a plurality of third points, the plurality of first points correspond to the plurality of third points in time, and the industrial control computer obtains an upper limit value of the target optical signal according to the curve of the second electrical signal and the reference upper edge line of the target optical signal, including:

[0033] The industrial control computer calculates the difference between the amplitude represented by each of the multiple first points and the amplitude represented by the third point corresponding to the first point in time to obtain multiple differences; the industrial control computer determines the maximum value of the multiple differences as the upper limit value of the target light signal.

[0034] In combination with the first aspect, in a possible implementation, the second reference center line of the target light signal includes a plurality of second points, the reference upper edge line includes a plurality of third points, the plurality of second points correspond to the plurality of third points in time, and the method of this embodiment further includes:

[0035] The industrial control computer calculates the difference between the amplitude represented by each of the plurality of third points and the amplitude represented by the second point corresponding to the third point in time to obtain a plurality of differences; the industrial control computer determines the maximum value among the plurality of differences as the upper limit threshold.

[0036] After a complete weld is formed, the energy of the target light generated by the weld with a cold weld defect is higher than the energy of the target light generated by the weld without a cold weld defect. Accordingly, the upper limit value of the target light signal generated by the weld with a cold weld defect is higher than the upper limit value of the target light signal generated by the weld without a cold weld defect. Therefore, after a complete target weld is formed, the upper limit value of the target light signal generated by the target weld is compared with the upper limit threshold to determine whether the energy of the target light generated by the weld is higher than the energy of the target light generated by the weld without a cold weld defect, thereby determining whether the target weld has a cold weld defect, and the judgment result obtained by this judgment method is highly accurate.

[0037] In combination with the first aspect, in a possible implementation manner, the method of this embodiment further includes:

[0038] The industrial control computer displays an image of a target weld and a plurality of processed electrical signals; when it is determined based on each processed electrical signal that the target weld has a weld defect corresponding to each processed electrical signal, the industrial control computer displays an identification of a signal segment corresponding to the weld defect on each processed electrical signal and displays an identification indicating the presence of a weld defect on the image of the target weld.

[0039] In this way, the processing personnel can know whether the weld on the workpiece has defects; if there is a defect, an identifier of the signal segment corresponding to the weld defect is displayed on the electrical signal, and an identifier indicating the existence of the weld defect is displayed on the image of the weld, so that the processing personnel can know the location information of the defective part of the weld.

[0040] In a second aspect, an embodiment of the present application provides an industrial computer, comprising an acquisition unit, a processing unit, a determination unit and a display unit. The acquisition unit, the processing unit, the determination unit and the display unit are used to implement any method provided in the first aspect.

[0041] In a third aspect, an embodiment of the present application provides an industrial control computer, comprising: a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the industrial control computer executes a method as provided in any one of the first aspects.

[0042] In a fourth aspect, an embodiment of the present application provides a laser welding control system, comprising a laser welding system, a multi-optical sensor module, a signal processing module and an industrial control computer, wherein the industrial control computer is used to execute a method as provided in any one of the first aspects.

[0043] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute a method as provided in any one of the first aspects.

[0044] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer is operable to cause the computer to execute the method described in the first aspect or the second aspect.

[0045] It can be understood that the industrial control computer described in the second and third aspects, the laser welding control system described in the fourth aspect, the computer-readable storage medium described in the fifth aspect, or the computer program product described in the sixth aspect are all used to implement the method provided in any one of the first aspects. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0047] Figure 1 A schematic diagram of the architecture of a laser welding defect detection system provided in an embodiment of the present application;

[0048] Figure 2 A schematic diagram of a process for detecting laser welding defects provided in an embodiment of the present application;

[0049] Figure 3a The electrical signal corresponding to the target optical signal radiated by the suspected explosion point;

[0050] Figure 3b It is a schematic diagram of signal decomposition;

[0051] Figure 4 Schematic diagram of target detection signal;

[0052] Figure 5 is a schematic diagram of a first electrical signal and a reference lower edge line;

[0053] Figure 6 It is a schematic diagram of the test results;

[0054] Figure 7 A schematic diagram of the structure of an industrial control computer provided in an embodiment of the present application;

[0055] Figure 8 A schematic diagram of the structure of another industrial control computer provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0057] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms of "a", "said" and "the" used in the embodiments of the present application, the accompanying drawings and the claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should be understood that the term "and / or" used in this article is only a kind of association relationship describing the associated objects, indicating that there can be three relationships, for example, A and / or B, which can be represented by: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are an "or" relationship. It should be understood that although the terms "first", "second" and similar words may be used in the embodiments of the present application, they do not represent any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one" or "one" do not represent quantity restrictions, but represent the existence of at least one. The "multiple" involved in the embodiments of the present application refers to greater than or equal to two.

[0058] See also Figure 1 , Figure 1 A schematic diagram of the architecture of a laser welding defect detection system provided in an embodiment of the present application. Figure 1 As shown, the system includes a laser welding system, a multi-optical sensor module 4, a signal processing module 6 and an industrial control computer 8.

[0059] The laser welding system includes a laser 1, an optical fiber 2 and a laser processing head 3. The laser 1 is connected to the laser processing head 3 through the optical fiber 2, the multi-optical sensor module 4 is coaxially installed on the laser processing head 3, the multi-optical sensor module 4 is connected to the signal processing module 6 through the first signal line 5, the signal processing module 6 is connected to the industrial control computer 8 through the second signal line 7, and the industrial control computer 8 is connected to the laser welding system through the third signal line 12.

[0060] In this embodiment, the laser generated by the laser 1 is transmitted to the laser processing head 3 through the optical fiber 2, and then incident on the upper plate 10 of the metal material to be processed by the laser processing head 3. The upper plate 10 absorbs the laser and melts and solidifies to form the target weld 9. The infrared light, visible light and laser reflection signal radiated by the target weld 9 after welding are transmitted to the multi-optical sensor module 4 through the laser processing head 3. The multi-optical sensor module 4 can receive the laser reflection signal, the infrared light signal and the visible light signal radiated by the target weld 9 and convert them into corresponding electrical signals; the electrical signal is transmitted to the signal processing module 6 through the first signal line 5, and after the signal is processed, it is transmitted to the industrial control computer 8 through the second signal line 7. The industrial control computer 8 processes the received signal to determine whether the target weld 9 has defects.

[0061] Optionally, when it is determined that there is a defect in the target weld 9, the position information of the defect in the target weld 9 is determined, and the position information of the defective part in the target weld 9 is transmitted to the laser welding system through the third signal line 12 to control the laser welding system to perform repair welding on the defective part in the target weld 9.

[0062] In laser welding applications, the wavelength of the infrared light signal is in the range of 1250nm to 1700nm. The wavelength of the visible light signal is in the range of 400nm to 700nm. The laser welding reflection signal corresponds to the processing laser reflection signal during actual laser welding. For example, the processing laser wavelength is 915nm, 1064nm, 1080nm, etc. The wavelength of the processing laser is related to the actual wavelength of the laser used. In some usage environments, the wavelength of the infrared light signal may be outside the range of 1250nm to 1700nm. In some usage environments, the wavelength of the visible light signal may be outside the range of 400nm to 700nm.

[0063] The specific implementation method of the solution of this application is introduced in detail below.

[0064] See also Figure 2 , Figure 2 A schematic diagram of a laser welding defect detection method provided in an embodiment of the present application. Figure 2 As shown, the method includes:

[0065] S201. The industrial control computer obtains an electrical signal corresponding to a target light signal radiated by a target weld during laser welding.

[0066] Optionally, the target light signal is a visible light signal, an infrared light signal, a laser reflection signal, or other types of light signals.

[0067] S202, the industrial control computer processes the electrical signal corresponding to the target optical signal using a plurality of preprocessing methods to obtain a plurality of processed electrical signals.

[0068] Among them, multiple processed electrical signals correspond to multiple weld defects.

[0069] In one example, the plurality of weld defects include but are not limited to crack defects, cold weld defects, weld spacing defects, etc. The preprocessing methods include but are not limited to high-pass filtering, low-pass filtering, signal decomposition and reconstruction, and the like.

[0070] Among them, the explosion point defect and the welding interval defect correspond to high-pass filtering, and the cold welding defect corresponds to low-pass filtering. On the other hand, the explosion point defect corresponds to signal decomposition and reconstruction.

[0071] In a specific example, the industrial control computer performs high-pass filtering and low-pass filtering on the electrical signal corresponding to the target light signal radiated by the target weld to obtain a first electrical signal and a second electrical signal. The first electrical signal is used to detect whether the target weld has a cracking defect and a welding interval defect, and the second electrical signal is used to detect whether the target weld has a cold weld defect.

[0072] In another specific example, an industrial control computer determines a defect signal from an electrical signal corresponding to a target optical signal, and reconstructs the defect signal to obtain a defect reconstruction signal, which is used to determine whether a target weld has a burst defect.

[0073] The following describes in detail how to obtain the defect reconstruction signal based on the electrical signal corresponding to the target optical signal:

[0074] During the laser welding process, the industrial computer acquires the electrical signal corresponding to the target light signal radiated by the target weld in real time, and the industrial computer also acquires the image of the target weld. In one example, Figure 1 The laser welding system shown also includes a camera, which is used to collect images of the weld. The industrial computer obtains the image of the target weld through the camera. The industrial computer recognizes the image of the target weld through a recognition algorithm to determine whether there are suspected explosion points in the target weld. In one example, the suspected explosion points are concave points, convex points, etc. Figure 3a As shown, the industrial control computer determines the position information of the suspected explosion point on the target weld, and determines the defect signal from the first electrical signal based on the position information of the suspected explosion point on the target weld, and the defect signal includes the electrical signal corresponding to the target light signal radiated by the suspected explosion point.

[0075] It should be pointed out that since laser welding is processed at a certain speed, the time when the suspected explosion point is formed can be determined based on the position information of the suspected explosion point on the target weld. The electrical signal corresponding to the target light signal radiated by the target weld is acquired in real time by the industrial control computer. Therefore, the industrial control computer obtains the defect signal from the first electrical signal based on the time when the suspected explosion point is formed.

[0076] The industrial control computer decomposes the defect signal to obtain an approximate component a1 and a detail component d1; the industrial control computer decomposes the approximate component a1 to obtain an approximate component a2 and a detail component d2; the industrial control computer decomposes the approximate component a2 to obtain an approximate component a3 and a detail component d3; the above method is used to perform N times of signal decomposition to obtain N detail components, and the N detail components are saved. The industrial control computer saves the approximate component obtained from each signal decomposition.

[0077] Optionally, the signal is decomposed into discrete wavelet decomposition, empirical mode decomposition, variational mode decomposition, wavelet packet decomposition, etc., which is not limited here.

[0078] The industrial control computer selects M detail components from the N detail components, where M is a positive integer less than N; wherein the M detail components include all detail components obtained in the process of obtaining the second approximate component by performing signal decomposition based on the first approximate component; the first approximate component is a noise smoothed signal, and the second approximate component is a defect smoothed signal; the industrial control computer accumulates the M detail components to obtain a defect reconstruction signal.

[0079] In the process of performing N signal decompositions based on the defect signal by the industrial control computer, each time an approximate component is obtained, the industrial control computer determines whether the approximate component is a noise smooth signal, specifically, whether the noise feature in the approximate component begins to disappear; when determining that an approximate component is a noise smooth signal, the industrial control computer determines whether the subsequently obtained approximate component is a defect smooth signal, specifically, whether the defect feature in the approximate component begins to disappear; after determining the defect smooth signal, the industrial control computer obtains the detail component obtained in the process of obtaining the defect smooth signal by performing signal decomposition based on the noise smooth signal, and the industrial control computer accumulates the detail components obtained in the process of obtaining the defect smooth signal by performing signal decomposition based on the noise smooth signal to obtain a defect reconstructed signal.

[0080] like Figure 3b As shown, the industrial control computer performs 7 signal decompositions based on the defect signal, and can obtain approximate component a7 and detail component d7; wherein, approximate component a7 and detail component d7 are obtained by performing signal decomposition on approximate component a6. The industrial control computer determines whether the approximate component a7 is a noise smooth signal; when determining that the approximate component a7 is a noise smooth signal, the industrial control computer saves the approximate component a7 and marks the approximate component a7 as a noise smooth signal. The industrial control computer performs signal decomposition on the approximate component a7 to obtain approximate component a8 and detail component d8, and the industrial control computer determines whether the approximate component a8 is a defect smooth signal; when determining that the approximate component a8 is not a defect smooth signal, the industrial control computer performs signal decomposition on the approximate component a8 to obtain approximate component a9 and detail component d9, and the industrial control computer determines whether the approximate component a9 is a defect smooth signal; when determining that the approximate component a9 is not a defect smooth signal, the industrial control computer performs signal decomposition on the approximate component a9 to obtain approximate component a10 and detail component d10, the industrial control computer determines whether the approximate component a10 is a defective smooth signal; when it is determined that the approximate component a10 is not a defective smooth signal, the industrial control computer decomposes the approximate component a10 to obtain the approximate component a11 and the detail component d11, and the industrial control computer determines whether the approximate component a11 is a defective smooth signal; when it is determined that the approximate component a11 is a defective smooth signal, the industrial control computer accumulates the approximate component a8, the approximate component a9, the approximate component a10 and the approximate component a11 to obtain a defective reconstructed signal.

[0081] In another possible implementation, the inspector determines based on historical experience that the noise features in the approximate component obtained by performing S1-th signal decomposition based on the defect signal have just begun to disappear, and determines the approximate component obtained by performing S1-th signal decomposition as a noise smooth signal, and the defect features in the approximate component obtained by performing S2-th discrete wavelet decomposition based on the defect signal have just begun to disappear, and determines the approximate component obtained by performing S2-th signal decomposition as a defect smooth signal, wherein S1 is an integer greater than 0, and S2 is an integer greater than S1. The industrial control computer performs S2-th discrete wavelet decomposition based on the defect signal, determines the approximate component obtained by performing S1-th discrete wavelet decomposition as a noise smooth signal, and determines the approximate component obtained by performing S1-th discrete wavelet decomposition as a defect smooth signal; the industrial control computer accumulates the detail components obtained in the process of performing discrete wavelet decomposition based on the noise smooth signal to obtain the defect smooth signal to obtain the defect reconstruction signal.

[0082] S203. The industrial control computer determines, based on each of the multiple processed electrical signals, whether the target weld has a weld defect corresponding to each processed electrical signal.

[0083] The following introduces how the industrial control computer detects whether there is a burst defect in the target weld based on the defect reconstruction signal.

[0084] In a possible implementation, the industrial control computer performs point multiplication on the defect reconstruction signal, the fluctuation amplification factor, and the step amplification factor to obtain the target detection signal, such as Figure 4 As shown. The fluctuation amplification factor and the step amplification factor are obtained based on the first approximate component and the second approximate component; if the maximum value in the target detection signal is greater than the first threshold, or the absolute value of the minimum value in the target detection signal is greater than the second threshold, the industrial control computer determines that there is a burst point in the target weld.

[0085] The defect characteristic amplitude response enhancement in the target detection signal obtained by point multiplication of the fluctuation amplification factor and the step amplification factor with the defect reconstruction signal is beneficial to the accuracy of subsequent detection of whether there is a burst point in the target weld based on the target detection signal.

[0086] In a possible implementation, the industrial control computer determines the fluctuation amplification factor and the step amplification factor in the following manner:

[0087] The industrial control computer extracts the first signal from the first approximate component based on the first sliding window; extracts the second signal from the second approximate component based on the second sliding window; the industrial control computer calculates the first signal and the second signal respectively to obtain the first standard deviation and the second standard deviation, and the difference between the first standard deviation and the second standard deviation is the fluctuation amplification factor; the industrial control computer divides the first signal into a third signal and a fourth signal on average, and the industrial control computer calculates the third signal and the fourth signal respectively to obtain the first mean and the second mean, and calculates the first difference between the first mean and the second mean; the industrial control computer divides the second signal into a fifth signal and a sixth signal on average, and the industrial control computer calculates the fifth signal and the sixth signal respectively to obtain the third mean and the fourth mean, and calculates the first difference between the third mean and the fourth mean; the difference between the first difference and the second difference is the step amplification factor.

[0088] Specifically, the industrial computer extracts the first signal from the first approximate component based on the first sliding window; and extracts the second signal from the second approximate component based on the second sliding window. It should be understood that when the multi-optical sensor collects light signals, it collects them at a certain frequency, so the first signal and the second signal can be regarded as consisting of multiple points, each of which represents an electrical signal amplitude. The industrial computer calculates the first signal and the second signal respectively to obtain the first standard deviation and the second standard deviation. It should be understood that the first standard deviation is the standard deviation of the electrical signal amplitude corresponding to the multiple points constituting the first signal, and the second standard deviation is the standard deviation of the electrical signal amplitude corresponding to the multiple points constituting the second signal. The industrial computer determines the absolute value of the difference between the first standard deviation and the second standard deviation as the fluctuation amplification factor.

[0089] The industrial control computer divides the first signal into the third signal and the fourth signal by the center line of the first sliding window, and divides the second signal into the fifth signal and the sixth signal by the center line of the second sliding window. The industrial control computer calculates the third signal and the fourth signal respectively to obtain the first mean and the second mean, and calculates the first difference between the first mean and the second mean. The first mean is the mean of the amplitudes of the electrical signals corresponding to the multiple points constituting the third signal, and the second mean is the mean of the amplitudes of the electrical signals corresponding to the multiple points constituting the fourth signal. The industrial control computer calculates the fifth signal and the sixth signal respectively to obtain the third mean and the fourth mean, and calculates the second difference between the third mean and the fourth mean. The third mean is the mean of the amplitudes of the electrical signals corresponding to the multiple points constituting the fifth signal, and the fourth mean is the mean of the amplitudes of the electrical signals corresponding to the multiple points constituting the sixth signal. The industrial control computer determines the difference between the first difference and the second difference as the step fluctuation factor.

[0090] The following describes how the industrial control computer detects whether a target weld has a welding interval defect based on the first electrical signal.

[0091] The industrial control computer obtains a reference lower edge line, and based on the reference lower edge line, obtains at least one signal segment with an amplitude lower than the reference lower edge line from the first electrical signal. The industrial control computer determines the duration of each signal segment in the at least one signal segment. If there is a signal segment with a duration exceeding a preset duration in the at least one signal segment, it is determined that a splicing interval weld exists in the target weld.

[0092] Furthermore, the industrial control computer determines the position information of the welding interval defect in the target weld based on the position information of the signal segment whose duration exceeds the preset duration in the first electrical signal, and the industrial control computer controls the laser head to process the portion of the target weld where the welding interval defect exists based on the position information of the welding interval defect in the target weld to eliminate the welding interval defect on the target weld.

[0093] like Figure 5 As shown, the signal segments whose voltage amplitude is lower than the reference lower edge line in the first electrical signal include signal segment 1, signal segment 2 and signal segment 3. If the length (i.e., time length) of signal segment 3 exceeds the preset time length, the industrial control computer determines that the target weld has a welding interval defect.

[0094] The industrial control computer obtains multiple normal signals, which are electrical signals corresponding to optical signals generated by welds without splicing interval defects; the industrial control computer aligns the multiple normal signals, and determines multiple signal groups from the multiple normal signals based on a sliding window; each signal group includes multiple signal segments obtained by intercepting the multiple normal signals once through the sliding window; the industrial control computer obtains the maximum amplitude value from each signal group in the multiple signal groups to obtain multiple amplitude maximum values; the industrial control computer obtains a maximum value curve based on the multiple amplitude maximum values; the industrial control computer performs mean filtering on the maximum value curve to obtain a first reference center line; the industrial control computer obtains a reference lower edge line based on the first reference center line and a preset offset value, the amplitude points in the reference lower edge line correspond to the amplitude points in the first reference center line, and the amplitudes of the amplitude points in the reference lower edge line are the differences between the amplitudes of the corresponding amplitude points in the reference center line and the preset offset value.

[0095] Specifically, the industrial control computer obtains the electrical signal corresponding to the optical signal radiated by the weld without welding interval defects in the historical welding process, and the electrical signal can be called a normal electrical signal; the industrial control computer obtains multiple normal electrical signals. The industrial control computer aligns the multiple normal electrical signals, and intercepts multiple signal segments from the multiple normal electrical signals through a sliding window. The multiple signal segments come from the multiple normal electrical signals respectively, and the duration of the multiple signal segments is the same. The multiple signal segments can constitute a signal group. The industrial control computer can obtain multiple signal groups in the above manner by moving the sliding window. It should be understood that the electrical signal corresponding to the optical signal radiated by the weld is collected by the sensor at a certain frequency, and the electrical signal corresponding to the optical signal radiated by the weld is composed of multiple amplitude points. Therefore, the signal segment intercepted by the sliding window is also composed of amplitude points. The industrial control computer obtains the amplitude corresponding to the amplitude points included in the multiple signal segments in each signal group, and the industrial control computer obtains the maximum value among the amplitudes corresponding to the amplitude points included in the multiple signal segments in each signal group. For multiple signal groups, the industrial control computer can obtain multiple maximum values ​​in this way. The industrial computer obtains a maximum value curve based on multiple maximum values ​​and corresponding acquisition times, which can be obtained through a fitting algorithm. The industrial computer performs mean filtering on the maximum value curve to obtain a first reference center line; the industrial computer shifts the first reference line downward to obtain a reference lower edge line, and the shift amount is a preset shift value.

[0096] The following introduces how the industrial computer detects whether a target weld has a cold weld defect based on the second electrical signal.

[0097] The industrial control computer obtains the upper limit value of the target light signal according to the curve of the second electrical signal and the reference upper edge line of the target light signal; the industrial control computer determines whether the target weld has a cold weld defect according to the upper limit value of the target light signal; wherein, if the curve amplitude of the second electrical signal is higher than the reference upper edge line amplitude of the infrared light signal, and the upper limit value of the target light signal is higher than the upper limit threshold, the industrial control computer determines that the target weld has a cold weld defect.

[0098] In combination with the first aspect, in a possible implementation, the curve of the second electrical signal includes a plurality of first points, the reference upper edge line includes a plurality of third points, the plurality of first points correspond to the plurality of third points in time, and the industrial control computer obtains an upper limit value of the target optical signal according to the curve of the second electrical signal and the reference upper edge line of the target optical signal, including:

[0099] The industrial control computer calculates the difference between the amplitude represented by each of the multiple first points and the amplitude represented by the third point corresponding to the first point in time to obtain multiple differences; the industrial control computer determines the maximum value of the multiple differences as the upper limit value of the target light signal.

[0100] In combination with the first aspect, in a possible implementation, the second reference center line of the target light signal includes a plurality of second points, the reference upper edge line includes a plurality of third points, the plurality of second points correspond to the plurality of third points in time, and the method of this embodiment further includes:

[0101] The industrial control computer calculates the difference between the amplitude represented by each of the plurality of third points and the amplitude represented by the second point corresponding to the third point in time to obtain a plurality of differences; the industrial control computer determines the maximum value among the plurality of differences as the upper limit threshold.

[0102] The target optical signal is an infrared optical signal or other types of optical signals.

[0103] After a complete weld is formed, the energy of infrared light generated by a weld with a cold weld defect is higher than that of infrared light generated by a weld without a cold weld defect. Accordingly, the upper limit value of the infrared light signal generated by a weld with a cold weld defect is higher than that of the infrared light signal generated by a weld without a cold weld defect. Therefore, after a complete target weld is formed, the upper limit value of the infrared light signal generated by the target weld is compared with the upper limit threshold to determine whether the energy of infrared light generated by the weld is higher than that of infrared light generated by a weld without a cold weld defect, thereby determining whether the target weld has a cold weld defect.

[0104] In a possible implementation, the method of this embodiment further includes:

[0105] The industrial control computer displays an image of a target weld and a plurality of processed electrical signals; when it is determined based on each processed electrical signal that the target weld has a weld defect corresponding to each processed electrical signal, the industrial control computer displays an identification of a signal segment corresponding to the weld defect on each processed electrical signal and displays an identification indicating the presence of a weld defect on the image of the target weld.

[0106] like Figure 6 As shown, the industrial control computer indicates the location of the target weld where the explosive point defect exists through a box on the image of the target weld, and indicates the signal segment corresponding to the explosive point defect through a box on the first point signal.

[0107] In this way, the processing personnel can know whether the weld on the workpiece has defects; if there is a defect, an identifier of the signal segment corresponding to the weld defect is displayed on the electrical signal, and an identifier indicating the existence of the weld defect is displayed on the image of the weld, so that the processing personnel can know the location information of the defective part of the weld.

[0108] In a possible implementation, the method of this embodiment further includes:

[0109] When it is determined that there are defects on the target weld, the position information of the defects on the target weld is determined, and based on the position information of the defects on the target weld, the laser head is controlled to process the defective part of the target weld. In this way, the defects on the target weld can be eliminated, thereby ensuring the quality of the workpiece.

[0110] It can be seen that in the scheme of the present application, the electrical signal collected once is processed by multiple preprocessing methods to obtain multiple processed signals, and the multiple processed signals can be used for different defect detection, realizing the detection of multiple defects realized by the electrical signal collected once. By performing discrete wavelet decomposition on the defect signal to obtain multiple detail components, and then reconstructing the signal based on the defect of the multiple detail components, compared with the characteristics of the defect signal, the characteristics of the defect reconstruction signal are more obvious, so the detection of the target weld point based on the defect reconstruction signal is beneficial to improve the accuracy of the detection result of the explosion point. The peak signal in the defect reconstruction signal is amplified by the step amplification factor and the fluctuation amplification factor to obtain the target detection signal, so that the peak signal in the defect reconstruction signal becomes more obvious, and then the detection of the explosion point based on the target detection signal is beneficial to further improve the accuracy of the detection result of the explosion point. By determining whether there is a signal segment with a duration exceeding the preset duration in the signal segment with an amplitude lower than the reference lower edge in the first electrical signal, it is judged whether the target weld has a welding interval defect. This method can detect the existence of a welding interval defect in the target weld on the workpiece, thereby avoiding the flow of the workpiece into the next process and the outflow of defective products. By comparing the upper limit value of the infrared light signal generated by the target weld with the upper limit threshold, it is determined whether the energy of the infrared light generated by the weld is higher than the energy of the infrared light generated by the weld without a cold weld defect, thereby determining whether the target weld has a cold weld defect, and the judgment result obtained by this judgment method is highly accurate.

[0111] See also Figure 7 , Figure 7 This is a schematic diagram of the structure of an industrial control computer provided in an embodiment of the present application. Figure 7 As shown, the industrial computer 700 includes:

[0112] An acquisition unit 701 is used to acquire an electrical signal corresponding to a target light signal radiated by a target weld during laser welding;

[0113] A processing unit 702 is used to process the electrical signal corresponding to the target optical signal using a plurality of preprocessing methods to obtain a plurality of processed electrical signals, wherein the plurality of processed electrical signals correspond to a plurality of weld defects;

[0114] A determination unit 703 is used to determine whether a target weld has a weld defect corresponding to each processed electrical signal based on each processed electrical signal among the multiple processed electrical signals;

[0115] The display unit 704 is used to display an image of the target weld and multiple processed electrical signals; when it is determined based on each processed electrical signal that the target weld has a weld defect corresponding to each processed electrical signal, an identifier of a signal segment corresponding to the weld defect is displayed on each processed electrical signal, and an identifier indicating the presence of a weld defect in the target weld is displayed on the image of the target weld.

[0116] In a possible implementation, in the aspect of using multiple preprocessing methods to process the electrical signal corresponding to the target optical signal to obtain multiple processed electrical signals, the processing unit 702 is used to:

[0117] A defect signal is determined from the electrical signal corresponding to the target optical signal; the defect signal is reconstructed to obtain a defect reconstruction signal, and the multiple processed electrical signals include the defect reconstruction signal.

[0118] In a possible implementation, in the aspect of reconstructing the defect signal to obtain the defect reconstructed signal, the processing unit 702 is configured to:

[0119] The defect signal is decomposed N times to obtain N detail components; N is an integer greater than 2; at least one defect signal includes the defect signal; M detail components are selected from the N detail components, and M is a positive integer less than N; wherein the M detail components include all detail components obtained in the process of performing signal decomposition based on the first approximate component to obtain the second approximate component; the first approximate component is a noise smoothed signal, and the second approximate component is a defect smoothed signal; the M detail components are accumulated to obtain a defect reconstruction signal.

[0120] In one possible implementation, in determining whether a target weld has a weld defect corresponding to each processed electrical signal based on each processed electrical signal among a plurality of processed electrical signals, the determining unit 703 is used to:

[0121] The defect reconstruction signal is point-multiplied with the fluctuation amplification factor and the step amplification factor to obtain a target detection signal; if the maximum value in the target detection signal is greater than the first threshold, or the absolute value of the minimum value in the target detection signal is greater than the second threshold, it is determined that there is a hot spot defect in the target weld; wherein the weld defects corresponding to the processed electrical signal include hot spot defects.

[0122] In a possible implementation, the determination unit 703 is further used to extract the first signal from the first approximate component based on the first sliding window; extract the second signal from the second approximate component based on the second sliding window; calculate the first signal and the second signal respectively to obtain the first standard deviation and the second standard deviation, and the difference between the first standard deviation and the second standard deviation is the fluctuation amplification factor; divide the first signal into a third signal and a fourth signal on average, calculate the third signal and the fourth signal respectively to obtain the first mean and the second mean, and calculate the first difference between the first mean and the second mean; divide the second signal into a fifth signal and a sixth signal on average, calculate the fifth signal and the sixth signal respectively to obtain the third mean and the fourth mean, and calculate the first difference between the third mean and the fourth mean; the difference between the first difference and the second difference is the step amplification factor.

[0123] In a possible implementation, in determining the defect signal from the signal corresponding to the target optical signal, the processing unit 702 is configured to:

[0124] An image of a target weld is obtained; an industrial control computer determines the position information of a suspected explosion point on the target weld from the image of the target weld; based on the position information of the suspected explosion point, the industrial control computer obtains a defect signal from an electrical signal corresponding to a target optical signal, wherein the defect signal includes an electrical signal corresponding to an optical signal radiated by the suspected explosion point.

[0125] In a possible implementation, the multiple preprocessing methods include high-pass filtering, the multiple processed electrical signals include a first electrical signal obtained by performing high-pass filtering on the electrical signal corresponding to the target light signal, and the weld defect corresponding to the first electrical signal is a tailored welding interval defect; in terms of determining whether the target weld has a weld defect corresponding to each processed electrical signal based on each processed electrical signal in the multiple processed electrical signals, the determining unit 703 is used to:

[0126] Based on the reference lower edge signal, at least one signal segment with an amplitude lower than the reference lower edge is determined from the first electrical signal; if there is a corresponding signal segment with a duration exceeding a preset duration in at least one signal segment, it is determined that the target weld has a welding interval defect.

[0127] In a possible implementation, the acquisition unit 701 is further used to acquire a plurality of normal signals, where the normal signals are electrical signals corresponding to optical signals generated by welds without splicing interval defects;

[0128] The determining unit 703 is further configured to align the multiple normal signals and determine multiple signal groups from the multiple normal signals based on the sliding window; each signal group includes multiple signal segments obtained by intercepting the multiple normal signals once through the sliding window;

[0129] The acquisition unit 701 is further used to acquire the maximum amplitude value from each signal group in the multiple signal groups to obtain multiple maximum amplitude values; and obtain a maximum value curve based on the multiple maximum amplitude values;

[0130] The processing unit 702 is also used to perform mean filtering on the maximum value curve to obtain a first baseline; based on the first baseline and the preset offset value, a baseline lower line is obtained, the amplitude points in the baseline lower line correspond to the amplitude points in the first baseline, and the amplitude of the amplitude point in the baseline lower line is the difference between the amplitude of the corresponding amplitude point in the baseline and the preset offset value.

[0131] In a possible implementation, the multiple preprocessing methods include low-pass filtering, the multiple processed electrical signals include a second electrical signal obtained by performing low-pass filtering on the electrical signal corresponding to the target light signal, and the weld defect corresponding to the second electrical signal is a cold weld defect; in terms of determining whether the target weld has a weld defect corresponding to each processed electrical signal based on each processed electrical signal in the multiple processed electrical signals, the determination unit 703 is used to:

[0132] An upper limit value of the target light signal is obtained according to a curve of the second electrical signal and a reference upper edge line of the target light signal; and whether a target weld has a cold weld defect is determined according to the upper limit value of the target light signal; wherein, if the curve amplitude of the second electrical signal is higher than the reference upper edge line amplitude of the target light signal, and the upper limit value of the target light signal is higher than the upper limit threshold, it is determined that a cold weld defect exists in the target weld.

[0133] In combination with the first aspect, in a possible implementation manner, the curve of the second electrical signal includes a plurality of first points, the reference upper edge line includes a plurality of third points, the plurality of first points correspond to the plurality of third points in time, and in terms of obtaining an upper limit value of the target optical signal according to the curve of the second electrical signal and the reference upper edge line of the target optical signal, the determining unit 703 is used to:

[0134] The industrial control computer calculates the difference between the amplitude represented by each of the multiple first points and the amplitude represented by the third point corresponding to the first point in time to obtain multiple differences; the industrial control computer determines the maximum value of the multiple differences as the upper limit value of the target light signal.

[0135] In combination with the first aspect, in a possible implementation, the second reference center line of the target light signal includes a plurality of second points, the reference upper edge line includes a plurality of third points, and the plurality of second points correspond to the plurality of third points in time; the determining unit 703 is further configured to:

[0136] The difference between the amplitude represented by each of the plurality of third points and the amplitude represented by the second point corresponding to the third point in time is calculated to obtain a plurality of difference values; and the maximum value among the plurality of difference values ​​is determined as the upper limit threshold.

[0137] It should be noted that the above-mentioned units (acquisition unit 701, processing unit 702, determination unit 703 and display unit 704) are used to execute the relevant steps of the above-mentioned method. For example, acquisition unit 701 is used to execute the relevant content of S201, processing unit 702 is used to execute the relevant content of S202, and determination unit 703 and display unit 704 are used to execute the relevant content of S203. Each unit or module in the industrial computer 700 can be separately or completely combined into one or several other units or modules to constitute, or one (some) of the units or modules can also be divided into multiple units or modules with smaller functions to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above-mentioned units or modules are divided based on logical functions. In practical applications, the functions of one unit (or module) can also be implemented by multiple units (or modules), or the functions of multiple units (or modules) can be implemented by one unit (or module).

[0138] Based on the description of the above method embodiment and device embodiment, please refer to Figure 8 , an embodiment of the present invention also provides a structural schematic diagram of another industrial control computer 800. Figure 8 The industrial computer 800 shown (the industrial computer 800 may be a computer device) includes a memory 801, a processor 802, a communication interface 803 and a bus 804. The memory 801, the processor 802 and the communication interface 803 are connected to each other through the bus 804.

[0139] The memory 801 may be a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM).

[0140] The memory 801 can store programs. When the program stored in the memory 801 is executed by the processor 802, the processor 802 and the communication interface 803 are used to execute the various steps of the laser welding defect detection method of the embodiment of the present application.

[0141] The processor 802 can adopt a general central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits to execute relevant programs to implement the functions required to be performed by the units in the industrial control computer 800 of the embodiment of the present application, or to execute the laser welding defect detection method of the method embodiment of the present application.

[0142] The processor 802 may also be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the laser welding defect detection method of the present application may be completed by an integrated logic circuit of hardware or software instructions in the processor 802. The above-mentioned processor 802 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 801, and the processor 802 reads the information in the memory 801, and combines its hardware to complete the functions required to be performed by the units included in the industrial control computer 700 of the embodiment of the present application, or executes the laser welding defect detection method of the method embodiment of the present application.

[0143] The communication interface 803 uses a transceiver such as, but not limited to, a transceiver to implement communication between the industrial computer 800 and other devices or a communication network. For example, data can be obtained through the communication interface 803 .

[0144] The bus 804 may include a path for transmitting information between various components of the industrial computer 800 (eg, the memory 801 , the processor 802 , and the communication interface 803 ).

[0145] It should be noted that although Figure 8The industrial computer 800 shown only shows a memory, a processor, and a communication interface. However, in the specific implementation process, those skilled in the art should understand that the industrial computer 800 also includes other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the industrial computer 800 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the industrial computer 800 may also include only the devices necessary for implementing the embodiments of the present application, and does not necessarily include Figure 6 All devices shown in .

[0146] An embodiment of the present application also provides a chip, which includes a processor and a data interface. The processor reads instructions stored in a memory through the data interface to implement the laser welding defect detection method.

[0147] Optionally, as an implementation method, the chip may further include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the laser welding defect detection method.

[0148] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.

[0149] The embodiment of the present application further provides a computer program product including instructions. When the computer program product is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.

[0150] Those skilled in the art will appreciate that the functions described in conjunction with the various illustrative logic blocks, modules, and algorithm steps disclosed herein can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions described in the various illustrative logic blocks, modules, and steps can be stored or transmitted as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which corresponds to tangible media, such as data storage media, or includes any media (e.g., based on a communication protocol) that facilitates the transfer of a computer program from one place to another. In this manner, computer-readable media may generally correspond to (1) non-temporary tangible computer-readable storage media, or (2) communication media, such as signals or carrier waves. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in this application. A computer program product may include computer-readable media.

[0151] As an example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage, flash memory, or any other medium that can be used to store the desired program code in the form of instructions or data structures and can be accessed by a computer. Also, any connection is properly referred to as a computer-readable medium. For example, if instructions are transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio and microwave are included in the definition of media. However, it should be understood that the computer-readable storage media and data storage media do not include connections, carrier waves, signals or other temporary media, but are actually directed to non-temporary tangible storage media. As used herein, disks and optical disks include compact disks (CDs), laser optical disks, optical optical disks, digital versatile disks (DVDs), and Blu-ray disks, where disks typically reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0152] Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Thus, the term "processor" as used herein may refer to any of the aforementioned structures or any other structures suitable for implementing the techniques described herein. Additionally, in some aspects, the functions described by the various illustrative logic blocks, modules, and steps described herein may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated in a combined codec. Moreover, the techniques may be fully implemented in one or more circuits or logic elements.

[0153] The techniques of the present application may be implemented in a variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chipset). Various components, modules, or units are described in this application to emphasize functional aspects of devices for performing the disclosed techniques, but do not necessarily need to be implemented by different hardware units. In fact, as described above, the various units may be combined in an encoded hardware unit in conjunction with appropriate software and / or firmware, or provided by interoperating hardware units (including one or more processors as described above).

[0154] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the specific descriptions of the corresponding steps in the aforementioned method embodiments, and will not be repeated here.

[0155] It should be understood that in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; wherein A and B can be singular or plural. Also, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, wherein a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that the words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be necessarily different. Meanwhile, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.

[0156] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the division of the unit is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The mutual coupling, direct coupling, or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0157] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0158] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrations. The available medium may be a read-only memory (ROM), or a random access memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a tape, a disk, or an optical medium, such as a digital versatile disc (DVD), or a semiconductor medium, such as a solid state disk (SSD), etc.

[0159] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.

[0160] The device embodiments described above are merely illustrative, wherein the units and modules described as separate components may or may not be physically separated. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art may understand and implement the present invention without creative effort.

[0161] The above is only a specific implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A laser welding defect detection method, characterized in that: The method comprises: Acquire an electrical signal corresponding to a target light signal radiated by a target weld during laser welding; Using a plurality of preprocessing methods to process the electrical signal corresponding to the target optical signal to obtain a plurality of processed electrical signals, wherein the plurality of processed electrical signals correspond to a plurality of weld defects; Based on each of the multiple processed electrical signals, it is determined whether the target weld has a weld defect corresponding to each processed electrical signal.

2. The method according to claim 1, characterized in that: The adopting multiple preprocessing methods to process the electrical signal corresponding to the target optical signal to obtain multiple processed electrical signals includes: Determining a defect signal from an electrical signal corresponding to the target optical signal; The defect signal is reconstructed to obtain a defect reconstruction signal, and the multiple processed electrical signals include the defect reconstruction signal.

3. The method according to claim 2, characterized in that The reconstructing the defect signal to obtain a defect reconstructed signal includes: Decomposing the defect signal N times to obtain N detail components, wherein N is an integer greater than 2; Selecting M detail components from the N detail components, where M is a positive integer less than N; wherein the M detail components include all detail components obtained in the process of obtaining the second approximate component by performing signal decomposition based on the first approximate component; the first approximate component is a noise smoothing signal, and the second approximate component is a defect smoothing signal; The M detail components are accumulated to obtain a defect reconstruction signal.

4. The method according to claim 3, characterized in that The step of determining whether the target weld has a weld defect corresponding to each processed electrical signal based on each processed electrical signal among the plurality of processed electrical signals comprises: Performing a dot multiplication of the defect reconstruction signal with the fluctuation amplification factor and the step amplification factor to obtain a target detection signal; If the maximum value in the target detection signal is greater than a first threshold value, or the absolute value of the minimum value in the target detection signal is greater than a second threshold value, it is determined that there is a burst defect in the target weld; Wherein, the weld defects include explosion point defects.

5. The method according to claim 4, characterized in that The method further comprises: Extracting a first signal from the first approximate component based on a first sliding window; extracting a second signal from the second approximate component based on a second sliding window; Calculating the first signal and the second signal respectively to obtain a first standard deviation and a second standard deviation, wherein the difference between the first standard deviation and the second standard deviation is the fluctuation amplification factor; The first signal is evenly divided into a third signal and a fourth signal, the third signal and the fourth signal are calculated respectively to obtain a first mean value and a second mean value, and a first difference value between the first mean value and the second mean value is calculated; The second signal is evenly divided into a fifth signal and a sixth signal, the fifth signal and the sixth signal are respectively calculated to obtain a third mean value and a fourth mean value, and a first difference value between the third mean value and the fourth mean value is calculated; The difference between the first difference and the second difference is the step amplification factor.

6. The method according to any one of claims 2 to 5, characterized in that: The step of determining a defect signal from the first electrical signal comprises: Acquire an image of the target weld; Determining position information of suspected explosion points on the target weld from the image of the target weld; The defect signal is obtained from the first electrical signal based on the position information of the suspected explosion point, and the defect signal includes an electrical signal corresponding to the optical signal radiated by the suspected explosion point.

7. The method according to claim 1, characterized in that The multiple preprocessing methods include high-pass filtering, the multiple processed electrical signals include a first electrical signal obtained by high-pass filtering the electrical signal corresponding to the target light signal, and the weld defect corresponding to the first electrical signal is a tailor-made welding interval defect; The step of determining whether the target weld has a weld defect corresponding to each processed electrical signal based on each processed electrical signal among the plurality of processed electrical signals comprises: Determine at least one signal segment having an amplitude lower than a reference lower edge line from the first electrical signal based on the reference lower edge line signal; If there is a signal segment whose corresponding duration exceeds a preset duration in the at least one signal segment, it is determined that the target weld has the welding interval defect.

8. The method according to claim 7, characterized in that The method further comprises: Acquire a plurality of normal signals, where the normal signals are electrical signals corresponding to optical signals generated by welds without splicing interval defects; Aligning the multiple normal signals, and determining multiple signal groups from the multiple normal signals based on a sliding window; each signal group includes multiple signal segments obtained by intercepting the multiple normal signals once through the sliding window; Obtaining an amplitude maximum value from each of the plurality of signal groups to obtain a plurality of amplitude maximum values; obtaining a maximum value curve based on the plurality of amplitude maximum values; Performing mean filtering on the maximum value curve to obtain a first reference center line; The reference lower line is obtained based on the first reference center line and the preset offset value, the amplitude points in the reference lower line correspond to the amplitude points in the first reference center line, and the amplitudes of the amplitude points in the reference lower line are the difference between the amplitudes of the corresponding amplitude points in the first reference center line and the preset offset value.

9. The method according to claim 1, characterized in that: The multiple preprocessing methods include low-pass filtering, the multiple processed electrical signals include a second electrical signal obtained by performing low-pass filtering on the electrical signal corresponding to the target light signal, and the weld defect corresponding to the second electrical signal is a cold weld defect; and determining whether the target weld has a weld defect corresponding to each processed electrical signal based on each processed electrical signal among the multiple processed electrical signals includes: Obtaining an upper limit value of the target light signal according to a curve of the second electrical signal and a reference upper edge line of the target light signal; Determine whether the target weld has a cold weld defect based on the upper limit value of the target light signal; wherein, if the curve amplitude of the second electrical signal is higher than the reference upper edge amplitude of the library table light signal, and the upper limit value of the target light signal is higher than the upper limit threshold, then it is determined that the target weld has the cold weld defect.

10. The method according to claim 9, characterized in that The curve of the second electrical signal includes a plurality of first points, the reference upper edge line includes a plurality of third points, the plurality of first points correspond to the plurality of third points in time, and obtaining the upper limit value of the target optical signal according to the curve of the second electrical signal and the reference upper edge line of the target optical signal includes: Calculating the difference between the amplitude represented by each of the plurality of first points and the amplitude represented by a third point corresponding to the first point in time, to obtain a plurality of difference values; A maximum value among the plurality of difference values ​​is determined as an upper limit value of the target optical signal.

11. The method according to claim 9 or 10, characterized in that: The second reference center line of the target light signal includes a plurality of second points, the reference upper edge line includes a plurality of third points, the plurality of second points correspond to the plurality of third points in time, and the method further includes: Calculating the difference between the amplitude represented by each of the plurality of third points and the amplitude represented by the second point corresponding to the third point in time, so as to obtain a plurality of difference values; A maximum value among the plurality of difference values ​​is determined as the upper limit threshold.

12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: Displaying the image of the target weld and the plurality of processed electrical signals; When it is determined based on each processed electrical signal that the target weld has a weld defect corresponding to each processed electrical signal, an identifier indicating a signal segment corresponding to the weld defect is displayed on each processed electrical signal, and an identifier indicating the presence of the weld defect in the target weld is displayed on the image of the target weld.

13. An industrial computer, characterized in that: include: An acquisition unit, used to acquire an electrical signal corresponding to a target light signal radiated by a target weld during laser welding; A processing unit, configured to process the electrical signal corresponding to the target optical signal using a plurality of preprocessing methods to obtain a plurality of processed electrical signals, wherein the plurality of processed electrical signals correspond to a plurality of weld defects; a determination unit, configured to determine, based on each of the plurality of processed electrical signals, whether the target weld has a weld defect corresponding to each of the processed electrical signals; A display unit is used to display the image of the target weld and the multiple processed electrical signals; when it is determined based on each processed electrical signal that the target weld has a weld defect corresponding to each processed electrical signal, an identifier indicating a signal segment corresponding to the weld defect is displayed on each processed electrical signal and an identifier indicating the presence of the weld defect in the target weld is displayed on the image of the target weld.

14. An industrial computer, characterized in that: It comprises a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the industrial computer executes the method as described in any one of claims 1-12.

15. A laser welding control system, comprising: A laser welding system, a multi-optical sensor module, a signal processing module and an industrial computer, wherein the industrial computer is used to execute the method as described in any one of claims 1-12.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 12.

17. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Laser processing quality monitoring system for multi-path optical signal detection

    CN111175303A

  • Stainless steel weld joint ultrasonic defect detection method based on deep and shallow feature fusion

    CN112232400A

  • Method for monitoring laser welding process and related laser welding system

    CN117729983A

  • Defect inspection method and its device

    JP2004198436A

  • Ultrasonic flaw detecting method and device

    JP2005106782A

Cited By

  • Laser processing quality detection method and related equipment

    CN121577629A