3.5.28Guidance, Navigation & Control (GNC)

Block diagram algebra

1,696 words8 min readdifficulty · medium

A block diagram is a picture of an equation. Block-diagram algebra is just the rules for rewriting that picture without changing the equation it represents. Master it and you can collapse any tangled GNC loop into one transfer function.

Core objects


Rule 1 — Blocks in series (cascade)

WHAT: Two blocks one after another.

HOW / derive it: Let input =X=X. After the first block the signal is G1XG_1X. Feed that into the second: output =G2(G1X)=G1G2X=G_2(G_1X)=G_1G_2\,X.

Why this step? Multiplication is associative, so order doesn't matter for scalar transfer functions: G1G2=G2G1G_1G_2=G_2G_1.


Rule 2 — Blocks in parallel

WHAT: Same input XX splits (take-off point) into two blocks whose outputs meet at a summer.

HOW / derive it: Top branch gives G1XG_1X, bottom gives G2XG_2X. Summer adds: Y=G1X±G2X=(G1±G2)XY=G_1X\pm G_2X=(G_1\pm G_2)X.


Rule 3 — The feedback loop (the big one)

WHAT: Forward path G(s)G(s), feedback path H(s)H(s), negative summer.

HOW / derive from first principles:

  1. Error (summer output): E=RBE = R - B.
  2. Output: Y=GEY = G\,E.
  3. Fed-back signal: B=HYB = H\,Y.

Substitute BB: E=RHYE = R - HY. Then Y=GE=G(RHY)=GRGHYY=GE=G(R-HY)=GR-GHY. Collect YY: Y+GHY=GR    Y(1+GH)=GRY+GHY = GR \;\Rightarrow\; Y(1+GH)=GR.

Figure — Block diagram algebra

Rule 4 — Moving blocks (equivalence moves)

These keep Y/RY/R unchanged. Derive each by insisting signals stay equal.


Worked Example 1 — Collapse a loop with a cascade forward path

System: R[summer,]G1G2YR \to [\text{summer}, -] \to G_1 \to G_2 \to Y, feedback HH.

  • Step 1: Series-combine forward path: G=G1G2G=G_1G_2. Why? Rule 1 turns two cascaded blocks into one.
  • Step 2: Apply feedback formula: YR=G1G21+G1G2H\dfrac{Y}{R}=\dfrac{G_1G_2}{1+G_1G_2H}. Why? Now it's the standard single-loop form.

Let G1=2sG_1=\frac{2}{s}, G2=1s+3G_2=\frac{1}{s+3}, H=1H=1: YR=2/[s(s+3)]1+2/[s(s+3)]=2s2+3s+2=2(s+1)(s+2).\frac{Y}{R}=\frac{2/[s(s+3)]}{1+2/[s(s+3)]}=\frac{2}{s^2+3s+2}=\frac{2}{(s+1)(s+2)}. Why this step? Multiply top & bottom by s(s+3)s(s+3) to clear the fractions — pure algebra, no new physics.


Worked Example 2 — Move a take-off point

Forward: R[]GYR\to[-]\to G \to Y. A take-off after GG feeds back through HH. We want the feedback tapped before GG instead.

  • Step 1: Currently B=HY=HGEB=HY=H\,G\,E.
  • Step 2: If we move the take-off to before GG, it now reads EE (=input to GG), not Y=GEY=GE. To keep BB the same we must multiply the moved branch by GG: new feedback block =GH=GH. Why? We inserted GG to undo the lost multiplication.
  • Check: B=GHEB=G\cdot H\cdot E — identical to before. ✔

Worked Example 3 — Two loops (inner + outer)

Inner loop: forward G2G_2, feedback H2H_2. Outer loop: forward G1G_1 then the inner block, feedback H1H_1.

  • Step 1 (reduce inner): Ginner=G21+G2H2G_{inner}=\dfrac{G_2}{1+G_2H_2}. Why? Always collapse the innermost loop first — outer rules need a single block there.
  • Step 2 (series): forward path =G1Ginner=G1G21+G2H2=G_1 G_{inner}=\dfrac{G_1G_2}{1+G_2H_2}.
  • Step 3 (outer loop): YR=G1G21+G2H21+G1G21+G2H2H1=G1G21+G2H2+G1G2H1.\frac{Y}{R}=\frac{\dfrac{G_1G_2}{1+G_2H_2}}{1+\dfrac{G_1G_2}{1+G_2H_2}H_1}=\frac{G_1G_2}{1+G_2H_2+G_1G_2H_1}. Why this step? Multiply top & bottom by (1+G2H2)(1+G_2H_2) to clear the nested fraction.

