Professional Documents
Culture Documents
Chapter 4
Chapter 4
1 / 34
Figure: Openloop
Figure: Closedloop
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE)
Chapter 4
2 / 34
DC motor control
Chapter 4
3 / 34
DC motor control
We want to control motor speed (t).
Let y (t) = (t) be the output and w (t) = l (t) be the disturbance.
System dynamics can be rewritten as
J y (t) + by (t) = K ia (t) + w (t)
dia (t)
ke y (t) + La
+ Ra ia (t) = ea (t) .
dt
After taking the Laplace transform, we obtain
JsY (s) + bY (s) = K Ia (s) + W (s)
ke Y (s) + La sIa (s) + Ra Ia (s) = Ea (s) .
Chapter 4
4 / 34
DC motor control
Ea (s) ke Y (s)
.
La s + Ra
+ (La s + Ra ) W (s) .
Chapter 4
5 / 34
DC motor control
After defining 1 JRa / (K ke ) as the mechanical time constant,
2 La /Ra as the electrical time constant, and
A = K / (bRa + K ke ), B = Ra / (bRa + K ke ) denoting some
constants, results in
(1 s + 1) (2 s + 1) Y (s) = AEa (s) + BW (s) .
So,
Y (s) =
B
A
Ea (s) +
W (s) .
(1 s + 1) (2 s + 1)
(1 s + 1) (2 s + 1)
Theorem
Final value theorem: If a signal has a constant final value, it may be
found as
yss = y () = lim y (t) = lim sY (s) .
t
s0
Chapter 4
6 / 34
DC motor control
So, the response of the openloop system without a controller is
found as
yss
lim sY (s)
s0
= Aea + Bw .
The openloop system has the form
Chapter 4
7 / 34
DC motor control
1
yss = A rss = rss .
A
Note that, for w (t) = w 1 (t), we have
yss = rss + Bwss .
Chapter 4
8 / 34
DC motor control
Chapter 4
9 / 34
DC motor control
The transfer function for the closedloop system is
Y (s) =
Y (s) =
BW (s)
AKcl (R (s) Y (s))
+
(1 s + 1) (2 s + 1)
(1 s + 1) (2 s + 1)
AKcl R (s)
BW (s)
+
.
(1 s + 1) (2 s + 1) + AKcl
(1 s + 1) (2 s + 1) + AKcl
AKcl
rss .
1 + AKcl
AKcl
B
rss +
wss .
1 + AKcl
1 + AKcl
Chapter 4
10 / 34
Disturbance rejection
Recall that for openloop with disturbance, we have
yss
y , yss rss
= rss + Bwss
= Bwss .
AKcl
B
rss +
wss
1 + AKcl
1 + AKcl
B
wss
1 + AKcl
Chapter 4
11 / 34
Sensitivity
The term sensitivity describes the effect of small variations in
parameters in the model on a particular signal in the system.
The steady state gain of the openloop system is Gol = 1.0.
How does this change if the motor constant A changes to A + A
Gol + Gol
= Kol (A + A)
1
=
(A + A)
A
A
A
= 1+
Gol =
.
A
A
|{z}
gain error
In relative terms
A
A
Gol
=
= |{z}
1.0
.
Gol
A
A
sensitivity
Chapter 4
12 / 34
Sensitivity
Steady state gain of the closedloop system is
Gcl =
AKcl
.
1 + AKcl
(A + A) Kcl
.
1 + (A + A) Kcl
Gcl
Gcl
A Gcl A
A
=
.
A
Gcl
G A A
| cl {z }
sensitivity
Chapter 4
13 / 34
Sensitivity
So, the sensitivity can be found as
SAGcl
=
=
=
A Gcl
Gcl A
AKcl2
Kcl
A
Gcl 1 + AKcl
(1 + AKcl )2
A
Kcl
1
AKcl 1 + AK 1 + AK
cl
cl
1+AK
cl
1
.
1 + AKcl
Advantage of feedback:
Lower sensitivity to modeling error (by a factor of 1 + AKcl ).
Chapter 4
14 / 34
Dynamic tracking
Steady state response of the closedloop better than the open-loop:
Better disturbance rejection,
Better (lower) sensitivity.
What about transient response?
Openloop system:
Poles are at roots of (1 s + 1) (2 s + 1)
s = 1/1 , s = 1/2 .
Closedloop system:
Poles are at roots of (1 s + 1) (2 s + 1) + AKcl
q
(1 + 2 ) (1 + 2 )2 41 2 (1 + AKcl )
.
s=
21 2
So feedback moves poles.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE)
Chapter 4
15 / 34
Dynamic tracking
Chapter 4
16 / 34
Dynamic tracking
Chapter 4
17 / 34
Chapter 4
18 / 34
s0
Chapter 4
19 / 34
1
tk
1 (t) or R (s) = k+1 .
k!
s
0,
type > k
1 T (s)
constant,
type = k
=
ess = lim
s0
sk
,
type < k
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE)
Chapter 4
20 / 34
Chapter 4
21 / 34
Note that, higher system types sounds better but they are harder to
stabilize and design, and their transient response may be poor.
Chapter 4
22 / 34
Note that, the following method is a special case of the above general
method where there is unity feedback.
Chapter 4
23 / 34
So
E (s) =
1
R (s) .
1 + Gol (s)
=
=
1
,
s k+1
we obtain
lim sE (s)
s0
lim
s0
1
[1 + Gol (s)] s k
.
Chapter 4
24 / 34
1
1
=
s0 1 + Gol (s)
1 + Kp
ess = lim
where Kp = lims0 Gol (s).
For type 1,
1
1
1
1
= lim
=
s0 sGol (s)
s0 1 + Gol (s) s
Kv
ess = lim
s0
1
1
1
1
= lim
=
1 + Gol (s) s 2 s0 s 2 Gol (s)
Ka
Chapter 4
25 / 34
Reference inputs
Unit step
Unit ramp Unit parabola
1/ (1 + Kp )
0
1/Kv
0
0
1/Ka
Key result:
Openloop transfer function Gol (s) tells us about closedloop steady
state response.
Assoc. Prof. Enver Tatlicioglu (EEE@IYTE)
Chapter 4
26 / 34
s+1
(s+2)(s+3) ?
1
1
=
23
6
1
1+ 61
Chapter 4
= 76 .
27 / 34
(s+1)(s+10)(s5)
?
(s 2 +3s)(s 4 +s 2 +1)
Note that
1 10 (5)
=
01
so the system type is greater than 0.
Gol (0) =
So we check
sGol (s) =
sGol (s) |s=0 =
(s + 1) (s + 10) (s 5)
(s + 3) (s 4 + s 2 + 1)
50
1 10 (5)
=
31
3
Chapter 4
28 / 34
+2s+1
What is the system type of Gol (s) = s 4s+3s
3 +2s 2 ?
Note that
1
Gol (0) = =
0
so the system type is greater than 0.
So we check
sGol (s) =
1
s 2 + 2s + 1
sGol (s) |s=0 = =
3
2
s + 3s + 2s
0
1
s 2 + 2s + 1
s 2 Gol (s) |s=0 =
2
s + 3s + 2
2
Chapter 4
29 / 34
So
AK
(1 s + 1) (2 s + 1)
lim D (s) G (s) = AK
D (s) G (s) =
s0
1
1+AK .
Chapter 4
30 / 34
Consider the DC motor with controller D (s) = K 1 +
1
TI s
So
D (s) G (s) =
AK 1 +
1
TI s
(1 s + 1) (2 s + 1)
lim D (s) G (s) = .
AK (TI s + 1)
TI s (1 s + 1) (2 s + 1)
s0
So, we check
sD (s) G (s) =
lim sD (s) G (s) =
s0
AK (TI s + 1)
TI (1 s + 1) (2 s + 1)
AK
TI
AK
TI .
TI
AK .
Chapter 4
31 / 34
Consider the DC motor with controller D (s) = K 1 +
1
TI s
1
TI s 2
So
D (s) G (s) =
lim s 2 D (s) G (s) =
s0
AK TI s 2 + s + 1
TI s 2 (1 s + 1) (2 s + 1)
AK
TI
AK
TI .
Chapter 4
TI
AK .
32 / 34
Recall that, system error is any difference between r (t) and y (t).
One source of system error is disturbance input.
Output can be written in terms of reference input and disturbance
input as
Y (s) = T (s) R (s) + Tw (s) W (s)
where
Tw (s) =
Y (s)
.
W (s)
Chapter 4
33 / 34
Since we do not wish the output to have any disturbance input in it,
the output error due to disturbance input is equal to the output due
to the disturbance input
ess = lim sTw (s) W (s) .
s0
Chapter 4
34 / 34