Bode Plot
Bode Plot
&
Bode plot
mySys=tf(100*[1 1],[1 110 1000])
mySys =
100 s + 100
------------------
s^2 + 110 s + 1000
>> bode(mySys)
Frequency Response method
• Developed in 1930 to 1940
• Frequency response
– To plot Magnitude and Phase angle against
frequency
Advantages
• Without knowledge of transfer function, the frequency
response of stable open loop system can be obtained
experimentally.
• Easy to use for designing of control system.
• Easy to find stability.
• Calculations are simple
• Can be used to obtained the transfer function experimentally
in the lab.
• Frequency response tests are simple and accurate.
• Moderate non-linearity can also be incorporated
• Can also be applied to the system does not having rational TF.
• Close relation between frequency response and step response
• Apparatus required for frequency response test is simple,
inexpensive and easy to use
Limitations
• When method is applied to nonlinear system,
the results are approximate.
• More ‘OLD’ method
• Only suitable if time constants of the systems
are up to some minutes.
Steady state response to frequency
• Input is sinusoidal.
r (t ) A sin t
A
R( s)
s2 2
N ( s)
if G ( s )
( s s1 )( s s2 )........( s sn )
A N (s)
C ( s ) R( s ).G ( s )
s 2 2 ( s s1 )( s s2 )........( s sn )
a a b b
C (s) 1 .............. n
s j s j s s1 s sn
• Taking Inverse Laplace and finding steady state
output.
Css (t ) A G( j) sin( t )
• Here
– A = Magnitude of Input
– |G(jω)| = Magnitude of Gain= [(Real)2+(Img)2]1/2.
– ωt = Phase angle of input
– φ = Phase angle = tan-1[img(G(jω))/real(G(jω))]
• G(jω) = G(s)|s=jω = Frequency domain TF.
Method of Frequency response
• Bode Plot
• Polar Plot
• Nyquits Plot
• M-φ Plot.
Bode Plot
• H W Bode
• Logarithmic values of magnitude are plotted
against logarithmic values of frequencies.
• Bode Plot consists
– Magnitude Plot
– Phase Plot
Magnitude plot and Phase Plot
• For Bode plot
Magnitude 20 log 10 G( j) dB
K (1 T1 j )(1 T2 j )....
G ( j ) H ( j )
( j ) (1 Ta j )(1 Tb j )......
p
Base factors
• Resultant system gain – K
• Poles or zeros at origin
• Simple poles and zeros
• Complex poles and zeros
Procedure to draw Bode plot
• Obtain standard form of open loop transfer
function
• Replace ‘s’ by ‘jw’
• List out all basic factors
• For each factor do following
– Find its magnitude as a function of ‘w’
– Express magnitude in ‘dB’
– Find phase angle in degrees
– Plot magnitude and phase angle
System gain ‘K’
G( s) H ( s) K
G ( j ) H ( j ) K j 0
G ( j ) H ( j ) K 2 0
20 log 10 G ( j ) H ( j ) 20 log 10 K dB
List
• Constant Gain K
– Straight horizontal line at 20 log 10 K
– Phase angle is zero for K>1 and 1800 for K<1
• Pole at origin
– (- 20)dB/decade slope line passing through w=1 on 0
dB line (For single pole)
– For P pole at origin (-20P) dB/decade slope line
– Phase angle = -900 (For single pole)
– Phase angle = -900 P (For P poles at origin)
• Zero at origin
– Same like Poles but instead of –ve use +ve values.
• Simple Pole
1
G ( s) H ( s)
1 T1s
1
G ( j ) H ( j )
1 T1 ( j )
Magnitude 0 dB for c
20 dB / decade line for c
1
c Corner Frequency
T1
• Simple Zero
– Same like pole but consider +ve value
Final steps
• Draw lines for each factors
• Draw final line as resultant of all lines
• Complete the Phase plot also
• Find Gain Margin (G.M.), Phase Margin (P.M.)
• Gain cross-over(Wgc) and Phase cross-over(Wpc)
w
0.1 1 10 100 1000
Magnitude in dB
60
40 Zero
20
Gain K
2 4
0
Pole 2
Poles at Origin
Pole 1
Phase angle
Log w
0.1 1 10 100 1000
Phase plot
W 1 2 3 4 5 Resultant
0.1 0
-180 -3 -1 6 -179
0.5 0
-180 -14 -7 27 -175
1 0
-180 -27 -14 45 -176
2 0
-180 -45 -27 63 -188
3 0
-180 -56 -37 72 -202
10 0
-180 -79 -68 84 -243
20 0
-180 -84 -79 87 -256
100 0
-180 -89 -88 89 -267
Magnitude in dB
60
G.M.
40 Zero
20
Gain K
2 4
0
Pole 2
Poles at Origin
-1750 Pole 1 -1800
-2050
P.M.
-2350
-2650
Log w
0.1 1 10 100 1000
Example 2
• Determine marginal value of K for which
system will be marginally stable.
k
G( s) H ( s)
s( s 2)( s 10)
Solution
k / 20
G( s) H ( s)
s(1 0.5s)(1 0.1s)
k / 20
G ( j ) H ( j )
( j )(1 0.5( j ))(1 0.1( j ))
20
G.M. +ve k ' 12.58
0 k
12.58
20
k 251.78
-900
-1200
P.M. +ve
Phase angle
-1500
-1800
-2100
Log w
0.1 1 2 10 100 1000