Recall Feynman: explain to a 12-year-old

Imagine a water slide. Each slide piece makes you go a certain speed (that's a block — it multiplies your speed). If two slides connect, you multiply both speeds. A splitter copies you into two lanes; where lanes rejoin you add the flows. A feedback loop is when part of the water at the bottom is pumped back to the top and subtracted from the incoming water — this stops the tank overflowing. The magic rule is: whole thing's behaviour = (forward slide) ÷ (1 + trip-around-the-whole-loop). The "+1" is just you, going straight down, once.


Flashcards

Series blocks G1,G2G_1,G_2 combine to
G1G2G_1G_2 (multiply)
Parallel blocks combine to
G1±G2G_1\pm G_2 (add, sign from summer)
Closed-loop TF for forward GG, feedback HH (negative)
G1+GH\dfrac{G}{1+GH}
Unity-feedback closed-loop TF
G1+G\dfrac{G}{1+G}
What is "loop gain"?
GHGH — factor a signal gains in one full trip around the loop
Positive feedback denominator becomes
1GH1-GH
Move a summing junction downstream past block GG: what correction?
multiply the moved branch by GG
Move a take-off point downstream past block GG: what correction?
multiply that branch by 1/G1/G
Order to reduce nested loops
inside-out (innermost loop first)
Why do blocks multiply in ss-domain?
convolution in time = multiplication in Laplace domain
Physical meaning of the 11 in 1+GH1+GH
the direct passthrough of the signal (no feedback trip)

Connections

  • Transfer functions — the objects living inside each block.
  • Laplace transform — why blocks multiply.
  • Feedback control loops — application of Rule 3.
  • Signal flow graphs & Mason's gain formula — an algebra-free alternative to these moves.
  • Op-amp gain — same G/(1+GH)G/(1+GH) closed-loop math.
  • Stability & characteristic equation — the denominator 1+GH=01+GH=0 sets the poles.

Concept Map

picture of

built from

multiply

add subtract

copy signal

Laplace convolution

cascade

split then summer

combine into

combine into

E equals R minus B

derive

equals G over 1 plus GH

equivalence moves

Block Diagram

Equation

Three Primitives

Block G of s

Summing Junction

Take-off Point

Multiply by G of s

Series: G1 G2

Parallel: G1 plus or minus G2

Closed-Loop TF

Feedback Loop

Loop Gain GH

Moving Blocks

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, block diagram basically ek equation ki picture hai. Har block apne input ko G(s)G(s) se multiply karta hai — kyunki Laplace domain mein time ka convolution multiplication ban jaata hai. Do block series mein aaye toh gains multiply ho jaate hain (G1G2G_1G_2), aur parallel mein aaye (ek hi input do raaston se jaake summer pe milta hai) toh add ho jaate hain (G1±G2G_1\pm G_2). Bas itni si baat hai.

Sabse important cheez hai feedback loop. Summer pe error banta hai E=RBE=R-B, output Y=GEY=GE, aur wapas B=HYB=HY. Inko solve karo toh milta hai famous formula: YR=G1+GH\dfrac{Y}{R}=\dfrac{G}{1+GH}. Yahan GHGH ko loop gain kehte hain — ye batata hai ki signal poora ek chakkar lagaake kitna multiply hota hai. Neeche wala "11" seedha jaane wala signal hai. Negative feedback mein denominator 1+GH1+GH, positive mein 1GH1-GH.

Jab block ya junction ko idhar-udhar move karna ho, toh yaad rakho: block cross karo toh toll do. Summer ko block ke aage le jao toh moved branch mein GG multiply karo; take-off point ko aage le jao toh 1/G1/G multiply karo. Warna signal ki value badal jaati hai aur galat answer aata hai.

Nested loops (loop ke andar loop) ho toh hamesha andar se bahar reduce karo — pehle innermost loop ko ek single block banao, phir series karo, phir outer loop lagao. Ye GNC mein bahut kaam aata hai: pura autopilot block diagram simplify karke ek transfer function nikaalne ke baad hi stability (denominator 1+GH=01+GH=0 ke poles) analyse kar sakte ho.

Go deeper — visual, from zero

Test yourself — Guidance, Navigation & Control (GNC)

Connections