You are on page 1of 6

Robust Backstepping Sensorless Speed Control of PMSM Using

Cascaded Sliding Mode and High Gain Observers


Muhammad Azhar Iqbal and Attaullah Y. Memon
National University of Sciences and Technology (NUST), Karachi, Pakistan
muhammad.iqbal2015@pnec.nust.edu.pk;attaullah@pnec.nust.edu.pk

Abstract— In this work we implement a Sensorless speed In this Sensorless control only stator current and voltage
control for three phase Permanent Magnet Synchronous will be available for feedback. Due to nonlinear and
Motor (PMSM) using the Backstepping Control. Only stator multivariable motor dynamics such problem is rather
currents and voltages are used for feedback to design a non difficult to solve because controlled output (speed) that has
linear control algorithm which tracks the speed of PMSM with to track a reference signal of bounded nature does not match
parametric uncertainties and under varying load. A
continuous sliding mode observer (SMO) based on sigmoid
with the measured output that is the stator currents [1]. The
function is used for rotor position estimation in cascade with load torque is usually an unknown parameter and typically
an extended high gain observer (EHGO) for robust speed depends on the application.
estimation that reduces chattering phenomenon and improve A lot of research has been carried out on Sensorless Speed
accuracy. This removes the requirement of filter and phase Control of PMSM and is still a hot topic of research.
delay compensation. For control of speed, current tracking Different control schemes have been used for Sensorless
backstepping controllers are designed which show excellent speed control of PMSM using Adaptive observers [1],
tracking of reference speed and are prone to parametric Sliding mode Control [2], [3], Extended Kalman Filter [4],
uncertainties. Finally the simulation results validate the MRAS (Model Reference Adaptive System) [5], signal
performance of the proposed controller and observers
injection methods [6]. Sliding mode observers based on
back EMF has become popular in PMSM Drive community
Keywords—PMSM control, Backstepping, Sliding mode because of its robustness to parametric variations and
observer, High Gain Observer, Sensorless implementation aspects [2]. Due to disturbance and
parametric variations, gains of SMC are increased to ensure
NOTATIONS
robustness which causes chattering. To reduce this
, Synchronous & Stationary frame of reference phenomenon different improve SMC have been proposed
, Inductance & Resistance of stator which have proven to be very robust and effective.
, Back-EMF constant and mutual flux linkage For non linear system of uncertain nature having matched
, Electrical & mechanical angular speed uncertainties backstepping control has gained importance in
, Stator voltage & current recent past which is a recursive and systematic design
, , Pole pairs, friction coefficient, inertia
methodology for feedback control [7]. In backstepping
Load Torque
(^), (∗) Estimated & reference quantity
control a virtual control variable is used for making the
original high order system simple, eventually the final
I. INTRODUCTION controller is derived from Lyapunov Stability Theorem [8].
This work will focus on implementation of Robust
Permanent Magnet Synchronous Motor (PMSM) offers
Backstepping Control of speed for PMSM based on
several advantages over other motors such as high torque to
cascaded scheme of sliding mode & extended high gain
inertia ratio, excellent serviceability and durability, high
observer. The continuous sliding mode observer (SMO)
efficiency and absence of external excitation and rotor
based on sigmoid function will be used for estimation of
windings. Due to these advantages these motors are being
rotor position and speed. In earlier work [2], the SMO based
used extensively in control systems, home appliances
on sigmoid function was used which provided low
printers, tape drives, cranes and elevators. The control of
chattering but its speed estimation was dependent on
such motors become highly complex due to above
sigmoid boundary layer and there was requirement of
mentioned advantages. Tracking problem of a Permanent
boundary layer of variable width. For this purpose cascaded
Magnet Synchronous Motor (PMSM) which includes speed
Sliding mode & extended high gain observer are used for
and position requires the information of rotor shaft position
estimation of speed as in[9]. The EHGO will allow us to use
and speed in order to control stator current vector and
high slope of sigmoid in SMO which will improve the speed
achieve high performance drive. Due to high cost involved
estimation and accuracy of EHGO and will be independent
in machine drive because of rotational transducers and shaft
of boundary layer width. This cascaded SMO-EHGO
sensors used for measuring position and speed of the motor,
observer scheme will no longer require any filter and phase
Sensorless control of (Non-Salient-pole surface) Permanent
delay compensation.
Magnet Synchronous Motor (PMSM) has gained attention
of the electric drive community.

978-1-7281-3073-6/19/$31.00 ©2019 IEEE 1


