# Backstepping Control with Disturbance Observer for Permanent Magnet Synchronous Motor

Authors: Yong-Hong Lan; Lei-Zhou
Journal: Journal of Control Science and Engineering
 (2018)

---

## Abstract

For the speed tracking control problem of Permanent Magnet Synchronous Motor (PMSM), a disturbance observer-based (DOB) backstepping speed tracking control method is presented in this paper. First, to reconstruct the load disturbance, a slowly time-varying disturbance observer for PMSM is constructed. Next, by stability theory, the norm of the observation error and disturbance observer design method are obtained. On the basis of these, through the designing of the virtual control input that include the reconstruction disturbances, and using backstepping control strategy, the DOB controller of the closed-loop system is proposed. The obtained controller can achieve high precision speed tracking and disturbance rejection. Finally, some results of evaluative experiments verified the effectiveness of the proposed method for high-performance control and disturbance rejection for the PMSM drive.


---

## Body

## 1. Introduction

Permanent magnet synchronous motor (PMSM) is receiving increasing attention in high-performance industrial servo applications due to its advantages such as high torque to current ratio, super power density, and fast response, as well as low noise [1, 2]. However, PMSM is a typical high nonlinear, multivariable coupled system. It is sensitive to load disturbance, unmodeled dynamics, nonlinear uncertainties, and parameter uncertainties.Over the last decades, various design methods have been developed for PMSM control systems, such as adaptive control [3], robust control [4], neural network control [5], predictive control [6], and so on. Recently, to improve the control performances in PMSM systems, much attention has been given to disturbance reject-based control method [7], which are insensitive to parameter variations and external disturbances. In [8, 9], the fractional order sliding-mode control (SMC) scheme has been proposed. The proposed control system not only obtained high control performance but also was robust against to external load disturbance and parameter variations.To further improve the disturbance rejection performance of SMC, extended sliding-mode disturbance observer was proposed in [10, 11], and the estimated system disturbance is considered as the feed forward compensation part to compensate sliding-mode speed controller. In [12], an improved SMC scheme to solve time-varying parameters and disturbances for PMSM drive system was proposed. The new speed controller was designed by the nonsingular terminal SMC strategy with the disturbance observer. In [13], a new speed controller is designed by the nonsingular terminal SMC strategy with disturbance observer. The controller can make the motor speed reach the reference value in finite time, accompanied with a faster convergence and a better tracking precision. It is worth noting that one obvious disadvantage of SMC method is the chattering phenomenon, which is caused by discontinuous control law and frequent switching action near sliding surface. Besides, as the upper bound of lumped disturbances is not easy to be determined in advance, which could cause a large amount of chattering of SMC strategy in PMSM system.Recently, disturbance observer-based (DOB) [14] control methods have been applied to PMSM system for better robustness against system disturbance. In [15], a DOB state feedback controller was designed for PMSM system. By using the same disturbance observer, a sensorless control method for PMSM drive was developed in [16]. The proposed DOBC method involved the use of a back electromotive force observer and a torque observer to estimate rotor position and compensate for load torque disturbance, respectively. For the mismatched disturbance, in [17], a DOB integral sliding-mode control approach for linear systems with mismatched disturbances was presented. The disturbance observer is proposed to generate the disturbance estimate, which can be incorporated in the controller to counteract the disturbance.Backstepping is a well-known recursive and systematic design methodology for the feedback control of uncertain nonlinear system with matched uncertainties [18]. The key point is to use the virtual control variable to make the original high-order system simple; thus the final controller can be derived through Lyapunov stable theorem. In [19], an adaptive backstepping speed controller was proposed for the speed control of PMSM. The controller is robust against stator resistance, viscous friction uncertainties, and load torque disturbance. However, this approach uses the feedback linearization. By means of a nonlinear and adaptive backstepping design method, a speed and current control scheme for PMSM was presented in [20], in which all the parameters in both PMSM and load dynamics were considered unknown. In [21], a new nonlinear and full adaptive backstepping speed tracking control scheme was developed for an uncertain PMSM. Except for the number of pole pairs, all the other parameters in both PMSM and load dynamics were assumed unknown. Taking into account the unobservable of the systems states, a backstepping control method for speed sensorless PMSM based on slide model observer was proposed in [22], in which the slide model observer was designed by using slide model control technique and phase loop lock (PLL) method. In [23], a backstepping control algorithm based on disturbance observer was proposed. The minimum-order observer was established to observe the disturbance value of load inertia. Furthermore, the estimated disturbance value was used to identify the load inertia. Based on the identification results, the backstepping controller was designed. However, the above observer and controller are designed separately.Motivated by the discussions above, in this paper, we mainly investigate backstepping speed control for PMSM based on disturbance observer. A nonlinear disturbance observer is first constructed to estimate the external slowly time-varying disturbance. Then, based on the backstepping control theory, the PMSM rotor speed and current tracking backstepping controllers are designed. Meanwhile, global asymptotic stability is guaranteed by Lyapunov stability analysis.The rest of this paper is structured as follows. In Section2, the mathematic model of PMSM and problem formulation are presented. The nonlinear disturbance observer design and stability analysis are derived in Section 3. In Section 4, the DOB backstepping controller design method is obtained. Section 5 presents the numerical simulation and experimental results. Finally, some conclusions are drawn in Section 6.


