Permanent magnet synchronous motor current decoupling control method based on improved extended state observer
By improving the extended state observer and disturbance compensation control, the problem of poor dynamic decoupling performance and poor disturbance immunity of the permanent magnet synchronous motor current decoupling control when the inductance parameters change is solved, and complete decoupling and robustness of the current loop are achieved. Improved stickiness.
Patent Information
- Application Number
- CN202410964182.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-25
AI Technical Summary
The traditional permanent magnet synchronous motor current decoupling control results in poor dynamic decoupling performance of the current loop and poor disturbance immunity when the inductance parameters change.
An improved extended state observer (ESO) is used for current decoupling control. By establishing a voltage equation that considers parameter changes and external disturbances, an improved fal function and an improved ESO are designed, and disturbance compensation control is introduced to eliminate the dynamic coupling term of the current loop.
It achieves complete decoupling of the current loop, reduces current fluctuations, improves the system's robustness to inductor parameter changes and external disturbances, optimizes the nonlinear error processing of the fal function, and improves current tracking performance and speed control performance.
Smart Images

Figure CN118842384A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of permanent magnet synchronous motor control, and in particular to a permanent magnet synchronous motor current decoupling control method based on an improved extended state observer. Background Art
[0002] In recent years, with the continuous development of science and technology, especially the development of motor manufacturing technology, power electronics technology, automatic control technology, etc., permanent magnet synchronous motor (PMSM) has been widely used in new energy electric vehicles, renewable energy power generation, CNC machine tools and other fields due to its advantages of high power density, wide speed regulation range and small torque pulsation, and has become a research hotspot in the motor field in recent years. PMSM adopts vector control. Although static decoupling is achieved between the quadrature and direct axis voltage equations after synchronous rotating coordinate transformation, the dynamic coupling term is not eliminated. The magnitude of the coupling is related to the speed, quadrature and direct axis currents and inductance parameters. When the motor operates under complex working conditions, the cross-coupling term has strong disturbance; when the motor parameters are considered to be time-varying, the cross-coupling term has uncertainty. Therefore, studying the decoupling of d-axis and q-axis currents in the synchronous rotating coordinate system is crucial to improving the control accuracy of permanent magnet synchronous motors. Summary of the invention
[0003] The technical problem to be solved by the present invention is that the conventional permanent magnet synchronous motor current decoupling control causes poor dynamic decoupling performance of the current loop and poor anti-disturbance performance when the inductance parameter changes.
[0004] In order to achieve the above object, the technical solution of the present invention is: a permanent magnet synchronous motor current decoupling control method based on an improved extended state observer comprises the following steps:
[0005] Step 1: Establish a model of a permanent magnet synchronous motor. The permanent magnet synchronous motor control system includes a current loop controller, a speed loop controller, a coordinate transformation, a space vector pulse width modulation algorithm, and a three-phase inverter. Establish a control block diagram based on the mathematical model of the system, such as Figure 1 As shown in the figure, an improved extended state observer (ESO) decoupling control algorithm is established based on the improved fal function and introduced into the current loop controller. ref and the actual speed signal ω r It is the input signal of the speed loop PI controller and outputs the torque current i q , excitation current given value i d = 0. The three-phase stator current i of the permanent magnet synchronous motor will be collected a 、i b 、i c After Clarke transformation and Park transformation, it is converted to the synchronous rotating coordinate system.d 、i q As the feedback quantity of the current loop.
[0006] Step 2: d-axis improvement ESO outputs the current observation value of the d-axis and the perturbed observations The observed value of d-axis current and the given value i d The difference is proportionally adjusted to output the d-axis voltage u d , d-axis perturbation observation value After being converted into voltage, it is equal to the d-axis voltage u d The d-axis total voltage is superimposed; the nonlinear error function in the d-axis improved ESO is an improved fal function.
[0007] Step 3: q-axis improvement ESO outputs q-axis current observation value and the perturbed observations The observed value of q-axis current and the given value i q The difference is proportionally adjusted to output the q-axis voltage u q , q-axis perturbation observation value After being converted into voltage, it is equal to the q-axis voltage u q The superposition forms the q-axis total voltage; the nonlinear error function in the q-axis improved ESO is the improved fal function.
[0008] Step 4: D-axis total voltage u d and the total q-axis voltage u q After Park inverse transformation, we get u α 、u β ; will u α 、u β The input space pulse width modulator generates a corresponding pulse voltage, which is transmitted to the three-phase inverter switch tube to control the operation of the motor.
[0009] Step 5: The improved extended state observer design steps include establishing a permanent magnet synchronous motor voltage equation taking into account parameter changes and external disturbances, establishing d and q axis disturbance estimation equations, designing an improved fal function, designing d and q axis improved extended state observers, and stability analysis.
[0010] Further, the step 5 comprises the following steps:
[0011] Step 5.1: The voltage equation of the permanent magnet synchronous motor considering parameter changes and external disturbances is:
[0012]
[0013] Among them, u d 、u q are d and q axis voltages respectively; i d 、iq are d-axis and q-axis currents respectively; L d , L q are the d-axis and q-axis inductances respectively; R s is the stator resistance; ψ f is the permanent magnet flux; ω r is the electrical angular velocity of the rotor; ΔL d , ΔL q , ΔR s , Δψ f Indicates motor parameter L d , L q , R s and ψ f The deviation of d , ε q is the equivalence of the external disturbance and the unmodeled part; d d and d q is the uncertainty of the system.
[0014] Step 5.2: The d-axis and q-axis disturbance estimation equations are:
[0015]
[0016] Among them, f d 、f q are the estimated values of disturbances on the d and q axes respectively; b d , b q They are the reciprocals of the d-axis and q-axis inductances respectively.
[0017] Step 5.3: The design improved fal function formula is:
[0018]
[0019] Among them, δ is the interval length of the linear segment; α is the nonlinear factor; e is the error between the output value and the observed value; sign is the sign function; λ is the given input control quantity; m1 and m2 are the given values of the improved fal function.
[0020] Step 5.4: The design formula of the d-axis and q-axis improved extended state observer is:
[0021]
[0022] Among them, β1, β2, β3, β4 are gain coefficients; e d is the error between the output value and the observed value of the d-axis; e q is the error between the output value and the observed value of the q-axis; b d , b q They are the reciprocals of the d-axis and q-axis inductances respectively; is the d-axis perturbation observation value The derivative of is the q-axis perturbation observation value The derivative of .
[0023] Step 5.5: The stability analysis is proved by selecting the Routh stability criterion, as shown below:
[0024]
[0025] Among them, ρ(e d ) Improve the error gain of the fal function; the characteristic equation of the d-axis subsystem is: s 2 +β1ρ(e d )s+β2ρ(e d )s=0.
[0026] Compared with the prior art, the present invention has the following advantages and positive effects:
[0027] Based on the idea of disturbance compensation control, the present invention introduces an improved extended state observer in the current loop, regards the stator resistance voltage drop, cross-coupling terms, unmodeled parts and parameter uncertainty as disturbances, and observes and compensates for the disturbances through the improved ESO. The use of disturbance compensation decoupling control not only achieves complete decoupling of the current loop and reduces current fluctuations, but also effectively improves the robustness of the system to changes in inductance parameters and external disturbances. The nonlinear error function in the improved ESO is continuously differentiable at the switching point, and the requirements of the fal function "small error, large gain; large error, small gain" are optimized, making a certain contribution to the future development of permanent magnet synchronous motor current loop decoupling control. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 It is a block diagram of the permanent magnet synchronous motor control system of the present invention;
[0030] Figure 2 It is a block diagram of the current loop decoupling of the improved extended state observer of the present invention;
[0031] Figure 3 A comparison diagram of the fal function of the present invention and the improved fal function;
[0032] Figure 4 It is the d and q axis current response simulation diagram of the present invention;
[0033] Figure 5It is the rotation speed response simulation diagram of the present invention. DETAILED DESCRIPTION
[0034] 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.
[0035] The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
[0036] Example 1
[0037] A permanent magnet synchronous motor current decoupling control method based on an improved extended state observer comprises the following steps:
[0038] Step 1: Establish a model of a permanent magnet synchronous motor. The permanent magnet synchronous motor control system includes a current loop controller, a speed loop controller, a coordinate transformation, a space vector pulse width modulation algorithm, and a three-phase inverter. Establish a control block diagram based on the mathematical model of the system, such as Figure 1 As shown in the figure, an improved extended state observer (ESO) decoupling control algorithm is established based on the improved fal function and introduced into the current loop controller. ref and the actual speed signal ω r It is the input signal of the speed loop PI controller and outputs the torque current i q , excitation current given value i d = 0. The three-phase stator current i of the permanent magnet synchronous motor will be collected a 、i b 、i c After Clarke transformation and Park transformation, it is converted to the synchronous rotating coordinate system. d 、i q As the feedback quantity of the current loop.
[0039] Step 2: d-axis improvement ESO outputs the current observation value of the d-axis and the perturbed observations The observed value of d-axis current and the given value i d The difference is proportionally adjusted to output the d-axis voltage u d , d-axis perturbation observation value After being converted into voltage, it is equal to the d-axis voltage u d The d-axis total voltage is superimposed; the nonlinear error function in the d-axis improved ESO is an improved fal function.
[0040] Step 3: q-axis improvement ESO outputs q-axis current observation value and the perturbed observations The observed value of q-axis current and the given value i q The difference is proportionally adjusted to output the q-axis voltage u q , q-axis perturbation observation value After being converted into voltage, it is equal to the q-axis voltage u q The superposition forms the q-axis total voltage; the nonlinear error function in the q-axis improved ESO is the improved fal function.
[0041] Step 4: D-axis total voltage u d and the total q-axis voltage u q After Park inverse transformation, we get u α 、u β ; will u α 、u β The input space pulse width modulator generates a corresponding pulse voltage, which is transmitted to the three-phase inverter switch tube to control the operation of the motor.
[0042] Example 2
[0043] A permanent magnet synchronous motor current decoupling control method based on an improved extended state observer comprises the following steps:
[0044] Step 1: The stator resistance voltage drop, cross-coupling terms, unmodeled parts, and parameter uncertainties are considered as disturbances and observed and compensated using the improved extended state observer, as shown in Figure 2 As shown. After using disturbance compensation control, the PMSM system is simplified to a first-order integral link, so that the current loop regulator is simplified to pure proportional control, avoiding the influence of integral saturation. The improved extended state observer structure mainly includes the following parts:
[0045] Step 1.1: The voltage equation of the permanent magnet synchronous motor considering parameter changes and external disturbances is:
[0046]
[0047] Among them, u d 、u q are d and q axis voltages respectively; i d 、i q are d-axis and q-axis currents respectively; L d , L q are the d-axis and q-axis inductances respectively; R s is the stator resistance; ψ f is the permanent magnet flux; ω r is the electrical angular velocity of the rotor; ΔL d , ΔL q , ΔR s , Δψf Indicates motor parameter L d , L q , R s and ψ f The deviation of d , ε q is the equivalence of the external disturbance and the unmodeled part; d d and d q is the uncertainty of the system.
[0048] Step 1.2: The d-axis and q-axis disturbance estimation equations are:
[0049]
[0050] Among them, f d 、f q are the estimated values of disturbances on the d and q axes respectively; b d 、b q They are the reciprocals of the d-axis and q-axis inductances respectively.
[0051] Step 1.3: The expression of the traditional nonlinear fal function is:
[0052]
[0053] Among them, δ is the interval length of the linear segment; α is the nonlinear factor; e is the error between the output value and the observed value; sign is the sign function.
[0054] The fal function is analyzed and improved, and the improved fal function is recorded as ufal function. According to the expression of the fal function, α determines the nonlinearity of the fal function. The larger the value of α, the weaker the nonlinearity; δ determines the nonlinear interval of the fal function. The larger the value of δ, the smaller the nonlinear interval. When |e|=δ, although the fal function is continuous, it is not differentiable, and the sudden change of the derivative may cause the performance of the system to deteriorate; when |e|>1, the larger the value of α, the final system gain will become relatively large, which does not meet the requirements of "large error, small gain" of the self-disturbance rejection control. Therefore, after a simple analysis of the fal function, and according to the requirements of "small error, large gain; large error, small gain" of the self-disturbance rejection control, the fal function is redesigned, and its specific expression is:
[0055]
[0056] in:
[0057]
[0058] Among them, δ is the interval length of the linear segment; α is the nonlinear factor; e is the error between the output value and the observed value; sign is the sign function; λ is the given input control quantity; m1 and m2 are the given values of the improved fal function.
[0059] Step 1.4: Draw the curves of the fal function and the ufal function for comparison, as shown in Figure 3 As shown in the figure, the values of α and δ are both 0.5, and the value of λ is 0.2. Figure 3 It can be seen that when |e|≤δ, |fal|≤|ufal|, that is, the ufal function can enable the system to obtain a larger gain under the condition of small error, so it meets the requirements of "small error, large gain" for ADRC; when |e|=δ, the ufal function is smooth at this point, that is, the ufal function is continuous and differentiable at this point; when |e|>1, within the limited error range that the system can produce, as long as the control quantity λ is selected appropriately, it can meet the requirements of "large error, small gain" for ADRC.
[0060] Step 1.5: Apply the improved fal function, i.e., ufal function, to the improved extended state observer of the d and q axes. Consider the permanent magnet synchronous motor current loop to be equivalent to a first-order inertia link, and set the improved ESO to the second order, and its expression is:
[0061]
[0062] Among them, β1, β2, β3, β4 are gain coefficients; e d is the error between the output value and the observed value of the d-axis; e q is the error between the output value and the observed value of the q-axis; b d , b q They are the reciprocals of the d-axis and q-axis inductances respectively; is the d-axis perturbation observation value The derivative of is the q-axis disturbance observation value The derivative of .
[0063] Step 1.6: The ESO of the two subsystems of the d and q axes are independent of each other and have the same expression. Therefore, the Routh stability criterion is selected for the stability analysis of the d axis to prove it, as shown below:
[0064]
[0065] Among them, ρ(e d ) Improve the error gain of the fal function; the characteristic equation of the d-axis subsystem is: s 2 +β1ρ(e d )s+β2ρ(e d)s=0, the system characteristic equation is second order. The controller parameters β1 and β2 selected by the present invention are both greater than 0, and the system error ρ(e d ) gain is also greater than 0. According to the Routh stability criterion, the designed d-axis improved ESO is stable. Similarly, it can be proved that the q-axis improved ESO is also stable.
[0066] Step 2: If Figure 4 As shown, the system takes i d =0 control strategy, the motor speed is set to a constant speed of 1500r / min, the load torque suddenly increases by 0.32N·m at 0.2s, and the inductance parameter used in the controller is set to 1.5 times the nominal value, that is, L * =1.5L. By comparing the d-axis and q-axis current response waveforms of the traditional ESO current decoupling control and the improved ESO decoupling control, the improved ESO decoupling control can eliminate the mutual coupling of the d-axis and q-axis currents when the inductance parameters change, effectively improve the current tracking performance, and significantly reduce the q-axis overshoot and d-axis current fluctuation, with excellent decoupling effect.
[0067] Step 3: If Figure 5 As shown, the system takes i d =0 control strategy, the motor speed is set to a constant speed of 1500r / min, the load torque is suddenly increased to 0.32N·m at 0.2s, and the load torque is suddenly reduced to 0N·m at 0.4s, in order to simulate the uncertainty disturbance of the motor during speed regulation. Figure 5 It can be seen that the use of the improved ESO decoupling controller can significantly reduce the speed overshoot and enhance the control performance of the motor speed.
[0068] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A permanent magnet synchronous motor current decoupling control method based on an improved extended state observer is characterized in that: The following steps are involved: Step 1: Establish a model of a permanent magnet synchronous motor, wherein the permanent magnet synchronous motor control system includes a current loop controller, a speed loop controller, a coordinate transformation, a space vector pulse width modulation algorithm, and a three-phase inverter. According to the mathematical model of the system, a control block diagram is established, as shown in Figure 1. According to the improved fal function, an improved extended state observer (ESO) decoupling control algorithm is established and introduced into the current loop controller. ref and the actual speed signal ω r It is the input signal of the speed loop PI controller and outputs the torque current i q , excitation current given value i d = 0. The three-phase stator current i of the permanent magnet synchronous motor will be collected a 、i b 、i c After Clarke transformation and Park transformation, it is converted to the synchronous rotating coordinate system. d 、i q As the feedback quantity of the current loop. Step 2: d-axis improvement ESO outputs the current observation value of the d-axis and the perturbed observations The observed value of d-axis current and the given value i d The difference is proportionally adjusted to output the d-axis voltage u d , d-axis perturbation observation value After being converted into voltage, it is equal to the d-axis voltage u d The d-axis total voltage is superimposed; the nonlinear error function in the d-axis improved ESO is an improved fal function. Step 3: q-axis improvement ESO outputs q-axis current observation value and the perturbed observations The observed value of q-axis current and the given value i q The difference is proportionally adjusted to output the q-axis voltage u q , q-axis perturbation observation value After being converted into voltage, it is equal to the q-axis voltage u q The superposition forms the q-axis total voltage; the nonlinear error function in the q-axis improved ESO is the improved fal function. Step 4: D-axis total voltage u d and the total q-axis voltage u q After Park inverse transformation, we get u α 、u β ; will u α 、u β The input space pulse width modulator generates a corresponding pulse voltage, which is transmitted to the three-phase inverter switch tube to control the operation of the motor.
2. The current decoupling control method of a permanent magnet synchronous motor based on an improved extended state observer according to claim 1 is characterized in that: The improved extended state observer design steps include establishing a permanent magnet synchronous motor voltage equation that takes into account parameter changes and external disturbances, establishing d and q axis disturbance estimation equations, designing an improved fal function, designing d and q axis improved extended state observers, and stability analysis.
3. The current decoupling control method of a permanent magnet synchronous motor based on an improved extended state observer according to claim 2 is characterized in that: The formula for establishing the voltage equation of the permanent magnet synchronous motor considering parameter changes and external disturbances is: Among them, u d 、u q are d and q axis voltages respectively; i d 、i q are d-axis and q-axis currents respectively; L d , L q are the d-axis and q-axis inductances respectively; R s is the stator resistance; ψ f is the permanent magnet flux; ω r is the electrical angular velocity of the rotor; ΔL d , ΔL q , ΔR s , Δψ f Indicates motor parameter L d , L q , R s and ψ f The deviation of d , ε q is the equivalence of the external disturbance and the unmodeled part; d d and d q is the uncertainty of the system.
4. The method for current decoupling control of a permanent magnet synchronous motor based on an improved extended state observer according to claim 2, characterized in that: The formula for establishing the d-axis and q-axis disturbance estimation equations is: Among them, f d 、f q are the estimated values of disturbances on the d and q axes respectively; b d 、b q They are the reciprocals of the d-axis and q-axis inductances respectively.
5. The current decoupling control method of a permanent magnet synchronous motor based on an improved extended state observer according to claim 2 is characterized in that: The design improved fal function formula is: Among them, δ is the interval length of the linear segment; α is the nonlinear factor; e is the error between the output value and the observed value; sign is the sign function; λ is the given input control quantity; m1 and m2 are the given values of the improved fal function.
6. The method for current decoupling control of a permanent magnet synchronous motor based on an improved extended state observer according to claim 2, characterized in that: The design formula of the d-axis and q-axis improved extended state observer is: Among them, β1, β2, β3, β4 are gain coefficients; e d is the error between the output value and the observed value of the d-axis; e q is the error between the output value and the observed value of the q-axis; is the d-axis perturbation observation value The derivative of is the q-axis disturbance observation value The derivative of .
7. The method for current decoupling control of a permanent magnet synchronous motor based on an improved extended state observer according to claim 2, characterized in that: The stability analysis is proved by Routh stability criterion, as shown below: Among them, ρ(e d ) is to improve the error gain of the fal function; the characteristic equation of the d-axis subsystem is: s 2 +β1ρ(e d )s+β2ρ(e d )s=0.
Citation Information
Cited By
Active-disturbance-rejection control method and system for suppressing periodic disturbance of permanent magnet synchronous motor
CN121150539A
Current dynamic coupling correction method for permanent magnet synchronous motor of electric drive axle system
CN121239087A
Cross-segment current prediction control method of segmented winding permanent magnet linear synchronous motor
CN122660502A