Our work differs from [9] because feedback linearization for Back EMF in (1) has the information of rotor position and
speed tracking is replaced by a Robust Backstepping speed. Therefore accurate estimation of back EMF by the
Controller. Feedback linearization is based on exact observer will give us the information of rotor position and
cancellation of non linear terms from the model but when speed. The detailed modeling and description of both of
there comes unknown load torque disturbances and these models can be found in [10].The stationary and
parametric uncertainties the results of desired accuracy synchronous models of the motor can be obtained from
cannot be obtained so easily. Robust backstepping control Clarke and Park transforms. These transformations will be
shows excellent performance for unknown load torque used during simulations.
disturbances, parametric uncertainties, transient and steady 1 − −
state [8]. = (3)
√ √
This work will be organized as follow. Section I, gives a 0 −
brief introduction about Sensorless speed control of PMSM
and has focused on the major contribution of this work. The cos sin
Section II deals with the PMSM Mathematical model in = (4)
− sin cos
synchronous and stationary reference frame. The Section III
deals with cascaded observer design scheme of SMO and
EHGO along with its stability Analysis. In Section IV, III. DESIGN OF THE OBSERVER
backstepping controller design for speed tracking is Two cascaded observers will be used for estimation of
presented along with its stability analysis. In Section V, speed and position of the motor. The control algorithm
simulation results of proposed control algorithm is block diagram is shown in fig (1).
presented.
A. Design of Continuous Sliding Mode Observer (SMO)
II. MATHEMATICAL MODEL OF PMSM The Signum function has been used in conventional SMO
Surface mount permanent magnet synchronous motor with a for estimation of rotor position and speed. Due to
sinusoidal flux density distribution & without saliency in discontinuity of the function chattering is included in the
two different frames of references will be considered in this estimated speed which requires a low pass filter and
work. The design of the observer is carried out in stationary additional position compensation. The Sigmoid function is
frame of reference while the controller design will be used instead of Signum function as in [2], [3]. Due to its
carried out in synchronous frame of reference. The continuity, chattering is reduced and filtering and
dynamics in stationary frame of reference( )of PMSM is compensation of position is no longer required. The
given as, Sigmoid function is given by,

= ( = ) ( )= −1 (5)

= cos − sin − − Where z is the sliding surface of the observer and to


regulate the slope of the function parameter a can be used.
=− − + (1) We can define the sliding surface Z as

=− − + = − = ̇ − ̇ − (6)

=− sin The SMO with this sigmoid function is designed as


= cos
̇
=− ̇ + − ( ) (7)
The dynamics of a PMSM in synchronous frame of
reference( ) is given by.
̇
=− ̇ + − ( )
=
The ‘k’ is the gain of the SMO whose value is found by
= − − (2) Lyapunov Stability analysis method. With use of Sigmoid
function a significant amount of chattering is reduced and
=− + + no filter and phase delay compensation is required. If we
chose M as the Lyapunov function for the sliding surface.
=− − − +
= (8)

2
Now the trajectories must reach the surface of the sliding boundary layer, it returns either -1 or 1 & consequently (11)
vector = [0 0] for the sliding mode condition to take will become as,
place when ̇ < 0 ̇ = − ̇ − − ̇ − +( − )+
The observer will become robust towards disturbances as
the trajectories reach the sliding surface & the error is − (13)
minimized. This condition of sliding mode could be
obtained by solving For trajectories to get to the sliding surface & ̇ <0
condition to occur,

> | | (14)

It shows that if observer gain is chosen according to (14) the


sliding mode is guaranteed. It is worthwhile to note that
selection of the gain has not to be a conservative estimate
because rated maximum speed of the motor is dependent on
it. The Back-EMF of maximum value is given as

| | = | | (15)
Figure 1 Block Diagram of Control Algorithm
To determine the relationship between slope and estimation
̇ = ̇ (9) error we will consider (10) with ( ) from (5). Under
equilibrium condition,
The derivate of the surface vector Z can be obtained from
(1) and (7) as, − ̇ − + − =0 (16)