## 2. Mathematic Model of PMSM and Problem Formulation

Assume that magnetic circuit is unsaturated and hysteresis and eddy current loss are ignored. With above standard assumptions, the mathematical model of a conventional surface mounted PMSM with mismatched external disturbances can be given in thed-q frame as follows [20, 22]:(1)dωdt=3pϕf2Jiq-BJω-TLJ,diqdt=-RLiq-pωid-pϕfLω+1Luq+1Ld1,diddt=-RLid+pωiq+1Lud+1Ld2,where ω is the rotor speed, id and iq are the d-q axis currents, ud and uq are the d-q axis voltages, and di(i=1,2) are external disturbances. R and L denote the stator resistance and inductance per phase, respectively, p is the number of pole pairs, ϕf is the permanent magnet flux, J is the rotor moment of inertia, B is the viscous friction factor, and TL also represents the applied load torque disturbance.To formulate the design problem, according to system (1), the state space model of the PMSM can be rewritten as the following nonlinear system:(2)x˙t=Axt+fxt+But+η+Bdt,yt=Cxt,where x(t)=ωiqidT,u=uqudT and (3)A=-BJ3pϕf2J0-pϕfL-RL000-RL,B=001L001L,C=1,0,0,fxt=0-pωid-pωid,η=-TLJ00dt=0d1d1.For the PMSM control system (2), we give the following assumptions.Assumption 1.
The external disturbanced(t) is assumed that d(t)≤α,d˙(t)=0, where α is a positive constant.Assumption 2.
For allx1,x2∈Ω1 the nonlinear term f(x(t)) in system (2) satisfies(4)fx1-fx2≤γx1-x2,where γ is Lipschitz constant.The main control objective is to design a DOB backstepping controller to keep all the signals in the closed-loop system bounded and ensures global asymptotic convergence of the desired speed and current tracking errors to zero eventually.


## 3. Nonlinear Disturbance Observer and Stability Analysis

Motivated by the disturbance observers in [14–16], the following disturbance observer for system (2) can be employed:(5)v˙t=Λd^t+ΛB†Axt+fxt+But+η,d^t=vt-ΛB†xt,where B†=(BTB)-1BT, d^(t) is the estimation of d(t), v(t) is the internal variable vector of the observer, and Λ is a Hurwitz matrix chosen by designer. For simplicity, we assume d^(0)=0. Define the disturbance estimation error d~(t) as(6)d~t=dt-d^t.To show that the disturbance can be observed asymptotically by observer (5), we first give the following lemma.Lemma 3.
For nonlinear system (2), suppose that the disturbance observer holds form (5); then the disturbance can be observed asymptotically.Proof.
It can be obtained that(7)v˙t=Λd^t+ΛB†x˙t-Λdt,which implies that d^˙(t)=-Λd~(t). Therefore, we have(8)d~˙t=Λd~t.
Define a monochromatic Lyapunov function as(9)Vot=12d~Ttd~t.Clearly,(10)V˙ot≤d~TtΛ+ΛTd~t.Since Λ is Hurwitz, then(11)V˙ot≤2λmaxΛd~t2=-βd~t2,β>0,which implies the error dynamics (8) is asymptotically stable. This completes the proof.Remark 4.
It follows from Lemma3 that parameter Λ in the disturbance observer (5) can change the rate of convergence of the observer and should be selected as large enough.


## 4. DOB Backstepping Controller Design

