Skip to content
Tutorials Center
My learning

Topics

Lesson 40 of 48 Β· Frequency Response and Resonance

Transfer Functions and Bode Plots

Learn to compute H(jω), plot gain in decibels and phase against log frequency, and sketch Bode plots from straight-line asymptotes for RC and multi-stage circuits.

A circuit's response to every possible frequency is a lot of information. A Bode plot (pronounced "BOH-dee", after Hendrik Bode of Bell Labs) squeezes it into two graphs: gain in decibels and phase in degrees, both against frequency on a logarithmic axis. The great trick is that on these axes the curves of simple circuits are well approximated by straight lines, so you can sketch a response in seconds, check a design by eye and see at a glance where a circuit changes character.

Bode plots of an RC low-pass filter: magnitude in dB with asymptotes and phase going from 0 to minus 90 degrees
Gain is flat until the cutoff, then falls at 20 dB per decade; the phase passes βˆ’45Β° at the cutoff.

What you will learn

  • How to derive H(jΟ‰) for an RC circuit and convert to gain and phase.
  • What the corner (cutoff) frequency is and why the βˆ’3 dB point matters.
  • How to draw straight-line asymptotes: flat, then Β±20 dB per decade.
  • How to combine several stages by adding dB curves.

Key terms

Decade: a factor of 10 in frequency. Octave: a factor of 2.

Corner frequency Ο‰_c: where the asymptotes meet; for first-order circuits it equals the cutoff.

Roll-off: the slope of the gain beyond the corner, βˆ’20 dB/decade per pole (about βˆ’6 dB/octave).

Pole / zero: a frequency where the transfer function's denominator / numerator changes character.

The RC low-pass in detail

Take R = 1.6 kΩ and C = 100 nF. The transfer function from the previous lesson, H(jω) = 1/(1 + jωRC), can be written with the corner frequency ω_c = 1/(RC) (f_c = 1/(2πRC) = 994.7 Hz):

H(jω) = 1 / (1 + j ω/ω_c)

Its magnitude and phase:

|H| = 1 / √(1 + (Ο‰/Ο‰_c)Β²) and ∠H = βˆ’arctan(Ο‰/Ο‰_c)

Evaluate at four important frequencies:

Frequency Ο‰/Ο‰_c Magnitude Gain (dB) Phase
0.1 f_c 0.1 0.995 βˆ’0.04 βˆ’5.7Β°
f_c 1 0.707 βˆ’3.01 βˆ’45Β°
10 f_c 10 0.0995 βˆ’20.04 βˆ’84.3Β°
100 f_c 100 0.01 βˆ’40.0 βˆ’89.4Β°

Asymptotes

Far below the corner, Ο‰/Ο‰_c β‰ͺ 1 and the gain is 0 dB. Far above, |H| β‰ˆ Ο‰_c/Ο‰, so the gain in dB is βˆ’20 log₁₀(Ο‰/Ο‰_c): a straight line falling by 20 dB for every factor of 10 in frequency. The two lines meet at Ο‰_c. The true curve lies 3 dB below the meeting point, and that is the biggest error of the straight-line approximation.

The phase has its own asymptote rule of thumb: about 0Β° up to a tenth of the corner, βˆ’45Β° at the corner, and about βˆ’90Β° from ten times the corner up. A reasonable sketch connects 0Β° at 0.1 f_c to βˆ’90Β° at 10 f_c through βˆ’45Β° at f_c.

The high-pass twin

Swap the positions of R and C (output across R) and H(jΟ‰) = jΟ‰RC / (1 + jΟ‰RC). Now the gain rises at +20 dB/decade below the corner and is flat above it, and the phase starts at +90Β° and falls to 0Β°, passing +45Β° at the corner. At the same corner frequency, the low-pass and high-pass gains are both βˆ’3 dB, and their phases are 90Β° apart in the pass bands.

Building up from several stages

In decibels, multiplying transfer functions becomes adding curves. Suppose an amplifier has a mid-band gain of 100 (40 dB) with two poles, one at 1 kHz and one at 100 kHz:

H = 100 / [ (1 + jf/1 kHz)(1 + jf/100 kHz) ]

Sketch it:

  1. 40 dB flat up to 1 kHz.
  2. From 1 kHz to 100 kHz, slope βˆ’20 dB/decade. After two decades the gain has fallen by 40 dB, reaching 0 dB at 100 kHz.
  3. Above 100 kHz the second pole adds another βˆ’20 dB/decade: βˆ’40 dB/decade total.

The gain reaches unity (0 dB) near 100 kHz, which engineers call the unity-gain bandwidth. Each pole also adds up to βˆ’90Β° of phase.

Reading a Bode plot

  • Pass band: flat region where the gain is near its maximum.
  • Bandwidth: the frequency range where the gain stays within 3 dB of the maximum.
  • Roll-off rate: how steep the fall is; steeper means a sharper filter and a higher order.
  • Phase: how much the output lags; important in feedback systems, where large lag leads to instability.

Common misconceptions

"The asymptotes are the exact response." They are an approximation that is off by 3 dB at the corner of a first-order pole.

"βˆ’3 dB means half the amplitude." It means half the power; the amplitude is 0.707.

"Phase on a Bode plot is the time delay." It is an angle; the time delay is Ξ”t = βˆ’Ο†/Ο‰, which depends on frequency.

Try it

The first program calculates the table above (and the 10 kHz case) so you can try other R and C values.

Python Gain and phase of an RC low-pass

Press Run (or Ctrl + Enter) to see the result here.

Program input Β· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The second program draws the Bode magnitude plot of the two-pole amplifier, with the asymptotes dashed over the true curve.

Python Two-pole amplifier Bode plot

Press Run (or Ctrl + Enter) to see the result here.

Program input Β· what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check Β· 6 questions

of 6 answered You scored / 6 Β· perfect!

  1. 1. An RC low-pass has R = 10 kΞ© and C = 16 nF. Its cutoff frequency is about

    fc = 1/(2Ο€ Γ— 10 000 Γ— 16Γ—10⁻⁹) = 995 Hz β‰ˆ 1 kHz.
  2. 2. Beyond the cutoff a first-order low-pass falls at

    One pole gives βˆ’20 dB/decade (about βˆ’6 dB/octave).
  3. 3. The phase of a first-order low-pass at its cutoff frequency is

    ∠H = βˆ’arctan(1) = βˆ’45Β°.
  4. 4. A stage with 6 dB gain is followed by a stage with 14 dB gain. The total is

    Decibel gains add: 6 + 14 = 20 dB, which is a voltage gain of 10.
  5. 5. What is the gain in dB of a first-order low-pass one decade above the cutoff?

    At 10 fc, |H| β‰ˆ 0.0995, which is about βˆ’20 dB.
  6. 6. The true response at the corner is how far below the asymptote intersection?

    At Ο‰ = Ο‰_c the true gain is βˆ’3.01 dB while both asymptotes sit at 0 dB.

Summary

  • H(jΟ‰) = 1/(1 + jΟ‰/Ο‰_c) for the RC low-pass; Ο‰_c = 1/RC, f_c = 1/(2Ο€RC).
  • Gain: 0 dB below the corner, βˆ’3 dB at it, βˆ’20 dB/decade above; phase 0Β° β†’ βˆ’45Β° β†’ βˆ’90Β°.
  • High-pass is the mirror image with +20 dB/decade below the corner.
  • In dB, cascaded stages add; each pole adds βˆ’20 dB/decade and up to βˆ’90Β° of phase.

Next: Filters