Santa 3

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

DISCRETE SLIDING MODE CONTROL OF PERMANENT MAGNET STEPPER MOTOR USING FLATNESS PROPERTY.

V. Thakar , B. Bandyopadhyay Interdisciplinary Programme In Systems and Control Engineering, IIT Bombay, Mumbai - 400 076, India Email: [email protected] ; [email protected] Phone: 91-22-25767889, Fax: 91-22-25723480
Keywords: Stepper motor, Discrete sliding mode, Reaching law approach, Differentially at system, Linearizing outputs tor becomes essential for certain applications[6, 12]. M. Zribi and J. Chassion[12] proposed method for position control of PM stepper motor using exact linearization. Marc Bodson et al[1]suggested a model based control law using exact linearization method for control of PM stepper motor in which nonlinear observer was used for speed estimation. M. Zribi et al[13] developed a sliding mode control scheme for PM stepper motor in which the motor is shown to posses a differential atness property. In [8] the sliding mode control for at systems is rst presented. Flat systems, as introduced by iss and his coworkers[3], are dynamic systems which are linearizable to controllable linear system by means of endogenous feedback [13]. The at systems have nite set of differentially independent outputs known as linearizing outputs. The system is differentially at if all of its variables can be expressed as differential function of linearizing outputs. It is shown in [13] that all the state variables and control inputs of the stepper motor model can be expressed in terms of the output and their higher order derivatives where winding current and angular position are considered as control and linearizing outputs. In this paper we present discrete sliding mode control for PM stepper motor which uses atness property of the motor. This paper is organized as follows. Section 2 presents the nonlinear mathematical model of the stepper motor and simplied nonlinear model obtained using direct-quadrature transformation(D-Q) as given in [1, 13]. Discrete model of the stepper motor with linearizing output is introduced in Section 3. Representation of discrete state variables and control inputs in terms of the linearizing outputs and linear model of the system are presented in section 4. Design of discrete sliding mode control using reaching law approach has been included in Section 5. Section 6 contains the simulation results followed by the concluding remarks.

Abstract
The paper presents discrete time sliding mode control (DSMC) for permanent magnet (PM) stepper motor which is known to be differentially at system. Discretization of continuous time model of the stepper motor has been carried out and linearizing outputs are selected. Discrete state variables and control inputs are obtained in terms of linearizing outputs and their higher order differences. Linearized equations for the system are thus obtained and auxilary control is designed using reaching law approach. Then the actual control is obtained in terms of at output and state variables. It is shown that system states reach to zero from given initial conditions.

1 Introduction
Sliding Mode Control (SMC) is a robust control scheme based on the concept of changing the controllers structure, with reference to the motion of the states of the system along the predened manifold in order to obtain desired response. In order to obtain sliding motion, high speed, discontinuous switching controller is used to change the structure of the system. In sliding mode, system response is governed by the sliding surface[10]. In Discrete Sliding Mode, control action can only be activated at sampling instants and hence only Quasi Sliding Mode is possible. Gao[4] proposed reaching law approach which ensures that system trajectory will hit the switching manifold and undergoes zigzag motion about the manifold and remains within a Quasi Sliding Mode Band(QSMB). The sliding mode control can be applied for the control of various systems such as power converters, motors drives and robots [5, 11]. Stepper motors are electromagnetic incremental motion systems which converts digital input into analog angular motion of the rotor in steps. They have certain signicant advantages. They can be easily interfaced with solid state electronic devices. They are normally operated in open loop. They are open loop stable but response is poor at high stepping rate which may even lead to oscillatory response and loss of synchronism. Hence close loop control of stepper mo-

2 Mathematical model of the PM Stepper Motor


The motor model as given in[1],[13] is as follows

9 8 65 3 1 )' % "      7420(&$#! 

Now all the system state variables and control inputs can be represented in terms of and their higher order differences.

5  '

Discrete model of the stepper motor is obtained by discretizing the system represented by Equation (4) with sampling time and discrete state space representation of the system is given as

U 5  G0'   5  ed' '  5  f  i 50' hq5 g Wxwpv '  i   x ' l 5 x   g 9 ' ' f ! 5  5  g 5 Wxwpvg '   x ' i 5 x  

5  0'

5  '

