Real-time pseudo soldering detection method and system for power battery tab laser welding

By combining multi-band photoelectric sensing technology and machine learning models, real-time and accurate detection of incomplete welding defects in the laser welding process of power battery tabs has been achieved, solving the problems of time-consuming, labor-intensive and misjudgment-prone traditional methods, and improving detection efficiency and accuracy.

CN118951470APending Publication Date: 2024-11-15TAIER WISDOM (SHANGHAI) LASER TECH CO LTD +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411365382.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Existing technologies cannot achieve real-time and accurate detection of incomplete welding defects in the laser welding process of power battery tabs. Traditional methods are time-consuming and labor-intensive and prone to misjudgment or omission. Existing photoelectric sensing technology cannot directly identify incomplete welding defects.

Method used

Multi-band photoelectric sensing technology is used to acquire optical radiation information, construct a sample dataset of weld defects, and use a data-driven model of wavelet scattering network and long short-term memory network to quickly and accurately predict weld defects, achieving real-time detection without human intervention.

Benefits of technology

It achieves real-time detection of incomplete weld defects in the laser welding process of power battery tabs with an accuracy of 99%, and the average processing time for a single sample is only 0.15ms, which reduces costs and computing resource requirements, and improves production efficiency and product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118951470A_ABST
    Figure CN118951470A_ABST
Patent Text Reader

Abstract

The invention discloses a real-time pseudo soldering detection method for power battery tab laser welding, which comprises the following steps of: respectively dividing a plurality of wave band complete photoelectric signals which are acquired in real time in the laser welding process under different laser energies and are acquired in advance into a plurality of sub photoelectric signals; distinguishing the sub photoelectric signals according to the condition that whether the welding seam has pseudo soldering or not, marking the sub photoelectric signals with or without pseudo soldering labels, constructing a pseudo soldering defect sample data set based on marked photoelectric signal data, and randomly dividing the data set into a training set, a verification set and a test set according to a set proportion; constructing a wavelet scattering network, extracting feature data from the training set sample data by using the wavelet scattering network, and realizing data dimension reduction; constructing a long short-term memory network and training by using the feature data extracted by the wavelet scattering network to obtain a trained long short-term memory network; and predicting the test set sample data by using the trained long-short-term memory network and outputting a prediction result. According to the method, the pseudo soldering defect can be quickly and accurately predicted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of laser welding, and in particular to a real-time detection method and system for cold welds in laser welding of a power battery tab. Background Art

[0002] In new energy batteries, the tabs serve as the external connection terminals of the battery, responsible for leading out the current collected by the current collector and connecting it to the external circuit. Laser welding technology has been widely used in the field of new energy due to its advantages of high precision, high speed, small heat-affected zone and strong flexibility, and is especially suitable for welding thin materials. However, laser welding of multi-layer tabs is a challenging process that requires finding a balance between minimizing laser energy input and preventing cold welds. Cold weld defects in the tab welds will seriously affect the internal resistance, capacity, heat generation, cycle life and safety of the battery, thereby reducing battery performance and increasing safety risks.

[0003] Real-time monitoring of the laser welding process is essential for adjusting welding parameters and ensuring welding quality and consistency. Currently, cold weld detection still relies on traditional offline methods such as tensile testing, metallographic analysis, and industrial CT. These methods are often destructive and require expensive and complex equipment. They cannot achieve instant diagnosis of weld cold welds and have obvious limitations. Studies have shown that the optical radiation signal in the laser welding process can reflect key parameters such as plasma state, laser absorption efficiency, and molten pool temperature, and is closely related to welding quality. Therefore, the use of multi-band photoelectric sensing technology to capture and analyze these optical radiation signals can be used as a key way to achieve real-time detection of cold weld defects.

[0004] At present, photoelectric sensing technology can collect light radiation signals in the laser welding process in real time and in multiple bands by relying on high sampling frequency and sensitive photodiodes and adapted optical elements. This technology is not only cost-effective, but also flexible to adapt to various welding scenarios. However, the signal measured by the existing technology only indicates the change in light radiation intensity, and cannot directly identify the defect of cold solder joints, which has limitations in the optimization and quality control of welding process parameters. For the judgment of cold solder joint defects, the signal threshold is still mainly determined by a large number of process tests or the cold solder joint defects are judged subjectively by humans, which is not only time-consuming and labor-intensive, but also easy to cause the problem of misjudgment or omission of cold solder joint defects. At the same time, there is no record in the existing technology of associating multi-band photoelectric signals with cold solder joint defects to achieve rapid quantitative detection of cold solder joints. Summary of the invention

