Control method and system
By using load impedance equivalent model and fuzzy rule table for voltage compensation and amplitude control in ultrasonic welding systems, the system instability caused by load changes during welding is solved, and the welding quality and system stability are improved.
Patent Information
- Application Number
- CN202411277083.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-06
AI Technical Summary
During ultrasonic welding, due to load changes and temperature rise, the system is detuned, the joint strength decreases and welding parameters change, resulting in unstable ultrasonic welding system.
By introducing a drive module, an ultrasonic transducer and an amplitude control module into the ultrasonic welding system, using a pre-trained load impedance equivalent model and a fuzzy rule table, the equivalent electrical parameters and voltage compensation values of the ultrasonic transducer are calculated and adjusted The voltage is compensated, and the amplitude control parameters are optimized according to the current feed-forward algorithm and the fuzzy PID control module to stabilize the welding system.
It effectively improves the stability of the ultrasonic welding system, ensures welding quality and welding head life, and prevents system detuning and joint strength reduction.
Smart Images

Figure CN119077108A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of welding technology, and in particular to a control method and system. Background Art
[0002] Ultrasonic metal welding is a welding technology that achieves joint fusion through high-frequency vibration. Amplitude is one of the key parameters, and its stability is of great significance to welding quality and welding head life. The system is within the resonant working frequency range, which is the basic guarantee of welding quality and stability.
[0003] However, during the welding process, changes in load and temperature rise will cause changes in the resonant frequency of the vibration system. The system may be detuned at any time, resulting in reduced joint strength and changes in welding parameters, especially amplitude, causing instability in the ultrasonic welding system. Summary of the invention
[0004] In view of this, the present application provides a control method and system for improving the stability of an ultrasonic welding system.
[0005] In a first aspect, the present application provides a control method, which is applied to an ultrasonic welding system, wherein the system comprises a driving module, an ultrasonic transducer and an amplitude control module, wherein the driving module is connected to the ultrasonic transducer and the amplitude control module respectively, and the method is applied to the amplitude control module, and the method comprises:
[0006] Inputting the detected pressure value into a pre-trained load impedance equivalent model to obtain equivalent electrical parameters corresponding to the ultrasonic transducer;
[0007] According to the current feedforward algorithm, based on the equivalent electrical parameters, a voltage compensation value of the load of the ultrasonic transducer is calculated;
[0008] Based on a pre-established fuzzy rule table, a control parameter of the amplitude control module is obtained, wherein the fuzzy rule table includes: a mapping relationship between equivalent electrical parameters of the ultrasonic transducer and the control parameter of the amplitude control module;
[0009] The driving module is controlled based on the voltage compensation value and the control parameter.
[0010] Optionally, the controlling the driving module based on the voltage compensation value and the control parameter includes:
[0011] Based on the voltage compensation value, compensating the voltage of the load of the ultrasonic transducer;
[0012] Based on the control parameter, controlling the amplitude control module;
[0013] The compensating the voltage of the load of the ultrasonic transducer and the controlling the amplitude control module are used to control the driving module.
[0014] Optionally, the amplitude control module includes a current feedforward control module;
[0015] The step of calculating the voltage compensation value of the load of the ultrasonic transducer based on the equivalent electrical parameters according to the current feedforward algorithm includes:
[0016] The current feedforward control module predicts the corresponding current change value according to the change of the loop load of the ultrasonic transducer;
[0017] The current feedforward control module calculates a voltage compensation value of the load of the ultrasonic transducer according to the current change value and based on the equivalent electrical parameters.
[0018] Optionally, the construction process of the current feedforward control module includes:
[0019] Determining a target operating point according to a load characteristic curve of the ultrasonic transducer;
[0020] According to Taylor's formula, the target operating point is linearized to obtain a linearized model corresponding to the target operating point;
[0021] According to the linearized model, a corresponding current feedforward control module is constructed.
[0022] Optionally, the amplitude control module includes a fuzzy PID current control module, and the fuzzy PID current control module includes a PID control module;
[0023] The control parameters of the amplitude control module are obtained based on the pre-established fuzzy rule table, including:
[0024] The fuzzy PID current control module obtains a current value deviation between a loop current value of the ultrasonic transducer and an expected loop current value of the ultrasonic transducer, and a change rate of the loop current value of the ultrasonic transducer;
[0025] The fuzzy PID current control module uses a triangular function and a Gaussian function to perform fuzzy conversion on the current value deviation and the change rate of the loop current value, respectively, to obtain the fuzzified current value deviation and the change rate of the fuzzified loop current value;
[0026] The fuzzy PID current control module obtains the control parameters of the PID control module according to the fuzzified current value deviation and the change rate of the fuzzified loop current value based on a pre-established fuzzy rule table.
[0027] Optionally, after obtaining the corresponding fuzzy control parameters, the method further includes:
[0028] Defuzzifying the fuzzy control parameters using a centroid method to obtain defuzzified control parameters;
[0029] The PID control module is controlled according to the defuzzified control parameters.
[0030] Optionally, the load impedance equivalent model is obtained in the following manner:
[0031] Acquire a training data set, wherein the training data set includes pressure values of multiple ultrasonic transducers and electrical parameters of multiple ultrasonic transducers;
[0032] The load impedance equivalent model is trained using the training data set, and the model parameters of the load impedance equivalent model are optimized based on a particle swarm algorithm until a model convergence condition is reached, thereby obtaining the load impedance equivalent model.
[0033] In a second aspect, the present application provides a control system, the system comprising a driving module, an ultrasonic transducer and an amplitude control module, the driving module being connected to the ultrasonic transducer and the amplitude control module respectively;
[0034] The amplitude control module is used to input the detected pressure value into a pre-trained load impedance equivalent model to obtain equivalent electrical parameters corresponding to the ultrasonic transducer;
[0035] The amplitude control module is further used to calculate a voltage compensation value of the load of the ultrasonic transducer based on the equivalent electrical parameters according to a current feedforward algorithm;
[0036] The amplitude control module is further used to obtain control parameters of the amplitude control module based on a pre-established fuzzy rule table, wherein the fuzzy rule table includes: a mapping relationship between equivalent electrical parameters of the ultrasonic transducer and control parameters of the amplitude control module;
[0037] The amplitude control module is further used to control the driving module based on the voltage compensation value and the control parameter.
[0038] Optionally, the amplitude control module is further used to compensate the voltage of the load of the ultrasonic transducer based on the voltage compensation value;
[0039] Based on the control parameter, controlling the amplitude control module;
[0040] The compensating the voltage of the load of the ultrasonic transducer and the controlling the amplitude control module are used to control the driving module.
[0041] Optionally, the amplitude control module includes a current feedforward control module;
[0042] The current feedforward control module is used to predict the corresponding current change value according to the change of the loop load of the ultrasonic transducer;
[0043] According to the current change value and based on the equivalent electrical parameters, a voltage compensation value of the load of the ultrasonic transducer is calculated.
[0044] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising:
[0045] A memory for storing one or more programs;
[0046] The processor implements the control method described in any one of the first aspects above when the one or more programs are executed by the processor.
[0047] In a fourth aspect, an embodiment of the present application provides a computer storage medium, in which a program is stored. When the program is executed by a processor, the control method described in any one of the first aspects is implemented.
[0048] The above technical solution has the following beneficial effects:
[0049] The embodiment of the present application provides a control method and system, which is applied to an ultrasonic welding system, the system includes a driving module, an ultrasonic transducer and an amplitude control module, wherein the driving module is connected to the ultrasonic transducer and the amplitude control module respectively, when executing the method, the amplitude control module first inputs the detected pressure value into the pre-trained load impedance equivalent model to obtain the equivalent electrical parameters corresponding to the ultrasonic transducer, then calculates the voltage compensation value of the load of the ultrasonic transducer based on the equivalent electrical parameters according to the current feedforward algorithm; then, based on the pre-established fuzzy rule table, the control parameters of the amplitude control module are obtained, wherein the fuzzy rule table includes the mapping relationship between the equivalent electrical parameters of the ultrasonic transducer and the control parameters of the amplitude control module, and finally, based on the voltage compensation value and the control parameters, the driving module is controlled. In the above manner, the amplitude control module can adjust the voltage in advance for compensation according to the change of the load of the ultrasonic transducer, and obtain the control parameters of the amplitude control module based on the pre-established fuzzy rule table, and control the driving module based on the voltage compensation value and the control parameters, so as to improve the stability of the ultrasonic welding system. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 A flow chart of a control method provided in an embodiment of the present application;
[0052] Figure 2 A schematic diagram of the structure of an ultrasonic transducer provided in an embodiment of the present application;
[0053] Figure 3 A schematic diagram of the electromechanical equivalence of an ultrasonic transducer provided in an embodiment of the present application;
[0054] Figure 4 A schematic diagram of a simplified electromechanical equivalent circuit of an ultrasonic transducer provided in an embodiment of the present application;
[0055] Figure 5 A schematic diagram of a membership function curve of a current deviation provided in an embodiment of the present application;
[0056] Figure 6 A schematic diagram of a membership function curve of a current deviation change rate provided in an embodiment of the present application;
[0057] Figure 7 A schematic diagram of the structure of a control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment 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.
[0059] In order to facilitate further understanding of the technical solution provided by this application, the background technology involved in this application will be explained below.
[0060] The principle of Ultrasonic Metal Welding (UMW) is a special method of connecting the same or different materials by using the mechanical vibration energy of ultrasonic frequency. During ultrasonic welding, neither current nor high-temperature heat source is applied to the workpiece. It is only under static pressure that high-frequency vibration waves are transmitted to the surfaces of the two objects to be welded, so that the two metal surfaces rub against each other to form a fusion between the molecular layers. Ultrasonic welding is widely used in many industrial fields such as battery manufacturing, wiring harness connection, and automotive parts welding.
[0061] The main components of an ultrasonic welding system include an ultrasonic generator, an ultrasonic transducer, an horn and a welding head. The ultrasonic generator is mainly responsible for converting 50 / 60 Hz current into 15, 20, 30 or 40kHz electrical energy. The converted high-frequency electrical energy is converted again into mechanical motion of the same frequency by the ultrasonic transducer, and then the mechanical motion is transmitted to the welding head through a set of horn devices that can change the amplitude. The welding head transmits the received vibration energy to the joint of the workpiece to be welded for welding.
[0062] Ultrasonic metal welding is a welding technology that achieves joint fusion through high-frequency vibration. Amplitude is one of the key parameters, and its stability is of great significance to welding quality and welding head life. The system is in the resonant working frequency range, which is the basic guarantee of welding quality and stability. However, during the welding process, due to changes in load and temperature rise, the resonant frequency of the vibration system will change, and the system may be detuned at any time, resulting in reduced joint strength and changes in welding parameters, especially amplitude.
[0063] In order to overcome the above technical problems, the embodiment of the present application provides a control method and system, which is applied to an ultrasonic welding system, and the ultrasonic welding system includes a driving module, an ultrasonic transducer and an amplitude control module, wherein the driving module is connected to the ultrasonic transducer and the amplitude control module respectively. When executing the method, the amplitude control module first inputs the detected pressure value into a pre-trained load impedance equivalent model to calculate the voltage compensation value of the load of the ultrasonic transducer; then, based on a pre-established fuzzy rule table, the control parameters of the amplitude control module are obtained, and finally, the driving module is controlled based on the voltage compensation value and the control parameters. Through the above method, the voltage can be adjusted in advance for compensation according to the change of the load of the ultrasonic transducer, and the control parameters of the amplitude control module can be obtained based on the pre-established fuzzy rule table. Based on the voltage compensation value and the control parameters, the driving module is controlled, which can improve the stability of the ultrasonic welding system.
[0064] See also Figure 1 , Figure 1A flow chart of a control method provided in an embodiment of the present application, wherein the ultrasonic welding system includes a driving module, an ultrasonic transducer and an amplitude control module, and the driving module is connected to the ultrasonic transducer and the amplitude control module respectively.
[0065] The method may include:
[0066] Step S101: inputting the detected pressure value into a pre-trained load impedance equivalent model to obtain equivalent electrical parameters corresponding to the ultrasonic transducer.
[0067] The amplitude control module inputs the pressure value detected by the pressure detector into a pre-trained load impedance equivalent model, thereby obtaining the equivalent electrical parameters corresponding to the ultrasonic transducer.
[0068] It should be noted that since the ultrasonic transducer is a key part of the entire system, its performance is affected by many factors. Figure 2 As shown, Figure 2 A schematic diagram of the structure of an ultrasonic transducer provided in an embodiment of the present application. The components include: a metal front cover plate, a metal rear cover plate, a piezoelectric crystal stack, an ultrasonic horn and a tool head.
[0069] Based on the equivalent circuit method, the dynamic characteristics of the ultrasonic transducer under load are studied. Based on the Mason equivalent circuit, each component of the ultrasonic transducer is equivalent to a circuit composed of different electrical components, and the input impedance is calculated. The electromechanical equivalent circuit is as follows: Figure 3 As shown, Figure 3 A schematic diagram of the electromechanical equivalent of the ultrasonic transducer provided in the embodiment of the present application. In which, since the metal back cover is in contact with the air, the equivalent circuit can be approximated to be in a short-circuit state, that is, Z l =0.
[0070] In the electromechanical equivalent diagram of the ultrasonic transducer, Z m2 and Z m1 Respectively represent the equivalent impedance generated by the connecting bolts between the piezoelectric crystal stack and the front and rear metal cover plates. According to the series-parallel calculation principle of electrical components in circuit theory, the electromechanical equivalent circuit diagram of the ultrasonic transducer is simplified to obtain a simplified circuit as shown in Figure 4 As shown, Figure 4 A schematic diagram of a simplified electromechanical equivalent circuit of an ultrasonic transducer provided in an embodiment of the present application. The input impedance can be calculated as:
[0071]
[0072] in:
[0073]
[0074] In formulas (1) to (6), Z11 , Z 12 , Z 13 is the equivalent impedance of the metal rear cover; Z 21 , Z 22 , Z 23 is the equivalent impedance of the metal front cover; Z 31 , Z 32 , Z 33 is the equivalent impedance of the ultrasonic horn; Z 1p , Z 2p , Z 3p is the equivalent impedance of the piezoelectric crystal stack; Z i is the input impedance; C 0 is the chip cut-off capacitance; ω is the longitudinal wave angular frequency, Z f1 , Z f2 is an intermediate variable.
[0075] Finally, substituting equations (4) and (6) into equation (3), we can calculate Z e :
[0076]
[0077] in:
[0078]
[0079] In formula (7) and (8), A 1 and A 3 are the intermediate variables Z f1 and Z f2 The imaginary part, A 2 and A 4 are the intermediate variables Z f1 and Z f2 It can be found that the above calculation process has a certain redundancy. In order to better analyze the impedance characteristics of the ultrasonic transducer, the simplified equivalent circuit can be equivalent to a circuit consisting of resistors, capacitors and inductors in series and parallel. It mainly includes two branches, namely the dynamic branch and the static branch. The dynamic branch is mainly composed of the dynamic inductor (L 1 ), dynamic resistance (R 1 ) and dynamic capacitance (C 1 ),where L 1 , R 1 , C 1 The static path only contains a static capacitor (C 0 ), which is mainly caused by the clamping stress of the ultrasonic transducer.
[0080] Based on the electromechanical equivalent analysis of the ultrasonic transducer, it can be known that the impact of the load on the ultrasonic transducer will eventually be reflected in the changes in the values of the three equivalent electrical parameters: dynamic inductance, dynamic capacitance and dynamic resistance. Therefore, this paper constructs an ultrasonic transducer load impedance equivalent model based on the ELM (Extreme Learning Machine ELM) extreme learning machine. The input characteristic variable is: the pressure value detected by the pressure detector, and the output characteristic variable includes the equivalent electrical parameters corresponding to the ultrasonic transducer. The equivalent electrical parameters can include the equivalent electrical parameters dynamic resistance (R 1 ), dynamic capacitance (C 1 ) and dynamic inductance (L 1 ).
[0081] In one possible implementation, the load impedance equivalent model is obtained as follows:
[0082] Acquire a training data set, wherein the training data set includes pressure values of multiple ultrasonic transducers and electrical parameters of multiple ultrasonic transducers;
[0083] The load impedance equivalent model is trained using the training data set, and the model parameters of the load impedance equivalent model are optimized based on a particle swarm algorithm until a model convergence condition is reached, thereby obtaining the load impedance equivalent model.
[0084] Specifically, in order to improve the accuracy of the ultrasonic transducer load impedance equivalent model based on ELM, the model will be optimized by an improved particle swarm algorithm. The specific process is as follows: First, after the program is started, the training data is input. The training data set includes the pressure values of multiple ultrasonic transducers and the electrical parameters of multiple ultrasonic transducers. The neural network is trained according to the training data, and the mean square error of the ELM training output is used as the initial fitness value of the particle to determine the individual extreme value (P best ) and the global extremum (G best ). Update the particle's velocity and position, and calculate the particle's new fitness value. best and G best Update based on the particle's new fitness value.
[0085] It should be noted that the model convergence condition can be set according to actual conditions. For example, when the change in model parameters between two iterations is less than or equal to a change threshold, it is considered that the model convergence condition is met.
[0086] Step S102: According to the current feedforward algorithm, based on the equivalent electrical parameters, a voltage compensation value of the load of the ultrasonic transducer is calculated.
[0087] In this embodiment, after obtaining the current feedforward algorithm, the amplitude control module calculates the voltage compensation value of the load of the ultrasonic transducer based on the equivalent electrical parameters according to the current feedforward algorithm.
[0088] In a possible implementation, the amplitude control module includes a current feedforward control module;
[0089] The step of calculating the voltage compensation value of the load of the ultrasonic transducer based on the equivalent electrical parameters according to the current feedforward algorithm includes:
[0090] The current feedforward control module predicts the corresponding current change value according to the change of the loop load of the ultrasonic transducer;
[0091] The current feedforward control module calculates a voltage compensation value of the load of the ultrasonic transducer according to the current change value and based on the equivalent electrical parameters.
[0092] The construction process of the current feedforward control module may include:
[0093] Determining a target operating point according to a load characteristic curve of the ultrasonic transducer;
[0094] According to Taylor's formula, the target operating point is linearized to obtain a linearized model corresponding to the target operating point;
[0095] According to the linearized model, a corresponding current feedforward control module is constructed.
[0096] Specifically, the current feedforward control module selects a certain working point of the ultrasonic transducer load characteristic curve, performs Taylor series expansion on the nonlinear model near the point, and only retains the first-order term, which can be approximated as a linear model and can be expressed by a linear equation:
[0097] ΔI=K f ΔF
[0098] Where ΔI is the change in current, ΔF is the change in load, and K f are the model coefficients.
[0099] According to the linearized model, a current feedforward controller is designed. The designed controller can predict the change of current according to the change of load and adjust the voltage in advance to compensate. The output of the current feedforward controller can be expressed as:
[0100]
[0101] Where ΔI pre (t) is the change of current based on the linearized model; ΔV ff(t) is the voltage compensation value; R, L, and C are the output values of the impedance equivalent model under different pressure loads.
[0102] It should be noted that the current feedforward control module can predict the change of current according to the change of load, and adjust the voltage in advance for compensation, adjust the PWM duty cycle, and improve the stability of the ultrasonic welding system.
[0103] Step S103: obtaining control parameters of the amplitude control module based on a pre-established fuzzy rule table, wherein the fuzzy rule table includes a mapping relationship between equivalent electrical parameters of the ultrasonic transducer and control parameters of the amplitude control module.
[0104] In this embodiment, the amplitude control module obtains the control parameters of the amplitude control module based on a pre-established fuzzy rule table, wherein the fuzzy rule table includes: a mapping relationship between the equivalent electrical parameters of the ultrasonic transducer and the control parameters of the amplitude control module.
[0105] The fuzzy rule table also includes fuzzy control rules, which are based on the experience summary of relevant researchers in a large number of experiments during the experiment. In the ultrasonic metal welding amplitude stability control system, the fuzzy quantity is judged with the help of expert experience to realize the intelligent control of the ultrasonic welding system.
[0106] In a possible implementation, the amplitude control module includes a fuzzy PID current control module, and the fuzzy PID current control module includes a PID control module.
[0107] Among them, the PID control module (Proportion Integration Differentiation, proportional-integral-differential controller) is composed of a proportional unit (P), an integral unit (I) and a differential unit (D).
[0108] It can be understood that the control module dimension of the fuzzy PID current control module is two-dimensional. The deviation e between the expected value and the actual measured value and the deviation change rate ec are fuzzy inferenced. The deviation between the ultrasonic transducer loop current and the expected current value is selected as the deviation e, and the current change rate is selected as the deviation change rate ec. The two are used as the input of the fuzzy PID current control module, ΔK p , ΔK i and ΔK d That is, the control parameter, which serves as the output of the fuzzy PID current control module.
[0109] Step S103 may specifically include:
[0110] The fuzzy PID current control module obtains a current value deviation between a loop current value of the ultrasonic transducer and an expected loop current value of the ultrasonic transducer, and a change rate of the loop current value of the ultrasonic transducer;
[0111] The fuzzy PID current control module uses a triangular function and a Gaussian function to perform fuzzy conversion on the current value deviation and the change rate of the loop current value, respectively, to obtain the fuzzified current value deviation and the change rate of the fuzzified loop current value;
[0112] The fuzzy PID current control module obtains the control parameters of the PID control module according to the fuzzified current value deviation and the change rate of the fuzzified loop current value based on a pre-established fuzzy rule table.
[0113] In this embodiment, the inventors have found through research that the selection of the membership function is very important in the process of designing the fuzzy PID current control module. Selecting a suitable membership function can improve the control accuracy of the ultrasonic welding system to a certain extent.
[0114] First, it is necessary to determine the fuzzy subsets of the current deviation (e) and the current deviation change rate (ec). The fuzzy subset mainly describes the input variables through linguistic variables, and the number of linguistic variables plays an important role in the subsequent reasoning process. When designing fuzzy linguistic variables, it is necessary to analyze them according to the actual situation. When the linguistic variables increase, the accuracy of the system may increase, but the calculation cost will also increase accordingly. On the contrary, when the linguistic variables decrease, the system speed increases, but the control accuracy decreases, deviating from the expected control effect. For systems with simple control processes, the number of linguistic variables is generally small, and most of them are selected as four. However, for more complex control systems, in order to be able to clearly and accurately express the input variables, the number of linguistic variables is usually increased. For the ultrasonic welding system, considering the engineering feasibility and accuracy, the fuzzy subsets of the current deviation and the current deviation change rate are all taken as: negative large (NB), negative medium (NM), negative small (NS), zero (Z), positive small (PS), positive medium (PM), and positive large (PB). The range of the current deviation and the current deviation change rate is set to [-3,3], and the input fuzzy quantity is divided into the set fuzzy subsets.
[0115] When fuzzy conversion is performed on the current value deviation between the loop current value of the ultrasonic transducer and the expected loop current value of the ultrasonic transducer, the triangular function and Gaussian function are mainly used. The designed membership function expression is as follows:
[0116]
[0117]
[0118] The membership function curve of current deviation is as follows: Figure 5 As shown, Figure 5 A schematic diagram of a membership function curve of current deviation provided in an embodiment of the present application.
[0119] When fuzzy conversion is performed on the rate of change of the loop current value of the ultrasonic transducer, the triangular function and Gaussian function are mainly used. The designed membership function expression is as follows:
[0120]
[0121]
[0122] The membership function curve of the current deviation change rate is as follows: Figure 6 As shown, Figure 6 A schematic diagram of a membership function curve of the current deviation change rate provided in an embodiment of the present application.
[0123] The parameters are analyzed for different current deviations and current deviation change rates, as follows:
[0124] When the current deviation is large, it means that the actual current value at both ends of the ultrasonic transducer is greatly different from the expected current value, that is, it deviates from the optimal working condition. In order to make the current respond quickly, eliminate errors, and reduce the influence of interference factors on the system, the adjustment speed of the excitation should be accelerated. At this time, K p The value of K should be large. In order to avoid integral saturation, i It should be as small as possible.
[0125] When the current deviation and the current deviation change rate are both small, the current at both ends of the ultrasonic transducer is not much different from the expected current, and fine-tuning should be performed. Then K p , K i , K d The fuzzy rules can be Z, NS and PS. At this time, the system robustness is not high, and K can be appropriately increased. p and K i To be promoted.
[0126] When the current deviation and the current deviation change rate are both zero, the focus should be on the system adjustment speed, and at the same time, it is necessary to ensure that the control target does not overshoot. p , K i and K d The setting values of the three parameters should be as medium to large as possible.
[0127] In this study, combined with the above three output parameter adjustment principles and expert experience, 49 fuzzy rule tables are summarized to describe the output variable ΔK of the ultrasonic metal welding amplitude control system under different current deviations and current deviation change rates. p , ΔK i and ΔK d The adjustment method of (i.e., control parameter) is shown in Tables 1, 2, and 3. Table 1 is ΔK p Fuzzy control rule table, Table 2 is ΔK i Fuzzy control rule table, Table 3 is ΔK d Fuzzy control rules table.
[0128]
[0129]
[0130] Table 1
[0131]
[0132] Table 2
[0133]
[0134] Table 3
[0135] In a possible implementation, after obtaining the corresponding fuzzy control parameters, the method may further include:
[0136] Defuzzifying the fuzzy control parameters using a centroid method to obtain defuzzified control parameters;
[0137] The PID control module is controlled according to the defuzzified control parameters.
[0138] Specifically, after obtaining the corresponding fuzzy control parameters, it is necessary to obtain the precise quantity, which is called defuzzification. Common defuzzification methods mainly include: centroid method, area bisection method and maximum membership method. This paper adopts the centroid method with good continuity characteristics for clarification, and its algebraic form is:
[0139]
[0140] Among them, Z pj and Z p is a domain element.
[0141] Step S104: Controlling the driving module based on the voltage compensation value and the control parameter.
[0142] After the voltage compensation value is obtained in step S102 and the control parameter of the amplitude control module is obtained in step S103, the driving module is controlled based on the voltage compensation value and the control parameter.
[0143] In a possible implementation, step S104 may specifically include:
[0144] Based on the voltage compensation value, compensating the voltage of the load of the ultrasonic transducer;
[0145] Based on the control parameter, controlling the amplitude control module;
[0146] The compensating the voltage of the load of the ultrasonic transducer and the controlling the amplitude control module are used to control the driving module.
[0147] It should be noted that since the driving module is respectively connected to the ultrasonic transducer and the amplitude control module, after compensating the voltage of the load of the ultrasonic transducer and controlling the amplitude control module, the driving module will be affected accordingly, thereby improving the stability of the ultrasonic welding system.
[0148] It can be seen from the above embodiments that the amplitude control module first inputs the detected pressure value into the pre-trained load impedance equivalent model to obtain the equivalent electrical parameters corresponding to the ultrasonic transducer, and then calculates the voltage compensation value of the load of the ultrasonic transducer based on the equivalent electrical parameters according to the current feedforward algorithm; then, based on the pre-established fuzzy rule table, the control parameters of the amplitude control module are obtained, wherein the fuzzy rule table includes the mapping relationship between the equivalent electrical parameters of the ultrasonic transducer and the control parameters of the amplitude control module, and finally, based on the voltage compensation value and the control parameters, the driving module is controlled. In the above manner, the amplitude control module can adjust the voltage in advance for compensation according to the change of the load of the ultrasonic transducer, and obtain the control parameters of the amplitude control module based on the pre-established fuzzy rule table, and control the driving module based on the voltage compensation value and the control parameters, which can improve the stability of the ultrasonic welding system.
[0149] For the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the order of the actions described, because according to the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0150] The above are some specific implementations of the control method of the ultrasonic welding system provided in the embodiment of the present application. Based on this, the present application also provides a corresponding device. The device provided in the embodiment of the present application will be introduced from the perspective of functional modularization.
[0151] See also Figure 7 , is a structural schematic diagram of a control system provided in an embodiment of the present application, the control system includes a driving module 701, an ultrasonic transducer 702 and an amplitude control module 703, and the driving module 701 is connected to the ultrasonic transducer 702 and the amplitude control module 703 respectively.
[0152] The amplitude control module 703 is used to input the detected pressure value into a pre-trained load impedance equivalent model to obtain equivalent electrical parameters corresponding to the ultrasonic transducer;
[0153] The amplitude control module 703 is further used to calculate the voltage compensation value of the load of the ultrasonic transducer based on the equivalent electrical parameters according to the current feedforward algorithm;
[0154] The amplitude control module 703 is further used to obtain the control parameters of the amplitude control module based on a pre-established fuzzy rule table, wherein the fuzzy rule table includes: a mapping relationship between the equivalent electrical parameters of the ultrasonic transducer and the control parameters of the amplitude control module;
[0155] The amplitude control module 703 is further used to control the driving module 701 based on the voltage compensation value and the control parameter.
[0156] Optionally, the amplitude control module is further used to compensate the voltage of the load of the ultrasonic transducer based on the voltage compensation value;
[0157] Based on the control parameter, controlling the amplitude control module;
[0158] The compensating the voltage of the load of the ultrasonic transducer and the controlling the amplitude control module are used to control the driving module.
[0159] Optionally, the amplitude control module includes a current feedforward control module;
[0160] The current feedforward control module is used to predict the corresponding current change value according to the change of the loop load of the ultrasonic transducer;
[0161] According to the current change value and based on the equivalent electrical parameters, a voltage compensation value of the load of the ultrasonic transducer is calculated.
[0162] It can be seen from the above technical solution that the amplitude control module in the embodiment of the present application first inputs the detected pressure value into the pre-trained load impedance equivalent model to obtain the equivalent electrical parameters corresponding to the ultrasonic transducer, and then calculates the voltage compensation value of the load of the ultrasonic transducer based on the equivalent electrical parameters according to the current feedforward algorithm; then, based on the pre-established fuzzy rule table, the control parameters of the amplitude control module are obtained, wherein the fuzzy rule table includes the mapping relationship between the equivalent electrical parameters of the ultrasonic transducer and the control parameters of the amplitude control module, and finally, based on the voltage compensation value and the control parameters, the driving module is controlled. In the above manner, the amplitude control module can adjust the voltage in advance for compensation according to the change of the load of the ultrasonic transducer, and obtain the control parameters of the amplitude control module based on the pre-established fuzzy rule table, and control the driving module based on the voltage compensation value and the control parameters, which can improve the stability of the ultrasonic welding system.
[0163] An embodiment of the present application further provides an electronic device, comprising: a memory for storing one or more programs;
[0164] Processor; when the one or more programs are executed by the processor, the control method in the above embodiment is implemented.
[0165] An embodiment of the present application further provides a computer storage medium, in which a program is stored. When the program is executed by a processor, the control method in the above embodiment is implemented.
[0166] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.
[0167] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0168] Those skilled in the art can understand that the flowchart shown in the figure is only an example in which the embodiments of the present application can be implemented, and the scope of application of the embodiments of the present application is not limited by any aspect of the flowchart.
[0169] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and equipment can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.
[0170] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0171] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
[0172] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A control method, characterized in that: Applied to an ultrasonic welding system, the system comprises a driving module, an ultrasonic transducer and an amplitude control module, the driving module is connected to the ultrasonic transducer and the amplitude control module respectively, and the method comprises: Inputting the detected pressure value into a pre-trained load impedance equivalent model to obtain equivalent electrical parameters corresponding to the ultrasonic transducer; According to the current feedforward algorithm, based on the equivalent electrical parameters, a voltage compensation value of the load of the ultrasonic transducer is calculated; Based on a pre-established fuzzy rule table, a control parameter of the amplitude control module is obtained, wherein the fuzzy rule table includes: a mapping relationship between equivalent electrical parameters of the ultrasonic transducer and the control parameter of the amplitude control module; The driving module is controlled based on the voltage compensation value and the control parameter.
2. The method according to claim 1, characterized in that: The controlling the driving module based on the voltage compensation value and the control parameter includes: Based on the voltage compensation value, compensating the voltage of the load of the ultrasonic transducer; Based on the control parameter, controlling the amplitude control module; The compensating the voltage of the load of the ultrasonic transducer and the controlling the amplitude control module are used to control the driving module.
3. The method according to claim 1, characterized in that The amplitude control module includes a current feedforward control module; The step of calculating the voltage compensation value of the load of the ultrasonic transducer based on the equivalent electrical parameters according to the current feedforward algorithm includes: The current feedforward control module predicts the corresponding current change value according to the change of the loop load of the ultrasonic transducer; The current feedforward control module calculates a voltage compensation value of the load of the ultrasonic transducer according to the current change value and based on the equivalent electrical parameters.
4. The method according to claim 3, characterized in that The construction process of the current feedforward control module includes: Determining a target operating point according to a load characteristic curve of the ultrasonic transducer; According to Taylor's formula, the target operating point is linearized to obtain a linearized model corresponding to the target operating point; According to the linearized model, a corresponding current feedforward control module is constructed.
5. The method according to claim 1, characterized in that The amplitude control module includes a fuzzy PID current control module, and the fuzzy PID current control module includes a PID control module; The control parameters of the amplitude control module are obtained based on the pre-established fuzzy rule table, including: The fuzzy PID current control module obtains a current value deviation between a loop current value of the ultrasonic transducer and an expected loop current value of the ultrasonic transducer, and a change rate of the loop current value of the ultrasonic transducer; The fuzzy PID current control module uses a triangular function and a Gaussian function to perform fuzzy conversion on the current value deviation and the change rate of the loop current value, respectively, to obtain the fuzzified current value deviation and the change rate of the fuzzified loop current value; The fuzzy PID current control module obtains the control parameters of the PID control module according to the fuzzified current value deviation and the change rate of the fuzzified loop current value based on a pre-established fuzzy rule table.
6. The method according to claim 5, characterized in that After obtaining the corresponding fuzzy control parameters, the method further includes: Defuzzifying the fuzzy control parameters using a centroid method to obtain defuzzified control parameters; The PID control module is controlled according to the defuzzified control parameters.
7. The method according to claim 1, characterized in that The load impedance equivalent model is obtained in the following way: Acquire a training data set, wherein the training data set includes pressure values of multiple ultrasonic transducers and electrical parameters of multiple ultrasonic transducers; The load impedance equivalent model is trained using the training data set, and the model parameters of the load impedance equivalent model are optimized based on a particle swarm algorithm until a model convergence condition is reached, thereby obtaining the load impedance equivalent model.
8. A control system, characterized in that: The system comprises a driving module, an ultrasonic transducer and an amplitude control module, wherein the driving module is connected to the ultrasonic transducer and the amplitude control module respectively; The amplitude control module is used to input the detected pressure value into a pre-trained load impedance equivalent model to obtain equivalent electrical parameters corresponding to the ultrasonic transducer; The amplitude control module is further used to calculate a voltage compensation value of the load of the ultrasonic transducer based on the equivalent electrical parameters according to a current feedforward algorithm; The amplitude control module is further used to obtain control parameters of the amplitude control module based on a pre-established fuzzy rule table, wherein the fuzzy rule table includes: a mapping relationship between equivalent electrical parameters of the ultrasonic transducer and control parameters of the amplitude control module; The amplitude control module is further used to control the driving module based on the voltage compensation value and the control parameter.
9. The system according to claim 8, characterized in that The amplitude control module is further used to compensate the voltage of the load of the ultrasonic transducer based on the voltage compensation value; Based on the control parameter, controlling the amplitude control module; The compensating the voltage of the load of the ultrasonic transducer and the controlling the amplitude control module are used to control the driving module.
10. The system according to claim 8, characterized in that The amplitude control module includes a current feedforward control module; The current feedforward control module is used to predict the corresponding current change value according to the change of the loop load of the ultrasonic transducer; According to the current change value and based on the equivalent electrical parameters, a voltage compensation value of the load of the ultrasonic transducer is calculated.
