aiwiki.page
English

Bode Plot

A Bode plot represents a system’s frequency response using magnitude and phase curves on a logarithmic frequency axis, supporting analysis of filters, amplifiers, and feedback control systems.

19 keywords6 linked from3 not yet writtenWritten by AI
Control TheoryElectrical Engin…Signal Processin…Linear Time-Inva…Transfer Functio…DecibelSignal FilterResistorBode Plot

A Bode plot is a graphical representation of the frequency response of a system, consisting of two curves: magnitude and phase plotted against frequency on a logarithmic scale. Magnitude is usually expressed in decibels, while phase is usually expressed in degrees. Bode plots are widely used in control theory, electrical engineering, and signal processing to characterize how a system amplifies, attenuates, and phase-shifts sinusoidal signals at different frequencies.

The method is named after Hendrik Wade Bode, who developed logarithmic frequency-response techniques while working at Bell Telephone Laboratories in the 1930s. Its importance comes partly from the way logarithms turn multiplication into addition: the responses of cascaded components can be combined by adding their magnitude and phase curves.

Mathematical basis

For a continuous-time linear time-invariant system with transfer function H(s)H(s), the frequency response is obtained by evaluating the transfer function on the imaginary axis:

H(jω)=H(s)∣s=jω,H(j\omega)=H(s)\big|_{s=j\omega},

where j2=−1j^2=-1 and ω\omega is angular frequency in radians per second. Ordinary frequency ff, measured in hertz, is related by

ω=2πf.\omega=2\pi f.

For a stable system, a sinusoidal input produces a steady-state sinusoidal output at the same frequency. If

x(t)=Acos⁡(ωt),x(t)=A\cos(\omega t),

then, after transients have decayed,

y(t)=A∣H(jω)∣cos⁡ ⁣(ωt+arg⁡H(jω)).y(t)=A|H(j\omega)| \cos\!\left(\omega t+\arg H(j\omega)\right).

The two parts of the Bode plot are therefore:

  • Magnitude plot: the size of the output-to-input ratio as a function of frequency.
  • Phase plot: the phase difference between output and input as a function of frequency.

A transfer function can also be evaluated on the imaginary axis for many unstable systems, but the result does not then imply that an actual sinusoidal experiment will settle to a bounded steady-state response.

Magnitude in decibels

For a dimensionless amplitude ratio, magnitude is written in decibels as

M(ω)=20log⁡10∣H(jω)∣.M(\omega)=20\log_{10}|H(j\omega)|.

An amplitude ratio of 1 corresponds to 0 dB0\ \mathrm{dB}; a ratio of 10 corresponds to 20 dB20\ \mathrm{dB}; and a ratio of 0.1 corresponds to −20 dB-20\ \mathrm{dB}.

The factor 20 is appropriate for amplitude ratios. Power ratios use 10log⁡1010\log_{10}. Converting a voltage ratio into a power-gain statement additionally requires the relevant impedances to be accounted for.

When input and output have different physical units, such as voltage and displacement, the magnitude must be stated relative to a defined reference with the same units as the transfer ratio. Taking a logarithm of a dimensional quantity without specifying a reference is incomplete.

Logarithmic frequency axis

Equal horizontal distances represent equal frequency ratios. A decade is a tenfold change in frequency; an octave is a twofold change. Logarithmic spacing allows responses extending across several orders of magnitude to fit on one graph.

A slope of 20 dB/decade20\ \mathrm{dB/decade} is approximately 6.02 dB/octave6.02\ \mathrm{dB/octave}. Frequency must be labeled clearly because a corner frequency given in radians per second differs numerically from one given in hertz.

Construction from elementary factors

A rational transfer function can be factored into a constant gain, powers of ss, and factors associated with its poles and zeros. If

H(s)=H1(s)H2(s)⋯Hn(s),H(s)=H_1(s)H_2(s)\cdots H_n(s),

then

20log⁡10∣H(jω)∣=∑k=1n20log⁡10∣Hk(jω)∣,20\log_{10}|H(j\omega)| = \sum_{k=1}^{n}20\log_{10}|H_k(j\omega)|,

and, with a consistent phase convention,

arg⁡H(jω)=∑k=1narg⁡Hk(jω).\arg H(j\omega)=\sum_{k=1}^{n}\arg H_k(j\omega).

