C42 of 30
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

C4 · Lesson 2 · Bode plots

Straight lines that sketch any frequency response

With log frequency across and gain in dB up, every pole and zero becomes a corner joining two straight lines. A pole bends the gain down by 20 dB per decade and pulls the phase down by 90°; a zero does the opposite. Because the dB of a product is a sum, you can sketch any response by adding the straight lines of its poles and zeros, which engineers do in seconds on paper, and which shows at a glance what a circuit does.

Play

  • The response has a gain K, two poles and a zero. Move the poles apart. Count the slope between and beyond them.
  • Bring the zero down between the poles. What happens to the slope after it?
  • Read the gain at each corner. How far is the true curve from where the straight lines meet?

Predict

A response is flat at 40 dB, with poles at 100 Hz and 10 kHz. What does the straight-line sketch give at 100 kHz?

Name it

Sketching a Bode plot

Why straight lines. For one pole, |H|=1/1+(f/fp)2:

  • for f≪fp, |H|≈1: a flat line at 0 dB;
  • for f≫fp, |H|≈fp/f: a line falling 20 dB for every decade (6 dB per octave);
  • the two meet at fp, where the true curve is 3 dB below.

Phase of one pole: 0° well below fp, −45° at fp, −90° well above. As a sketch: a straight ramp from 0° at fp/10 to −90° at 10fp (within about 6°).

Zeros do the same upside down: +20 dB per decade and +90°.

The recipe:

  1. Write H as K× factors of the form (1+jf/fz) over (1+jf/fp).
  2. Start at 20log10⁡K dB on the left.
  3. Going right, at each pole's corner the slope drops by 20 dB per decade; at each zero's it rises by 20.
  4. Add 90° of phase lag per pole, spread over two decades around its corner; 90° of lead per zero.

Repeated poles (two at the same frequency) give −40 dB per decade at once, and 6 dB below the straight lines at the corner.

Reading slopes. A slope of −20n dB per decade at high frequencies means there are n more poles than zeros. The final phase is −90° per excess pole.

Worked example

Sketch H=1001+jf/1 kHz(1+jf/100 Hz)(1+jf/10 kHz) and read it at 50 kHz.

Show the solution
  1. Start at the DC gain. The sketch starts at 40 dB.
  2. First pole. From 100 Hz it falls 20 dB per decade, reaching 20 dB at 1 kHz.
  3. Zero. The zero flattens it until 10 kHz.
  4. Second pole. Then it falls 20 dB per decade again, so at 50 kHz |H|=20−20log10⁡5=6.0dB
  5. Check. The exact value is 5.9 dB.

Answer the sketch reads 6.0 dB at 50 kHz, and the exact value is 5.9 dB.

Worked example

A single pole sits at 1 kHz. Compare the straight-line phase sketch with the true phase at 300 Hz.

Show the solution
  1. Straight-line sketch. The sketch ramps 45° per decade from 0° at 100 Hz, so at 300 Hz it gives ϕ=−45×log10⁡3=−21.5°
  2. True phase. ϕ=−arctan⁡0.3=−16.7°
  3. Compare. The two agree within the 6° the sketch promises.

Answer the sketch gives −21.5° at 300 Hz and the true phase is −16.7°.

Worked example

A lead network has H=1+jf/1 kHz1+jf/10 kHz. At what frequency is its phase lead largest, and how large?

Show the solution
  1. What adds phase and what takes it. The zero adds phase from 100 Hz to 10 kHz, and the pole takes it away from 1 kHz to 100 kHz.
  2. Where the lead peaks. Midway between them on a log scale: f=1×10kHz=3.16kHz
  3. Peak lead. There ϕ=arctan⁡10−arctan⁡110=72.5°−17.5°=54.9°
  4. Check. It equals arcsin⁡10−110+1
  5. Where it's used. Control engineers place exactly such networks so their peak lead falls at a loop's crossover, buying phase margin.

Answer the lead is largest at 3.16 kHz, where it reaches 54.9°.

Check

A response has 4 poles and 1 zero(s). What is its slope far above all the corners?

Check

A response starts flat at 40 dB with one pole at 0.1 kHz. Using straight lines, what is the gain 2 decade(s) above the pole?

Check

A response flat at 20 dB has a single pole at 1 kHz (and nothing else nearby). What is the true gain at 1 kHz?

Check

A response has poles at 1 kHz and 20 kHz. What is its phase at 6 kHz?

Check

A response flat at 40 dB has a pole at 0.1 kHz and a second pole exactly 3 decades higher. Using straight lines, what is the gain at the second pole's corner?

Check

A lead network has a zero at 0.1 kHz and a pole 4 times higher.

(a)

Where is its phase lead largest?

Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.

(b)

How large is that lead?

Check

A network with a zero at a and a pole at b (both Hz), at frequency f.

Step 1

What's its phase, in radians?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

Write bode_db(k, zeros, poles, f) returning the exact gain in dB of H=k∏(1+jf/zi)∏(1+jf/pi), and asymptote_db(k, zeros, poles, f) returning the straight-line sketch: 20log⁡k, plus 20 dB per decade above each zero, minus 20 dB per decade above each pole.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Explain why

Why can a Bode plot be sketched by adding straight-line contributions from each pole and zero?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.