Definitionintro
Bode plot
Also called Bode diagram.
Two graphs against log frequency: the gain 20 log10 |G(j omega)| in decibels and the phase in degrees. Logs turn a product of factors into a sum of simple curves.
A Bode plot of a transfer function is a pair of graphs against the logarithm of the frequency : the gain in decibels (dB) and the phase in degrees. The logarithm turns a product into a sum, so the plot of a product of factors is the sum of the plots of the factors, and each factor has a simple shape made of straight-line asymptotes. Hendrik Bode used these plots for feedback amplifiers in 1940. In control they are the usual way to read the loop transfer function , its gain margin and phase margin, and to do loop shaping.
Definition
Notation. is a real rational transfer function in the Laplace variable , and . The frequency is in rad/s. The values on the imaginary axis are the continuous-time frequency response: if is asymptotically stable, the input gives, after the transient dies out, the output . A decade is a factor of 10 in frequency. A factor of 10 in gain is 20 dB, and a factor of 2 is 6.02 dB.
Definition. The Bode plot of is the pair of curves
drawn on a common horizontal axis in . The phase curve is the continuous branch of the argument along . It is not folded back into degrees, so a loop with three poles can show a phase of degrees. The plot is defined for any with no poles on the imaginary axis at the plotted frequencies. For a that is not asymptotically stable it is still the graph of a function, but it no longer describes a steady sinusoidal response.
Why the logarithm. Write in the Bode form
with an integer , a delay and real first-order factors and second-order factors with complex roots. Gains in dB of the factors add, and phases add. So the plot of is the sum of the plots of the pieces below. A factor in the denominator gives the negative of the curves of the same factor in the numerator.
| Factor | Gain | Phase |
|---|---|---|
| constant | 0 (and degrees if ) | |
| straight line of slope dB per decade through 0 dB at | constant degrees | |
| , | asymptotes 0 dB below and dB per decade above ; the true value at the corner is dB | from 0 to degrees, degrees at |
| , | asymptotes 0 dB and dB per decade above ; the value at is dB | from 0 to degrees, degrees at , with a steeper fall for small |
| , (a zero in the right half plane) | the same gain as | from 0 to degrees, a lag and not a lead |
| (a time delay) | 0 dB | radians, which falls without bound |
For the first-order factor , the gain is dB at , dB at and dB at . The phase there is , and degrees. So the straight-line gain is off by at most 3.01 dB, at the corner. A common straight-line phase goes from 0 at to degrees at , and it is off by at most 5.71 degrees.
For the second-order factor with , the gain has a resonant peak at . With and the peak is (14.023 dB) at , and the gain at is (13.979 dB). The asymptotes miss this peak completely, so near a lightly damped pair the true curve must be computed. The second-order system page relates to the step response.
Examples and non-examples
The check loop. Take . Its Bode form is , with corners at 1 and 2 rad/s. The gain asymptote has slope dB per decade below 1, with the value dB at . The slope is dB per decade between 1 and 2, and dB per decade above 2. The phase starts at degrees and goes down to degrees.
You can check two points by hand. At , and , so . The gain is dB, which is the asymptote value dB plus the corner error dB of the factor and dB of the factor . At , and , so : the phase is exactly degrees and the gain is dB.
| (rad/s) | Gain (dB) | Phase (degrees) |
|---|---|---|
| 0.1 | 13.925 | -98.57 |
| 0.2 | 7.745 | -107.02 |
| 0.44575 | 0 | -126.59 |
| 1 | -10.000 | -161.57 |
| 1.41421 | -15.563 | -180.00 |
| 2 | -22.041 | -198.43 |
| 10 | -60.214 | -252.98 |
The gain curve crosses 0 dB at , where the phase is degrees, so the phase margin is degrees. The phase curve crosses degrees at , where the gain is dB, so the gain margin is 15.563 dB, a factor of 6.
A plot that is not a Bode plot. A graph of on a linear frequency axis has the same data, but a product no longer becomes a sum of straight lines, and a wide band of frequencies does not fit on one page. A phase curve folded into degrees has false jumps of 360 degrees; for the check loop it would jump at , which is the point where the margin is read.
The gain does not fix the phase. The all-pass factor has a gain of 0 dB at every frequency, but its phase is , from 0 down to degrees. So and have the same gain curve and different phase curves. Only for a minimum-phase does the gain curve fix the phase curve; this is the Bode gain-phase relation.
Related definitions
- The Nyquist plot draws the same values as one curve in the complex plane, with frequency as a parameter along the curve. It shows the encirclements of that the Nyquist stability criterion counts, which a Bode plot does not show directly.
- The Nichols chart plots the same gain in dB against the same phase in degrees, with frequency along the curve, on a grid of closed-loop gain contours.
- The gain margin and phase margin are read on the Bode plot of the loop at the phase crossover and the gain crossover.
- The Bode gain-phase relation says that for a stable minimum-phase the phase at a frequency is a weighted average of the slope of the gain curve, so a slope of dB per decade over a wide band gives a phase near degrees.
- A measured Bode plot comes from input and output data, for example by the empirical transfer function estimate.
- Loop shaping designs a controller by drawing the wanted Bode plot of .
References
- Hendrik W. Bode, Relations Between Attenuation and Phase in Feedback Amplifier Design, Bell System Technical Journal 19(3), 1940, pp. 421 to 454 (attenuation in decibels and phase plotted against the logarithm of frequency)
- Gene F. Franklin, J. David Powell and Abbas Emami-Naeini, Feedback Control of Dynamic Systems, eighth edition, Pearson, 2019, Section 6.1, Frequency Response, and Section 6.1.1, Bode Plot Techniques
- Katsuhiko Ogata, Modern Control Engineering, fifth edition, Prentice Hall, 2010, Section 7-2, Bode Diagrams
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag P9TTJ8 Edit this page History Report an error Markdown