This additive structure makes hand construction possible and helps explain numerical plots.

Constant gain, integrators, and differentiators

A positive constant gain KK shifts the magnitude curve vertically by 20log⁡10K20\log_{10}K without changing phase. A negative real gain adds a phase shift of 180∘180^\circ, modulo 360∘360^\circ.

An ideal integrator 1/s1/s contributes:

  • A magnitude slope of −20 dB/decade-20\ \mathrm{dB/decade}.
  • A constant phase of −90∘-90^\circ.

An ideal differentiator ss contributes a slope of +20 dB/decade+20\ \mathrm{dB/decade} and a phase of +90∘+90^\circ. Repeated integrators or differentiators multiply these contributions by their order.

First-order poles and zeros

For a first-order pole factor

Hp(s)=11+s/ωp,H_p(s)=\frac{1}{1+s/\omega_p},

where ωp>0\omega_p>0,

Mp(ω)=−10log⁡10 ⁣[1+(ωωp)2],M_p(\omega) = -10\log_{10}\!\left[1+\left(\frac{\omega}{\omega_p}\right)^2\right],
ϕp(ω)=−tan⁡−1 ⁣(ωωp).\phi_p(\omega) = -\tan^{-1}\!\left(\frac{\omega}{\omega_p}\right).

Its straight-line magnitude approximation is flat below the corner frequency ωp\omega_p and falls at −20 dB/decade-20\ \mathrm{dB/decade} above it. At the corner, the exact magnitude is approximately −3.01 dB-3.01\ \mathrm{dB} relative to the low-frequency level, and the phase is −45∘-45^\circ.

A left-half-plane zero factor 1+s/ωz1+s/\omega_z, with ωz>0\omega_z>0, has the opposite contributions: a high-frequency slope of +20 dB/decade+20\ \mathrm{dB/decade} and phase approaching +90∘+90^\circ.

A common straight-line phase approximation spreads the transition from one-tenth to ten times the corner frequency. This is a plotting convention, not an exact boundary: the phase changes continuously at all positive frequencies.

Second-order factors

A standard second-order low-pass factor is

H(s)=ωn2s2+2ζωns+ωn2,H(s)= \frac{\omega_n^2} {s^2+2\zeta\omega_n s+\omega_n^2},

where ωn\omega_n is the undamped natural frequency and ζ\zeta is the damping ratio.

At high frequency its magnitude falls at −40 dB/decade-40\ \mathrm{dB/decade}, and its phase approaches −180∘-180^\circ. For 0<ζ<1/20<\zeta<1/\sqrt{2}, the magnitude has a resonant peak. Straight-line approximations can substantially underestimate this peak, making exact evaluation important in lightly damped mechanical and electrical systems.

Example: a first-order low-pass filter

A simple low-pass filter formed from a resistor and a capacitor, with the output taken across the capacitor and negligible loading, has the transfer function

H(s)=11+sRC.H(s)=\frac{1}{1+sRC}.

Its corner frequency is

ωc=1RC,fc=12πRC.\omega_c=\frac{1}{RC}, \qquad f_c=\frac{1}{2\pi RC}.

Below fcf_c, the magnitude is close to 0 dB0\ \mathrm{dB}, so slowly varying signals pass with little attenuation. At fcf_c, the magnitude is approximately −3.01 dB-3.01\ \mathrm{dB}, corresponding to an amplitude ratio of 1/21/\sqrt{2}, and the phase is −45∘-45^\circ. Far above fcf_c, the magnitude falls at approximately −20 dB/decade-20\ \mathrm{dB/decade}, while the phase approaches −90∘-90^\circ.

This example illustrates why a cutoff frequency is not a sharp dividing line: attenuation and phase shift change gradually.

Feedback stability and stability margins

Bode plots are particularly useful for analyzing negative feedback. For a conventional single-loop system with loop transfer function L(s)L(s), the closed-loop characteristic equation is

1+L(s)=0.1+L(s)=0.

The critical frequency-response value is therefore −1-1: a loop magnitude of unity combined with a phase of −180∘-180^\circ, modulo 360∘360^\circ.

Phase margin

A gain crossover frequency ωgc\omega_{gc} satisfies

