Professional Documents
Culture Documents
Remarks: ……………………………………………
Fall 2018-Semester V
CASE
Experiment # 13
Control System Analysis by Frequency Response Method
Using MATLAB
Objectives
1. Study the closed loop stability by frequency response method
2. Study frequency response analysis using bode and nyquist plot
3. Study the stability margins using gain and phase margins
1. Bode Diagrams
A Bode diagram consists of two graphs: One is a plot of the logarithm of the magnitude of a
sinusoidal transfer function; the other is a plot of the phase angle; both are plotted against the
frequency on a logarithmic scale.
The standard representation of the logarithmic magnitude of G(jω) is 20 log |G(jω)|, where the
base of the logarithm is 10.The unit used in this representation of the magnitude is the decibel,
usually abbreviated dB. Expanding the low-frequency range by use of a logarithmic scale for the
frequency is highly advantageous, since characteristics at low frequencies are most important in
practical systems. Although it is not possible to plot the curves right down to zero frequency
because of the logarithmic frequency (log (0) =–ꝏ), this does not create a serious problem.
Note that the experimental determination of a transfer function can be made simple if frequency-
response data are presented in the form of a Bode diagram.
Gain Margin
It is the gain which can be varied before the system becomes just stable(i.e, after varying the gain
up to a certain threshold, the system becomes marginally stable and then further variation of
gain leads to unstability). Gain Margin occurs at phase cross over frequency (phase crossover
frequency is the frequency at which the phase angle G(s)H(s) is -180 degrees)
Phase Margin
It is the phase that can be varied before the system becomes just stable (i.e, after varying the
phase up to a certain threshold, the system becomes marginally stable and then further variation
of phase leads to unstability). Phase margin occurs at gain crossover frequency (gain crossover
frequency is the frequency at which the magnitude of the G(s)H(s) is 1 or 0 dB).
Example-1
Plot bode diagrams and stability margins for a given system.
1
-------------------
s^3 + 2 s^2 + s
2. Nyquist Plot
Nyquist plots are the continuation of polar plots (The Polar plot is a plot, which can be drawn
between the magnitude and the phase angle of by varying ω from zero to ꝏ.) for finding the
stability of the closed loop control systems by varying ω from −ꝏ to ꝏ. That means, Nyquist plots
are used to draw the complete frequency response of the open loop transfer function. Nyquist
plots, just like Bode diagrams, are commonly used in the frequency-response representation of
linear, time-invariant, feedback control systems. Nyquist plots are polar plots, while Bode
diagrams are rectangular plots.
For stability, all roots of the characteristic equation must lie in the left-half s plane. The Nyquist
stability criterion relates the open-loop frequency response to the number of zeros and poles of
1+G(s)H(s) that lie in the right-half s plane. This criterion, derived by H. Nyquist, is useful in control
engineering because the absolute stability of the closed-loop system can be determined
graphically from open-loop frequency-response curves, and there is no need for actually
determining the closed-loop poles. The Nyquist stability criterion is based on a theorem from the
theory of complex variables. To understand the criterion, we shall first discuss mappings of
contours in the complex plane.
Mapping Theorem
Let F(s) be a ratio of two polynomials in s. Let P be the number of poles and Z be the number of
zeros of F(s) that lie inside some closed contour in the s plane, with multiplicity of poles and zeros
accounted for. Let the contour be such that it does not pass through any poles or zeros of F(s).This
closed contour in the s plane is then mapped into the F(s) plane as a closed curve.The total
number N of clockwise encirclements of the origin of the F(s) plane, as a representative point s
traces out the entire contour in the clockwise direction, is equal to Z-P. (Note that by this mapping
theorem, the numbers of zeros and of poles cannot be found—only their difference.)
Figure-3: Closed contours in the s plane and their corresponding closed curves in the F(s)
plane, where (F(s)=(s+1)/(s-1)).
Example-1
Plot nyquist plot and determine the number of poles that lie in the right half plane for closed loop
transfer function and comment on stability for given system.
1
(a) G(s)=-------
s-2
5
(b) G(s)=-------
s-2
Labs Rubrics
Control System
Lab # 13
Control System Analysis by Frequency Response Method
Using MATLAB
Lab #13: Marks distribution
Criteria ER1 ER4 ER7 ER9 RR2
Marks
ER9 Results and Plots Unable to produce Inaccurate plots and Correct plots Good presentation of
any plots or results results without any the correct plots with
/minimal efforts necessary proper labels,
shown identifying features captions & visibility
such as labels,
captions & visibility
RR2 Content/Information The report is not The report is objective The report is The report is
objective based based and for some part objective based and objective based and
and addresses the addresses the issues for most part addresses the issues
issues referred in referred in the addresses the referred in the
the proposed topic proposed topic with an issues referred in proposed topic with
poorly. The acceptable the proposed topic in depth analysis and
provided engineering/theoretical with an acceptable reasoning. The
information & analysis. The provided engineering/theore provided information
results is not information & results tical analysis and & results is necessary,
coherent rather for some parts is reasoning. The relevant and
irrelevant. Little necessary and sufficient provided sufficient to discuss
engineering/theore to discuss these issues information & these issues. The
tical analysis is results for most details are easily
presented part is necessary understood at peer
and sufficient to level.
discuss these issues