Electric vehicle battery pack laser welding fault detection method based on mutual information
Through mutual information-based methods, the laser data correlation of welding points during laser welding of electric vehicle battery packs is calculated and faulty welding points are identified, which solves the problem of low welding points fault detection efficiency in the existing technology, and achieves fast and convenient Solder joint fault diagnosis.
Patent Information
- Application Number
- CN202411275477.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-09-12
AI Technical Summary
In the laser welding process of electric vehicle battery packs, image recognition technology is difficult to effectively identify solder joint failures, which is affected by the complexity of the industrial production environment, resulting in low fault detection efficiency.
Using a method based on mutual information, by acquiring and preprocessing welding laser data, calculating mutual information between similar laser data, determining the threshold range, comparing mutual information values to identify faulty solder joints, and using IQR-test to identify outliers to realize Quick diagnosis.
Without affecting the industrial production line, the convenience and speed of solder joint failure detection are improved, and the solder joint failure can be quickly identified during the integrated manufacturing process of electric vehicle battery packs.
Smart Images

Figure CN118875484A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of welding, and in particular relates to a mutual information-based laser welding fault detection method for an electric vehicle battery pack. Background Art
[0002] The battery pack of an electric vehicle is one of its core components. A battery pack is usually composed of multiple battery cells (such as lithium-ion battery cells) connected in series and parallel to meet the vehicle's endurance and power requirements. The integration process of the battery pack involves multiple steps, among which the connection and fixation of the battery cells are key links.
[0003] Laser welding technology is currently mainly used for connecting and fixing battery cells. Laser welding is a technology that uses a high-intensity laser beam as a heat source for welding. Laser welding has the characteristics of high precision, high speed and low heat-affected zone, and is suitable for welding various materials, including metals, plastics and composite materials. Laser welding uses a high-energy-density laser beam to locally heat the material, causing it to melt and form a welded joint. In this process, the identification of weld failures is particularly important. Currently, image recognition technology is mainly used to identify weld failures. Due to the complex environment of industrial production, image acquisition is difficult and its effectiveness will be affected. Summary of the invention
[0004] In order to solve the above technical problems, the present invention proposes a method for detecting electric vehicle battery pack laser welding faults based on mutual information to solve the above problems existing in the prior art.
[0005] To achieve the above object, the present invention provides a method for detecting faults in laser welding of an electric vehicle battery pack based on mutual information, comprising:
[0006] Acquire laser data of welding points of laser welding of battery packs for electric vehicles, and preprocess the laser data of welding points of laser welding of battery packs for electric vehicles to obtain preprocessed data;
[0007] Classifying the preprocessed data to generate classified data;
[0008] Calculating mutual information between laser data of the same category in the classified data;
[0009] Determine the mutual information threshold range based on a fault-free data set in actual engineering applications;
[0010] The mutual information between the laser data of the same type is compared with the mutual information threshold range to obtain the faulty welding point data.
[0011] Preferably, the laser data of the weld points of the laser welding of the electric vehicle battery pack is preprocessed, and the process of obtaining the preprocessed data includes: extracting and labeling the laser data of the weld points of the laser welding of the electric vehicle battery pack according to the welding point pressure head sequence of the electric vehicle battery pack to generate the preprocessed data.
[0012] Preferably, the classified data includes: infrared light data, laser data, reflected light data and visible light data.
[0013] Preferably, the expression for calculating the mutual information between the same type of laser data in the classified data is:
[0014] I[X;Y]=H(X)+H(Y)-H(X,Y)
[0015] st
[0016]
[0017] Where Pr[·] represents the probability distribution of a random variable, H[·] and H[·,·] are the Shannon entropy and joint entropy respectively, X is a discrete random variable, x is the value in its domain, and Y is a discrete random variable, y is the value in its domain.
[0018] Preferably, after calculating the mutual information between the laser data of the same category in the classified data, the method further includes: determining the correlation between the laser data based on the mutual information between the laser data of the same category.
[0019] Preferably, the process of comparing the mutual information between the same type of laser data with the mutual information threshold range to obtain the faulty weld data includes:
[0020] If the number of the solder joint laser data is small, the difference between the mutual information value of the fault solder joint and the mutual information value of the normal solder joint is determined based on the correlation between the laser data;
[0021] If the number of the welding spot laser data is large, the calculated mutual information value is used to identify outliers through the IQR-test.
[0022] Preferably, the calculation expression of the IQR-test is:
[0023]
[0024] Among them, Q1 represents the upper quartile, Q3 represents the lower quartile, IQR = Q3-Q1 represents the interquartile range, Q up and Q low Represent the upper and lower limits respectively.
[0025] Preferably, the process of identifying outliers on the calculated mutual information value by IQR-test includes: if the mutual information value exceeds the upper limit and the lower limit, it is an outlier, and the calculation expression is:
[0026]
[0027] Among them, β ij Represents the mutual information value of the laser data between the i-th and j-th welding points.
[0028] Compared with the prior art, the present invention has the following advantages and technical effects:
[0029] The present invention adopts a correlation judgment method based on mutual information, which can detect the faults of the welding points of the battery pack of electric vehicles without affecting the normal layout of the industrial production line. By analyzing the correlation between laser data, the welding point faults can be diagnosed more conveniently and quickly; the method of the present invention can realize the detection of welding point faults in the process of integrated manufacturing of the battery pack of electric vehicles. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0031] Figure 1 is a flow chart of a method for detecting electric vehicle battery pack laser welding faults based on mutual information according to an embodiment of the present invention;
[0032] Figure 2 Schematic diagram of the welding machine pressure head position according to an embodiment of the present invention;
[0033] Figure 3 is a schematic diagram of welding points in the process of integrating an electric vehicle battery pack according to an embodiment of the present invention;
[0034] Figure 4 is a visible light laser spectrum of an embodiment of the present invention;
[0035] Figure 5 This is a diagram of the diagnostic results of the electric vehicle battery pack laser welding fault detection method based on mutual information in a fault-free situation according to an embodiment of the present invention.
[0036] Figure 6 This is a diagram of the diagnostic results of the electric vehicle battery pack laser welding fault detection method based on mutual information in a fault condition according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0038] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0039] Embodiment 1
[0040] like Figure 1-3 As shown, this embodiment provides a method for detecting electric vehicle battery pack laser welding faults based on mutual information, including:
[0041] Step S101: Collect laser data of all welding points in the battery pack.
[0042] Preprocess the laser data.
[0043] Step S102: classifying the laser data of each welding point.
[0044] According to the actual engineering application environment, the laser data of each welding point is classified into infrared light, laser light, reflected light and visible light.
[0045] Step S103: Calculating the mutual information between the different welding points and the same type of laser data.
[0046] Among them, the method for calculating mutual information is:
[0047]
[0048] where Pr[·] represents the probability distribution of the random variable.
[0049] Among them, the above method for calculating mutual information can be simplified as follows:
[0050] I[X;Y]=H(X)+H(Y)-H(X,Y)
[0051] st
[0052]
[0053] Where H[·] and H[·,·] are Shannon entropy and joint entropy respectively. X is a discrete random variable, x is the value in its domain, Y is a discrete random variable, y is the value in its domain.
[0054] When no fault occurs, the laser data of the same type between all welds show strong correlation, and the calculated mutual information value will float around a threshold. When a weld fails, the correlation between the laser data of this weld and other welds will decrease, which is reflected in the abnormal mutual information value.
[0055] Step S104: identifying outliers and locating faulty solder joints based on the calculated mutual information values.
[0056] For a smaller amount of data, the difference between the mutual information value of the faulty solder joint and the mutual information value of the normal solder joint can be directly observed.
[0057] When the amount of data is large, the IQR-test is used to identify outliers in the calculated mutual information value.
[0058] Among them, the method for calculating IQR-test is:
[0059]
[0060] Among them, Q1 represents the upper quartile, Q3 represents the lower quartile, IQR = Q3-Q1 represents the interquartile range, Q up and Q low Represent the upper and lower limits respectively.
[0061] Among them, when the existence value exceeds the upper and lower limits, it is an outlier, and the calculation method is:
[0062]
[0063] Among them, β ij Represents the mutual information value of the laser data between the i-th and j-th solder joints. By analyzing the identified outliers, the solder joint positions related to the outliers can be obtained, thereby locating the solder joint failure. According to the requirements of engineering applications, any abnormality in the four types of lasers of a solder joint is considered to be a solder joint failure.
[0064] The technical solution of the present invention is further described below with reference to a specific application example.
[0065] Taking visible light as an example, mutual information analysis is performed on the visible light data of 5 solder joints. The mutual information between solder joint No. 1 and solder joint No. 2, solder joint No. 1 and solder joint No. 3, solder joint No. 1 and solder joint No. 4, solder joint No. 1 and solder joint No. 5, solder joint No. 2 and solder joint No. 3, and so on are calculated respectively. The mutual information of visible light data between every two solder joints is shown in Table 1:
[0066] Table 1
[0067] Solder point #1 Solder point #2 Solder point #3 Solder point #4 Solder point #5 Solder point #1 / 0.8117 0.8021 0.7690 0.7898 Solder point #2 0.8117 / 0.8267 0.7986 0.8208 Solder point #3 0.8021 0.8267 / 0.7797 0.8085 Solder point #4 0.7690 0.7986 0.7797 / 0.7639 Solder point #5 0.7898 0.8208 0.8085 0.7639 /
[0068] It can be observed that the mutual information values calculated above are all near a threshold, that is, all near 0.80. Figure 4 In the case of 10 solder joints, the IQR-test is used to identify outliers on the calculated mutual information values.
[0069] When there is a faulty solder joint, the mutual information of the visible light data between every two solder joints is calculated as shown in Table 2:
[0070] Table 2
[0071] Solder point #1 Solder point #2 Solder point #3 Solder point #4 Solder point #5 Solder point #1 / 0.5287 0.8021 0.7690 0.7898 Solder point #2 0.5287 / 0.5635 0.5635 0.5410 Solder point #3 0.8021 0.5635 / 0.7797 0.8085 Solder point #4 0.7690 0.5551 0.7797 / 0.7639 Solder point #5 0.7898 0.5410 0.8085 0.7639 /
[0072] It can be observed that the mutual information values associated with solder joint #2 are in a different range than those of the other solder joints. Figure 5-6 The case of 10 solder joints is shown, and the IQR-test is used to identify outliers on the calculated mutual information values when there are faults.
[0073] In summary, the present invention adopts a correlation judgment method based on mutual information, which can detect the faults of the welding points of the battery pack of electric vehicles without affecting the normal layout of the industrial production line. By analyzing the correlation between laser data, the welding point faults can be diagnosed more conveniently and quickly. This method can realize the detection of welding point faults in the process of integrated manufacturing of electric vehicle battery packs.
[0074] The above are only preferred specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for detecting faults in laser welding of electric vehicle battery packs based on mutual information, characterized in that: The following steps are involved: Acquire laser data of welding points of laser welding of battery packs for electric vehicles, and preprocess the laser data of welding points of laser welding of battery packs for electric vehicles to obtain preprocessed data; Classifying the preprocessed data to generate classified data; Calculating mutual information between laser data of the same category in the classified data; Determine the mutual information threshold range based on a fault-free data set in actual engineering applications; The mutual information between the laser data of the same type is compared with the mutual information threshold range to obtain the faulty welding point data.
2. The electric vehicle battery pack laser welding fault detection method based on mutual information according to claim 1 is characterized in that: The laser data of the weld points of the laser welding of the electric vehicle battery pack are preprocessed, and the process of obtaining the preprocessed data includes: extracting and labeling the laser data of the weld points of the laser welding of the electric vehicle battery pack according to the welding point pressure head sequence of the electric vehicle battery pack to generate the preprocessed data.
3. The electric vehicle battery pack laser welding fault detection method based on mutual information according to claim 1 is characterized in that: The classified data includes: infrared light data, laser data, reflected light data and visible light data.
4. The electric vehicle battery pack laser welding fault detection method based on mutual information according to claim 1 is characterized in that: The expression for calculating the mutual information between the same type of laser data in the classified data is: I[X;Y]=H(X)+H(Y)-H(X,Y) st Where Pr[·] represents the probability distribution of a random variable, H[·] and H[·,·] are the Shannon entropy and joint entropy respectively, X is a discrete random variable, x is the value in its domain, and Y is a discrete random variable, y is the value in its domain.
5. The electric vehicle battery pack laser welding fault detection method based on mutual information according to claim 1 is characterized in that: After calculating the mutual information between the laser data of the same type in the classified data, the method further includes: determining the correlation between the laser data based on the mutual information between the laser data of the same type.
6. The electric vehicle battery pack laser welding fault detection method based on mutual information according to claim 5 is characterized in that: The process of comparing the mutual information between the same type of laser data with the mutual information threshold range to obtain the faulty solder joint data includes: If the number of the solder joint laser data is small, the difference between the mutual information value of the fault solder joint and the mutual information value of the normal solder joint is determined based on the correlation between the laser data; If the number of the welding spot laser data is large, the calculated mutual information value is used to identify outliers through the IQR-test.
7. The electric vehicle battery pack laser welding fault detection method based on mutual information according to claim 6 is characterized in that: The calculation expression of the IQR-test is: Among them, Q1 represents the upper quartile, Q3 represents the lower quartile, IQR = Q3-Q1 represents the interquartile range, Q up and Q low Represent the upper and lower limits respectively.
8. The electric vehicle battery pack laser welding fault detection method based on mutual information according to claim 7 is characterized in that: The process of identifying outliers on the calculated mutual information value by IQR-test includes: if the mutual information value exceeds the upper limit and the lower limit, it is an outlier, and the calculation expression is: Among them, β ij Represents the mutual information value of the laser data between the i-th and j-th welding points.
Citation Information
Patent Citations
Laser welding detection and evaluation system and method
CN115008006A
Polymer ultrasonic welding quality nondestructive testing method based on welding indentation
CN117541551A
Scaffold-based welding detection method and system
CN118130487A
Welding and cutting airflow sensor anomaly detection method based on mutual information feature structure
CN118376808A
Connector welding defect detection method based on machine learning
CN118552479A
Cited By
Battery fault early-stage pre-detection method with multi-working-condition adaptation and multi-type identification
CN121679334A
