§1 · The frequency response
The transfer function evaluated on the imaginary axis
The frequency response is the transfer function evaluated at . A transfer function relates one signal to another in the domain, and the substitution restricts attention to the sinusoidal steady state:
Two real functions of are therefore produced by one complex function, and two plots are required. By convention the magnitude is plotted in decibels and the angle is plotted in degrees, both against a logarithmic frequency axis.
Decibels
A decibel is a logarithmic measure of a power ratio. Because power is proportional to the square of a voltage or a current, the factor of 10 that applies to power becomes a factor of 20 when an amplitude ratio is measured:
Four values are worth committing to memory, because they recur in every sketch: , , , and .
Why the logarithm is used
A logarithm converts multiplication into addition, and that single property is the whole reason for the decibel axis. If a transfer function is written as a product and a quotient of simpler terms, then
Both the magnitude in decibels and the angle in degrees are therefore additive over the factors. Individual pieces may be plotted separately and then added, provided that each kind of piece is understood. The remainder of this lecture identifies the four kinds and plots each one.
The function that motivates the method
The board notes open with a second-order transfer function and the question of how it is to be plotted:
The denominator factors, because , which may be verified from the sum and the product of the roots. The completed sketch is shown below as the destination; the sections that follow supply the method that produces it.
The finished Bode plot of . The straight-line sketch consists of segments whose slopes change only at the break frequencies; the exact response departs from it by a few decibels near those breaks and by nothing at all far from them.
§2 · Standard form
Four building blocks
Every rational transfer function with real coefficients factors into four kinds of term, and each kind has a plot that can be memorized. The four possible outcomes of factoring are:
- , a constant.
- , poles and zeros at the origin.
- , real poles and zeros.
- , complex conjugate pairs.
In each case a positive exponent denotes zeros and a negative exponent denotes poles, and counts how many coincide. The symbol is the damping ratio.
The pole-zero plane of the example assembled in §7, . A zero is drawn as a circle and a pole as a cross. Each cluster corresponds to one standard form.
Form 1 has no location in the plane at all. The constant is what remains after every pole and every zero has been extracted, so it appears nowhere as a cross or a circle. It nonetheless fixes the vertical position of the entire magnitude plot and, through its sign, contributes either or to the angle.
Form 2 collects the poles and zeros that sit exactly at the origin. The zero at contributes the factor . A pole at the origin would contribute ; such a pole is generally avoided in a stable design, because the response would grow without bound as the frequency approaches zero.
Form 3 collects the real poles and zeros, one factor for each. The zero at contributes , and the double pole at contributes . The number in the factor is the distance of the root from the origin, and it is called the break frequency.
Form 4 collects each complex conjugate pair into one real quadratic. The pair at contributes , from which rad/s and are read directly. A conjugate pair is never split, because splitting it would introduce complex coefficients.
Putting a transfer function into standard form
Standard form requires the constant term of every factor to equal 1. The normalization is the step at which mistakes are made, so it is worked out here on the function introduced in §1.
The denominator is factored first:
The roots are and , since . Both roots are real and negative, so only forms 1 and 3 will appear.
Each factor is then scaled so that its constant term becomes 1, and the scale factors are collected into :
Three numbers are now available by inspection: , which places the low-frequency magnitude at dB and the low-frequency angle at because is negative; and two real poles, which break at and rad/s.
A check is available at no cost: , which is itself, because every other factor equals 1 at .
Each normalized factor equals 1, that is 0 dB, at low frequency. The entire low-frequency level of the magnitude plot is therefore carried by alone (together with any factor), and every other factor merely bends the curve at its own break frequency. Skipping the normalization moves the whole plot vertically by an unknown amount.
§3 · Form 1: the constant
A flat line in both plots, with no approximation involved
A constant is unchanged by the substitution , so its magnitude and angle do not depend on frequency at all:
The angle is when is positive and when is negative, since a negative real number lies on the negative real axis. Both plots are therefore horizontal lines, and both are exact: no straight-line approximation is being made here.
The two plots of a constant gain. The sign is selected with the buttons and the size with the slider.
A positive constant contributes to the angle at every frequency. Only the vertical placement of the magnitude plot is affected.
A negative constant contributes at every frequency, and it leaves the magnitude plot untouched, because discards the sign. An inverting amplifier is the ordinary source of such a term.
A magnitude of 0 dB means , that is, the output equals the input. A gain of zero would be dB and could not be drawn. Negative decibels denote attenuation, positive decibels denote amplification.
§4 · Form 2: poles and zeros at the origin
A straight line of slope 20N decibels per decade
The factor becomes , whose magnitude is and whose angle is times :
Because the horizontal axis is , the magnitude is a straight line of slope decibels per decade. The line passes through 0 dB at for every , since . The angle is a constant, so the phase plot is again a horizontal line. Both plots are exact.
The factor . A positive counts zeros at the origin and tilts the line upward; a negative counts poles at the origin and tilts it downward.
A factor in the numerator raises the angle by per zero; a factor in the denominator lowers it by per pole. The same rule of signs applies to the slope: dB/dec per zero at the origin, dB/dec per pole. Poles at the origin are generally avoided in practice, because the magnitude then grows without bound as .
The decade, and why is convenient
A decade is a factor of 10 in frequency. On a logarithmic axis a decade occupies a fixed distance, which is what makes a constant slope meaningful: , , , and so on. A slope quoted in decibels per decade is therefore a genuine straight line on these axes.
§5 · Form 3: real poles and zeros
The break frequency, and two segments joined there
The factor becomes , whose magnitude follows from the Pythagorean sum of the real and imaginary parts:
The approximation consists of replacing this expression by its two limits, one on each side of :
The magnitude is therefore flat at 0 dB below and a straight line of slope dB/dec above it. The frequency at which the two segments meet is called the break frequency, and it equals the distance of the root from the origin.
The phase, and the two-decade ramp
The angle of the same factor is , which is well below the break and well above it. The standard approximation joins those two levels by a straight line drawn between one decade below and one decade above the break:
A real pole or zero. The break frequency and the exponent are set by the sliders. The marker on the magnitude plot sits at the exact value at the break; the marker on the phase plot sits at the midpoint of the ramp, where the approximation happens to be exact.
The largest magnitude error occurs exactly at the break, where the true value is dB rather than 0 dB. One decade above the break the error has fallen to dB. The phase approximation errs by at the lower end of the ramp and by at the upper end, and by nothing at the break itself, where both the true angle and the straight line pass through .
§6 · Form 4: complex conjugate pairs
One quadratic, two roots, and twice the slope
The quadratic factor is treated as a unit. The substitution gives
The same two limits are taken. Below the bracket tends to 1 and the magnitude to 0 dB. Above the term dominates, so
The high-frequency slope is dB/dec, that is, twice the slope of a real factor, because the conjugate pair contains two roots. The break frequency is , and the phase swings by rather than for the same reason.
The damping ratio decides what actually happens at the break
The straight-line sketch does not depend on at all. The exact curve does, and near the difference between them can be large:
For the factor equals 1 and the exact curve passes through 0 dB, so the sketch is momentarily perfect. For smaller a resonant peak appears, and for approaching zero the peak is unbounded.
A complex conjugate pair with rad/s. Reducing raises the resonant peak without moving a single asymptote.
The board notes give the angle as . Above the denominator turns negative while the numerator stays positive, so the ratio alone is ambiguous and the single-argument arc tangent returns an angle in the wrong quadrant. The two-argument form must be used, which is what keeps the curve on this page continuous through at instead of folding back.
Where the resonant peak sits
Minimizing with gives , so an extremum exists only when . Its value is dB, which is a peak when and a notch when . The readout above reports both numbers as is varied.
§7 · Assembling a complete Bode plot
Every piece, added break by break
The example from the board notes exercises all four forms at once:
Two answers are available before any work is done, simply by counting. There are 2 zeros and 4 poles, so at high frequency behaves as : the final slope is dB/dec and the final angle is .
Standard form
Each factor is normalized and the scale factors are gathered into :
since . The quadratic gives rad/s and , hence . Each factor may now be read off:
| Factor | Form | Break | Slope | Phase |
|---|---|---|---|---|
| 10 | 1 · constant | — | — | 0° |
| s | 2 · zero at origin | none | +20 | +90° |
| (s/2 + 1)−2 | 3 · double real pole | 2 | −40 | −180° |
| (s/5 + 1) | 3 · real zero | 5 | +20 | +90° |
| (s²/10² + s/10 + 1)−1 | 4 · pair, ζ = 0.5 | 10 | −40 | −180° |
Slopes are quoted in decibels per decade. The first two rows carry no break frequency: their contributions apply at every frequency, which is why the low-frequency asymptote already has a slope of dB/dec and an angle of before any break is reached.
The magnitude, segment by segment
Start below every break
Below the lowest break only and are active, so the asymptote is : a line of slope dB/dec passing through 20 dB at rad/s.
Draw the low-frequency segment out to the first break
The segment is drawn from the left edge to rad/s, where the first break occurs. Its endpoint value is the starting point of the next segment.
At ω = 2 the double pole bends the curve by −40
A double pole changes the slope by dB/dec twice over. From 2 to 5 rad/s the asymptote therefore falls at 20 dB/dec, reaching dB at .
At ω = 5 the real zero bends it back by +20
The asymptote is flat at 18.06 dB from 5 to 10 rad/s. A zero always bends the curve upward, a pole always downward, and only the slope changes at a break; the value itself is continuous.
At ω = 10 the conjugate pair bends it by −40
The quadratic contributes twice the slope of a real factor, because it carries two roots. No break remains beyond this one, so dB/dec is the final slope, which agrees with the count of 2 zeros against 4 poles made at the outset.
Compare with the exact response
The exact curve is now drawn over the sketch. It agrees with the asymptotes far from every break and departs from them by a few decibels nearby, the largest departures occurring where two breaks lie close together. The straight-line sketch is what is expected on paper; the exact curve is what a numerical tool produces.
The phase, segment by segment
Each factor contributes a ramp of (or for a quadratic) spread over the two decades that straddle its break. The corner frequencies are therefore 0.2 and 20 for the double pole, 0.5 and 50 for the zero, and 1 and 100 for the conjugate pair.
Collect the corner frequencies
Six corners are in play: 0.2 and 20 from the double pole, 0.5 and 50 from the zero, and 1 and 100 from the conjugate pair. Between consecutive corners the total phase is a straight line, so only the slope in degrees per decade has to be tracked.
Below 0.2 rad/s only the zero at the origin contributes
The constant is positive and adds nothing. The factor adds a constant . No ramp has begun, so the phase is flat at .
At 0.2 the double-pole ramp begins: −90°/dec
A ramp of spread over two decades has slope per decade. At the phase has fallen to .
At 0.5 the zero's ramp begins: +45°/dec is added
The zero contributes over two decades, that is per decade, so the net slope becomes per decade. At the phase is .
At 1 the conjugate pair's ramp begins: −90°/dec is added
The pair contributes over two decades. The net slope is now per decade, which is maintained until the first ramp ends. At the phase reaches .
The ramps end one by one
Above 20 the double-pole ramp is finished and the slope relaxes to /dec; above 50 the zero's ramp is finished and the slope steepens to /dec; above 100 every ramp is complete and the phase is flat. The final value is , exactly as predicted by the pole and zero count.
Compare with the exact response
The exact phase follows the straight-line sketch closely, with the largest disagreement where several corners crowd together. At rad/s the two curves very nearly coincide, at and respectively, because the conjugate pair contributes precisely there under both descriptions.
Reading one frequency off both plots
The assembled sketch and the exact response together. The slider moves the cursor across both plots and reports what each curve gives at that frequency.
- Factor the numerator and the denominator.
- Normalize every factor so that its constant term is 1, and collect the scale factors into .
- List the breaks in increasing order, with the slope change and the phase change that each one carries.
- Start below the lowest break, where only and act, and change the slope at each break in turn.
- Check the ends: the low-frequency slope is dB/dec from the factor alone, and the high-frequency slope is 20 dB/dec times (zeros minus poles).
§8 · Your turn
Practice: sketch the Bode plot of
The problem should be attempted on paper before the hints are opened, in order. Both the magnitude and the phase are required, over 0.1 to 1000 rad/s.
Hint 1: Count before you factor
There is 1 zero and there are 3 poles, so the high-frequency slope is dB/dec and the final angle is . One pole sits at the origin, so form 2 is present with : the low-frequency slope is dB/dec and the low-frequency angle is .
Hint 2: Normalize
The scale factors give , that is dB.
Hint 3: The standard form and the break list
Breaks at 10 (a zero, ), 40 (a pole, ), and 100 (a pole, ) rad/s. The low-frequency asymptote is , which is 40 dB at and 0 dB at .
Solution: the magnitude
The asymptote starts at dB/dec and passes through 0 dB at rad/s, where the zero flattens it. It stays at 0 dB until , then falls at dB/dec to $-40-47.96\omega = 1000-40$ dB/dec matches the count made in hint 1.
Check at rad/s, midway along the flat segment: $$ The sketch predicts 0 dB there, so the error is well under a quarter of a decibel. ✓
Solution: the phase
The phase begins at , held by the pole at the origin. Ramps of /dec (the zero, from 1 to 100), /dec (the pole at 40, from 4 to 400), and /dec (the pole at 100, from 10 to 1000) are then superposed, and the phase ends at .
Check at rad/s: $-76.4°12°$. The phase approximation is the coarser of the two, and it is coarsest wherever the two-decade ramps of neighboring breaks overlap, as all three do here.
The completed sketch
The finished plots, for comparison with the sketch made on paper. The break frequencies are 10, 40, and 100 rad/s.