State Observer
Turn up observer gain and see a measurement-corrected estimate catch the true motion of a mass on a spring.
Estimate what you can't directly measure
Luenberger RMS err —
open-loop RMS err —
settling (Luenberger) —
init mismatch x̂(0) ≠ x(0)
what to try
- With , the Luenberger trace is just an open-loop sim; it never converges. Bump L₁ up; convergence appears.
- Crank both L's high. Convergence is faster, but the noise pours through. Faster observer = louder estimate. Trade-off.
- Slide the noise σ up. Notice that the Luenberger trace stays close to truth, just visibly noisier. A Kalman filter is a Luenberger observer whose L is recomputed each step to minimize the noise-vs-speed trade-off automatically.
What you are looking at
- True trace
- The plant’s actual position.
- Luenberger trace
- The model’s position estimate with measurement corrections.
- Dashed trace
- The same model running without measurement corrections.
Try this
- Raise observer gain to make the corrected estimate catch up sooner.
- Raise sensor noise to see the corrected estimate stay close to the true motion with more jitter.
Key idea
An observer combines a model with measurement feedback to recover state information the sensor does not directly report.