Solve the Series RLC Circuit

The series RLC circuit is a circuit that contains a resistor, inductor, and a capacitor hooked up in series. The governing differential equation of this system is very similar to that of a damped harmonic oscillator encountered in classical mechanics.

Steps

No Voltage Source

  1. Use Kirchhoff's voltage law to relate the components of the circuit. Kirchhoff's voltage law for a series RLC circuit says that <math>V_{R} + V_{L} + V_{C} = V(t),</math> where <math>V(t)</math> is the time-dependent voltage source. In this section, we investigate the case without this source to obtain the solution to a homogeneous equation. We then tackle the slightly more complicated task of finding the steady-state solution. The diagram above shows an example of an RLC circuit.
    • Electric current <math>I</math> is related to charge by the relation <math>I =
\dot{Q},</math> where <math>Q</math> is electric charge and the dot signifies a time derivative.
    • Ohm's law says that the voltage across a resistor is linearly proportional to the current: <math>V_{R} = IR.</math> This can be written as <math>V_{R} = R\dot{Q}.</math>
    • The voltage across an inductor is given by <math>V_{I} = L\dot{I},</math> where <math>L</math> is the inductance. As before, we can write this as <math>V_{I}
= L\ddot{Q}.</math>
    • The voltage across a capacitor is given by the relation <math>V_{C} = \frac{1}{C}Q.</math>
    • The governing differential equation is then given below.
      • <math>L\ddot{Q} + R\dot{Q} + \frac{1}{C}Q = 0</math>
  1. Relate the coefficients to the standard form of the harmonic oscillator equation.
    • This more applicable form of the equation is given below. We can see from inspection that <math>\omega_{0}^{2} = \frac{1}{LC}</math> and <math>\beta =
\frac{R}{2L}.</math> <math>\omega_{0}</math> refers to the frequency of the system, while <math>\beta</math> is a parameter, also in units of angular frequency, that simplifies calculations. This parameter is called the attenuation and measures how quickly the transient response of the circuit dies away. We can apply this equation to the classical harmonic oscillator as well, or any system whose behavior is predominantly oscillatory in nature. 
      • <math>\ddot{Q} + 2\beta\dot{Q} + \omega_{0}^{2}Q = 0</math>
  1. Solve the characteristic equation to find the complementary solution.
    • The solutions to the characteristic equation are very simple, and we can see why we deal with this equation instead.
      • <math>r^{2} + 2\beta r + \omega_{0}^{2} = 0</math>
      • <math>r = -\beta \pm \sqrt{\beta^{2} - \omega_{0}^{2}}</math>
    • We know that physically, the capacitance is usually a very small quantity. Capacitors are usually measured in nanofarads or microfarads, whereas resistors can be on the order of ohms to megaohms. It is therefore not unreasonable to suggest that <math>\omega_{0}^{2} > \beta^{2}</math> so that the square root is negative and the solutions are oscillatory rather than exponential in nature. From the theory of differential equations, we obtain the complementary solution, where we write <math>\omega_{d} = \sqrt{\omega_{0}^{2} - \beta^{2}}</math> as the damped frequency.
      • <math>Q_{c}(t) = e^{-\beta t}\left(c_{1}\cos\omega_{d}t + c_{2}\sin\omega_{d}t\right)</math>
  2. Rewrite the solution in the form with a phase factor. We can convert this solution into a slightly more familiar form by performing the following manipulation.
    • Multiply the solution by <math>\frac{\sqrt{c_{1}^{2} + c_{2}^{2}}}{\sqrt{c_{1}^{2} + c_{2}^{2}}}.</math>
      • <math>e^{-\beta t}\sqrt{c_{1}^{2} + c_{2}^{2}}\left(\frac{c_{1}}{\sqrt{c_{1}^{2} + c_{2}^{2}}} \cos\omega_{d}t+ \frac{c_{2}}{\sqrt{c_{1}^{2} + c_{2}^{2}}}\sin\omega_{d}t\right)</math>
    • Draw a right triangle with angle <math>\phi,</math> hypotenuse length <math>\sqrt{c_{1}^{2} + c_{2}^{2}},</math> opposite side length <math>c_{1},</math> and adjacent side length <math>c_{2}.</math> Replace the constant <math>\sqrt{c_{1}^{2} + c_{2}^{2}}</math> with a new constant <math>A,</math> denoting amplitude. Now we can simplify the quantities in parentheses. The result is that the second arbitrary constant has been replaced with an angle.
      • <math>\begin{align}Q_{c}(t) &= Ae^{-\beta t}(\sin\phi\cos\omega_{d}t + \cos\phi\sin\omega_{d}t) \\

