Electrical Engineering › Section N · Decibels, filters, and Bode plots › Topic N.4
Bode plots
Calculating a filter's gain point by point is slow. A Bode plot replaces the curve with a few straight lines that you can sketch in a minute, then correct by known amounts, and it works for whole amplifiers as well as single filters.
Straight lines instead of curves
A Bode plot is a pair of graphs against frequency on a logarithmic axis: gain in decibels, and phase in degrees. The method is named after Hendrik Bode, who developed it at Bell Telephone Laboratories in about the 1930s while working on feedback amplifiers. Its power comes from two facts from Logarithms and decibels. On a log frequency axis, a gain that varies as a power of frequency becomes a straight line. And because the logarithm of a product is a sum, a response built from several factors is just the sum of their separate dB lines. The idealised straight-line plot, called the asymptotic plot, is then corrected by small, fixed amounts near each corner.
The high-pass factor and its asymptotes
For the R-C high-pass filter (C in series from node a to node b, R from b to ground, output across R), the gain can be written
so \(A_{v\,\text{dB}} = -10\log_{10}[1 + (f_c/f)^2]\). Well above \(f_c\) the bracket is about 1 and the gain is about 0 dB. Well below \(f_c\) the bracket is about \((f_c/f)^2\), so the gain is about \(20\log_{10}(f/f_c)\) dB: a straight line that rises 20 dB per decade, which is 6 dB per octave, and reaches 0 dB exactly at \(f_c\). These two lines, called asymptotes, meet at \(f_c\), which is therefore called the corner or break frequency.
Corrections near the corner
The true curve hugs the asymptotes far from the corner and departs from them by known amounts near it. At \(f_c\) the actual gain is 3.01 dB below the corner of the straight lines. One octave away, at \(2f_c\) or \(f_c/2\), it is 0.97 dB, about 1 dB, below the nearest asymptote. One decade away the error is only 0.04 dB. So the usual sketch is: draw the asymptotes, mark a point 3 dB down at the corner and points 1 dB down an octave either side, and draw a smooth curve through them. The curve is always below the asymptotes for a single first-order factor like this, never above.
Phase asymptotes
The phase of the high-pass factor is \(\theta = \tan^{-1}(f_c/f)\), the angle by which \(V_o\) leads \(V_i\). Three straight lines approximate it: 90° for frequencies below \(f_c/10\), 0° above \(10f_c\), and between them a line falling 45° per decade that passes through 45° at \(f_c\). The largest error, 5.7°, occurs at the two ends of the sloping line, \(f_c/10\) and \(10f_c\), because the true phase there is 84.3° and 5.7° rather than 90° and 0°. At an octave from the corner the true phase is 63.4° or 26.6°, and the straight line gives about 58.5° or 31.5°, so the sketch is never more than about 6° out.
The low-pass factor
The R-C low-pass filter has \(\mathbf{A}_v = \frac{1}{1 + j(f/f_c)}\), the mirror image. Its magnitude asymptotes are 0 dB below \(f_c\) and a line falling 20 dB per decade above it, again meeting at the corner, with the same corrections: 3 dB down at \(f_c\) and 1 dB down an octave either side. Its phase goes from 0° well below \(f_c\) to −90° well above, through −45° at the corner, with the straight-line phase falling 45° per decade from \(f_c/10\) to \(10f_c\). The sign of the slope tells you the type at a glance: a line rising towards the corner from below is a high-pass factor, and a line falling away above the corner is a low-pass factor.
Worked example: sketching a high-pass Bode plot
A high-pass filter has C = 22 nF in series and R = 3.3 kΩ to ground. Sketch its Bode plot and find the gain at 1 kHz. 1. Corner: \(f_c = \frac{1}{2\pi(3300)(22 \times 10^{-9})} = 2.19\) kHz. 2. Magnitude asymptotes: 0 dB above 2.19 kHz; below it, a line rising 20 dB per decade, so it reads −20 dB at 219 Hz. 3. Corrections: −3 dB at 2.19 kHz, about −1 dB at 4.38 kHz and about 7 dB down (6 dB asymptote plus 1 dB) at 1.10 kHz. 4. Phase: 90° below 219 Hz, 45° at 2.19 kHz, 0° above 21.9 kHz. 5. At 1 kHz the asymptote gives \(20\log_{10}(1/2.19) = -6.8\) dB, while the exact gain is \(-10\log_{10}[1 + 2.19^2] = -7.6\) dB, with the output leading by 65.5°. The asymptote is within about 1 dB, as expected an octave from the corner.
Building up more complex responses
Most responses are products of a few standard factors, so their dB plots and phases simply add. A constant gain K contributes a flat line at \(20\log_{10} K\) and no phase shift (180° if K is negative, as in an inverting amplifier). A factor \(j(f/f_1)\) contributes a line rising 20 dB per decade that crosses 0 dB at \(f_1\), with a constant +90°. Each high-pass or low-pass factor contributes its own corner. To sketch the total, list the corners in order, start from the slope at the lowest frequencies, and change the slope by +20 or −20 dB per decade at each corner. When a capacitor sees more than one resistor, its corner uses the Thevenin resistance seen by the capacitor.
Worked example: an amplifier's frequency response
An audio amplifier has
with f in hertz. Sketch its gain and find its bandwidth. 1. Constant: \(20\log_{10}100 = 40\) dB. 2. Corners: a high-pass corner at 50 Hz and a low-pass corner at 20 kHz. 3. Asymptotes: flat at 40 dB from 50 Hz to 20 kHz; below 50 Hz falling away at 20 dB per decade as frequency decreases (20 dB at 5 Hz); above 20 kHz falling at 20 dB per decade (20 dB at 200 kHz). 4. Corrections: the actual gain is 37.0 dB at both corners, 3 dB down. 5. Bandwidth between the −3 dB points: \(20{,}000 - 50 \approx 19.95\) kHz. 6. Phase: +45° at 50 Hz, 0° at 1 kHz and −45° at 20 kHz, because the two corners are far apart and barely interact.
Common mistakes to avoid
First, putting the corner of the asymptotes 3 dB down: the straight lines meet at 0 dB, or at the flat level, and the actual curve is 3 dB below that point. Second, using 20 dB per octave: a first-order slope is 20 dB per decade, which is about 6 dB per octave. Third, drawing the phase line from \(f_c/2\) to \(2f_c\): it runs a decade either side, from \(f_c/10\) to \(10f_c\). Fourth, multiplying dB values of factors instead of adding them. Fifth, reading a sketch as exact: asymptotes can be up to 3 dB and 5.7° out, so calculate wherever a precise value matters.
Key takeaways
A Bode plot shows gain in dB and phase against log frequency, approximated by straight-line asymptotes. A first-order factor has a corner at f_c where its asymptotes meet; its slope beyond the corner is 20 dB per decade, about 6 dB per octave. The actual curve is 3 dB below the corner and about 1 dB below an octave away. Phase asymptotes change by 45° per decade from f_c/10 to 10f_c, with at most 5.7° error. High-pass factors rise towards their corner and lead by up to 90°; low-pass factors fall beyond it and lag by up to 90°. Gains in dB and phases of factors add, and each corner changes the slope by 20 dB per decade.
Flashcards
Flashcard
Gain in dB and phase in degrees against frequency on a log axis
Test your understanding
Question 1 of 5
A first-order low-pass filter has its corner at 5 kHz. On the straight-line Bode plot, what is the gain at 500 kHz?
Question 2 of 5
At the corner frequency of a single high-pass R-C factor, how does the actual gain compare with the straight-line asymptotes?
Question 3 of 5
Over which frequency range does the sloping straight-line phase asymptote of a first-order factor run?
Question 4 of 5
A system's gain has the form 50 × 1/(1 + j f/2000). What is the straight-line gain at 100 Hz?
Question 5 of 5
An amplifier has a flat mid-band gain of 40 dB with a high-pass corner at 50 Hz and a low-pass corner at 20 kHz. What is the actual gain at 20 kHz?
