1 Deriving State Equations for a DC Servo...

2

Click here to load reader

Transcript of 1 Deriving State Equations for a DC Servo...

Page 1: 1 Deriving State Equations for a DC Servo Motorece.gmu.edu/~gbeale/ece_521/xmpl-521-dc-motor-model-01.pdf · 1 Deriving State Equations for a DC Servo Motor A. System Model A useful

1

Deriving State Equations for a DC Servo Motor

A. System ModelA useful component in many real control systems is a permanent magnet DC servo motor. The input signal to the motor is

the armature voltage Va(t), and the output signal is the angular position θ(t). A schematic diagram for the motor is shown inFig. 1. The terms Ra and La are the resistance and inductance of the armature winding in the motor, respectively. The voltageVb is the back EMF generated internally in the motor by the angular rotation. J is the inertia of the motor and load (assumedlumped together), and B is the damping in the motor and load relative to the fixed chassis.

M J

RaLa

Vb(t)

+

-

Va(t)

+

- B

θ(t)

ia(t)

Fig. 1. Schematic diagram of a DC servo motor.

The equations for the electrical side of the system are

Va(t) = Raia(t) + Ladia(t)

dt+ Vb(t) with Vb(t) = Kb

dθ(t)

dt(1)

Va(t) = Raia(t) + Ladia(t)

dt+Kb

dθ(t)

dt(2)

where Kb is the motor’s back EMF constant. The equations for the mechanical side of the system are

Jd2θ(t)

dt2+B

dθ(t)

dt= Tapp(t) with Tapp(t) = KT ia(t) (3)

Jd2θ(t)

dt2+B

dθ(t)

dt= KT ia(t) (4)

where Tapp is the applied torque, and KT is the torque constant that relates the torque to the armature current.

B. Developing The State EquationsThere are three derivative terms in the system model for the DC servo motor—first derivative of ia(t) in Eqn. (2) and first

and second derivatives of θ(t) in Eqn. (4). Therefore, there are a total of 3 state variables in the state space model. Althoughthe first derivative of θ(t) appears in both of those equations, it is the same variable and so does not add an additional statevariable.

A simulation diagram can be drawn for this system by solving Eqns. (2) and (4) for the highest derivative term in each.This yields the expressions in (5) and (6). The simulation diagram is shown in Fig. 2. The state variables will be defined asthe outputs of the integrators, with x1 being ia, x2 being θ, and x3 being dθ/dt.

dia(t)

dt= −

µRa

La

¶ia(t)−

µKb

La

¶dθ(t)

dt+

µ1

La

¶Va(t) (5)

d2θ(t)

dt2= −

µB

J

¶dθ(t)

dt+

µKT

J

¶ia(t) (6)

Page 2: 1 Deriving State Equations for a DC Servo Motorece.gmu.edu/~gbeale/ece_521/xmpl-521-dc-motor-model-01.pdf · 1 Deriving State Equations for a DC Servo Motor A. System Model A useful

2

+1/La

-Kb/La

-Ra/La

INT

+

-B/J

KT/J INT INT

Va(t)

ia(t)

θ(t)

dθ(t)/dt

Fig. 2. Simulation diagram for the DC servo motor example.

With these definitions for the state variables, and defining u(t) = Va(t) and y(t) = θ(t), the state and output equations are:

·x1(t) = −

µRa

La

¶x1(t)−

µKb

La

¶x3(t) +

µ1

La

¶u(t) (7)

·x2(t) = x3(t) (8)·x3(t) = −

µB

J

¶x3(t) +

µKT

J

¶x1(t) (9)

y(t) = x2(t) (10)

In vector-matrix form, the state and output equations are:⎡⎢⎣·x1(t)·x2(t)·x3(t)

⎤⎥⎦ =⎡⎣ −Ra/La 0 −Kb/La

0 0 1KT /J 0 −B/J

⎤⎦⎡⎣ x1(t)x2(t)x3(t)

⎤⎦+⎡⎣ 1/La

00

⎤⎦u(t) (11)

y(t) =£0 1 0

¤⎡⎣ x1(t)x2(t)x3(t)

⎤⎦ (12)

In short-hand notation, the state and output equations are

·x(t) = Ax (t) +Bu (t) , y (t) = Cx (t) (13)

The state variables chosen for this example are all real physical variables representing energy stored in the system. Thestructure of the A, B, and C matrices are different than what was seen using the Direct Method or Nested Integration. Whenthe state variable are physical variables in the system, there will not be a fixed structure to those matrices. The sizes of thematrices will always be n× n for A, n× r for B, m× n for C, and m× r for the D matrix if it is non-zero.