Method for automatically establishing online evaluation model of spot welding quality
Through physical testing of dynamic resistance curves and dynamic time warping algorithms, a spot welding quality and spatter evaluation model is established and updated, which solves the problems of poor model fixity and adaptability in the existing technology and achieves efficient and automated quality evaluation of spot welding joints. and splash detection.
Patent Information
- Application Number
- CN202111601169.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-12-24
AI Technical Summary
The spot welding quality assessment model in the existing technology is fixed, has poor adaptability to different devices, and cannot be automatically updated on multiple welding machines, resulting in low detection efficiency and poor adaptability.
Automatically establish an online spot welding quality and spatter evaluation model through dynamic resistance signal characteristics, use dynamic resistance curves for physical test confirmation, screen qualified and spatter curve groups, and use dynamic time warping algorithm (DTW) to establish and update the evaluation model to achieve real-time updates and adaptive detection.
It achieves real-time evaluation and spatter detection of spot welding joint quality, improves detection efficiency and model adaptability, can automatically adapt to different welding machines and working conditions, and improves the accuracy and automation of spot welding online quality evaluation.
Smart Images

Figure CN114266489B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of resistance spot welding quality detection and evaluation, and in particular to an online detection and evaluation method for spot welding quality related to dynamic resistance, and in particular to a method for automatically establishing an online evaluation model for spot welding quality, which is applicable to the technical fields of automobiles, rail vehicles, aerospace, etc. Background Art
[0002] Resistance spot welding is a very common welding method in automobiles, high-speed rail bodies and other parts. Since its welds exist inside the overlapped plates, it is difficult to quickly judge the welding quality by the appearance. At present, the quality assessment of resistance spot welding mainly includes real-time monitoring of welding parameters and non-destructive testing and destructive testing after welding. Among them, real-time monitoring of welding parameters is widely used in production sites due to its real-time and non-destructive characteristics. The monitoring parameters commonly used for quality assessment generally include direct welding parameters such as welding current, voltage, electrode pressure, and indirect welding parameters such as dynamic resistance. In general, parameter detection is mainly achieved by extracting characteristic values from the collected welding parameters, and then manually or automatically judging the eligibility of the characteristic values by computer. This calculation method has the advantage of fast calculation speed, but its universality is poor. It does not have automatic update performance when the welding parameters are frequently switched or when used on multiple welding machines. Therefore, finding a method for spot welding quality assessment that can be automatically updated to improve the adaptability of the model so that it can be adaptive on multiple welding machines is of great significance for realizing comprehensive automated detection and online quality assessment of spot welding. Summary of the invention
[0003] The purpose of the present invention is to provide a method for automatically establishing an online assessment model for spot welding quality, and to automatically establish an online spot welding quality and spatter assessment model that can be updated in real time with a dynamic resistance signal characteristic quantity, so as to solve the problem that the quality assessment model in the prior art is fixed and has poor adaptability to different devices. The present invention first confirms the quality of the spot welding joint through physical testing, and extracts its dynamic resistance curve, and lists the qualified dynamic resistance curve into the qualified dynamic curve group to automatically establish the quality online assessment model, and lists the dynamic resistance curve that generates spatter into the spatter dynamic resistance curve group to automatically establish the spatter online assessment model. The model can be continuously updated in real time according to the newly added dynamic resistance curve, so it has strong adaptability. According to the established model, the monitored dynamic resistance curve can be subjected to quality assessment and spatter assessment, and the quality assessment of the spot welding joint can be realized.
[0004] The above-mentioned object of the present invention is achieved by the following technical solutions:
[0005] A method for automatically establishing an online assessment model for spot welding quality, using a dynamic resistance curve in the spot welding process as a parameter for online assessment of spot welding quality; extracting the dynamic resistance curve of a spot welding joint, and performing physical tests on the spot welding joint to confirm the connection status of the joint; screening spot welding joints that are confirmed to be of qualified quality by physical tests, extracting their dynamic resistance curves and listing them in a qualified dynamic resistance curve group, and automatically establishing an online assessment model for spot welding quality based on the qualified dynamic resistance curve group; screening spot welding joints that are confirmed to be spattered by physical tests, extracting their dynamic resistance curves and listing them in a spatter dynamic resistance curve group, and automatically establishing an online assessment model for spot welding spatter based on the spatter dynamic resistance curve group; performing quality assessment and spatter assessment on the monitored dynamic resistance curve of the spot welding according to the online assessment model for spot welding quality and the online assessment model for spot welding spatter;
[0006] Automatically establish an online assessment model for spot welding quality. During the automatic modeling process, automatically establish a spot welding quality dynamic model based on the qualified dynamic resistance curve group. When adding a qualified dynamic resistance curve, if all of the curves are within the current spot welding quality dynamic model range, the curve is discarded. If all or part of the curve is outside the current spot welding quality dynamic model range, the curve is included in the qualified dynamic resistance curve group, and the spot welding quality dynamic model is automatically updated based on the new qualified dynamic resistance curve group. When N consecutive qualified dynamic resistance curves are all within the spot welding quality dynamic model range, it indicates that the number of samples of the qualified dynamic resistance curve group meets the requirement and the modeling is completed.
[0007] Automatically establish an online evaluation model for spot welding spatter. During the automatic modeling process, the spot welding spatter dynamic model is automatically established according to the spatter dynamic resistance curve group. When adding a new spatter dynamic resistance curve, if the curve is completely within the current spot welding spatter dynamic model range, the curve is discarded. If the curve is completely or partially outside the current spot welding spatter dynamic model range, the curve is included in the spatter dynamic resistance curve group, and the spot welding spatter dynamic model is automatically updated according to the new spatter dynamic resistance curve group. When N consecutive spatter dynamic resistance curves are all within the spot welding spatter dynamic model range, it indicates that the number of samples of the spatter dynamic resistance curve group meets the requirement and the modeling is completed.
[0008] The automatic evaluation process of spot welding quality and spot welding defects: when the spot welding quality is evaluated online, the dynamic resistance curve of the monitored spot welding is compared with the online evaluation model of the spot welding quality. When the similarity is higher than the set threshold, the quality of the spot welding joint is judged to be qualified, otherwise it is unqualified; the unqualified dynamic resistance curve is compared with the online evaluation model of the spot welding spatter. When the similarity is higher than the set threshold, it is judged that the spot welding joint has spatter, otherwise it is an unqualified weld of other defect types;
[0009] The automatic modeling method for online spot welding quality evaluation and spot welding defect evaluation has a real-time update function. The update method is: for the established online spot welding quality evaluation model and the online spot welding spatter evaluation model, re-add or subtract qualified or spatter dynamic resistance curves, update the qualified or spatter dynamic resistance curve group, and establish a new online spot welding quality evaluation model and the online spot welding spatter evaluation model.
[0010] The method for acquiring the dynamic resistance curve is as follows: collecting the real-time welding current and the real-time welding voltage during the welding process, performing ratio calculation on the real-time monitoring data of the welding current and the welding voltage, and obtaining the dynamic resistance data of the spot welding process.
[0011] The physical test includes a weld nugget size test and a mechanical property test.
[0012] The spot welding quality online evaluation model and the spot welding spatter online evaluation model are modeled using a dynamic time warping algorithm DTW, and the steps are as follows:
[0013] (1) Input two known sample curves and create two different matrices based on the data of the two curves. The sample sequences are expressed as:
[0014] A=[a1,a2,...,a m ]B=[b1,b2,...,b n ]
[0015] Among them, A and B represent two sequences respectively, a and b are samples in the sequence, and the number of samples in each sequence is set to m and n. Here we define a cumulative distance, represented by the cost matrix D, matching the nearest neighbor elements of each point in the two sequences from the starting point to the end point (down, left, and diagonally downward), and adding up the matching distances. The total distance after addition is the similarity between the two sequences. (i, j) is used to represent the elements in the cost matrix D, and Dist(i, j) is represented as the distance of the current grid point. The elements of each position in the cost matrix D are calculated by the following equation:
[0016] D(i,j)=Dist(i,j)+min{D(i-1,j),D(i,j-1),D(i-1,j-1)}Dist(i,j)
[0017] (2) Substitute the curve data into the above formula and calculate the DTW distance value of the current curve;
[0018] (3) Repeat the above steps to calculate the range of DTW distance values of all curves, which is defined as the standard value range.
[0019] The beneficial effect of the present invention is that the model can be continuously updated in real time according to the newly added dynamic resistance curve, so it has strong adaptability. According to the established model, the monitored dynamic resistance curve can be evaluated for quality and spatter, and the quality evaluation of the spot welding joint can be realized, which greatly improves the efficiency of spot welding detection and the adaptability of the model. The process of automatic model establishment is to confirm the quality of the spot welding joint through physical testing, screen the joints with qualified and spatter test results, extract their dynamic resistance curves, and list the qualified dynamic resistance curves in the qualified dynamic curve group to automatically establish the quality online evaluation model; list the dynamic resistance curve that produces spatter in the spatter dynamic resistance curve group to automatically establish the spatter online evaluation model. Through these two models, the monitored dynamic resistance curve is evaluated for quality and spatter, and the quality evaluation of the spot welding joint is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide further understanding of the present invention and constitute a part of this application. The illustrative examples of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0021] Figure 1 It is a logical flow diagram of the present invention;
[0022] Figure 2 It is a qualified curve type diagram of the present invention;
[0023] Figure 3 A splash type diagram in a failure curve of the present invention;
[0024] Figure 4 It is a diagram of other defect types in the unqualified curve of the present invention.
[0025] Figure 5 This is a diagram showing the DTW distance calculation effect of the present invention. DETAILED DESCRIPTION
[0026] The details of the present invention and its specific implementation methods are further described below in conjunction with the accompanying drawings.
[0027] See also Figures 1 to 5 As shown, the method of automatically establishing a spot welding quality online evaluation model of the present invention first identifies qualified spot welding joints and spot welding joints with spatter defects through physical testing, extracts their dynamic resistance curves respectively, and automatically establishes a spot welding quality online evaluation model and a spot welding spatter online evaluation model based on the dynamic resistance curve group. The model can automatically identify the minimum number of samples of the dynamic resistance curve group, and has a real-time update function. It can automatically establish a model under different parameters, different samples, and different welding equipment conditions, and perform quality evaluation on the monitored dynamic resistance curve.
[0028] See also Figure 1As shown, the method for automatically establishing an online spot welding quality evaluation model of the present invention uses the dynamic resistance curve in the spot welding process as a parameter for online spot welding quality evaluation; extracts the dynamic resistance curve of the spot welding joint, and performs physical tests on the spot welding joint to confirm the connection state of the joint; screens the spot welding joints that are confirmed to be of qualified quality by physical tests, extracts their dynamic resistance curves and lists them in the qualified dynamic resistance curve group. The types of qualified curves refer to Figure 2 As shown in the figure, an online assessment model for spot welding quality is automatically established based on the qualified dynamic resistance curve group; the spot welding joints confirmed as spatter by physical tests are screened, and their dynamic resistance curves are extracted and included in the spatter dynamic resistance curve group. The types of spatter curves refer to Figure 3 As shown, an online evaluation model for spot welding spatter is automatically established based on the spatter dynamic resistance curve group; quality evaluation and spatter evaluation are performed on the monitored dynamic resistance curve of spot welding based on the online evaluation model for spot welding quality and the online evaluation model for spot welding spatter;
[0029] An online spot welding quality assessment model is automatically established. During the automatic modeling process, a spot welding quality dynamic model is automatically established based on a group of qualified dynamic resistance curves. When a new qualified dynamic resistance curve is added, if the curve is completely within the range of the current spot welding quality dynamic model, the curve is discarded. If the curve is completely or partially outside the range of the current spot welding quality dynamic model, the curve is included in the group of qualified dynamic resistance curves, and the spot welding quality dynamic model is automatically updated based on the new group of qualified dynamic resistance curves. When N consecutive (N is determined based on actual materials and devices) qualified dynamic resistance curves are all within the range of the spot welding quality dynamic model, it indicates that the number of samples of the qualified dynamic resistance curve group meets the requirement and the modeling is completed.
[0030] An online evaluation model for spot welding spatter is automatically established. During the automatic modeling process, the spot welding spatter dynamic model is automatically established according to the spatter dynamic resistance curve group. When a new spatter dynamic resistance curve is added, if the curve is completely within the range of the current spot welding spatter dynamic model, the curve is discarded. If the curve is completely or partially outside the range of the current spot welding spatter dynamic model, the curve is included in the spatter dynamic resistance curve group, and the spot welding spatter dynamic model is automatically updated according to the new spatter dynamic resistance curve group. When N consecutive spatter dynamic resistance curves (N is determined according to the actual material and device) are all within the range of the spot welding spatter dynamic model, it indicates that the number of samples of the spatter dynamic resistance curve group meets the requirement and the modeling is completed.
[0031] The automatic evaluation process of spot welding quality and spot welding defects, when the spot welding quality is evaluated online, the dynamic resistance curve of the monitored spot welding is compared with the online evaluation model of spot welding quality for similarity. When the similarity is higher than the set threshold, the quality of the spot welding joint is judged to be qualified, otherwise it is unqualified; the unqualified dynamic resistance curve is compared with the online evaluation model of spot welding spatter for similarity. When the similarity is higher than the set threshold, it is judged that spatter occurs in the spot welding joint, otherwise it is an unqualified weld of other defect types. For the types of dynamic resistance curves of other defect types, see Figure 4 shown.
[0032] The automatic modeling method for online spot welding quality evaluation and spot welding defect evaluation has a real-time update function. The update method is: for the established online spot welding quality evaluation model and the online spot welding spatter evaluation model, the qualified or spatter dynamic resistance curve can be re-added or subtracted, the qualified or spatter dynamic resistance curve group can be updated, and a new online spot welding quality evaluation model and the online spot welding spatter evaluation model can be established.
[0033] The method for acquiring the dynamic resistance curve is as follows: collecting the real-time welding current and the real-time welding voltage during the welding process, performing ratio calculation on the real-time monitoring data of the welding current and the welding voltage, and obtaining the dynamic resistance data of the spot welding process.
[0034] The physical test includes a weld nugget size test and a mechanical property test.
[0035] The spot welding quality online evaluation model and the spot welding spatter online evaluation model are modeled using a dynamic time warping algorithm (Dynamic Time Warping, DTW), and the steps are as follows:
[0036] (1) Input two known sample curves and create two different matrices based on the data of the two curves. The sample sequences are expressed as:
[0037] A=[a1,a2,...,a m ]B=[b1,b2,...,b n ]
[0038] Among them, A and B represent two sequences respectively, a and b are samples in the sequence, and the number of samples in each sequence is set to m and n. Here we define a cumulative distance, represented by the cost matrix D, matching the nearest neighbor elements of each point in the two sequences from the starting point to the end point (down, left, and diagonally downward), and adding up the matching distances. The total distance after addition is the similarity between the two sequences. (i, j) is used to represent the elements in the cost matrix D, and Dist(i, j) is represented as the distance of the current grid point. The elements of each position in the cost matrix D are calculated by the following equation:
[0039] D(i,j)=Dist(i,j)+min{D(i-1,j),D(i,j-1),D(i-1,j-1)}Dist(i,j)
[0040] (2) Substitute the curve data into the above formula and calculate the DTW distance value of the current curve;
[0041] (3) Repeat the above steps to calculate the range of DTW distance values of all curves, which is defined as the standard value range.
[0042] Example:
[0043] The implementation of the present invention provides a method for establishing the quality assessment model and performing spot welding quality assessment based on the model. For example, SU301-HT, 1+1mm stainless steel plate single current pulse welding is used for spot welding quality assessment. The spot welding process parameters are welding current 7000A, electrode pressure 9000N. After obtaining a qualified weld joint through physical testing, the data of welding current and welding voltage are calculated by ratio to obtain the dynamic resistance curve of the qualified weld joint, and the dynamic resistance curve of the qualified weld joint is obtained by reference. Figure 2 shown.
[0044] Reference Figure 5 As shown in the figure, two of the selected curves are substituted into the DTW formula for distance value calculation to obtain the threshold value; then more curves are added, if the distance value of the curve calculated by the DTW formula is within the current threshold value, the curve is discarded; if the distance value of the curve calculated by the DTW algorithm is outside the current threshold value, a new threshold value is obtained, and after calculating 20 curves, the modeling is completed; then the monitored dynamic resistance curve is compared with the model for similarity, if it is higher than the set threshold value, it is judged as qualified, otherwise it is unqualified, thereby completing the spot welding quality assessment.
[0045] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made to the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for automatically establishing an online assessment model for spot welding quality, characterized in that: The dynamic resistance curve in the spot welding process is used as a parameter for online assessment of the spot welding quality; the dynamic resistance curve of the spot welding joint is extracted, and the spot welding joint is physically tested to confirm the connection status of the joint; the spot welding joints that are confirmed to be of qualified quality by physical tests are screened, their dynamic resistance curves are extracted and included in the qualified dynamic resistance curve group, and a spot welding quality online assessment model is automatically established based on the qualified dynamic resistance curve group; the spot welding joints that are confirmed to be spattered by physical tests are screened, their dynamic resistance curves are extracted and included in the spatter dynamic resistance curve group, and a spot welding spatter online assessment model is automatically established based on the spatter dynamic resistance curve group; the dynamic resistance curves of the monitored spot welding are subjected to quality assessment and spatter assessment based on the spot welding quality online assessment model and the spot welding spatter online assessment model; Automatically establish an online assessment model for spot welding quality. During the automatic modeling process, automatically establish a spot welding quality dynamic model based on the qualified dynamic resistance curve group. When adding a qualified dynamic resistance curve, if all of the curves are within the current spot welding quality dynamic model range, the curve is discarded. If all or part of the curve is outside the current spot welding quality dynamic model range, the curve is included in the qualified dynamic resistance curve group, and the spot welding quality dynamic model is automatically updated based on the new qualified dynamic resistance curve group. When N consecutive qualified dynamic resistance curves are all within the spot welding quality dynamic model range, it indicates that the number of samples of the qualified dynamic resistance curve group meets the requirement and the modeling is completed. Automatically establish an online evaluation model for spot welding spatter. During the automatic modeling process, the spot welding spatter dynamic model is automatically established according to the spatter dynamic resistance curve group. When adding a new spatter dynamic resistance curve, if the curve is completely within the current spot welding spatter dynamic model range, the curve is discarded. If the curve is completely or partially outside the current spot welding spatter dynamic model range, the curve is included in the spatter dynamic resistance curve group, and the spot welding spatter dynamic model is automatically updated according to the new spatter dynamic resistance curve group. When N consecutive spatter dynamic resistance curves are all within the spot welding spatter dynamic model range, it indicates that the number of samples of the spatter dynamic resistance curve group meets the requirement and the modeling is completed. The automatic evaluation process of spot welding quality and spot welding defects: when the spot welding quality is evaluated online, the dynamic resistance curve of the monitored spot welding is compared with the online evaluation model of the spot welding quality. When the similarity is higher than the set threshold, the quality of the spot welding joint is judged to be qualified, otherwise it is unqualified; the unqualified dynamic resistance curve is compared with the online evaluation model of the spot welding spatter. When the similarity is higher than the set threshold, it is judged that the spot welding joint has spatter, otherwise it is an unqualified weld of other defect types; The automatic modeling method for online spot welding quality evaluation and spot welding defect evaluation has a real-time update function. The update method is: for the established online spot welding quality evaluation model and the online spot welding spatter evaluation model, re-add or subtract qualified or spatter dynamic resistance curves, update the qualified or spatter dynamic resistance curve group, and establish a new online spot welding quality evaluation model and the online spot welding spatter evaluation model.
2. The method for automatically establishing an online spot welding quality assessment model according to claim 1, characterized in that: The method for acquiring the dynamic resistance curve is as follows: collecting the real-time welding current and the real-time welding voltage during the welding process, performing ratio calculation on the real-time monitoring data of the welding current and the welding voltage, and obtaining the dynamic resistance data of the spot welding process.
3. The method for automatically establishing an online spot welding quality assessment model according to claim 1, characterized in that: The physical test includes a weld nugget size test and a mechanical property test.
4. The method for automatically establishing an online assessment model for spot welding quality according to claim 1, characterized in that: The spot welding quality online evaluation model and the spot welding spatter online evaluation model are modeled using a dynamic time warping algorithm DTW, and the steps are as follows: (1) Input two known sample curves and create two different matrices based on the data of the two curves. The sample sequences are expressed as: <h2 style=";text-align:left;direction:ltr">A=[a1,a2,...,a<h2 style=";text-align:left;direction:ltr"> m <h2 style=";text-align:left;direction:ltr"> ] B=[b1,b2,...,b<h2 style=";text-align:left;direction:ltr"> n <h2 style=";text-align:left;direction:ltr"> ] Where A and B represent two sequences, a and b are samples in the sequence, and the number of samples in each sequence is set to m and n; define a cumulative distance, represented by the cost matrix D, match the nearest neighbor elements of each point in the two sequences from the starting point to the end point, in the three directions of down, left, and diagonally down, and add up the matching distances. The total distance after addition is the similarity of the two sequences; (i, j) is used to represent the elements in the cost matrix D, and Dist(i, j) is represented as the distance of the current grid point; the elements of each position in the cost matrix D are calculated by the following equation: D(i,j)=Dist(i,j)+min{D(i-1,j),D(i,j-1),D(i-1,j-1)}Dist(i,j) (2) Substitute the curve data into the above formula and calculate the DTW distance value of the current curve; (3) Repeat the above steps to calculate the range of DTW distance values of all curves, which is defined as the standard value range.