3 Discrete model of the PM stepper motor

The control inputs can also be expressed in terms of linearizing outputs from the Equation (5) as follows.

(4)

U 5  4' 9 g @r o  5  j0'  5 x   CpvS' 9 g r o g r  i 5  W5j0' wpv' GuHD' 5 x ' 5 n   x g r o g r   i 5S0' x  C5tS'  9 g r 5  ' g r Ir

5  0'

5  0'

5  0'

5  0' n

where is the direct current, is the quadrature current, is the direct voltage and is the quadrature voltage. It is shown in [1] that the application of D-Q transformation to Equation (1) results in the following system of equations.

g h

b 

DA 

9 T 5 R # c  '  9 8 5#V7( 8 rBc  '  b 1 )  c   9 8 5 c 4( 8 r7Vb  ' 1 )  b  

4rQ(&qt4rQ(&q! 5 3 1 )' % " 5 3 1 )' % " 5 3 1 )' % 4rQ(&q" 5 1 )' " F $v20H$E

c W

c 

U V

c 

3 H c @ b 7

b 

and

(2)

(3)

4 System representation in terms of linearizing outputs


The state variables are represented in terms of linearizing outputs and their higher order differences as follows.

U 5  4' n

g@r sr 5  '

and

5  '

5  '

Ir

The system represented by Equation (1) may be transformed into appropriate nonlinear form known as direct- quadrature form. The transformation is such that the nonlinearity may be cancelled by state feedback[1]. The transformation and transformed system are given as,

Now it is possible to dene linearizing outputs and controlled output for the system as

(6)

(7)

5 ' j0j3

1 )

5 ' 0In

f 

5 ' !

8 9 U k 5j0Hc  ' g 9 T 9 n     i 9 p65 ' 5  q&In ' 9 5  j0' 5 ' c 0H7

i h

8 9 k 5 ' j0Ib  8 9 8     g 5  ' j0' 5  9 i l 5' gh j07  5  ' b g l

where

g @r

 5  ' 5' 

o 

Where and are the phase voltages, and are the phase currents, is the angular velocity of the rotor, is the angular position of the motor shaft, is the resistance of the phase winding, is the inductance of the phase winding, is the viscous friction coefcient, is the inertia of rotor and load, is the number of rotor teeth and is the motor torque constant. The model neglects the small magnetic coupling between the phase windings, small change in inductance as function of rotor position, the detent torque and variation in inductance due to magnetic saturation[1].

5' n x   5 x   '

i l

(1)

9 5  ' n dj0'   5  o 9 5  0' 5@Wdj0' i  n  x '  5  i 5  k h 9 ' DP0' hGi  g ! 5   i D x 5j0' 0'  5  f g  @DC5' 5 hGg '  i h m g 5  k l 0'  9 5  j0' 50'  f  @ed' 5 D' 5   x

i h

g h

5 x   ' 5 x   '

g l

