Transfer functions and Bode plots
About this lesson
A transfer function H = Vo/Vi says, for every frequency, how much of a sine wave gets through a circuit and how far it is shifted. Follow one circuit, a 1 V sine generator driving R = 1 kΩ in series with C = 100 nF, and derive H = 1/(1 + jωRC) from a voltage divider. Test it at 1 000, 10 000 and 100 000 rad/s, convert the gains to decibels, and draw the Bode magnitude and phase plots with their straight-line approximations. Finally, see how the pole at s = −10 000 s⁻¹ sets the corner. It builds on the Hardware lessons on resistors and capacitors and on op-amps, and on the course lessons on phasors and impedance.
The circuit under test
A signal generator makes a 1 V sine wave at any frequency we choose. It drives R = 1 kΩ in series with C = 100 nF. The output vo is the voltage across C, read by an ideal voltmeter.
vi 1 V peak sine, frequency set by us R 1 kΩ C 100 nF vo voltage across C (output) angular frequency ω = 2πf (rad/s) ideal voltmeter: draws no current, so R and C carry the same current.
Read the lesson step by step
The circuit under test
A signal generator makes a 1 V sine wave at any frequency we choose. It drives R = 1 kΩ in series with C = 100 nF. The output vo is the voltage across C, read by an ideal voltmeter.
vi 1 V peak sine, frequency set by us R 1 kΩ C 100 nF vo voltage across C (output) angular frequency ω = 2πf (rad/s) ideal voltmeter: draws no current, so R and C carry the same current.Output over input
A transfer function H is the output phasor divided by the input phasor: H = Vo/Vi. It is a complex number. Its size |H| is the amplitude ratio, and its angle is how far the output wave is shifted.
H(ω) = Vo / Vi |H| = (output amplitude) / (input amplitude) ∠H = (output phase) − (input phase) At ω = 10 000 rad/s the plot shows vo = 0.707 × vi, shifted −45.0°: H = 0.707∠−45.0°H from a voltage divider
The capacitor's impedance is ZC = 1/(jωC). It shrinks as frequency rises. R and C form a voltage divider, so H = ZC/(R + ZC) = 1/(1 + jωRC). Here RC = 0.1 ms, so ωRC = ω/10 000.
ZC = 1/(jωC) = −j/(ωC) voltage divider with impedances: H = ZC / (R + ZC) = 1 / (1 + jωRC) (× jωC top and bottom) RC = 1 kΩ × 100 nF = 0.1 ms ωRC = ω / 10 000 rad/sLow frequency: almost all passes
At ω = 1 000 rad/s (159 Hz), ZC = −j10 kΩ, ten times R. H = 1/(1 + j0.1) = 0.995∠−5.7°. The output is 0.995 V, nearly the whole input, and only slightly late.
ω = 1 000 rad/s f = ω/2π = 159 Hz ZC = −j/(ωC) = −j10 kΩ H = 1/(1 + j0.1) |H| = 1/√(1 + 0.01) = 0.995 ∠H = −atan(0.1) = −5.7° vo = 0.995 V peak, −5.7° behind viThe corner frequency
At ω = 1/RC = 10 000 rad/s (1.59 kHz), |ZC| equals R. H = 1/(1 + j1) = 0.707∠−45.0°. The output amplitude is 0.707 V, so the power it could deliver is halved.
ωc = 1/RC = 10 000 rad/s fc = ωc/2π = 1.59 kHz |ZC| = 1/(ωc C) = 1 kΩ = R H = 1/(1 + j1) |H| = 1/√2 = 0.707 ∠H = −45° power ∝ |H|² = 0.5: the half-power pointHigh frequency: mostly blocked
At ω = 100 000 rad/s (15.9 kHz), ZC is only −j100 Ω. H = 1/(1 + j10) = 0.0995∠−84.3°. Just 0.0995 V reaches the output, lagging the input by almost a quarter cycle.
ω = 100 000 rad/s f = 15.9 kHz ZC = −j100 Ω, a tenth of R H = 1/(1 + j10) |H| = 1/√101 = 0.0995 ∠H = −atan(10) = −84.3° C nearly shorts the output.Gains in decibels
Engineers quote |H| in decibels: HdB = 20 log10|H|. So 0.995 is −0.04 dB, 0.707 is −3.01 dB and 0.0995 is −20.04 dB. Each factor of 10 in amplitude is 20 dB, and gains that multiply simply add.
HdB = 20 log10 |H| (20 because power ∝ V²) |H| 0.995 → −0.04 dB |H| 0.707 → −3.01 dB (half power) |H| 0.0995 → −20.04 dB ×10 = +20 dB ×0.1 = −20 dB H1·H2 → H1dB + H2dBThe Bode magnitude plot
A Bode plot draws HdB against frequency on a log axis: each decade gets equal width. Two straight lines approximate it: flat at 0 dB below 10 000 rad/s, then falling 20 dB per decade. The worst error, 3.01 dB, is at the corner.
x axis ω on a log scale (decades) y axis HdB straight lines (asymptotes) ω < ωc 0 dB (|H| → 1) ω > ωc −20 log10(ω/ωc) (−20 dB/decade) at ωc: lines 0 dB, exact −3.01 dB error 3.01 dB, smaller everywhere elseThe Bode phase plot
The phase plot shows the angle of H. It starts near 0°, passes −45° at the corner and approaches −90°. Its straight-line version is 0° below 1 000 rad/s, falls 45° per decade, and is −90° above 100 000 rad/s.
∠H = −atan(ω/ωc) straight lines ω < ωc/10 0° ωc/10 … 10ωc −45° per decade ω > 10ωc −90° at ωc both give −45° at ωc/10: exact −5.7°, error 5.7°A pole sets the corner
Write s for jω: H(s) = 1/(1 + s/10 000). The denominator is zero at s = −10 000 s⁻¹, called a pole. The pole's size sets the corner, and each such pole bends the magnitude down by 20 dB per decade.
s = jω H(s) = 1/(1 + sRC) = 1/(1 + s/ωc) pole: 1 + s/ωc = 0 → s = −ωc = −10 000 s⁻¹ left half-plane → stable standard form: K · (zeros) / (poles) In dB the factors add, so a Bode plot is the sum of each factor's lines.Sweep the frequency
Now sweep ω from 100 to 1 000 000 rad/s. The meter, the waves and both markers move together. Mains at 50 Hz passes almost untouched (|H| = 0.9995), while 159 kHz is cut to 0.01, which is −40 dB.
ω (rad/s) |H| HdB ∠H 314.2 0.9995 −0.004 −1.8° (50 Hz) 1 000 0.995 −0.04 −5.7° 10 000 0.707 −3.01 −45.0° 100 000 0.0995 −20.04 −84.3° 1 000 000 0.01 −40 −89.4°
5 quick questions
Choose one answer per question. You can change your choices before checking them.
01In the lesson's circuit (R = 1 kΩ, C = 100 nF), what is the corner frequency ωc?
ωc = 1/RC = 1/(1000 Ω × 100 × 10⁻⁹ F) = 1/(10⁻⁴ s) = 10 000 rad/s. In hertz that is 1.59 kHz, but ωc is quoted in rad/s.
02The same circuit is driven at ω = 20 000 rad/s. What is |H|, to three decimal places?
ω/ωc = 2, so H = 1/(1 + j2) and |H| = 1/√(1 + 4) = 1/√5 = 0.447. The angle is −atan(2) = −63.4°, and the gain is −6.99 dB.
03At ω = 100 000 rad/s the output amplitude is 0.0995 V for a 1 V input. What is the gain in decibels?
HdB = 20 log10(0.0995) = −20.04 dB. Voltage ratios use 20 log10, because power goes with the square of voltage; a factor of 10 is 20 dB.
04On the Bode magnitude plot of this single-pole circuit, where is the straight-line approximation furthest from the exact curve?
The lines say 0 dB at the corner, but the exact value is 20 log10(1/√2) = −3.01 dB. Away from the corner the two quickly agree: at 100 000 rad/s they differ by only 0.04 dB.
05H(s) = 1/(1 + s/10 000). Where is its pole, and what does it do to the Bode magnitude plot?
The denominator 1 + s/10 000 is zero at s = −10 000 s⁻¹. The pole's size sets the corner, and above it the magnitude falls 20 dB per decade.
Glossary
- Transfer function H
- The output phasor divided by the input phasor, H = Vo/Vi, as a function of frequency. It is a complex number at each frequency.
- Gain |H|
- The size of the transfer function: output amplitude divided by input amplitude.
- Phase shift ∠H
- The angle of the transfer function: the output's phase minus the input's phase. Negative means the output lags.
- Decibel (dB)
- A log scale for ratios. For voltage gains, HdB = 20 log10|H|; a factor of 10 is 20 dB and half power is −3.01 dB.
- Corner frequency ωc
- The frequency where the straight-line asymptotes of a Bode plot meet. For this RC circuit ωc = 1/RC = 10 000 rad/s, where |H| = 0.707.
- Bode plot
- A pair of plots against frequency on a log axis: the gain in decibels and the phase in degrees.
- Asymptote
- A straight line that the exact curve approaches far from the corner, used to sketch Bode plots quickly.
- Pole
- A value of s where the denominator of H(s) is zero. Here s = −1/RC; it sets the corner and a −20 dB per decade slope.
Notes and sources
- The figure is an ideal circuit in sinusoidal steady state: a 1 V peak generator, R = 1 kΩ, C = 100 nF and an ideal voltmeter that draws no current. Every amplitude, angle and decibel value shown is computed from these values by the lesson's model.
- Amplitudes are peak values. The angle of H is the output's phase minus the input's phase; a negative angle means the output lags.
- Kuwait's mains runs at 50 Hz (240/415 V). At 50 Hz, ω = 314.2 rad/s, and this RC network passes 0.9995 of the signal (−0.004 dB, −1.8°): the corner sits far above mains frequency.
- A transfer function describes the steady state only: the output after the start-up transient (here a few time constants of 0.1 ms) has died away.
- Alexander & Sadiku, Fundamentals of Electric Circuits, ch. 14 Frequency Response
- MIT OpenCourseWare 6.002 Circuits and Electronics, lectures 16 (Sinusoidal steady state), 17 (The impedance model) and 18 (Filters)
- Wikipedia, Transfer function (H = output/input, s = jω gives gain and phase, poles)
- Wikipedia, Bode plot (20 log10|H|, −20 dB per decade, −45° at the corner, straight-line phase)
- Wikipedia, Low-pass filter (RC cutoff ωc = 1/RC, half power at cutoff)
- Wikipedia, Decibel (20 log10 for voltage ratios, 3.0103 dB = half power)
- Wikipedia, Mains electricity by country (Kuwait 240/415 V, 50 Hz)
Quiz Unlocks after the last step.