Professional Documents
Culture Documents
1) G ( j ) in db Vs log
2) G ( j ) in deg VsDey,
Rajeeb
logSMIT,Sikkim 2
LOGARITHMIC UNITS
The magnitude of the sinusoidal transfer function (or in other words
transfer function in frequency domain) can be expressed in db
(decibel), which is a logarithmic unit as
20log10 G( j) db
This magnitude is called log magnitude.
Advantage:
The products of the factors in G ( j ) becomes additive terms because
of the use of log.
UNITS TO EXPRESS FREQUENCY BANDS / RATIOS IN LOG
SCALE.
OCTAVE
DECADE
Rajeeb Dey, SMIT,Sikkim 3
OCTAVE:
An octave is a frequency band from (say) f1 to f2 , where
(f2 / f1) = 2
Thus the frequency band from 1 to 2 c/s is one octave, or band from 2 to
4 c/s is also one octave.
DECADE:
If (f2 / f1) = 10, it is called DECADE
2
1
4. Quadratic poles or zeros [1 2 j 2 ]
n n
2
r
For repetitions [1 2 j 2 ]
n n
Note: The transfer function of the system may have all the factors in
it or combination of some of the factors.
Rajeeb Dey, SMIT,Sikkim 6
OBJECTIVE:
The exact plot can be obtained from the approximate plot via a
technique called error corrections at each corner frequencies.
First we learn to draw the bode plot for each individual factors as
discussed above.
G ( j ) 0 degrees
G ( j )
G ( j )
+180
+90
20 (log10 K ) db (log scale)
0
-90
-180
Rajeeb Dey, SMIT,Sikkim 8
0.1 1.0 10
2. POLES OR ZEROS AT ORIGIN
G ( j ) ( j ) n
where n = no. of repetations
+ n indicates no. of zeros at origin
- n indicates no. of poles at origin
1
G ( j ) ( j ) 1 here n 1 pole
j
G ( j ) ( j )1 j here n 1 zero
+ 40
+ 20
G ( j ) +20 db/ decade for single zero
0 at origin
- 20
- 40
- 20 db/ decade for single pole
at origin
Rajeeb Dey, SMIT,Sikkim 11
0.1 1 10
The angle plot is constant +/- 90 degrees for a single zero/ pole at origin
as the frequency varies.
G ( j )
For zeros
180
90
0.1 1 10
90
180
For poles
If n = 1 , then
1
G ( j ) (1 jT ) 1 This is a non-repeated simple pole
(1 jT )
Similarly,
G ( j ) (1 jT ) n This is a repeated simple zero
If n = 1 , then
G ( j ) (1 jT )1 This is a non-repeated simple zero
The G( j) db plot is a st. line The G( j) db plot is a st. line of
of slope 0 db/decade for 0 T 1 slope -20 db/decade, passing
through 0db at T 1 for 1 T
1
Important Note: The frequency or T 1
at which two
T
asymptotes (high and low frequency) meet is called CORNER
FREQUENCY. It divides the plot into 2 regions (high and low).
+ 20
- 20
- 40
0.1 1 10
High frequency asymptote for simple pole -
1 - 20 db/decade st line passing through corner
Corner frequency
T frequency T 1
Rajeeb Dey, SMIT,Sikkim 15
Angle for the simple pole (non-repeated) Angle for thesimple pole (repeated)
1
G ( j ) is given by G ( j )
1
1 j T (1 j T ) n
is given by
T T
G ( j ) tan 1 G ( j ) n tan 1
1
1
G ( j )
Phase plot for simple zero
180
90
45
0.1 1 10
45
90
G ( j ) db
+ 40
Low frequency asymptotes + 40 db/decade (for zeros)
+ 20
High frequency asymptotes
0
- 60 u
0.1 1 10
Rajeeb Dey, SMIT,Sikkim 18
Phase Calculation
2 u
G ( j ) tan 1 for poles For non-repeated complex
1 u
2
The phase plot can be obtained by varying u
n
SUMMARY
In short the procedure for drawing “BODE PLOT” for a given system with
combination of various factors of G( j ) discussed above can summarized as:
1. Write the sinusoidal transfer function in time-constant form.
2. Identify the corner frequency (C.F) associated with each factor, if it exists.
3. Arrange all the factors in terms of ascending corner frequencies.
3. Knowing the C.F, draw the log magnitude plot. This plot consists of st. line
segments with line slope changing at each C.F.
+20*n db/decade for simple zero and -20*n db/decade for simple pole.
+40*n db/decade -40*n db/decade for complex conjugate pair of zeros and
poles respectively.
***Add slopes of all the factors algebraically at each C.F to get resultant
magnitude plot for the given T.F.
4. Draw phase angle curves for each factor
Rajeeb and add them algebraically to get phase
Dey, SMIT,Sikkim 19
plot for the given T.F.
PROBLEM 1
Sketch the Bode plot for a unity feedback system characterized by the
loop transfer function
K (1 0.2 s) (1 0.025s)
G( s) 3
s (1 0.001 s) (1 0.005 s)
Show the system is conditionally stable. Find the range of ‘K’ for which
the system is stable.
(1 0.025 j ) 40
A st. line of slope 0 db/decade upto C.F. Than a
st. line of slope + 20 db/decade after C.F.
1
(1 0.005 j )
200 A st. line of slope 0 db/decade upto C.F. Than a
st. line of slope - 20 db/decade after C.F.
1
(1 0.001 j )
1000 A st. line of slope 0 db/decade upto C.F. Than a
Rajeeb
st. Dey,
lineSMIT,Sikkim
of slope - 20 db/decade after C.F.21
Phase Plot Calculation So, resultant is given by:
= - 270 + tan 1 0.2 tan 1 0.025
0.025
1 0.8 -260
3 tan
1 -257
3 -236
1 10 100 1000
- 60 db/decade
Rajeeb Dey, SMIT,Sikkim 23
G ( j )
90
180
270
0.1 1 10
For Phase Plot
Note: Draw both the log-magnitude and phase angle plot in the same
graph paper with common frequency axis.
Rajeeb Dey, SMIT,Sikkim 24
Rajeeb Dey, SMIT,Sikkim 25
Implementing Bode Plot in MATLAB
num=[]
den=[]
bode (num, den)
GAIN MARGIN
PHASE MARGIN
They are required for knowing the margin or limit of stability for a
system. It gives the relative stability measure of the system..
4
G( s) H (s)
s(1 0.5s)(1 0.08s)
Example: Draw the Bode plot for the open-loop transfer function for a
unity feedback system and comment on the close-loop stability
50
G ( s) H ( s)
( s 1)( s 2)
Example: Determine the values of ‘K’ for the open-loop transfer function
given below such that (i) G.M is 15 dB and (ii) phase margin is 60
degrees.
K
G( j ) H ( j )
j ( j 0.1 1)( j 1)
Rajeeb Dey, SMIT,Sikkim 31
ALTERNATIVE TECHNIQUE
1
Im G ( j ) H ( j ) 0 G.M 20 log db
A
Questions????
Rajeeb Dey, SMIT,Sikkim 33
G( j ) g
G ( j )
g
P.M
180 System is stable
Go back to slide 29 or 30
Rajeeb Dey, SMIT,Sikkim 34
G( j ) g
G.M
0 db
Here G.M is negative
s( s 2n )
c ( j ) n2 r n 1 2 2
R( j ) ( j ) 2 j 2n n2
1
Mr
put u normalized frequency 2 1 2
n
1 2 2
M (j ) =
1 r tan 1
(1-u 2 ) j 2 u
1
M (j ) 1
2 u
M (j ) = - tan -1
1 u2
Rajeeb Dey, SMIT,Sikkim 37