3 x s s s a g yx a 9 g s s s A s s 5 3 1 )' " F E 5 3 1 )' % " uw$20H$wvrQ(&q! e ` e s s 5 3 1 )' % 5 3 h )' " F piQIHGE Y`` e fd Y` fd ut4rQ(&q" e

1 )

9 T 675#SRC3 1 )Q'I"HFGE A  P3 1 0(&$"  ! 5   5 )' %  9 8 65 3 1 )' " F E    A   &IG20IHGDCBA  R 3 A W   X T A  U V g e

c ` e b fd Y`

3 @ @ A @ a

follows.

(5)

5 Discrete Sliding Mode Control Design

Design of sliding mode control involves two step procedure. rstly a suitable switching surface is designed and then a sliding mode control is designed to obtain sliding motion along the designed switching manifold. Different methods to design switching hyperplane are discussed in [2, 9]. In this design, method proposed in [2] is used to design switching planes.

(8)

(10)

The inequality for must hold to guarantee the motion of system trajectory towards the switching plane and that it will cross the switching plane in nite time. The presence of signum function ensures the sliding motion about the switching plane in zigzag pattern, restricting the trajectory in a specied band known as quasi sliding mode band QSMB.

where

and

are auxiliary inputs.

Simplifying the equations obtained above in terms of the system states, we get the following linear state equations.

5.2 Switching Hyper Plane Design


Switching plane equation is given as

(11)

5  0' 

5  ' 5 x   S0'

5  0' 

U 5  G0'  5  dj0'

The above system can be expressed as

For the design of the switching hyperplanes, the system given in Equation(11) is transformed into suitable normal form by reversing the order of the system equations. The system thus takes the following form as (16)

(12) (13)

U js

5  '

GE

5 ' j0I"

where the

, sampling period,

and

(15)

U js

 ~x

! 9 s

From the expressions given by the Equation (9) for and the linearized equations of for the system are given by

55 ' "' % WI0(sG"

 5 ' C"

V

5 ' "  5 x  ' Dw0I"

9  5  '  io  g

k o   U  55  Wj0'  5 x   CpvSi ' GI~W' ' 5 }   x g r o g r  y 5 W'   x 5pxv'  i 5 t   w@e0' g g @r 9 o g  @r  6 75W5pxv'    5 t i   w@e0' $5 n W' '   x  5 t @r  4@eS0'  5 | @r  B' g g g r g r

where

(9)

5.1 Reaching Law Approach


The reaching law for the discrete sliding mode control as proposed in[4] is (14)

z {

5  0'

5  '

o  50' B' i ' wI' 5 x   |  5 t   |  5 |   g r o  g r g r g r  5 x   B' Ir

5  0'

U 5 ' G0In d' o   5  9 5 ' 5pnHDd' l   x '  5  i il  g lGi P50'   5  B0' @#W' 5 n   x in  i h 9 g h 5  '  @ed' o   5 

o    50'  5 x   wpv' g g r o g  r 5  0'  f  CS0' 5 x   r r g r y  y 9 o  g 5j0'   5 x   wpvS0' g r o g r  C5pxvSi0' G5 n D' '   x g@r o g@r  i 5 t   wS0' g r

Ir

5 x   0'

g r

where

x o @ s n   9 g @v x 4m s

ed s e

Up6Gxs@ss@qx s s s s s s a 9 g v s 4 s ` o  Y`

ed

s s  us a n e#x s i ` s x Y` s

Substituting the expressions from Equation (6) into Equation (7), control inputs can be represented in terms of linearizing outputs and their higher order differences as follows.

with

y   5  qf !G0'

5 G'   x'  5 x   Ir Ir

5'  5 x r  pv'

5  '  y

5  j0'

5 x   pvS0'

5 x   pvS0'

5 x  ' pvS0sn 5 x   pvS0' i h

g k

k  y g h

with

5.3 Control Law Design


x s 9 g snHe#x  i s
(17) (18) (19) (20) (21)

from the Equation (16)and Equation (18) the following equation is obtained

. Then,

is obtained by assigning the eigenvalues of

in a desired location. Thus,

can be easily obtained.

5  0'

E I E g g

U E E g

E Id E g g

'

or

7 Conclusion
The discrete multivariable sliding mode control for PM stepper is designed using the property of differential atness. Selecting the winding current and angular position of the shaft as an output, all the state variables and inputs of the discrete system can be expressed in terms of the these outputs, i.e. linearizing outputs and their higher order differences. The linear representation of the system is obtained while representing the control inputs in terms of linearizing outputs. The auxiliary control is obtained using reaching law approach for the linear model obtained using differential atness property of the stepper motor model. Finally the actual control is obtained for the stepper motor. The simulation results shows the effectiveness of the discrete sliding mode control for PM stepper motor which brings the system states to zero from initial values.

"

"

 E

So,

A   WA

n E

ng E

E i g E i W

5 x   S0'

'

and

9 9 U ~t s s t U js xU U s jH h ) E " @s pi@s js h )9 | x s U 9 z T Gi@@qs p@ n qx s t xU Hph} ) } | xU s HI} s R 8 @qx | xU  g

g g E g

E vg E

with

6 Simulation
The simulation study is carried out for the PM stepper motor, with the same data same as used in [13]with , and The parameters for the control law are as The objective is to bring the system states and outputs from any initial conditions to zero in nite time. Figure 1 shows responses of the phase currents and angular velocity angular position . Plot of voltages , and switching surfaces and are shown in Figure 2.

The switching planes for the system (16) becomes

 U45' 5' fP50'    5  B0'  in  i l i h i hqg  5  '  d50' 5 n  g   ' io  g g 9 5  0' 0g ' 5  f  @! i e g W5  h  o h'   

5  0'

m4

5  0'

5  0'

Thus, the system given in Equation(16) can be written as

So the actual control is

6 &5 E

U 5 0 E'  d V 0' 5 0 E E' E

U45'  d0'  5  5  ' g 9 g 5  j0' g g d' 4g  5  g g

us

% qp t

U45j0' 6 E E  9 g 5  0' E

5 ' "

gg g W

Let us assume,

where

55 ' "' % "  5  W(I$P0'

5  j0' 

e fd s s

s 9 g 4 i s

ed e

s v s 4 s a n x   s ` o  @x Y` s o  s s Y` s a `

The auxiliary control is obtained for the system represented by Equation (11) using reaching law approach given in Equation (14). Simplied representation of the control is given in [7] which has the following form (22)

5pvS' x   5 x   pvS' g

4g E

(23)

References
Current in winding A 0.08 0.06 0.04
ia,amps ib,amps

0.15 0.1 0.05 0 0.05

Current in winding B

0.02 0

[1] M Bodson, J. N. Chiasson, R. T. Novotnak and R. B. Rekowski, High performance nonlinear feedback control of a permanent magnet stepper motor, IEEE Transactions on Control System Technology, vol-1, no-1, pp. 5-13, (March 1993) [2] C. M. Dorling and A. S. Zinober, Two approches to hyperplane design in multivariable structure control system, International Journal of Control, vol. 44, no.1, pp. 65-82,(1986) [3] M. Fliess, J. Levine, P. Martin and P. Rouchon, Flatness and defect of nonlinear systems:Introductory theory and example, International Journal of Control, vol-61, no 6, pp. 1327-1362, (1995) [4] W. Gao, Y. Wang and A. Homaifa,Discrete time variable structure control systems IEEE Transaction on Industrial Electronics, vol. 42, no.2, pp. 117-122, (April 1995). [5] J. H. Hung, W. Gao and J. C. Hung, Variable structure control: A survey, IEEE Transaction on Industrial Electronics, vol. 40, pp.2-21, (February 1993). [6] T. Kenjo and A. Sugawara, The stepping motors and their microprocessor controls,second edition, Oxford science publication,(1994) [7] C. M. Saaj, B. Bandyopadhyay and H. Unbehauen, A new algorithm for discrete-time sliding mode control using fast output sampling feedback, IEEE Transaction on Industrial Electronics, vol. 49, no.3, pp. 518-523, (June 2002) [8] H. Sira-Ramirez, On the sliding mode control of multivariable nonlinear system, International Journal of Control, vol. 64, no.4, pp 745-765,(1996) [9] S. K. Spurgeon Hyperplane design techniques for discrete-time variable structure control system International Journal of Control, vol. 55, no-2, pp. 445456,(1992) [10] V. I. Utkin, Variable structure systems with sliding modes IEEE Transaction on Automatic Control, vol. AC22, pp. 212-222, (April 1977) [11] V. I. Utkin, Sliding mode control of an electromechanical systems, Francis and Taylor Publications, (1999). [12] M. Zribi and J. Chiasson, Position control of PM stepper motor by exact linearization IEEE Transactions on Automatic Control, vol. 36, pp. 620- 625, no.5, (May 1991) [13] M. Zribi, H. Sira-Ramirez and A. Ngai,Sliding mode control of PM stepper motor from the perspective of differentially at system, Invited paper, F1009-3,The European Control Conference, Germany,(1999)

0.02 0.04 0.06 0 1 2 t 3 4 5 0 1 2 t 3 4

4 3
rad/sec

Angular Velocity

0.8 0.6
radians

Angular position

2 1 0 1 2 0 2 4 6

0.4 0.2 0 0.2

6 t

10

Figure 1: Response of the system states

2 1
va,volts

Voltage in winding A

3 2
vb,volts

Voltage in winding B

0 1 2 3

1 0 1

3 t

0.2 0.15 0.1 0.05 0 0.05

0.6 0.4 0.2 0 0.2

switching plane 1

switching plane 2

10

Figure 2: Plot of winding voltages and switching surfaces

You might also like