[0005] In view of the technical problems existing in the background technology, the present invention provides a real-time detection method and system for cold welds in laser welding of power battery tabs, which constructs a sample data set of cold weld defects by using multi-band light radiation information obtained by high-sensitivity photoelectric sensing technology, and constructs a data-driven model based on supporting wavelet scattering network (WSN) and long short-term memory (LSTM) network, so as to achieve fast and accurate prediction of cold weld defects without human intervention.

[0006] According to one aspect of the present application, the present invention provides a real-time detection method for cold welds in laser welding of power battery tabs, comprising: dividing the complete photoelectric signals of multiple bands collected in real time during the laser welding process of power battery tabs under different laser energies acquired in advance into multiple sub-photoelectric signals, distinguishing each of the sub-photoelectric signals according to whether the weld has a cold weld and marking it with a cold weld or no cold weld label, constructing a cold weld defect sample data set based on the marked photoelectric signal data, and randomly dividing the cold weld defect sample data set into a training set, a validation set and a test set according to a set ratio; constructing a wavelet scattering network and using the wavelet scattering network to extract feature data from the training set sample data and realize data dimensionality reduction; constructing a long short-term memory network and using the feature data extracted by the wavelet scattering network for training to obtain a trained long short-term memory network; using the trained long short-term memory network to predict the test set sample data and output the prediction result.

[0007] Furthermore, the multiple bands of complete optoelectronic signals at least include visible light signals with a wavelength of 300-700nm, laser reflection signals with a wavelength of 1064nm, and near-infrared light signals with a wavelength of 1100-1800nm.

[0008] Furthermore, the cold soldering defect sample data set is randomly divided into a training set, a validation set and a test set in a ratio of 6:2:2.

[0009] Furthermore, the method of extracting feature data from the training set sample data using a wavelet scattering network includes: extracting multi-scale feature vectors from the training set sample data; performing wavelet transform through a wavelet filter to decompose the input data at different scales; performing a modulo operation on the wavelet coefficients of each scale, that is, calculating the absolute value of the coefficient to obtain a nonlinear result; performing average pooling processing on the nonlinear result to reduce the dimension of the feature; generating scattering coefficients through multi-layer wavelet transforms and multiple nonlinear operations, and performing average pooling processing on the obtained scattering coefficients; and combining the scattering coefficients of all layers to construct a corresponding feature vector.

[0010] Furthermore, when the wavelet transform is performed by the wavelet filter to decompose the input data at different scales, the calculation formula for performing the wavelet transform on the input signal x(t) is as follows:

[0011] W j,k (x)=∫x(t)ψ j,k (t)dt

[0012] Among them, W j,k (x) is the wavelet coefficient, ψ j,k (t) is the wavelet basis function, j and k represent the scale and translation parameters respectively;

[0013] The wavelet coefficients of each scale are modulo-operated to obtain a nonlinear result, and the calculation formula is as follows:

[0014] U 1 =|W j,k (x)|

[0015] The nonlinear result is subjected to average pooling processing to reduce the dimension of the feature. The formula is as follows:

[0016] S 1 =U 1 *φ

[0017] Among them, φ is a low-pass filter, * represents the convolution operation;

[0018] When the scattering coefficient is generated by multi-layer wavelet transform and multiple nonlinear operations, and the obtained scattering coefficient is averaged and pooled, it is assumed that the mth layer is the level to be set, and the output of the mth layer can be expressed as:

[0019]

[0020] Furthermore, when constructing the long short-term memory network and using the feature data extracted by the wavelet scattering network for training, the feature data extracted by the wavelet scattering network and the dynamic time series processing capability of the long short-term memory network are combined to achieve more sophisticated feature learning and time dynamic modeling. The long short-term memory network controls the flow and update of information through the forget gate, input gate, candidate memory unit and output gate. The specific operations are as follows:

[0021] Calculation of the forget gate: Its calculation formula is:

[0022] f t =σ(W f ·[h t-1 ,x t ]+b f )

[0023] Among them, f tis the output of the forget gate; σ is the sigmoid activation function; W f is the weight matrix; [h t-1 ,x t ] is the connection between the hidden state of the previous moment and the current input; b f is the bias term;

