Professional Documents
Culture Documents
OPEN LOOP
PLANT
INPUT
x(t )
X (s)
G (s )
OUTPUT
y (t )
Y ( s)
Gc
R
Y ( s) = G ( s) X ( s)
Y (s)
G ( s) =
X (s)
CONTROLLER
GP
PLANT
Error, E = R Y = 0 is desired
X = RGC
Y = XGP
Y = RGC GP
Now , E = R RGC GP = 0
R(1 GC GP ) = 0
Q R 0, 1 GC GP = 0
1
GC =
GP
CLOSED LOOP
CONTROLLER
PLANT
G1
MEASUREMENT
Y = UG1
U = EC
E = R YH
Y
CG1
=
R 1+ CG1H
Denominator : 1 + CG1 H = 1 + GH
{
G
1 + GH Characteristic polynomial
1 + GH = 0 Characteristic equation (CE)
Y
G
=
R 1 + GH
If CE is known, we can determine,
order of system
eigen values
stability
response characteristics
EXAMPLE
Applying Conservation of Angular
Momentum
h& = mgl sin
h = ml &
h& = ml 2&&
h = I&
= (t )
g
1
&
&
+ sin = 2
l
ml
= (t )
& = && = 0
Static Equilibrium,
0 , 0
1
sin 0 =
0
0
2
gml
gml
Assume 0 = 0
180o
sin 0 = 0
0 = 0 or 180
2005 P. S. Shiakolas
0o
g
1
&
&
+ sin 2 = 0 = f &&, g , l , m, ,
l
ml
f && &&
f
f
(
(
0 +
l0 )
f f0 =
g g0 ) +
l
424
3 l 123
&& 0
g 0 1
0
g =0
l =0
f
f
f
(1
(
(
+
m m0 ) +
0 ) +
0 )
3 m
m 0 424
0
0
m = 0
1
g
&
&
f = 0 = 1 +
+ cos
l
0
ml 2 0
2005 P. S. Shiakolas
1
g
&
&
+ cos =
0
l
ml 2 0
If the equilibrium point is = 0o
1
g
&
&
+ cos 0 =
ml 2
g
1
&
&
+ =
l
ml 2
2005 P. S. Shiakolas
g
&
&
+ cos180 =
l
ml 2
1
g
&
&
=
l
ml 2
2005 P. S. Shiakolas
g
1
( s ) s + ( s ) =
l
ml 2
2
1
2 g
s + = 2
l
ml
1 1
=
ml 2 s 2 + g
2005 P. S. Shiakolas
PLANT
or
1 1
=
ml 2 s 2 + g
l
g
s + = 0 characteristic equation
l
g
Im
eigen values s =
i
l
2
Unstable region
g
2 g
s =0 s=
l
l
If the eigen values have
positive real parts, then the system is unstable
negative real parts, then the system is stable
zero real part, then the system is marginally stable
2005 P. S. Shiakolas
Re
2005 P. S. Shiakolas
g
1
&
&
+ =
l
ml 2
State space
representation
2
l
ml
g
1
z&2 = z1 +
2
l
ml
2005 P. S. Shiakolas
z&1 = 0 z1 + 1z2 + 0
g
1
z&2 = z1 + 0 z2 +
2
l
ml
x& = Ax + Bu where
z&1 0
= g
z&
2 l
Output :
2005 P. S. Shiakolas
1 z 0
1
+ 1
0 z 2
2 ml
y = Cx + Du
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
s
det g
l
0
g
s
l
1
=0
0
1
s
=0
g
s + =0
l
2
2005 P. S. Shiakolas
PROJECT
PENDULUM
mc
0 = 180o
2005 P. S. Shiakolas
mr
MAGLEV
electro
magnet
sensor
object mass, m
L
Magnet
Fmagnet
mass
Fmagnet = f (k , I , x )
weight
2005 P. S. Shiakolas
2005 P. S. Shiakolas
LAPLACE TRANSFORMS
Final Value Theorem (FVT)
f () lim s F ( s )
s 0
Condition: All the poles of F(s) other than s = 0 must
have negative non - zero real parts.
Poles: Are points at which the f(t) or its derivatives
infinity
Zeros: Are points at which the f(t) equals zero
2005 P. S. Shiakolas
(
s + 2 )(s + 10 )
G ( s) =
s(s + 1)(s + 7 )(s + 17 )2
2 zeros, 5 poles
Im
Re
-17
2005 P. S. Shiakolas
-10
-7
-2 -1 0
BLOCK DIAGRAMS
Output
Input
a1
a2
Description of component
or subsystem
Branching point
b1
Signal
a3
Summing JCT: a1 + a2 a3 = b1
2005 P. S. Shiakolas
D
E
G
H
C = C R, D = 0 +
R
CR
G
H
D
P
G
H
GP
CR =
R
1 + GPH
2005 P. S. Shiakolas
C D, R = 0
P
CD =
D
1 + PHG
CD
GP
P
C=
R+
D
1 + GPH
1 + GPH
1 + GPH Characteristic polynomial
k
m
f (t )
b
2005 P. S. Shiakolas
m&x& + bx& + kx = f (t )
z2 = z&1 = x&
z&2 = &z&1 = &x&
m z&2 + bz2 + kz1 = f
1
z&2 = ( kz1 bz2 + f )
m
& z&1 = z2
2005 P. S. Shiakolas
x& = Ax + Bu
y = Cx + Du
Y
X
( x, y ) 2 variables
l 2 = x 2 + y 2 Constraint Equation
(sI A)X = BU + x0
X = (sI A)1{BU + x0 }
2005 P. S. Shiakolas
y = C x + Du
L Y = CX + DU
Y = C (sI A)1{BU + x0 } + DU
2005 P. S. Shiakolas
INTEGRATOR
x&
x1
x2
1
x1 = x2
s
x1 = x&2
State variables at output of integrators
1
2005 P. S. Shiakolas
f ( s)
Example:
U
10
s ( s + 2)
1
s +1
1
s
X3
2005 P. S. Shiakolas
X2
10
s ( s + 2)
1
s +1
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
X1
Y
FF
CE :
=
U 1 + FF FB
10
1
Denominator : 1 +
=0
s ( s + 2) s + 1
10
X2
= X 1 10 x2 = x&1 + 2 x1
s+2
1
X1
x1 = x&3 + x3
= X3
s +1
1
(U X 3 ) = X 2 u x3 = x&2
s
2005 P. S. Shiakolas
x&1 = 2 x1 + 10 x2 + 0 x3 + 0u
x&2 = 0 x1 + 0 x2 1x3 + 1u
x&3 = 1x1 + 0 x2 1x3 + 0u
x&1 2
x& = 0
2
x& 1
3
10
0
0
0 x1 0
1 x2 + 1 u
1 x3 0
Z = 1x1 + 0 x2 + 0 x3 + 0u
Y = [1
2005 P. S. Shiakolas
0] x + 0u
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
Y
f1 ( s )
=
U f 2 (s)
X
s+a
=
U s 2 + 2n s + n2
&x& + 2n x& + n2 x = u& + au
Converting into state space
z1 = x z2 = x& = z&1
2005 P. S. Shiakolas
z&1 = z2
z&2 = n2 z1 2n z2 + au + u&
TF
X X Z
TF = =
U ZU
2005 P. S. Shiakolas
1
DEN
NUM
X
s+a
=
U s 2 + 2n s + n2
From the block diagram,
Z
X
1
=
= s+a
&
2
2
U s + 2n s + n
Z
Z
&z& + 2n z& + n2 z = u
U
Converting into state space,
=z
= & = z&
1
2005 P. S. Shiakolas
&1 = 01 + 12 + 0u
&2 = n21 2n2 1u
&1 0
=
& 2
2 n
1 0
+ u
2n 2 1
1
X
x = z& + az
Z
x = a1 + 12 + 0u
2005 P. S. Shiakolas
STATE
SPACE
BLOCK
DIAGRAM
TRANSFER
FUNCTION
2005 P. S. Shiakolas
PLANT
CONTROLLER
G1
MEASUREMENT
F = EG
X
GP
=
R 1 + GPH
CE :1 + GPH = 0
2005 P. S. Shiakolas
Unity Feedback
EFFECTS OF FEEDBACK
Affects
closed loop behavior
stability
bandwidth
overall gain
Reduces sensitivity of the output to
disturbances and system/plant parameter
changes.
Improve the steady state error
Ease control of transient response
2005 P. S. Shiakolas
G
H
GP
P
X=
R+
T
1 + GPH
1 + GPH
CE :1 + GPH = 0
E = Reference Signal Output Signal
E = R XH
2005 P. S. Shiakolas
DEP
SENSITIVITY
L2
L1
Output , C or X
C = f (G, P, H , T , R )
Linearize
C
C
C
G +
P +
H
C =
H 0
G 0
P 0
C
C
+
R +
T
R 0
T 0
2005 P. S. Shiakolas
IND
OPEN LOOP
H =0
CLOSED LOOP
GP
P
R+
T
C=
1 + GPH
1 + GPH
C = GPR + PT
SENSITIVITY TO DISTURBANCES
R = 0 ; T 0
G = P = H = 0
P
C
C =
T
C =
T
1 + GPH
T
0
C = PT
2005 P. S. Shiakolas
P
C
T
1
+
GPH
if R = 0,
=
P
C
T
1 + GPH
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
GP
C=
R
1 + GPH
GPGPR
C
C =
H
2
H
(1 + GPH )
C
Normalize
C
C G 2 P 2 R (1 + GPH )2
=
H
C
GP 1 + GPH R
2005 P. S. Shiakolas
C
GP
=
H
C 1 + GPH
if 1 + GPH >> 0
C
H
GP
H
C
GPH
H
C
H
C H
Abs Value
=
C
H
C
H
One to one mapping
2005 P. S. Shiakolas
EXAMPLE
G=
R unit step
n2
s(s + 2 n )
Rise time t r =
d
t r = 0.554 sec
d = n 1 2
d = 4 rad/sec
= atan
= 0.927 rad
2005 P. S. Shiakolas
Peak time t r =
= 0.785 sec
d
Settling time 2% t s =
5% t s =
n
3
Max overshoot M p = e
2005 P. S. Shiakolas
= 1.333 sec
= 1.000 sec
= 0.095
EXAMPLE
k
G=
s(s + 1)
H = 1 + kh s
1
s (s + 1)
Mp =e
= 0.456
tp =
d = 3.14
d
d = n 1 2 n = 3.53
CE : 1 + GH = 0
k
(1 + kh s ) = 0
1+
s (s + 1)
s 2 + (1 + kkh )s + k = 0
2005 P. S. Shiakolas
n2 = k k = 12.5
2 n 1
2 n = 1 + kkh k h =
= 0.178
k
tr =
= 0.65 sec
d
t s = (2% )
2005 P. S. Shiakolas
= 1.86 sec
EXAMPLE
k (s + 2 )
GH =
s (s 2 )
n2 = 2k n = 2k
2 n = k 2 2 2k = k 2
a)
= 0.707 2(0.707 ) 2k = k 2
2005 P. S. Shiakolas
k 2 8k + 4 = 0
Im
Re
Im
constant
line
k =2
k = 0.53
j d
Re
1 2
d
= atan n
= atan
n
n
2005 P. S. Shiakolas
1 2
= atan
STANDARD CONTROLLERS
R
GC
GP
H
Gc = k
H =kf
2005 P. S. Shiakolas
1 kc i s + 1
=
Gc = kc 1 +
is i is
b) PD: Proportional Derivative
Gc = k p + s = kc ( d s + 1)
Gc = kc 1 + d s +
is
2005 P. S. Shiakolas
GC
GP
H
1
Gp =
s (s + 1)
No Controller
1
C
=
R s2 + 1 s + 1
2005 P. S. Shiakolas
PD Controller
PD Gc = kc (1 + d s )
kc (1 + d s )
GcG p
C
=
=
R 1 + GcG p
2 1 + kc d
s +
PI Controller
kc
s +
PI Gc = kc 1 +
is
kc (1 + i s )
(
i )
C
=
R s 3 + 1 s 2 + kc s + kc
2005 P. S. Shiakolas
H = 1+ k f s
kc
KC
K cG p
C
=
=
R 1 + K cG p
2 1 + kc k f
s +
R
kc
s + 1
GP
H
kc
s +
GP
kf
H
2005 P. S. Shiakolas
2005 P. S. Shiakolas
Step
A
1+ k p
0
INPUT
Ramp Parabolic
A
kv
A
ka
EXAMPLE
Design a controller that would satisfy :
k1
G=
s (s + 2 )
H = 1 + k2 s
R=
A
s2
2005 P. S. Shiakolas
G
H
C
k1
=
R s 2 + (2 + k1k 2 )s + k1
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
k1
s1 (s + 2 )
(1 + k2 s )
s 0
+
+
s
k
k
2
1 2
= lim A
s 0 s 2 + (2 + k1k 2 )s + k1
A(2 + k1k 2 ) 10
ess =
<
A
k1
100
2005 P. S. Shiakolas
CE : s + (2 + k1k 2 )s + k1 = 0
2
n2 = k1 & 2 n = 2 + k1k 2
n = k1
2 n
2 + k1k 2
< 0.1
< 0.1
k1
k1
2(0.707)n
Let = 0.707
< 0.1
k1
2005 P. S. Shiakolas
2
n > 14.14 k1 = n = 199.94 200
2 n = 2 + k1k 2 k 2 = 0.09
Check third requirement
4
t s (2% ) =
=
= 0.4 < 3 sec
n (0.707)(14.14)
4
2005 P. S. Shiakolas
STABILITY
STABLE
t
Im
NEUTRAL
Re
UNSTABLE
t
2005 P. S. Shiakolas
RUTH-HURWITZ CRITERION
CE : an s n + an 1s n 1 + an 2 s n 2 + ... + a1s + a0 = 0
TESTS FOR APPLYING R.H.
a0 0 ; All ai Real
If any of the coefficients are zero or change sign,
then system is unstable
2005 P. S. Shiakolas
ROUTH TABLE
Power
Coefficients
sn
an
an 2
an 4
s n 1
an 1 an 3
an 5
sn2
b1
b2
s n 3
c1
c2
b3
M
s0
2005 P. S. Shiakolas
1 an
b1 =
an 1 an 1
an 2
1 an
b2 =
an 1 an 1
an 4
an 3
an 5
1 an 1
c1 =
b1 b1
an 3
1 an 1
c2 =
b1 b1
an 5
2005 P. S. Shiakolas
b2
b3
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
a2
a0
a1
s0
b1 = a0
1 a2
b1 =
a1 a1
a0
0
1
( a1a0 )
b1 =
a1
b1 = a0
2005 P. S. Shiakolas
CE : a3 s + a2 s + a1s + a0 = 0
a3
a1
3
1
s
a3
a1
b1 =
a
a0
2 a2
2
s
a2 a0
1
(a0a3 a1a2 )
b1 =
s1
b1
b2
a2
s0
c1 = a0
1 a2
c1 =
b1 b1
2005 P. S. Shiakolas
a0
0
1
(a1a2 a0a3 )
=
a2
= a0
CE : s 3 + s 2 + 2 s + 24 = 0
2
1 1
3
s
1 2
b1 =
= 22
1 1 24
s2
1 24
24
1 1
= 24
s1
b1 = 22 c1 = b
0
1 b1
s0
c1 = 24
Gp =
1
a3s 3 + a2 s 2 + a1s + a0
Gc = kc
H =1
CE : 1 + Gc G p = 0
a3s 3 + a2 s 2 + a1s + a0 + kc = 0
2005 P. S. Shiakolas
a0 + kc > 0 kc > a0
a1a2 a3a0 a3kc
b1 =
>0
a2
c1 = a0 + kc kc > a0
a1a2 a3a0
a3kc a3a0 a1a2
>
kc <
a3
a2
a2
a1a2 a3a0
a0 < kc <
a3
2005 P. S. Shiakolas
CE : s 4 + ks 3 + s 2 + s + 1 = 0
Determine the range of k for stability
4
s3
s2
b1
s1
c1
s0
d1
b2
1 1
b1 =
k k
1 1
b2 =
k k
1
= (k 1)
1 k
=1
k2
c1 = 1
k 1
d1 = 1
2005 P. S. Shiakolas
1
b1 = (k 1) > 0 k > 1
k
k2
k 1 k 2
c1 = 1
>0
>0
k 1
k 1
negative
1 + k (1 k )
>0
k 1
positive
The above range of inequality is false and
therefore there is no range of k that yields us
a stable system.
Hence, system is unstable.
2005 P. S. Shiakolas
CE: s + 2 s + 2 s + 4 s + 11s + 10 = 0
s5
11
s4
10
s2
1
s
s
b1
c1
d1
e1
2005 P. S. Shiakolas
b2
12
1 1
b1 =
2 2
1 1
b2 =
2 2
11
1 1
c1 =
b1 b1
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
=0
10
11
b2
=6
CE: s + s + 2 s + 2 = 0
s1 row is all zeros
s3
s2
s1
b1 = 0
s0
c1
1s 2 + 2 s 0 s 2 + 2
Eigen values of s 2 + 2 is 2 j
which are symmetric about
the real axis.
CE : s 4 + s 3 + 3s 2 + 2 s + 2 = 0
s4
s
s2
b1
b2
s1
c1 = 2
s0
d1
2005 P. S. Shiakolas
b1 = 1
b2 = 2
c1 = 0
Q = b1s 2 + b2 = s 2 + 2
dQ
= 2s
ds
1 b1
d1 =
c1 c1
b2
0
= b2
24
25
b1 = b2 = 0
50
Q = 2 s 4 + 48s 2 50
48
s3
b1
b2
s2
c1
b1 = 8 & b2 = 96
s1
d1
c1 = 24 & c2 = 50
s0
e1
d1 = 112.7 & e1 = 50
dQ
= 8s 3 + 96 s
ds
System is unstable
2005 P. S. Shiakolas
CE : s 3 + 2 s 2 + 4 s + k = 0
Determine the range of k for stability
s3
s2
s
s
b1
c1
1 1
b1 =
2 2
8k
=
>0
2
k
1 2
c1 =
b1 b1
=k >0
8k > 0 k < 8
0<k <8
2005 P. S. Shiakolas
Gp =
Gp
k
s ( s 2 + s + 1)( s + 2)
Apply RH for CE : s 4 + 4 = 0
2005 P. S. Shiakolas
Gc
Gp
Gc = k
Gp =
1
ess =
1+ k p
2
s 3 + 4 s 2 + 5s + 2
k p = lim GcG p = k
s 0
1
ess =
1+ k
1
1
ess < 2% input
<
k > 49
1 + k 50
2005 P. S. Shiakolas
CE: s 3 + 4 s 2 + 5s + 2 + 2k = 0
2 + 2 k > 0 k > 1
18 2k
3
b1 =
>0
s
1 5
4
c1 = 2 + 2k
s2
s1
b1
s0
18 2k
>0 k <9
4
c1
2 + 2k
k p s + kI
s
CE : s 4 + 4 s 3 + 5s 2 + 2 + 2k p s + 2k I = 0
2 + 2k p > 0 k p > 1
kI > 0
2005 P. S. Shiakolas
s4
s3
4 2 + 2k p
s2
b1
s1
c1
s0
d1
2005 P. S. Shiakolas
b2
2k I
b1 =
18 2k p
4
>0
kp < 9
b2 = 2k I
d1 = 2k I > 0
[(
)(
4
c1 =
1 + k p 9 k p 8k I
18 2k p
2005 P. S. Shiakolas
2005 P. S. Shiakolas
2005 P. S. Shiakolas
A = + j = A e j
Im
= atan2 = A
A = 2 + 2
A1 e j1
A1
A1 j (1 2 )
=
=
e
j
A2 A2 e 2 A2
A1 A2 = (1 + 1 j ) ( 2 + 2 j )
= (1 2 ) + (1 2 ) j
2005 P. S. Shiakolas
Re
Background on RL
CLTF
C
G
=
R 1 + GH
CE : 1 + GH = 0
G
H
s = j
1 + GH s = j = 0
GH s = j = 1
2005 P. S. Shiakolas
Magnitude GH s = j = 1
Angle
GH s = j = ( 1 + 0 j )
= 180(2n + 1) n = 0,1, 2...
EXAMPLE
Im
k
GH =
s +
GH =
( + ) + j
2005 P. S. Shiakolas
s = j
Re
GH =
( + )2 + 2
GH = = atan
= 180(2n + 1)
k
+1 = 0
GH + 1 = 0
s +
s + (k + ) = 0 s = (k + )
k =
x
2005 P. S. Shiakolas
Im
k =0
x
Re
Properties of RL
GH = 1 where G = k g
kg
Ng
Dg
kf
Nf
Df
Ng
Dg
& H =kf
= 1 k = k g k f =
Nf
Df
Ng N f
Dg D f
Dg D f = 0
if k = 0
Open loop poles
N g N f =
Dg D f =
if k =
Open loop zeros
N g N f =
2005 P. S. Shiakolas
OLTF :
CLTF :
Ng N f
Dg D f
C
=
R
kg
Ng
kg
Ng
Dg
Dg
=
Dg D f + kN g N f
Ng N f
1+ k
Dg D f
Dg D f
2005 P. S. Shiakolas
EXAMPLE
k
GH =
s +1
0k
CE : s + (1 + k ) = 0
OL poles : s = 1
OL zeros :
k =
x
2005 P. S. Shiakolas
Im
k =0
x
-1
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
Re
EXAMPLE
k (0.4 s + 1) OL pole : s = 1
GH =
s +1
OL zero : s = 2.5
Im
TP2
TP3
TP1
TP5
-1
Re
TP4
GH = k + 0.4 s + 1 s + 1
GH = 0 + = 180(2n + 1)
2005 P. S. Shiakolas
CE : (1 + 0.4k )s + 1 + k = 0
1+ k
s=
1 + 0.4k
k = 0 s = 1
k = s = 2.5
k = 5 s = 2
101
k = 100 s =
41
1001
k =0 s=
401
2005 P. S. Shiakolas
GH s = 1.5 = 1
k (0.4 s + 1)
=1
s + 1 s = 1.5
0.8k = 1
k = 1.25
2005 P. S. Shiakolas
OL Poles :
s = 1
OL Zeros : none
CE : s 2 + s + k = 0
1 1
1 1 4k
1 4k
s1,2 =
=
2
2 2
2005 P. S. Shiakolas
s=0
-1
-1/2
Im
1
0
2005 P. S. Shiakolas
Re
CL poles
1
4
1
2
1 1
+ j
2 2
10
1
39
+
j
2
2
1000
2005 P. S. Shiakolas
1
3999
+
j
2
2
1 1
j
2 2
1
39
j
2
2
1
3999
j
2
2
find k .
2005 P. S. Shiakolas
1
0 < k < , the eigen values are on the the Re - axis
4
i.e. they behave as the first order system.
(s + )(s + ),
> 1.
1
k = , the eigen values are on the Re - axis
4
& repeating. (s + )2 , = 1.
1
k > , the eigen values are complex conjugates.
4
< 1.
2005 P. S. Shiakolas
Im
s 2 + 2 n s + n2 = 0
-1
-1/2
d n 1 2 1 2
tan =
=
=
n
n
2005 P. S. Shiakolas
Re
EXAMPLE
= 0.6 (desired damping)
1 0.6 2
tan =
= 1.333 = 53.1o
0.6
1
n = n = 0.833
2
d = n 1 2 = 0.6664
Point of interest Desired eigen value
1
Find k to yield s = 0.6664 j
2
2005 P. S. Shiakolas
180(2q + 1)
=
= 60(2q + 1)
3
2005 P. S. Shiakolas
60
1 180
2 300
(Centroid of
poles zeros
a =
nm
(
- 1 - 2 - 3) 0
=
= 2
3
2005 P. S. Shiakolas
(
)
Im ( 3 + 11 ) j = 0
(11 2 ) = 0 = 0
Re 6 2 + 6 + k = 0
= 11
( )
6 11 + 6 + k = 0 k = 60
Breakin/Breakaway point
CE :1 + kGH = 0 = f ( s )
2005 P. S. Shiakolas
A + kB = 0 = f ( s )
( A = A( s), B = B( s) )
A
k =
B
dk
d A
min/ max
= =0
ds
ds B
The value of s is breakin/away pts if k
for that s is positive.
2005 P. S. Shiakolas
A
k=
B
A = (s + 1)(s + 2)(s + 3)
B =1
dk
d s 3 + 6 s 2 + 11s + 6
=0
=
1
ds
ds
= 3s 2 + 12 s + 11 = 0
s1 = 2.6 & s2 = 1.4
1. Evaluate k breakin/away. Reject if k < 0
2. Examine the Re axis
2005 P. S. Shiakolas
ROOT
LOCUS
Root Locus
5
4
Constant
line
IMAGINARY
AXIS
Imaginary Axis
= 11, k = 60
1
0
-1
s = 1.4
k = 0.384
-2
-3
-4
-5
-8
-7
-6
-5
-4
-3
-2
-1
Real Axis
REAL AXIS
2005 P. S. Shiakolas
Example GH =
10(s + )
2
s + 5s + 6
0< <
N (s)
k
= GH
D( s)
CE : 1 + GH = 0
s 2 + 5s + 6 + 10 s + 10 = 0
(s 2 + 15s + 6)+ 10 = 0
1+
2005 P. S. Shiakolas
10
s 2 + 15s + 6
=0
n=2 ; m=0
na = n m = 2
180(2q + 1)
= 90(2q + 1) 90, 270
a =
nm
PZ
a =
= 4.5
nm
Breakin/away point
s 2 + 15s + 6
d
=
= (2 s + 15)
ds
10
s = 7.5
2005 P. S. Shiakolas
Root Locus
Imaginary Axis
4
2
0
-2
-4
-6
-15
-10
-5
Real Axis
2005 P. S. Shiakolas
Example
GH =
n=3
m=3
k (s + 3)(s + 1 3 j )
s (s + 1)(s + 2 )3 (s + 4 )(s + 5 2 j )
(0,1, 2,2,2,4,5 2 j )
( 3,1 3 j )
na = n m = 5
180(2q + 1)
a =
= 36(2q + 1) 36, 108, 180
nm
PZ
= 3.2
a =
nm
2005 P. S. Shiakolas
Root Locus
15
Imaginary Axis
10
5
0
-5
-10
-15
-20
2005 P. S. Shiakolas
-15
-10
-5
Real Axis
10
Example
Gp =
s 3
H =1
s 2 + 5s + 6
Gc = 1 (proportional)
Is the system stable or unstable?
OLTF :
k (s 3)
2
s + 5s + 6
assuming Gc = k
2005 P. S. Shiakolas
Root Locus
1
Imaginary Axis
0.5
-0.5
-1
-14
-12
2005 P. S. Shiakolas
-10
-8
-6
-4
Real Axis
-2
STANDARD CONTROLLERS
P: k
No OLP/OLZ
is +1
PI : k
is
1 OLZ
1 OLP (origin)
PD : k ( d s + 1)
1 OLZ
d i s 2 + i s + 1
PID : k
s
i
2 OLZ
1 OLP (origin)
2005 P. S. Shiakolas
Im
PI
x
Re
Im
Im
2005 P. S. Shiakolas
Re
Re
PD
Im
Im
constant
x
x
Re
Re
Im
Im
x
x
Re
Re
Re
Im
PID
Im
Im
Re
2005 P. S. Shiakolas
Re
Example
(
s + 2 )(s + 7 )
GH = kc
(s 1)(s + 1)(s + 10)(s + 3)
Root Locus
m=2
na = n m = 2
15
180(2q + 1)
a =
nm
PZ
a =
nm
20
Imaginary axis
n=4
Root Locus
25
10
5
0
-5
-10
-15
-20
-25
-10
2005 P. S. Shiakolas
-8
-6
-4
Real axis
-2
Example
R
1/s
A
1 + Ak
20
A=
(s + 1)(s + 4)
A 1
C
CLTF :
= 1 + Ak s
R 1+ A 1
1 + Ak s
CE :
A
1+
1 + Ak
1
=0
s
2005 P. S. Shiakolas
s
3
s + 5s + 4 s + 20
=0
OLTF for RL :
s
K
(s + 2 j )(s 2 j )(s + 5)
Root Locus
15
n=3
m =1
na = n m = 2
a = 90(2q + 1)
a = 2.5
2005 P. S. Shiakolas
Imaginary Axis
10
5
0
-5
-10
-15
-5
-4
-3
-2
Real Axis
-1
s = 2.9
s2 = 2.16 4.96 j
s = 0.68
K ( ) s=s = 1
1
for s1 : K = 8.98 or k = 0.45
for s2 : K = 28.26 or k = 1.43
2005 P. S. Shiakolas
INTRODUCTION TO MATLAB
MATLAB commands used
rlocus
rltool
Use MATLAB help for further information.
2005 P. S. Shiakolas
EXAMPLE
ELECTROMAGNETIC RELAY CONTROL
(Refer Handout for figure)
( s )
=
OLTF : G ( s ) =
s 3 + 16s 2 + 44 s 160 Vin ( s )
1
Controller
R
Vin
Plant: Electromagnetic
Relay (3rd Order)
2005 P. S. Shiakolas
Root Locus
20
n=3
na = 3
a = 60(2q + 1)
a = 5.33
10
Imaginary Axis
m=0
15
5
0
-5
-10
-15
-20
-30
2005 P. S. Shiakolas
-25
-20
-15
-10
-5
Real Axis
10
(16 2 160 + k )+ ( 3 + 44 )j = 0
( 2 + 44) = 0 = 0 or = 44
16 2 160 + k = 0
16(44 ) 160 + k = 0
k = 864
2005 P. S. Shiakolas
RH : Let = k 160
s 3 + 16 s 2 + 44s + = 0
1 1
b1 =
16 16
1
= ( 704)
16
44
s3
44
s2
s1
b1
k < 864
s0
c1
2005 P. S. Shiakolas
L
Let : x(t ) = X sin t X ( s ) =
Xs
s2 + 2
p( s)
p(s)
=
G ( s) =
q ( s ) (s + s1 )(s + s2 )......(s + sn )
Y ( s) = G (s) X ( s)
p(s)
p(s)
Xs
=
X (s) =
(s + s1 )(s + s2 )......(s + sn ) s 2 + 2
q(s)
2005 P. S. Shiakolas
X
(s + j ) s = j
a = G( s)
(s + j )(s j )
X
a = G ( j )
2 j
X
& a = G ( j )
2 j
G ( j ) = G ( j ) e j
= G ( j )
G ( j ) = G ( j ) e j
2005 P. S. Shiakolas
a=
G ( j ) Xe j
y ss (t ) =
2j
& a=
X G ( j ) e j e j t
2j
G ( j ) Xe j
2j
+
X G ( j ) e j e j t
2j
e j ( +t ) e j ( +t )
+
y ss (t ) = X G ( j )
2 j
2 j
e i e i
We know , Euler' s identity sin =
2j
2005 P. S. Shiakolas
y ss (t ) = X G ( j ) sin(t + )
x(t )
G (s )
k
G(s) =
s +1
y (t )
x(t ) = X sin t
y ss (t ) = X G ( j ) sin(t + )
2005 P. S. Shiakolas
k
k
G ( j ) =
G ( j ) =
1 + j
1 + 2 2
= G ( j ) = k (1 + j )
= atan
1
yss (t ) = X
2005 P. S. Shiakolas
k
1 + 2 2
sin (t atan ( ) )
OBSERVATIONS :
2005 P. S. Shiakolas
BODE PLOT
Amplitude
& Phase
Linear
MAGNITUDE
Logarithmic w
Linear
PHASE
Logarithmic winput
2005 P. S. Shiakolas
Bode Plot:
It is a graphical representation of the steady state
output due to a sinusoidal input for a range of values
of the input frequency.
Standard Representation for Magnitude of G(jw) is
logarithmic and is given as
20 log10 G ( j ) db (decibels)
2005 P. S. Shiakolas
In General, a T.F.
G ( s) =
k g (s + a )
2
2
(
(
)
+
+
+
2
s s b s
n s n )
Normalizing,
1
k g a s + 1
a
G ( s) =
2
2
1
2 s
1
s b s + 1 n
s
+
+
n
n
2005 P. S. Shiakolas
s = j
k ( aj + 1)
G ( j ) =
j 2 2
+
j ( bj + 1)
j + 1
n
n
G ( j ) =
k (1 + aj )
2 2
j (1 + bj ) 1 +
n
n
Plot Magnitude in db
2005 P. S. Shiakolas
20 log j 20 log (1 + bj )
2 2
+
20 log 1
n
n
2005 P. S. Shiakolas
(1 + ( b )2 )
2 2
2
2
+
20 log 1
n n
Phase
G ( j ) = k + (1 + aj ) j
2 2
+
(1 + bj ) 1
n
n
a
= + a tan
atan
0
1
2
n
b
a tan
a tan
2
1
1
n
2005 P. S. Shiakolas
Constant
20 log k constant in db
k = 0
Linear Axis
| |
db
0.1
10
o
0.1
2005 P. S. Shiakolas
10
Pole at origin
s
j
1
= 20 log j = 20 log 2
20log
j
= 20 log db
= atan = 90o
0
j
2005 P. S. Shiakolas
(Constant )
0.1
20 log
20
20 log
20
1
10
0
20
0
20
40
Passes Through
=1
20
| |
db
0.1
10
100
(log)
-20
-40
1
2
1 j
j
o
0.1
-90
-180
2005 P. S. Shiakolas
10
100
1
j
2
1
j
(log)
20 log
= 20 log
( )
= 20 log
2 2
= 20 log 2 = 2( 20 log )
0
= 1 = 0 atan
2
2
1
( )
= 180o = 2 90o
2005 P. S. Shiakolas
1
N 20 log
SN
j
1
1 + j
(1 j )
Break Frequency
Corner Frequency
1
2 2
20 log
= 20 log 1 +
1 + j
= 10 log 1 + 2 2
when =
2005 P. S. Shiakolas
= 1 2 2 = 1
= 10 log(1 + 1) = 10 log 2 = 3.01 db
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
<<
1
42
4
31
<< 1
= 1
>>1
Mag 10 log 1 = 0 db
0o
Mag 3.01 db
45o
Mag 10 log 2 2
20 log( )
20 db/dec
90o
2005 P. S. Shiakolas
0.1
| |
db
10 1
100 1
(log)
-20
Slope -20 db/dec
-40
0.1
10 1
100 1
-45
-90
2005 P. S. Shiakolas
(log)
(1 + j ) N
Mag : << 1 0 db
= 1
3.01 db ( N )
>> 1 20 ( N ) db/dec
Phase : << 1 0o
= 1
45 ( N )
>> 1 90 ( N )
2005 P. S. Shiakolas
G ( s) =
n2 s 2
s
+ 2
+1
n
n
G ( j ) =
1
2
+ 2
1
j
n
n
2005 P. S. Shiakolas
+ 2
j
Mag : 2 log G ( j ) = 20 log 1
n
n
2 2
2
1
+ 2
= 20 log 1
2
n n
Let
=u
n
2
2 2
= 10 log 1 u
+ (2u )
2005 P. S. Shiakolas
2u
Phase G ( j ) = atan
2
1 u
if u << 1, Mag 10 log 1 = 0
Phase 0o
if u >> 1, Mag 10 log u 4 = 40 log u
slope = 40 db/dec
2u
1
atan
Phase -atan
2
u
u
180o
2005 P. S. Shiakolas
0.1u
u =1
o
90
=
10u
-40
(log)
Slope -40 db/dec
0.1u
u =1
10u
(log)
-90
-180
2005 P. S. Shiakolas
r = n 1 2 2
< 0.707
M P r = G ( jr ) = 2 1 2
Mag
G ( j ) sin t + 0o
Output =
Input
2005 P. S. Shiakolas
20 log G ( j ) = 0 db G ( j ) = 1
mag
1 sin(t + 0o )
output =
input
at = 100
20 log G ( j ) = 40 db G ( j ) = 0.01
90
2005 P. S. Shiakolas
mag
0.01 sin(t 90o )
output =
input
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
Example
G ( s) =
10 ( s + 3)
s ( s + 2) ( s 2 + s + 2)
Normalize
1
10 3 s + 1
3
G (s) =
2
1
1
s
s 2 s + 1 2
+ s + 1
2
2
2
j
7.5
+ 1
3
G ( j ) =
2
j
j j
j
+1
+ 1
+
2
2
2
2005 P. S. Shiakolas
ME 5303 Classical Methods of Control
Systems Analysis & Synthesis
FACTORS
Break Freq.
Slopes
db/dec
Angle
deg.
7.5
+1
( j )
j + 1
2
(Quad )1
Low
Freq.
-20
High
Freq.
20
-20
-20
-40
Low
Freq.
-90
-45
-90
-90
-180
Break
Freq.
High
Freq.
2005 P. S. Shiakolas
45
0
90
-90
Constant :
20 log(Constant) db =
20 log(7.5) = 17.5 db
Quadratic :
Find r , , M p r from formulae.
2005 P. S. Shiakolas
| |
db
-20
-40
2005 P. S. Shiakolas
Simple Zero
Slope = 20 db/dec
Constant
r = M p
Simple Pole
Slope =
-20 db/dec
(log)
Quadratic
Slope =
-40 db/dec
Magnitude
| |
db
-20
-40
2005 P. S. Shiakolas
(log)
Phase
90
45
(log)
o
-45
-90
-135
-180
-270
2005 P. S. Shiakolas
T
T1
G1 = atan
atan
1
1
T
T1
G2 = atan
atan
1
1
2005 P. S. Shiakolas
1 1
>
T T1
o
o
1
T1
1
T1
1
T
1
T
| |
db
(log)
-3 db
Bandwidth
| |
db
(log)
0
-3 db
Bandwidth
e j L
G ( j ) =
1 + j T
L = 0.5 T = 1.0
{
1
57.3L deg
= L or 57.3L
2005 P. S. Shiakolas
cg
| |
db 0
o
-180
(log)
Positive Gain
Margin (G.M.)
Positive Phase
Margin (P.M.)
2005 P. S. Shiakolas
cp
(log)
(
)
if < 0 ( < 180o ) , System is unstable
if > 0 > 180o , System is stable
kg =
1
G ( j )
cp
k g db = 20 log k g = 20 log G ( j )
cp
Example
k
G (s) =
s (s + 1)(s + 5)
n=3
k = 30
m=0
= 5
na = n m = 3
a = 60(2q + 1)
6
a =
= 2
3
Imaginary Axis
-0.472
-5
-10
-14
2005 P. S. Shiakolas
-12
-10
-8
-6
-4
Real Axis
-2
G( s) =
Type 0
(s = j )
Static position
lim G ( j ) = k = k p
2005 P. S. Shiakolas
kp db
| |
db
-20 db/dec
-40 db/dec
(log)
k (s + 2 )
G( s) =
s (s + 5)(s + 8)
| |
db
k ( j + 2 )
G ( j ) =
j ( j + 5)( j + 8)
2005 P. S. Shiakolas
(log)
At low frequencies,
kv
, << 1 | |
G ( j ) =
j
db
kv = 1
-20 db/dec
20logkv
0
1 (log)
=1
2005 P. S. Shiakolas
G ( j ) =
20 log
ka
( j )2
ka
( j )2
ka
( j )
ka
2005 P. S. Shiakolas
= 20 log 1
=1
=1
, << 1
-40 db/dec
| |
db
20logka
0
(log)
=1
a = k a
a = k a
COMPENSATION
Series/Cascade
R
Feedback
Output/Load
Input
Gp
Gc
H
Gc
Gp
H
s +
G( s) = k
s+
Lead:
Lag:
Lead-Lag:
2005 P. S. Shiakolas
LEAD COMPENSATORS
1
s+ 1
1 s+ T
T
G (s) =
=
s+ 1
11
T s +
T
<1
1
s
+
1
T
=
s + 1T
LEAD
Pole to the left of zero
2005 P. S. Shiakolas
>1
1
| |
db 0
LEAD
s+ 1
T
G ( s ) = kc
s+ 1
T
90
45
o 0
- 45
- 90
0 < <1
STATIC / DC
GAIN
kc
min = 0.07
Maximum Phase Lead = 60o
2005 P. S. Shiakolas
1 1
1
m = zp =
=
T T T
T j + 1 T j + 1
G ( j ) = kc
Tj + 1 Tj + 1
G ( j ) =
(
1 + T 2 2 + jT (1 ))
(T )2 + 1
2005 P. S. Shiakolas
kc
1
max =
= atan
2
T
1
1
sin max =
1+
HOW TO DESIGN A LEAD COMPENSATOR
BASED ON FREQUENCY APPROACH
R
2005 P. S. Shiakolas
Gp
4
Gp =
s (s + 2 )
s+ 1
Ts + 1
T
= kc
G ( s ) = kc
Ts + 1
s+ 1
T
0 < <1
4
Ts + 1
GcG p = kc
Ts + 1 s (s + 2 )
2005 P. S. Shiakolas
Let kc = k
1
Ts + 1
GcG p = 4k
(Ts + 1) s(s + 2)
1
Let 4k
= G1
s (s + 2 )
Ts + 1
GcG p = G1
(Ts + 1)
2005 P. S. Shiakolas
4k
kv = 20
kv = lim sGcG p
s 0
Ts + 1
1
4k
= lim s
s (s + 2)
s 0 Ts + 1
kv = 2k k = 10 = kc
2005 P. S. Shiakolas
k = 10
1
Bode Plot : 4k
s (s + 2 )
Examine new Bode Plot with k = 10
kv = 20 sec-1 (See Bode Plot: Draw a line extension
of the low frequency 20 db/dec part of the
magnitude plot and find its intersection with the 0
db line)
Find the new phase and gain margins.
2005 P. S. Shiakolas
GM =
PM = 180 162 = 18o
Requirement for PM 50
Therefore, need to add phase (without changing k)
Amount of phase needed = 50 18 =32
Need a LEAD compensator
Lead compensator will shift gain crossover
frequency to the right, thus reducing the PM.
So, require the compensator to provide additional
phase of (say) 5.
2005 P. S. Shiakolas
G1 ( j ) = 20 log
1
= 20 log
= 6.2 db
0.24
Refer Bode Plot and find for G1 ( j ) = 6.2db
= 9 rad/sec
Determine the corner frequencies for L.C.
zero
1
z =
T
2005 P. S. Shiakolas
&
pole
1
p =
T
cg = 9 =
1
T
1
= 4.41 &
T
T = 0.23
1
= 18.37
T
L.C.
s+ 1
s + 4.41
T
Gc = kc
= kc
s + 18.37
s+ 1
T
0.23s + 1
or Gc = kc
0.054 s + 1
2005 P. S. Shiakolas
10
k = kc kc = =
= 41.7
0.24
k
s + 4.41
Gc ( s ) = 41.7
s + 18.37
1
G p ( s) = 4
s (s + 2 )
2005 P. S. Shiakolas
Shaft
Motor
Amplifier & Load velocity
Compensator
1/s
100
s + 100
1
s + 36
BW =
Tp 1 2
1 2 2 + 4 4 4 2 + 2
= 0.456
BW = 46.59 rad
Meeting kv requirement, need to increase the
constant gain, gain = 1440
Plot the uncompensated gain bode plot. Find PM
and GM.
2005 P. S. Shiakolas
m = tan
2
2 2 + 1 + 4 4
= 48.15
s + 25.27
G ( s ) = 2.38
s + 60.17
2005 P. S. Shiakolas
LAG COMPENSATION
1
+
s
Ts + 1
T
= kc
Gc ( s ) = kc
Ts + 1
s+ 1
T
| |
0
zero : 1
db
T
pole : 1
o 0
T
2005 P. S. Shiakolas
>1
1
T
Example
1
Gp =
s(s + 1)(0.5s + 1)
Gp
Ts + 1
Gc ( s ) = kc
Ts + 1
>1
Ts + 1
1
= lim s
k
s 0 Ts + 1 s (s + 1)(0.5s + 1)
kv = k = 5
Plot new BP including k = 5
2005 P. S. Shiakolas
cg = 1.8
GM = 4.4 db
cp = 1.4
GM = 13
20 log =
mag. plot to 0 db
1
20 log = 20 db
= 10
5
k
k = kc kc =
=
= 0.5
10
1
Plot of lag compensator =
=1
T
2005 P. S. Shiakolas
zero = 0.1
pole = 0.01
kc = 0.5
s+ 1
Ts + 1
T
= kc
Gc ( s ) = kc
Ts + 1
s+ 1
T
s + 0.1
= 0.5
s + 0.01
2005 P. S. Shiakolas
PHYSICAL REALIZATION OF
CONTROLLERS & COMPENSATORS
Ro
Ri
Vo
Vi
Ro
Vo ( s ) = Vi
Ri
Proportional Gain
2005 P. S. Shiakolas
Zo
Zi
Vi
Vo
Z: Impedence
Zo
Vo ( s ) = Vi
Zi
R2
Vi
R1
C2
Vo
Zo
Vo ( s ) = Vi
Zi
2005 P. S. Shiakolas
R1
R2
R
2
Gain
Int.
Diff.
PI
R
C
PD
RC
s
RCs
R2
s+ 1
R
R2C
2
R1
s
R2C s + 1
R1C
R1
2005 P. S. Shiakolas
R1
C1
R2
PID
C2
R1
i 1
R2 C1
R1C2
+ R2C1s +
+
R1 C2
s
kp
2005 P. S. Shiakolas
LAG/
LEAD
s+ 1
C1
R1C1
1
C2 s +
R
C
2 2
2005 P. S. Shiakolas
C1
C2
R1
R2
LAG
LEAD
Passive Components
LAG
Vi
R1
Vo
R2
C
s+ 1
Vo ( s )
R2
=
Vi ( s ) R1 + R2 s + 1
2005 P. S. Shiakolas
R2C
(R1 + R2 )C
LEAD
C
Vi
R2 V o
R1
s+ 1
Vo ( s )
=
Vi ( s ) s + 1
2005 P. S. Shiakolas
R1C1
+ 1
R1C
R2C
LAG-LEAD
C1
Vi
Vo ( s )
=
Vi ( s )
s 2 +
R1
R2 V o
C2
s + 1
s + 1
R
C
R
C
1 1
2 2
s+ 1
1
+ 1
+ 1
R1C1
R2C2
R2C1
R1R2C1C2
2005 P. S. Shiakolas
27.95
Gc ( s ) = s + 56.41 +
s
From Realization table,
R2 C1
= 56.41
+
R1 C2
1
= 27.95
R1C2
R2C1 = 1
2005 P. S. Shiakolas
3 equations, 4 unknowns.
Let C2 = 0.1F C1 = 5.59 F
R1 = 357.73 k
R2 = 178.86 k
R2=179 k
Vi
C1= 5.6 F
C2= 0.1 F
R1= 358 k
2005 P. S. Shiakolas
Vo
Shaker Table
2005 P. S. Shiakolas
max. amplitude ( = 2 ) ~ 14 db
establish n = 2
M p = 14 db 20 log M p = 14 db
M p = 5.02
Mp =
2005 P. S. Shiakolas
1
2 1 2
= 0.1
corner
+ 1 corner = 0.5
Low Frequencies
Establish double pole at origin
ka = 1
2005 P. S. Shiakolas
G ( j ) =
2005 P. S. Shiakolas
j
+ 1
c
2
( j )2 j + 2
j + 1
n
n
j
+
1
0.5
2
2
( j ) j + 2(0.1) j + 1
2
2
G (s) =
2005 P. S. Shiakolas
8(s + 0.5)
s 2 s 2 + 0.4 s + 4
t
Tunit
step
2005 P. S. Shiakolas
Plant
1
Gc ( s ) = k p 1 +
+ d s
is
Type of
controller
kp
T/L
PI
0.9 T/L
L/0.3
PID
1.2 T/L
2L
0.5L
2005 P. S. Shiakolas
PID Controller
T
1
+ 0.5 Ls
Gc ( s ) = 1.2 1 +
L 2 Ls
s +
L
= 0.6T
s
Im
L
2005 P. S. Shiakolas
Re
Second Method:
Controller
r(t)
Plant
c(t)
Pcr
C(t)
Type of
controller
kp
0.5kcr
0
0
0.125Pcr
PI
0.45kcr
1
Pcr
1.2
PID
0.6kcr
0.5Pcr
2005 P. S. Shiakolas
PID Controller
1
+ 0.125 Pcr s
Gc ( s ) = 0.6kcr 1 +
0.5Pcr s
4
s +
Pcr
= 0.075kcr Pcr
s
2005 P. S. Shiakolas
Application of Z-N:
r(t)
Gc
Gp
c(t)
RH : s 3 + 6 s 2 + 5s + k p = 0
kcr = 30
2005 P. S. Shiakolas
Period =
CE : s 3 + 6 s 2 + 5s + 30 = 0
2
CE s = j = 5 Pcr =
= 2.81
5
Use table to find k p , i , d
k p = 0.6, kcr = 18, i = 0.5, Pcr = 1.41,
Gc
(
s + 1.42)2
( s ) = 6.32
s
2005 P. S. Shiakolas
Example:
Controllable:
Observable:
Y (s)
s+3
=
U ( s ) s 2 + 3s + 1
x&1 0
=
x&2 2
x1
y = [3 1] + 0
x2
x&1 0 2 x1 3
+ u
=
x&2 1 3 x2 1
y = [0
2005 P. S. Shiakolas
1 x1 0
+ u
3 x2 1
x1
1] + 0
x2
Observability:
C
CA
Q = CA2
M
CAn 1
Controllability:
Pc = B
AB
A2 B
An 1B
Example:
x&1 3
=
x&2 2
y = [1
1 x1 0
+ u
1.5 x2 1
x1
1]
x2
Controllability: Pc = [B
1
AB ] =
4
det Pc = 0
X1( s)
s + 2.5
=
U ( s ) (s + 2.5)(s 1)
2005 P. S. Shiakolas
pole/zero cancellation
Observability:
1
Q=
5
1
det Q = 2.5 + 5 = 7.5 0
2.5
System observable.
2005 P. S. Shiakolas
1
x& =
0
0
b1
x + u
2
b2
y = (c1
c2 ) x
y = c(sI A)1 Bu
y (b1c1 + b2c2 ) s (2b1c1 + b2c2 )
=
(s 1)(s 2)
u
b2c2 s b2c2
b2c2 (s 1)
Let b1 = 0 TF =
=
(s 1)(s 2) (s 1)(s 2)
2005 P. S. Shiakolas
Let b2 = 0 Controllability
c1 = 0
[B
AB ]
c2 = 0
b1
b2
b1
b
2
b1
2b1b2 b1b2 = b1b2
2b2
b1
b2
Observability
C1
C
CA = (C
1 C2 )
2005 P. S. Shiakolas
C2
C1
0 =
C1
2
C2
2C2
Assume
Controllability
x& = Ax Bkx
x& = ( A Bk )x
(
A Bk )t
x(t ) = e
x(0)
k = (k1
k2
k3 )
CE : (s 1 )(s 2 )(s 3 ) = 0
CE from A Bk
sI ( A Bk ) = 0
Equate the two CEs
Ackermans Formula or Principle
x& = Ax + Bu
x& = ( A Bk )x
u = kx
k = [0
2005 P. S. Shiakolas
1] B
AB K A B ( A)
14444244443
n 1
0
A = 0
1
1
0
5
0
1
6
0
B = 0
1
s = 10. Find k .
AB
A2 B
k2
k3 ]
CE of new system ( A Bk )
sI ( A Bk ) = s 3 + (6 + k3 )s 2 + (5 + k 2 )s + 1 + k1 = 0
CE based on desired eigen value loc.
s 3 + 14 s 2 + 60 s + 200 = 0
Equate coefficients
2005 P. S. Shiakolas
6 + k3 = 14 k3 = 8
5 + k 2 = 60 k 2 = 55
1 + k1 = 200 k1 = 199
Ackerman's
k = [0
1] B
AB
A2 B ( A)
( A) = A + 14 A + 60 A + 200 I =
2005 P. S. Shiakolas
55
8]
OBSERVER
x& = Ax + Bu
y = Cx
Observer x& = Ax + Bu + L( y Cx )
as t , x x
x(to ) is not known
x (to ) estimate
Observer error, e(t ) = x(t ) x (t )
We want the observer to produce a result s.t.
e(t) 0 as t
2005 P. S. Shiakolas
= Ax + Bu Ax Bu L( y Cx )
= A( x x ) L( y Cx )
e& = Ax Ax Ly + LCx Roots or eigen values
= A( x x ) LC ( x x ) should be in the negative
s-plane
&e = ( A LC )( x x )
e& = ( A LC ) e
det sI ( A LC ) = 0
2005 P. S. Shiakolas