ControlsPart 4 of 4Advanced · Updated July 30, 2026

State-Space Control

A transfer function relates one input to one output and discards how the internal variables of the system interact. An aircraft’s pitch, roll, yaw and airspeed are coupled through the same control surfaces, and an elevator-to-altitude transfer function does not represent that coupling. State-space models keep the internal variables explicitly and scale to many inputs and outputs.

The state summarises everything needed to predict the future

The state xx is a vector containing everything needed, together with future inputs, to predict the system’s future. A linear system is written as

x˙(t)=Ax(t)+Bu(t),y(t)=Cx(t)+Du(t),\dot{x}(t) = Ax(t) + Bu(t), \qquad y(t) = Cx(t) + Du(t),

where uu is the input vector and yy the output vector. AA governs how the state evolves on its own, BB how the input drives it, CC which combination of states is measured, and DD any direct feedthrough from input to output, which is zero for most physical plants.

u(t)BD++ẋ∫xCA++y(t)
Figure 1.State-space block diagram. The input drives the state through B; the state is integrated and fed back through A; C and D form the output.

The poles are eigenvalues of the A matrix

State-space is the transfer-function algebra of the earlier tutorials written for vectors. The Laplace transform of x˙=Ax+Bu\dot{x}=Ax+Bu with zero initial state gives sX(s)=AX(s)+BU(s)sX(s) = AX(s) + BU(s), so

Y(s)=[C(sI−A)−1B+D]⏟transfer function matrixU(s).Y(s) = \underbrace{\left[C(sI-A)^{-1}B + D\right]}_{\text{transfer function matrix}}U(s).

For a single input and output the bracket is the scalar transfer function G(s)G(s). Since (sI−A)−1(sI-A)^{-1} has denominator det⁡(sI−A)\det(sI-A), the characteristic polynomial of AA, every pole of G(s)G(s) is an eigenvalue of AA. The pole-location results of the Laplace transform tutorial therefore carry over with “pole” read as “eigenvalue of AA”.

Worked example: a second-order transfer function in state form

The second-order system from the classical control tutorial, G(s)=ωn2s2+2ζωns+ωn2G(s) = \dfrac{\omega_n^2}{s^2+2\zeta\omega_n s+\omega_n^2}, corresponds to y¨=−2ζωny˙−ωn2y+ωn2u\ddot{y} = -2\zeta\omega_n\dot{y} - \omega_n^2 y + \omega_n^2 u. Choosing the state x=[y    y˙]Tx = [y\;\; \dot{y}]^T turns this into two first-order equations:

x˙=[01−ωn2−2ζωn]x+[0ωn2]u,y=[10]x.\dot{x} = \begin{bmatrix} 0 & 1 \\ -\omega_n^2 & -2\zeta\omega_n \end{bmatrix} x + \begin{bmatrix} 0 \\ \omega_n^2 \end{bmatrix} u, \qquad y = \begin{bmatrix} 1 & 0 \end{bmatrix} x.

Here det⁡(sI−A)=s2+2ζωns+ωn2\det(sI - A) = s^2 + 2\zeta\omega_n s + \omega_n^2, the denominator of G(s)G(s). Other choices of state variables give different matrices with the same eigenvalues and the same input-output behaviour.

State feedback places the eigenvalues directly

Classical design varies a scalar gain and follows the poles along a fixed root-locus path. State feedback instead feeds back the whole state, u=−Kxu = -Kx, with one gain per state. The closed loop is

x˙=(A−BK)x,\dot{x} = (A-BK)x,

with poles at the eigenvalues of A−BKA-BK. If the system is controllable, KK can be chosen to place these eigenvalues at any desired locations (complex ones in conjugate pairs).

The simplest example is a double integrator, position x1x_1 and velocity x2x_2 of a mass driven by a force: x˙1=x2\dot{x}_1=x_2, x˙2=u\dot{x}_2=u. Under u=−k1x1−k2x2u=-k_1x_1-k_2x_2 the closed loop is x¨1+k2x˙1+k1x1=0\ddot{x}_1+k_2\dot{x}_1+k_1x_1=0, with eigenvalues at the roots of s2+k2s+k1s^2+k_2s+k_1. Comparing with the second-order form, k1=ωn2k_1=\omega_n^2 and k2=2ζωnk_2=2\zeta\omega_n: each gain sets one coefficient of the characteristic polynomial.

Eigenvalues: -1.00 + j1.73, -1.00 − j1.73ζ = 0.50, ωn = 2.00
Figure 2.A double integrator under state feedback u = −k₁x₁ − k₂x₂, released from x₁(0) = 1, x₂(0) = 0. k₁ sets ωₙ² and k₂ sets the damping term.

In Figure 2, increasing k1k_1 makes both states oscillate faster back toward zero, and increasing k2k_2 damps the oscillation. At k22=4k1k_2^2 = 4k_1 the eigenvalues meet on the real axis (critical damping, ζ=1\zeta=1), the fastest return to zero without oscillation for a given k1k_1.

Assumptions and failure modes

  • Controllability. Eigenvalues can be placed arbitrarily only if the input can influence every state, a rank condition on AA and BB. An uncontrollable mode keeps its open-loop eigenvalue whatever KK is chosen.
  • Observability. u=−Kxu=-Kx requires the full state. When only yy is measured, the state must be estimated, which is possible only if yy reveals every state, the corresponding rank condition on AA and CC.
  • An eigenvalue of AA that is uncontrollable or unobservable cancels in C(sI−A)−1BC(sI-A)^{-1}B and does not appear as a pole of the transfer function, although it still governs the internal state.
  • Placing eigenvalues far to the left requires large gains, which amplify sensor noise and can saturate actuators.

Summary

  • A state-space model describes a system by x˙=Ax+Bu\dot{x}=Ax+Bu, y=Cx+Duy=Cx+Du, and extends naturally to several inputs and outputs.
  • Its transfer function is C(sI−A)−1B+DC(sI-A)^{-1}B + D, and its poles are eigenvalues of AA.
  • Full state feedback u=−Kxu=-Kx places the closed-loop eigenvalues of a controllable system at any chosen locations.
  • Controllability and observability are checked before any gain is designed.