Professional Documents
Culture Documents
EECE340 Lecture4 State Space
EECE340 Lecture4 State Space
dny d n 1 y dy d mu du
an n
an 1 n 1 a1 y (t ) bm m b1 bo u (t )
dt dt dt dt dt
dny d n 1 y dy d mu du
an n
a n 1 n 1
a1 y ( t ) bm m
b1 bo u (t )
dt dt dt dt dt
C c1 c2 cn D d
dvC vc
c is iL dvC
vc 1 1
i L is
dt R dt RC C C
diL
L vc diL 1
dt vc
dt L
EECE340 © Fadi Karameh
dvC vc 1 1
i L is
dt RC C C
diL 1
vc
dt L
In matrix form:
dvC 1 1
dt RC C
v 1
i C is
C
di 1
L 0 L 0
dt L
vC
y 0 1 [0]is
iL
EECE340 © Fadi Karameh
A State-Space Representation for
general CT LTI systems
dny d n 1 y dy d mu d m 1u du
n
a n 1 n 1
a1 a o y ( t ) bm m
bm 1 m 1
b1 bo u (t )
dt dt dt dt dt dt
d 3 y (t ) d 2 y (t ) dy (t ) d 2 r (t )
3
5 2
6 10 y (t ) 3 2
r (t )
dt dt dt dt
d 3 y (t ) d 2 y (t ) dy (t ) d 2 r (t )
3
5 2
6 10 y (t ) 3 2
r (t )
dt dt dt dt
apply
y (t ) 5 y (t )dt 6 y (t )dt 10 y (t )dt 3 r (t )dt r (t )dt
r (t ) 3
y (t )
5
6
2 2
3 3
1 51 2 3r
2 61 3
y
3 101 r
1
EECE340 © Fadi Karameh
1 51 2 3r
2 61 3
3 101 r
y 1
• In Matrix form: 1 5 1 0 1 3
2 6 0 1 2 0 r
3 10 0 0 3 1
1
y 1 0 0 2 [0]r
3 EECE340 © Fadi Karameh
From State Space to Transfer Functions
(Single Input, Single Output Systems)
x1 (t ) a11x1 (t ) a12 x2 (t ) a1n xn (t ) b11u(t )
x 2 (t ) a21 x1 (t ) a22 x2 (t ) a2 n xn (t ) b22u (t )
x (t ) Ax (t ) Bu(t )
x n (t ) an1 x1 (t ) an 2 x2 (t ) ann xn (t ) bnn u (t ) y (t ) Cx(t) Du(t )
y(t ) c1 x1 (t ) c2 x2 (t ) cn xn (t ) du(t )
Y ( s ) c1 X 1 ( s ) c2 X 2 ( s ) cn X n ( s ) dU ( s )
sX ( s ) x(0) AX ( s ) BU( s )
EECE340 © Fadi Karameh
Y( s ) CX( s ) DU( s )
sX ( s ) x(0) AX ( s ) BU( s ) (1)
Y( s ) CX( s ) DU( s ) (2)
sX ( s ) AX ( s ) BU( s ) x(0)
sI A X ( s ) BU( s ) x(0)
Substitute to (2)
Y( s ) CsI A 1 BU( s ) CsI A 1 x(0) DU( s )
Y( s ) CsI A 1 B D U( s ) CsI A 1 x (0)
ZSR ZIR
SISO:
H ( s ) CsI A 1 B d EECE340 © Fadi Karameh
H ( s ) CsI A 1
Bd num( s )
den ( s )
1 input, 1 output :
A:nn B : n 1 C : 1 n d : 11
adj sI A
sI A
1
det sI A den (s )