# Bode Plot | Gain Margin & Phase Margin

Bode plots were first introduced by H.W. Bode, when he was working at Bell labs in the United States. Now before I describe what are this plots it is very essential here to discuss a few advantages over other stability criteria. Some of the advantages of this plot are written below:

### Advantages of Bode Plot

1. It is based on the asymptotic approximation, which provides a simple method to plot the logarithmic magnitude curve.
2. The multiplication of various magnitude appears in the transfer function can be treated as an addition, while division can be treated as subtraction as we are using a logarithmic scale.
3. With the help of this plot only we can directly comment on the stability of the system without doing any calculations.
4. Bode plots provides relative stability in terms of gain margin and phase margin.
5. It also covers from low frequency to high frequency range.

Now there are various terms related to this plot that we will use frequently in this article.

1. 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.
2. 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.
3. Gain Cross Over Frequency: It refers to the frequency at which magnitude curve cuts the zero dB axis in the bode plot.
4. Phase Cross Over Frequency: It refers to the frequency at which phase curve cuts the negative times the 180 degree axis in this plot.
5. Corner Frequency: The frequency at which the two asymptotes cuts or meet each other is known as break frequency or corner frequency.
6. Resonant Frequency: The value of frequency at which the modulus of G (jω) has a peak value is known as resonant frequency.
7. Factors: Every loop transfer function (i.e. G(s) × H(s)) product of various factors like constant term K, Integral factors (jω), first order factors ( 1 + jωT)(± n) where n is an integer, second order or quadratic factors.
8. Slope: There is a slope corresponding to each factor and slope for each factor is expressed in the dB per decade.
9. Angle: There is an angle corresponding to each factor and angle for each factor is expressed in the degrees.

## Bode Plot

These are also known as logarithmic plot (because we draw these plots on semi-log papers) and are used for determining the relative stabilities of the given system. Now in order to determine the stability of the system using bode plot we draw two curves, one is for magnitude called magnitude curve another for phase called Bode phase plot.

Now there are some results that one should remember in order to plot the Bode curve. These results are written below:

• Constant term K: This factor has a slope of zero dB per decade. There is no corner frequency corresponding to this constant term. The phase angle associated with this constant term is also zero.
• Integral factor 1/(jω)n: This factor has a slope of -20 × n (where n is any integer)dB per decade. There is no corner frequency corresponding to this integral factor. The phase angle associated with this integral factor is -90 × n here n is also an integer.
• First order factor 1/ (1+jωT): This factor has a slope of -20 dB per decade. The corner frequency corresponding to this factor is 1/T radian per second. The phase angle associated with this first factor is -tan- 1(ωT).
• First order factor (1+jωT): This factor has a slope of 20 dB per decade. The corner frequency corresponding to this factor is 1/T radian per second. The phase angle associated with this first factor is tan- 1(ωT) .
• Second order or quadratic factor : [{1/(1+(2ζ/ω)} × (jω) + {(1/ω2)} × (jω)2)]: This factor has a slope of -40 dB per decade. The corner frequency corresponding to this factor is ωn radian per second. The phase angle associated with this first factor is - tan-1{ (2ζω / ωn) / (1-(ω / ωn)2)} .
• Keeping all these points in mind we are able to draw the plot for any kind of system. Now let us discuss the procedure of making a bode plot:

1. Substitute the s = jω in the open loop transfer function G(s) × H(s).
2. Find the corresponding corner frequencies and tabulate them.
3. Now we are required one semi-log graph chooses a frequency range such that the plot should start with the frequency which is lower than the lowest corner frequency. Mark angular frequencies on the x-axis, mark slopes on the left hand side of the y-axis by marking a zero slope in the middle and on the right hand side mark phase angle by taking -180 degrees in the middle.
4. Calculate the gain factor and the type or order of the system.
5. Now calculate slope corresponding to each factor.

For drawing the Magnitude curve :

(a) Mark the corner frequency on the semi log graph paper.

(b)Tabulate these factors moving from top to bottom in the given sequence.

1. Constant term K.
2. Integral factor 1/(jω)n.
3. First order factor 1/ (1+jωT).
4. First order factor (1+jωT).
5. Second order or quadratic factor : [{1/(1+(2ζ/ω)} × (jω) + {(1/ω2)} × (jω)2)]

(c) Now sketch the line with the help of corresponding slope of the given factor. Change the slope at every corner frequency by adding the slope of the next factor. You will get magnitude plot.

(d) Calculate the gain margin.

For drawing the Bode phase plot :

1. Calculate the phase function adding all the phases of factors.
2. Substitute various values to above function in order to find out the phase at different points and plot a curve. You will get a phase curve.
3. Calculate the phase margin.

### Stability Conditions of Bode Plots

Stability conditions are given below :

1. For Stable System : Both the margins should be positive. Or phase margin should be greater than the gain margin.
2. For Marginal Stable System : Both the margins should be zero. Or phase margin should be equal to the gain margin.
3. For Unstable System : If any of them is negative. Or phase margin should be less than the gain margin.

Design with by SARU TECH

SARU TECH | Providing Technologies people love