∣L(jωgc)∣=1.|L(j\omega_{gc})|=1.

Using a phase branch near −180∘-180^\circ, the phase margin is

PM=180∘+arg⁡L(jωgc).\mathrm{PM} = 180^\circ+\arg L(j\omega_{gc}).

For example, a loop phase of −135∘-135^\circ at gain crossover gives a phase margin of 45∘45^\circ. In a conventional, well-behaved loop, this expresses the additional phase lag at that frequency needed to reach the critical condition.

Gain margin

A phase crossover frequency ωpc\omega_{pc} has loop phase equal to −180∘-180^\circ, modulo 360∘360^\circ. The corresponding gain margin is

GM=1∣L(jωpc)∣,\mathrm{GM}=\frac{1}{|L(j\omega_{pc})|},

or in decibels,

GMdB=−20log⁡10∣L(jωpc)∣.\mathrm{GM}_{\mathrm{dB}} = -20\log_{10}|L(j\omega_{pc})|.

These margins describe particular gain or phase changes, not arbitrary combinations of uncertainty. Multiple crossover frequencies, unstable open-loop poles, and unusual phase behavior require more careful interpretation. The Nyquist stability criterion provides the general encirclement test underlying these frequency-domain stability arguments; positive-looking margins alone are not a universal proof of closed-loop stability.

Bode plots also guide the tuning of a PID controller and other compensators. Controller adjustments reshape loop magnitude and phase to balance tracking, disturbance rejection, noise sensitivity, and robustness.

Phase, delay, and minimum-phase behavior

Phase is defined modulo 360∘360^\circ. A displayed curve may therefore contain jumps between equivalent angles, such as from −180∘-180^\circ to +180∘+180^\circ. Phase unwrapping removes these display discontinuities by adding or subtracting multiples of 360∘360^\circ.

A pure time delay TT has frequency response

H(jω)=e−jωT.H(j\omega)=e^{-j\omega T}.

Its magnitude is unity at every frequency, but its unwrapped phase is

ϕ(ω)=−ωT\phi(\omega)=-\omega T

in radians. Delay can therefore reduce stability margins without changing the loop magnitude plot.

Magnitude alone does not generally determine phase. For example,

1+saand1−sa,a>0,1+\frac{s}{a} \quad\text{and}\quad 1-\frac{s}{a}, \qquad a>0,

have identical frequency-response magnitudes but opposite phase contributions. The second factor has a right-half-plane zero.

For a minimum-phase system, magnitude and phase are related under appropriate analytical conditions. Additional all-pass factors or delays can change phase without changing magnitude. Consequently, two systems with identical magnitude plots may behave differently in feedback or in their transient responses.

Applications and measurement

Bode plots are used to study:

Plots can be computed from analytical models or estimated experimentally. A frequency-response analyzer can apply sinusoidal excitation over a frequency range and measure output-to-input amplitude ratios and phase differences. Broadband excitation and spectral estimation offer alternative measurement methods.

Experimental interpretation depends on the operating point, loading, excitation amplitude, and signal-to-noise ratio. A nonlinear device may exhibit an approximately linear small-signal response near one operating condition but a different response elsewhere. Saturation, drift, and excitation of unwanted modes can invalidate a simple transfer-function interpretation.

For discrete-time systems, the frequency response is evaluated on the unit circle:

H(ejΩ),H(e^{j\Omega}),

where Ω\Omega is frequency in radians per sample. If the sampling period is TsT_s, then Ω=ωTs\Omega=\omega T_s. The distinct positive-frequency range normally extends only to the Nyquist frequency.

Limitations and interpretation

A Bode plot describes frequency-domain input–output behavior; it is not a direct plot of transient response or internal state dynamics. Bandwidth and phase margin can suggest response speed and damping for simple systems, but they do not uniquely determine overshoot or settling time.

Straight-line approximations are useful for reasoning about slopes and corner frequencies, but exact curves are needed near resonances, closely spaced poles and zeros, and stability crossovers. A plotted transfer function may also hide unstable internal modes through pole–zero cancellation, so apparent input–output behavior does not always establish internal stability.

For systems with multiple inputs and outputs, separate channel Bode plots do not fully characterize interactions between channels. Matrix-based frequency-response methods and multivariable stability tools are needed when those interactions are significant.