Lecture 9
Lecture 9
• Solution time Ts
• Final error e0 0 0
0 2 4 6 8 10 0 2 4 6 8 10
Necessary to look at control signal required to generate the
step! • Useful to describe tracking of slow signals.
• Particularly important in motion control
0.4
0.2
0 2 4 6 8 10
quency ω g c
• Phase margin ϕ m −1
10
• Frequencies ω t, ω s −140
−160
−180
−200
−1 0
10 10
&
c K. J. Åström August, 2000 3
Properties of Simple Systems Second Order System with a Zero
• It is necessary for you to have a working knowledge
ω 20 s+a ω 20 1 sω 20
of properties of simple systems. We will give a short G ( s) = = 2 +
a s2 + 2ζ ω 0 s + ω 0
2
s + 2ζ ω 0 s + ω 0
2 a s + 2ζ ω 0 s + ω 20
2
discussion here.
• Practice this in the home works Notice that G (0) = 1. Let h0 be the step response of
Second Order System with a LHP Zero Second Order System with a RHP Zero
Step responses for ω 0 = 1 and ζ = 0.5 a = 0.25, 0.5 1, 100 Step responses for ω 0 = 1 and ζ = 0.5 a = −0.25, -0.5 -1,
Step Response
-100
3 Step Response
1.5
2.5
1
2
0.5
Amplitude
1.5 Amplitude 0
−0.5
1
−1
0.5
−1.5
0
0 5 10 15
Time (sec.) −2
0 5 10 15
&
c K. J. Åström August, 2000 Time (sec.) 4
Limitations Non-minimum Phase Systems
There are many factors that limits the achievable performance Factor process transfer function as P(s) = Pmp(s) Pnmp(s)
where such that e Pnmp(iω )e = 1 and the sign chosen to give
• Nonlinear effects such as saturation and rate saturation
negative phase of Pnmp, then
• Measurement noise
arg L( iω g c ) = arg Pnmp( iω g c ) + arg Pmp ( iω g c) + arg C( iω g c) ≥ −π + ϕ m
• Dynamics with non-minimup phase characteristics, time
delays, poles and zeros in the right half plane
Bode’s relations give arg Pmp(iω g c ) + arg C(iω g c ) nπ /2 where
• Philosophy: n is the slope of the gain curve of the loop transfer function at
– Understand the limitations the gain crossover frequency. The inequality then becomes
– If at all possible modify the process π
arg Pnmp( iω g c ) ≥ −π + ϕ m − n
– In all cases do not pose unrealistic specifications 2
Simple Rule of Thumb ϕ m = 45 and ng c = −0.5 gives
○
π
arg Pnmp ( iω g c) ≥ −
2
&
c K. J. Åström August, 2000 5
System with RHP Pole System with RHP Pole and Zero Pair
s+ p ( z − s)( s + p)
Pnmp( s) = Pnmp( s) =
s− p ( z + s)( s − p)
Hence
p For z > p we have
arg Pnmp(iω g c ) = −2 arctan
ω arg Pnmp ( iω ) = −2 arctan
ω g c / z + p/ω g c
Cross over frequency inequality 1 − p/ z
p π Cross over frequency inequality
−2 arctan ≥ −π + ϕ m − ng c
ω gc 2 ω gc p p π ϕm π
+ ≤ (1 − ) tan − + ng c
Hence z ω gc z 2 2 4
p Simple calculations give
ω gc ≥
tan(π /2 − ϕ m /2 + ng cπ /4) √
z 2 + 2 1 +α2
≥1+
Choosing ϕ m = π /4 and ng c = −1/2 gives ω g c ≥ p p α2
&
c K. J. Åström August, 2000 6
Example - Klein’s Unrideable Bike Summary of Limitations - Part 1
Bicycle with rear wheel steering • A RHP zero z
θ ( s) mhV0 V0 − bs ω gc 0.5 for Ms, Mt < 2
= ≤
δ ( s) J p c s 2 − mg h / J p z 0.2 for Ms, Mt < 1.4.
&
c K. J. Åström August, 2000 7
Examples PI Control of a First Order System
Previously we have seen that it was straight forward to use b
Processmodell: P =
pole placement to design a controller for a given process. We s+a
use our new insight into the properties of the basic feedback ki
loop and specifications to make an assessment of the design. Controller: U = − kY + ( R − Y )
s
Two simple examples are used as illustration.
b( ks + ki)
• PI Control of a first order system Loop transfer function: L =
s ( s + a)
• PI Control of a second order system Characeristic equation: s2 + s(a + bk) + bki = 0
Choose k = (2ζ ω 0 − 1)/b and ki = ω 02 /b to give s2 + 2ζ ω 0 s +
ω 02 = 0.
Are there any restrictions on ζ and ω 0 ?
20 20
0
0
−20
−20
−40
Phase (deg); Magnitude (dB)
−80 −60
150 0
−50
100
−100
50 −150
−200
0
−250
−50 −300
−2 −1 0 1 2 −2 −1 0 1 2
10 10 10 10 10 10 10 10 10 10
Choosing to small ω 0 gives a system that has poor robustness. Choosing to small ω 0 gives a system that has poor robustness.
&
c K. J. Åström August, 2000 9
The Gang of Six Response to Step in Load Disturbance
Response to reference signal 2
Process output
1 ( s + 1)( s + 0.02) 1.5
Y ( s) = R( s), U ( s) = R( s
s2 + s + 1 s2 + s + 1 1
0.5
Response to load disturbance
0
s + 0.02
0 20 40 60 80 100 120 140 160 180 200
s
Y ( s) = D ( s) U ( s) = − 2 D ( s) Control signal
( s + 0.02)( s2 + s + 1) s +s+1 0
−0.2
−0.6
( s + 0.02)( s + 1)
−0.8
U ( s) = − N ( s) −1
s2 + s + 1 −1.2
−1.4
0 20 40 60 80 100 120 140 160 180 200
Sensitivity functions
s( s + 1 ) 1 Very slow recover of load disturbance! Why does the control
S( s ) = , T ( s) =
s2 + s + 1 s2 +s+1 signal not eliminate it?
0
• Limitations. Non-minimum phase properties are bad! Try to
−0.5
redesign the process!
0 20 40 60 80 100 120 140 160 180 200
−0.4
−0.6
−0.8
−1
−1.2
−1.4
0 20 40 60 80 100 120 140 160 180 200
&
c K. J. Åström August, 2000 10
Summary Appendix - Properties of Simple Systems
• Classical specifications do not cover all In this Appendix we have collected properties of simple sys-
• Important to look at all six transfer functions tems
• Properties of simple transfer functions • First order systems
• Non-minimum phase elements give severe limitations • Second order systems without zero
– Time delays • Third order system without zeros
– RHP zeros • Second order system with zero
– RHP poles
• Examples of assessment of a control system
Poles where
p
−ζ ω 0 ± iω 0 1 − ζ 2 = −ζ ω 0 ± iω d if ζ ≤ 1 φ = arccos ζ
s=
−ζ ω ± ω pζ 2 − 1 = −ζ ω ± ω if ζ > 1
0 0 0 d
p p
where ω d = ω 0 1 − ζ 2 if ζ ≤ 1 and ω d = ω 0 ζ 2 − 1 if ζ > 1
&
c K. J. Åström August, 2000 11
Step Response Frequency Response
ζ = 0, 0.1, 0.2, 0.5, 0.707, 1, 2, 5 and 10. Bode plot for ζ = 0.1, 0.2, 0.5, 0.707, 1, 2, 5 och 10.
Step Response Bode Diagrams
2
20
1.8
0
1.6
−20
1.4
−60
1
0
0.8
−50
0.6
−100
0.4
−150
0.2
−200
−1 0 1
0 10 10 10
0 5 10 15
Time (sec.) Frequency (rad/sec)
Third Order System without Zeros Third Order System without Zeros
Transfer function Stgep responses for ζ = 0.5 and a/ω 0 =0.25, 0.5, 1, 2 and 10.
aω 20 Step Response
G ( s) =
( s + a)( s2 + 2ζ ω 0 s + ω 20 )
Notice G (0) = 1. 1
0.2
0
0 5 10 15
Time (sec.)
&
c K. J. Åström August, 2000 12
Third Order System without Zeros Second Order System with a Zero
Bode plots for ζ = 0.5 and a/ω 0 =0.1, 0.2, 0.5, 1, 2, 5, 10
ω 20 s+a ω 20 1 sω 20
G ( s) = = 2 +
Bode Diagrams
a s2 + 2ζ ω 0 s + ω 0
2
s + 2ζ ω 0 s + ω 0
2 a s + 2ζ ω 0 s + ω 20
2
ω 02
−50
G0 =
s2 + 2ζ ω 0 s + ω 02
Phase (deg); Magnitude (dB)
−100
Frequency (rad/sec)
Second Order System with a LHP Zero Second Order System with a RHP Zero
Step responses for ω 0 = 1 and ζ = 0.5 a = 0.25, 0.5 1, 100 Step responses for ω 0 = 1 and ζ = 0.5 a = −0.25, -0.5 -1,
Step Response
-100
3 Step Response
1.5
2.5
1
2
0.5
Amplitude
1.5 Amplitude 0
−0.5
1
−1
0.5
−1.5
0
0 5 10 15
Time (sec.) −2
0 5 10 15
&
c K. J. Åström August, 2000 Time (sec.) 13
Second Order System with a LHP Zero Second Order System with a RHP Zero
Bode plot for ζ = 0.5 and a/ω 0 =0.1, 0.2 0.5 1 2 5 10 Bode plot for ζ = 0.5 and a/ω 0 =-0.1, -0.2 -0.5 -1 -2 -5 -10
Bode Diagrams Bode Diagrams
20 20
0 0
−20 −20
Phase (deg); Magnitude (dB)
−60 −60
100 0
50 −50
−100
0
−150
−50
−200
−100 −250
−150 −300
−2 −1 0 1 2 −2 −1 0 1 2
10 10 10 10 10 10 10 10 10 10
&
c K. J. Åström August, 2000 14