Algorithm Search⌘K

Theoremadvanced

Bode gain-phase relation

Also called Bode's gain-phase theorem.

For a stable minimum-phase G, the phase at omega_0 is a weighted average of the slope of ln |G| against ln omega. A slope of -20n dB per decade over a wide band gives a phase near -90n degrees.

The Bode gain-phase relation says that for a stable minimum-phase transfer function G(s)G(s) the phase at any frequency is fixed by the gain curve: it is a weighted average of the slope of ln⁡∣G(jω)∣\ln|G(j\omega)| against ln⁡ω\ln\omega, with a weight that is large near that frequency and small far away. If the gain falls with a constant slope of −20n-20n dB per decade over a wide band around ω0\omega_0, the phase at ω0\omega_0 is near −90n-90n degrees; this is an approximation, and it is good only when the band is wide. So the gain of a loop cannot fall fast near its crossover frequency without a large phase lag, and this limits every loop shaping design. Hendrik Bode proved the relation in 1940 for feedback amplifiers.

Statement

Notation. GG is a real rational transfer function. Frequencies are in rad/s. Write ω=ω0eν\omega = \omega_0 e^{\nu}, so ν=ln⁡(ω/ω0)\nu = \ln(\omega/\omega_0) is the distance from ω0\omega_0 on a log scale (ν=ln⁡10=2.303\nu = \ln 10 = 2.303 is one decade). Let M(ν)=ln⁡∣G(jω0eν)∣M(\nu) = \ln|G(j\omega_0 e^{\nu})| and φ(ω)=arg⁡G(jω)\varphi(\omega) = \arg G(j\omega) in radians. A slope dM/dν=−ndM/d\nu = -n is a slope of −20n-20n dB per decade.

Hypotheses. G(s)=sℓG0(s)G(s) = s^{\ell}G_0(s), where ℓ\ell is an integer and G0G_0 is real rational and proper, with all its poles and all its zeros in the open left half plane, and G0(0)>0G_0(0) > 0. So GG is minimum-phase in the continuous-time sense: no poles or zeros in the open right half plane, and no time delay. The phase is the continuous branch with φ(0+)=90ℓ\varphi(0^+) = 90\ell degrees.

Theorem. For every ω0>0\omega_0 > 0,

φ(ω0)=1π∫−∞∞dMdν ln⁡coth⁡∣ν∣2 dν.\varphi(\omega_0) = \frac{1}{\pi}\int_{-\infty}^{\infty} \frac{dM}{d\nu}\, \ln\coth\frac{|\nu|}{2}\, d\nu.

For ℓ=0\ell = 0 there is the equivalent form

φ(ω0)=2ω0π∫0∞ln⁡∣G(jω)∣−ln⁡∣G(jω0)∣ω2−ω02 dω.\varphi(\omega_0) = \frac{2\omega_0}{\pi}\int_0^{\infty} \frac{\ln|G(j\omega)| - \ln|G(j\omega_0)|}{\omega^2 - \omega_0^2}\, d\omega.

The weight ln⁡coth⁡(∣ν∣/2)\ln\coth(|\nu|/2) is positive, even, and has the total integral π2/2\pi^2/2. So a constant slope dM/dν=−ndM/d\nu = -n gives exactly φ=−nπ/2\varphi = -n\pi/2, that is, −90n-90n degrees. The weight has 91.9 percent of its mass within one decade of ω0\omega_0 and 99.2 percent within two decades.

In plain words

For a system with no hidden delay and no zeros or poles on the wrong side, the gain curve decides the phase curve. At each frequency, the phase lag is an average of how steeply the gain falls, taken over the frequencies nearby, with the most weight on the closest ones. A gain that falls by a factor of ten for each factor of ten in frequency gives a lag of a quarter turn. A gain that falls twice as fast gives a lag of a half turn, which is where a feedback loop starts to oscillate. So a designer cannot cut the gain of a loop steeply just above its crossover frequency: the lag that comes with the steep fall reaches back to the crossover and eats the margin.

Proof

