3.5.41Guidance, Navigation & Control (GNC)

Bode plot — magnitude and phase vs frequency

2,068 words9 min readdifficulty · medium4 backlinks

1. Why sinusoids and why s=jωs=j\omega?

WHY this happens (derive it). Take a system with transfer function G(s)G(s) and input u(t)=cosωt=Re{ejωt}u(t)=\cos\omega t = \text{Re}\{e^{j\omega t}\}. The complex exponential ejωte^{j\omega t} is an eigenfunction of any LTI system:

y(t)=G(jω)ejωty(t) = G(j\omega)\, e^{j\omega t}

Write the complex number G(jω)G(j\omega) in polar form:

G(jω)=G(jω)ejϕ,ϕ=G(jω)G(j\omega) = |G(j\omega)|\, e^{j\phi}, \qquad \phi = \angle G(j\omega)

Then

y(t)=G(jω)ej(ωt+ϕ)    Re{y}=G(jω)cos(ωt+ϕ)y(t) = |G(j\omega)|\, e^{j(\omega t + \phi)} \;\Rightarrow\; \text{Re}\{y\} = |G(j\omega)|\cos(\omega t + \phi)

So the Bode plot is literally a picture of the complex-valued function G(jω)G(j\omega) — magnitude and angle split into two graphs.


2. Why decibels and why log frequency?

Derivation. Suppose G=G1G2G3G = G_1 G_2 G_3. Then

G=G1G2G3|G| = |G_1||G_2||G_3|

Take 20log1020\log_{10}:

20log10GdB=20log10G1+20log10G2+20log10G3\underbrace{20\log_{10}|G|}_{\text{dB}} = 20\log_{10}|G_1| + 20\log_{10}|G_2| + 20\log_{10}|G_3|

And phase adds directly (angle of a product = sum of angles):

G=G1+G2+G3\angle G = \angle G_1 + \angle G_2 + \angle G_3

WHY log-frequency axis: control systems span many decades (0.01 rad/s slosh → 1000 rad/s structural modes). Log spacing shows all of them, and — bonus — the asymptotes of simple factors become straight lines with slopes in dB/decade.


3. The building blocks (derive each asymptote)

Any rational G(jω)G(j\omega) decomposes into these factors. Learn these 4 and you can sketch anything (the 80/20 core).

(a) Constant gain KK

KdB=20log10K (flat horizontal line),K=0|K|_{\text{dB}}=20\log_{10}K \text{ (flat horizontal line)}, \qquad \angle K = 0^\circ

(b) Integrator 1s=1jω\dfrac{1}{s}=\dfrac{1}{j\omega}

GdB=20log101ω=20log10ω|G|_{\text{dB}} = 20\log_{10}\frac{1}{\omega} = -20\log_{10}\omega This is a straight line of slope 20-20 dB/decade (each 10× in ω\omega drops 20 dB). 1jω=1ej90=90 (constant)\angle \frac{1}{j\omega} = \angle \frac{1}{e^{j90^\circ}} = -90^\circ \text{ (constant)}

(c) First-order pole 11+s/ωc\dfrac{1}{1+s/\omega_c}, corner (break) frequency ωc\omega_c

G(jω)=11+(ω/ωc)2|G(j\omega)| = \frac{1}{\sqrt{1+(\omega/\omega_c)^2}}

Why the asymptotes:

  • Low freq ωωc\omega\ll\omega_c: term 1\to 1, so GdB0|G|_{\text{dB}}\to 0 (flat).
  • High freq ωωc\omega\gg\omega_c: Gωc/ω|G|\approx \omega_c/\omega, so slope 20-20 dB/decade.
  • At ω=ωc\omega=\omega_c: G=1/2|G|=1/\sqrt{2}, i.e. 20log10(1/2)=3.01 dB20\log_{10}(1/\sqrt2)=-3.01\text{ dB} — the famous −3 dB corner.

Phase: G=arctan(ω/ωc)\angle G = -\arctan(\omega/\omega_c): 00^\circ low, 45-45^\circ at ωc\omega_c, 90-90^\circ high.

(d) First-order zero (1+s/ωc)(1+s/\omega_c)

Mirror image of the pole: slope +20 dB/decade above corner, phase rises 0+45+900^\circ\to+45^\circ\to+90^\circ.

Figure — Bode plot — magnitude and phase vs frequency

4. Worked examples


5. Common mistakes (steel-manned)


6. Active recall

Recall Try before revealing
  • Why do we evaluate GG at s=jωs=j\omega? (sinusoidal steady-state; eigenfunction ejωte^{j\omega t})
  • What slope does a pole add above its corner? (−20 dB/dec, −90°)
  • What is the magnitude at a first-order corner? (−3 dB)
  • Define phase margin. (180+L180^\circ+\angle L at gain crossover)
Recall Feynman: explain to a 12-year-old