In the backstepping procedure, a virtual control state is firstly defined and then it is forced to become a stabilizing function. By defining a corresponding error variable and using Lyapunov stability theory, the related control input can be obtained to stabilize the error dynamics [21]. In this paper, the overall control design can be established by three steps in the following order.Step 1.
In the first step of the backstepping control design, a fictitious control input for the rotor speedω has to be determined. Let ωr∗ be the desired trajectory. Furthermore, the trajectory of ωr∗ is sketched to be smooth and ω˙r∗=0. Define the speed tracking error eω=ωr∗-ω. The speed tracking error dynamics can be obtained as(12)eω˙=ω˙r∗-ω˙=1JBω+TL-3pϕf2iq.The first positive definite Lyapunov function can be defined as(13)V1t=12eω2+Vot.Differentiating V1(t) with respect to time and using the results of (11) and (12), the time derivative of V1(t) is given as (14)V1˙t=eωeω˙+V˙ot≤eωJBω+TL-3pϕf2iq-βd~t2.In order to stabilize the speed tracking error dynamics, define the stabilizing virtual control input:(15)iq=23pϕfBω+TL+k1Jeω,where k1>0 is a real constant. Therefore, this definition leads to (16)V1˙t≤-k1eω2-βd~t2≤0,which guarantees that the tracking error for rotor speed will converge asymptotically.Step 2.
In order to realize the complete decoupling and speed tracking of PMSM, the virtual input current can be chosen as(17)iq∗=23pϕfBω+TL+k1Jeω,id∗=0.Define the tracking error of q axis current as eq=iq∗-iq. The time derivative of eq is(18)e˙q=iq∗dt-diqdt=23pϕfBdωdt+k1Jdeωdt-diqdt=2B-k1J3PϕfJ3pϕf2iq-Bω-TL+RiqL+pωid-uqL+pϕfLω-d1~L-d1^L,where d1~+d^1=d1.
Choose the second Lyapunov function to stabilizeq axis current tracking error dynamics as(19)V2t=V1t+12eq2.By some mathematical manipulation, the time derivative of V2(t) is given by(20)V2˙t=V1˙t+eqe˙q≤-k1eω2+eq2B-k1J3pϕfJ3pϕfJ2iq-Bω-TL+RiqL+pωid-uqL+pϕfLω-d1^L-d1~Leq-βd~t2.
Setting(21)2B-k1J3pϕfJ3pϕfJ2iq-Bω-TL+RiqL+pωid-uqL+pϕfLω-d1^L=-k2eq,where k2>0 and using the generic inequality ±ab≤ε1a2+(1/4ε1)b2(ε1>0), it yields(22)V2˙t≤-k1eω2-k2eq2-d1~Leq-βd~t2≤-k1eω2-k2eq2+1Lε1eq2+14Lε1d~1t2-βd~t2=-k1eω2-C1eq2-C2d~t2,where (23)C1=k2-ε1L,C2=β-14Lε1.If parameters k2 and ε1 are properly selected such that C1>0 and C2>0, then V2˙(t)<0, which indicates the tracking error for q-axis stator current will converge asymptotically to zero.
On the other hand, from (21), the stabilizing control law uq can be designed to stabilize q axis current tracking error dynamics as follows:(24)uq∗=LBJ+RLiq-2B23pϕfJω+pϕfLω-2BTL3pϕfJ+pωid-2k12J3pϕfeω+k2eq-d^1L.Step 3.
As to design of command input forud, define the tracking error (25)ed=id∗-idwith i^d∗=0 being the desired stator current of d axis. The time derivative of ed is(26)e˙d=did∗dt-diddt=RLid-pωid-1Lud-d2~L-d2^L,where d2~+d^2=d2.
Choose the last Lyapunov function candidate as(27)V3t=V2t+12ed2, which results in(28)V3˙t=V2˙t+ede˙d≤-k1eω2-C1eq2-C2d~t2+edRLid-pωid-1Lud-d2^L-d2~Led.If the stabilizing control law for ud is defined as(29)ud∗=Rid-pLωiq+Lk3ed-d2^L,k3>0,then the following result is obtained:(30)V3˙t≤-k1eω2-C1eq2-C2d~t2-k3ed2-d2~Led.Again, based on the generic inequality, inequality (30) can be rewritten as follows:(31)V3˙t≤-k1eω2-C1eq2-C2d~t2-k3ed2+ε2Led2+14Lε2d~2t2=-k1eω2-C1eq2-k3-ε2Led2-C2-14Lε2d~t2.
If parametersk1,k2,k3 and ε1,ε2 are properly chosen to make the following conditions hold: (32)k1>0,k2-ε1L=C1>0,β-14Lε1=C2>0,k3-ε2L>0,C2-14Lε2>0,then V3˙(t)<0. Consequently, the tracking error for d-axis stator current will tend to zero eventually. The objective of tracking control of PMSM is completed.


