Bode plot 1
Bode plot 1
MagH=100000*sqrt(w.^2+1^2)./(sqrt(w.^2+10^2).*sqrt(w.^2+1000^2));
%transfer function
subplot(2,1,1)
semilogx(w,PhaseHDeg)
xlabel('frequency [rad/s]'),ylabel('Phase Angle [deg]'),grid
Now there are various terms related to this plot that we will use frequently in this article.
Gain Margin: Greater will the gain margin greater will be the stability of the system. It
refers to the amount of gain, which can be increased or decreased without making the
system unstable. It is usually expressed in dB.
Phase Margin: Greater will the phase margin greater will be the stability of the system.
It refers to the phase which can be increased or decreased without making the system
unstable. It is usually expressed in phase.
Gain Cross Over Frequency: It refers to the frequency at which magnitude curve cuts the
zero dB axis in the bode plot.
Phase Cross Over Frequency: It refers to the frequency at which phase curve cuts the
negative times the 180o axis in this plot.
Stability conditions are given below :
For Stable System: Both the margins should be positive or phase margin should be
greater than the gain margin.
For Marginal Stable System: Both the margins should be zero or phase margin
should be equal to the gain margin.
For Unstable System: If any of them is negative or phase margin should be less than
the gain margin.