Abstract
Precise current decoupling is required to achieve good control performance in the vector control of permanent magnet synchronous motor (PMSM), but traditional decoupling methods are unable to solve the problem of poor current decoupling effectiveness when the system inductance parameters are mismatched. Therefore, a decoupling control method of PMSM based on improved nonlinear extended state observer (INESO) is proposed in this paper. Firstly, a smooth, differentiable nonlinear function is used to replace the traditional fal function, which overcomes the problem of discontinuous gain changes. Secondly, a time-varying gain is designed to address the problem of reduced observer performance due to differential peak values in traditional NESO. Finally, the stability of INESO and the current loop closed-loop system is proven, followed by simulation and experimental verification. The simulation and experimental results show the proposed method effectively observes and compensates for system uncertainties, including parameter perturbations, external disturbances, and unmodeled dynamics. This method achieves complete decoupling of d and q-axes currents, while suppressing interference and enhancing the control performance of PMSM. The proposed INESO decoupling method reduces the d-axis current fluctuation about 96% and 90% when the load changes abruptly under motor inductance parameter mismatch, and can reduce q-axis current fluctuation about 88% and 78% when the d-axis current steps, respectively, compared with the conventional Current Feedback Decoupling Control (CFDC) and CDDC decoupling methods.
Keywords
1. Introduction
Permanent magnet synchronous motor (PMSM) has gradually become the mainstream driving motor in the industrial sector, due to its unique advantages (Kommuri et al., 2016; NP and K, 2015). The vector control technology is applied in PMSM control, which can realize simple and efficient direct independent control of torque and flux by decomposing the stator current of the motor into the excitation component and the torque component through the rotation coordinate transformation. However, there is a cross-coupling phenomenon between the d and q-axes currents of PMSM in the synchronous rotating coordinate system, especially under high speed or heavy load conditions, which may cause torque oscillation and seriously affect the dynamic and steady-state performance (Yepes et al., 2014).
In recent years, researchers have developed several methods to solve the problem of coupling between d and q-axes currents in PMSM, which can be mainly divided into three categories (Fu et al., 2022): diagonalization decoupling (Hussain, 2021; Xia et al., 2012), inverse system decoupling (Sun et al., 2016; Xie and Xie, 2020; Zhang et al., 2021), and anti-interference decoupling (Chen et al., 2021; Xu et al., 2022; Yang et al., 2020). Current Feedback Decoupling Control (CFDC) was proposed earlier (Morimoto et al., 1994), which can improve the current coupling problem under certain conditions by calculating the compensation coupling amount from current and speed information of PMSM. However, when the system parameters of PMSM change, it is difficult to achieve complete decoupling. Harnefors and Nee (1998) propose an internal decoupling model control method, which has a better performance compared with feedback decoupling, but with underdamped oscillation at the working frequency of PMSM. Zhu et al. (2010) propose a Current Deviation Decoupling Control (CDDC) method, which is essentially similar to internal model decoupling control with same limitations. Reverse system decoupling (Li et al., 2020) has low dependence on the motor model and strong algorithm robustness, but the implementation of reverse system decoupling requires the inverse system model of the system, and the modeling algorithm is too complex to achieve practical engineering applications.
Anti-interference decoupling, which regards the coupling of d and q axes as disturbance for observation and compensation, has been widely studied. Li et al. (2015) incorporate the Luenberger Observer based on CDDC, which can solve the problem of incomplete decoupling when inductance parameters change. However, there is a problem of insufficient stability and robustness in the observer. In the work of Liu et al. (2020), a combination of sliding mode observer and CDDC is introduced to achieve dynamic decoupling. It maintains good current decoupling even when there are changes to the system's inductance parameters. However, the design of the whole decoupling control system is more complicated with multiple parameters to be adjusted. Zeng et al. (2017) introduced a nonlinear extended state observer (NESO) to replace the PI controller for observing and compensating the coupling between the current loop's d and q-axes, which improves anti-interference performance. However, the traditional NESO's fal function is a piecewise function, and the sudden change of the switch point gain can easily cause tremors, affecting the system's dynamic performance, and there are relatively many parameters that need to be adjusted.
An anti-interference PMSM current decoupling method based on an improved nonlinear extended state observer (INESO) is proposed in this paper, which can improve the decoupling performance of d and q-axes currents. Continuous variation of error feedback correction gain is achieved through adopting a smooth and continuously differentiable feedback nonlinear function in INESO. Moreover, a larger error gain is obtained in the “small error interval” to speed up error convergence, while a smaller error gain is achieved in the “large error interval” to avoid overshoot. The problem of differential peak values that commonly occur when the initial state of the ESO status and the system's initial state differ significantly is overcome, through introducing of the hyperbolic tangent function. Finally, the performance of the proposed anti-interference decoupling method in this paper is verified through simulations and experiments.
2. PMSM current decoupling control method
2.1. Mathematical model of PMSM
The equations for the d and q-axes currents in the synchronous rotating coordinate system are
In equation (1), i d and i q represent the d and q-axes currents respectively. u d and u q represent the d and q-axes voltages separately. L d and L q represent the d and q-axes inductances respectively. ω e is the rotor electrical angular velocity, R s is the stator resistance, and ψ f is the permanent magnet flux linkage.
The Laplace transform of equation (1) yields
As shown in equation (2), there is a cross-coupling term exists between the d and q-axes that is proportional to the electrical angular velocity. This coupling effect becomes more pronounced as the motor speed increases. Without effective decoupling of the cross-coupling term, it can significantly impact the dynamic performance of the control system.
2.2. Current feedback decoupling control
Current Feedback Decoupling Control diagram is shown in Figure 1, where G(s) is the transfer function of the PI controller, G(s) = K
p
+K
i
/s, where 1/(R
s
+Ls) is the actual model of the controlled object, L
d
= L
q
= L, CFDC block diagram.
According to the block diagram of CFDC in Figure 1, it is obtained that
From equation (3), the d and q-axes current expressions can be obtained as follows:
Among them:
gdd1/Δ1 and gqq1/Δ1 are transfer functions of d and q-axes current controllers respectively, gdq1/Δ1 and gqd1/Δ1 are cross-coupling transfer functions between the two systems. By analyzing the two coupling transfer functions, it can be deduced that complete decoupling can only be achieved when the CFDC coupling transfer function Bode diagram.
As shown in Figure 2, when the inductor parameters are mismatched, the amplitude-frequency gain is lower and decreases continuously in the high frequency band, and the decoupling effect between the d and q-axes is better. When in the low and middle frequency bands, the amplitude-frequency gain has a larger amplitude, leading to larger current coupling between the two subsystems, which indicates that CFDC cannot effectively solve the problem of current coupling between the d and q-axes.
2.3. Current deviation decoupling control
The CDDC takes the difference between the reference current and the feedback current as the control variable, which is superimposed with the controller generated by the PI controller to realize the decoupling control of the current. The CDDC block diagram is shown in Figure 3. CDDC block diagram.
From Figure 3:
The equation (6) can be written as follows:
Of which:
Using CDDC equivalent block diagram.
From Figure 4, the parameters in equation (8) can be written as
As shown equation (10), the decoupling transfer function is 0 when Bode diagram of the CDDC coupling transfer function.
Compared with CFDC as shown in Figure 2, CDDC in Figure 5 has a significantly better decoupling effect. However, the transfer function of CDDC exhibits resonance at operating frequency of motor, which causes the amplitude frequency increasing rapidly with a deteriorating decoupling effect and underdamped oscillations. Both CFDC and CDDC cannot effectively solve the problem of severe current coupling between the d and q-axes when there is a mismatch in inductance. It is necessary to develop a better decoupling method for PMSM control to achieve complete decoupling of currents and improve the motor’s dynamic performance.
3. Design of nonlinear extended state observer
3.1. Nonlinear extended state observer
It is evident that traditional current decoupling methods exhibit good decoupling effects when the motor operates under ideal conditions. However, parameter perturbations are inevitable during the practical operation of PMSM. Unmodeled dynamics and external disturbances during the motor’s operation can significantly impact the system’s dynamic response and robustness. In such cases, traditional decoupling methods often struggle to provide effective solutions. A nonlinear extended state observer (NESO) can be introduced in PMSM control, which should improve the current decoupling effect and enhance the control performance.
The PMSM model that considers the influence of parameter perturbations, external disturbances, and unmodeled dynamics is shown as below.
Considering the total disturbance f
q
as an expansion state variable of the system and setting the state variables x1 = i
q
, x2 = f
q
, then
To obtain observations of x1, x2, the NESO can be designed as
Among of them:
As shown in equation (16), the nonlinear error feedback function for NESO should switch between two expressions based on different errors. The non-differentiability at the switching point causes sudden changes in gain, which easily leads to oscillation problems and affects the performance of the observer. Additionally, there are many parameters, which increase the difficulty of tuning.
3.2. The INESO design
The selection of nonlinear error gain function in NESO directly affects the observation accuracy of NESO and has an important influence on the decoupling performance. The Lfal function is designed, as shown in equation (17). Nonlinear error correction curve graph.
As shown in Figure 6, compared with fal, Lfal has a greater gain in the small error interval while having a smaller gain in the large error interval. Additionally, Lfal maintains a continuous gain characteristic, which realizes the design concept of “small gain for large errors” and “large gain for small errors.”
As shown in equation (15), when the difference between the initial values of the system state x1 and ESO state
t indicates the time, t > 0. λ1 and λ2 are adjustment factors greater than 0. The time-varying gain a1 and a2 values are small in the initial state, for the purpose of suppressing the observer's initial state differential peaks due to the inherent characteristics of the hyperbolic tangent function. a1 and a2 are gradually approach β1 and β2 after the initial state, respectively. The design of the d-axis INESO follows the same steps. Figure 7 shows the decoupling principle diagram corresponding to the expression for q-axis INESO. Schematic diagram of the q-axis current loop INESO decoupling.
3.3. INESO stability analysis
The INESO parameter settings are as follows: according to the bandwidth method (Gao, 2003), A large enough bandwidth ω0 ensures that the dynamic response of the INESO is rapid enough to track disturbance changes, which is limited by noise and cannot be too large. The choice of ω0 requires a compromise between system performance and resistance to sampling noise. ω0 = 3000 rad/s is chosen, β1 = 2ω0, β2 = ω02. A larger K can speed up the error convergence speed and improve the system immunity, but also make the system chattering, integrated immunity and chattering influence. K1 = K2 = 0.1 is selected. The adjustment coefficient λ affects the difference between the initial state value of the system and the initial state value of INESO, and the differential peak at the initial moment is suppressed by adjusting the magnitude of λ. In this paper, λ1 = λ2 = 20.
Stability analysis is conducted using the q-axis INESO as an example, and the d-axis can be proven in the same way. Equivalent transformation of Lfal functions in equation (18).
ρ1 (e
q
), ρ2 (e
q
) are the error scaling factors. Because K1 = K2, ρ1 (e
q
) = ρ2 (e
q
) = ρ(e
q
), and equation (18) can be rewritten as
Equation (21) can be regarded as a variable gain linear system, which can be written as follows.
Both sides of equation (22) are integrated at the same time, and then Laplace transform of equation (22)is performed to obtain:
After sorting out equation (23), we can get:
Choose K1 = K2 = 0.1, then
It is easy to know that ρ (e q ) is bounded within the global range of errors, then a1ρ (e q ), a2ρ (e q ) are varying within a certain range, and its stability can be proved using the root trajectory method according to Li et al. (2016).
From equation (24), the characteristic equation is obtained as
The Routh table for equation (26) is
Then, according to the Routh stability criterion, the system stability condition is
From equations (25) and (19), ρ(e q ) > 0, a1, a2 are positive, so the INESO designed in this paper is stable.
3.4. Analysis of INESO observation errors
Firstly, the q-axis observation error equation is obtained by equation (18) minus equation (14):
The observation error in equation (29) converges to zero when the system reaches the steady state, and
Obviously, as long as a2 is much larger than
3.5. System stability analysis
The expression of the q-axis closed-loop control system can be obtained from Figure 7:
Substituting equation (24) into equation (31) to obtain the transfer function of the q-axis closed-loop system:
From equation (32), the characteristic equation of the system is
List its Routh table:
The Routh stability conditions are:
In this paper, a1, a2, K
p
, and b
q
are positive, then it is sufficient to prove that
As shown in equation (30), the system will be in steady state when |e
q
| < .5, from equation (25), ρ > 1. β1 = 2ω0, β2 = ω02, ω0 = 3000 rad/s, so β2<β12. Because λ1 = λ2 = 20, from equation (19), we can see that a2<a12. Therefore, it can be concluded that
The q-axis closed-loop system is stable from equations (35) and (37), and the d-axis closed-loop system is also stable.
4. Simulation verification
Parameters of permanent magnet synchronous motor.
4.1. Current response to sudden load torque change
To better compare the performance of the three current decoupling schemes, the speed control loop adopts traditional PI controllers with proportional integral gains of 0.02 and 0.5, respectively. The inductance of PMSM is set to 1.2 times and 0.8 times the nominal value to simulate the situation of inductance mismatch. Figure 8 shows the current response waveforms for CFDC, CDDC, and INESO separately, when the PMSM is subjected to sudden increase and decrease of 0.3 N·m load. Table 2 is the numerical results of motor current fluctuation under three decoupling strategies. The current response of PMSM under three decoupling control strategies with sudden load changes, (a) CFDC, (b) CDDC, and (c) INESO. The simulation results of three current decoupling methods when the load changes suddenly.
As shown in Figure 8(a) and (b), the CFDC and CDDC decoupling schemes are greatly affected by variation of inductance. When the load torque of PMSM change, the step response of the q-axis current shows an obvious overshoot, and the d-axis current changes greatly. However, for the proposed INESO decoupling strategy, the step response the of q-axis current does not show significant overshoot, and the d-axis current is not significantly affected by the q-axis current overshoot when the load changes, which indicates that INESO decoupling has strong robustness and good decoupling characteristics.
From Tables 2, it can be seen that the decoupling effect of INESO is significantly better than that of CFDC and CDDC under the two working conditions.
4.2. Current response during sudden changes in the d-axis current
Figure 9 shows the q-axis current waveform under CFDC, CDDC and INESO when there is a sudden change in the d-axis current of PMSM. As shown in Figure 9(a), there is a significant instantaneous error in the CDDC decoupling method in the q-axis current during the mismatch of inductance in PMSM. The coupling between d and q-axes is reduced with significant current fluctuations. The q-axis current remains stable when there is a sudden change in the d-axis current of PMSM with INESO control, which indicates a better decoupling ability. Current response under three decoupling strategies for sudden changes in d-axis current (a) CFDC (b) CDDC (c) INESO.
The simulation results of three current decoupling methods when the d-axis current suddenly changes.
4.3. Current response during sudden changes in q-axis current in current loop mode
Keep the PMSM operating at a constant speed of 1000 r/min, with a given value d-axis current i
d
= 0. The response waveforms of the d-axis current under CFDC, CDDC, and INESO are verified in the case of sudden changes in the q-axis current. Figure 10 shows the waveforms of the d-axis current variation corresponding to the sudden change of the q-axis current in the current loop mode under CFDC, CDDC and INESO. Current response under three decoupling strategies for sudden changes in q-axis current (a) CFDC, (b) CDDC, and (c) INESO.
In Figure 10(a), the sudden change in the q-axis current caused a large transient change in d-axis current of PMSM under CFDC control. Subsequently, due to the presence of coupling, the current amplitude remained larger than before. In Figure 10(b), although the fluctuation in d-axis current reduced, oscillations occurred after the sudden change in q-axis current of PMSM under CDDC control. In Figure 10(c), different changes in q-axis current step under different inductance parameters did not have a significant effect on d-axis current of PMSM under INESO control, which indicates that the cross-coupling problem between the two axes has been properly solved.
The simulation results of three current decoupling methods when the q-axis current changes abruptly.
Through analysis of the simulation results under the three different conditions mentioned above, it can be easily observed that the proposed INESO decoupling has strong decoupling ability, and has good decoupling effect under different parameter conditions and operating conditions. The d and q-axes current are stable, and the dynamic performance of the PMSM control system is improved.
5. Experimental verification
As shown in Figure 11, an experimental platform based on dSPACE1202 was set up to verify the decoupling effect of INESO. The parameters of the PMSM and the switching frequency of the inverter used in the experiment were the same as those in the simulation, and the voltage of the DC bus was also the same. The sampling time for both the current control loop and the speed control loop was 0.0001 s. Physical diagram of the experimental platform.
5.1. Experiment on sudden change of load torque
As shown in Figure 12(a), the q-axis current of PMSM has obvious chattering with CFDC control. When the load torque changes suddenly, the q-axis current chattering is more severe, and the d-axis current also changes significantly. As shown in Figure 12(b), the chattering and coupling of d and q-axes current of PMSM are improved with CDDC control. However, the d and q-axes currents still have obvious coupling. As shown in Figure 10(c), the q-axis current of PMSM is stable without obvious chattering with INESO control, and the d-axis current is almost unaffected when the q-axis current suddenly changes. Current response to sudden load changes (a) CFDC, (b) CDDC, and (c) INESO.
The experimental results of three current decoupling methods when the load changes suddenly.
5.2. Current response during d-axis current abrupt changes
Figure 13(a) shows the experimental results of d and q-axes current of PMSM with CFDC decoupling when there is a sudden change in the d-axis current. Both the sudden increase and decrease occur in the d-axis current, with a momentary error of around 0.1 A due to variations of inductance of PMSM. There is still a significant coupling between the d- and q-axes. As shown in Figure 13(b), the cross-coupling between the d- and q-axes current of PMSM is reduced with CDDC control. However, the change in the d-axis current results in oscillation of q-axis current. Current waveform with sudden change in d-axis current (a) CFDC, (b) CDDC, and (c) INESO.
As shown in Figure 13(c), the step change of the d-axis current with different inductance parameters, the q-axis current of PMSM does not change significantly with the INESO decoupling strategy, The complete decoupling between d and q-axes can be realized in PMSM control with INESO, which can suppress the torque fluctuation.
The experimental results of three current decoupling methods when the d-axis current changes abruptly.
6. Conclusions
An INESO decoupling control method for PMSM is proposed in this paper, which has some unique features compared with CFDC and CDDC. The conclusions are summarized as follows (1) CFDC effect is sensitive to inductance changes, and the dynamic decoupling performance is poor. When the inductance parameters are mismatched, complete decoupling of the d and q-axes cannot be achieved. (2) CDDC, similar to CFDC, does not get rid of the limitation of static decoupling. Compared with CFDC, the decoupling performance is improved, but the phenomenon of underdamped shocks appears. (3) INESO can realize the dynamic and static decoupling of the d and q-axes of PMSM, overcome the defects of CFDC and CDDC, solve the problem of coupling damage in PMSM vector control, and improve the dynamic and steady-state performance of PMSM.
In addition, the decoupling effect of INESO is affected by multiple parameters, and the parameter setting principle that takes into account the decoupling effect and anti-interference needs to be further explored to simplify the difficulty of parameter tuning and improve the performance of the current loop.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This research was funded by “The overseas study visit and training program for out-standing young backbone talents of Anhui Province, grant number gxgwfx2021035,” “The innovation team of Anhui Polytechnic University,” “Graduate Student Innovation Project of Anhui Province, grant number 2022xscx097,” “Anhui Polytechnic University-Jiujiang District Industrial Collaborative Innovation Special Fund Project, grant number 2022cyxtb4” and Anhui Future Technology Research Institute Enterprise Cooperation Project, grant number 2023qyhz16.
