Controllability & Observability: Matrix vs Gramian
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
the controllability matrix is
-
The system is controllable if
👉 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
the observability matrix is
-
The system is observable if
👉 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
It satisfies the Lyapunov equation:
-
The system is controllable if is positive definite.
-
The minimum control energy to reach a state is
👉 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
and satisfies
- The system is observable if is positive definite.
- measures how much output energy is generated from the state .
👉 Interpretation: The Gramian quantifies how “visible” different state directions are from the outputs.
5. Matrix vs Gramian
Tool | Purpose | Criterion | Meaning | Limitation |
---|---|---|---|---|
Controllability Matrix | Check controllability | Can input affect all states? | Only Yes/No | |
Observability Matrix | Check observability | Can output reveal all states? | Only Yes/No | |
Controllability Gramian | Quantify controllability | Input energy required to reach states | Requires stability | |
Observability Gramian | Quantify observability | Output energy generated by states | Requires 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.