Linear Circuit Analysis


Series RLC Circuits

Consider the series RLC circuit shown in Fig. Fig. 1 for $t \ge 0$, driven by a voltage source $V(t)$. We include the source to keep the formulation general, however, the same derivation applies to the source-free case by simply taking $I(t)=0$ for $t\ge0$.

V(t) + vC(t) i(t) C + vL(t) L + vR(t) R
Fig. 1. Series RLC circuit shown for $t\ge 0$. Depending on whether the circuit is forced or not for $t\ge 0$, the voltage source might exist in the circuit or be replaced with a short circuit.

Differential Equation for $i(t)$

To find the governing differential equation for this circuit, we can apply Kirchhoff's voltage law $$\begin{equation}V(t) = v_R(t) + v_L(t) + v_C(t)\end{equation}$$ where $v_R(t)$, $v_L(t)$, and $v_C(t)$ are the voltages across the resistor, inductor, and capacitor, respectively. Using the constitutive relations for these elements, we can write the above equation as $$\begin{equation}V(t) = R i(t) + L \frac{di(t)}{dt} + \frac{1}{C} \int_0^t i(t) dt\end{equation}$$ where $i(t)$ is the current through the series RLC circuit. Differentiating both sides of the above equation with respect to time, we obtain $$\begin{equation}\frac{dV(t)}{dt} = R \frac{di(t)}{dt} + L \frac{d^2i(t)}{dt^2} + \frac{1}{C} i(t)\end{equation}$$ Dividing both sides by $L$ and rearranging the terms, we obtain $$\begin{equation}\frac{d^2i(t)}{dt^2} + \frac{R}{L} \frac{di(t)}{dt} + \frac{1}{LC} i(t) = \frac{1}{L} \frac{dV(t)}{dt}\end{equation}$$ This is a second-order linear differential equation with constant coefficients which describes the behavior of the circuit. Comparing it with the general form of the second-order differential equation, we identify $$\begin{equation} \alpha = \frac{R}{2L}, \quad \omega_0 = \frac{1}{\sqrt{LC}}, \quad f(t) = \frac{1}{L} \frac{dV(t)}{dt} \end{equation}$$ To solve the above differential equation, we first need to find the natural response $i_n(t)$ by solving the corresponding homogeneous equation. Then, if the right hand side is not equal to zero, we need to find the particular solution $i_p(t)$ depending on the form of the forcing function $f(t)$. Finally, the total response of the circuit is given by $i(t) = i_n(t) + i_p(t)$, where the constants in the natural response are determined by the initial conditions of the circuit.

Solution for $i(t)$

As discussed above, the solution of the differential equation depends on the numerical values of $\alpha$ and $\omega_0$. To simplify the presentation, consider the case when $V(t)=V_0$ is constant (where $V_0$ can also be $0$).

V0 + vC(t) i(t) C + vL(t) L + vR(t) R
Fig. 2. Series RLC circuit with constant voltage source at $t\ge 0$. Before $t=0$ the configuration of the circuit might have been different.
  • If $\alpha > \omega_0$, the roots $s_1$ and $s_2$ are real and distinct. In this case, the natural response is overdamped and is given by $$\begin{equation}i(t) = A_1 e^{s_1 t} + A_2 e^{s_2 t}\end{equation}$$ where $s_{1,2} = -\alpha \pm \sqrt{\alpha^2 - \omega_0^2}$.
  • If $\alpha = \omega_0$, the roots $s_1$ and $s_2$ are real and equal. In this case, the natural response is critically damped and is given by $$\begin{equation}i(t) = (A_1 + A_2 t) e^{-\alpha t}\end{equation}$$
  • If $\alpha \lt \omega_0$, the roots $s_1$ and $s_2$ are complex conjugates. In this case, the natural response is underdamped and is given by $$\begin{equation}i(t) = e^{-\alpha t} \left[ A_1 \cos(\omega_d t) + A_2 \sin(\omega_d t) \right]\end{equation}$$ where $\omega_d=\sqrt{\omega_0^2-\alpha^2}$.

To find the integration constants we need two initial conditions. These initial conditions come from the initial voltage across the capacitor and the current through the inductor (at $t=0^+$), which are equal to their values at $t=0^-$ (the voltage across a capacitor and the current through an inductor are continuous). $$\begin{equation} i(0^+) = i(0^-) \end{equation}$$ $$\begin{equation} L\frac{di(t)}{dt}\Big|_{t=0^+} = V_0 - R i(0^-) - v_C(0^-) \end{equation}$$ where $v_C(0^-)$ is the voltage across the capacitor and $i(0^-)$ is the current through the inductor just before the perturbation. We can write these conditions because the voltage across a capacitor and the current through an inductor cannot change instantaneously. These equations can be used to find $A_1$ and $A_2$.

The voltages across the resistor and inductor can be computed easily once you compute $i(t)$: $$\begin{equation}v_R(t) = R i(t)\end{equation}$$ $$\begin{equation}v_L(t) = L \frac{di(t)}{dt}\end{equation}$$ To compute the voltage across the capacitor, you can use either of the following equations: $$\begin{equation}v_C(t) = V_0 - v_R(t) - v_L(t)\end{equation}$$ $$\begin{equation}v_C(t) = v_C(0^-) + C \int_0^t i(t) dt\end{equation}$$

Alternative Solution for $v_C(t)$

It is apparent from the previous discussion that any voltage or current in the circuit can be expressed in terms of exponentials and sine and cosine functions. Therefore, when solving second-order transient problems, it may be more convenient to use the general solution forms described above. For instance, assuming again the case of voltage source is constant and equal to $V_0$ for $t\ge 0$, the voltage across the capacitor can be derived as follows.

  • If $\alpha > \omega_0$, the roots $s_1$ and $s_2$ are real and distinct. In this case, the natural response is overdamped and is given by $$\begin{equation}v_C(t) = V_0 + A_1 e^{s_1 t} + A_2 e^{s_2 t}\end{equation}$$ where $s_{1,2} = -\alpha \pm \sqrt{\alpha^2 - \omega_0^2}$.
  • If $\alpha = \omega_0$, the roots $s_1$ and $s_2$ are real and equal. In this case, the natural response is critically damped and is given by $$\begin{equation}v_C(t) = V_0 + (A_1 + A_2 t) e^{-\alpha t}\end{equation}$$
  • If $\alpha \lt \omega_0$, the roots $s_1$ and $s_2$ are complex conjugates. In this case, the natural response is underdamped and is given by $$\begin{equation}v_C(t) = V_0 + e^{-\alpha t} \left[ A_1 \cos(\omega_d t) + A_2 \sin(\omega_d t) \right]\end{equation}$$ where $\omega_d=\sqrt{\omega_0^2-\alpha^2}$.

The integration constants should be found from the initial conditions. Analyze the circuit at $t=0^-$ and apply the appropriate initial conditions for capacitors and inductors. At $t=0^+$ we can use the following conditions, derived by imposing continuity of the capacitor voltage and inductor current, respectively: $$\begin{equation} v_C(0^+) = v_C(0^-) \end{equation}$$ $$\begin{equation} C\frac{dv_C(t)}{dt}\Big|_{t=0^+} = i_L(0^-) \end{equation}$$ where $v_C(0^-)$ is the voltage across the capacitor and $i_L(0^-)$ is the current through the inductor at $t=0^-$.

The same method can be applied to compute other voltages and currents in the circuit. This approach is particularly convenient when computing the capacitor voltage and inductor current because one of the two initial conditions is often easy to obtain (continuity of the inductor current and capacitor voltage).

Examples of Solved Problems
See also