[0024] Input gate and candidate state calculation: The input gate controls the degree of new information addition. It consists of two parts: a sigmoid layer determines the information that needs to be updated, and the other tanh layer generates new candidate memory cells. The calculation formula is:

[0025] i t =σ(W i ·[h t-1 ,x t ]+b i )

[0026]

[0027] Among them, i t is the output of the input gate; is a new candidate memory unit; W i and W c is the weight matrix; b i and b c is the bias term;

[0028] Memory unit state update: Through the action of the forget gate and the input gate, the current memory unit state is updated. The calculation formula is:

[0029]

[0030] Among them, C t is the memory unit state at the current moment; C t-1 is the state of the memory unit at the previous moment;

[0031] Output gate calculation: The calculation formula is as follows:

[0032] o t =σ(W o ·[h t-1 ,x t ]+b o )h t

[0033] h t =o t tanh(C t )

[0034] Among them, t is the output of the output gate; h tis the hidden state at the current moment; W o is the weight matrix; b o is the bias term;

[0035] Fully connected layer calculation: Add a fully connected layer after the output of the long short-term memory network and apply the Softmax activation function to implement the classification task. The calculation formula is as follows:

[0036]

[0037] Among them, x i is the input feature and e is a natural constant.

[0038] Furthermore, it also includes: using a wavelet scattering network to extract feature data from the validation set sample data and achieve data dimensionality reduction; the construction of the long short-term memory network includes initializing network parameters; using the feature data of the validation set sample data extracted by the wavelet scattering network to verify, and adjusting the network parameters according to the verification results to obtain the verified long short-term memory network.

[0039] According to another aspect of the present application, the present invention also provides a real-time detection system for cold welds in laser welding of power battery tabs, including: a data set acquisition module, used to divide the complete photoelectric signals of multiple bands collected in real time during the laser welding process of power battery tabs under different laser energies into multiple sub-photoelectric signals, distinguish each of the sub-photoelectric signals according to whether the weld has a cold weld and mark it with a cold weld or no cold weld label, construct a cold weld defect sample data set based on the marked photoelectric signal data, and randomly divide the cold weld defect sample data set into a training set, a verification set and a test set according to a set ratio; a feature extraction module, used to construct a wavelet scattering network and use the wavelet scattering network to extract feature data from the training set sample data and realize data dimensionality reduction; a model training module, used to construct a long short-term memory network and use the feature data extracted by the wavelet scattering network for training to obtain a trained long short-term memory network; a cold weld detection module, used to use the trained long short-term memory network to predict the test set sample data and output the prediction result.

[0040] According to another aspect of the present application, the present invention also provides an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the above method.

[0041] According to another aspect of the present application, the present invention further provides a readable storage medium on which computer instructions are stored, wherein the computer instructions implement the above method when executed by a processor.

[0042] Compared with the prior art, the present invention provides a method and system for real-time detection of cold welds in laser welding of power battery tabs, which has the following beneficial effects:

[0043] (1) The present invention uses multi-band photoelectric sensing technology to collect light radiation data of the laser welding process in real time, and combines machine learning methods to perform data feature analysis to accurately identify cold weld defects with an accuracy rate of 99%. The average single sample processing time is only 0.15ms. Compared with traditional detection technology, this method achieves higher-precision welding quality monitoring at a lower cost.

[0044] (2) The present invention efficiently extracts key features from the original high-dimensional optoelectronic signal data and achieves data dimensionality reduction through a wavelet scattering network, and the wavelet scattering network does not need to be trained through back propagation, which effectively reduces the model complexity and the required computing resources.

[0045] (3) The present invention can detect cold weld defects in real time during the welding process, and its lightweight model is conducive to rapid deployment on the power battery production line, realizing real-time monitoring of cold weld defects, which is crucial to improving production efficiency and ensuring product quality. Real-time monitoring can promptly discover and solve problems and avoid the production of a large number of defective products. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 is a complete flow chart of the method described in the present invention;

[0047] Figure 2 It is a schematic diagram of multi-band photoelectric signal collection and analysis in the present invention;

[0048] Figure 3 It is a schematic diagram of the correspondence between the metal pole ear weld and the multi-band photoelectric signal in the present invention;

[0049] Figure 4 It is a schematic flow chart of the method for predicting cold weld defects in laser welding in the present invention; DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments in 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. Unless otherwise defined, the technical terms or scientific terms used herein should be the usual meanings understood by people with general skills in the field to which the present disclosure belongs. What is not described in detail in the present invention is the known technology of technicians in this technical field.

