Professional Documents
Culture Documents
x n (t ) n1 ur (t ) r1 y (t )
p p1 x ( 0)
n n1
A nn
B n r
C pn
D pr
u (t ) + x (t ) 1 x(t ) + y (t )
B C
s +
-
Example 1 e(t )
u (t ) s 1 y (t )
+
- ( s 1)
2
s 1 +
n(t ) noise
Y (s) s 1
Transfer function
U ( s ) s 3 BIBO stable
E ( s) 2( s 1)
u 0
N ( s) ( s 1)( s 3)
unstable
Modern Control Systems 4
Example 2
u (t ) s 1 1 y (t )
s 1 s 1
y 1
BIBO stable, pole-zero cancellation
u s 1
+
+ x 1 1 x1 + v(t ) x 2 1 x2
-2
u (t ) - s + s y (t )
+
v s 1 2
1
u s 1 s 1
2
vu u
s 1 Modern Control Systems 5
x 1 x1 2u x1 (0) x10
x 2 x1 x2 u x 2 (0) x 20
y x2
x(t ) L1 [( sI A) 1 ]x(0) L1 [( sI A) 1 BU ( s)]
x1 (t ) e t x10 2e t u (t )
1 1 t
y (t ) x 2 (t ) ( x 20 x 10 )e e x10 e t u (t )
t
2 2
1. if x10 x 20 0
2. if x10 2 x 20 then system stable
Example x(t )
M f (t )
f (t ) Ma Mx (t )
Example : Inductor
1 t0 1 t
i (t ) v( )d v( )d
L L t0
1 t
i (t 0 ) v( )d
L t0 Magnetic
energy
Modern Control Systems 8
Remark 1: 狀態的選擇通常與能量有關, 例如 :
Position potential energy
Velocity Kinetic energy
Remark 2: 狀態的選擇必需是獨立的物理量, 例如 :
x1 L1
x1 x 2
R
實際上只有一個狀態變數
L2
x2
B3 B2 B1
M 1 y1 B1 y 1 B2 ( y 1 y 2 ) K ( y1 y 2 ) f (t )
M 2 y 2 B3 y 2 B2 ( y 2 y 1 ) K ( y 2 y1 ) 0
x1 y1 y 2 x1 0
1 1 x1 0
x K ( B B2 ) B2 x 1 f (t )
let x 2 y 1 2 M 1
M1 M1 2 M1
x 3
( B2 B3 ) x3 0
1
x3 y 2
K B2
M 2 M2 M 2
dia Ra kb 1 d m k B d m 1
ia m ea i ia m TL
dt La La La dt Jm J m dt Jm
d m
m
dt
x (t ) Ax(t ) Bu (t )
y (t ) Cx(t ) Du (t )
Laplace transform
sX ( s ) x(0) AX ( s ) BU ( s )
Y ( s ) CX ( s ) DU ( s )
assume x(0) 0
X ( s ) ( sI A) 1 BU ( s )
Y ( s ) [C ( sI A) 1 B D]U ( s )
matrix
Transfer function
Modern Control Systems 13
Example By Newton’s Law
F My My by ky r
r ky by My let x1 y, x2 y
k
b
x 1 y x 2
M
b k 1
x 2 y y y r
y (t ), y (t ) M M M
r (t ) b k 1
x2 x1 u u r
M M M
x 1 x 2
k b 1
r : 外力 x 2 x1 x2 u
M M M
k : 彈簧的彈性係數
b : 黏滯磨擦係數 x 1 0 1 x 0
x
k b 1 1 u y 1 0 1 0 u
x 2 M x2
M M x2
C
A B
adj ( sI A)
( sI A) 1
sI A
s 2 6 s 11 s 2 3
1
3 s 2
2 3s
s( s 4)( s 2) 3 3s
s4 s 1 s 4 s
2
G ( s) [C ( sI A) 1 B D ]
1 s2 3
Transfer function
s 3 6 s 2 11s 3 ( s 1) s ( s 4)
+ R L +
di (t ) 1 t
ei (t ) c ec (t ) Ri (t ) L i (t )dt ei (t )
i (t )
dt c 0
- -
x1 (t ) i (t ) x 1 R
1 x 1
x L LC L ei (t )
1
let 2 1 0 x2 0
x2 (t ) i (t )dt
x
y (t ) i (t ) y (t ) 1 0 1
x2
R R
xˆ1 (t ) i (t ) xˆ1 L
L ˆ
x 1
ˆ L ei (t )
1
let 1
xˆ 2 (t ) ec (t ) xˆ 2 0 x2 0
exist a mapping L
y (t ) i (t ) xˆ1
y (t ) 1 0
xˆ 2
Modern Control Systems 17
Different state equation description
x(t ) Ax(t ) Bu (t ) xˆ (t ) Aˆ xˆ (t ) Bˆ u (t )
y (t ) Cx(t ) Du (t ) x(t ) pxˆ (t ) y (t ) Cˆ xˆ (t ) Dˆ u (t )
p is nonsingular
Aˆ p 1 Ap A pAˆ p 1
Bˆ p 1 B B pBˆ
Cˆ Cp C Cˆ p 1
Dˆ D D Dˆ
Modern Control Systems 18
Definition : Two dynamical systems
x(t ) Ax(t ) Bu (t ) xˆ (t ) Aˆ xˆ (t ) Bˆ u (t )
&
y (t ) Cx(t ) Du (t ) y (t ) Cˆ xˆ (t ) Dˆ u (t )
with x(t ) pxˆ (t ) are said to be equivalent. The nonsingular
matrix p is called an equivalence transformation.