Imagine pushing a kid on a swing. If you push slowly, the swing follows you easily (big response). If you push super fast, the swing barely moves (small response) and it lags behind your hand. A Bode plot is just a chart of "how big is the swing" and "how far behind does it lag" for every pushing speed. Engineers use it to make sure a robot or rocket doesn't start shaking itself apart when something jiggles it at the wrong speed.


7. Flashcards

What does a Bode plot show?
Magnitude (dB) and phase (deg) of the frequency response G(jω)G(j\omega) vs log frequency.
Why substitute s=jωs=j\omega?
Because ejωte^{j\omega t} is an eigenfunction of LTI systems; the response to a sinusoid is a scaled, phase-shifted sinusoid G(jω)cos(ωt+G)|G(j\omega)|\cos(\omega t+\angle G).
Formula for magnitude in dB?
20log10G(jω)20\log_{10}|G(j\omega)|; factor 20 because power \propto amplitude².
Slope and phase contributed by one pole above corner?
−20 dB/decade and −90°.
Slope and phase of one zero above corner?
+20 dB/decade and +90°.
Magnitude at a first-order corner frequency?
−3 dB (exactly 20log10(1/2)20\log_{10}(1/\sqrt2)).
Phase at a first-order pole's corner?
−45°.
Slope and phase of a double integrator 1/s21/s^2?
−40 dB/decade, constant −180°.
Definition of phase margin?
180+L(jωgc)180^\circ+\angle L(j\omega_{gc}) at the gain-crossover (0 dB) frequency.
Definition of gain margin?
The dB below 0 dB at the phase-crossover (−180°) frequency: L(jωpc)dB-|L(j\omega_{pc})|_{dB}.
Why log frequency axis?
Spans many decades and makes simple factors' asymptotes straight lines with dB/decade slopes.
Bode gain–phase relation (minimum phase)?
Slope and phase are linked; e.g. a −20 dB/dec slope implies about −90° phase.

Connections

  • Transfer function — the G(s)G(s) we evaluate at s=jωs=j\omega.
  • Nyquist plot — same G(jω)G(j\omega) plotted in the complex plane; encircles −1 for stability.
  • Stability margins — gain & phase margins read directly off Bode.
  • Lead-lag compensator — designed by shaping the Bode plot near crossover.
  • Low-pass filter — a first-order pole; its −3 dB corner is its cutoff.
  • Laplace transform — where ss, poles, and zeros come from.
  • Loop shaping — GNC design method driven entirely by Bode magnitude.

Concept Map

evaluate at s=jw

sine in sine out

magnitude

argument

20 log10

degrees

plotted vs

logs turn into sums

angles add

spans many decades

gain plus delay

delay

Transfer function G of s

Frequency response G of jw

LTI system

Gain amplitude ratio

Phase shift

Magnitude in dB

Bode plot

Log frequency axis

Products of factors

Straight-line asymptotes

Instability risk in GNC

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Bode plot ek aisa graph hai jisme hum dekhte hain ki koi system har frequency ke sine wave ko kitna badhata/ghatata hai (magnitude) aur kitna peeche kar deta hai (phase). LTI system ki khaas baat: agar input pure sine hai, to output bhi usi frequency ka sine hoga — sirf amplitude change hoti hai aur ek phase shift aata hai. Isiliye hum transfer function G(s)G(s) ko s=jωs=j\omega par evaluate karte hain, aur G(jω)|G(j\omega)| ko dB me aur G(jω)\angle G(j\omega) ko degree me, log-frequency axis par plot karte hain.

dB ke liye hamesha 20log1020\log_{10} lagao (kyunki power amplitude ka square hota hai), aur log axis isliye kyunki control systems bahut saari decades cover karte hain — 0.01 se 1000 rad/s tak. Log lene ka ek aur fayda: transfer function factors ka product hota hai, aur log lene se product addition ban jaata hai. Isliye har pole/zero ka contribution alag-alag add karke by-hand sketch bana sakte ho. Rule yaad rakho: har pole magnitude ko −20 dB/decade neeche aur phase ko −90° neeche kheenchta hai; zero iska ulta karta hai (+20, +90).

GNC me yeh super important hai. Rocket ya drone ka control loop kisi disturbance (hawa ka jhonka, sensor noise, fuel slosh) se hilta hai. Agar kisi frequency par loop gain bada hai aur phase −180° ke paas pahunch gaya, to system oscillate karke unstable ho sakta hai. Bode plot se hum seedha phase margin (180+L180^\circ+\angle L at 0 dB crossover) aur gain margin padh lete hain — yeh batate hain ki system kitna safe hai. Compensator (lead/PD) design bhi Bode plot ko shape karke hota hai, isliye is topic ko achhe se samajhna zaroori hai.

Go deeper — visual, from zero

Test yourself — Guidance, Navigation & Control (GNC)

Connections