Skip to main content

Controllability & Observability: Matrix vs Gramian

· 3 min read
Guangze Yang
Master of Control System, Ibaraki University

In control theory, controllability and observability are two fundamental concepts that describe how inputs influence the state of a system, and how outputs reveal the system’s internal state.

There are two main mathematical tools to analyze them:

  • Controllability / Observability Matrices
  • Controllability / Observability Gramians

Although they serve the same purpose (checking controllability and observability), they provide different perspectives.


1. Controllability Matrix

For a linear system

x˙(t)=Ax(t)+Bu(t),\dot{x}(t) = A x(t) + B u(t),

the controllability matrix is

C=[B,AB,A2B,,An1B].\mathcal{C} = [B, AB, A^2B, \dots, A^{n-1}B].
  • The system is controllable if

    rank(C)=n.\text{rank}(\mathcal{C}) = n.

👉 Interpretation: This matrix checks whether inputs can span the entire state space.

👉 Limitation: It only gives a binary answer (controllable or not), without quantifying how easy it is to control.


2. Observability Matrix

For the system output

y(t)=Cx(t),y(t) = Cx(t),

the observability matrix is

O=[CCACAn1].\mathcal{O} = \begin{bmatrix} C \\ CA \\ \vdots \\ CA^{n-1} \end{bmatrix}.
  • The system is observable if

    rank(O)=n.\text{rank}(\mathcal{O}) = n.

👉 Interpretation: It checks whether outputs provide enough information to reconstruct the entire state.

👉 Limitation: Like controllability matrix, it does not measure the degree of observability.


3. Controllability Gramian

If the system is stable, the controllability Gramian is defined as

Wc=0eAτBBTeATτdτ.W_c = \int_0^\infty e^{A\tau} B B^T e^{A^T \tau} d\tau.

It satisfies the Lyapunov equation:

AWc+WcAT+BBT=0.A W_c + W_c A^T + B B^T = 0.
  • The system is controllable if WcW_c is positive definite.

  • The minimum control energy to reach a state xTx_T is

    Emin(xT)=xTTWc1xT.E_{\min}(x_T) = x_T^T W_c^{-1} x_T.

👉 Interpretation: The Gramian describes how much input energy is needed to move the system in each state direction.


4. Observability Gramian

The observability Gramian is defined as

Wo=0eATτCTCeAτdτ,W_o = \int_0^\infty e^{A^T\tau} C^T C e^{A\tau} d\tau,

and satisfies

ATWo+WoA+CTC=0.A^T W_o + W_o A + C^T C = 0.
  • The system is observable if WoW_o is positive definite.
  • xTWoxx^T W_o x measures how much output energy is generated from the state xx.

👉 Interpretation: The Gramian quantifies how “visible” different state directions are from the outputs.


5. Matrix vs Gramian

ToolPurposeCriterionMeaningLimitation
Controllability Matrix C\mathcal{C}Check controllabilityrank(C)=n\text{rank}(\mathcal{C})=nCan input affect all states?Only Yes/No
Observability Matrix O\mathcal{O}Check observabilityrank(O)=n\text{rank}(\mathcal{O})=nCan output reveal all states?Only Yes/No
Controllability Gramian WcW_cQuantify controllabilityWc>0W_c > 0Input energy required to reach statesRequires stability
Observability Gramian WoW_oQuantify observabilityWo>0W_o > 0Output energy generated by statesRequires stability

6. Conclusion

  • Matrices (controllability/observability) → algebraic tools for a binary test.

  • Gramians (controllability/observability) → energy-based tools for a quantitative measure.

  • Both are equivalent in deciding controllability and observability, but Gramians are essential in advanced applications such as:

    • Optimal control (minimum-energy control problems)
    • Model reduction (balanced truncation)
    • System sensitivity analysis

👉 In short:

  • Matrices tell you if the system is controllable/observable.
  • Gramians tell you how much control or observation effort is required.