Beruflich Dokumente
Kultur Dokumente
2n
2
a n = q i ( t ) cos t dt
T T Fourier
2
T Series
2n
2
b n = q i ( t ) sin t dt
T T
2
-0.01 +0.01
t
0 0.01 -0.5
a0 0.5dt + 1.5dt
= 0.01 0
= 0.5 = average value
T 0.02
0 0.01
2n 2n
a n = 0.5cos t dt + 1.5cos t dt = 0
0.01 0.02 0 0.02
0
2n
0.01
2n 1 cos ( n )
b n = 0.5sin t dt + 1.5sin t dt =
0.01 0.02 0 0.02 50n
4 4
q i ( t ) = 0.5 + sin (100t ) + sin ( 300t ) + "
3
1.5
Plot of the
Fourier 1
Series for
the square amplitude
0.5
wave
through 0
the third
harmonic -0.5
-1
-0.01 -0.008 -0.006 -0.004 -0.002 0 0.002 0.004 0.006 0.008 0.01
time (sec)
4 4
q i ( t ) = 0.5 + sin (100t ) + sin ( 300t )
3
Tj + 1
D ( j ) = K
Tj + 1
( T ) + 1
2
M ( ) = K
( T ) + 1
2
( ) = ( Tj + 1) ( Tj + 1)
= tan 1 ( T) tan 1 ( T)
= 0.1 T = 1 K = 1
Frequency Response Analysis & Design K. Craig 20
What about transient inputs?
The best path to understanding the meaning of M
and is to relate the frequency response G(j) to
the transient responses calculated by the Laplace
transform.
2n
G (s ) = 2
s + 2n s + 2n
Magnitude
C AG1G 2 (i)
(i) =
V 1 + G1G 2 H(i)
As noise is generally in a
band of frequencies above
the dominant frequency
band of the true signal,
feedback control systems
are designed to have a
definite passband in order
to reproduce the true
signal and attenuate noise.
Frequency Response Analysis & Design K. Craig 26
The frequency at which a resonant peak occurs, r, is a
speed-of-response criterion. The higher r, the faster the
system response.
The peak amplitude ratio, Mp, is a relative-stability
criterion. The higher the peak, the poorer the relative
stability. If no specific requirements are pushing the
designer in one direction or the other, Mp = 1.3 is often
used as a compromise between speed and stability.
For systems that exhibit no peak, the bandwidth is used
for a speed of response specification. The bandwidth is
the frequency at which the amplitude ratio has dropped to
0.707 times its zero-frequency value. It can of course be
specified even if there is a peak. It is the maximum
frequency at which the output of a system will
satisfactorily track an input sinusoid.
n n
Frequency Response Analysis & Design K. Craig 38
The log magnitude (Lm) of G(i) is given by:
Lm G ( i) = Lm [ K ] + Lm [1 + iT1 ] + ( r ) Lm [1 + iT2 ]
2 1 2
( m ) Lm [i] Lm [1 + iT3 ] Lm 1 + i + 2 ( i)
n n
The phase angle is given by:
G ( i) = K + (1 + iT1 ) + ( r ) (1 + iT2 )
2 1 2
( m ) ( i) (1 + iT3 ) 1 + i + 2 ( i)
n n
( i) = m ( 90 ) = constant
m
The log magnitude curve is a straight line with a
slope m(20) dB/decade = m(6) dB/octave when
plotted against log(). It goes through the point 0
dB at = 1.
Frequency Response Analysis & Design K. Craig 41
K(j)n is the only class of term that affects the
slope at the lowest frequency because all other
terms are constant in that region.
Frequency Response Analysis & Design K. Craig 42
1st-Order Factors (1 + iT) 1
Lm (1 + iT ) = 20log10 1 + iT
1
= 20log10 1 + 2 T 2
(1 + iT ) = tan 1 ( T )
0 dB for T << 1
1
20log10 ( T ) for T >> 1
< 1/T: straight-line asymptote with zero slope
> 1/T: straight-line asymptote with 20 dB/decade slope
= 1/T: exact value is 3.01 dB
cf = corner frequency = 1/T = frequency at which the
asymptotes to the log magnitude curve intersect
Phase angle straight-line asymptotes: 0 at < 0.1cf, 45 at
= cf, 90 at > 10cf
Angle curve is symmetrical about cf when plotted vs. log10()
Lm 1 + i + 2 ( i ) = 20log10 1 2 +
n n
n n
2
1
2 1 2 2
1 + i + 2 ( i ) = tan 1 n
n n 2
1 2
n
For << n: the log magnitude 0 dB
For >> n: the log magnitude 40 log10 (/n) dB
The low-frequency asymptote is a horizontal line at 0 dB.
The high-frequency asymptote is a straight line with a slope of
40 dB/decade.
The asymptotes, which are independent of , cross at cf = n.
These are not accurate for a factor with low values of .
Phase angle: 0 at = 0, 90 at = n, 180 at =
d = n 1 2
In hardware design, an optimum value of = 0.64 is
often used to give maximum response speed without
excessive oscillation.
Undamped natural frequency n is the major factor in
response speed. For a given response speed is
directly proportional to n.
Frequency Response Analysis & Design K. Craig 51
Thus, when 2nd-order components are used in
feedback system design, large values of n (small
lags) are desirable since they allow the use of
larger loop gain before stability limits are
encountered.
For frequency response, a resonant peak occurs
for < 0.707. The peak frequency is p and the
peak amplitude ratio depends only on .
K
p = n 1 2 2
peak amplitude ratio =
2 1 2
At = n, the amplitude ratio is 1/2 and the phase
is -90.
The phase angle at the frequency where the
resonant peak occurs is given by: 1 2 2
p = tan 1
Frequency Response Analysis & Design K. Craig 52
Bandwidth
The bandwidth is the frequency where the amplitude ratio
drops by a factor of 0.707 = -3dB of its gain at zero or low-
frequency.
For a 1st-order system, the bandwidth is equal to 1/.
The larger (smaller) the bandwidth, the faster (slower) the
step response.
Bandwidth is a direct measure of system susceptibility to
noise, as well as an indicator of the system speed of
response.
For a 2nd-order system:
BW = n 1 2 2 + 2 4 2 + 4 4
As varies from 0 to 1, BW varies from 1.55n to 0.64n.
For a value of = 0.707, BW = n. For most design
considerations, we assume that the bandwidth of a 2nd-
order all pole system can be approximated by n.
2n
G (s ) =
s ( s + 2n )
2n
T (s ) = 2
s + 2n s + n2
Note: In practice, Mr is rarely used; most designers
2 prefer to use PM to specify the damping because
PM = tan 1 imperfections that make systems nonlinear or cause
1 + 4 4 2 2 delays usually erode phase more significantly than
magnitude.
Frequency Response Analysis & Design K. Craig 55
Closed-Loop Bandwidth with respect to PM
for a 2nd-Order System
KG ( j)
T ( j ) = 1 << c , KG >> c
1 + KG ( j)
n n
Determine the value of 20log10(K) = Lm(K) dB
Plot the low-frequency magnitude asymptote through
the point Lm(K) at = 1 with a slope 20(m) dB per
decade.
Complete the composite magnitude asymptotes
Extend the low-frequency asymptote until the first frequency
break point, then step the slope by r(20) or p(40),
depending on whether the break point is from a 1st-order or
2nd-order term in the numerator or denominator. Continue
through all break points in ascending order.
0.01( s 2 + 0.01s + 1)
s 2
0.02
s +
2
s + 1
4 2
+ + 1
( s 2
+ 2s + 8 ) 10 2 2 4
L (s ) = =
s (s 2
+ 2s + 10 ) s 2 s
s + 5 + 1
10
10 5 25
Nyquist Plot
Bode Plots
Frequency Response Analysis & Design K. Craig 70
Advantages of Working with Frequency Response in
terms of Bode Plots:
Bode plots of systems in series simply add, which
is quite convenient.
Bodes important phase-gain relationship is given
in terms of logarithms of phase and gain.
A much wider range of system behavior from
low- to high-frequency behavior can be
displayed.
Bode plots can be determined experimentally.
Dynamic compensator design can be based
entirely on Bode plots.
From: U(1)
A small amount 0
of change in -2
magnitude
Phase (deg); Magnitude (dB)
produces a small -4
amount of -6
change in the 0
-100
larger change in G2(s)
the phase of -150
G2(s). -200
10-2 10-1 100
Frequency (rad/sec)
KD ( s ) = K ( TDs + 1)
= 0.01(20s + 1)
1 = .05 rad/s
c = .2 rad/s
Step
Response
-100
phase angle (degress)
-150
-200
Qo 2 dt s
(s) =
-250 Qi 2 + dt s
-300
-350
-400
( s)
2
-1 0 1 2 3 4 5
10 10 10 10 10 10 10
2 dt s + dt
frequency (rad/sec) Qo 8
e dt s
= 1 dt (s) =
( dt s )
2
Qi
2 + dt s +
8
s +1 1.2
s2 + s + 1 1
0.8
1
s2 + s + 1
Amplitude
0.6
To: Y(1)
0.4
0.2
0
s + 1
-0.2 s2 + s + 1
-0.4
0 2 4 6 8 10 12
Time (sec.)
s +1
1.2
s2 + s + 1
1
0.8 1
s2 + s + 1
Amplitude
To: Y(1)
0.6
0.4
s
0.2 s2 + s + 1
0
-0.2
0 2 4 6 8 10 12
Time (sec.)
1 1.2
s2 + s + 1 1
0.8
s + 1
s2 + s + 1
0.6
Amplitude
To: Y(1)
0.4
0.2
-0.2
s
-0.4 s2 + s + 1
-0.6
0 2 4 6 8 10 12
Time (sec.)
E(s) 1 R(s)
= E(s) =
R(s) 1 + G c (s)G(s) 1 + G c (s)G(s)
R(s)
ess (t) = lim sE(s) = lim s
s 0 s 0 1 + G (s)G(s)
c
K p lim G c (s)G(s)
s 0
1 1
= lim = K v lim sG c (s)G(s)
s 0 sG (s)G(s) Kv s 0
c
Type 1 System
The slope at low frequencies is 20 dB/decade.
The intercept of the low-frequency slope of 20 dB/decade (or
its extension) with the 0 dB axis occurs at the frequency = K1.
The value of the low-frequency slope of 20 dB/decade (or its
extension) at the frequency = 1 is equal to 20log10K1.
The gain K1 is the steady-state ramp error coefficient.
K1
G (s ) =
s ( Ts + 1)
KG ( s ) = 1 G ( s ) = 180
K = 242
= 1 + 2 ( 1 + 2 )
= 1 + 2 ( 1 + 2 )
Nyquist Plots
Evaluation of
KG(s)
&
1 + KG(s)
Simplified Version of
Nyquist Stability Criterion
N = 0, P = 0, therefore Z = 0.
Frequency Response Analysis & Design K. Craig 124
Often the control systems engineer is more interested
in determining a range of gains K for which the
system is stable than in testing for stability at a
specific value of K.
To accomplish this, scale KG(s) by K and examine
G(s) to determine stability for a range of gains K.
This is possible because an encirclement of -1 by
KG(s) is equivalent to an encirclement of -1/K by
G(s).
Therefore, instead of having to deal with KG(s),
we need only consider G(s), and count the
number of encirclements of the point -1/K.
= 0
= +
= 0+
0 = 2
=0
= +
K ( s + 10 )( s + 1)
KG ( s ) =
( s + 100 )( s + 2 )
3
2n
G (s ) =
s ( s + 2n )
2n
T (s ) = 2
s + 2n s + 2n
2
PM = tan 1
1 + 4 4 2 2
Frequency Response Analysis & Design K. Craig 153
85 ( s + 1) ( s 2 + 2s + 43.25 )
G (s ) =
s 2 ( s 2 + 2s + 82 )( s 2 + 2s + 101)
85 ( s + 1)( s + 1 6.5j)
=
s 2 ( s + 1 9 j)( s + 1 10 j)
Nyquist Plot
The actual stability margin can be
assessed only be examining the
Nyquist plot to determine its closest Bode Plots
approach to the -1 point.
Frequency Response Analysis & Design K. Craig 154
Vector Margin is
the distance to Vector Margin
the -1 point from
the closest
approach of the
Nyquist plot.
This is a single-
margin
parameter and it
removes all
ambiguities in
assessing
stability that
come from using
GM and PM in
combination.
Frequency Response Analysis & Design K. Craig 155
Conditionally-Stable System
Here an increase in gain can
The Bode plot yields a PM = +10 and a GM
make the system stable.
= 0.7 for K = 7. These are conflicting. For
K ( s + 10 )
2
systems like this, use the root-locus and/or
KG ( s ) = Nyquist plot to determine stability.
s3
Nyquist Plot
for
Actual Control
Systems
= 0.4
= 1.3
= 40
PM = ( = *)
K=1
K = 0.1112
Marginal
Stability
K=1
K = 0.5
= 0.707
Same
Closed-Loop Poles
Different Zeros
P=0
N = 2 for 4 < K <
Therefore Z = 2
K = 50.9
Sensor noise,
Frequencies for good
unmodeled high-
command following,
frequency dynamics
disturbance reduction,
are significant here.
sensitivity reduction
Frequency Response Analysis & Design K. Craig 195
Lead Compensation
Lead compensation approximates PD control. A PD
compensator transfer function has the form: G c ( s ) = K p + K d s
The PD compensator was shown to have a stabilizing
effect on the root-locus of a second-order system.
The Bode diagram shows the stabilizing influence in the
increase in phase at frequencies above the break point.
We use this compensation by locating the break point so
that the increased phase occurs in the vicinity of crossover
(where the log magnitude = 0 dB), thus increasing the
phase margin.
The magnitude of this compensation continues to grow
with increasing frequency (impossible with physical
elements) thus amplifying high-frequency noise.
Frequency Response Analysis & Design K. Craig 196
Bode Diagrams
Bode Diagram: From: U(1)
PD Controller 50
40
30
10
100
80
To: Y(1) 60
40
20
0
10-2 10-1 100 101 102
Frequency (rad/sec)
G c ( s ) = K p + K ds
Kd Kp =1 Kd = 1
= K p 1 + s
Kp
Frequency Response Analysis & Design K. Craig 197
PD Controller
D(s) = TDs + 1
While one
could increase
the phase lead
up to 90 using
higher values of
the lead ratio
1/, this
produces
higher
amplifications
at higher
frequencies.
=0 =
1
(1 + )
2 Polar Plot of Lead Compensator
with Kc = 1
Frequency Response Analysis & Design K. Craig 202
Bode Diagram
( jT + 1) Bode Diagrams
K c
( jT + 1) 0
1
= 0.1 -5
Mag = K c
-10
T =1
Phase (deg); Magnitude (dB)
-15
Kc = 1 -20
50
1 1
m =
40
T
T
30
m
20
1
=
10
T
-1 0 1 2
10 10 10 10
Frequency (rad/sec)
1 1
m =
T
T
= z p
1 1 sin(m )
sin(m ) = =
1+ 1 + sin(m )
Frequency Response Analysis & Design K. Craig 207
Determine the frequency where the magnitude of
KG(s) is equal to 1
20 log10
Select this frequency as the new gc. This
corresponds to 1
m =
T
= 0.2
PM = 7, gc = 1.9
( s + 1) PM = 16
D1 ( s ) = 3
( s + 3)
( s + 1.5) PM = 38
D 2 ( s ) = 10
( s + 15)
K=1
PM = -4, gc = 4
( s + 2 ) PM = 23
D1 ( s ) = 10
( s + 20 )
2 ( s + 2 )( s + 4 )
D 2 ( s ) = (10 )
( s + 20 )( s + 40 )
Frequency Response Analysis & Design
PM = 46 K. Craig 212
Lag Compensation
Lag Compensation Characteristics
reduces the system gain at higher frequencies
without reducing the system gain at low frequencies
reduces the system bandwidth and so the system
has a slower response speed
has improved steady-state accuracy since the total
system gain and hence, low-frequency gain, can be
increased because of the reduced high-frequency
gain
is less susceptible to high-frequency noise since the
high-frequency gain is reduced
PI K 1
D (s ) = s +
Compensation s TI
Ts + 1
G c ( s ) = K c
Ts + 1
1
s+
= Kc T ( > 1)
1
s+
T
Frequency Response
of a Lag Compensation
with = 10.
Note that and are used
interchangeably.
Kc K c
= =0
20
15
10
K c
( jT + 1) 0
= 10 -10
-20
T =1 -30
Kc = 1 -40
-50
-2 -1 0 1
10 10 10 10
Frequency (rad/sec)
Lag Compensator: 1
s+
Ts + 1 T
G c ( s ) = K c = Kc ( > 1)
Ts + 1 1
s+
T
Define Kc = K. Determine gain K to satisfy steady-
state error requirements.
Draw the Bode diagram of the gain-adjusted, but
uncompensated, system, i.e., KG(s). Evaluate the
phase margin and gain margin.
10s + 1
D ( s ) = 10
100s + 1
Step Response
Step-Disturbance
Response
Lead-Lag Compensator:
1 1
s + T s + T
G c (s) = K c 1 2
( > 1, > 1)
1
s + T s + T
1 2
1
1 =
T1T2
=
Lead Compensator
1 Re
0
Lag Compensator
=0
= 1
Kc = 1, = = 10, T2 = 10T1, T1 = 1
0
-5
-10
Phase (deg); Magnitude (dB)
-15
50
-50
-3 -2 -1 0 1 2
10 10 10 10 10 10
Frequency (rad/sec)
1
1 =
Frequency Response Analysis & Design
T1T2 K. Craig 230
Lead-Lag Compensator Design
Procedure
Procedure is based on the combination of the design
techniques for the lead and lag compensators.
Assume = . Then
1 1
s + T s + T
G c (s) = K c 1 2
( > 1, > 1)
1
s + T s + T
1 2
Performance Specifications:
GM > 10 dB PM > 50
unity-ramp-input steady-state error < 0.1
Compensator:
(s + 0.7) (s + 0.15)
G c (s) = K = 20
(s + 7) (s + 0.015)
0.2 rad/s
200 rad/s
1 1 sin(m )
sin(m ) = = m = 60 = 0.07
1+ 1 + sin(m )
1 1 1
m = m = 20 rad/s = 5.3 = 75.6
T T T
BW = 36 rad/s
1 1 1
m = m = 1rad/s = 0.57 = 1.74
T T T
K=1
BW = 1.46 rad/s
Frequency Response Analysis & Design K. Craig 281