&= Ae^{-\beta t}\sin(\omega_{d}t + \phi)\end{align}</math>

    • Because <math>\phi</math> is arbitrary, we can also use the cosine function as well. (Mathematically, the two phase factors are different, but in terms of finding the equation of motion given initial conditions, only the form of the solution matters.)
      • <math>Q_{c}(t) = Ae^{-\beta t}\cos(\omega_{d}t + \phi)</math>
  1. Find the time-dependent current. Current is just one derivative away, which is why we solved the problem in terms of charge. In practice, however, it is much easier to measure current than it is to measure charge.
    • <math>I_{c}(t) = A\beta e^{-\beta t}\cos(\omega_{d}t + \phi) - A\omega_{d}e^{-\beta t}\sin(\omega_{d}t + \phi)</math>
    • It turns out that in practice, the attenuation <math>\beta</math> is very small, so <math>\omega_{d} \approx \omega_{0}.</math> This approximation gets better the smaller <math>\beta</math> is.
    • This form of the solution, a linear combination of sine and cosine, suggests that we can again rewrite the solution in terms of just one term. Note that the amplitude and phase factor are mathematically different from the previous term, but as we are not given initial conditions, there is no physical difference.
      • <math>I_{c}(t) = Ae^{-\beta t}\cos(\omega_{d}t + \phi)</math>

Sinusoidal Voltage Source

  1. Consider a sinusoidal voltage source. This voltage source is in the form <math>V(t)
= V_{0}\cos\omega t,</math> where <math>V_{0}</math> is the amplitude of the voltage and <math>\omega</math> is the frequency of the signal. The differential equation is now inhomogeneous. By linearity, any solution to the inhomogeneous equation added to the complementary solution gives the general solution.
    • <math>\ddot{Q} + 2\beta\dot{Q} + \omega_{0}^{2}Q = \frac{V_{0}}{L}\cos\omega t</math>
  1. Use the method of undetermined coefficients to find the particular solution. From the theory of differential equations, we compare the source term to <math>Q_{c}</math> and find if the source contains a term that is <math>t^{n}</math> times a term in <math>Q_{c}</math> or not, where <math>n</math> is 0 or a positive integer. Because there aren't any, the particular solution will take on the following form.
    • <math>Q_{p} = a\cos\omega t + b\sin\omega t</math>
  2. Substitute <math>Q_{p}</math> into the differential equation and equate the two coefficients.
    • After some algebra and comparing the coefficients of <math>\cos\omega t</math> and <math>\sin\omega t,</math> we arrive at a system of algebraic equations.
      • <math>-\omega^{2}a + 2\beta\omega b + \omega_{0}^{2}a = \frac{V_{0}}{L}</math>
      • <math>-\omega^{2}b - 2\beta\omega a + \omega_{0}^{2}b = 0</math>
    • These two equations can be written in a more suggestive form.
      • <math>(\omega_{0}^{2} - \omega^{2})a + (2\beta\omega)b = \frac{V_{0}}{L}</math>
      • <math>(-2\beta\omega)a + (\omega_{0}^{2} - \omega^{2})b = 0</math>
  3. Solve for the coefficients. We solve for <math>b</math> in terms of <math>a,</math> find <math>a,</math> then find <math>b</math> as a result.
    • Use the second equation to solve for <math>b</math> in terms of <math>a.</math>
      • <math>b = \frac{(2\beta\omega)a}{\omega_{0}^{2} - \omega^{2}}</math>
    • Substitute back into the first equation to find <math>a.</math>
      • <math>(\omega_{0}^{2} - \omega^{2})a + \frac{4\beta^{2}\omega^{2}}{\omega_{0}^{2} - \omega^{2}}a = \frac{V_{0}}{L}</math>
      • <math>a = \frac{\frac{V_{0}}{L}(\omega_{0}^{2} - \omega^{2})}{(\omega_{0}^{2} - \omega^{2})^{2} + 4\beta^{2}\omega^{2}}</math>
    • From here, we immediately find <math>b.</math>
      • <math>b = \frac{2\beta\omega V_{0}/L}{(\omega_{0}^{2} - \omega^{2})^{2} + 4\beta^{2}\omega^{2}}</math>
  4. Arrive at the general solution. The coefficients give us the terms that we need in the steady-state solution. The general solution is now simply the sum of the transient and steady-state solutions.
    • <math>Q(t) = Ae^{-\beta t}\cos(\omega_{d}t + \phi) + a\cos\omega t + b\sin\omega t</math>

