Académique Documents
Professionnel Documents
Culture Documents
1 / 44
Part I
General procedure
2 / 44
General concepts
Using Bode diagrams we can synthesize controllers, as we did using the root
locus
However, there are some dierences, and in particular:
Gp (s )
in Bode form:
20i
1 2
Gp i (1 + s i ) i 1 + 0ni s + 0 2ni s
Gp ( s ) = h
2
s p j (1 + sTj )
j 1 + njj s + 12 s 2
nj
where
Gp
Gp (s )
and
hp
3 / 44
20i
1 2
Gc i (1 + s i ) i 1 + 0ni s + 0 2ni s
Gc (s ) = h
2
s c j (1 + sTj )
j 1 + njj s + 12 s 2
nj
where
Gc
Gc (s ),
hc
particular:
If
Gc (s )
Gc (s ) = Gc ,
If
Gc (s )
These particular cases are not a limitation: one could also use a controller
with only one real pole if this could be enough to meet the specications
In general, one can design controllers of order higher than 2, if needed, but
remember that simple solutions must always be considered rst
4 / 44
Requirements
L(s ) = Gc (s )Gp (s ):
20i
1 2
1
+
s
+
s
0
2
ni
0 ni
L i (1 + s i ) i
L(s ) = h
2j
s j (1 + sTj )
j 1 + nj s + 12 s 2
nj
Closed-loop stability:
PM > 30 ).
Also
GM
PM
PM > 0.
In
be larger
indicator.
2
Steady-state behavior:
L(s )
Gc (s ) = Gc 1 (s )Gc 2 (s ), Gc 1 (s ) = h , Gc 2 =
2
s c
j (1 + sTj )
j 1 + njj s + 12 s 2
being
Gc
and
nj
Gc 1 (s )
Academic year 2016-2017
5 / 44
Requirements (cont'ed)
Transient behavior:
L(s )
to transient
specications?
and
T (s )
Ts ,5%
Mp )
c and PM
Gc 1 (s ) is dened, the designer denes Gc 2 (s ) such that
c and/or PM suciently large, according to the specications
can be approximately related to
Therefore, once
L(s )
4
c ,
has
Controller realizability:
u (t )
we impose that
Gc (s )
6 / 44
Part II
First-order controllers for minimum-phase
systems
7 / 44
Example 1
Example 1
Consider a standard feedback loop, with
Gp (s ) =
by sketching the Bode diagram of
the order of
e 1%
Gc (s )
L(s ),
10
(1 + s )2
is at least 1 rad/s
N = 0.1 (n(t )
N > 10
D = 0.1 (d (t )
D < 0.1
rad/s
rad/s
Then, verify the results using Matlab, and modify the controller if necessary
8 / 44
Example 1: solution
Solution:
First, sketch the Bode diagram of
L(s )
in case
Gc (s ) = 1,
forbidden areas
Looking at the steady-state requirement, there is no need to add an integrator:
if
Gc (s )
is Type-0 with
Gc 10,
e =
c
1 + 10G
0.0099 0.01
Gc (s ) = 10
n (t )
|L(j )|
high-frequency zone as it is
Only
Gc (s ) = 1,
because
9 / 44
0
-90
-180
-270
10-2
10-1
X
X
100
103
O
10-3
ROBT303 Linear Control Theory with Lab
101
Academic year 2016-2017
102
10 / 44
Gc 1 (s ) = 10,
Gc 2 (s ) =
1 + 5s
2 102
and a zero at
Gc (s ) = 10
1 + 50s
2 101
1 + 5s
1 + 50s
Looking at the Bode diagram all the requisites are clearly satised, but PM is
not visible from the plot
It seems that
c ' 3 .5
rad/s, then,
L(j c ) = atan
3.5
0.02
+ atan
3.5
0.2
2 atan
3 .5
11 / 44
12 / 44
13 / 44
e = 0
Gc
L(s )
becomes Type-1,
Gc = 1, and then we add a zero at 101 , such that for > 0.1
diagram of L(j ) remains approximately the same as for Gc (s ) = 1:
We set
Gc 1 ( s ) =
Gc 2 (s ) = 0.1(1 + 10s )
Gc (s ) = 0.1
the Bode
1 + 10s
Looking at the Bode diagram all the requisites are clearly satised, but again
PM is not visible from the plot
It seems that
c ' 3 .5
rad/s, then,
L(j c ) = 90 + atan
3.5
0.1
2 atan
3 .5
14 / 44
15 / 44
16 / 44
Example 2
Example 2
Consider a standard feedback loop, with
Gp (s ) =
by sketching the Bode diagram of
the order of
e = 0
Gc (s )
L(s ),
1 + 10s
s (1 + s )2
N = 1 (n(t )
D = 0.1 (d (t )
N > 10
rad/s
D < 0.1
rad/s
Then, verify the results using Matlab, and modify the controller if necessary
17 / 44
Example 2: solution
Solution:
First, sketch the Bode diagram of
L(s )
in case
Gc (s ) = 1,
forbidden areas
Looking at the steady-state requirement, it is already satised because
Type-1, and then
e = 0
Gc (s ) = 10,
c ' 10
Gp (s )
is
rad/s, then,
L(j c ) = 90 + atan
10
0.1
2 atan
10
18 / 44
19 / 44
Gc (s ) = 1,
c ,
PM
We need to add a pole but at higher frequency, for sure after the new value of
This worsens the value of PM with respect to using an ideal PD controller (zero
only): the more the pole is in high frequency, the better it is for PM
What are the problems if the pole is too much in high frequency?
20 / 44
21 / 44
22 / 44
23 / 44
Part III
Second-order controllers for minimum-phase
systems
24 / 44
Example 3
Example 3
Gp (s ) represents the transfer
Vu (t ) driving a DC motor, and
function
the angular
velocity
(t )
Gp ( s ) =
By sketching the Bode diagram of
the order of
e < 0.1
if
Gc (s )
10
r (t ) = R step(t ),
with
|R | 3,
and
d (t ) = D step(t ),
with
|D | 7
N = 0.1
for
N > 2
D = 0.1
for
D < 0.01
rad/s
rad/s
Then, verify the results using Matlab, and modify the controller if necessary
25 / 44
Example 3: solution
Solution:
L(s )
in case
Gc (s ) = 1,
forbidden areas
e is obtained as
E (s ) R
E (s ) D
e = lim s
+
= S (s )R S (s )D = S (s )|R D | 10S (s )
s 0
R (s ) s
D (s ) s
S (s ),
10
c
1 + 10G
we obtain
0.1 Gc 9.9
Gc 1 (s ) =
where
Gc
Gc 1 (s ) = 10
Gc
s
We decide to use this second approach, which usually makes the design simpler
Tohid Alizadeh (NU)
26 / 44
Gp ( s )
at
0.1
By setting
Gc = 0.1
we get
Gc ( s ) =
L = 1, leading
Gc (s ) = 1 for
0.1(1 + 10s )
L( s ) =
s (1 + 5s )(1 + s )
e ,
0.2 rad/s
To avoid the reduction of PM due to the large bandwidth, we shift the
magnitude Bode diagram down until
To approximately obtain
Gc
c = 0.2
rad/s
L(j )
including all
L1 (j ) =
We want
|L1 (j )| = 1
10Gc
j 0.2 =
c
10G
0.2
for
= c = 0.2
c
10G
s
rad/s, i.e.
0.02(1 + 10s )
0.2
= 1 Gc = 0.02 Gc (s ) =
L(s ) =
s
s (1 + 5s )(1 + s )
ROBT303 Linear Control Theory with Lab
27 / 44
28 / 44
29 / 44
We compute PM:
L(j c ) = 90 atan
from which
0.2
0.2
atan
0 .2
1
90 45 11.31 = 146.31
0.1
L( j )
at
and a pole at
c
0.38)
Gc (s ) =
s (1 + 2.6316s )
L(s ) =
0.2884(1 + 10s )
s (1 + s )(1 + 5s )(1 + 2.6316s )
Once again, this controller satises the requirements on disturbance and noise
attenuation, and
e ,
Referring to the Bode plot, we can see that the cross over frequency is bigger
than 0.2 and the phase margin is less than expected.
30 / 44
31 / 44
32 / 44
5.91dB = 0.5,
33 / 44
Part IV
Nonminimum-phase systems and transport
delay
34 / 44
Example 4
Example 4
Consider a standard feedback loop, in which
between the angle of the elevators
e (t )
Gp (s ) =
By sketching the Bode diagram of
the order of
e = 0
if
Gc (s )
Gp ( s )
h(t ):
0.1(1 2s )
s (1 + 10s )(1 + 0.1s )
L(s ),
requisites
Then, verify the results using Matlab, and modify the controller if necessary
35 / 44
Example 4: solution
Solution:
First, sketch the Bode diagram of
L(s )
in case
Gc (s ) = 1,
nonminimum-phase system
The static requirement is automatically satised, since
Gp (s )
is Type-1
c ,
Gc (s ) = 1,
c ' 0 .1
frequency than 0.5 rad/s (we place it at -0.1) and a pole at higher frequency
than 0.5 (we place it at 10 rad/s), obtaining
Gc (s ) =
L(j )
c (1 2s )
Gc (1 + 10s )
0.1G
L(s ) =
1 + 0.1s
s (1 + 0.1s )2
for a generic value of
Gc ,
we notice that
Gc
must
36 / 44
L(j )
Gc
c = 0 .5
L1 ( j ) =
We want
|L1 (j )| = 1
for
c
0.1G
s
j 0.5 = 5 = 1 Gc = 5
Gc (s ) =
4.2(1 + 10s )
1 + 0.1s
L(s ) =
= 0.42
rad/s
Gc = 4.2,
we obtain
0.42
s (1 + 0.1s )2
PM
= 45.16 )
37 / 44
slightly below 0 dB
0 dB
-20 dB
-40 dB
-60 dB
-80 dB
-100 dB Original
0
-90
-180
-270
-360
X -2
10
O
X
10-1
100
bad zero
103
10-3
ROBT303 Linear Control Theory with Lab
X
X
101
Academic year 2016-2017
102
38 / 44
Transport delay
In system dynamics, we have seen that adding transport delay of
transfer function
G (s )
seconds to a
is done by writing
Gd (s ) = e s G (s )
For
s = j ,
we notice that
|e j | = 1, and e j = ,
e j = ( 180/)
by properties of
Therefore, the magnitude diagram is not inuenced, while the phase diagram is
Bode Diagram
0
90
Phase (deg)
180
270
360
450
540
630
2
10
=0.1
=0.01
=0.05
1
10
10
Frequency (rad/s)
10
10
39 / 44
This means that the value of PM will always be worst than for the same system
without transport delay
Trying to increase the bandwidth too much means that we don't want to wait
until the control action starts to aect the system dynamics, dangerously
decreasing PM
As positive zeros, transport delays limit the maximum achievable bandwidth that
a control system can reach
We can solve problems as we did so far, not drawing the phase contribution of
the transport delay directly on the Bode diagram, but taking it into account
when computing PM
Transport delays cannot be directly taken into account when drawing the root
locus: however, it is possible to approximate the transport delay eect by using a
rational transfer function obtained by the so-called Pad approximation
40 / 44
Example 5
Example 5
Consider a standard feedback loop, in which
between the input heat ow
(t )
T (t ):
Gp (s ) =
By sketching the Bode diagram of
the order of
e = 0
if
Gc (s )
Gp ( s )
L(s ),
e 4s
(1 + s )2
r (t ) = R step(t ),
and
d (t ) = D step(t ), R , D > 0
Then, verify the results using Matlab, and modify the controller if necessary
41 / 44
Example 5: solution
Solution:
First, sketch the Bode diagram of
L(s )
in case
Gc (s ) = 1,
phase contribution of the transport delay must always be added when computing
PM
To satisfy the requirement on
zero at
Gc ( s ) =
If we want to have
part of
L(j )
c = 0.2
Gc (1 + s )
s
Gc ,
we dene the
L1 (j ) =
Gc
s
L( s ) =
j 0.2 = 0.2 = 1 Gc = 0.2 Gc (s ) =
s
s (1 + s )
We want
42 / 44
Solution:
We need to check PM:
L(j c ) = 90 atan
0.2
4 0.2 180/
c ,
the value of PM
In such a case, the same controller would have led to better stability margins
and smaller overshoot for step response
Or, the designer could have increased the gain, leading to a larger bandwidth
with the same PM of 30
Instead, the presence of the transport delay strongly reduces the achievable
performance
43 / 44
-100 dB Original
0
-90
-180
-270
-360
X -2
10
10-1
X
X
O
100
103
10-3
ROBT303 Linear Control Theory with Lab
101
102
44 / 44