A method and device for fitting standard curve of resistance welding parameters
The standard curve fitting method calculated by segmentation processing and translation method solves the problems of low efficiency and insufficient accuracy of steel plate resistance spot welding standard curve fitting in the existing technology, and achieves efficient and accurate curve fitting, which is suitable for Quality monitoring system for resistance welding such as automotive body-in-white spot and projection welding.
Patent Information
- Application Number
- CN202210364845.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-07
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-04-07
AI Technical Summary
The standard curve fitting of steel plate resistance spot welding in the existing technology has problems of low calculation efficiency and insufficient accuracy. Especially when the inflection point of the curve is offset along the time axis, the fitted curve is not sharp and cannot accurately reflect the welding process. Point quality.
By obtaining the original curve, eliminate the curves that do not meet the standard, divide the remaining curves into three segments, determine the standard points and perform fitting, use the abscissa and ordinate translation methods to calculate the average, combine the curvature to fit the standard curve, and perform fitting when necessary Local smoothing is performed to improve the accuracy of the fitting model.
It significantly improves the efficiency and accuracy of standard curve fitting, reduces sampling difficulty and fitting costs, avoids the phenomenon of sharp inflection points, and meets the needs of online spot welding quality monitoring.
Smart Images

Figure CN114756964B
Abstract
Description
Technical Field
[0001] The invention relates to the field of steel plate resistance spot welding, and in particular to a method and a device for fitting a resistance welding parameter standard curve. Background Art
[0002] At present, with the development of the automobile industry, the proportion of high-strength and ultra-high-strength plates in automobile body steel plates is getting higher and higher. Therefore, the resistance spot welding of body steel plates has begun to adopt medium-frequency DC technology in large quantities, and the dynamic resistance adaptive technology is mostly used in welding machine control technology. Dynamic resistance refers to the measured resistance between the two electrode caps that changes dynamically with time during the welding process. This resistance can reflect the welding process status and the final spot welding quality.
[0003] The adaptive method requires collecting the secondary voltage and secondary current to monitor the dynamic resistance changes, and timely adjust the welding current and welding time according to the dynamic resistance changes to ensure the welding energy, welding diameter and welding quality.
[0004] Dynamic resistance can reflect the welding quality of solder joints. The dynamic resistance curve corresponding to the current working condition and the best quality solder joint is called the standard curve. The significance of the standard curve is that the difference between the standard curve and other curves can reflect the quality status of solder joints. Therefore, the accuracy of the standard curve is particularly important.
[0005] In actual operation, a curve cannot be directly obtained as the standard curve. Instead, a set of curves with specified better quality is used and fitted (a process of obtaining a curve that can represent the characteristics of all the curves through mathematical processing) to artificially synthesize a curve, which is defined as the standard curve in this state.
[0006] Generally, the curve fitting can be performed by using analytical expressions to approximate discrete data or the least squares method. However, various problems may occur in the actual process, which may result in the obtained curve not representing the characteristics of the solder joint.
[0007] Therefore, the industry uses the curve fitting toolbox cftool to fit the standard curve. The specific method is as follows:
[0008] Start the curve fitting toolbox cftool and enter the curve fitting toolbox interface "Curve Fitting tool". The following process is as follows:
[0009] (1) Click the "Data" button and the "Data" window will pop up;
[0010] (2) Use the drop-down menus of X data and Y data to read the data x, y, and return to the toolbox interface. The curve graph of the data set will be automatically drawn.
[0011] (3) Click the "Fitting" button and the "Fitting" window pops up;
[0012] (4) Click the "New fit" button to modify the fitting project name "Fit name", select the data set through the "Data set" drop-down menu, and then select the type of fitting curve through the drop-down menu "Type of fit". The toolbox provides the following fitting types:
[0013] Custom Equations: User-defined function types
[0014] Exponential: exponential approximation, there are 2 types, a*exp(b*x), a*exp(b*x)+c*exp(d*x)
[0015] Fourier: Fourier approximation, there are 7 types, the basic type is a0+a1*cos(x*w)+b1*sin(x*w)
[0016] Gaussian: Gaussian approximation, there are 8 types, the basic type is a1*exp(-((x-b1) / c1)^2)
[0017] Interpolant: interpolation approximation, there are 4 types, linear, nearest neighbor, cubic spline, shape-preserving
[0018] Polynomial: multi-form approximation, with 9 types, linear~, quadratic~, cubic~, 4-9thdegree~
[0019] Power: Power approximation, there are 2 types, a*x^b, a*x^b+c
[0020] Rational: rational number approximation, the common types of numerator and denominator are linear~, quadratic~, cubic~, 4-5thdegree~; in addition, the numerator also includes constant type
[0021] Smoothing Spline: Smoothing Approximation
[0022] Sum of Sin Functions: Sine curve approximation, there are 8 types, the basic type is a1*sin(b1*x+c1)
[0023] Weibull: Only one, a*b*x^(b-1)*exp(-a*x^b)
[0024] Select the required fitting curve type and its subtype, and make relevant settings:
[0025] For non-customized types, click the "Fit options" button according to actual needs to set the fitting algorithm, modify the upper and lower limits of the parameters to be estimated, and other parameters;
[0026] (5) After the type setting is completed, click the "Apply" button to obtain the fitting results in the Results box. At the same time, the fitting curve will also be displayed in the toolbox window.
[0027] The first-order curve fitting completed in the above manner has the following disadvantages:
[0028] 1. It requires specialized software, which is large in size, low in calculation efficiency, and is not suitable for fitting existing single-type curves;
[0029] 2. When the inflection point of the curve is offset along the time axis, the curve after fitting will inevitably have a blunt inflection point, which does not conform to the actual situation on site, that is, the accuracy of the standard curve is low. Summary of the invention
[0030] In view of the defects existing in the prior art, the technical problem solved by the present invention is: how to improve the accuracy of the fitted standard curve while improving the efficiency of standard curve fitting.
[0031] To achieve the above purpose, the method for fitting a resistance welding parameter standard curve provided by the present invention comprises the following steps:
[0032] S1: Obtain the original curves, remove the original curves that do not meet the standards, and use the remaining original curves as reference curves;
[0033] S2: With the horizontal axis as time T and the vertical axis as resistance value R, import each reference curve into the direct coordinate system; obtain the Tr of each reference curve min Position, Tr max Position and Tr end Position, according to the Tr of each curve min Position, Tr max Position and Tr end Position, each reference curve is divided into three segments;
[0034] S3: Tr of all the first reference curves min Position and corresponding R min Calculate and obtain Tm min and the corresponding Rm min ; Set the Tr of all second reference curves max Position and corresponding Rmax Calculate and obtain Tm max Position and corresponding Rm max ; Set the Tr of all third reference curves end Position and corresponding R end Calculate and obtain Tm end Position and corresponding Rm end ;
[0035] S4: Determine the first standard point, the second standard point and the third standard point in the rectangular coordinate system. The ordinate of the first standard point is Rm. min , the horizontal axis is Tm min ; The ordinate of the second standard point is Rm max , the horizontal axis is Tm max ; The ordinate of the third standard point is Rm end , the horizontal axis is Tm end ; According to the curvature, the first standard point, the second standard point and the third standard point are fitted into a standard curve.
[0036] On the basis of the above technical solution, the process of eliminating original curves that do not meet the standards in S1 includes: confirming the quality of the solder joints by means of rupture inspection or non-rupture inspection, and eliminating original curves that do not meet the quality standards; for original curves that meet the quality standards and are repeated, only one is retained and the rest are eliminated.
[0037] Based on the above technical solution, Tr in S2 min The position is the lowest point of the reference curve, the Tr max The position is the highest point of the reference curve, the Tr end The position is the dividing point where the reference curve changes from a continuously decreasing state to a horizontal state; in S2, according to the Tr of each curve min Position, Tr max Position and Tr end Position, the process of dividing each curve into three segments includes: selecting two cutting lines in the direct coordinate system: T1 and T2, and the selection rules include: T1 in Tr min Position and Tr max Positions between and close to Tr min The most densely overlapping points of T2 intersect each other; max Position and Tr end Positions between and close to Tr max The most densely overlapping points intersect each other; each reference curve is divided into three segments by T1 and T2.
[0038] Based on the above technical solution, the specific process of S3 includes:
[0039] By using the horizontal coordinate translation method, all the Tr of the first reference curve min Align, get each Tr min The corresponding R min The average value of Rm min ; Use the vertical coordinate translation method to move the R min Align, get each R min The corresponding Tr min The average value of Tm min ;
[0040] By using the horizontal coordinate translation method, all the Tr of the second reference curve max Align, get each Tr max The corresponding R max The average value of Rm max ; Use the vertical coordinate translation method to move the R max Align, get each R max The corresponding Tr max The average value of Tm max ;
[0041] By using the horizontal coordinate translation method, all the Tr of the third reference curve end Align, get each Tr end The corresponding R end The average value of Rm end ; Use the vertical coordinate translation method to move the R end Align, get each R end The corresponding Tr end The average value of Tm end .
[0042] Based on the above technical solution, the following steps are also included after S4:
[0043] S5: Obtain the fitting model Fs(t) of the standard curve by:
[0044]
[0045] Among them, f1~fn represent the n points of the standard curve, t represents the t value of the nth point, △t1=Tm min , △t2=Tm max , △t3=Tm end ;
[0046] Determine whether Fs(t) meets the smoothing index. If so, end; otherwise, use the moving average method to locally smooth the corresponding fn.
[0047] The device for fitting the standard curve of resistance welding parameters provided by the present invention comprises an original curve acquisition module, a reference curve segmentation module, a standard curve calculation module and a standard curve fitting module;
[0048] The original curve acquisition module is used to: acquire the original curve, remove the original curve that does not meet the standard, and use the remaining original curves as reference curves;
[0049] The reference curve segmentation module is used to: import each reference curve into the direct coordinate system with the horizontal axis as time T and the vertical axis as resistance value R; obtain the Tr of each reference curve min Position, Tr max Position and Tr end Position, according to the Tr of each curve min Position, Tr max Position and Tr end Position, each reference curve is divided into three segments;
[0050] The standard curve calculation module is used to: calculate the Tr of all the first reference curves min Position and corresponding R min Calculate and obtain Tm min and the corresponding Rm min ; Set the Tr of all second reference curves max Position and corresponding R max Calculate and obtain Tm max Position and corresponding Rm max ; Set the Tr of all third reference curves end Position and corresponding R end Calculate and obtain Tm end Position and corresponding Rm end ;
[0051] The standard curve fitting module is used to determine the first standard point, the second standard point and the third standard point in the rectangular coordinate system, and the ordinate of the first standard point is Rm min , the horizontal axis is Tm min ; The ordinate of the second standard point is Rm max , the horizontal axis is Tm max ; The ordinate of the third standard point is Rm end , the horizontal axis is Tm end ; According to the curvature, the first standard point, the second standard point and the third standard point are fitted into a standard curve.
[0052] On the basis of the above technical solution, the process of eliminating the original curves that do not meet the standards in the original curve acquisition module includes: confirming the quality of the weld by means of rupture inspection or non-rupture inspection, and eliminating the original curves that do not meet the quality standards; for the original curves that meet the quality standards and are repeated, only one is retained and the rest are eliminated.
[0053] Based on the above technical solution, the Tr obtained by the reference curve segmentation module min The position is the lowest point of the reference curve, Tr max The position is the highest point of the reference curve, Tr end The position is the dividing point where the reference curve changes from a continuously decreasing state to a horizontal state; the reference curve segmentation module divides the reference curve into segments according to the Tr of each curve. min Position, Tr max Position and Tr end Position, the process of dividing each curve into three segments includes: selecting two cutting lines in the direct coordinate system: T1 and T2, and the selection rules include: T1 in Tr min Position and Tr max Positions between and close to Tr min The most densely overlapping points of T2 intersect each other; max Position and Tr end Positions between and close to Tr max The most densely overlapping points intersect each other; each reference curve is divided into three segments by T1 and T2.
[0054] On the basis of the above technical solution, the specific workflow of the standard curve calculation module includes:
[0055] By using the horizontal coordinate translation method, all the Tr of the first reference curve min Align, get each Tr min The corresponding R min The average value of Rm min ; Use the vertical coordinate translation method to move the R min Align, get each R min The corresponding Tr min The average value of Tm min ;
[0056] By using the horizontal coordinate translation method, all the Tr of the second reference curve max Align, get each Tr max The corresponding R max The average value of Rm max ; Use the vertical coordinate translation method to move the R max Align, get each R max The corresponding Tr maxThe average value of Tm max ;
[0057] By using the horizontal coordinate translation method, all the Tr of the third reference curve end Align, get each Tr end The corresponding R end The average value of Rm end ; Use the vertical coordinate translation method to move the R end Align, get each R end The corresponding Tr end The average value of Tm end .
[0058] On the basis of the above technical solution, the device also includes a standard curve verification module, which is used to: obtain the fitting model Fs(t) of the standard curve, and the acquisition method is:
[0059]
[0060] Among them, f1~fn represent the n points of the standard curve, t represents the t value of the nth point, △t1=Tm min , △t2=Tm max , △t3=Tm end ;
[0061] Determine whether Fs(t) meets the smoothing index. If so, end; otherwise, use the moving average method to locally smooth the corresponding fn.
[0062] Compared with the prior art, the advantages of the present invention are:
[0063] It can be seen that compared with the standard curve fitting method in the prior art, which has large software volume and low calculation efficiency, the standard curve fitting process of the present invention is relatively simple, which not only reduces the sampling difficulty and fitting cost, but also significantly improves the sampling efficiency; and the standard curve obtained by analyzing and calculating all samples has high accuracy, and the phenomenon that the curve after fitting in the prior art will inevitably have a blunt inflection point will not occur, which can meet the needs of curve analysis during online spot welding quality monitoring. In practical applications, the present invention can be applied to resistance welding quality monitoring systems such as automobile body-in-white spot and projection welding. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0065] Figure 1It is a schematic diagram of processing the low-carbon steel resistance reference curve in an embodiment of the present invention. DETAILED DESCRIPTION
[0066] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0067] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0068] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0069] The method for fitting a resistance welding parameter standard curve in an embodiment of the present invention comprises the following steps:
[0070] S1: Obtain the original curve. The original curve can be obtained manually by electric welding on site, or automatically by a corresponding machine; the original curve that does not meet the standards is eliminated, and the remaining original curves are used as reference curves.
[0071] The process of eliminating the original curves that do not meet the standards in S1 includes: confirming the quality of the solder joints by means of rupture inspection or non-rupture inspection, and eliminating the original curves that do not meet the quality standards; for the original curves that meet the quality standards and are repeated, only one is retained and the rest are eliminated.
[0072] S2: See Figure 1 As shown, with the horizontal axis being time T and the vertical axis being resistance value R, each reference curve is imported into the direct coordinate system; Tr of each reference curve is obtained. min Position (the position corresponding to the moment of lowest resistance during the heating phase), Tr max Position (the position at the moment of maximum resistance in the melting stage) and Tr end Position (the position corresponding to the end of the nugget formation stage), according to the Tr of each curve min Position, Tr max Position and Tr end Position, each reference curve is divided into three segments.
[0073] S2 Tr min Position, Tr max Position and Tr endThe method of obtaining the position is common knowledge in the art. For details, see Figure 1 As shown, Tr min The position is the lowest point of the reference curve, Tr max The position is the highest point of the reference curve, Tr end The position is the dividing point where the reference curve changes from a continuously declining state to a horizontal state.
[0074] Preferably, see Figure 1 As shown, in S2, according to the Tr of each curve min Position, Tr max Position and Tr end Position, the process of dividing each curve into three segments includes: selecting two cutting lines in the direct coordinate system: T1 and T2, and the selection rules include: T1 in Tr min Position and Tr max Position between T1 and near Tr min The most densely overlapping points of T2 intersect each other; max Position and Tr end Position between T2 and near Tr max Each reference curve is divided into three segments by T1 and T2.
[0075] S3: See Figure 1 As shown, the Tr of all the first reference curves min Position and corresponding R min Calculate and obtain Tm min and the corresponding Rm min ; Set the Tr of all second reference curves max Position and corresponding R max Calculate and obtain Tm max Position and corresponding Rm max ; Set the Tr of all third reference curves end Position and corresponding R end Calculate and obtain Tm end Position and corresponding Rm end .
[0076] The specific process of S3 includes:
[0077] By using the horizontal coordinate translation method, all the Tr of the first reference curve min Align, get each Tr min The corresponding R min The average value of Rm min ; Use the vertical coordinate translation method to move the R min Align, get each R min The corresponding Trmin The average value of Tm min ;
[0078] By using the horizontal coordinate translation method, all the Tr of the second reference curve max Align, get each Tr max The corresponding R max The average value of Rm max ; Use the vertical coordinate translation method to move the R max Align, get each R max The corresponding Tr max The average value of Tm max ;
[0079] By using the horizontal coordinate translation method, all the Tr of the third reference curve end Align, get each Tr end The corresponding R end The average value of Rm end ; Use the vertical coordinate translation method to move the R end Align, get each R end The corresponding Tr end The average value of Tm end .
[0080] S4: Determine the first standard point, the second standard point and the third standard point in the rectangular coordinate system. The ordinate of the first standard point is Rm. min , the horizontal axis is Tm min ; The ordinate of the second standard point is Rm max , the horizontal axis is Tm max ; The ordinate of the third standard point is Rm end , the horizontal axis is Tm end ; According to the curvature, the first standard point, the second standard point and the third standard point are fitted into a standard curve.
[0081] It can be seen that compared with the standard curve fitting method in the prior art, which has large software volume and low calculation efficiency, the standard curve fitting process of the present invention is relatively simple, which not only reduces the sampling difficulty and fitting cost, but also significantly improves the sampling efficiency; and the standard curve obtained by analyzing and calculating all samples has high accuracy, and the phenomenon that the curve after fitting in the prior art will inevitably have a blunt inflection point will not occur, which can meet the needs of curve analysis during online spot welding quality monitoring. In practical applications, the present invention can be applied to resistance welding quality monitoring systems such as automobile body-in-white spot and projection welding.
[0082] S5: Obtain the fitting model Fs(t) of the standard curve by:
[0083]
[0084] Among them, f1~fn represent the n points of the standard curve, t represents the t value of the nth point, △t1=Tm min , △t2=Tm max , △t3=Tm end .
[0085] Determine whether Fs(t) meets the smoothness index. If so, end; otherwise, use the moving average method to perform local smoothing on the corresponding position (i.e., fn) to further improve the accuracy of the standard curve.
[0086] The device for fitting a resistance welding parameter standard curve in the embodiment of the present invention comprises an original curve acquisition module, a reference curve segmentation module, a standard curve calculation module, a standard curve fitting module and a standard curve verification module.
[0087] The original curve acquisition module is used to obtain the original curve, remove the original curve that does not meet the standard, and use the remaining original curves as reference curves.
[0088] The process of eliminating the original curves that do not meet the standards in S1 includes: confirming the quality of the solder joints by means of rupture inspection or non-rupture inspection, and eliminating the original curves that do not meet the quality standards; for the original curves that meet the quality standards and are repeated, only one is retained and the rest are eliminated.
[0089] See also Figure 1 As shown, the reference curve segmentation module is used to: import each reference curve into the direct coordinate system with the horizontal axis as time T and the vertical axis as resistance value R; obtain the Tr of each reference curve min Position (the position corresponding to the moment of lowest resistance during the heating phase), Tr max Position (the position at the moment of maximum resistance in the melting stage) and Tr end Position (the position corresponding to the end of the nugget formation stage), according to the Tr of each curve min Position, Tr max Position and Tr end Position, each reference curve is divided into three segments.
[0090] Reference curve segmentation module Tr min Position, Tr max Position and Tr end The method of obtaining the position is common knowledge in the art. For details, see Figure 1 As shown, Tr min The position is the lowest point of the reference curve, Tr max The position is the highest point of the reference curve, Tr end The position is the dividing point where the reference curve changes from a continuously declining state to a horizontal state.
[0091] Preferably, see Figure 1 As shown, the reference curve segmentation module is based on the Tr of each curve. min Position, Tr max Position and Tr end Position, the process of dividing each curve into three segments includes: selecting two cutting lines in the direct coordinate system: T1 and T2, and the selection rules include: T1 in Tr min Position and Tr max Position between T1 and near Tr min The most densely overlapping points of T2 intersect each other; max Position and Tr end Position between T2 and near Tr max Each reference curve is divided into three segments by T1 and T2.
[0092] See also Figure 1 As shown, the standard curve calculation module is used to: min Position and corresponding R min Calculate and obtain Tm min and the corresponding Rm min ; Set the Tr of all second reference curves max Position and corresponding R max Calculate and obtain Tm max Position and corresponding Rm max ; Set the Tr of all third reference curves end Position and corresponding R end Calculate and obtain Tm end Position and corresponding Rm end .
[0093] The specific workflow of the standard curve calculation module includes:
[0094] By using the horizontal coordinate translation method, all the Tr of the first reference curve min Align, get each Tr min The corresponding R min The average value of Rm min ; Use the vertical coordinate translation method to move the R min Align, get each R min The corresponding Tr min The average value of Tm min ;
[0095] By using the horizontal coordinate translation method, all the Tr of the second reference curve max Align, get each Tr max The corresponding Rmax The average value of Rm max ; Use the vertical coordinate translation method to move the R max Align, get each R max The corresponding Tr max The average value of Tm max ;
[0096] By using the horizontal coordinate translation method, all the Tr of the third reference curve end Align, get each Tr end The corresponding R end The average value of Rm end ; Use the vertical coordinate translation method to move the R end Align, get each R end The corresponding Tr end The average value of Tm end .
[0097] The standard curve fitting module is used to determine the first standard point, the second standard point and the third standard point in the rectangular coordinate system, and the ordinate of the first standard point is Rm min , the horizontal axis is Tm min ; The ordinate of the second standard point is Rm max , the horizontal axis is Tm max ; The ordinate of the third standard point is Rm end , the horizontal axis is Tm end ; According to the curvature, the first standard point, the second standard point and the third standard point are fitted into a standard curve.
[0098] It can be seen that compared with the standard curve fitting method in the prior art, which has large software volume and low calculation efficiency, the standard curve fitting process of the present invention is relatively simple, which not only reduces the sampling difficulty and fitting cost, but also significantly improves the sampling efficiency; and the standard curve obtained by analyzing and calculating all samples has high accuracy, and the phenomenon that the curve after fitting in the prior art will inevitably have a blunt inflection point will not occur, which can meet the needs of curve analysis during online spot welding quality monitoring. In practical applications, the present invention can be applied to resistance welding quality monitoring systems such as automobile body-in-white spot and projection welding.
[0099] The standard verification module is used to obtain the fitting model Fs(t) of the standard curve in the following way:
[0100]
[0101] Among them, f1~fn represent the n points of the standard curve, t represents the t value of the nth point, △t1=Tm min , △t2=Tm max , △t3=Tm end.
[0102] Determine whether Fs(t) meets the smoothness index. If so, end; otherwise, use the moving average method to perform local smoothing on the corresponding position (i.e., fn) to further improve the accuracy of the standard curve.
[0103] In the description of the present invention, it should be noted that the terms "upper", "lower", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0104] It should be noted that, in the present invention, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0105] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable storage medium, which may include a computer-readable storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).
[0106] The above is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A method for fitting a standard curve of resistance welding parameters, characterized in that: The method comprises the following steps: S1: Obtain the original curves, remove the original curves that do not meet the standards, and use the remaining original curves as reference curves; S2: With the horizontal axis as time T and the vertical axis as resistance value R, import each reference curve into the direct coordinate system; obtain the Tr of each reference curve min Position, Tr max Position and Tr end Position, according to the Tr of each curve min Position, Tr max Position and Tr end Position, each reference curve is divided into three segments; S3: Tr of all the first reference curves min Position and corresponding R min Calculate and obtain Tm min and the corresponding Rm min ; Set the Tr of all second reference curves max Position and corresponding R max Calculate and obtain Tm max Position and corresponding Rm max ; Set the Tr of all third reference curves end Position and corresponding R end Calculate and obtain Tm end Position and corresponding Rm end ; S4: Determine the first standard point, the second standard point and the third standard point in the rectangular coordinate system. The ordinate of the first standard point is Rm. min , the horizontal axis is Tm min ; The ordinate of the second standard point is Rm max , the horizontal axis is Tm max ; The ordinate of the third standard point is Rmend, and the abscissa is Tmend; according to the curvature, the first standard point, the second standard point and the third standard point are fitted into a standard curve.
2. The method for fitting a resistance welding parameter standard curve as claimed in claim 1, characterized in that: The process of eliminating the original curves that do not meet the standards in S1 includes: confirming the quality of the solder joints by means of rupture inspection or non-rupture inspection, and eliminating the original curves that do not meet the quality standards; for the original curves that meet the quality standards and are repeated, only one is retained and the rest are eliminated.
3. The method for fitting a resistance welding parameter standard curve as claimed in claim 1, characterized in that: S2 Tr min The position is the lowest point of the reference curve, the Tr max The position is the highest point of the reference curve, the Tr end The position is the dividing point where the reference curve changes from a continuously decreasing state to a horizontal state; According to the Tr of each curve in S2 min Position, Tr max Position and Tr end Position, the process of dividing each curve into three segments includes: selecting two cutting lines in the direct coordinate system: T1 and T2, and the selection rules include: T1 in Tr min Position and Tr max Positions between and close to Tr min The most densely overlapping points of T2 intersect each other; max Position and Tr end Positions between and close to Tr max The most densely overlapping points intersect each other; each reference curve is divided into three segments by T1 and T2.
4. The method for fitting a resistance welding parameter standard curve as claimed in claim 1, characterized in that: The specific process of S3 includes: By using the horizontal coordinate translation method, all the Tr of the first reference curve min Align, get each Tr min The corresponding R min The average value of Rm min ; Use the vertical coordinate translation method to move the R min Align, get each R min The corresponding Tr min The average value of Tm min ; By using the horizontal coordinate translation method, all the Tr of the second reference curve max Align, get each Tr max The corresponding R max The average value of Rm max ; Use the vertical coordinate translation method to move the R max Align, get each R max The corresponding Tr max The average value of Tm max ; By using the horizontal coordinate translation method, all the Tr of the third reference curve end Align, get each Tr end The corresponding R end The average value of Rm end ; Use the vertical coordinate translation method to move the R end Align, get each R end The corresponding Tr end The average value of Tm end .
5. The method for fitting a resistance welding parameter standard curve according to any one of claims 1 to 4, characterized in that: After S4 The following steps are involved: S5: Obtain the fitting model Fs(t) of the standard curve by: Among them, f1~fn represent the n points of the standard curve, t represents the t value of the nth point, △t1=Tm min , △t2=Tm max , △t3=Tm end ; Determine whether Fs(t) meets the smoothing index. If so, end; otherwise, use the moving average method to locally smooth the corresponding fn.
6. A device for fitting a standard curve of resistance welding parameters, characterized in that: The device comprises an original curve acquisition module, a reference curve segmentation module, a standard curve calculation module and a standard curve fitting module; The original curve acquisition module is used to: acquire the original curve, remove the original curve that does not meet the standard, and use the remaining original curves as reference curves; The reference curve segmentation module is used to: import each reference curve into the direct coordinate system with the horizontal axis as time T and the vertical axis as resistance value R; obtain the Tr of each reference curve min Position, Tr max Position and Tr end Position, according to the Tr of each curve min Position, Tr max Position and Tr end Position, each reference curve is divided into three segments; The standard curve calculation module is used to: calculate the Tr of all the first reference curves min Position and corresponding R min Calculate and obtain Tm min and the corresponding Rm min ; Set the Tr of all second reference curves max Position and corresponding R max Calculate and obtain Tm max Position and corresponding Rm max ; Set the Tr of all third reference curves end Position and corresponding R end Calculate and obtain Tm end Position and corresponding Rm end ; The standard curve fitting module is used to determine the first standard point, the second standard point and the third standard point in the rectangular coordinate system, and the ordinate of the first standard point is Rm min , the horizontal axis is Tm min ; The ordinate of the second standard point is Rm max , the horizontal axis is Tm max ; The ordinate of the third standard point is Rm end , the horizontal axis is Tm end ; According to the curvature, the first standard point, the second standard point and the third standard point are fitted into a standard curve.
7. The device for fitting a resistance welding parameter standard curve as claimed in claim 6, characterized in that: The process of eliminating the original curves that do not meet the standards in the original curve acquisition module includes: confirming the quality of the solder joints by means of rupture inspection or non-rupture inspection, and eliminating the original curves that do not meet the quality standards; for the original curves that meet the quality standards and are repeated, only one is retained and the rest are eliminated.
8. The device for fitting a resistance welding parameter standard curve as claimed in claim 6, characterized in that: The reference curve segmentation module obtains Tr min The position is the lowest point of the reference curve, Tr max The position is the highest point of the reference curve, Tr end The position is the dividing point where the reference curve changes from a continuously decreasing state to a horizontal state; The reference curve segmentation module is based on the Tr of each curve. min Position, Tr max Position and Tr end Position, the process of dividing each curve into three segments includes: selecting two cutting lines in the direct coordinate system: T1 and T2, and the selection rules include: T1 in Tr min Position and Tr max Positions between and close to Tr min The most densely overlapping points of T2 intersect each other; max Position and Tr end Positions between and close to Tr max The most densely overlapping points intersect each other; each reference curve is divided into three segments by T1 and T2.
9. The device for fitting a resistance welding parameter standard curve as claimed in claim 6, characterized in that: The specific workflow of the standard curve calculation module includes: By using the horizontal coordinate translation method, all the Tr of the first reference curve min Align, get each Tr min The corresponding R min The average value of Rm min ; Use the vertical coordinate translation method to move the R min Align, get each R min The corresponding Tr min The average value of Tm min ; By using the horizontal coordinate translation method, all the Tr of the second reference curve max Align, get each Tr max The corresponding R max The average value of Rm max ; Use the vertical coordinate translation method to move the R max Align, get each R max The corresponding Tr max The average value of Tm max ; By using the horizontal coordinate translation method, all the Tr of the third reference curve end Align, get each Tr end The corresponding R end The average value of Rm end ; Use the vertical coordinate translation method to move the R end Align, get each R end The corresponding Tr end The average value of Tm end .
10. The device for fitting a resistance welding parameter standard curve according to any one of claims 6 to 9, characterized in that: The device also includes a standard curve verification module, which is used to: obtain the fitting model Fs(t) of the standard curve, and the acquisition method is: Among them, f1~fn represent the n points of the standard curve, t represents the t value of the nth point, △t1=Tm min , △t2=Tm max , △t3=Tm end ; Determine whether Fs(t) meets the smoothing index. If so, end; otherwise, use the moving average method to locally smooth the corresponding fn.
Citation Information
Patent Citations
Pressure calibration method of bipolar guide rail pressure mechanism
CN111487010A
Method for measuring internal resistance of chip on chip testing machine in curve fitting mode
CN112834912A
Welding spot standard curve band fitting system and method
CN113553659A
Measuring method for delay time between robot motion and welding current for arc sensing
KR1020120035969A
