Cse UNIT 5
Cse UNIT 5
UNIT-5
Frequency Response of Control Systems – Correlation between Time Response and
Frequency Response – Bode Plot – Nyquist Stability Criterion and Closed Loop Frequency
Response – Introduction to control using state variable system models – Transfer function from
State Model
Part –A (2 Marks)
1. What is frequency response?
A frequency response is the steady state response of a system when the input to
the system is a sinusoidal signal.
Phase margin
ot
The maximum value of the magnitude of closed loop transfer function is called resonant
ec
peak.
M
4. What is bandwidth?
The bandwidth is the range of frequencies for which the system gain Is more than 3
dB. The bandwidth is a measure of the ability of a feedback system to reproduce the input
signal ,noise rejection characteristics and rise time.
are the magnitude of closed loop system in decibels and the N contours are the phase angle
locus of closed loop system.
FREQUENCY RESPONSE:
The frequency domain transfer function T (jω) is a complex function of ω. Hence it can
be separated into magnitude function and phase function. Now, the magnitude and phase
functions will be real functions of ω, and they are called frequency response.
The frequency response can be evaluated for open loop system and closed loop system.
The frequency domain transfer function of open loop and closed loop systems can be obtained
from the s-domain transfer function by replacing s by jω shown below.
Open loop transfer function:
G(s) G(jω)=|G(jω)|∟G(jω)
Loop transfer function:
G(s)H(s) G(jω)H(jω)=|G(jω)H(jω)|∟G(jω)H(jω)
Closed loop transfer function:
M(s) M(jω)=|M(jω)|∟M(jω)
Where,
|G (jω)|, |M (jω)|, |G (jω) H (jω)| are Magnitude functions
below.
ot
hN
ec
(i) Bandwidth:
M
It is defined as the range of frequencies over which the system will respond
satisfactorily It can also be defined as range of frequencies in which the magnitude
response is almost flat in nature. So it is defined as the range of frequencies over the
magnitude of closed loop response i.e. does not drop by more than 3db from
its zero frequency value.
(ii) Cut-off frequency:
G(j )H(j ) is 0 db at .
cross-over frequency, .
(viii)Gain Margin G.M.:
In the root locus as gain ‘K’ is increased the system stability reduces and
for a certain value of ‘K’ it becomes marginally stable. So gain margin is defined as the
margin in gain allowable by which gain can be increased till system reaches on the verge
of instability.
The positive gain margin means such increase in ‘k’ is possible before system becomes
unstable, hence system is stable and negative gain margin means k is greater than Kmar
es
and system is unstable so ‘K’ is required to be reduced to make the system stable.
ot
cross over frequency is the frequency in order to bring the system to the open
loop transfer function is unity (or it is the frequency at which the db magnitude is zero)
Phase margin,
Where,
The phase margin indicates the additional phase lag that can be provided to the
system without affecting stability.
the bode plot is drawn for open loop system. The standard representation of the
ot
logarithmic magnitude of open loop transfer function of G(jω) is 20 log | G(jω | where
hN
the base of the logarithm is 10. The unit used in this representation of the magnitude is
ec
M
the decibel, usually abbreviated db. The curves are drawn on semilog paper, using the
log scale (abscissa) for frequency and the linear scale (ordinate) for either magnitude
(in decibels) or phase angle (in degrees).
The main advantage of the bode plot is that multiplication of magnitudes can be
converted into addition. Also a simple method for sketching an approximate
log-magnitude curve is available.
From the equation it is clear that, when the magnitude is expressed in db, the
multiplication is converted to addition. Hence in magnitude plot, the db magnitudes of
es
ot
individual factor is essential. The magnitude plot and phase plot of various factors of
M
1
6. Quadratic factor in denominator, 2
jω jω
1+2ξ ω + ω
n n
1.Constant Gain, K
Let, G(s) =K
G(jω)=K=K⎳0 0
The magnitude plot for a constant gain K is a horizontal straight line at the magnitude of
20 log K db. The phase plot is st. line at 0 ̊
.
When K>1, 20 log K is positive.
When 0<K<1, 20 log K is negative.
When K=1, 20 log K is zero.
2.Integral Factor
Let, G(s) =K/s
G(jω)=K/ jω =K/ ω ⎳-90 0
From the above example it is evident that the magnitude plot of the integral factor is a
straight line with a slope of -20 db/dec and passing through 0 db, when ω=K. Since the
∟G (jω) is a constant and independent of ω the phase plot is a straight line at -90 ̊
.
es
ot
hN
n
1/n 1/n
K K
= 20 log( =20 n log
ω ω
Φ=⎳ G(-jω)= -90 n 0
3.Derivative Factor
Let, G(s) =Ks
G(jω)=K/jω =K/ ω ⎳90 0
Now the magnitude plot of the derivative factor is a st line with a slope of +20 db/dec
and passing through 0 db when ω=1/K . The phase plot is a st line at +90n ̊
1/n .
es
ot
hN
ec
M
or K(jω) term . Then at every corner frequency the slope of the magnitude plot is altered by the
n
first, quadratic and higher order terms. Therefore the magnitude plot can be started with K or
K/(jω)n or K(jω)n term and then the db magnitude of every first and higher order terms are added
one by one in the increasing order of the corner frequency.
Step 2 : List the corner frequencies in the increasing order and prepare a table as shown
below.
Term Corner frequency Slope Change in slope
es
ot
increasing order of corner frequencies. Then enter the corner frequency, slope contributed by
each term and change in slope at every corner frequency.
Step 3: Choose an arbitrary frequency ωl which is lesser than the lowest corner frequency.
Calculate the db magnitude of K or K/(jω) or K(jω) at ωl and at the lowest corner frequency.
n n
Step 4 : Then calculate the gain (db magnitude) at every corner frequency one by one by using
the formula,
Gain at ωy = change in gain from ωx to ωy + Gain at ωx = Slope from ωx to ωy × log(ωy / ωx ) +
Gain at ωx
Step 5: Choose an arbitrary frequeney ωh which is greater than the highest corner frequency.
Calculate the gain at ωh by using the formula in step 4.
Step 6: In a semilog graph sheet mark the required range of frequency on x-axis (log scale) and
the range of db magnitude on y-axis (ordinary scale) after choosing proper units,
Step 7 Mark all the points obtained in steps 3, 4, and 5 on the graph and join the points by
straight lines. Mark the slope at every part of the graph.
es
ot
hN
ec
M
IMPORTANT DEFINITIONS
• Gain cross over frequency: It is the frequency at which magnitude of G(jω) is zero db.
• Phase cross over frequency: It is the frequency at which the phase angle of G(jω) at -180 ̊
line.
• Gain Margin: It is the magnitude in decibels at phase cross over frequency.
• Phase Margin: It is the phase angle at gain cross over frequency.
GAIN ADJUSTMENT IN BODE PLOT
In the open loop transfer function G(jω) the constant K contributes only magnitude. Hence by
changing the value of K the system gain can be adjusted to meet the desired specifications. The
desired specifications are gain margin, phase margin. In a system transfer function if the value
of K required to be estimated to satisfy a desired specification then draw the bode plot of the
system with K= 1. The constant K can add 20 log K to every point of the magnitude plot and due
to this addition the magnitude plot will shift vertically up or down. Hence shift the magnitude
plot vertically up or down to meet the desired specification. Equate the vertical distance by
which the magnitude plot is shifted to 20 log K and solve for K.
Let, x= change in db , (x is positive if the plot is shifted up and vice versa).
Now,
20 log K = x; log K = x/20; K=10x/20
es
ot
hN
ec
M
5.Sketch the Bode Plot for the following transfer function and determine Phase Margin
And Gain Margin
75(1+0.2s)
G s = 2
s( s +16s+100)
Oncomparingthequadraticfactorinthedenominatorof G s withstandardformof
quadraticfactorwecanestimateζand ωn.
2 2 2
s +2ζ ωn s+ ωn =s +16s+100
2
Oncomparingweget, ωn =100∴ ωn =10 rad sec
16 16
2ζ ωn =16⇒ζ= 2 ω = =0.8∴ ζ=0.8
n 2×10
75 1+0.2s 75 1+0.2s 0.75 1+0.2s
∴G s = 2
= 2
= 2
s s +16s+100 s 16s s 1+0.01s +0.16s
100 s 100 +100 +1
1
Thecornerfrequenciesare,ω = =5 rad sec and ω =ωn =10 rad sec
c1 0.2 c2
Note:Forquadraticfactorthecornerfrequencyis ωn
MAGNITUDE PLOT
Term Corner frequency Slope Change in slope
Rad/sec db/dec db/dec
0.75 - -20
jω
es
ot
1+j0.2ω 1 20 -20+20=0
ω = =5 rad sec
hN
c1 0.2
ec
c2
2
1-0.01ω +j0.16ω
Choosealowfrequency ω suchthat ω < ω and
l l c1
ω 20
ch
Atω=ω ,A= changeinslopefrom ω to ω ×log ω +A =-40×log -16.5=-56.2db
ch c2 ch c2 atω= ω 10
c2
PHASE PLOT
Thephaseangleof G jω asafunctionof ωisgivenby ,
-1 -1 0.16ω
ϕ=∠G jω =tan 0.2ω-90- tan 2 forω≤ωn
1-0.01ω
-1 -1 0.16ω °
ϕ=∠G jω =tan 0.2ω-90- tan 2 +180 forω>ωn
1-0.01ω
Thephaseangleof G jω arecalculatedforvariousvaluesof ω
ω tan-10.2ω -1 0.16ω ϕ=∠G jω Points in phase
tan
rad/sec deg 1-0.01ω
2
deg plot
deg
0.5 5.7 4.6 -88.9 ≈ -88 e
1 11.3 9.2 -87.9 ≈ -88 f
5 45 46.8 -91.8 ≈ -92 g
10 63.4 90 -116.6 ≈ -116 h
20 75.9 -46.9+180=133.2 -147.3 ≈ -148 i
50 84.3 -18.4+180=161.6 -167.3 ≈ -168 j
100 87.1 -92+180=170.8 -173.7 ≈ -174 k
Thephaseplotcrosses180°onlyatinfinity.T he G jω atinfinityis-∞db.Hencegainmarginis+∞.
es
ot
6.Plot the bode diagram for the following transfer function and obtain the gain and
hN
10
phase cross over frequencies. G s =
ec
s 1+0.4s 1+0.1s
M
1 1 -20 -40-20= - 60
ω = =10 rad sec
1+ j0.1ω c2 0.1
ω 50
ch
Atω=ω ,A= changeinslopefrom ω to ω ×log ω +A =-60×log -12=-54db
ch c2 ch c2 atω= ω 10
c2
Since any number of points of analycity in the s-plane can be mapped into the F(s)- plane it
ot
can be concluded that for a contour in the s-plane which does not go through any singular point,
hN
The above figure shows examples of arbitrary s-plane contours and their corresponding
F(s)-plane contours. Normally the direction of arbitrary contour in s-plane is chosen as
clockwise. Here zeros are marked by small circles (o) and poles by (X).
On observing the s-plane contours and the corresponding F(s)-plane contours shown in fig,
it can be proved that there exists a relationship between the enelosure of poles and zeros by the
s-plane closed contour and number of encirclements of the origin of F(s)- plane by the
corresponding F(s)-plane contour.
Note: For the development of Nyquist criterion, the exact shape of the contour is not
required but only the number of encirclements of the origin of the F(s) - plane is essential.
TABLE
M
ec
hN
ot
es
The summary of relationship between the enclosure of poles and zeros by the s-plane
closed contour and number of encirclements of the origin of F(s)-plane by the corresponding
F(s)-plane contour, are given below.
1 . If s-plane closed contour encloses Z number of zeros in the right half of s-plane then the
corresponding contour in F(s)-plane will encircle, the origin of F(s)-plane Z times in the
clockwise direction. ' .
2 . Ifs-plane closed contour encloses P number of poles in the right half of s-plane then the
corresponding contour in F(s)-plane will encircle the origin of F(s)- plane P times in
anticlockwise direction.
If the s-plane closed contour encloses Z zeros and P poles in the right half of s-plane and if P >
Z, then the corresponding contour in F(s)-plane will encircle the origin of F(s)-plane (P-Z) times
in the anti-clockwise direction .
If the s-plane closed contour encloses Z zeros and P poles in the right half of s-plane and if P < Z
then the corresponding contour in F(s)-plane will encircle the origin of F(s) plane (Z-P) times in
the clockwise direction.
1. If s-plane closed contour encloses Z zeros and P poles in right half of s-plane and if
es
P = Z, then corresponding contour in F(s)-plane will not encircle the origin of F(s)-plane.
ot
2. If the s-plane closed contour does not enclose any pole or zero, then the corresponding
hN
The relation between the enclosure of poles and zeros of F(s) lying on the right half of s-plane by
s-plane contour and the encirclements of the origin of F(s)-plane by the corresponding
F(s)-plane contour called principle of argument.
The principle of argument is stated as follows:
Let F(s) is a single valued rational function and is analytic in a given region in the s-plane
except at some points. Now, if an arbitrary closed contour is chosen in the s-plane, so that F(s)
is analytic at every point on the closed contour in s-plane then the corresponding F(s)-plane
contour mapped in the F(s)-plane will encircle the origin N times in anticlockwise direction where
N is the difference between the number of poles and number of zeros of F(s) that are encircled
by the chosen closed contour in s-plane.
Mathematically, it can be expressed as, N = P-Z.
Where, N = Number of encirclement of origin of F(s)-plane, made by F(s)-contour.
Z = Number of zeros of F(s) lying on right half of s-plane and enclosed by the s-plane
closed contour.
P = Number of poles of F(s) lying on right half of s-plane and enclosed by the s-plane
closed contour.
The value of N can be positive, zero or negative. Based on the sign of N, following
conclusions can be made, provided the arbitrary s-plane contour is chosen in the clockwise
direction.
In examining the stability of linear control systems using the Nyquist stability criterion, we
come across the following three situations.
1. No encirclement of -1+j0 point: This implies that the system is stable if there are no
poles of G(s) H(s) in the right half s-plane. If there are poles on right half s-plane then
the system is unstable.
2. Anticlockwise encirclements of -1+j0 point: In this case the system is stable if the
number of anticlockwise encirclements is same as the number of poles of G(s) H(s) in
the right half s-plane. If the number of anticlockwise encirclements is not equal to
es
3. Clockwise encirclements of the -1+j0 point: In this case the system is always unstable.
hN
Also in this case, if no poles of G(s)H(s) in right half s-plane, then the number of clod*- 3t
ec
encirclement is equal to number of poles of closed loop system on right half s-plane.
M
The following procedure can be followed to investigate the stability of closed loop system
from the knowledge of open loop system, using Nyquist stability criterion.
1. Choose a Nyquist contour as shown in fig, which encloses the entire right half s-plane except
the singular points. The Nyquist contour encloses all the right half s-plane poles and zeros
of G(s) H(s). [The poles on imaginary axis are singular points and so they are avoided by
taking a detour around it as shown in fig b and c].
Note: For mapping a contour from s-plane to G(s) H(s) plane the Nyquist contour in s-plane should be analytic
at every point. At singular points it is not analytic.
2. The Nyquist contour should be mapped in the G(s) H(s)-plane using the function
G(s)H( s ) to determine the encirclement -1+ j0 point in the G(s)H(s)-plane. The
Nyquist contour fig b can be divided into four sections C1, C2, C3 and C4. The mapping of the
four sections in the G(s)H(s)-plane can be carried section wise and then combined together
to get entire G(s)H(s)-contour.
3. In section C1 the value of ω varies from 0 to + ∞. The mapping of section C1 is obtained by
letting s = jω in G(s)H(s) and varying ω from 0 to + ∞,
i.e G(s)H(s)│s=jω =G(jω) H(jω)│ω=0 to ∞
The locus of G (jω) H (jω) as ω is varied from o to +∞ will be the G(s)H(s)-contour in
G(s)H(s)-plane corresponding to section C1 in s-plane. This locus is the polar plot of G (jω) H
(jω). There are three ways of mapping this section of G(s) H(s)-contour, they are,
i. Calculate the values of G(jω)H(jω) for various values of ω and sketch the actual locus of
G(jω)H(jω). (or)
ii. Separate the real part and imaginary part of G(jω)H(jω). Equate the imaginary part to zero,
to find the frequency at which the G (jω) H (jω) locus crosses real axis (to find phase
crossover frequency). Substitute this frequency on real part and find the crossing point
of the locus on real axis. Sketch the approximate locus of G (jω) H (jω) from the
knowledge of type number and order of the system (or from the value of G (jω) H (jω) at
ω = 0 and to ω = ∞).
iii. Separate the magnitude and phase of G (jω) H (jω). Equate the phase of G (jω) H (jω) to
-180° and solve for ω. This value of ω is the phase crossover frequency and the
magnitude at this frequency is the crossing point on real axis. Sketch the approximate
root locus as mentioned in method (ii).
4. The section C2 of Nyquist contour has a semicircle of infinite radius. Therefore, every point
es
on section C2 has infinite magnitude but the argument varies from +Π/2 to –Π/2. Hence the
ot
hN
mapping of section C2 from s-plane to G(s) H(s) plane can be obtained by letting
ec
Consider the loop transfer function in time constant form and with y number of poles at
origin, as shown below.
Consider the loop transfer function in time constant form and with y number of poles at origin
as shown below
es
ot
hN
ec
M
From the above two equations we can conclude that the section C4 of Nyquist contour in s-plane
is mapped as circles/circular arc in G(s)H(s)-plane with origin as centre and infinite radius.
Draw the Nyquist plot for the system whose open loop transfer function is, G(s)
H(s)=K/s(s+2)(s+10). Determine the range of K for which closed loop system is stable.
SOLUTION
The open loop transfer function has a pole at origin. Hence choose
the Nyquist contour on s-plane enclosing the entire right half plane
except the origin as shown in fig1.
The Nyquist contour has four sections C1, C2, C3 and C4. The
mapping of each section is performed separately and the overall
Nyquist plot is obtained by combining the individual sections.
MAPPING OF SECTION C1
In section C1, ω varies from 0 to +∞. The mapping of section
C1 is given by the locus of G (jω) H (jω) as ω is varied from 0 to ∞.
This locus is the polar plot of G (jω) H (jω).
When the locus of G (jω) H (jω) crosses real axis the imaginary term will be zero and the
corresponding frequency is the phase crossover frequency, ωpc
The open
loop
system is type-1 and third order system. Also it is a minimum phase system with all poles.
Hence the polar plot of G (jω) H (jω) starts at -90° axis at infinity, crosses real axis at -0.00417K
and ends at origin in second quadrant. The section C1 and its mapping are shown in fig
es
ot
hN
ec
M
MAPPING OF SECTION C2
The mapping of section C2 from s-plane to G (s) H (s) plane is obtained by letting
s=LtR->∞Rejθ G(s)H(s) and varying θ from +Π/2 to -Π/2. Since s-»R ejθ and R-> ∞, the
G(s) H(s) can be approximated as shown below, [ i.e., (1+sT) ~ sT ].
From the equations (1) and (2) we can say that section C2 in s-plane (fig 5.13.4.) is mapped as
circular arc of zero radius around origin in G(s)H(s)-plane with argument (phase) varying from
-3Π/2 to+3Π/2 as shown in fig5.
es
ot
MAPPING OF SECTION C3
hN
ec
In section C3, ω varies from -∞ to 0. The mapping of section C3 is given by the locus of
M
G(jω)H(jω) as ω is varied from -∞ to 0. This locus is the inverse polar plot of G (jω)H(jω).
The inverse polar plot is given by the mirror image of polar plot wife respect to real axis. The
section C3, in s-plane and its corresponding contour in G(s)H(s) plane are shown in fig 6 and
fig
7.
MAPPINGOF SECTION C4
The mapping of section C4 from s-plane to G(s) H(s)-plane is obtained by letting
s=LtR->∞Re in G(s)H(s) and varying θ from -Π/2 to Π/2. Since s->R e and R->0, the G(s) H(s)
jθ jθ
STABILITY ANALYSIS
When, -0.00417K= -l, the contour passes through (-1+j0) point and corresponding value of K Is the
limiting value of K for stability.
Limiting value of K =1/0.00417=240.
When K < 240
When K is less than 240, the contour crosses real axis at a point between 0 and -1+j0. On
travel through Nyquist plot along the indicated direction it is found that the point -1+j0 is not
encircled. Also the open loop transfer function has no poles on the right half of s-plane.
Therefore the closed loop system is stable.
When K > 240
When K is greater than 240, the contour crosses real axis at a point between -1+j0 and
-∞. On travelling through Nyquist plot along the indicated direction it is found that the point
-1+j0 is encircled in clockwise direction two time. [Since there are two clockwise encirclement
and no right half open loop poles, the closed loop system has two poles on right half of s-plane].
Therefore the closed loop system unstable.
RESULT
The value of K for stability is 0 < K <240
The state space analysis is a modern approach and also easier for analysis using digital
computers. The conventional methods of analysis employ the transfer function of the system.
The drawbacks in the transfer function model and analysis are,
1. Transfer function is defined under zero initial conditions
2. Transfer function is applicable to linear time invariant systems.
3. Transfer function analysis is restricted to single input and single output
systems.
4. Does not provide information regarding the internal state of the system.
The state variable analysis can be applied for any type of systems. The analysis can be
carried with initial conditions and can be on multiple input and multiple output systems.
es
ot
hN
ec
M
The state variable representation can be arranged in the form of n number of first order
differential equations as shown below
STATE MODEL:
The state model of a system consists of the state equation and output equation. The
state equation of a system is a function of state variables and inputs
For linear time invariant systems the first derivatives of state variables can be expressed
as a linear combination of state variables and inputs.
In the matrix form the above equations can also be expressed as,
Where ,
X(t) = State vector of order (n×1)
U(t) = Input vector of order (m×1)
A = System matrix of order (n×n)
B = Input matrix of order (n×m)
The output at any time are functions of state variables and inputs.
hN
Hence the output variables can be expressed as a linear combination of state variables and
M
inputs.
change of pressure, rate of change of flow are often chosen as state variables.
ec
M
10. Explain in detail about correlation between time response and frequency response
Reference: