Professional Documents
Culture Documents
E (j)
G(j)
Y(j)
H(j)
y(t)
G(s)
y (t )
the transient
response
(t0 t tf).
Y(s)
y (t ) yt (t ) y ss (t )
y ss (t )
yt (t )
0 t0
Y ( j )
Y ( s)
G ( s), s j,
G ( j )
R ( j )
R ( s)
To obtain and study frequency-response of the system G(j), the input signal
frequency is varied over a certain range.
The information obtained from such analysis is different from root-locus analysis.
In fact, the frequency response and root-locus approaches complement each other.
The frequency-response methods are most powerful in conventional (classical)
control theory.
Dr. Ahmet Uar
9/17/2001
R(s)
E(s)
G(s)
Y ( s)
T ( s), s j,
R ( s)
0 t0
G ( j )
Y ( j )
T ( j )
R ( j )
1 G ( j ) H ( j )
y ss (t )
yt (t )
y (t )
H(s)
the transient
response
(t0 t tf).
Y(s)
E(s)
y (t ) yt (t ) y ss (t )
G(s)
H(s)
y ss (t )
yt (t )
y(t )
the transient
response
(t0 t tf).
Y ( s)
0 t0
T ( s), s j,
R ( s)
G ( j )
Y ( j )
T ( j )
1 G ( j ) H ( j )
R ( j )
The logarithmic plots are called Bode plots in honor of H. W. Bode, who used
them extensively in his studies of feedback amplifiers.
9/17/2001
Y(s)
jImG(j)=jX( )
G(s)
Y ( s)
G ( s)
G ( j )
R ( s)
s j
G ( j1 )
G ( j1 )
s=j
1
0
ReG(j)=jR()
=0
G ( j ) G ( j ) G ( j )
G ( j )
s=+j plane
G(j) plane
Polar Plane
G(s)
Y(s)
Y ( s)
Z ( s)
Z (s)
G(s)
R ( s)
P( s ) ( s s1 )( s s2 )...(s sn )
X
a
a
b
b
b
1 2 n
s 2 2 s j s j s s1 s s2
s sn
Input
system poles
where a and the b, (where i = 1,2, . . . , n) are constants and is the complex
conjugate of a. The inverse Laplace transform of system output Y(s) gives
j
y (t ) ae
a
e j b1e s1t b2 e s2t bn e s nt
Input
system poles
For a stable system, the terms contain e-st approach zero as t approaches infinity.
Dr. Ahmet Uar
9/17/2001
G(s)
j
y (t )
ae
a
e j b1e s1t b2e s2t bn e snt
Y(s)
yss ( t ); input
yt ( t ) 0; system poles
Thus, regardless of whether the system is of the distinct-pole type, the steady state
response becomes
yss (t ) ae j a e j
where the constant a and are
X
X
XG ( j )
XG ( j )
a G (s ) 2
(s j )
, a G( s) 2
( s j )
2
2
s
2j
s
2j
s j
s j
Since G(j) is a complex quantity, it
j
can be written in the following form: G ( j ) G ( j ) e
where |G(j)| represents the magnitude and represents the angle of G(j); that is,
Im G ( j )
The angle may be negative, positive, or zero.
Re G ( j )
G ( j ) tan 1
Dr. Ahmet Uar
Then,
r(t) = Xsint
R(s)
y(t)
G(s)
Y(s)
x(t)
yss(t)
Y ( j )
G ( j )
R ( j )
ts
t
The steady state response
9/17/2001
Y ( s)
1
G ( s)
, RC
R( s)
s 1
r(t)
vc=y(t)
For sinusoidal input, r(t)=Xsint, the steady state response of the system yss(t) is
obtained by letting s= j;
jImG(j)=jX( )
r(t) = Xsint
y(t)
j
G(s)
R(s)
Y(s)
ReG(j)=jR()
1
Y ( j )
s=j
0
s=+j plane
R ( j )
G ( j )
j 1
1
( ) 2 1
y ss (t ) X | G ( j ) | sin(t )
Dr. Ahmet Uar
| G ( j ) |
G ( j1 )
G ( j1 )
tan 1 ( )
=0
1
G(j) plane
Polar Plane
X
( ) 2 1
sin(t tan 1 ( ))
1
RC
X, Mag.
0.01
-0.5729
0.1
0.995
-5.7106
0.707
-45.0000
0.4472
-63.4349
0.3162
-71.5651
0.2425
-75.9638
0.1961
-78.6901
0.1644
-80.5377
0.1414
-81.8699
0.124
-82.8750
0.11
-83.6598
10
0.099
-84.2894
100
0.01
-89.4271
y ss (t ) X | G ( j1 ) | sin(1t )
Dr. Ahmet Uar
Y ( j )
R( j ) 1
(0)
1
RC
| G ( j1 ) | , 1
1
RC
1
tan 1 (1)
2
1
450
2
jImG(j)
1
45
G ( j1 )
s=+j plane
ReG(j)
1
2
=0
1=1/RC
G(j) plane
Polar Plane
X
2
sin(1t 450 )
10
9/17/2001
Y ( j )
R( j )
1
1
RC
1
RC
s=+j plane
jImG(j)
1
tan 1 (1)
2
1
450
2
| G ( j1 ) | , 1
ReG(j)
45
1 =0
G ( j1 )
2
1=1/RC
G(j) plane
Polar Plane
X
y ss (t ) X | G ( j1 ) | sin(1t )
sin(1t 450 )
2
From yss(t), it can be seen that for 0, the amplitude of the steady-state
output yss(t) is almost equal to X. The phase shift of the output is small for small
.
The magnitude of output is X|G(j1)|=X/2 and phase (1)=450 at
=1=1/=1/RC.
For , the amplitude of the output is small and almost inversely
proportional to . The phase shift approaches -900 and yss(t)=0 as . This
is a phase-lag network.
Dr. Ahmet Uar
11
R
r(t)
y(t)
G(s)
R(s)
vc=y(t)
Y(s)
jImG(j)
Y ( j )
R( j ) 1
| G ( j1 ) | , 1
1
RC
1
RC
1
tan 1 (1)
2
1
450
2
s=+j plane
1
45
ReG(j)
1
G ( j1 )
2
=0
1=1/RC
G(j) plane
Polar Plane
Results: The magnitude of the transfer function |G(j)| is almost equal to one
for the range of frequency of 0 1=1/. However it rapidly degreased to
zero for 1=1/ < . Thus the frequency 1=1/ is called corner frequency
fort the simple poles/zeros.
Dr. Ahmet Uar
12
9/17/2001
R(j)
Y(j)
Y ( j )
G ( j ) G ( j ) G ( j )
R ( j )
G(j)
G ( j )
s=+j plane
There are three common methods are used study the frequency response of the
systems:
1. Bode diagram or logarithmic plot
2. Nyquist diagram or polar plot
3. Log-magnitude-versus-phase plot (Nichols plots)
In this lecture Bode diagram of feedback systems will be subject t be studied.
Dr. Ahmet Uar
13
Y ( j )
G ( j ) G( j ) G ( j ) G ( j )
R( j )
G(j) (deg)
(dB)
G(j)
|G(j)
R(j)
a) 20 log 10 G ( j ) , dB
0
10-2
10-1
102
103
b) G ( j ), deg
-1800
10-2
10-1
100
log10
101
102
103
Both are plotted against the frequency on a logarithmic scale where the base of
the logarithm is 10; log10
Dr. Ahmet Uar
14
9/17/2001
1
, dB
a) 20 log10 G( j ) 20 log10
( )2 1
1
b) G( j ) tan ( ), deg
1/
b) Angle (0)
-0.5729
0.1
-0.0432
-5.7106
-3.0103
-45.0000
-6.9897
-63.4349
-12.3045
-75.9638
-14.1497
-78.6901
-15.6820
-80.5377
-18.1291
-82.8750
10
-20.0432
-84.2894
100
-40.0004
-89.4271
|G(j)
a) Mag. (dB)
-0.0004
G(j) (deg)
0.01
(dB)
r(t)
20
10
0
-10
-20
-30
-40
vc=y(t)
10 1
10 0
10
10 2
10 1
10
00
300
600
900
1200
1500
180 0
10 2
15
1
, dB
Y ( j )
1 a ) 20 log10 G ( j ) 20 log10
G ( j )
( )2 1
R( j )
j 1
b) G( j ) tan 1 ( ), deg
1
( )2 1
|G(j)
(dB)
10 1
10
10 2
The frequency =1/ is often called the break frequency or corner frequency.
Dr. Ahmet Uar
16
9/17/2001
|G(j)
(dB)
a decade
20
10
0
-10
-20
-30
-40
0 dB/dec
-20 dB/dec
10 1
10
10 2
17
G(s)
Y (s )
G(s )
, P(s) 1 G (s )H (s)
R(s) 1 G (s) H ( s)
Y(s)
H(s)
P( j ) 0 G ( j ) H ( j ) 1
a ) G ( j ) H ( j ) 1
b) G ( j ) H ( j ) 1800 deg
A Bode diagram gives the frequency performance of the closed loop system by
studying the loop transfer function G(j)H(j) only.
Dr. Ahmet Uar
18
9/17/2001
Y(s)
G(s)
Y ( j )
G ( j )
R( j ) 1 G ( j ) H ( j )
H(s)
G( j ) H ( j ) 1
P ( j ) 0 G ( j ) H ( j ) 1
G ( j ) H ( j ) 1800 deg
a ) 20 log 10 G ( j ) H ( j ) 0 dB
b) G ( j ) H ( j ) 1800
20 log10 1 0 dB
deg
19
Y(s)
G(s)
H(s)
Y ( j )
G( j )
R ( j ) 1 G ( j ) H ( j )
a) 20 log10 G ( j ) H ( j ) 0 dB
0
P ( j ) 1 G ( j ) H ( j )
10 -2
10-1
100
10 1
102
103
G ( j ) H ( j ) 1
a ) 20 log10 G( j ) H ( j ) 0 dB
0
b) G ( j ) H ( j ) 180 deg
b) G ( j ) H ( j ) 180 0 deg
-1800
10-2
10-1
100
10 1
102
103
The magnitude and the phase diagram are plotted against the frequency on a
logarithmic scale where the base of the logarithm is 10; log10
Dr. Ahmet Uar
20
10
9/17/2001
P ( j ) 1 G ( j ) H ( j )
Y(s)
G(s)
P ( j ) 0
H(s)
G ( j ) H ( j ) 1
a) 20 log10 G ( j ) H ( j ) 0 dB
Y ( j )
G( j )
R( j ) 1 G ( j ) H ( j )
b) G ( j ) H ( j ) 1800 deg
Basic Factors of G(j)H(j). The basic factors that very frequently occur in an
arbitrary loop transfer function G(j)H(j) are:
1. Gain K
2. Integral and derivative factors (j) 1
3. First-order factors (1+jT) 1
4. Quadratic factors (1+ j 2 (j/n) + (j/n)2 ) 1
Once the logarithmic plots of these basic factors are well understood, it is
possible to utilize them in constructing a composite logarithmic plot for any
general form of loop transfer function G(j)H(j ) by sketching the curves for
each factor and adding individual curves graphically, because adding the
logarithms of the gains corresponds to multiplying them together.
Dr. Ahmet Uar
21
Y(s)
G(s)
G ( j ) H ( j ) 1
a ) 20 log10 G ( j ) H ( j ) 0 dB
H(s)
b) G ( j ) H ( j ) 1800
G ( j ) H ( j ) 0
Dr. Ahmet Uar
deg
Mag. (dB)
0.01
-40
0.1
-20
6.02
12.04
13.97
15.56
18.06
10
20
100
40
22
11
9/17/2001
G( s ) H ( s ) K
Y(s)
G(s)
H(s)
Magnitudes graph; G ( j ) H ( j ) K
40
Mag. (dB)
0.01
-40
0.1
-20
6.02
12.04
13.97
15.56
18.06
10
20
100
40
K=10
Magnitude (dB)
octave
20
K=0
0
-20
decade
K=0.1
K=0.01
-40
10-1
100
Angle graph; G ( j ) H ( j ) 0
Phase(deg)
0
octave
-45
-90
decade
-135
-180 -1
10
100
23
G(s)
G ( j ) H ( j ) 1
Y(s)
a ) 20 log10 G ( j ) H ( j ) 0 dB
H(s)
1
s
G ( j ) H ( j )
b) G ( j ) H ( j ) 1800
deg
1
j 1
2 900
Magnitudes graph;
20 log10 G ( j ) H ( j ) 20 log10
1
1
20 log10 20 log10 1 20 log10 ,
j
20 log 10 1 0 dB
20 log10 G ( j ) H ( j ) 20 log10
( 20 log10 ) 20 dB / decade
log10
Angle graph;
G ( j ) H ( j ) 90 0
Dr. Ahmet Uar
24
12
9/17/2001
Mag. (dB)
Angle
(deg)
0.01
40
-900
0.1
20
-6.02
-12.04
-13.97
-15.56
-18.06
10
-20
100
-40
( 20 log10 ) 20 dB / decade
log10
20
0
-20 dB/dec
octave
-20
decade
-40 -2
10
10
-1
10
10
G ( j ) H ( j ) 90
Angle graph;
(rad/sec) 10
Phase(deg)
Magnitude (dB)
40
-45
-90
octave
-135
decade
-180 -2
10
10
-1
10
10
(rad/sec) 10
25
R(s)
G ( j ) H ( j )
90
G(s)
Y(s)
H(s)
20
log
G
(
j
)
H
(
j
20
log
1
n
20
log
n 20 log10 dB
Magnitudes graph;
10
10
10
60
40
20
Angle graph;
n=3
Magnitude(dB)
n=2
-60 dB/dec
-40 dB/dec
decade
n=1
0
octave
-20 dB/dec
-20
G ( j ) H ( j ) n900
-40
-60
-1
10
10
Frequency (rad/sec)
10
26
13
9/17/2001
0.1
-20
6.02
12.04
13.97
15.56
18.06
10
20
100
40
Y(s)
G(s)
H(s)
40
Magnitude(dB)
0.01
R(s)
20 dB/dec
20
octave
0
-20
decade
-40 -2
10
-1
10
10
Frequency (rad/sec)
10
10
27
R(s)
G ( j ) H ( j ) nn90
G(s)
Y(s)
H(s)
decade
40
20
Magnitude(dB)
(| G ( j ) H ( j ) |)
n20 dB / decade
log10
n=1
-20
n=2
octave
-40
n=3
-60 -1
10
10
Frequency (rad/sec)
10
28
14
9/17/2001
G ( j ) H ( j ) G ( j ) H ( j ) G ( j ) H ( j
( ) 2 1
tan ( )
29
1
j 1
1/
Mag. (dB)
Angle (0)
0.01
-0.0004
-0.5729
0.1
-0.0432
-5.7106
-3.0103
-45.0000
-6.9897
-63.4349
-12.3045
-75.9638
-14.1497
-78.6901
-15.6820
-80.5377
-18.1291
-82.8750
10
-20.0432
-84.2894
100
-40.0004
-89.4271
Magnitude(dB)
G ( j ) H ( j ) tan 1 ( )
0
-5
0 dB/dacade
<<1/
-10
1/
>>1/
-20 dB/decade
-15
-20 -1
10
0
Phase(deg)
Angle graph;
10
10
-20
-40
-60
-80
-1
10
10
Frequency (rad/sec)
10
30
15
9/17/2001
1
j 1
1 ( )2 dB
G ( j ) H ( j ) tan 1 ( )
Angle graph;
31
n 1, 1, G ( j ) H ( j ) j 1
G ( j ) H ( j ) G ( j ) H ( j ) G ( j ) H ( j )
2
R(s)
Figure 1:
G(s)
Y(s)
H(s)
( ) 1 tan ( )
32
16
9/17/2001
1/
Mag. (dB)
G ( j ) H ( j ) tan 1 ( )
Angle (0)
0.01
0.0004
0.5729
0.1
0.0432
5.7106
3.0103
45.0000
6.9897
63.4349
12.3045
75.9638
14.1497
78.6901
15.6820
80.5377
18.1291
82.8750
10
20.0432
84.2894
100
40.0004
89.4271
G ( j ) H ( j ) 20 log10 1 1 3 dB
Magnitude(dB)
Angle graph;
20
20 dB/dacade
10
>>1/
0
10
0 dB/dacade
10
10
80
60
40
20
0 -1
10
1/
<<1/
-1
Phase(deg)
Magnitudes graph;
n 1, 1, G( j ) H ( j ) j 1
10
Frequency (rad/sec)
10
33
n2
G (s ) H (s ) 2
s 2 n s 2 n2
G(s)
Figure 1:
Y(s)
H(s)
n
1
G ( j ) H ( j )
( j ) 2 2n ( j ) n2 ( j ) 2
( j )
2
1
n2
n
and lim G ( j ) H ( j ) 0 1800
lim G ( j ) H ( j ) 100
0
2 2
2
) (2
)
2
n
n
For low frequencies, such that << n(natural frequency), the log magnitude may
be approximated by
n G ( j ) H ( j ) 20 log 10 1 0
40 log 10
n2
n
17
9/17/2001
1
( j ) 2
n2
lim G ( j ) H ( j ) 100
Magnitudes graph;
R(s)
( j )
G(s)
Figure 1:
Y(s)
H(s)
G ( j ) H ( j ) 20 log10 1 20 log10 (1
2 2
2
) ( 2
)
2
n
n
n G ( j ) H ( j ) 20 log 10 1 0
For >> n(natural frequency), asymptote is a straight line having the slop -40
2
dB/decade
n G( j ) H ( j ) 20 log10 2 40 log10
n
n
The high-frequency asymptote intersects the low-frequency one at = n (natural
frequency), since at this frequency
n G ( j ) H ( j ) 40 log 10
40 log 10 1 0 dB
n
35
2 2
2
) (2
)
2
n
n
2
/(1 2 )
G ( j ) H ( j ) tan 1 2
n
n
Angle graph;
Natural
(rad/s) |G(j)| (dB)
frequency
0.01
0.0004
n=1
0.1
0.0432
1
2
4
5
6
8
10
100
1.1094
-11.14
-23.82
-27.78
-31.01
-36.06
-39.95
-79.99
G(j)
-0.57
-5.76
-33.69
-146.30
-165.06
-168.23
-170.27
-172.76
-174.23
-179.42
0 dB/d
-30
-40 dB/d
>> n
-40
-1
10
10
10
0
-50
-100
-150
-1
10
= n
<< n
-20
Phase(deg)
(=0.5) (n=1)
Magnitude(dB)
0
-10
10
Frequency (rad/sec)
10
36
18
9/17/2001
G ( j ) H ( j )
2
20 log10 (1
2
2
) ( 2
)
n
n2
( = 0.1)
( = 0.2)
( = 1)
-10
-20
G( j ) H ( j )
n
tan 1
2
(1 2 )
n
Phase(deg)
(n= 1)
-30
-40 -1
10
10
10
-50
-100
-150
-1
10
10
Frequency (rad/sec)
10
37
/(1 2 )
G( j ) H ( j ) tan 1 2
Angle graph;
G ( jn ) H ( jn ) 1 /( j 2 )
and | G( j n ) H ( jn ) | 1 /( j 2 )
The two asymptotes just derived are independent of the value of damping ratio .
Near the frequency =n, a resonant peak occurs. The damping ratio
determines the magnitude of this resonant peak.
Errors obviously exist in the approximation by straight-line asymptotes. The
magnitude of the error depends on the value of . It is large for small values of .
Dr. Ahmet Uar
38
19
9/17/2001
(n= 1)
10
( = 0.1)
( = 0.2)
Magnitude (dB)
( = 1)
-10
-20
G ( j ) H ( j ) 20 log10 (1
-30
2 2
2
) ( 2
)
n2
n
-40
-1
10
10
Frequency (rad/sec)
10
39
( = 0.1)
Phase(deg)
(n= 1)
( = 0.2)
-50
( = 1)
-100
2
n
G( j ) H ( j ) tan
2
(1 2 )
n
-150
10
-1
10
Frequency (rad/sec)
10
The phase angle is a function of both o and . At = 0, the phase angle equals 00.
At the corner frequency = n, the phase angle is -90" regardless of , since
2
1
0
G( j ) H ( j ) tan 1
tan 90
0
At = , the phase angle becomes -1800. The phase-angle curve is skew symmetric
about the inflection point-the point where = -90. There are no simple ways to
sketch such phase curves. We need to refer to the phase-angle curves shown in
above Figure.
Dr. Ahmet Uar
40
20
9/17/2001
Characteristic equation;
E(s)
G(s)
Y(s)
Plant
P( j ) 0 G ( j ) H ( j ) 1
Magnitudes graph;
(1) 20 log10 G( j ) H ( j ) 0 dB
Angle graph;
Sensors
H(s)
41
R(s)
E(s)
P ( j ) 0
G(s)
Y(s)
Plant
1 G ( j ) H ( j ) 0
G ( j ) H ( j ) 1
H(s)
Sensors
42
21
9/17/2001
U(s)
Gc(s)
G(s)
Controller
E(s)
Y(s)
Gc ( s) 5, H ( s) 1
G (s )
H(s)
Y (s )
Gc ( s)G ( s)
R( s ) 1 Gc ( s )G ( s ) H ( s)
2
s 3 3s 2 2 s
P( s ) 1 Gc ( s)G( s) H ( s )
Gc ( s) H ( s)G( s)
10
s( s 1)(s 2)
Magnitudes graph;
20 log10 Gc ( j )G ( j ) H ( j ) 20 log10 10
(20 log10 20 log10 2 12 20 log10 ( ) 2 22 )
43
Angle graph;
Bode Diagram
G1 ( j ) H ( j )
100
Mag. (dB)
Angle (0)
10-3
10-2
10-1
10-0
2
101
102
73
53
33.5
10
-2.04
-40.2
-100
-90
-90.8
-98.57
-161.56
-198.4
-252.9
-268.28
53
50
10
0
-2
-20 dB/dec
-40 dB/dec
=1 =2
-60 dB/dec
-50
-100
-150
-90
-90.8
Phase (deg)
Magnitude (dB)
-135
-161.5
-180
-198.4
-225
-270
10
-2
10
-1
10
(rad/sec)
10
10
44
22
9/17/2001
G(s)
Y(s)
G ( s)
10( s 20)
s (s 2)( s 2 s 200)
10( j 20)
10( j 20)
s-dz.
d 14.13
n13
cos 87
Magnitudes graph;
0.038
2
= 87
n 0.5
Angle graph;
G ( j ) 0 tan 1
20
(900 tan 1
tan 1
200 2
45
G ( s)
10( s 20)
s (s 2)( s 2 s 200)
R(s)
G(s)
Y(s)
Magnitudes graph;
20 log10 G ( j ) 20 log10 10 20 log10 20 2 2
[20 log10 20 log10 2 2 2 20 log10 (200 2 ) 2 2 ] dB
Angle graph;
G ( j ) 0 tan 1
20
(90 0 tan 1
Mag. (dB)
tan 1
200 2
Angle (0)
0.1
13.96
-92.60
-14.83
-129.87
13
-27.6
-161
20
-49.11
-123.57
200
-117.97
-274.84
46
23
9/17/2001
-20 dB/dec
Magnitude(dB)
-40 dB/dec
=13
=20
-100
R(s)
G(s)
-150
-200 -1
10
10( s 20)
s (s 2)( s 2 s 200)
-80 dB/dec
=2
-50
G ( s)
-60 dB/dec
Y(s)
10
10
10
10
Phase(deg)
-100
-180
-200
-300
-400 -1
10
10
10
Frequency (rad/sec)
10
10
47
G ( s)
K
, H ( s) 1
s( s 1)( s 20)
R(s)
E(s)
G(s)
Y(s)
H(s)
G (s )
K ( s 5)
, H ( s) 1
s (s 1)( s 20)
R(s)
E(s)
G(s)
Y(s)
H(s)
48
24
9/17/2001
R(s)
P ( j ) 1 G ( j ) H ( j )
0
G ( j ) H ( j ) 1
E(s)
G(s)
Y(s)
Plant
Sensors
H(s)
Angle graph;
bode(sys) draws the Bode plot of the LTI model SYS (created with either TF, ZPK, SS, or
FRD).
G ( j ) H ( j )
x Ax Bu
y Cx Du
Dr. Ahmet Uar
bode(sys )
bode(sys )
49
R(s)
E(s)
Y(s)
Plant
G(s)
Sensors
H(s)
bode(sys,{wmin,wmax}) draws the Bode plot for frequencies between WMIN and
WMAX (in radians/second).
bode(sys1,sys2,...,w) graphs the Bode response of multiple LTI models SYS1,SYS2,... on
a single plot.
bode(sys1,'r',sys2,'y--',sys3,'gx')
[mag,phase] = bode(sys,w) and [mag,phase,w] = bode(sys) return the response
magnitudes and phases in degrees (along with the frequency vector W if unspecified). No
plot is drawn on the screen. mag(:,:,k) and phase(:,:,k) determine the response at the
frequency w(k).
To get the magnitudes in dB,
type magdb = 20*log10(mag).
Dr. Ahmet Uar
50
25
9/17/2001
E(s)
PD Control
U(s)
Motor coil
Arm
G1(s)
G2(s)
G3(s)
Gc(s)
Y(s)
Sensor
H(s)
G c ( s ) K ( s 1),
5
5000
(10 3 s 1) ( s 1000 )
0 . 05
1
G2 ( s )
s ( 0 . 05 s 1) s ( s 20 )
G1 ( s )
G3 ( s )
(1)
n2
18850 2
2
2
( s 2 n s n ) ( s 11310 s 18850 2 )
2
H ( s) 1
51
E(s)
PD Control
Gc(s)
U(s)
Motor coil
Arm
G1(s)
G2(s)
G3(s)
Y(s)
Sensor
H(s)
The characteristic equation of the feedback system and the loop transfer function
for the control gain K=400 are;
G c ( s ) G1 ( s ) G 2 ( s ) G 3 ( s ) H ( s )
52
26
9/17/2001
E(s)
PD Control
U(s)
Gc(s)
Motor coil
Arm
G1(s)
G2(s)
G3(s)
Y(s)
Sensor
H(s)
G c ( s )G1 ( s )G 2 ( s )G 3 ( s ) H ( s )
53
E(s)
PD Control
U(s)
Motor coil
Arm
G1(s)
G2(s)
G3(s)
Gc(s)
Y(s)
G c ( s ) K ( s 1),
1
5000
( s 1000 )
1 3
G2 ( s )
s ( s 20 )
50
G1 ( s )
18850 2
2
( s 11310 s 18850 2 )
4
H ( s) 1
Magnitude (dB)
-20 dB/d
-20 dB/d
0 dB/d
1 = 1
2 = 20
-40 dB/d
3 = 1000
-50
G3 ( s )
-80 dB/d
n = 18850
Phase (deg)
-100
0
-90
-180
-270
-360
-1
10
10
10
10
10
Frequency (rad/sec)
10
10
54
27
9/17/2001
Disk drive head position control, including effect of flexure head mount, K=400.
G c ( s ) G1 ( s ) G 2 ( s ) G 3 ( s )
55
-20 dB/decade
0 dB/decade
Phase(deg)
Magnitude(dB)
Example 9.6: Use Matlab to plot Bode diagram of the following system.
R(s)
E(s)
Y(s)
( s 20)
G(s)
G ( s) H ( s )
Plant
( s 1)(s 200)
num=[1 20];
H(s)
Sensors
den=conv([1 1],[1 200]);
-20
sys=tf(num,den);
w=logspace(-1,2);
-40
[mag,phase]=bode(sys,w);
0 dB/decade
-60
magd=20*log10(mag);
-20 dB/decade
-80 -1
subplot(2,1,1),
0
1
2
3
10
10
10
10
10
semilogx(w,magd(1,:)),
0
grid
-20
ylabel('Magnitude(dB)')
-40
subplot(2,1,2),
-60
semilogx(w,phase(1,:)),
-80 -1
grid
0
1
2
3
10
10
10
10
10
ylabel('Phase(deg)'),
Frequency (rad/sec)
xlabel('Frequency (rad/sec)')
Dr. Ahmet Uar
56
28
9/17/2001
G(s)
H(s)
Y(s)
G ( j ) H ( j ) 1
a ) 20 log 10 G ( j ) H ( j ) 0 dB
b ) G ( j ) H ( j ) 180 0 deg
The main advantage of using the Bode diagram is that multiplication factors in
numerator of G(j)H(j ) are converted to addition and in denominator of
G(j)H(j) are converted to subtraction factors.
5( s 5)
5( j 5)
, s j , G ( j ) H ( j )
j ( j 1)( j 10)
s ( s 1)(s 10)
Magnitudes graph;
G ( s ) H ( s)
57
58
29
9/17/2001
59
-900(n-m)
for
60
30
9/17/2001
Y(s)
G(s)
G ( s) H ( s)
1
1
G ( j ) H ( j )
s (s 1)
j ( j 1)
H(s)
Bode Diagram
80
60
40
20
0
-20
-40
-90
Magnitude (dB)
40 dB / d
900 ( 2 0)
1800
G ( j ) H ( j ) i j
i 1
Phase (deg)
lim G ( j ) H ( j ) 900 ( n m)
-40 dB/d
-135
-1800
-180
-1
10
j 1
10
10
10
Frequency (rad/sec)
61
Y(s)
G(s)
G (s ) H (s ) s (s 1)
G ( j ) H ( j ) j ( j 1)
H(s)
Bode Diagram
40 dB / d
Magnitude (dB)
G( j ) H ( j ) j ( j 1)
lim 20 log10 G( j ) H ( j ) 20(0 2) dB / d
100
40 dB/d
50
lim G( j ) H ( j ) 900 (n m)
900 (0 2)
1800
G ( j ) H ( j ) i j
i 1
j 1
Phase (deg)
180
1800
135
90
-1
10
10
10
10
Frequency (rad/sec)
62
31
9/17/2001
G(s)
50( s 2)
s ( s 1)( s 5)( s 10)
( j 2)
,
G ( j ) H ( j )
j ( j 1)( j 5)( j 10)
Y(s)
G (s)H (s)
H(s)
60 dB / d
lim G ( j ) 90 0 ( n m) 900 ( 4 1)
270 0
lim 20 log 10 G ( j ) H ( j ) 20( n m) dB / d
G ( j ) H ( j ) i j
i 1
j 1
63
50
Y(s)
H(s)
G ( s ) H ( s)
50( s 2)
s ( s 1)( s 5)( s 10)
60 dB / d
0
lim G( j ) 90 ( n m)
270
Magnitude (dB)
G(s)
-50
-100
-90
Phase (deg)
R(s)
-135
-180
-225
-270
10
-1
10
10
10
Frequency (rad/sec)
64
32
9/17/2001
-900(n-m)
for
65
( Ts 1)
(1)
(T1s 1)
H(s)
0
1
T1
Magnitude(dB)
1
T
s-plane
0 dB/d
-30
j 1
-50
-20 dB/d
-20
10
1
1
T1
10
10
G ( j ) H ( j ) i j 1 1
i 1
0 dB/d
-10
-40
-1
10
Phase(deg)
G( s ) H ( s )
10
1
50
T
-100
-150
-200
-1
10
10
10
Frequency (rad/sec)
66 10
33
9/17/2001
H(s)
(1)
0
Magnitude(dB)
G( s) H ( s)
1
1
1
T
1
T1
0 dB/d
-30
s-plane
lim G ( j ) H ( j ) 90(n m) 0
Phase(deg)
G ( j ) H ( j ) 1 1 ,
10
1
1
T1
10
1
50
T
10
-20
-40
-60
-80
-1
10
10
10
-20 dB/d
-20
-40
-1
10
0 dB/d
-10
10
10
Frequency (rad/sec)
10
67
G( s) H ( s)
20
s( s 2)
H(s)
j
Magnitude (dB)
s-dzlemi
0
-20
-40
-60
0
40 dB / d
Phase (deg)
lim G( j ) 90 (2 0)
180 0
20
1
1
Bode Diagram
40
-45
-90
-1
10
10
10
Frequency (rad/sec)
10
68
34
9/17/2001
Y (s )
G (s )
,
R ( s ) 1 G ( s) H ( s )
P ( s ) 1 G ( s ) H ( s) 0
R(s)
Y(s)
G(s)
H(s)
(1) | G ( j ) H ( j ) | gc 1
(2) G ( j ) H ( j ) | pc 1800
20 log10 | G ( j ) H ( j ) | gc 0 dB
Dr. Ahmet Uar
69
|G(j)H(j)|
[dB]
Y (s)
G( s)
, P ( s) 1 G ( s) H ( s )
R ( s ) 1 G (s ) H ( s )
(1) | G ( j ) H ( j ) | pc 1
G(s)
H(s)
gc
GM
| G ( j ) H ( j ) | pc 0 dB
( 2) G( j ) H ( j ) | gc 180 0
Y(s)
log
PM
-1800
pc
log
70
35
9/17/2001
R(s)
G(s)
Y(s)
(1) | G( j ) H ( j ) | pc 0 dB
( 2) G( j ) H ( j ) | gc 1800
|G(j)H(j)|
[dB]
H(s)
gc
GM
log
PM
-1800
pc
log
The gain crossover frequency, gc, is the frequency at which |G(j)H(j )|, the
magnitude of the open loop transfer function, is unity.
The phase margin PM is 1800 plus the phase angle = G(j)H(j ) of the openloop transfer function at the gain crossover frequency, gc, or
Dr. Ahmet Uar
71
R(s)
G(s)
(1) | G( j ) H ( j ) | pc 0 dB
( 2) G( j ) H ( j ) | 1800
Y(s)
H(s)
gc
PM 180 G ( j gc ) H ( j gc )
|G(j)H(j)|
[dB]
Phase Margin: The phase margin is defined as the change in open loop phase shift
required to make a closed loop system unstable.
The phase margin is that amount of additional phase lag at the gain crossover
frequency required to bring the system to the verge of instability.
The phase margin is the difference in phase between the phase curve and -180 deg
at the point corresponding to the frequency that gives us a gain of 0dB (the gain
cross over frequency, gc).
0
gc
GM
log
PM
-1800
Dr. Ahmet Uar
pc
log
72
36
9/17/2001
R(s)
G(s)
(1) | G( j ) H ( j ) | pc 0 dB
( 2) G( j ) H ( j ) | 1800
Y(s)
H(s)
gc
|G(j)H(j)|
[dB]
Phase Margin:
Likewise, the gain margin is the difference between the magnitude curve and 0dB
at the point corresponding to the frequency that gives us a phase of -180 deg (the
phase cross over frequency, gc).
gc
GM
PM 180 G ( j gc ) H ( j gc )
log
PM
-1800
pc
log
73
gc
GM
log
|G(j)H(j)|
[dB]
|G(j)H(j)|
[dB]
PM 180 G( j gc ) H ( j gc )
PM
-1800
pc
log
-1800
-GM
gc
log
pc
PM
log
74
37
9/17/2001
|G(j)H(j)|
[dB]
Y (s)
G( s)
, P ( s) 1 G ( s) H ( s )
R ( s ) 1 G (s ) H ( s )
(1) | G ( j ) H ( j ) | pc 1
| G ( j ) H ( j ) | pc 0 dB
Y(s)
G(s)
H(s)
gc
( 2) G( j ) H ( j ) | gc 180 0
log
GM
PM
-1800
pc
log
Gain Margin: The gain margin is defined as the change in open loop gain
required to make the system unstable. Systems with greater gain margins can
withstand greater changes in system parameters before becoming unstable in
closed loop.
Keep in mind that unity gain in magnitude is equal to a gain of zero in dB.
Dr. Ahmet Uar
75
R(s)
G(s)
(1) | G( j ) H ( j ) | pc 0 dB
( 2) G( j ) H ( j ) | 1800
Y(s)
H(s)
gc
Gain margin: The gain margin is the reciprocal of the magnitude |G(j)H(j)| at the
frequency, pc, at which the phase angle is -1800.
Defining the phase crossover frequency pc, to be the frequency at which the phase
angle of the open-loop transfer function equals -1800 gives the gain margin Kg:
1
| G ( j pc ) H ( j pc ) |
|G(j)H(j)|
[dB]
Kg
In terms of decibels,
gc
GM
log
GM 20 log K g
20 | G ( j pc ) H ( j pc ) |
PM
-1800
pc
log
76
38
9/17/2001
|G(j)H(j)|
[dB]
|G(j)H(j)|
[dB]
The gain margin expressed in decibels is positive if Kg is greater than unity and
negative if Kg is smaller than unity. Thus, a positive gain margin (in decibels)
PM>0 means that the system is stable, and a negative gain margin (in decibels)
PM<0 means that the system is unstable. The gain margin is shown in Figures
illustrate the phase margin of both a stable system and an unstable system in Bode
diagrams.
GM 20 log K g 20 | G ( j pc ) H ( j pc ) |
gc
-180 0
pc
log
-GM
gc
log
log
GM
PM
-1800
pc
PM
log
77
78
39
9/17/2001
79
80
40
9/17/2001
R(s)
G(s)
(1) | G ( j ) H ( j ) | pc 0 dB
Y(s)
H(s)
(2) G ( j ) H ( j ) | gc 1800
GM 0 20 log10 | G ( j pc ) H ( j pc ) | [dB]
|G(j)H(j)|
[dB]
0
gc
log
GM
PM 180 G ( j gc ) H ( j gc ) deg
G(j)H(j)
PM
-1800
pc
log
gc pc
81
R(s)
(1) | G ( j ) H ( j ) | pc 0 dB
G(s)
Y(s)
H(s)
(2) G ( j ) H ( j ) | gc 1800
PM 180 G ( j gc ) H ( j gc ) deg
|G(j)H(j)|
[dB]
0
gc
log
G(j)H(j)
-1800
pc
log
gc pc
PM GM 0
82
41
9/17/2001
R(s)
G(s)
Y(s)
H(s)
(1) | G ( j ) H ( j ) | pc 0 dB
(2) G ( j ) H ( j ) | gc 1800
|G(j)H(j)|
[dB]
0
G(j)H(j)
-1800
PM 180 G ( j gc ) H ( j gc ) deg
-GM
gc
log
PM 180 G ( j gc ) H ( j gc ) deg
pc
-PM
log
gc pc
EEE 352 Chapter 9
83
Bode Diagrams
Relative Stability of Nonminimum phase system
Nonminimum phase system:
For nonminimum phase systems, the correct interpretation of stability margins
requires careful study. The best way to determine the stability of nonminimum
phase systems is to use the Nyquist diagram approach rather than Bode
diagram approach.
84
42
9/17/2001
G (s) H (s)
R(s)
2500
(1)
s ( s 5)( s 50)
G(s)
Y(s)
H(s)
b) Obtain gain crossover frequency gc and phase margin PM of the given system.
c) Draw the Bode diagram of the system and show pc, GM, gc, and PM on the
Bode diagram.
Solution 9.12; The system transfer function and characteristic equation are;
Y (s)
G( s)
, P(s ) 1 G( s) H (s) 0
R(s) 1 G (s ) H ( s)
P ( j ) 1 G ( j ) H ( j ) 0
(1) | G ( j ) H ( j ) | gc 1
20 log10 | G ( j ) H ( j ) | gc 0 dB
(2) G( j ) H ( j ) | pc 1800
85
2500
2500
2500
1
1
j ( j 5)( j 50)
j 3 55 2 250 j
55 2 j (250 3 )
2500(55 2 )
2500(250 3 )
j
2 2
3 2
(55 ) (250 )
(55 2 ) 2 (250 3 ) 2
2500(250 3 )
0
(55 2 ) 2 ( 250 3 ) 2
1 0
2500(250 3 ) 0 (250 2 ) 0 2
2 250 2 pc 15.82 rad / s
Im[1 G ( j ) H ( j )] Im[G ( j ) H ( j )] 0
-1800
pc
log
EEE 352 Chapter 9
86
43
9/17/2001
2500(55 2 )
2500(250 3 )
j
3 2
(55 ) (250 )
(55 2 ) 2 ( 250 3 ) 2
2 2
The gain margin GM is the margin at the phase crossover frequency pc at which
the phase angle is -1800.
20 log10 G ( j ) H ( j )
pc
2
20 log10 2500 (20 log10 pc 20 log10 52 pc
20 log10 (50) 2 2pc )
14.81 dB
GM 0 20 log10 | G ( j pc ) H ( j pc ) | [dB]
|G(j)H(j)|
[dB]
log
GM = 14.82
G(j)H(j)
GM 0 (14.8167) 14.81 dB
-1800
log
pc =15.82
Dr. Ahmet Uar
87
(1) | G ( j ) H ( j ) | gc 1
20 log10 | G ( j ) H ( j ) | gc 0 dB
Mag .(dB)
0.1
39.99
-91.26
-140.71
50
-37.03
-219.28
Phase
88
44
9/17/2001
|G(j)H(j)|
[dB]
3 dB
dB2 0, 2 gc
-40 dB/decade
Approximated
gain
Actual gain
0 dB
log
1 = 5
2 =gc
Genlik
(dB)
0.1
39.99
-91.26
-140.71
50
-37.03
-219.28
dB
40 dB / dec
log
dB2 dB1
03
gc
3
40
3
log
gc
40
3
40
10 gc 5 10 5.95 rad / s
5
Comment: The correctness of the gain crossover frequency gc depends on the
distance of the both frequencies.
Dr. Ahmet Uar
89
52 2 50 2
1 2500 2 2 ( 2 52 )( 2 50 2 )
2 ( 2 52 )( 2 502 ) 2500 2 0
6 2525 4 62500 2 2500 2 0, u 2
|G(j)H(j)|
[dB]
| G ( j ) H ( j ) | 1
gc
log
90
45
9/17/2001
G ( j ) H ( j )
Angle equation;
gc 5.96
|G(j)H(j)|
[dB]
146.80
PM = 180-146.8 = 33.20
GM 0 20 log10 | G ( j pc ) H ( j pc ) | [ dB]
G(j)H(j)
PM 180 G ( j gc ) H ( j gc ) deg
log
gc=5.96
GM = 14.82
PM=33.20
-1800
pc =15.82
log
1
The system is stable
Dr. Ahmet Uar
91
2500
j ( j 5)( j 50)
20 log 10 50 ]
Magnitude (dB)
gc= 6.22
G ( j ) H ( j )
tan
-50
50
-150
-90
PM = 180-146.8 = 33.20
Phase (deg)
0 [90 tan
GM
-100
Angle graph;
0
-135
PM
pc=15.8
-180
-225
pc 15.82 rad / s
GM 14.8167 dB
Dr. Ahmet Uar
-270
10-1
100
101
Frequency (rad/sec)
102
103
92
46
9/17/2001
G (s) H (s)
R(s)
K
(1)
s ( s 1)( s 5)
G(s)
Y(s)
H(s)
a) Draw the Bode diagram of the system for K=10 and determine its stability.
b) Draw the Bode diagram of the system for K=100 and determine its stability.
Solution 8.13; a) For K=10 phase crossover frequency, pc and gain margin GM;
Y (s)
G( s)
, P (s) 1 G( s) H (s) 0
R(s) 1 G( s) H (s)
P( j ) 1 G ( j ) H ( j ) 0
P ( j ) 1 G( j ) H ( j ) 1
1
10
10
1
j ( j 1)( j 5)
j 3 6 2 5 j
10( 6 2 )
10(5 3 )
j
3 2
(6 ) (5 )
(6 2 ) 2 (5 3 ) 2
2 2
93
(5 2 ) 0
10(5 3 )
0 10(5 3 ) 0
2 2
3 2
2
(6 ) (5 )
1 0, 2 5 pg 2.23 rad / s
|G(j)H(j)|
[dB]
20 log 10 G ( j ) H ( j )
0
G(j)H(j)
GM 0 (9.49) 9.49 dB
log
GM = 9.49.82
-1800
Dr. Ahmet Uar
pc =2.23
log
94
47
9/17/2001
Gain (dB)
Phase
0.1
25.97
-96.8
2.84
-146.3
-25.1
-213.6
dB1 284, 1 1
2.84
dB2 0, 2 gc
dB
Actual gain
-40 dB/decade
Approximated
gain
dB
40 dB / dec
log
dB2 dB1
2.84
40
log gc log 1 log gc
Dr. Ahmet Uar
0 dB
gc
1=1
log
gc 10 40 gc 1.1 rad / s
EEE 352 Chapter 9
95
P ( j ) 1 G ( j ) H ( j ) 0
10
2
1 10
1 10 2 2 ( 2 1)( 2 10 2 )
2 ( 2 1)( 2 10 2 ) 10 2 0
6 101 4 100 2 10 2 0, u 2
|G(j)H(j)|
[dB]
| G ( j ) H ( j ) | 1
gc=0.78
log
96
48
9/17/2001
gc
150 0
1. 1
1.1
tan 1 )
1
5
|G(j )H(j )|
[dB]
G ( j ) H ( j )
G ( j ) H ( j ) 0 (900 tan 1
gc=1.1
GM=9.49
log
PM = 180-150 =30 0
PM=300
-1800
pc =2.23
log
gc pc
Since gc =1.1 < pc =2.23, the system is stable.
Dr. Ahmet Uar
97
gc 4.5 rad / s
PM = 180-210
= -300
pc 2.1 rad / s
GM 12 dB
Since
gc 4.5 pc 2.1
|G(j)H(j)|
[dB]
0
G(j)H(j)
-1800
-GM
gc
log
pc
-PM
log
gc pc
EEE 352 Chapter 9
98
49
9/17/2001
|G(j)H(j)|
[dB]
|G(j)H(j)|
[dB]
Solution 9.13:
99
Gc(s)
1
Gc ( s ) K c , G p ( s )
, H (s) 1
s ( s 2) 2
H(s)
Gp(s)
1
G p (s )
, H (s ) 1
H(s)
( s 1)( s 10)( s 50)
a) Draw the Bode diagram of the loop transfer function,
b) Determine the gain Kc such that the phase margin is PM=50.What is the
gain margin PM in this case?
Dr. Ahmet Uar
100
50
9/17/2001
1 x1 0
x1 0
x 2 3 x 5u
2
2
x
y 1 1 1 [0]u
x2
a) Determine the transfer function representation of the system,
b) Sketch the Bode plot.,
101
G(s)
Y(s)
Y ( j )
G ( j )
Y ( j 0)
3 dB, for b
R ( j ) 1 G ( j ) H ( j ) R ( j 0)
H(s)
Y ( j )
G ( j )
3 dB, for b
R ( j ) 1 G ( j ) H ( j )
The closed-loop system filters out the signal components whose frequencies are greater
than the cutoff frequency and transmits those signal components with frequencies lower
than the cutoff frequency.
Dr. Ahmet Uar
102
51
9/17/2001
G(s)
dB
Y(s)
-3
H(s)
Bandwidth
Y ( j )
G ( j )
Y ( j 0)
3 dB, for b
R ( j ) 1 G ( j ) H ( j ) R ( j 0)
3 dB, for b
R( j ) 1 G ( j ) H ( j )
in log scale b
dB
0
-3
Bandwidth
in log scale b
Dr. Ahmet Uar
103
G(s)
Y(s)
dB
-3
H(s)
Bandwidth
Y ( j )
G ( j )
Y ( j 0)
3 dB, for b
R ( j ) 1 G ( j ) H ( j ) R ( j 0)
Dr. Ahmet Uar
in log scale b
104
52
9/17/2001
G(s)
Y(s)
dB
H(s)
Cutoff Rate.
-3
Y ( j )
G ( j )
R ( j ) 1 G ( j ) H ( j )
Y ( j ) Y ( j 0)
3 dB , for b
R ( j ) R( j 0)
Bandwidth
in log scale
It is noted that a closed-loop frequency response curve with a steep cutoff characteristic
may have a large resonant peak magnitude, which implies that the system has a relatively
small stability margin.
Dr. Ahmet Uar
105
H(s)
Y(s)
dB
Cutoff Rate.
-3
Y ( j )
G( j )
num Y ( j 0)
3 dB, for b
R( j ) 1 G ( j ) H ( j ) den R ( j 0)
Bandwidth
in log scale b
106
53
9/17/2001
G (s )
G(s)
1
, H (s ) 1
s(0.5s 1)( s 1)
H(s)
Solution 9.14;
dB
Y ( j )
G ( j )
R( j ) 1 G ( j ) H ( j )
Y ( j ) num
R( j ) den
Y ( j )
Y ( j 0)
3 dB, for b
R( j )
R ( j 0)
Cutoff Rate.
-3
Bandwidth
in log scale b
Y ( s)
G( s)
1
1
3
R ( s ) 1 G ( s ) H ( s ) s (0.5s 1)( s 1) 1 0.5s 1.5s 2 s 1
Dr. Ahmet Uar
107
G(s)
H(s)
Y(s)
Y ( s)
G (s )
1
R ( s ) 1 G ( s ) H ( s ) 0 .5 s 3 1 .5 s 2 s 1
M-file produces a Bode diagram for the closed-loop system as well as the resonant peak,
resonant frequency, and bandwidth.
% M-file for bandwidth.
clear all; numcl=[1]; dencl=[0.5 1.5 1 1]; syscl=tf(numcl,dencl);w = logspace(-1,1);
bode(syscl,w); grid;
[mag,phase,w] = bode(numcl,dencl,w);
[Mp,k] = max(mag);
ResonantPeak = 20*log10(Mp)
ResonantFrequency = w(k)
% M-file for bandwidth.
Restults
n = 1;
ResonantPeak = 5.2388
while 20*log10(mag(n)) > -3; n = n +1;
ResonantFrequency = 0.7906
end
Bandwidth = 1.2649
Bandwidth = w(n)
Dr. Ahmet Uar
108
54
9/17/2001
Y ( s)
G ( s)
1
1
Y ( j )
G ( j )
R ( j ) 1 G ( j ) H ( j )
Magnitude (dB)
r= 0.7906 rad/sec.
-20
-60 dB/d
b =1.2649 rad/sec.
-40
-60
-1
10
Frequency (rad/sec)
10
10
109
R( s ) 1 G ( s ) H ( s )
R(s)
Y(s)
G(s)
H(s)
(1) | G( j ) H ( j ) | gc 1
20 log10 | G ( j ) H ( j ) | gc 0 dB
( 2) G ( j ) H ( j ) | pc 1800
Remark 2; Resonant Peak, Resonant Frequency, Cutoff Frequency and Bandwidth are
related to the closed loop system Bode diagram.
Y ( j )
G ( j )
R( j ) 1 G ( j ) H ( j )
Y ( j )
Y ( j 0)
3 dB, for b
R( j )
R ( j 0)
Dr. Ahmet Uar
R(s)
G(s)
Y(s)
H(s)
EEE 352 Chapter 9
110
55
9/17/2001
Y (s)
G ( s)
, P ( s) 1 G ( s) H ( s) 0
R( s) 1 G ( s ) H ( s)
R(s)
Y(s)
G(s)
(1) | G ( j ) H ( j ) | pc 1
20 log10 | G ( j ) H ( j ) | pc 0 dB
(2) G ( j ) H ( j ) | gc 1800
|G(j)H(j)|[dB]
H(s)
Region II
Region III
Region I
-20 dB/d
gc
log
The static position, velocity, and acceleration error constants describe the lowfrequency behaviour of type 0, type 1, and type 2 systems, respectively.
111
|G(j)H(j)|[dB]
Region I
Steady state
performance
Region II
Transient
performance
-20 dB/d
gc
Region III
Show
systems
complexity
log
The static position, velocity, and acceleration error constants describe the lowfrequency behaviour (region I) of type 0, type 1, and type 2 systems, respectively.
For a given system, only one of the static error constants is finite and significant.
(The larger the value of the finite static error constant, the higher the loop gain is as
approaches zero.)
The type of the system determines the slope of the log-magnitude curve at low
frequencies (region I). Thus, information concerning the existence and magnitude
of the steady state error of a control system to a given input can be determined from
the observation of the low-frequency region (region I) of the log-magnitude curve.
Dr. Ahmet Uar
112
56
9/17/2001
0 dB/decade
20 log10Kp
|G(j)H(j)|
[dB]
lim G ( j ) H ( j ) K p
-40 dB/d
gc
Figure 2:
-20 dB/d
log
lim | G ( j ) H ( j ) | K p
lim G ( s ) H ( s ) K , e ss
s 0
1
1 K
113
G ( j ) H ( j )
Thus
Kv
, for 1
j
20 log
Kv
20 log Kv
j
|G(j )H(j )|
[dB]
Figure 2 shows an example of the log magnitude plot of a type 1 system. The
intersection of the initial -20 dB/d segment (or its extension) with the line 1 = 1
has the magnitude 20 log Kv.
This may be seen as follows: In a type 1 system
-20 dB/d
Figure 2:
Dr. Ahmet Uar
20 log10 K v
2 =1 gc
1 log
-40 dB/d
114
57
9/17/2001
R(s)
G(s)
Y(s)
H(s)
Kv
| 1, or K v 1 .
j1
1
Kv
115
it follows that
20 log |
Ka
|1 20 log K a
( j )2
-40 dB/d
|G(j )H(j )|
[dB]
G( j) H ( j)
-60 dB/d
20 log10 K a
-20 dB/d
=1 a K a
log
Figure 2:
Dr. Ahmet Uar
116
58
9/17/2001
Y(s)
G(s)
K (T s 1)(Tb s 1)...(Tm s 1)
G (s )H ( s) N a
s (T1s 1)(T2 s 1)...(T p s 1)
H(s)
The frequency a at the intersection of the initial -40 dB/d segment (or its
extension) with the 0 dB line gives the square root of Ka numerically. This can be
seen from the following:
a
Ka
( j a )
Ka
2
a
Ka
0
( j a ) 2
-40 dB/d
|G(j )H(j )|
[dB]
20 log | G ( j ) H ( j ) | 20 log10
1
-60 dB/d
20 log10 K a
-20 dB/d
which yields
log
=1 a K a
Figure 2:
K a a2
Dr. Ahmet Uar
117
20 log 10
R(s)
G(s)
Y(s)
H(s)
Ka
0
( j a ) 2
Ka
K
a 1
( j a ) 2 a2
K a a2
ess ( )
1
Ka
118
59
9/17/2001
20 log 10 50 2 2 )
Magnitude(dB)
Solution 9.15; Since the system is type 1, it has finite static velocity error
constant, Kv. The system Bode diagram
is;
40
20
0
-20
-60 -1
10
-40
0
10
10
Frequency (rad/sec)
10
119
G(s)H (s)
R(s)
2500
(1)
s ( s 5)(s 50)
G(s)
Y(s)
H(s)
20 log10 K v 20
Magnitude(dB)
20
log10 K v 1
K v 101
10 s
0
-20
-60 -1
10
K v Lim sG ( s) H (s ) Lim s
s 0
s 0
-40
0
10
10
Frequency (rad/sec)
10
2500
10 s 1
s (s 5)( s 50)
EEE 352 Chapter 9
120
60
9/17/2001
E(s)
Gp(s)
Gc(s)
Y(s)
H(s)
The control system of the robotic arm has a closed-loop transfer function;
Gc ( s) 60, G p ( s )
1
, H (s) 1
s( s 12)
121
Gc ( s ) K c , G p ( s )
H (s)
1
s 1.4s 1
R(s)
10
s 10
E(s)
Gp(s)
Gc(s)
Y(s)
H(s)
a) Sketch the Bode plot of the loop transfer function for Kc=2.
b) Obtain Phase Margin, PM, and Gain Margin, PM.
c) Find the finite static error constant.
d) Obtain the closed loop system response y(t) to a unit step input, R(s) = 1/s.
e) Determine the bandwidth of the system.
122
61
9/17/2001
123
62