[0051] As shown in the accompanying drawings, the present invention provides a real-time detection method for cold welds in laser welding of power battery tabs, which mainly includes the acquisition of multi-band photoelectric signals collected during the laser welding process, the construction of a welding defect sample data set, and lightweight model training and cold weld defect detection based on WSN and LSTM networks.

[0052] like Figure 2 As shown, when collecting multi-band photoelectric signals, the laser processing system is mainly collected through the photoelectric signal collection system. The laser processing system is mainly composed of a laser, a laser welding processing head, a protective gas device, etc. The laser welding processing head is equipped with a camera interface; the photoelectric signal collection system is mainly composed of a data acquisition card and a photoelectric sensor module, etc. The photoelectric sensor module is connected to the camera interface on the laser welding processing head to realize the real-time collection of visible light, near-infrared light and laser reflection photoelectric signals during laser welding. The photoelectric sensor module is mainly composed of a plasma signal sensor, a laser reflection signal sensor, a near-infrared light signal sensor and a variety of optical lenses. Each of the three sensors detects light of different wavelengths. The plasma signal sensor (wavelength 300-700nm) is used to obtain visible light signals with a wavelength of 300-700nm, mainly detecting the light radiation of the plasma plume; the laser reflection signal sensor (wavelength 1064nm) is used to obtain laser reflection signals with a wavelength of 1064nm and detect the intensity of laser reflection light; the near-infrared light signal sensor (wavelength 1100-1800nm) is used to obtain near-infrared light signals with a wavelength of 1100-1800nm. The signal in this band is related to the temperature of the molten pool. The data acquisition card converts the analog signal output by the photoelectric sensor module into a digital signal as the data for signal analysis, and constructs a welding defect sample data set through these data.

[0053] In view of the direct input energy of laser power and defocus, it is very easy to produce cold welding defects when the input energy is insufficient. Therefore, a series of laser welding process tests with different laser powers and defocus are required for multi-layer tabs, and the complete photoelectric signals of three bands are collected in real time during each laser welding process test to obtain analysis data. This example uses the laser welding of 1060 aluminum alloy tab material to illustrate. The thickness of the adapter that constitutes the tab is 0.2mm, the thickness of the single-layer aluminum foil is 12μm, and the sample size is 50mm×60mm. One adapter is overlapped with 32 layers of aluminum foil for welding, and the protective gas composition is 99% N 2 The flow rate is set to 25L / min to prevent weld oxidation. The specific welding process parameters are shown in Table 1. The welding trajectory adopts spiral spot welding, and the trajectory parameters are shown in Table 2.

[0054] Table 1 Tab laser welding process parameters

[0055] Process parameters Parameter Value Process parameters Parameter Value Laser power(W) 300~500 Welding speed (mm / s) 300 Defocus (mm) -4~+4 Nitrogen flow rate (L / min) 25

[0056] Table 2 Welding trajectory settings

[0057] Process parameters Parameter Value Process parameters Parameter Value Pitch(W) 0.2 Spiral start outside Maximum radius (mm) 1 Spiral direction Counterclockwise Minimum radius (mm) 0.01 Inner / outer frame circle Outer frame circle

