Professional Documents
Culture Documents
Control basics II
L. Lanari
transducer
measurement noise
n (t)
• r (t) reference signal
• e (t) error �
C (s)
• m (t) control input
controller
• d (t) disturbance
(Ac, Bc, Cc, Dc)
• y (t) controlled output
• n (t) measurement noise equivalent
(since we design the controller)
distinguish if the disturbance acts at the input of the plant d1(t) or at the output d2(t)
signals d1(t), d2(t) and n (t) may be the output of some other system too
+
transducer n (t) +
H (s)
d3(t)
d3(t)
Lanari: CS - Control basics II 5
Sunday, November 30, 2014
e (t) m (t) d1(t) d2(t)
r (t)
+ u (t)
+ + y (t)
C (s) P (s)
+ - +
+
+
n (t)
• several inputs act simultaneously on the control system
• we may be interested in several variables
r (t)
y (t)
d1(t) control system
e (t)
d2(t)
m (t)
n (t)
the effect of each input on any output is determined using the superposition principle that is
by considering each input at a time (for example if we want to determine the effect of the
input r (t) on m (t) we set d1(t) = d2(t) = n (t) = 0 and compute the single input - single
output transfer function from r (t) to m (t))
1
S(s) = sensitivity function
1 + L(s)
L(s)
T (s) = complementary sensitivity function since S (s) + T (s) = 1
1 + L(s)
C(s)
Su (s) = control sensitivity function
1 + L(s)
• Parametric uncertainties:
the real (perturbed) parameters of the controlled system are different from the ones
(nominal) used to design the controller
- slowly time-varying parameters
- wear & tear (damage caused by use)
- difficulty to determine true values
- change of operating conditions (linearization), ...
• Un-modeled dynamics:
typically high-frequency
- dynamics deliberately neglected for design simplification,
- difficulty in modeling
(MSD example) 10
Mag (dB)
0
ï10
1 ï20
P (s) = ï30
ms2 + µs + k
ï1 0 1
10 10 10
frequency
ï50
Phase
ï100
!2 = 1.5 rad/s
µ in [0.05, 2]
2 rad/s
ï150
!3 =
k in [2, 3] !4 = 3 rad/s 10
ï1
10
0
frequency
10
1
0 0.8
ï1
zoom 0.6
0.4
ï2
0.2
ï3
Imag
Imag
0
ï4
ï5
Nyquist ï0.2
ï0.4
ï6 plot ï0.6
ï7 ï0.8
ï8 ï1
ï5 ï4 ï3 ï2 ï1 0 1 2 3 4 5 ï1.5 ï1 ï0.5 0 0.5
Real Real
100 Im
F2 (s) =
(s + 1)(0.025s + 1)2 dominant
dynamics
-40 -1 Re
full dynamics
100
F1 (s) = same gain as F2(s) but only dominant dynamics (approximation)
s+1
20 20
Mag (dB)
Mag (dB)
0 0
Freq (rad/s)
10
2
ï40
10
ï2
10
0
Freq (rad/s)
2
10
F1(s) F2(s)
100 0 0
Phase
Phase
ï150 ï150
ï200 ï200
160000 ï250 ï250
W2 (s) = 10
0
10
0
60 5
4
40
3
2
20
Imaginary Axis
Imaginary Axis
zoom 1
0 0
ï1
ï20
ï2 F2 (j!) F1 (j!)
ï3
ï40
ï4
ï60 ï5
ï20 0 20 40 60 80 100 120 ï4 ï3 ï2 ï1 0 1 2
Real Axis Real Axis
Performance
• nominal performance
- static (or at steady-state) on the desired behavior between the different input/
output pairs of interest
- dynamic: on the dynamic behavior during transient
• robust performance: we ask that the performance obtained in nominal conditions
is also guaranteed, to some extent, under perturbations (parameter variations, un-
modeled dynamics).
being
y(s) = T (s)r(s) + P (s)S(s)d1 (s) + S(s)d2 (s) − T (s)n(s)
e(s) = S(s)r(s) − P (s)S(s)d1 (s) − S(s)d2 (s) − S(s)n(s)
m(s) = Su (s)r(s) − T (s)d1 (s) − Su (s)d2 (s) − Su (s)n(s)
example
note how we relaxed some requirements on the performance w.r.t. reference and
disturbance by asking the fulfillment only at steady-state that is
tk
δ−1 (t)
k!
y (t)
y (t) e1
e0
t t
type 0 type 1
apply this definition to a feedback control system where the input is the reference
signal and the output is the controlled output and we look for conditions which
guarantee that a feedback system is of type k
• the error at steady-state is constant and non-zero if and only if there are k zeros
in s = 0 in the transfer function from the reference to the error, that is the
sensitivity function S (s)
• the zeros of S (s) coincide with the poles of the loop function L (s) since if
L (s) = NL (s)/DL (s) then
1 DL (s)
S(s) = =
1 + L(s) DL (s) + NL (s)
• order k = 0 reference
1
1+KL if Type 0
e0 = S(0) =
0 if Type k ≥ 1
• order k ≥ 1 reference
∞ if Type < k
� �
1 1
ek = lim sS(s) k+1 = K if Type = k
s→0 s
L
0 if Type > k
if the denominator DL (s) has roots in s = 0 with multiplicity h, we factor DL (s) as
shD’L (s) such that KL = NL (0)/D’L (0). We obtain the different situations
depending on the multiplicity h, that is h < k, h = k and h > k
0 1 2 3
Input order
1
0 δ−1 (t)
1 + KL
0 0 0
1
1 tδ−1 (t) +∞
KL
0 0
t2 1
2 δ−1 (t) +∞ +∞
KL
0
2
t3 1
3 δ−1 (t) +∞ +∞ +∞
KL
3!
1 1
|1+KL | ≤ ekmax ⇔ |1 + KL | ≥ ekmax if Type 0
|ek | ≤ ekmax ⇐⇒
1
≤ ekmax ⇔ |KL | ≥ 1
if Type k ≥ 1
|KL | ekmax
r (t) specs
SOL
SCL y (t)
e (t) C (s) P (s)
control system
d1 yss [P (s)S(s)]s=0
d2 yss S (0)
n yss - T (0)
the zeros of the sensitivity function S (s) coincide with the poles of the loop function L (s)
so we will have S (0) = 0 (i.e. s = 0 is a zero of S (s)) if and only if we have at least one
pole at the origin in the open-loop system (and for this disturbance, this is equivalent to
asking at least a pole in s = 0 before the entry point of the disturbance).
so a high-gain controller will reduce the effect of the given disturbance provided the system
remains asymptotically stable
• for the steady-state contribution to the output yss of a constant disturbance d1 note that
NP (s)DC (s)
P (s)S(s) =
DP (s)DP (s) + NC (s)NP (s)
• for the steady-state contribution to the output yss of a constant noise n note that
NP (s)NC (s)
T (s) =
DP (s)DP (s) + NC (s)NP (s)
KP KC
if L (s) has no poles in 0
1 + KP KC
type 2
type 0
type 1
ω̄
r(t) = sin ω̄t with Laplace transform r(s) = 2
s + ω̄ 2
to asymptotically track this reference the controlled output needs to tend asymptotically
to the reference or, equivalently, the difference (error signal) r (t) - y (t) needs to tend to
zero as t tends to infinity. Recalling that the transfer function from the reference to the
error is
e(s) r(s) − y(s)
= = S(s)
r(s) r(s)
and that, for an asymptotically stable system, the steady-state response to a sinusoidal is
it is clear that, in order to achieve zero asymptotic error we need, at the specific input
frequency, to be able to ensure that
�
�
|S(j ω̄)| = 0 ⇐⇒ S(s)� =0
s=j ω̄
Being L(s) = C(s)P (s) and assuming that the plant has no poles in s = ±j ω̄ the controller
needs to be of the form
NC (s)
C(s) = 2 � (s)
(s + ω̄ 2 )DC
Assuming that the plant has no poles in s = ±j ω̄ the controller needs to be of the form
NC (s)
C(s) = 2 � (s)
(s + ω̄ 2 )DC
We already know how to characterize the transient and therefore define requirements on the
closed-loop dynamic behavior in terms of
• poles (and zeros) location in the complex plane (time constants, damping coefficients,
natural frequencies)
• particular quantities of the step response like rise-time, overshoot and settling time
We can also define two quantities in the frequency domain related to the transient behavior
• bandwidth B3
• resonant peak Mr
which will be related to the rise time and the overshoot establishing interesting connections
between time and frequency domain characterization of the transient
for the typical magnitude plots encountered so far, we define the bandwidth
B3 as the first frequency such that for all frequencies greater than the
√
bandwidth the magnitude is attenuated by a factor greater than 1/ 2
from its value in ! = 0
|W (j0)|
B3 : |W (jB3 )| = √
2
� �
1
and being 20 log10 √ ≈ −3 dB
2
−20
plot
−30
−40
frequency (rad/s)
1
the bandwidth coincides with the cutoff frequency B3 =
τ
we define the resonant peak Mr as the maximum value of the frequency response
magnitude referred to its value in ! = 0
max |W (jω)|
Mr =
|W (j0)|
or in dB
a high resonant peak indicates that the system behaves similarly to a second order system
with low damping coefficient
|W (jω)|
|W (j0)|
Mr
1
√
2
ω
B3
B3 tr ≈ constant
higher bandwidth (higher frequency components of the input signal are not attenuated and
therefore are allowed to go through) leads to smaller rise time (faster system response)
1 + Mp
≈ constant
Mr
higher resonant peak (as if we had a second order system with lower damping coefficient)
leads to higher overshoot (the oscillation damps out slower)
very useful relationships in order to understand the connections between time and
frequency domain response characteristics
tr ≤ tr,max ⇐⇒ B3 ≥ B3,min
this may be achieved by ensuring a sufficiently high bandwidth (greater than some
value B3,min )
Mp ≤ Mp,max ⇐⇒ Mr ≤ Mr,max
this may be achieved by ensuring a sufficiently low resonant peak (smaller than some
value Mr,max )
we want to relate some transient specifications on the closed-loop system (control system)
to some characteristics of the open-loop system
r (t) specs
SOL
SCL y (t)
e (t) C (s) P (s)
control system
10K
F (s) = open-loop system comparison for increasing values of K
s(s + 10)(s + 1)
20
Magnitude (dB)
0
PM and Mr relationship
−20 K = 0.3
K = 2
K = 6
−40 −1 0 1 2
10 10 10 10
0 frequency (rad/s)
Phase (deg)
−90
−180
open-loop phase margin PM decreases
−270 −1
&
0 1 2
10 10 10
frequency (rad/s)
10
closed-loop resonant peak Mr increases
Magnitude (NOT in dB)
0.6 recall that if the Nyquist 10
K = 0.5
0.4 plot goes through the K = 0.8
K = 1.2
0.2 critical point then the K = 1.6
5
closed-loop system has pure
Im
−0.4
K = 0.3
K = 2
damping and thus infinite 0 −1
−0.6 0 1 2
K = 6
resonant peak) 10 10 10 10
−1 −0.8 −0.6 −0.4 −0.2 0 0.2
Re frequency (rad/s)
!c and B3 relationship
Closed−loop system
10
K = 0.5
K = 0.8
K = 1.2
5 K = 1.6
20
Magnitude (dB)
B3
Magnitude (dB)
0 0
!c
−3
−20 K = 0.3
K = 2 −5
K = 6
−40 −1 0 1 2
10 10 10 10
frequency (rad/s)
−1 0 1 2
10 10 10 10
frequency (rad/s)
r (t) specs
SOL
SCL y (t)
e (t) C (s) P (s)
control system