Resonance

  1. Assume the ansatz steady-state solution <math>Q_{p} = Q(\omega)\cos(\omega t + \delta(\omega))</math>. We have already found the steady-state solution in terms of parameters that we know. Our form of the steady-state solution, a linear combination of sine and cosine, suggests that we can also write it in terms of amplitude and phase factor, just as we did with the transient term. As we will shortly see, this provides a more useful formulation with which to analyze resonance.
  2. Substitute into the differential equation. Now, we solve for the amplitude <math>Q(\omega)</math> and phase <math>\delta(\omega),</math> both functions of the driving frequency <math>\omega.</math>
    • We must make use of the following trigonometric identities in our work.
      • <math>\cos(\omega t + \delta(\omega)) = \cos\omega t\cos\delta(\omega) - \sin\omega t\sin\delta(\omega)</math>
      • <math>\sin(\omega t + \delta(\omega)) = \sin\omega t\cos\delta(\omega) + \cos\omega t\sin\delta(\omega)</math>
    • After substituting and making use of the summation identities, we arrive at the following system of equations.
    • <math>-\omega^{2}Q(\omega)\cos\omega t\cos\delta(\omega) - 2\beta\omega Q(\omega)\sin\delta(\omega) + \omega_{0}^{2}Q(\omega)\cos\delta(\omega) = \frac{V_{0}}{L}</math>
    • <math>\omega^{2}Q(\omega)\sin\delta(\omega) - 2\beta\omega Q(\omega)\cos\delta(\omega) - \omega_{0}^{2}Q(\omega)\sin\delta(\omega) =