̇ − + ( − ( )
̇= There is a small error in estimation due to sigmoid boundary
(10)
̇ − + ( − layer condition = and the relationship of it with the
slope parameter is given as
From (9) we get
| |
= ln | |
(17)
̇ =− ̇ − + ̇ − + [ − ( )] (11)

From (17) we can see that when approaches to 0, slope


+ − parameter " " reaches infinity. It means that sigmoid
function changes back into Signum function. Now the
It may be noticed that convergence towards zero error is not position of the motor and the estimated Back-EMF is given
assured in above solution in finite time. The boundary layer as,
selected gives the order of the error.
̂ ( )
= (18)
̂
When the reaching phase is finished, we define a set of
boundary layer where the trajectories of error will remain. ̂
This set is {| | ≤ } , for the case of saturation. The = − tan (19)
̂
region for this boundary layer of sigmoid function can be
defined as The speed estimate can be obtained from differentiation of
(19) or the back-EMF approach method as in [2], [3],
| |≤ (12)
̂ ̂
= ̂ cos − ̂ sin (20)
The region in above equation is acquired by knowing that
function of exponent will decay down in five interval B. EHGO Design for Robust Speed Estimation
time constant that will transform the function of sigmoid The sigmoid function used in SMO greatly decreases
from 0 to 1. When trajectories lie beyond the region of chattering but it is not fully eliminated at higher speed.
From (17) we can see that at higher speed, error will be

3
higher too and trajectories of error will be switching faster ∗
is the reference speed of the motor and is the
& it will spend little time inside the boundary layer. estimated speed of the motor from extended high gain
Increasing the width of boundary layer may resolved the observer. For Stabilization of the speed component the error
problem [2] that will decrease chattering but accuracy will dynamics of speed tracking can be obtained from (25) as
be compromised. ̇ = ̇∗− ̇ = + − (26)
A cascaded EGHO-SMO is presented for solving the
accuracy and chattering problem in the estimation of speed
of SMO. Step 2: The following Lyapunov function is chosen for
EHGO observer will be used for estimation of speed of the stabilizing the error dynamics of speed tracking error.
motor.
The EHGO is designed as follow based on reduced model = (27)
approach as in [11].
Step 3: The derivate of above mentioned Lyapunov
̇ = + − function can be obtained as

̇ = ̇ = . ̇ + − (28)
− + + − (21)

̇= − To allow the tracking error converges to zero, according to


Lyapunov Stability, ̇ < 0 must be satisfied
Where and are the estimated positions from EHGO
and SMO, is the disturbance estimate. + − =− >0 (29)
From the single perturbation theory [6] we define the
estimation errors as The virtual control input according to the backstepping
methodology can be takes as
= , = , = (∙) − (22)
= ( + + ) (30)
, are the errors of position, speed and
disturbance estimate. (∙ ) is the lumped uncertainty. These From Equations (28)
uncertainties are due to the parametric variation in , &
load torque of unknown value. The fast time scale error ̇ = . ̇ − (31)
dynamics are given by,
It shows that global asymptotic speed tracking is achieved
̇ =− + whenever speed error approaches zero. PMSM has strong
̇ =− + (23) characteristics of coupling. The Decoupling method is a
̇ =− + ′(∙) widely used speed control method. Q-axis current gives the
exact value of thrust force required for driving the motor.
Taking the case of no uncertainty (∙) = 0, ′ (∙) = = Taking ∗ = 0 the input becomes
0 , the observer gain may be selected such that
∗ ( )
= + + (32)
− 1 0
= − 0 1 (24) where ∗ is the q axis reference current & ∗
is the reference
− 0 0 current for d-axis.
is Hurwitz Stable. In presence of uncertainty, high gain
of the observer will suppress it. The rate of the convergence Taking as a new state variable for q axis current error for
and the robustness of the observer can be improved by tracking
decreasing . It is to be noted that for small values of the
EHGO will be subjected to measurement noise. With use of = ∗
− (33)
SMO this issue is taken care of.
IV. DESIGN OF BACKSTEPPING SPEED CONTROLLER Taking derivate of equation given above we get
Step 1: For solving the speed tracking problem, speed ∗

tracking error variable is be defined as ̇ = − (34)


= − (25)

4
( ) is real control variable, if we define the stabilizing
̇ = − − +
control as
+ + − (35) = − + (51)

Defining the second Lyapunov function for and as Then we can obtained the following result as
= + (36) + − =− , >0 (52)

The derivate of the Lyapunov function given above is ̇ = − − (53)


obtained as
It shows that global asymptotic tracking is achieved. This
̇ = ̇ + ̇ (40) completes the objective of the backstepping control.

̇ =− ( ) V. RESULTS
+ − − +
The parameters of the PMSM which will be used for
+ + − (41) simulations are = 2.875 ℎ , = 0.00085 H , =
0.0008 kg , = 0.001 N ms , φ , = 0.175 Vs/rad , p=4,
is the actual control variable, defining the control for rated speed=3000 RPM, rated power= 1.1 KW and DC
motor necessary for stabilizing it Voltage=220V.

A. RESULTS OF SMO and EHGO


= − − − + − The Results of SMO are shown in the fig(2) and fig(3). It
contains the estimated position of the rotor & Back EMF.
+ + (42) The estimated quantities do not contain any considerable
amount of chattering. The error of rotor angle estimation of
Then we can obtained the following result as
the motor is under 0.003 rad by taking a=0.94 rad and "k"
( ) according to (14). The speed estimation of EHGO and SMO
− − + + + are shown in fig(4) and fig (5).. The parameters of the
EHGO observer are chosen as = 3, = 3, = 1 and
− =− , >0 (43) = 0.0001.
̇ =− − <0 (44)

It shows that global asymptotic tracking is achieved. We


will now design the d-axis current controller.

Taking as a state variable for error tracking of d axis


current

= − (45)
Figure 2 Actual and Estimated EMF of SMO
Taking derivate of the equation given above we get

̇ = − (46)

̇ = + − (47)

Defining the third Lyapunov function for , and as


= + (48)
Figure 3 Actual and Estimated Theta of SMO
The derivate of the Lyapunov function given above is
obtained as B. RESULTS OF BACKSTEPPING CONTROLLER

̇ = ̇ + All initial parameters of the controller and observer are set


̇ (49)
to zero. A reference speed of 800 RPM at time 0 sec is used
̇ =− − + + − (50) for simulation. The controller parameters are taken as

5
= 3500, = 1500 and = 5000. This controller is selected. For speed tracking, a robust backstepping speed
also tested by increasing values of resistance & inductance controller was presented. The simulation result shows good
by 50%, friction of coefficient by 100% & decreasing the accuracy in steady state and is immune to uncertainties in
moment of inertia by 50%. A load torque of 2 N.m is parameters & unknown load torque.
applied at 0.4 sec, it is seen that controller regains its REFERENCES
performance.
[1] P. Tomei and C. M. Verrelli, ‘Observer-Based Speed
Tracking Control for Sensorless Permanent Magnet
Synchronous Motors With Unknown Load Torque’,
IEEE Trans. Autom. Control, vol. Volume: 56, no.
Issue: 6, pp. 1484–1488, Jun. 2011.
[2] H. Kim, J. Son and J. Lee, ‘A High-Speed Sliding-
Mode Observer for the Sensorless Speed Control of a
PMSM’, IEEE Trans. Ind. Electron., vol. Volume:
58, no. Issue: 9, pp. 4069–4077, Sep. 2011.
[3] Y. Feng, J. Zheng, X. Yu and N. V. Truong, ‘Hybrid
Figure 4 Speed Estimation of EHGO and SMO Terminal Sliding-Mode Observer Design Method for
a Permanent-Magnet Synchronous Motor Control
System’, IEEE Trans. Ind. Electron., vol. Volume:
56, no. Issue: 9, pp. 3424–3431, Sep. 2009.
[4] N. K. Quang, N. T. Hieu and Q. P. Ha, ‘FPGA-Based
Sensorless PMSM Speed Control Using Reduced-
Order Extended Kalman Filters’, IEEE Trans. Ind.
Electron., vol. Volume: 61, no. Issue: 12, pp. 6574–
6582, Dec. 2014.
[5] J. Kang, X. Zeng, Y. Wu and D. Hu, ‘Study of
Figure 5 Speed estimation Error position sensorless control of PMSM based on
MRAS’, presented at the 2009 IEEE International
Conference on Industrial Technology, Gippsland,
VIC, Australia, 2009.
[6] H. Zhang, W. Liu, Z. Chen, G. Luo, J. Liu and D.
Zhao, ‘Asymmetric Space Vector Modulation for
PMSM Sensorless Drives Based on Square-Wave
Voltage-Injection Method’, IEEE Trans. Ind. Appl.,
vol. Volume: 54, no. Issue: 2, pp. 1425–1436, Apr.
2018.
[7] M. Karabacak, H. I. Eskikurt, ‘Design, modelling and
simulation of a new nonlinear and full adaptive
Figure 6 Speed Estimation under parametric uncertainties &
unknown load torque backstepping speed tracking controller for uncertain
PMSM’, Appl. Math. Model., vol. Volume 36, no.
Issue 11, pp. 5199–5213, Nov. 2012.
[8] M. A. Hamida, A. Glumineau, J. de Leon, ‘Robust
integral backstepping control for sensorless IPM
synchronous motor controller’, J. Frankl. Inst., vol.
Volume 349, no. Issue 5, pp. 1734–1757, Jun. 2012.
[9] A. Y. Memon and S. A. A. Rizvi, ‘Robust output
feedback linearizing speed sensorless control of
Figure 7 Speed Estimation error under parametric
uncertainties & unknown load torque PMSM’, presented at the 2015 IEEE Conference on
Control Applications (CCA), Sydney, NSW,
VI. CONCLUSION Australia, 2015.
[10] R. Krishnan, Permanent Magnet Synchronous and
In this work a robust backstepping Sensorless speed control Brushless DC Motor Drives. CRC Press, 2010.
of PMSM was presented. A cascaded EHGO-SMO [11] A. A. Alfehaid, E. G. Strangas and H. K. Khalil,
approach is adopted for improved estimation of speed of the ‘Speed control of Permanent Magnet Synchronous
motor. The need of phase compensation and filtering was no Motor using extended high-gain observer’, presented
longer needed. The speed estimation from EHGO was at the 2016 American Control Conference (ACC),
independent of chattering and surface of the boundary layer Boston, MA, USA, 2016.

You might also like