0% found this document useful (0 votes)
1K views6 pages

Plotting of Bode Plots, Root Locus and Nyquist Plots

This document describes an experiment to generate Bode plots, root locus plots, and Nyquist plots for a transfer function using MATLAB. It provides the transfer function, MATLAB code to generate each type of plot, and shows the output of the code, which produces the plots. The goal is to obtain frequency response plots for a given transfer function to analyze its behavior in the frequency domain.

Uploaded by

Puduru Bharathi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views6 pages

Plotting of Bode Plots, Root Locus and Nyquist Plots

This document describes an experiment to generate Bode plots, root locus plots, and Nyquist plots for a transfer function using MATLAB. It provides the transfer function, MATLAB code to generate each type of plot, and shows the output of the code, which produces the plots. The goal is to obtain frequency response plots for a given transfer function to analyze its behavior in the frequency domain.

Uploaded by

Puduru Bharathi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Experiment 4

Plotting of Bode Plots, Rootlocus and nyquist plots for the given
transfer function
Exp No: 4(a) Date:

Aim:
To obtain the bode plot for a given transfer function using MATLAB.

Theory:
In any frequency response we plot magnitude M and angle Ø against input frequency
‘ω’. When ω is varied from 0 to ∞, there is a wide range of variations in M and Ø so it
becomes difficult to accommodate all such variations with linear scale hence we use
logarithmic scale. Thus in bode plot logarithmic values of magnitude are to be plotted against
logarithmic values of frequencies.
Bode plot consists of two plots:
1. Magnitude expressed in logarithmic values of frequency called Magnitude plot.
2. Phase angle in degrees against logarithmic values of frequency called Phase angle plot

Program for Bode Plot

clc
clear all
num=[10 10]
den=[1 7.05 12.35 0.6 0]
system=tf(num,den);
bodeplot(system)

Department of EEE Electrical Simulation Laboratory


Output File
num =

10 10

den =

1.0000 7.0500 12.3500 0.6000 0

>> system=tf(num,den)

Transfer function:
10 s + 10
----------------------------------
s^4 + 7.05 s^3 + 12.35 s^2 + 0.6 s

>> bodeplot(system)

Result:
Bode plot are drawn for the given transfer function using MATLAB.

Department of EEE Electrical Simulation Laboratory


Exp No: 4(b) Date:

Aim:
To obtain the Root locus plot for a given transfer function using MATLAB.
.
Theory:
Root locus is a graphical method in which movement of poles in the s-plane is
sketched when a particular parameter of system is varied from zero to infinity. The parameter
which is usually varied is the gain but any other parameters may be varied.

Program for Root Locus

clc
clear all
num=[10 10]
den=[1 7.05 12.35 0.6 0]
system=tf(num,den);
rlocus(system)

Output File

num =

10 10

den =

1.0000 7.0500 12.3500 0.6000 0

>> system=tf(num,den)

Transfer function:
10 s + 10
----------------------------------
s^4 + 7.05 s^3 + 12.35 s^2 + 0.6 s

>> rlocus(system)

Department of EEE Electrical Simulation Laboratory


Result:
Root Locus plot are drawn for the given transfer function using MATLAB.

Department of EEE Electrical Simulation Laboratory


Exp No: 4(c) Date:

Aim:
To obtain the nyquist plot for a given transfer function using MATLAB.

Theory:
The nyquist method handles the system with time delay without the necessity of
approximation and hence yields exact results about both absolute and relative stability of the
system.
Program for Nyquist Locus

clc
clear all
num=[10 10]
den=[1 7.05 12.35 0.6 0]
system=tf(num,den);
nyquist(system)

OUTPUT FILE

num =

10 10

den =

1.0000 7.0500 12.3500 0.6000 0

>> system=tf(num,den)

Transfer function:
10 s + 10
----------------------------------
s^4 + 7.05 s^3 + 12.35 s^2 + 0.6 s

>> nyquist(system)

Department of EEE Electrical Simulation Laboratory


Result:
Nyquist plot are drawn for the given transfer function using MATLAB.

Department of EEE Electrical Simulation Laboratory

You might also like