Advanced: state feedback and observers

12 min read
On this page

A thermal model may need only temperature, but motion needs position and velocity even when the sensor reports position alone. This chapter develops state feedback and estimation using dynamic models, poles and basic matrix operations.

Two first-order equations

A unit-mass, undamped motion plant satisfies . Define , :

The first row advances position using velocity; the second advances velocity using acceleration. One measured output does not reduce the system to one state. Here is an output matrix, not the controller transfer function used earlier.

Controllability and stabilizability

The controllability matrix is . Here

has rank 2. Inputs can influence both states. This finite-time reachability result concerns an unconstrained linear model; bounded actuators cannot achieve arbitrary transitions arbitrarily fast.

For and , the second unstable state cannot be influenced. No first-channel feedback can stabilize it. Stabilizing feedback only requires stabilizability: uncontrollable modes must already be stable, a weaker condition than full controllability.

Place state-feedback poles

Set . The characteristic polynomial of is

Desired poles −1 and −2 give , hence . Position feedback restores the origin; velocity feedback supplies damping. This is regulation to zero. Tracking a nonzero reference needs a feasible reference equilibrium and feedforward, or integral augmentation.

Observability and an observer

The observability matrix is . With position measurement,

has rank 2. One position measurement cannot determine velocity, but its time history together with known input can. Measuring only velocity, , gives rank 1: an initial absolute-position offset is invisible.

Differencing noisy positions can amplify noise. An observer predicts with the model and corrects using measurement innovation:

For exact models without noise, error obeys . Choosing places error poles at −4 and −5.

Preparing the visual
Advanced: state feedback and observers · Experiment

Double integrator, K=[2,3], true initial state [1,0], estimate [0,0]. L=[2α,α²] gives repeated poles −α. Measurement noise is a fixed-amplitude sin(30t), not white noise; no action saturation.

The true state starts at position 1, velocity 0; the estimate starts at zero. Control uses . Vary observer speed and compare true and estimated states and action. Optional noise is a fixed sinusoid for reproducibility, not random white noise.

What separation guarantees

In coordinates ,

This block-triangular matrix has the union of controller and observer-error eigenvalues. The exact unconstrained LTI model therefore permits separate designs. Saturation, model errors, delays and noise need additional analysis.

Faster observer poles typically mean stronger measurement gains and more noise in estimates and action. Kalman filtering chooses gains from explicit process and measurement covariance models; its optimality depends on the stated assumptions. Detectability permits asymptotic estimation when any unobservable modes are already stable.

Check your understanding

Can velocity alone reveal the absolute position of a stationary object?

Reasoning

No. Different position offsets with identical velocity produce identical outputs. Add a position reference or acknowledge the unobservable state.

For , where are the observer poles? Should grow without limit?

Reasoning

The polynomial is , giving repeated poles at . Gains grow with and , so noise, discretization and model uncertainty limit useful speed.

Further reading

The Caltech course provides feedback and estimation material. python-control place supports pole assignment; check controllability, repeated-pole and numerical limitations.