Controllability Matrix

The controllability matrix is the matrix built from B, AB, A^2B, and so on that tells you whether a state-space circuit model is controllable. In Electrical Circuits and Systems II, you use it to test whether inputs can drive the system to any state.

Last updated July 2026

What is the Controllability Matrix?

In Electrical Circuits and Systems II, the controllability matrix is the quick test you use to see whether a state-space model can be driven anywhere you want by the input. For a system with state matrix A and input matrix B, it is written as C = [B, AB, A^2B, ..., A^(n-1)B], where n is the number of state variables.

The idea behind that stack of matrices is simple: B shows the direct effect of the input on the states, AB shows what happens after one step of system dynamics, A^2B after two steps, and so on. If those columns span the whole state space, then the input can influence every state direction. If they do not, some parts of the system are stuck no matter what input you apply.

The test is rank. If the controllability matrix has full rank, meaning its rank equals the number of states, the system is controllable. If the rank is lower, the system is not fully controllable, which means there are initial states you cannot move out of or target states you cannot reach.

This shows up in state-space work more than in basic circuit equations because you are not just solving for voltages and currents, you are asking whether the system can be steered. For example, in a circuit model with inductors and capacitors, one input source may not be able to affect every stored-energy state equally. The controllability matrix makes that limitation visible.

A common mistake is to treat controllability like a property of the circuit alone. It depends on the specific A and B matrices, so changing the input location, the chosen state variables, or the model can change the result. That is why you always build the matrix from the exact state-space form you are analyzing.

Why the Controllability Matrix matters in Electrical Circuits and Systems II

The controllability matrix matters because it tells you whether your circuit model can actually be controlled with the inputs you have. In state-space analysis, that question comes up before you try to design a controller, tune a response, or place poles. If the system is not controllable, no amount of clever control law design can force every state to behave the way you want.

In Electrical Circuits and Systems II, this is especially useful when you work with systems that have multiple energy-storage elements, like RC, RL, or RLC networks written in state variables. Some inputs can reach every capacitor voltage and inductor current, while others cannot. The controllability matrix helps you check that before you build a control strategy.

It also connects directly to later topics like controller design and observers. If a mode is uncontrollable, it can limit what feedback methods can do. That makes this matrix a gatekeeping tool: it tells you whether the model is worth pushing forward into design, or whether the setup itself needs to change.

Keep studying Electrical Circuits and Systems II Unit 12

How the Controllability Matrix connects across the course

State-Space Representation

You need the state-space form first because the controllability matrix comes from the A and B matrices. Once you rewrite a circuit in state variables, you can see how inputs drive the stored-energy variables. Without that setup, there is nothing to stack into [B, AB, A^2B, ...].

Controllability

The controllability matrix is the main tool used to test controllability. Controllability is the property, while the matrix is the calculation that checks it. If the matrix has full rank, the system is controllable; if not, some states cannot be reached from the available input.

Kalman Rank Condition

This is the formal rank test tied to the controllability matrix. In practice, you build the matrix and compare its rank to the number of state variables. If the rank matches, the Kalman rank condition says the system is controllable.

Observability Matrix

This is the mirror concept on the output side. The controllability matrix asks whether inputs can reach states, while the observability matrix asks whether outputs can reveal them. In state-space problems, these two matrices often appear together because control and state estimation are linked.

Is the Controllability Matrix on the Electrical Circuits and Systems II exam?

A quiz or problem set usually gives you A and B and asks you to form the controllability matrix, find its rank, and decide whether the circuit model is controllable. You may also be asked what the result means physically, such as whether an input can drive all state variables. The move is not just calculation, it is interpretation: full rank means every state direction can be influenced, while lower rank means at least one mode is out of reach. If the problem changes the input location or state choice, check the matrix again, because controllability can change with the model setup. In some questions, this is a setup step before controller design or pole placement, so the rank test comes first.

The Controllability Matrix vs Observability Matrix

These two are easy to mix up because they both come from state-space models and both use stacked powers of A. The controllability matrix tests whether inputs can move the states, while the observability matrix tests whether the outputs can reveal the states. One is about control, the other is about measurement.

Key things to remember about the Controllability Matrix

  • The controllability matrix is built from B, AB, A^2B, and more powers of A until you reach the number of state variables.

  • If the matrix has full rank, the state-space system is controllable and you can, in principle, drive the states where you want.

  • If the rank is too small, some state directions are unreachable no matter how you choose the input.

  • In circuits, this test matters most after you write the system in state-space form with the exact A and B matrices.

  • A change in input placement or model form can change controllability, so always check the specific system you were given.

Frequently asked questions about the Controllability Matrix

What is the controllability matrix in Electrical Circuits and Systems II?

It is the matrix [B, AB, A^2B, ..., A^(n-1)B] built from a state-space model. You use it to test whether the input can move the circuit from one state to any other state. If it has full rank, the system is controllable.

How do you tell if a system is controllable from the matrix?

Find the rank of the controllability matrix and compare it to the number of states. If the ranks match, the system is controllable. If the rank is lower, at least one part of the state space cannot be reached.

What is the difference between controllability and observability?

Controllability asks whether inputs can drive the state variables where you want them to go. Observability asks whether you can reconstruct those states from the outputs you measure. They are opposite sides of state-space analysis.

Why do we use A and B to build the controllability matrix?

B shows how the input affects the states directly, and A shows how the system dynamics carry that effect forward. By stacking B, AB, A^2B, and so on, you check whether repeated input effects can span all state directions.