Professional Documents
Culture Documents
Ee301p Lab11 B20233
Ee301p Lab11 B20233
Lab Exercise 11
Submitted by – Sonu Meena (B20233)
• Magnitude plot
• Phase plot
In both the plots, x-axis represents angular frequency (logarithmic scale).
Whereas, y axis represents the magnitude (linear scale) of open loop transfer
function in the magnitude plot and the phase angle (linear scale) of the open loop
transfer function in the phase plot.
❖ Experiment design: -
Part – a
In this part we’re Verifying the Bode plots and system stability using
MATLAB/Simulink which are done in pre-lab exercise.
We obtained the bode plot theoretically and, in this section, we’re comparing it
with obtained Bode plots by using MATLAB.
Given system –
For this given figure obtained open loop transfer function can be expressed as
below-
K × 100
G(s) =
s(s + 100)(s + 36)
Bode plots obtained in pre-lab-
Verifying the obtained plots with MATLAB-
MATLAB Code –
H = tf([100],[1 136 3600 0])
bode(H)
Reference: -
As from above graph we can see that our obtained Bode Plot by theoretically and
Practically, Both are same.
Part B –
As given that Phase Margin = 40 degree so for it, calculating the value of K and
we get K = 1177
• Comparing the value of K from MATLAB
MATLAB Code –
k=1177;
H = tf([100*k],[1 136 3600 0]);
m = allmargin(H)
bode(H)
• Reference –
So, from graph we can see that for value of K=1177 we get exact value of Phase
Margin to 40 degree so our calculation is right.
MATLAB Code –
k = 583;
H = tf([100*k],[1 136 3600 100*k]);
figure
step(H)