Step 1. The logarithm is analytic. G0G_0 has no poles or zeros in the half plane Re⁡s>−δ\operatorname{Re} s > -\delta for some δ>0\delta > 0, and this half plane is simply connected. So F(s)=ln⁡G0(s)F(s) = \ln G_0(s) has an analytic branch there, which we fix by F(0)=ln⁡G0(0)F(0) = \ln G_0(0), a real number. Since G0G_0 has real coefficients, F(sˉ)=F(s)‾F(\bar s) = \overline{F(s)}. On the imaginary axis F(jω)=M(ω)+jφ(ω)F(j\omega) = M(\omega) + j\varphi(\omega), where M(ω)=ln⁡∣G0(jω)∣M(\omega) = \ln|G_0(j\omega)| is even in ω\omega and φ\varphi is odd. If G0G_0 has relative degree rr, then ∣F(s)∣≤rln⁡∣s∣+c|F(s)| \le r\ln|s| + c for large ∣s∣|s|.

Step 2. A contour integral. Fix ω0>0\omega_0 > 0, put M0=M(ω0)M_0 = M(\omega_0) and φ0=φ(ω0)\varphi_0 = \varphi(\omega_0), and let

Φ(s)=(F(s)−M0)(1s−jω0−1s+jω0)=(F(s)−M0)2jω0s2+ω02.\Phi(s) = \big(F(s) - M_0\big)\left(\frac{1}{s - j\omega_0} - \frac{1}{s + j\omega_0}\right) = \big(F(s) - M_0\big)\frac{2j\omega_0}{s^2 + \omega_0^2}.

