3.5.36 · D4Guidance, Navigation & Control (GNC)

Exercises — LQG — LQR + Kalman filter, separation principle

3,061 words14 min readBack to topic

Before we start, one shared cheat-sheet of every symbol you will meet, in plain words:

The two engines we reuse the whole page:


Level 1 — Recognition

L1.1 — Name the pieces

The model is with , . State in words what each of , , , physically represents, and which one grows the Kalman gain when it grows.

Recall Solution
  • = process noise: random pushes on the physics itself — wind gusts, unmodelled dynamics, thrust jitter.
  • = measurement noise: random error inside the sensor reading.
  • = the strength (covariance) of ; = the strength of .
  • Since and grows with : large → large (trust the sensor more, because the model is being kicked around). Large → small (trust the model, sensor is bad).

L1.2 — Which knob does what?

For LQR cost , a designer wants a gentler, fuel-saving controller. Should they increase or increase ? What happens to the gain ?

Recall Solution

Increase (penalise effort more). Larger means is smaller, so shrinks → smaller control moves → gentler, slower response. Increasing would do the opposite (aggressive tracking).

L1.3 — Spot the separation

In the joint LQG matrix , which single entry being zero is the entire content of the separation principle, and what does it mean physically?

Recall Solution

The bottom-left block. It says the estimation error evolves by its own physics () and is not affected by the controller gain . Because the matrix is block-upper-triangular, its eigenvalues are just the union — so the two designs decouple.


Level 2 — Application

L2.1 — Scalar LQR, new numbers

System (), cost . Find , the gain , and the closed-loop pole . Confirm it is stable.

Recall Solution

Start from the scalar CARE (derived above: because scalars commute, and ). Substitute : Quadratic formula: (keep the positive root — must be ). Closed loop: ✅ stable. Why negative? The whole point of LQR is to make the closed loop decay; a positive (unstable open loop) is pulled negative by feedback.

L2.2 — Scalar Kalman by duality

Same , , noises , . Find , the Kalman gain , and the estimator pole .

Recall Solution

This is the dual of L2.1 with identical numbers (, , , ). The scalar FARE is (same collapse: , and ). Substitute : Estimator pole ✅.

L2.3 — Sensor-limited filter

Keep , , , but a bad sensor gives . Find and . Compare against a good sensor .

Recall Solution

Scalar FARE: . With this becomes

  • : , so
  • : , so Bad sensor → small (trust model); good sensor → large (trust sensor). Exactly the intuition.

Level 3 — Analysis

L3.1 — Verify separation numerically

Take , and use the gains from L2.1–L2.2 (). Write the joint matrix and show its eigenvalues are the union of the two poles.

Recall Solution

Matrix . A block-upper-triangular (here just upper-triangular) matrix has eigenvalues on its diagonal: . These are exactly . The off-diagonal never entered the eigenvalues — the block guarantees that. ✅

L3.2 — Why the coupling term still hurts

In L3.1 the poles decoupled perfectly. Explain, using the term in , why LQG performance is nonetheless worse than ideal LQR. Give the one-line reason separation is about design, not cost.

Recall Solution

The state equation carries an extra driving term : the estimation error leaks into the true state through the controller. Even though in the mean, its random fluctuations continuously inject disturbance into , so the achieved cost . Separation decouples the gains you compute (design), not the cost you pay (performance). Noise still costs you.

L3.3 — Reading off stability without solving

For a system with open-loop pole (badly unstable), , we must have a stable closed loop . Without fully solving the Riccati, argue that is forced, and find the smallest integer that stabilises.

Recall Solution

Stability needs . LQR always returns such a (it guarantees stability whenever the pair is controllable). The smallest integer is , giving pole ✅. Any LQR-optimal will actually exceed ; the exact value depends on , but stability is guaranteed regardless.


Level 4 — Synthesis

L4.1 — Design a full scalar LQG

Given plant , sensor , with . Design both gains and , write the LQG controller with , and list all closed-loop poles.

Recall Solution

Here . Controller — scalar CARE . Substitute : (positive root). Controller pole Filter — scalar FARE . Substitute : Estimator pole Controller (clean form): with numbers plugged into , where Closed-loop poles: — the union, by separation. ✅

L4.2 — Aggressive vs cheap, same plant

For : (a) an aggressive design ; (b) a cheap design . Compute and the closed-loop pole for each, and comment on speed.

Recall Solution

Scalar CARE . With : (a) : Pole — very fast. (b) : . Multiply by : Pole — barely stable, gentle. Comment: heavy / light ⇒ big gain, fast (far-left) pole, lots of effort. Heavy ⇒ small gain, sluggish pole near the imaginary axis, low effort.


Level 5 — Mastery

L5.1 — When can LQG even be built?

State the two structural conditions on and that must hold for the LQR gain and Kalman gain to exist and stabilise. Name each and explain in one sentence.

Recall Solution
  • Controllability of (or at least stabilisability): the input must be able to influence every unstable direction of the state — otherwise no can stabilise .
  • Observability of (or at least detectability): the sensor must reveal every unstable direction — otherwise no can stabilise , and can't track hidden unstable modes. Both come from the Riccati Equation having a stabilising positive-(semi)definite solution.

L5.2 — The robustness footgun

LQR alone enjoys phase margin and infinite gain margin. Doyle (1978) proved LQG can lose these. (a) Why does inserting the Kalman filter destroy the guaranteed margins? (b) Name the standard fix and one sentence on how it works.

Recall Solution

(a) The margin guarantees are a property of the full-state feedback loop measured at the plant input. The Kalman filter inserts extra dynamics () between the measurement and the control, reshaping the loop transfer function; that reshaping can shrink the phase/gain margins to arbitrarily small values. Separation preserves optimality of the gains, not robustness of the loop. (b) LQG/LTR: you deliberately push the process-noise weight toward infinity (or design at the plant output), which drags the Kalman gain so large that the estimator becomes nearly transparent — the LQG loop transfer function then recovers the full-state LQR loop shape and gets its margins back. (Alternatively, H-infinity Control optimises a robustness bound directly.)

L5.3 — Prove the separation eigenvalue split (2×2, symbolic)

For general scalar , show algebraically that the eigenvalues of are exactly and .

Recall Solution

Characteristic polynomial: For a triangular matrix the determinant is the product of the diagonal: Setting this to gives roots and — the off-diagonal never appears. The in the lower-left is exactly what makes the determinant factor this way. This is the separation principle in two lines.

Figure — LQG — LQR + Kalman filter, separation principle

Recap ladder

Recall One-line summary of each level

L1 Recognition ::: Know what each symbol/piece is and which noise grows . L2 Application ::: Solve a scalar Riccati and read off , , poles. L3 Analysis ::: Explain why poles split yet performance still degrades. L4 Synthesis ::: Design a complete scalar LQG from a blank page. L5 Mastery ::: State existence conditions, the robustness footgun, and prove separation.