0</math>
  1. Solve for the phase factor <math>\delta(\omega)</math>. We can use the second equation to do this.
    • <math>(\omega^{2} - \omega_{0}^{2})\sin\delta(\omega) = 2\beta\omega\cos\delta(\omega)</math>
    • <math>\tan\delta(\omega) = \frac{2\beta\omega}{\omega^{2} - \omega_{0}^{2}}</math>
    • Our previous results suggest that we write out the denominator as <math>\omega_{0}^{2} - \omega^{2}.</math> The difference is primarily one of bookkeeping.
      • <math>\delta(\omega) = \tan^{-1}\frac{-2\beta\omega}{\omega_{0}^{2} - \omega^{2}}</math>
  2. Solve for the amplitude <math>Q(\omega)</math>. We use the first equation to do this.
    • To find <math>\sin\delta(\omega)</math> and <math>\cos\delta(\omega),</math> draw a right triangle with angle <math>\delta,</math> adjacent side length <math>\omega_{0}^{2} - \omega^{2},</math> opposite side length <math>2\beta\omega,</math> and hypotenuse. Make sure to draw the triangle so that <math>\sin\delta(\omega)</math> is negative.
      • <math>\cos\delta(\omega) = \frac{\omega_{0}^{2} - \omega^{2}}{\sqrt{4\beta^{2}\omega^{2} + (\omega_{0}^{2} - \omega^{2})^{2}}}</math>
      • <math>\sin\delta(\omega) = \frac{-2\beta\omega}{\sqrt{4\beta^{2}\omega^{2} + (\omega_{0}^{2} - \omega^{2})^{2}}}</math>
    • We now have all the information needed to find <math>Q(\omega).</math>
      • <math>Q(\omega) = \frac{V_{0}/L}{(\omega_{0}^{2} - \omega^{2})\cos\delta(\omega) - 2\beta\omega\sin\delta(\omega)}</math>
    • After some simplification, we arrive at the following result.
      • <math>Q(\omega) = \frac{V_{0}/L}{\sqrt{4\beta^{2}\omega^{2} + (\omega_{0}^{2} - \omega^{2})^{2}}}</math>
  3. Write the steady-state term in terms of current. Current is once again a derivative away. Note that <math>\tan^{-1}x</math> is an odd function.
    • <math>I(t, \omega) = -\frac{\omega V_{0}/L}{\sqrt{4\beta^{2}\omega^{2} + (\omega_{0}^{2} - \omega^{2})^{2}}}\sin\left(\omega t - \tan^{-1}\frac{2\beta\omega}{\omega_{0}^{2} - \omega^{2}}\right)</math>
  4. Identify the conditions for resonance.
    • Assume that the attenuation is set to 0, or <math>\beta = 0.</math> Then the magnitude of the amplitude of the steady-state term is given as the following.
      • <math>I(\omega) = \frac{\omega V_{0}/L}{\omega_{0}^{2} - \omega^{2}}</math>
    • We see that as <math>\omega \to \omega_{0},</math> the amplitude increases without bound. This condition is called resonance. An RLC circuit satisfies resonance under the following condition.
      • <math>\omega = \omega_{0} = \frac{1}{\sqrt{LC}}</math>
    • The driving force will also have a phase shift of <math>\pi/2</math> relative to the steady-state response when resonance is met.
      • <math>\lim_{\omega\to\omega_{0}}\tan^{-1}\frac{-2\beta\omega}{\omega_{0}^{2} - \omega^{2}} = \frac{\pi}{2}</math>
  5. Find the frequency at which maximum amplitude occurs. One only take the derivative, set it to 0, and solve for <math>\omega.</math> Notice that the <math>\beta</math> term means that the maximum amplitude occurs at a frequency slightly lower than the resonant frequency. But also note that as <math>\beta</math> gets smaller, <math>\omega_{max}</math> gets closer to <math>\omega_{0}.</math>
    • <math>\dot{Q}(\omega) = -\frac{V_{0}}{2L}(4\beta^{2}\omega^{2} + (\omega_{0}^{2} - \omega^{2})^{2})^{-3/2}(8\beta^{2}\omega + 2(\omega_{0}^{2} - \omega^{2})(-2\omega))</math>
    • <math>8\beta^{2}\omega - 4\omega(\omega_{0}^{2} - \omega^{2}) = 0</math>
    • <math>\omega_{max} = \sqrt{\omega_{0}^{2} - 2\beta^{2}}</math>
  6. Find the maximum amplitude. Simply substitute our result, and simplify.
    • <math>\begin{align}Q_{max} &= \frac{V_{0}/L}{\sqrt{4\beta^{2}(\omega_{0}^{2} - 2\beta^{2}) + (\omega_{0}^{2} - \omega_{0}^{2} + 2\beta^{2})^{2}}} \\

&= \frac{V_{0}/L}{\sqrt{4\beta^{2}\omega_{0}^{2} - 4\beta^{4}}} \\ &= \frac{V_{0}/L}{2\beta\sqrt{\omega_{0}^{2} - \beta^{2}}} \\ &= \frac{V_{0}/L}{2\beta\omega_{d}} \\ &= \frac{V_{0}}{R\omega_{d}}\end{align}</math>

    • We may also write our solution in terms of the amplitude at resonance.
      • <math>Q_{max} = Q_{res}\frac{\omega_{0}}{\sqrt{\omega_{0}^{2} - \beta^{2}}}</math>