Skip to main content

State model of two-source RLC circuit

Short answer

Choose states x1=i1 (left inductor), x2=i2 (right inductor), x3=vC. Then x' = [ -1 0 -0.5; 0 -3 1; 0.5 -0.5 0 ] x + [0.5 0; 0 -1; 0 0] [V1; V2], output y=vC = [0 0 1]x.

Develop state space model for circuit below. [Figure: two-source circuit; source V1 on the left and V2 on the right; top branch: V1(+) – 2 Ω – node A – 1 H – V2(+); bottom branch: V1(−) – 2 H – node B – 3 Ω – V2(−); 2 F capacitor connected between node A and node B]

Choose the inductor currents and the capacitor voltage as states. The left loop current flows through 2 Ω and 2 H (in series); the right loop current flows through 1 H and 3 Ω (in series); the capacitor carries the difference.

  • x1=i1x_1 = i_1: current in the 2 H inductor (left loop, clockwise)
  • x2=i2x_2 = i_2: current in the 1 H inductor (right loop, from A towards V2V_2)
  • x3=vC=vA−vBx_3 = v_C = v_A - v_B: voltage on the 2 F capacitor
     2 ohm   A    1 H
  +--/\/\/--+---UUUU---+
  |   i1 -> |  i2 ->   |
 (V1)      === 2F     (V2)
  |         |          |
  +--UUUU---+--/\/\/---+
      2 H   B   3 ohm

Left loop (KVL)

V1=2i1+vC+2di1dt  ⇒  x˙1=−x1−0.5x3+0.5V1V_1 = 2i_1 + v_C + 2\frac{di_1}{dt} \;\Rightarrow\; \dot{x}_1 = -x_1 - 0.5x_3 + 0.5V_1

Right loop (KVL)

From A through 1 H, V2V_2 and 3 Ω back to B:

vC=1⋅di2dt+V2+3i2  ⇒  x˙2=−3x2+x3−V2v_C = 1\cdot\frac{di_2}{dt} + V_2 + 3i_2 \;\Rightarrow\; \dot{x}_2 = -3x_2 + x_3 - V_2

Capacitor (KCL at A)

2dvCdt=i1−i2  ⇒  x˙3=0.5x1−0.5x22\frac{dv_C}{dt} = i_1 - i_2 \;\Rightarrow\; \dot{x}_3 = 0.5x_1 - 0.5x_2

State model

[x˙1x˙2x˙3]=[−10−0.50−310.5−0.50][x1x2x3]+[0.500−100][V1V2]\begin{bmatrix} \dot{x}_1 \\ \dot{x}_2 \\ \dot{x}_3 \end{bmatrix} = \begin{bmatrix} -1 & 0 & -0.5 \\ 0 & -3 & 1 \\ 0.5 & -0.5 & 0 \end{bmatrix}\begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} + \begin{bmatrix} 0.5 & 0 \\ 0 & -1 \\ 0 & 0 \end{bmatrix}\begin{bmatrix} V_1 \\ V_2 \end{bmatrix}

Output: no output is marked, so the capacitor voltage is taken as output:

y=vC=[001][x1x2x3]+[00][V1V2]y = v_C = \begin{bmatrix} 0 & 0 & 1 \end{bmatrix}\begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} + \begin{bmatrix} 0 & 0 \end{bmatrix}\begin{bmatrix} V_1 \\ V_2 \end{bmatrix}

(For the current in V2V_2 as output, use C=[0    1    0]C = [0 \;\; 1 \;\; 0].)

✓ Answer checked by Claude Opus 5.5 (high effort)

All Control Systems chapter 8 questions →