Bode Plot Made Simple: 5 Easy Steps to Check Stability

Share:
Electronics Fundamentals
Bode Plot Made Simple: 5 Easy Steps to Check Stability

Two simple graphs of gain and phase against frequency tell you whether an amplifier, power supply or control loop will settle or oscillate.

Magnitude in dB Phase in Degrees Gain Margin Phase Margin

Frequency response shows how a system treats signals of different frequencies. Plotting gain and phase on log scales turns complicated transfer functions into straight line sketches that engineers read at a glance.

Hello everyone, today we are going to learn how a Bode plot shows gain and phase against frequency, how to sketch one from poles and zeros, and how to read gain and phase margin for stability.
Bode plot

What Is a Bode Plot?

A Bode plot is a pair of graphs that show the magnitude, in decibels, and the phase, in degrees, of a system transfer function against frequency on a logarithmic axis. It was introduced by Hendrik Bode at Bell Labs and remains the standard tool for amplifier, filter and control loop design.

Magnitude in dB equals 20 × log10 of the gain ratio. A gain of 10 is 20 dB, a gain of 1 is 0 dB and a gain of 0.1 is minus 20 dB.

Magnitude and phase graphs with gain crossover and phase crossover points marked
Image credit: Electrical4U

Log scales turn multiplication into addition, so each pole and zero adds its own simple curve. The total response is just the sum.

Phase describes the time shift between input and output, as explained in phase angle in AC circuits. Too much phase lag at the wrong frequency causes oscillation.

Pole and Zero Building Blocks

ElementMagnitude SlopePhase ChangeWhere
Constant gain KFlat at 20 log K0°All frequencies
Integrator 1 ÷ sMinus 20 dB per decadeMinus 90°All frequencies
Real poleMinus 20 dB per decade after fc0° to minus 90°0.1 fc to 10 fc
Real zeroPlus 20 dB per decade after fz0° to plus 90°0.1 fz to 10 fz
Double poleMinus 40 dB per decade0° to minus 180°Around fn

At the corner frequency of a single pole, the true magnitude is 3 dB below the straight line and the phase is minus 45°. These two numbers are worth remembering.

An RC low pass filter is the simplest single pole example. Its corner sits at 1 ÷ (2π RC).

5 Easy Steps to Sketch a Bode Plot

1
Factor the Transfer Function
Write it as gain, poles and zeros in standard form.
2
Mark Corner Frequencies
Place each pole and zero on the log axis.
3
Start the Magnitude Line
Begin at 20 log K, or the integrator slope.
4
Change Slope at Corners
Minus 20 dB per decade per pole, plus 20 per zero.
5
Add the Phase Curves
Each pole subtracts 90° spread over two decades.

Straight line Bode plot asymptotes are accurate within 3 dB for real poles. Software then refines the curve for complex poles, where peaking appears.

Measure a real circuit with a frequency response analyser, or with a signal generator and an oscilloscope stepping through frequencies.

Gain Margin and Phase Margin

Gain CrossoverFrequency where loop gain is 0 dB
Read PhasePhase margin = phase + 180°
Phase CrossoverFrequency where phase is minus 180°
Read GainGain margin = minus gain in dB there
Judge StabilityBoth margins positive means stable

Electrical4U explains that gain margin is how much the gain can rise before instability, read at the phase crossover. A phase of minus 120° at gain crossover gives a phase margin of 60°.

Positive margins mean a stable closed loop, zero means marginal and negative means unstable. Common targets are at least 45° phase margin and 6 dB to 10 dB gain margin.

Phase margin PM = φ at gain crossover + 180°
Gain margin GM = minus |L| in dB at phase crossover

Example loop, K = 100, poles at 10 Hz, 1 kHz, 10 kHz:
Gain crossover ≈ 784 Hz, phase ≈ minus 131.9°
PM ≈ 48.1°, phase crossover ≈ 3180 Hz, GM ≈ 20.9 dB

Bode Plot in Real Designs

Op Amp Circuits
Checking stability with capacitive loads.
Switch Mode Supplies
Tuning compensation networks.
PID Loops
Checking robustness of process control.
Active Filters
Verifying cutoff and roll off.
Audio Amplifiers
Flatness across the audio band.
Motor Drives
Speed and current loop bandwidth.

Op amps are compensated so their open loop Bode plot falls at 20 dB per decade through crossover, see op amp basics. Power supply designers use the same method on a buck converter feedback loop.

Process engineers read phase margin as robustness, which ties directly to PID tuning parameters. Low margin shows up as overshoot and ringing.

Loop Stability Calculator

Three Pole Loop Margins
Result
Crossover 784 Hz, PM 48.1 degrees, GM 20.9 dB, stable

Raise K to 1000 and watch both margins shrink until the loop turns unstable. Moving pole 2 higher restores margin.

Why Engineers Like It
  • Easy straight line sketches.
  • Shows bandwidth and margins at once.
  • Works with measured data.
  • Adds effects of stages simply.
Limitations
  • Assumes linear systems.
  • Hard to read with multiple crossovers.
  • Time response only implied.
  • Right half plane zeros need care.

MIT Gain and Phase Margin Lecture PDF

PDF
Gain and Phase Margins, Frequency Response Design
MIT OpenCourseWare 2.004 lecture notes

Gain and Phase Margin Video

Bode Plot FAQ

What does a Bode plot show?
Magnitude in dB and phase in degrees against log frequency.
What slope does a pole add?
Minus 20 dB per decade after its corner frequency.
What is phase margin?
Phase at gain crossover plus 180°.
What is gain margin?
How many dB the gain can rise at phase crossover before instability.
What margins are good?
At least 45° phase margin and 6 dB to 10 dB gain margin.
What happens at the corner frequency?
Magnitude is 3 dB down and phase is minus 45° for one pole.
Can it be measured?
Yes, with a frequency response analyser or generator and scope.

Related Articles

External References

What We Learn Today

  • A Bode plot shows gain and phase on log frequency axes.
  • Poles and zeros add simple slopes that sum into the full response.
  • Phase margin and gain margin measure how far a loop is from oscillation.
I hope you like above blog. There is no cost associated in sharing the article in your social media. Thanks for reading!! Happy Learning!!

Leave a Reply

Your email address will not be published. Required fields are marked *