For circuits, we can derive a state-variable model by:
- Find storage elements (inductances and capacitances )
- Consider energy stored as and
Consider the series RLC circuit shown below.
In this circuit the energy is stored in the capacitor and in the inductor.
- The energy stored in the capacitor is
- The energy stored in the inductor is .
Thus we choose and to be our state variables.
KVL gives us:
Since is the voltage across a capacitor, we have
Thus, the state-variable model in matrix form is: