Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Knobs, insides and dials
Think of a car. There are inputs you control (pedals, steering), an internal state you can’t see directly (exact speed of each wheel, engine temperature), and outputs you can see (the speedometer). A state-space model writes down how inputs change the state and how the state shows up on the dials. Once a system is in this form, decades of control theory apply to it, whether it’s a car, a drone or a satellite.
Flight software, autopilots, robot arm controllers and Kalman filters all run on state-space models. Before any controller is designed, engineers check controllability and observability: can the actuators actually steer every mode, and can the sensors actually see it? A poorly placed sensor can make a mode invisible, and an under-actuated design can make a mode uncontrollable.
- 1. In a state-space model, u is…
- 2. The state x is…
- 3. A speedometer reading is an…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Standard form
with (state), (inputs) and (outputs).
Example: mass–spring–damper
With state and force input:
Solution with input
The poles are the eigenvalues of A.
- 1. For n states, m inputs, p outputs, B is…
- 2. The poles of a state-space model are…
- 3. DC gain of a mass–spring with position output:
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.Controllability and observability (Kalman)
The system is controllable iff : any state can be reached. It’s observable iff : the state can be reconstructed from outputs. These are prerequisites for pole placement, LQR and Kalman filtering (A10).
Transfer function and frequency response
Laplace transform with : . The poles of G are among the eigenvalues of A. For sinusoidal input at , the steady output has gain and phase (Bode plots). The DC gain is .
Linearization
For with equilibrium , set and at . It’s valid for small deviations.
Exact discretization (zero-order hold)
With input constant over each sample period T: , where and . Both come from one exponential of the block matrix .
- 1. Controllability is tested with…
- 2. G(s) =
- 3. ZOH discretization gives A_d =
Level 3: Advanced
★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.Why the Kalman rank test works
By Cayley–Hamilton, is a combination of lower powers. So the reachable subspace from , the span of over all t, equals . Full rank means every direction is reachable. ∎ Observability is dual: is observable iff is controllable.
ZOH block exponential
Let with . Then , whose exponential has top blocks . ∎
Poles under discretization
The eigenvalues of are . The left half-plane maps into the unit disk. A good sample rate keeps .
Exercise 3.1: is (A, B) = ([[1, 0], [0, 2]], [1, 0]ᵀ) controllable?
has rank 1, so no. The second mode receives no input.
- 1. The Kalman test stops at A^(n−1)B because of…
- 2. Observability of (A, C) is equivalent to controllability of…
- 3. A continuous pole at s = −2 sampled at T = 0.1 maps to z =
Level 4: Expert
★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.Linearizing a planar quadrotor at hover
A planar quadrotor has state and inputs total thrust T and pitch torque τ. Hover () is an equilibrium. Linearization gives , and , a chain of integrators: torque → attitude → horizontal acceleration. The Kalman tests show:
- with thrust and torque, all 6 states are controllable; with thrust alone, only the vertical channel (rank 2);
- position measurements make the state fully observable; an attitude sensor alone sees only and .
The linear model tracks the nonlinear quadrotor to 0.06% for a gentle torque pulse, but is off by 17% for an aggressive one.
State-space models in AI, robotics and aerospace
- Flight control: linearized aircraft and spacecraft models at trim points, gain scheduling across the envelope.
- Estimation: Kalman filters require (A, C) observable. Sensor placement studies use observability Gramians.
- Learning: system identification fits A, B, C from data (subspace methods, DMD); Koopman and linear state-space neural models (S4, Mamba).
- Digital control: every embedded controller runs a discretized model at a fixed sample rate.
References
- K. Åström, R. Murray (2021). Feedback Systems: An Introduction for Scientists and Engineers, 2nd ed. Princeton. Ch. 6–8.
- R. Kalman (1960). “On the general theory of control systems.” Proc. 1st IFAC Congress.
- G. Franklin, J. D. Powell, A. Emami-Naeini (2019). Feedback Control of Dynamic Systems, 8th ed. Pearson.
- G. Franklin, J. D. Powell, M. Workman (1998). Digital Control of Dynamic Systems, 3rd ed. Addison-Wesley.
- C. Van Loan (1978). “Computing integrals involving the matrix exponential.” IEEE TAC, 23(3).
- R. Mahony, V. Kumar, P. Corke (2012). “Multirotor aerial vehicles: modeling, estimation, and control of quadrotor.” IEEE Robotics & Automation Magazine, 19(3).
- P. Van Overschee, B. De Moor (1996). Subspace Identification for Linear Systems. Kluwer.