[0058] Figure 3 (a) shows the weld image under specific process parameters and its corresponding three-band photoelectric signals. According to the appearance of the weld, the weld is divided into areas with and without a cold weld. The complete photoelectric signal of each band is divided into multiple sub-photoelectric signals, and each sub-photoelectric signal is distinguished and labeled with a cold weld or no cold weld according to whether the weld has a cold weld (no cold weld is 0, cold weld is 1). Each sub-photoelectric signal is used as the input of the model, and the cold weld situation corresponding to each sub-photoelectric signal is used as the output vector V out = [0, 1], construct a sample dataset of cold soldering defects based on the identified photoelectric signal data, and randomly divide the sample dataset of cold soldering defects into a training set, a validation set, and a test set according to a ratio of 6:2:2 (e.g. Figure 4 The training set is used for model training, the validation set is used to adjust model parameters and optimize performance during training, and the test set is used to evaluate the performance of the model.

[0059] The optical radiation signal in the welding process has complex temporal characteristics, which contain rich information about the welding process state, but also have high complexity and redundancy. In order to deeply extract the effective features in these signals and accurately map them to the welding state, thereby improving the accuracy of the prediction model, this application adopts a multi-dimensional feature extraction method based on the Wavelet Scattering Network (WSN). WSN is based on wavelet theory and has a solid theoretical foundation. Its properties such as translation invariance and deformation stability have been strictly verified mathematically, providing strong theoretical support for feature extraction. Since WSN uses pre-defined wavelet filters, there is no need to adjust them through the training process, which not only reduces the complexity of model training, but also reduces the demand for computing resources, making it able to operate efficiently even in resource-constrained environments, and is very suitable for deployment in industrial production processes.

[0060] Construct a wavelet scattering network and use the wavelet scattering network to extract feature data from the training set sample data and achieve data dimensionality reduction; use the wavelet scattering network to extract feature data from the training set sample data, including: extracting multi-scale feature vectors from the training set sample data; performing wavelet transform through a wavelet filter to decompose the input data at different scales, with larger scales capturing global information and smaller scales capturing detail information; performing a modulus operation on the wavelet coefficients of each scale, that is, calculating the absolute value of the coefficient to obtain a nonlinear result; performing average pooling on the nonlinear result to reduce the dimension of the feature; generating scattering coefficients through multi-layer wavelet transforms and multiple nonlinear operations, and performing average pooling on the obtained scattering coefficients; combining the scattering coefficients of all layers to construct the corresponding feature vector. The specific operations are as follows:

[0061] (1) First, the calculation formula for performing wavelet transform on the input signal x(t) is as follows:

[0062] W j,k (x)=∫x(t)ψ j,k (t)dt

[0063] Among them, W j,k (x) is the wavelet coefficient, ψ j,k (t) is the wavelet basis function, j and k represent the scale and translation parameters respectively;

[0064] (2) Perform nonlinear operation on the result of wavelet transform, i.e. modulus operation, to obtain the nonlinear result, which is calculated as follows:

[0065] U 1 =|W j,k (x)|

[0066] (3) The nonlinearized results are then averaged and pooled to reduce the feature dimension. The calculation is as follows:

[0067] S 1 =U 1 *φ

[0068] Among them, φ is a low-pass filter, * represents the convolution operation;

[0069] (4) Repeat the above steps to extract higher-level features layer by layer. Let layer m be the level to be reached. The output of the mth layer can be expressed as:

[0070]

[0071] WSN can obtain rich representation of optoelectronic signal features through multi-scale analysis, but lacks time series modeling capabilities. By using the output of WSN as the input of the Long Short-Term Memory (LSTM) network, the extracted static features and the dynamic time series processing capabilities of LSTM can be combined to achieve more refined feature learning and time dynamic modeling. LSTM controls the flow and update of information through forget gates, input gates, candidate memory units, and output gates, solving the gradient vanishing and gradient explosion problems in traditional recurrent neural networks, thereby more effectively capturing long-term dependencies. Construct the network structure of the long short-term memory network and initialize the network parameters. Use the feature data extracted from the wavelet scattering network for training to obtain the trained long short-term memory network; the specific operations are as follows:

[0072] (1) Calculation of the forget gate: The forget gate determines which information in the current unit state is discarded. Its output is a value between 0 and 1, indicating the degree of information retention. Its calculation formula is:

[0073] f t =σ(W f ·[h t-1 ,x t ]+b f )

[0074] Among them, f t is the output of the forget gate; σ is the sigmoid activation function; W f is the weight matrix; [h t-1 ,x t ] is the connection between the hidden state of the previous moment and the current input; b f is the bias term;

[0075] (2) Input gate and candidate state calculation: The input gate controls the degree of new information addition, which includes two parts: a sigmoid layer determines the information that needs to be updated, and the other tanh layer generates new candidate memory units. The calculation formula is:

[0076] i t =σ(W i ·[h t-1 ,x t ]+b i )

[0077]

[0078] Among them, i t is the output of the input gate; is a new candidate memory unit; W i and W c is the weight matrix; b i and bc is the bias term;

[0079] (3) Memory unit state update: Through the action of the forget gate and the input gate, the current memory unit state is updated. The calculation formula is:

[0080]

[0081] Among them, C t is the memory unit state at the current moment; C t-1 is the state of the memory unit at the previous moment;

[0082] (4) Output gate calculation: The output gate controls the hidden state output at the current moment. It determines which parts of the memory cell state will be output. Its calculation formula is as follows:

[0083] o t =σ(W o ·[h t-1 ,x t ]+b o )h t

[0084] h t =o t tanh(C t )

[0085] Among them, t is the output of the output gate; h t is the hidden state at the current moment; W o is the weight matrix; b o is the bias term;

[0086] (5) Fully connected layer calculation: A fully connected layer is added after the output of the long short-term memory network, and the Softmax activation function is applied to implement the classification task. The calculation formula is as follows:

[0087]

[0088] Among them, x i is the input feature and e is a natural constant.

[0089] Then, the trained long short-term memory network predicts the test set sample data and outputs the prediction result, such as Figure 3 (b) The labeling and prediction results are shown.

[0090] In this embodiment, it also includes: using a wavelet scattering network to extract feature data from the validation set sample data and achieve data dimensionality reduction; using the feature data of the validation set sample data extracted by the wavelet scattering network to perform verification, and adjusting the network parameters according to the verification results to obtain the verified long short-term memory network, and then using the verified long short-term memory network to predict the test set sample data and output the prediction results.

[0091] Based on the same inventive concept, the present invention also provides a real-time detection system for cold welding of power battery tabs by laser welding, comprising:

[0092] The data set acquisition module is used to divide the complete photoelectric signals of multiple bands collected in real time during the laser welding process of the power battery tabs under different laser energies into multiple sub-photoelectric signals, distinguish each of the sub-photoelectric signals according to whether the weld has a cold weld and mark it with a cold weld or no cold weld label, build a cold weld defect sample data set based on the marked photoelectric signal data, and randomly divide the cold weld defect sample data set into a training set, a validation set, and a test set according to a set ratio;

[0093] A feature extraction module, used for constructing a wavelet scattering network and using the wavelet scattering network to extract feature data from the training set sample data and realize data dimensionality reduction;

[0094] A model training module is used to construct a long short-term memory network and train it using feature data extracted from a wavelet scattering network to obtain a trained long short-term memory network;

[0095] The cold solder joint detection module is used to predict the test set sample data using the trained long short-term memory network and output the prediction result.

[0096] Based on the same inventive concept, the present invention also provides an electronic device, such as an industrial computer, which includes a memory and a processor, wherein the memory is used to store one or more computer instructions, and wherein the one or more computer instructions are executed by the processor to implement the above method.

[0097] Based on the same inventive concept, the present invention further provides a readable storage medium on which computer instructions are stored, wherein the computer instructions implement the above method when executed by a processor.

Claims

1. A real-time detection method for cold welding of power battery tabs by laser welding. It is characterized in that include: The complete photoelectric signals of multiple bands collected in real time during the laser welding of the power battery tabs under different laser energies acquired in advance are respectively divided into multiple sub-photoelectric signals, and each of the sub-photoelectric signals is distinguished according to whether the weld has a cold weld and marked with a cold weld or no cold weld label, and a cold weld defect sample data set is constructed based on the marked photoelectric signal data, and the cold weld defect sample data set is randomly divided into a training set, a validation set, and a test set according to a set ratio; Constructing a wavelet scattering network and using the wavelet scattering network to extract feature data from the training set sample data and achieve data dimensionality reduction; Constructing a long short-term memory network and training it using feature data extracted from a wavelet scattering network to obtain a trained long short-term memory network; The trained long short-term memory network is used to predict the test set sample data and output the prediction result.

2. The method according to claim 1, It is characterized in that The multiple bands of complete optoelectronic signals at least include visible light signals with a wavelength of 300-700nm, laser reflection signals with a wavelength of 1064nm, and near-infrared light signals with a wavelength of 1100-1800nm.

3. The method according to claim 1 or 2, It is characterized in that The cold soldering defect sample data set is randomly divided into a training set, a validation set and a test set according to a ratio of 6:2:

2.

4. The method according to claim 3, It is characterized in that The extracting feature data from the training set sample data using a wavelet scattering network includes: Extracting a multi-scale feature vector from the training set sample data; Perform wavelet transform through wavelet filter to decompose the input data at different scales; Perform a modulo operation on the wavelet coefficients of each scale, that is, calculate the absolute value of the coefficient to obtain the nonlinear result; Performing average pooling processing on the nonlinear result to reduce the dimension of the feature; Through multi-layer wavelet transform and multiple nonlinear operations, the scattering coefficient is generated, and the obtained scattering coefficient is averaged and pooled; The scattering coefficients of all layers are combined to construct the corresponding feature vector.

5. The method according to claim 4, It is characterized in that When the wavelet transform is performed by the wavelet filter to decompose the input data at different scales, the calculation formula for performing the wavelet transform on the input signal x(t) is as follows: W j,k (x)=∫x(t)ψ j,k (t)dt Among them, W j,k (x) is the wavelet coefficient, ψ j,k (t) is the wavelet basis function, j and k represent the scale and translation parameters respectively; The wavelet coefficients of each scale are modulo-operated to obtain a nonlinear result, and the calculation formula is as follows: U 1 =|W j,k (x) The nonlinear result is subjected to average pooling processing to reduce the dimension of the feature. The formula is as follows: WITH 1 =U 1 *φ Among them, φ is a low-pass filter, * represents the convolution operation; When the scattering coefficient is generated by multi-layer wavelet transform and multiple nonlinear operations, and the obtained scattering coefficient is averaged and pooled, it is assumed that the mth layer is the level to be set, and the output of the mth layer can be expressed as:

6. The method according to claim 5, It is characterized in that When constructing the long short-term memory network and using the feature data extracted by the wavelet scattering network for training, the feature data extracted by the wavelet scattering network and the dynamic time series processing capability of the long short-term memory network are combined to achieve more sophisticated feature learning and time dynamic modeling. The long short-term memory network controls the flow and update of information through the forget gate, input gate, candidate memory unit and output gate. The specific operations are as follows: Calculation of the forget gate: Its calculation formula is: f t =σ(W f ·[h t-1 ,x t ]+b f ) Among them, f t is the output of the forget gate; σ is the sigmoid activation function; W f is the weight matrix; [h t-1 ,x t ] is the connection between the hidden state of the previous moment and the current input; b f is the bias term; Input gate and candidate state calculation: The input gate controls the degree of new information addition. It consists of two parts: a sigmoid layer determines the information that needs to be updated, and the other tanh layer generates new candidate memory cells. The calculation formula is: i t =σ(W i ·[h t-1 ,x t ]+b i ) Among them, i t is the output of the input gate; is a new candidate memory unit; W i and W c is the weight matrix; b i and b c is the bias term; Memory unit state update: Through the action of the forget gate and the input gate, the current memory unit state is updated. The calculation formula is: Among them, C t is the memory unit state at the current moment; C t-1 is the state of the memory unit at the previous moment; Output gate calculation: The calculation formula is as follows: o t =σ(W o ·[h t-1 ,x t ]+b o )h t h t =o t ·tanh(C t ) Among them, t is the output of the output gate; h t is the hidden state at the current moment; W o is the weight matrix; b o is the bias term; Fully connected layer calculation: Add a fully connected layer after the output of the long short-term memory network and apply the Softmax activation function to implement the classification task. The calculation formula is as follows: Among them, x i is the input feature and e is a natural constant.

7. The method according to claim 6, It is characterized in that Also includes: Extracting feature data from the validation set sample data and achieving data dimensionality reduction using a wavelet scattering network; The constructing of the long short-term memory network includes initializing network parameters; Verification is performed using feature data of the verification set sample data extracted by the wavelet scattering network, and the network parameters are adjusted according to the verification results to obtain the verified long short-term memory network.

8. A real-time detection system for cold welding of power battery tabs by laser welding. Features: include: The data set acquisition module is used to divide the complete photoelectric signals of multiple bands collected in real time during the laser welding process of the power battery tabs under different laser energies into multiple sub-photoelectric signals, distinguish each of the sub-photoelectric signals according to whether the weld has a cold weld and mark it with a cold weld or no cold weld label, build a cold weld defect sample data set based on the marked photoelectric signal data, and randomly divide the cold weld defect sample data set into a training set, a validation set, and a test set according to a set ratio; A feature extraction module, used for constructing a wavelet scattering network and using the wavelet scattering network to extract feature data from the training set sample data and realize data dimensionality reduction; A model training module is used to construct a long short-term memory network and train it using feature data extracted from a wavelet scattering network to obtain a trained long short-term memory network; The cold solder joint detection module is used to predict the test set sample data using the trained long short-term memory network and output the prediction result.

9. An electronic device comprising a memory and a processor, in, The memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to any one of claims 1 to 7.

10. A readable storage medium having computer instructions stored thereon, in, When the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Cable damage detection method and system based on wavelet scattering network

    CN119167212A

  • Intelligent sliding sleeve pressure wave signal identification method based on LSTM

    CN121211086A

  • Power battery top cover welding device

    CN121551881A