Write the state space equation for the following circuit.
[Circuit: a voltage source V(t) (+ at top) in series with a resistor R, an inductor L and a capacitor C, forming a single loop; the loop current i(t) flows from the source's + terminal through R and L to C.]
10 marks · directive: Write
The core of a good answer
Taking the inductor current i(t) and the capacitor voltage v_C(t) as state variables, the series RLC circuit is described by d/dt [i, v_C]ᵀ = [[−R/L, −1/L], [1/C, 0]] [i, v_C]ᵀ + [1/L, 0]ᵀ V(t), with output, for example, v_C = [0 1] x.
An outline written by upsc.help, not an official UPSC answer; every fact checked by a separate review. How we work
What the question asks
The question asks for a state model of a single loop series RLC circuit driven by V(t). A complete answer chooses state variables (energy storing elements), writes KVL and the capacitor relation as first order equations, and puts them in the standard matrix form ẋ = Ax + Bu, y = Cx + Du, naming the input and an output.
Answer outline
Introduction
Choose the state variables as the quantities that describe the stored energy: the inductor current x₁ = i(t) (energy ½Li²) and the capacitor voltage x₂ = v_C(t) (energy ½Cv_C²). The input is u = V(t).
Step 1: Kirchhoff's voltage law around the loop
- V(t) = R i + L di/dt + v_C
- so di/dt = −(R/L) i − (1/L) v_C + (1/L) V(t)
Step 2: Capacitor equation
- i = C dv_C/dt
- so dv_C/dt = (1/C) i
Step 3: Matrix form ẋ = Ax + Bu
- x = [i, v_C]ᵀ, u = V(t)
- A = [[−R/L, −1/L], [1/C, 0]]
- B = [1/L, 0]ᵀ
- ẋ₁ = −(R/L)x₁ − (1/L)x₂ + (1/L)u
- ẋ₂ = (1/C)x₁
Step 4: Output equation y = Cx + Du
- If the capacitor voltage is the output: y = v_C = [0 1] x, D = 0
- If the current is the output: y = i = [1 0] x, D = 0
- Voltage across R as output: y = [R 0] x
Step 5: Check
- Characteristic equation |sI − A| = s² + (R/L)s + 1/(LC) = 0, the familiar series RLC equation
- Transfer function V_C(s)/V(s) = C(sI − A)⁻¹B = (1/LC)/(s² + (R/L)s + 1/(LC)), which matches the impedance divider (1/sC)/(R + sL + 1/sC)
Conclusion
The circuit is second order (two independent storage elements), so the state model has two states; the eigenvalues of A are the natural frequencies of the RLC loop, with ωₙ = 1/√(LC) and damping ratio ζ = (R/2)√(C/L).
Examples and data to cite
- An alternative valid choice is x₁ = q (capacitor charge) and x₂ = i = dq/dt, giving A = [[0, 1], [−1/(LC), −R/L]] and B = [0, 1/L]ᵀ (phase variable form); this is the same system expressed in another basis.
- Phase variable form for the output v_C: with x₁ = v_C and x₂ = dv_C/dt, A = [[0, 1], [−1/(LC), −R/L]], B = [0, 1/(LC)]ᵀ.
Facts to remember
- Inductor currents and capacitor voltages are natural state variables because they fix the stored energy (½Li² and ½Cv²).
- The minimum number of state variables is usually equal to the order of the system's differential equation and, for electric circuits, often equal to the number of energy storage elements (inductors and capacitors).
- Standard state model: ẋ = Ax + Bu, y = Cx + Du; the transfer function is G(s) = C(sI − A)⁻¹B + D.
- The eigenvalues of A are the poles of the transfer function.