Gain self-tuning permanent magnet synchronous motor discrete current adjusting method
By establishing a fully discretized dual-vector model in the permanent magnet synchronous motor and designing a nominal discrete complex vector current regulator with a bandwidth factor of Kbw, combined with a gain online adaptive observer, online identification and self-tuning of multi-gain parameters are achieved to solve the problem It solves the problems of large calculation amount and insufficient robustness of high-performance vector control of permanent magnet synchronous motor, and improves the performance of the current control system.
Patent Information
- Application Number
- CN202410758746.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-13
AI Technical Summary
The existing high-performance vector control of permanent magnet synchronous motors requires a large amount of calculation and lacks robustness, making it difficult to effectively control the current in high-speed and high-power situations.
Using the discrete current regulation method of gain self-tuning, by establishing a completely discretized dual-vector model, a nominal discrete complex vector current regulator with a bandwidth factor of Kbw is designed, and combined with the gain online adaptive observer, the multi-gain parameters can be identified online and Self-tuning.
It reduces the calculation amount of high-performance vector control of permanent magnet synchronous motors, improves robustness, reduces errors in the algorithm digital implementation process, and improves the dynamic performance of the current control system.
Smart Images

Figure CN118763944A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of motor control, and in particular to a gain self-tuning permanent magnet synchronous motor discrete current regulation method. Background Art
[0002] Permanent magnet synchronous motors are widely used in aerospace, transportation and other fields due to their high efficiency, high power density and high torque density. During the operation of the motor, the current control performance of the motor is very important. Modern control methods are usually implemented in digital processors. Designing current regulators in discrete time domain can ensure its performance in the digital process. Discrete time domain current regulators can be divided into two categories: proportional (P) control and proportional-integral (PI) control. In the P control method, the commonly used method is the model-based method, but the model-based current regulator is relatively sensitive to the motor parameters. The PI control method is a good alternative. The traditional discrete time domain current regulator has better performance than the traditional continuous time domain design current regulator, but it introduces complex matrix coefficients. Introducing the complex vector principle to construct a discrete time domain complex vector PI current regulator can reduce the complexity of the regulator.
[0003] In some applications, the motor is required to have the characteristics of high speed, high power, and high power density, and the resistance and inductance parameters of the motor are small. In this regard, although the discrete time domain current regulator provides higher robustness, small parameter errors will still significantly deteriorate the performance of the current regulator. Parameter identification and self-tuning technology are effective measures to improve the performance of motor drive systems. There are three main online estimation methods: the first is a method based on artificial intelligence theory, which needs to be executed on efficient hardware. The second is a numerical method, among which the recursive least squares method is widely studied. However, this method is computationally complex, cannot guarantee convergence, and is difficult to apply to discretized models. The third method is the observer method. The sliding mode observer can solve the problems caused by the nonlinearity of the inverter and the uncertainty of the system parameters, but the sliding mode observer may cause severe chattering. The disturbance observer can suppress external interference in the servo and drive system, but it is difficult to extract individual parameters from the concentrated interference signal. Although the design process of the adaptive observer is complex, it can flexibly select the parameters that need to be adaptively adjusted, and the computational efficiency is greatly improved compared with the recursive least squares method.
[0004] Therefore, how to reduce the computational complexity of high-performance vector control of permanent magnet synchronous motors while ensuring robustness has become a topic that needs to be studied. Summary of the invention
[0005] The embodiments of the present invention provide a gain self-tuning method for regulating discrete current of a permanent magnet synchronous motor, which can reduce the amount of calculation of high-performance vector control of the permanent magnet synchronous motor while ensuring robustness.
[0006] To achieve the above object, the embodiments of the present invention adopt the following technical solutions:
[0007] A method for regulating discrete current of a permanent magnet synchronous motor with self-tuning gain, comprising:
[0008] S1. Establish a fully discretized dual-vector model of the permanent magnet synchronous motor;
[0009] S2. Obtaining a discrete time-domain current regulator according to a fully discretized dual-vector model of the permanent magnet synchronous motor;
[0010] S3. Establish a gain adaptive observer corresponding to the discrete time-domain current regulator, wherein the gain adaptive observer is used for self-tuning the gain of the discrete current of the permanent magnet synchronous motor.
[0011] In S1, it includes: S11, establishing a voltage model of the permanent magnet synchronous motor; S12, establishing a dual-vector model according to the voltage model; S13, discretizing the dual-vector model to obtain the fully discretized dual-vector model.
[0012] Specifically, in S11, the voltage model of the permanent magnet synchronous motor is:
[0013] Among them, u d is the d-axis stator voltage of the permanent magnet synchronous motor, u q is the q-axis stator voltage, i d is the d-axis stator current, i q is the q-axis stator current, R s is the motor stator resistance, L d is the d-axis stator inductance, L q is the q-axis stator inductance, ω e is the motor electrical angular velocity, is the permanent magnet flux;
[0014] In S12, the dual vector model is: Among them, u vd ,u vq are the voltage vectors of the d-axis and q-axis respectively, i vd ,i vq are the current vectors of the d-axis and q-axis respectively, and j represents an imaginary number.
[0015] The fully discretized two-vector model is: Among them, i vd is the d-axis vector current, and i vd =id +j0,i d is the d-axis stator current in the two-phase rotating coordinate system, i vq is the q-axis vector current, and i vq =0+ji q ,i q is the motor q-axis stator current in the two-phase rotating coordinate system, k represents the sampling time, k+1 represents the next time after time k, T s is the sampling period, E vd is the motor d-axis back EMF vector, and is the stator flux of the motor, E vq is the motor d-axis back EMF vector, and
[0016] In S2, it includes: using the fully discretized dual-vector model to establish a frequency domain model of the permanent magnet synchronous motor; and establishing the discrete time domain current regulator according to the frequency domain model of the permanent magnet synchronous motor.
[0017] The current regulator is designed directly in the discrete time domain, which can reduce the error of the algorithm digital implementation process. The frequency domain model of the discrete permanent magnet synchronous motor derived from the fully discretized dual vector model of the permanent magnet synchronous motor is: G vd (z) is the transfer function between the current vector and the voltage vector in the d-axis discrete time domain, G vq (z) is the transfer function between the q-axis discrete time domain current vector and the voltage vector, z -1 Indicates single shot delay, k dex , k qex , k dbl , k qbl is the coefficient related to the motor stator resistance, motor d-axis inductance and q-axis inductance, and its specific expression is:
[0018]
[0019] Based on the frequency domain model of permanent magnet synchronous motor, a bandwidth factor K is designed based on the zero-pole cancellation principle and the internal model principle. bw The nominal discrete complex vector current regulator of the discrete time domain current regulator comprises: Among them, K bw is the bandwidth factor, is the d-axis discrete time domain complex vector current regulator transfer function, is the q-axis discrete time domain complex vector current regulator transfer function, and They are k dex , k dbl , k qex , k qbl The estimated value of .
[0020] The current regulator combines the gain online self-tuning technology to further improve the dynamic performance of the current control system. The corresponding parameter adaptation law in the gain adaptive observer is:
[0021] Where: k dex0 , k dbl0 , k qex0 and k qbl0 k dex , k dbl , k qex and k qbl The initial value of a dex 、a dbl 、a qex and a qbl For the corresponding k dex , k dbl , k qex and k qbl The first type coefficients, b dex , b dbl , b qex and b qbl For the corresponding k dex , k dbl , k qex and k qbl The second type of coefficients, x dex 、x dbl 、x qex and x qbl Represents the four state variables, a dex 、a dbl 、a qex and a qbl represents the cumulative coefficient of the state variable, b dex , b dbl , b qex and b qbl represents the coefficient of the first-order term of the state variable, and α dex ,α dbl ,α qex ,α qbl >0,
[0022] The present invention provides a method for regulating the discrete current of a permanent magnet synchronous motor with gain self-tuning, establishes a discrete time domain permanent magnet synchronous motor complex vector mathematical model, designs a complex vector current regulator through zero-pole configuration and internal model principle, and proposes a method for online identification and self-tuning of multiple gain parameters. The proposed current control method can realize high-performance vector control of a permanent magnet synchronous motor, and has the advantages of small calculation amount and strong robustness. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in 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 paying creative work.
[0024] Figure 1 This is a structural diagram of a current control system provided by an embodiment of the present invention.
[0025] Figure 2 The schematic diagram of the q-axis current control system provided by the embodiment of the present invention, in which: i vqref =0+ji qref is the current reference vector; e vq =i vqref -i vq is the current error vector.
[0026] Figure 3 In the q-axis current control system provided by the embodiment of the present invention, du vq The derivation process.
[0027] Figure 4 This is a structural diagram of a nonlinear negative feedback system provided in an embodiment of the present invention.
[0028] Figure 5 A block diagram of a q-axis current control system under the online gain self-tuning technology provided by an embodiment of the present invention.
[0029] Figure 6 A comparison chart of experimental control effect results of the proposed current regulator provided in an embodiment of the present invention and a traditional current regulator. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments of the present invention will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention. It can be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "one", "said" and "the" used herein may also include plural forms. It should be further understood that the term "including" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or their groups. It should be understood that when we say that an element is "connected" or "coupled" to another element, it can be directly connected or coupled to other elements, or there may also be intermediate elements. In addition, the "connection" or "coupling" used here may include wireless connection or coupling. The term "and / or" used herein includes any unit and all combinations of one or more associated listed items. It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as generally understood by those of ordinary skill in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless defined as herein.
[0031] The embodiment of the present invention provides a method for regulating discrete current of a permanent magnet synchronous motor with self-tuning gain, which is specifically a method based on an adaptive observer, which can flexibly select parameters that need to be adaptively adjusted and has high computational efficiency. The method of this embodiment can be applied to a controller for controlling a permanent magnet synchronous motor through a computer program. Specifically, during the control process of the permanent magnet synchronous motor, the motor under test adopts the following method: Figure 1 The motor operates in the current control mode shown. The real-time three-phase current i a ,i b ,i c After Clarke transformation and Park transformation, the current i in the two-phase rotating coordinate system is obtained d ,i q .i dref As the d-axis current loop is given, the q-axis current loop i qref Given as 0, the dq axis reference current i dref 、i qref With the feedback current i d 、i qAfter the difference passes through the multi-gain online self-tuning current regulator, the output voltage u d 、u q , and then through the inverse Park transform to get u α 、u β Perform space vector modulation (SVPWM) to drive the motor to rotate. The design of this multi-gain online self-tuning current regulator specifically includes the following steps:
[0032] Step 1: Establish a fully discretized model of permanent magnet synchronous motor.
[0033] The fully discretized dual-vector model of permanent magnet synchronous motor is established as shown in formula (1):
[0034]
[0035] Where: u d is the d-axis stator voltage of the permanent magnet synchronous motor, u q is the q-axis stator voltage, i d is the d-axis stator current, i q is the q-axis stator current, R s is the stator resistance, L d is the d-axis stator inductance, L q is the q-axis stator inductance, ω e is the motor electrical angular velocity, is the permanent magnet flux.
[0036] Based on the complex vector principle, the model can be rewritten as two voltage vectors and two current vectors, thereby deriving the dual-vector model as follows:
[0037]
[0038] Where: u vd ,u vq are the voltage vectors of the d-axis and q-axis respectively, i vd ,i vq are the current vectors of the d-axis and q-axis respectively, i vd =i d +j0 and i vq =i d +j0. Discretize equation (2) into:
[0039]
[0040] Where: k represents the sampling time, E vd , E vq are the back electromotive force vectors of the d-axis and q-axis respectively. Their expressions are as follows (4):
[0041]
[0042] From formula (3), the frequency domain model of the discretized permanent magnet synchronous motor is obtained as formula (5):
[0043]
[0044] The parameters in the formula are:
[0045]
[0046] Step 2: Based on the frequency domain model (5), the bandwidth factor K is designed based on the zero-pole cancellation principle and the internal model principle. bw The nominal discrete complex vector current regulator (Current Regulator, CR) is as follows:
[0047]
[0048] in and They are k dex , k dbl , k qex , k qbl Taking the q axis as an example, its current closed-loop control system is as follows: Figure 2 As shown in the figure: i vqref =0+ji qref is the current reference vector, e vq =i vqref -i vq is the current error vector. The control system structure of the d-axis is the same as that of the q-axis.
[0049] Step 3: Design an adaptive observer.
[0050] like Figure 3 As shown, the q axis is extended to the qex axis and the qbl axis. The voltage vector du vq is decomposed into components on the qex axis and the qbl axis. Modules 1 and 2 illustrate the vq To the voltage vector du vq Modules 3 and 4 explain the development process from the current vector i vq To the voltage vector du vq development process.
[0051] du vd With vq The two synthesis methods in module 2 and module 3 are expressed as equation (7):
[0052] U(z)=K(z)I(z) (7)
[0053] in:
[0054]
[0055]
[0056] K(z)=diag(k dex ,k dbl ,k qex ,k qbl )
[0057] Where: U(z) is the voltage vector matrix, I(z) is the current matrix, K(z) is the coefficient matrix, e d is the d-axis current error, that is, e d =i dref -i d , e q is the q-axis current error, that is, e q =i qref -i q . K bw Represents the bandwidth factor.
[0058] The gain adaptive observer is designed as (8):
[0059]
[0060] in: The adaptive rate The adaptive matrix is tuned, is the voltage matrix obtained by observation, and is the voltage vector error matrix.
[0061] like Figure 4 The nonlinear negative feedback system shown is established as:
[0062]
[0063] Where: A = diag (α dex ,α dbl ,α qex ,α qbl ), diag represents the diagonal matrix, J is the unit matrix, α dex Indicates the corresponding gain k dex The state variable accumulation term coefficient, α dbl Indicates the corresponding gain k dbl The state variable accumulation term coefficient, α qex Indicates the corresponding gain k qex The state variable accumulation coefficient, α qbl Indicates the corresponding gain k qbl The state variable accumulation term coefficient.
[0064] To make the forward path strictly positive real numbers, the parameters in the coefficient matrix A need to satisfy:
[0065]
[0066] Get α dex ,α dbl ,α qex ,α qbl Need to satisfy α dex ,α dbl ,α qex ,α qbl ∈(0,1)
[0067] According to the asymptotic superstability theorem, the adaptive law is designed by solving the following inequality:
[0068]
[0069] η represents the input-output product, k1 is an integer representing a certain time, V T (k) represents the feedback amount at a certain moment, Represents the voltage vector error at a certain moment, γ0 represents the set coefficient, which is set according to the initial conditions of the system.
[0070] Formula (11) can be expanded into four functions:
[0071]
[0072] in:
[0073] represents the dex axis error voltage vector, represents the dbl axis error voltage vector, represents the qex axis error voltage vector, represents the qbl axis error voltage vector,
[0074] Finally, the adaptive law is:
[0075]
[0076] Where: k dex0 , k dbl0 , k qex0 , k qbl0 k dex , k dbl , k qex , k qbl The initial value of
[0077] α dex ,α dbl ,α qex ,α qbl >0,
[0078] b dex >-0.5a dex
[0079] b qex >-0.5a qex
[0080] b dbl >-0.5a dbl
[0081] b qbl >-0.5a qbl .
[0082] In order for (11) to hold, we have
[0083]
[0084] According to the designed adaptive rate, Figure 5 The q-axis current discrete time domain control scheme based on multi-gain online self-tuning technology is shown. The control system of the d-axis is the same as the control system of the q-axis. In order to automatically adjust the gain simultaneously and continuously, a high-frequency square wave signal is injected.
[0085] In order to verify the advantages of this current regulator, experiments were conducted with the current regulator based on disturbance observer and compared with their actual running calculation time. The experimental results showed that the code execution time of the proposed gain self-tuning method only takes 0.9μs, while the traditional method based on disturbance observer takes 2.3μs.
[0086] Figure 6 This is a comparison chart of the actual control effects of the traditional current regulator of the permanent magnet synchronous motor and the proposed discrete current regulator with gain self-tuning for experimental comparison. Under the same other experimental conditions, it can be seen from the comparison results in the figure that under the control of the proposed current regulator, the q-axis current overshoot is smaller, the d-axis current deviation extreme value is smaller, and the d-axis and q-axis current ripples are smaller. This shows that the proposed current regulator has better current regulation performance.
[0087] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The above is only a specific implementation method of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or replacements that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for regulating discrete current of a permanent magnet synchronous motor with gain self-tuning, characterized in that: include: S1. Establish a fully discretized dual-vector model of the permanent magnet synchronous motor; S2. Obtaining a discrete time-domain current regulator according to a fully discretized dual-vector model of the permanent magnet synchronous motor; S3. Establish a gain adaptive observer corresponding to the discrete time-domain current regulator, wherein the gain adaptive observer is used for self-tuning the gain of the discrete current of the permanent magnet synchronous motor.
2. The method according to claim 1, characterized in that In S1, it includes: S11, establishing a voltage model of the permanent magnet synchronous motor; S12, establishing a dual-vector model according to the voltage model; S13, discretizing the dual-vector model to obtain the fully discretized dual-vector model.
3. The method according to claim 2, characterized in that In S11, the voltage model of the permanent magnet synchronous motor is: Among them, u d is the d-axis stator voltage of the permanent magnet synchronous motor, u q is the q-axis stator voltage, i d is the d-axis stator current, i q is the q-axis stator current, R s is the motor stator resistance, L d is the d-axis stator inductance, L q is the q-axis stator inductance, ω e is the motor electrical angular velocity, is the permanent magnet flux; In S12, the dual vector model is: Among them, u vd ,u vq are the voltage vectors of the d-axis and q-axis respectively, i vd ,i vq are the current vectors of the d-axis and q-axis respectively, and j represents an imaginary number.
4. The method according to claim 3, characterized in that In S11, the fully discretized dual-vector model is: Among them, i vd is the d-axis vector current, and i vd =i d +j0,i d is the d-axis stator current in the two-phase rotating coordinate system, i vq is the q-axis vector current, and i vq =0+ji q ,i q is the motor q-axis stator current in the two-phase rotating coordinate system, k represents the sampling time, k+1 represents the next time after time k, T s is the sampling period, E vd is the motor d-axis back EMF vector, and is the stator flux of the motor, E vq is the motor d-axis back EMF vector, and 5. The method according to claim 1 or 4, characterized in that: In S2, it includes: Establishing a frequency domain model of the permanent magnet synchronous motor by using the fully discretized dual-vector model; The discrete time-domain current regulator is established according to the frequency-domain model of the permanent magnet synchronous motor.
6. The method according to claim 5, characterized in that The frequency domain model of the permanent magnet synchronous motor includes: G vd (z) is the transfer function between the current vector and the voltage vector in the d-axis discrete time domain, G vq (z) is the transfer function between the q-axis discrete time domain current vector and the voltage vector, z -1 Indicates single shot delay, k dex , k qex , k dbl , k qbl It is a parameter related to the motor stator resistance, motor d-axis inductance and q-axis inductance.
7. The method according to claim 6, characterized in that The discrete time domain current regulator comprises: Among them, K bw is the bandwidth factor, is the d-axis discrete time domain complex vector current regulator transfer function, is the q-axis discrete time domain complex vector current regulator transfer function, and They are k dex , k dbl , k qex , k qbl The estimated value of .
8. The method according to claim 7, characterized in that The 5-parameter adaptive law in the gain adaptive observer is: Where: k dex0 , k dbl0 , k qex0 and k qbl0 k dex , k dbl , k qex and k qbl The initial value of a dex 、a dbl 、a qex and a qbl For the corresponding k dex , k dbl , k qex and k qbl The first type coefficients, b dex 、b dbl 、b qex and b qbl For the corresponding k dex , k dbl , k qex and k qbl The second type coefficients, a, are set separately dex 、a dbl 、a qex and a qbl Table 10 shows the coefficients of the cumulative terms of the four state variables, b dex 、b dbl 、b qex and b qbl Represents the linear coefficients of the four state variables, x dex 、x dbl 、x qex and x qbl represents 4 state variables, and α dex ,α dbl ,α qex ,α qbl >0,
Citation Information
Patent Citations
PMSM discrete domain current regulator control method considering one-beat lag
CN108322119A
PI parameter design method of permanent magnet synchronous motor complex vector current regulator
CN111193450A
Permanent magnet synchronous motor speed sensorless model prediction control method
CN115940725A
DC magnetic connector
JP3190493U