## 5. Numerical Simulation and Experimental Results

In this section, the numerical example and experimental results are presented to demonstrate the validity of the proposed method.(  1) Numerical Simulation Results. The motor parameters used are listed in Table 1. The MATLAB/Simulink model of the proposed DOB backstepping PMSM control system is shown in Figure 1. The initial rotation speed of the motor is 1200 r/min, and the rotation speed is 1000 r/min at 0.6s. The initial load torque of the motor is 0N·m and the load disturbance torque is 10N·m at 0.8s. The parameters of the DOB-backstopping controller are selected as Λ=-180I2, ε1=ε2=0.153, k1=250, k2=500, k3=160.Table 1
The parameters of PMSM.
Parameter numerical value Pole Pairsp 3 Friction factorB(N⋅m⋅s/rad 0.001 Stator InductanceL(H) 0.0153 Rotor moment of inertiaJ(kg⋅m2) 0.0021 Permanent magnet fluxϕf(wb) 0.82 Stator ResistanceR(Ω) 0.56Figure 1
Block diagram of the proposed DOB backstepping PMSM control system.In this simulation, to illustrate the effectiveness of the proposed method, the phase traces by the conventional backstepping (BS) method [22] and the proposed DOB backstepping (DOB-BS) method are simulated and compared. The numerical simulation results are shown in Figures 2–4. Figure 2(a) indicates the actual rotation speed of the motor with BS method and the proposed DOB-BS method in the presence of the above disturbances load, respectively. Figure 2(b) shows the rotation speed response between [0.008s,0.012s], during which the PMSM motor just started. Figure 2(c) shows the rotation speed response between [0.585s,0.625s]. In this time period, the reference rotation speed has a sudden change at t=0.6s. Figure 2(d) shows rotation speed response between [0.785s,0.825s], in which the external disturbance load is added at t=0.8s. From Figure 2, it can be seen that the rotation speed of the proposed DOB-BS method can rapidly track the reference rotation speed with smaller stability error, faster response, and smaller overshoot than that of the conventional BS method.Figure 2
Rotation speed responses.
(a) (b) (c) (d)Figure 3
Three-phase stator current.Figure 4
Load torque responses.Figure3 shows the three-phase current of the stator. The current amplitude is proportional to the rotation torque and changes rapidly as the load torque varies. The current frequency is inversely proportional to the rotation speed. Figure 4 shows the variation of electromagnetic torque as the load torque changes. Obviously, the DOB-BS method gives less load torque fluctuations.(  2) Experimental Results. To evaluate the performance of the proposed method, a three-phase PMSM control system is set up. The experimental platform configuration is shown in Figure 5. The main chip of the inverter adopts the TMS320F28335 digital signal processor (DSP). The initial rotation speed of the motor is 1600 r/min, and the rotation speed is 600 r/min at 0.6s. The initial load torque of the motor is 0N·m and the load disturbance torque is 5N·m at 0.8s.Figure 5
Load torque responses.The results of the experiment are shown in Figures6–8. Figure 6(a) shows the speed response of the closed-loop system under the BS and DOB-BS schemes. It can be seen that the settling time of the DOB-BS method is shorter than that of the BS method. The experimental results of antiload disturbance of the two control schemes are shown in Figure 6(b). After the speed output of PMSM system (without load) is in the steady state, a step disturbance load, i.e., a rated torque of 10N.m at 0.8s, is added suddenly. Clearly, the DOB-BS method has a less speed drop, i.e., a better disturbance rejection capacity when the disturbance load is added.Figure 6
Rotation speed responses.
(a) (b)Figure 7
Load torque response.Figure 8
Three-phase stator current.The load torque and current responses of DOB-BS method is shown in Figures7 and 8, which illustrates the quick response and low ripple.From these results, it can be observed that the proposed DOB-BS method is effective under different operating conditions and has a better performance at most conditions than that of BS method.


## 6. Conclusion

In this paper, a disturbance observer-based (DOB) backstepping speed tracking control method has been presented for the speed tracking control PMSM. Through disturbance estimation, the DOB backstepping control strategy can achieve high precision speed tracking and disturbance rejection performance. Both simulation and experimental results have shown the effectiveness of the proposed method.



---

*Source: 4938389-2018-07-02.xml*