Φ\Phi is analytic in the right half plane. Integrate it counterclockwise around the half disk of radius RR in the right half plane: down the imaginary axis from jRjR to −jR-jR, with small half circles into the right half plane around ±jω0\pm j\omega_0, and back along the arc. By Cauchy's theorem the integral is 0.

  • The arc. There ∣Φ∣≤(rln⁡R+c′) 2ω0/(R2−ω02)|\Phi| \le (r\ln R + c')\,2\omega_0/(R^2 - \omega_0^2) and the length is πR\pi R, so the arc gives 0 as R→∞R \to \infty.
  • The small half circles. At jω0j\omega_0, Φ\Phi has a simple pole with residue F(jω0)−M0=jφ0F(j\omega_0) - M_0 = j\varphi_0. At −jω0-j\omega_0 the residue is −(F(−jω0)−M0)=−(M0−jφ0−M0)=jφ0-(F(-j\omega_0) - M_0) = -(M_0 - j\varphi_0 - M_0) = j\varphi_0. Each half circle goes clockwise around its pole and gives −jπ⋅jφ0=πφ0-j\pi \cdot j\varphi_0 = \pi\varphi_0 in the limit, so together they give 2πφ02\pi\varphi_0.
  • The axis. With s=jωs = j\omega, the axis gives −j∫−RRΦ(jω) dω=2ω0∫−RRF(jω)−M0ω02−ω2 dω-j\int_{-R}^{R}\Phi(j\omega)\,d\omega = 2\omega_0\int_{-R}^{R}\frac{F(j\omega) - M_0}{\omega_0^2 - \omega^2}\,d\omega, as a principal value. The part with jφ(ω)j\varphi(\omega) is odd in ω\omega and drops out. The part with M(ω)−M0M(\omega) - M_0 is even and has no singularity, because M(ω)−M0M(\omega) - M_0 vanishes at ±ω0\pm\omega_0. It gives 4ω0∫0RM(ω)−M0ω02−ω2 dω4\omega_0\int_0^{R}\frac{M(\omega) - M_0}{\omega_0^2 - \omega^2}\,d\omega.

Adding the three parts and letting R→∞R \to \infty gives the second form of the theorem.

Step 3. The slope form. Substitute ω=ω0eν\omega = \omega_0 e^{\nu}, so dω=ω dνd\omega = \omega\,d\nu and ω0ω/(ω2−ω02)=1/(2sinh⁡ν)\omega_0\omega/(\omega^2 - \omega_0^2) = 1/(2\sinh\nu). The second form becomes

φ0=1π∫−∞∞M(ν)−M0sinh⁡ν dν.\varphi_0 = \frac{1}{\pi}\int_{-\infty}^{\infty}\frac{M(\nu) - M_0}{\sinh\nu}\,d\nu.

For ν≠0\nu \ne 0, ddνln⁡coth⁡(∣ν∣/2)=−1/sinh⁡ν\frac{d}{d\nu}\ln\coth(|\nu|/2) = -1/\sinh\nu. Integrate by parts on (−∞,0)(-\infty, 0) and on (0,∞)(0, \infty). The boundary terms vanish: near 0, (M−M0)ln⁡coth⁡(∣ν∣/2)(M - M_0)\ln\coth(|\nu|/2) behaves like νln⁡(2/∣ν∣)→0\nu\ln(2/|\nu|) \to 0; at ±∞\pm\infty, ln⁡coth⁡(∣ν∣/2)≈2e−∣ν∣\ln\coth(|\nu|/2) \approx 2e^{-|\nu|} while MM grows at most linearly in ν\nu. What is left is the slope form.

Step 4. The total weight. For u>0u > 0, ln⁡coth⁡u=ln⁡(1+e−2u)−ln⁡(1−e−2u)=2∑k odde−2ku/k\ln\coth u = \ln(1 + e^{-2u}) - \ln(1 - e^{-2u}) = 2\sum_{k\ \text{odd}} e^{-2ku}/k, so ∫0∞ln⁡coth⁡u du=∑k odd1/k2=π2/8\int_0^\infty \ln\coth u\,du = \sum_{k\ \text{odd}} 1/k^2 = \pi^2/8. Hence ∫−∞∞ln⁡coth⁡(∣ν∣/2) dν=4⋅π2/8=π2/2\int_{-\infty}^{\infty}\ln\coth(|\nu|/2)\,d\nu = 4 \cdot \pi^2/8 = \pi^2/2.

Step 5. Integrators. For sℓs^{\ell} the phase is the constant ℓπ/2\ell\pi/2, and M=ℓν+ℓln⁡ω0M = \ell\nu + \ell\ln\omega_0 has the slope ℓ\ell, so by step 4 the slope form gives ℓπ/2\ell\pi/2 too. Both sides of the slope form add over products, so the theorem holds for sℓG0s^{\ell}G_0. □\square

A check by hand. For G=1/(s+1)G = 1/(s + 1) at ω0=1\omega_0 = 1, M(ν)=−12ln⁡(1+e2ν)M(\nu) = -\frac12\ln(1 + e^{2\nu}) and dM/dν=−e2ν/(1+e2ν)=−12−12tanh⁡νdM/d\nu = -e^{2\nu}/(1 + e^{2\nu}) = -\frac12 - \frac12\tanh\nu. The part −12tanh⁡ν-\frac12\tanh\nu is odd and the weight is even, so only −12-\frac12 counts, and the formula gives 1π⋅(−12)⋅π22=−π/4\frac{1}{\pi}\cdot(-\frac12)\cdot\frac{\pi^2}{2} = -\pi/4, which is −45-45 degrees, the true phase of 1/(1+j)1/(1 + j). At ω0=0.5\omega_0 = 0.5 and ω0=2\omega_0 = 2 there is no such symmetry, and the slope form, evaluated by quadrature, equals −26.57-26.57 and −63.43-63.43 degrees, which are −arctan⁡0.5-\arctan 0.5 and −arctan⁡2-\arctan 2.

Consequences

  • The slope at crossover. For the loop transfer function LL at its gain crossover ωc\omega_c, the phase margin is 180+arg⁡L(jωc)180 + \arg L(j\omega_c) degrees. A slope of −20-20 dB per decade around ωc\omega_c gives a phase near −90-90 degrees and a margin near 90 degrees. A slope of −40-40 dB per decade gives a phase near −180-180 degrees and almost no margin. So a minimum-phase loop needs a slope of about −20-20 to −30-30 dB per decade over roughly a decade around crossover, and it can fall faster only well away from it. This is the rule behind loop shaping.
  • The cost of a fast cut-off. High gain at low frequency and low gain at high frequency must be joined by a transition of finite steepness. The relation gives the price in phase of each extra 20 dB per decade, and so it bounds how close the low and high frequency bands can be.
  • Phase lead must come with gain. A lead-lag compensator gives phase lead only by a rising gain over a band. The relation says that no minimum-phase network can give lead without a rise of gain.
  • Non-minimum-phase systems lag more. A transfer function G=R(s)e−sτG = R(s)e^{-s\tau}, with RR rational with no poles in the closed right half plane and a delay τ≥0\tau \ge 0, can be written G=GmpB e−sτG = G_{mp}B\,e^{-s\tau}, with GmpG_{mp} minimum-phase and BB a product of all-pass factors (zi−s)/(zˉi+s)(z_i - s)/(\bar z_i + s) for the zeros ziz_i of RR in the right half plane. BB and e−sτe^{-s\tau} have a gain of 0 dB at all frequencies, so GG has the gain of GmpG_{mp}, and they add only lag for ω>0\omega > 0. So among systems with a given gain curve, the minimum-phase one has the least phase lag, which is where the name comes from. A time delay or a zero in the right half plane therefore limits the crossover frequency that a design can reach.
  • A Hilbert pair. The relation says that ln⁡∣G∣\ln|G| and arg⁡G\arg G on the imaginary axis are the real and imaginary parts of the boundary values of one analytic function, so each is a Hilbert transform of the other in a suitable form. The same fact in optics is the Kramers-Kronig relations.
  • The sensitivity integral. The Bode sensitivity integral is a second limit of the same kind, proved by a similar contour argument.

Tightness

  • A zero in the right half plane. 1/(s+1)1/(s + 1) and (1−s)/(1+s)2(1 - s)/(1 + s)^2 have the same gain at every frequency, so the formula gives −45-45 degrees for both at ω0=1\omega_0 = 1. The true phase of the second is arg⁡(1−j)−2arg⁡(1+j)=−45−90=−135\arg(1 - j) - 2\arg(1 + j) = -45 - 90 = -135 degrees. The extra lag −2arctan⁡ω-2\arctan\omega is that of the all-pass factor (1−s)/(1+s)(1 - s)/(1 + s), which has a gain of 0 dB and slope 0.
  • A delay. e−sτe^{-s\tau} has a gain of 0 dB, so the formula gives 0, but the phase is −ωτ-\omega\tau radians.
  • A pole in the right half plane. 1/(s−1)1/(s - 1) has the same gain as 1/(s+1)1/(s + 1), but its phase is −180+arctan⁡ω-180 + \arctan\omega degrees, not −arctan⁡ω-\arctan\omega.
  • The −90n-90n rule is approximate. With a slope of −n-n only over one decade on each side of ω0\omega_0 and 0 outside, the phase is about 0.9190.919 times −90n-90n degrees; any slope farther away still moves the phase. The rule is exact only for a constant slope at all frequencies, that is, for s−ns^{-n}.

History

Bode derived the relation in "Relations Between Attenuation and Phase in Feedback Amplifier Design" (1940), in the work at Bell Telephone Laboratories on long-distance feedback amplifiers that followed Nyquist's 1932 stability rule. He used it to show how much feedback an amplifier can have over a given band, and he gave the full theory in his 1945 book. The same mathematics, the relation between the real and imaginary parts of a function that is analytic in a half plane, is older; in optics it is known from the work of Kramers and Kronig in the 1920s.

References

  1. Hendrik W. Bode, Relations Between Attenuation and Phase in Feedback Amplifier Design, Bell System Technical Journal 19(3), 1940, pp. 421 to 454 (the phase of a minimum phase network as an integral of the slope of its attenuation against log frequency, and its use in feedback amplifier design)
  2. Hendrik W. Bode, Network Analysis and Feedback Amplifier Design, Van Nostrand, 1945, the chapters on the relations between the real and imaginary parts of network functions and on gain and phase; no chapter locator confirmed
  3. Karl Johan Åström and Richard M. Murray, Feedback Systems, An Introduction for Scientists and Engineers, second edition, Princeton University Press, 2021, Section 10.4, Bode's Relations and Minimum Phase Systems
  4. Gene F. Franklin, J. David Powell and Abbas Emami-Naeini, Feedback Control of Dynamic Systems, eighth edition, Pearson, 2019, Section 6.5, Bode's Gain-Phase Relationship

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/BXDHRJ/text.yaml