Professional Documents
Culture Documents
Modeling in The Time Domain: Eab 2053 Control Systems DR Mohd Noh Karsiti / DR Irraivan Elamvazuthi
Modeling in The Time Domain: Eab 2053 Control Systems DR Mohd Noh Karsiti / DR Irraivan Elamvazuthi
Modeling in The Time Domain: Eab 2053 Control Systems DR Mohd Noh Karsiti / DR Irraivan Elamvazuthi
Chapter 3
CHAPTER OBJECTIVES
In this chapter, you will be able to:
State-Space Model
Set of state equations relating the input, state
variables and output that completely describe the
system behaviour
STEPS
• select state variables
• determine state equations
• write in matrix form
• determine output equation
State-Space Model
x Ax Bu
General form
y Cx Du
State-Space Model
A system is represented in state space by the following equations:
x Ax Bu State Equation
y Cx Du Output Equation
where:
x = state vector
x· = derivative of the state vector with relative to time
y = output vector
u = input vector
A = system matrix
B = input matrix
C = output matrix
D = feedforward matrix
u1 y1
x1
u y
x
um yr
xn
state equations
x Ax Bu
Example: RL network
y Cx Du
DE:
State variable i (t )
Input variable v(t )
State equations
di (t ) 1
[v(t ) Ri (t )]
dt L
Output equation
vL (t ) v(t ) Ri (t )
EAB 2053 CONTROL SYSTEMS
Dr Mohd Noh Karsiti / Dr Irraivan
Elamvazuthi
8 Chapter 3: Modeling in the Time Domain
Output equation
1
vL (t ) q Ri v
C EAB 2053 CONTROL SYSTEMS
Dr Mohd Noh Karsiti / Dr Irraivan
Elamvazuthi
9 Chapter 3: Modeling in the Time Domain
State-Space Model
Define state variables and input/output
dq
q dt u v(t )
x x
i di y vL (t )
dt
0 1 0
x x u
1 / LC R / L 1 / L
y 1/ C Rx u
EAB 2053 CONTROL SYSTEMS
Dr Mohd Noh Karsiti / Dr Irraivan
Elamvazuthi
10 Chapter 3: Modeling in the Time Domain
M1 M1
M1s2x1(s) + DsX1(s)+KX1(s)-KX2(s) = 0
Transform to time domain:
(Eqtn. 1)
2) fbd for M2
Forces due to M2 only Forces due to M1 only
s2M2X2(s)
M2 F(s) KX1(s) M2
KX2(s)
d 2 x1 dx1
M1 2
D Kx1 Kx2 0 (Eqtn. 1)
dt dt
d 2 x2
KX 1 M 2 2 Kx2 f (t ) (Eqtn. 2)
dt
From Eqtn. 1, d 2 x1 dx
M 1 2 D 1 Kx1 Kx2 0
dt dt
dv1
M1 Dv1 Kx1 Kx2 0
dt
Thus:
K D K
v1
M1
x1
M1
v1
M1
x2 (Eqtn. 4)
dx2
x2 v2 (Eqtn. 5)
dt
From Eqtn. 2, d 2 x2
M 2 2 Kx1 Kx2 f (t )
dt
dv2 K K 1
v2 x1 x2 f (t ) (Eqtn. 6)
dt M 2 M2 M2
x 1 0 1 0 0 x1 0
v K / M D / M K / M1 0 v1 0
1 1 1
f (t )
x 2 0 0 0 1 x2 0
v 2 K / M 2 0 K / M2 0 v2 1 / M 2
EAB 2053 CONTROL SYSTEMS
Dr Mohd Noh Karsiti / Dr Irraivan
Elamvazuthi
20 Chapter 3: Modeling in the Time Domain
x 1 0 1 0 0 0 x1 0
x 0 0 1 0 0 x 0
2 2
x 0 0 0 1 0 x3 0
x 3 u
0
x n 1 0 0 0 0 1 xn 1 0
x n a0 a1 a2 a3 an 1 xn b0
x1
y 1 0 0
EAB 2053 CONTROL SYSTEMS
xn Dr Mohd Noh Karsiti / Dr Irraivan
Elamvazuthi
23 Chapter 3: Modeling in the Time Domain
x 1 0 1 0 x1 0
x 0 0 1 x 0 f (t )
2 2
x 3 24 26 9 x3 24
x1
y 1 0 0 x2
x3
R(s) s 2 7s 2 C(s)
T (s) 3
s 9 s 2 26s 24
x 1 0 1 0 x1 0
x 0 0 1 x 0 r (t )
2 2
x 3 24 26 9 x3 1
x Ax Bu
General form
y Cx Du
Y ( s)
T ( s) C( sI A) 1 B D
U (s)
s 1 0
sI A 0 s 1
1 2 s 3
s 2 3s 2 s3 1
1 s ( s 3) s
adj sI A s (2s 1) s
2
sI A
1
det sI A s 3 3s 2 2 s 1
Y (s) 1 10( s 2 3s 2)
T ( s) C( sI A) B D 3
U (s) s 3s 2 2 s 1
EAB 2053 CONTROL SYSTEMS
Dr Mohd Noh Karsiti / Dr Irraivan
Elamvazuthi