Flow Lab

Syllabus / Module 14: Applications: Physics & Engineering

Lesson 14.2

Electrical Circuits

RLC circuits as oscillators, Kirchhoff's laws, impedance, filters, and the mechanical–electrical analogy.

Written byClaude Sonnet

🌊
Why this matters for simulation: Analog circuits were once used to solve fluid-flow problems (analog computers).

By the end of this lesson you can…

  • Write Kirchhoff's laws for a series RC, RL, LC or RLC circuit and turn them into an ODE.
  • Map the circuit onto the spring-mass-damper and read $\omega_0$, $\zeta$ and the quality factor $Q$ off $R$, $L$ and $C$.
  • Solve RC and RL charging with the time constant, and classify an RLC step response as underdamped, critically damped or overdamped, with the overshoot.
  • Derive the impedance $Z = R + j\omega L + 1/(j\omega C)$ and explain why it is the Laplace transfer function at $s = j\omega$.
  • Sketch the frequency response (gain and phase) of an RLC circuit and use it to build low-pass, high-pass and band-pass filters, with cutoff $1/(RC)$ and bandwidth $\omega_0/Q$.
  • Write a multi-loop circuit as a matrix system of ODEs and find its normal modes or decay rates as eigenvalues.
On this page
·
  1. Kirchhoff’s laws and three components
  2. RC and RL: first-order charging
  3. The series RLC equation and the analogy
  4. Three regimes and a worked example
  5. Driving the circuit: resonance and impedance
  6. Frequency response and the filters
  7. Multi-loop circuits as systems
  8. The lab
  9. The exercise: gain and step response
  10. Concept checks
  11. Problems
  12. What comes next
  13. Key Takeaways

14.1 Coupled Oscillators & Normal Modes ended by promising an equation from electronics that matches a damped, driven mass on a spring. Here it is. A resistor, an inductor and a capacitor in series obey the second-order ODE of 5.3 Mechanical Vibrations: Spring–Mass–Damper and 5.6 Forced Oscillations & Resonance, so the damping regimes and resonance carry over with new names. Circuits also give the frequency domain its practical form: instead of solving for q(t)q(t), ask what the circuit does to a sine of each frequency. The answer is called impedance, and it is the Laplace transfer function of 6.5 Convolution & Transfer Functions on the imaginary axis.

▶ Video Kirchhoff's laws and the RLC loop, the mass-spring-damper analogy, the three damping regimes, resonance and the Bode plot, and the three filters from one circuitcaptions only
Transcript
  1. Two laws govern every circuit. Kirchhoff's current law says the currents into a node sum to zero. Kirchhoff's voltage law says the voltage drops around a closed loop sum to zero. A resistor gives v equals R i, an inductor gives v equals L times di by dt, and a capacitor gives i equals C times dv by dt. Switch a battery onto a resistor and an empty capacitor, and the voltage law gives R C v dot plus v equals V. The capacitor charges as V times one minus e to the minus t over tau, with time constant tau equal to R C. After one time constant it has reached 63.2 percent, and after 4.6 time constants, 99 percent. For a kilo-ohm and a microfarad, tau is 1 ms.
  2. Add an inductor and the equation turns second order: L q double dot plus R q dot plus q over C equals V of t. Compare it with m x double dot plus c x dot plus k x equals F. The dictionary is exact. Charge is displacement, current is velocity, voltage is force. Inductance is the mass, resistance is the damper, and one over C is the spring. The natural frequency is omega naught equals one over root L C, zeta is R over 2 times root C over L, and the engineer's quality factor is Q equals one over 2 zeta.
  3. Take R equal to 10 ohms, L equal to 10 millihenries, C equal to 10 microfarads, switched onto a 1 volt battery with the capacitor empty. Then omega naught is 3162.28 radians per second, zeta is 0.1581, and Q is 3.162, so the circuit is underdamped. The current first vanishes at pi over omega d, which is 1.0061 milliseconds, and there the capacitor voltage peaks at 1.6047, an overshoot of 60.47 percent. Raise R to 200 ohms. Zeta is 3.162, the poles are minus 513.2 and minus 19,487, and the capacitor creeps up to 0.9211 at 5 ms with no overshoot. The slow pole sets the rise.
  4. Drive the circuit with a sine. Differentiating multiplies by j omega, so the components become impedances: R, j omega L, and one over j omega C, and series impedances add. The reactive part vanishes at omega naught, where Z equals R is smallest and the current largest: resonance. Transform the equation and the current transfer function is one over Z of s, so the impedance is the Laplace transform of the impulse response at s equals j omega. At resonance the capacitor voltage is Q times the source, 3.162 for our circuit. The peak sits slightly lower, at 3082.2 radians per second, with height 3.2026.
  5. Measure the voltage across each component as a fraction of the source, and one circuit gives three filters. The capacitor is a low-pass: gain 1 below omega naught, 10.00 dB at omega naught, and falling at minus 40 dB per decade, minus 39.9 dB at ten times omega naught. The resistor is a band-pass with peak gain exactly 1. The inductor is the mirror image, a high-pass. The band-pass width between the half-power points, minus 3.01 dB, is R over L, which is omega naught over Q. Here the edges are 2701.56 and 3701.56, a width of exactly 1000. An RC low-pass has cutoff one over R C, with phase minus 45 degrees there: 1000 radians per second, 159.15 hertz, for a kilo-ohm and a microfarad.
  6. Give each loop a charge, and a multi-loop circuit becomes a matrix equation, the analog of the last lesson's mass, damper and stiffness system. Take two identical loops, each with 10 millihenries and 10 microfarads, sharing a coupling capacitor of 100 microfarads. The modes are 1, 1 and 1, minus 1. In the first, nothing flows through the coupling capacitor and omega 1 is 3162.28. In the second it is charged twice over and omega 2 is 3464.10 radians per second. Energy beats between the loops every pi over the difference, 10.41 ms. With a 10 ohm resistor in each loop, every mode is an RLC circuit with alpha 500, and zeta 0.1581 and 0.1443.
  7. Resistors and capacitors only dissipate, so a two-stage ladder has no oscillation. The matrix is minus 2, 1, 1, minus 1, and its eigenvalues solve lambda squared plus 3 lambda plus 1 equals 0, so lambda is minus 0.382 and minus 2.618, in units of one over R C. Everything here was linear, which is what made impedance possible. The next lesson, pendulums, leaves that world. The pendulum is the oscillator of this lesson only under the small angle approximation, sine theta about theta. Drop it and the syllabus lists the nonlinear pendulum with elliptic integrals and the separatrix, the driven damped pendulum, a Lagrangian introduction, and the double pendulum, with chaos. Superposition fails there, so impedance does not apply.

Kirchhoff’s laws and three components

Two laws govern every circuit (from memory, from physics; they are conservation laws). Kirchhoff’s current law (KCL): the currents into a node sum to zero, because charge does not pile up at a junction. Kirchhoff’s voltage law (KVL): the voltage drops around a closed loop sum to zero, because the electric potential is single valued. Each component relates its voltage vv to its current i=q˙i = \dot q (qq is charge):

vR=Ri,vL=Ldidt,i=CdvCdtorvC=qC.v_R = Ri, \qquad v_L = L\frac{di}{dt}, \qquad i = C\frac{dv_C}{dt}\quad\text{or}\quad v_C = \frac{q}{C}.

The resistor RR (ohms) dissipates energy at rate Ri2Ri^2. The inductor LL (henries) stores 12Li2\tfrac12Li^2 and resists changes in current. The capacitor CC (farads) stores q2/2Cq^2/2C. The number of inductors plus capacitors sets the order of the ODE.

RC and RL: first-order charging

Put a resistor and a capacitor in series with a battery switched on at t=0t = 0, with the capacitor empty. KVL gives V=Ri+vCV = Ri + v_C, and with i=Cv˙Ci = C\dot v_C:

RC v˙C+vC=V,vC(0)=0⟹vC(t)=V(1−e−t/τ),τ=RC.RC\,\dot v_C + v_C = V, \qquad v_C(0) = 0 \quad\Longrightarrow\quad v_C(t) = V\bigl(1 - e^{-t/\tau}\bigr), \quad \tau = RC .

This is the linear first-order equation of 3.4 Linear First-Order Equations & Integrating Factors. After one time constant the capacitor has charged to 1−e−1=63.2%1 - e^{-1} = 63.2\% of VV, and after 4.6 τ4.6\,\tau to 99%99\% (since e−4.605=0.01e^{-4.605} = 0.01). For R=1 kΩR = 1\,\mathrm{k\Omega} and C=1 μFC = 1\,\mu\mathrm F, τ=1\tau = 1 ms. The series RL circuit is the same equation with the roles swapped: Li˙+Ri=VL\dot i + Ri = V gives i=(V/R)(1−e−t/τ)i = (V/R)(1 - e^{-t/\tau}) with τ=L/R\tau = L/R. For L=10L = 10 mH and R=10 ΩR = 10\,\Omega, τ=1\tau = 1 ms again. The rate −1/τ-1/\tau is the lone eigenvalue.

With LL and CC only, Lq¨+q/C=0L\ddot q + q/C = 0 is a pure oscillator at ω0=1/LC\omega_0 = 1/\sqrt{LC}, energy sloshing between the magnetic and electric fields. Put all three together and you get the main equation.

The series RLC equation and the analogy

A battery (or any source) V(t)V(t) in series with RR, LL, CC. KVL: Li˙+Ri+q/C=V(t)L\dot i + Ri + q/C = V(t), and with i=q˙i = \dot q,

Lq¨+Rq˙+1C q=V(t).L\ddot q + R\dot q + \frac{1}{C}\,q = V(t).

Compare with mx¨+cx˙+kx=F(t)m\ddot x + c\dot x + kx = F(t). The dictionary is exact:

MechanicalElectrical
displacement xxcharge qq
velocity x˙\dot xcurrent ii
force FFvoltage VV
mass mminductance LL
damper ccresistance RR
spring kk1/C1/C
kinetic energy 12mx˙2\tfrac12m\dot x^2magnetic energy 12Li2\tfrac12Li^2
spring energy 12kx2\tfrac12kx^2electric energy q2/2Cq^2/2C

Inductance is inertia, resistance is friction, a small capacitor is a stiff spring. Every result of 5.2 Constant Coefficients & the Characteristic Equation transfers: ω0=1/LC\omega_0 = 1/\sqrt{LC} and

ζ=R2CL,α=R2L=ζω0.\zeta = \frac{R}{2}\sqrt{\frac CL}, \qquad \alpha = \frac{R}{2L} = \zeta\omega_0 .

The quality factor is the engineer’s version of ζ\zeta, Q=1/(2ζ)Q = 1/(2\zeta), that is Q=ω0L/R=1RL/CQ = \omega_0L/R = \frac1R\sqrt{L/C}. Energy decays like e−2αte^{-2\alpha t}, so over one period a fraction 4πα/ω0=2π/Q4\pi\alpha/\omega_0 = 2\pi/Q is lost (large QQ): a high-QQ circuit rings for many cycles. The poles are −α±α2−ω02-\alpha \pm \sqrt{\alpha^2 - \omega_0^2}, always in the left half plane for R>0R \gt 0: a stable spiral for small RR, a stable node for large RR (7.3 Phase Portraits & the Trace–Determinant Plane).

Three regimes and a worked example

With no source, solutions are este^{st} at those poles. Three cases, set by ζ\zeta (or RR against Rcrit=2L/CR_{\mathrm{crit}} = 2\sqrt{L/C}):

  • ζ<1\zeta \lt 1, underdamped: oscillation at ωd=ω01−ζ2\omega_d = \omega_0\sqrt{1 - \zeta^2} under an envelope e−αte^{-\alpha t}.
  • ζ=1\zeta = 1, critically damped: (A+Bt)e−αt(A + Bt)e^{-\alpha t}, the fastest return without overshoot.
  • ζ>1\zeta \gt 1, overdamped: two real decays, and the slow one dominates.

Take R=10 ΩR = 10\,\Omega, L=10L = 10 mH, C=10 μC = 10\,\muF, switched onto a 1 V battery with the capacitor empty. Then ω0=1/10−2⋅10−5=3162.28\omega_0 = 1/\sqrt{10^{-2}\cdot10^{-5}} = 3162.28 rad/s (f0=503.29f_0 = 503.29 Hz), α=R/2L=500 s−1\alpha = R/2L = 500\ \mathrm s^{-1}, ζ=0.1581\zeta = 0.1581, Q=3.162Q = 3.162, and Rcrit=2L/C=63.25 ΩR_{\mathrm{crit}} = 2\sqrt{L/C} = 63.25\,\Omega. So this circuit is underdamped, with ωd=3122.50\omega_d = 3122.50 rad/s. For the step, the capacitor voltage is vC=1−e−αt(cos⁡ωdt+(α/ωd)sin⁡ωdt)v_C = 1 - e^{-\alpha t}\bigl(\cos\omega_dt + (\alpha/\omega_d)\sin\omega_dt\bigr), and the current is i=1ωdLe−αtsin⁡ωdti = \dfrac{1}{\omega_dL}e^{-\alpha t}\sin\omega_dt, which vanishes first at t=π/ωd=1.0061t = \pi/\omega_d = 1.0061 ms. At that instant v˙C=i/C=0\dot v_C = i/C = 0, so vCv_C peaks, with

vCmax⁡=1+e−απ/ωd=1+exp⁡ ⁣(−πζ1−ζ2)=1.6047(60.5% overshoot).v_C^{\max} = 1 + e^{-\alpha\pi/\omega_d} = 1 + \exp\!\Bigl(\frac{-\pi\zeta}{\sqrt{1 - \zeta^2}}\Bigr) = 1.6047 \quad(60.5\%\text{ overshoot}).

The capacitor voltage is 1.60461.6046 at 11 ms, 0.63460.6346 at 22 ms and 1.08051.0805 at 55 ms. Now raise RR to 200 Ω200\,\Omega: ζ=3.162\zeta = 3.162, the poles are −513.2-513.2 and −19 487 s−1-19\,487\ \mathrm s^{-1}, and the capacitor creeps up to 0.92110.9211 at 55 ms with no overshoot. The fast pole is gone within about 0.250.25 ms (five of its time constants) and the slow one, a time constant of 1/513.2=1.951/513.2 = 1.95 ms, sets the rise, close to the RC=2RC = 2 ms of a plain RC circuit: a heavily overdamped oscillator behaves like a first-order one.

Driving the circuit: resonance and impedance

Drive with V(t)=V0cos⁡ωtV(t) = V_0\cos\omega t. After the transient (decaying like e−αte^{-\alpha t}) the circuit follows the source at its frequency. Write the source as the real part of VejωtVe^{j\omega t} (engineers use jj because ii means current) and look for a current IejωtIe^{j\omega t}; the complex numbers VV and II carry amplitude and phase and are called phasors. Differentiating multiplies by jωj\omega and integrating divides by it, so the three components become

VRI=R,VLI=jωL,VCI=1jωC.\frac{V_R}{I} = R, \qquad \frac{V_L}{I} = j\omega L, \qquad \frac{V_C}{I} = \frac{1}{j\omega C}.

These ratios are impedances. Series impedances add:

Z(ω)=R+jωL+1jωC,I=VZ.Z(\omega) = R + j\omega L + \frac{1}{j\omega C}, \qquad I = \frac{V}{Z}.

Parallel impedances add as reciprocals, like resistors. Here ∣Z∣=R2+(ωL−1/ωC)2|Z| = \sqrt{R^2 + (\omega L - 1/\omega C)^2}, and the reactive part vanishes at ω0\omega_0, where Z=RZ = R is smallest and the current amplitude V0/RV_0/R largest, in phase with the source: resonance.

Here is the link to the Laplace transform. Taking transforms with zero initial conditions, Lq¨+Rq˙+q/C=VL\ddot q + R\dot q + q/C = V becomes (Ls2+Rs+1/C)Q(s)=V(s)\bigl(Ls^2 + Rs + 1/C\bigr)Q(s) = V(s), so the current transfer function is I/V=sQ/V=1/(Ls+R+1/(sC))=1/Z(s)I/V = sQ/V = 1/(Ls + R + 1/(sC)) = 1/Z(s). The impedance is the Laplace transform of the circuit’s impulse response, evaluated at s=jωs = j\omega. 13.5 Frequency Response & Bode Plots proves this for the cruise plant. Use Z(s)Z(s) for transients and Z(jω)Z(j\omega) for steady sine.

At resonance, the voltage across the capacitor is ∣VC∣=I/(ω0C)=V0/(Rω0C)=QV0|V_C| = I/(\omega_0C) = V_0/(R\omega_0C) = QV_0, and the inductor has the same magnitude with the opposite sign. For R=10 ΩR = 10\,\Omega the capacitor sees 3.1623.162 times the source voltage. No paradox: the circulating energy is large, and the source only supplies the loss in RR. The peak of ∣VC∣|V_C| sits slightly lower, at ω01−2ζ2=3082.2\omega_0\sqrt{1 - 2\zeta^2} = 3082.2 rad/s, with height 1/(2ζ1−ζ2)=3.20261/(2\zeta\sqrt{1 - \zeta^2}) = 3.2026; for large QQ the two coincide.

Frequency response and the filters

Measure the voltage across each of the three components, as a fraction of the source. Dividing the impedances,

VCV=11−ω2LC+jωRC,VRV=jωRC1−ω2LC+jωRC,VLV=−ω2LC1−ω2LC+jωRC.\frac{V_C}{V} = \frac{1}{1 - \omega^2LC + j\omega RC}, \qquad \frac{V_R}{V} = \frac{j\omega RC}{1 - \omega^2LC + j\omega RC}, \qquad \frac{V_L}{V} = \frac{-\omega^2LC}{1 - \omega^2LC + j\omega RC}.

Using ω0\omega_0 and QQ, the first is 1/(1−(ω/ω0)2+jω/(Qω0))1/(1 - (\omega/\omega_0)^2 + j\omega/(Q\omega_0)). The Bode plot shows 20log⁡10∣H∣20\log_{10}|H| (decibels) and arg⁡H\arg H against log⁡ω\log\omega. For the circuit above, the capacitor output has gain 11 (00 dB) well below ω0\omega_0, passes through Q=3.162Q = 3.162 (10.0010.00 dB, since Q2=10Q^2 = 10) at ω0\omega_0 with phase −90∘-90^\circ, and falls as 1/(ω2LC)1/(\omega^2LC) above it: −39.9-39.9 dB at 10ω010\omega_0, an asymptotic slope of −40-40 dB per decade. Phase goes from 00 to −180∘-180^\circ.

So one circuit, three outputs, three filters:

  • Low-pass (VCV_C): passes slow signals, rejects fast ones.
  • Band-pass (VRV_R): rewrite VR/V=R/ZV_R/V = R/Z as 1/(1+jQ(ω/ω0−ω0/ω))1/\bigl(1 + jQ(\omega/\omega_0 - \omega_0/\omega)\bigr), a peak of gain exactly 11 at ω0\omega_0.
  • High-pass (VLV_L): the mirror image of the low-pass, passing fast signals.

The band-pass bandwidth is the gap between the half-power frequencies, ∣H∣=1/2|H| = 1/\sqrt2 (−3.01-3.01 dB), where Q∣ω/ω0−ω0/ω∣=1Q|\omega/\omega_0 - \omega_0/\omega| = 1: a quadratic with roots ω1,2=ω02+α2∓α\omega_{1,2} = \sqrt{\omega_0^2 + \alpha^2} \mp \alpha, and their difference is exactly

Δω=2α=RL=ω0Q.\Delta\omega = 2\alpha = \frac{R}{L} = \frac{\omega_0}{Q}.

A high-QQ circuit is selective, as a radio tuner needs. For the circuit above the edges are 2701.562701.56 and 3701.563701.56 rad/s, a width of exactly 1000=R/L1000 = R/L (and ω1ω2=ω02\omega_1\omega_2 = \omega_0^2, so ω0\omega_0 is their geometric mean). Change CC and the band slides without changing width.

The simplest filter has only two parts. The RC low-pass of the charging example, measured across CC, has H=1/(1+jωRC)H = 1/(1 + j\omega RC), so

∣H∣=11+(ωRC)2,arg⁡H=−arctan⁡(ωRC).|H| = \frac{1}{\sqrt{1 + (\omega RC)^2}}, \qquad \arg H = -\arctan(\omega RC).

The cutoff is ωc=1/RC\omega_c = 1/RC, the reciprocal of the time constant, where ∣H∣=1/2|H| = 1/\sqrt2 (−3.01-3.01 dB) and the phase is −45∘-45^\circ. For 1 kΩ1\,\mathrm{k\Omega} and 1 μ1\,\muF, ωc=1/τ=1000\omega_c = 1/\tau = 1000 rad/s (159.15159.15 Hz). Measure across RR instead and the same circuit is a high-pass with the same cutoff.

Multi-loop circuits as systems

Give each loop kk a loop charge qkq_k (the charge circulated around it) and write KVL for each. The result is the matrix equation promised at the end of the last lesson:

Lq¨+Rq˙+Sq=V(t),\mathbb L\ddot{\mathbf q} + \mathbb R\dot{\mathbf q} + \mathbb S\mathbf q = \mathbf V(t),

with inductance matrix L\mathbb L, resistance matrix R\mathbb R and “elastance” matrix S\mathbb S of 1/C1/C terms, the analog of Mx¨+Cx˙+Kx=FM\ddot{\mathbf x} + C\dot{\mathbf x} + K\mathbf x = \mathbf F. That expectation was right, with one refinement: MM was diagonal last time, but L\mathbb L need not be, since two coils with overlapping fields have a mutual inductance, a coupling in the mass matrix. A coupling capacitor puts it in S\mathbb S, as a coupling spring did. With resistors the modes decouple only if R\mathbb R is a combination of L\mathbb L and S\mathbb S.

Worked example: two coupled LC loops. Two identical loops each have L=10L = 10 mH and C=10 μC = 10\,\muF and share a coupling capacitor Cc=100 μC_c = 100\,\muF, with voltage (q1−q2)/Cc(q_1 - q_2)/C_c. KVL on each loop, with no source:

Lq¨1+q1C+q1−q2Cc=0,Lq¨2+q2C+q2−q1Cc=0.L\ddot q_1 + \frac{q_1}{C} + \frac{q_1 - q_2}{C_c} = 0, \qquad L\ddot q_2 + \frac{q_2}{C} + \frac{q_2 - q_1}{C_c} = 0 .

This is the two-mass system of the last lesson with m→Lm \to L, k→1/Ck \to 1/C, kc→1/Cck_c \to 1/C_c, so the eigenvectors are (1,1)(1, 1) and (1,−1)(1, -1). In the first, the two loop currents are equal, nothing flows through CcC_c, and ω12=1/(LC)=107\omega_1^2 = 1/(LC) = 10^7. In the second, CcC_c is charged twice over and ω22=(1/C+2/Cc)/L=1.2×107\omega_2^2 = (1/C + 2/C_c)/L = 1.2\times10^7. So ω1=3162.28\omega_1 = 3162.28 and ω2=3464.10\omega_2 = 3464.10 rad/s, and energy beats between the loops every π/(ω2−ω1)=10.41\pi/(\omega_2 - \omega_1) = 10.41 ms. If each loop also contains a resistor R=10 ΩR = 10\,\Omega, then R=RI\mathbb R = RI is proportional to L\mathbb L, so each mode is an RLC circuit with the same α=500 s−1\alpha = 500\ \mathrm s^{-1} and its own ωj\omega_j: ζ1=0.1581\zeta_1 = 0.1581 and ζ2=0.1443\zeta_2 = 0.1443.

Worked example: a two-stage RC ladder. The source VinV_{\mathrm{in}} feeds node 1 through RR, node 1 feeds node 2 through RR, and each node has a capacitor to ground. KCL at each node:

RC v˙1=(Vin−v1)−(v1−v2),RC v˙2=v1−v2.RC\,\dot v_1 = (V_{\mathrm{in}} - v_1) - (v_1 - v_2), \qquad RC\,\dot v_2 = v_1 - v_2 .

In matrix form RC v˙=Av+(Vin,0)TRC\,\dot{\mathbf v} = A\mathbf v + (V_{\mathrm{in}}, 0)^{\mathsf T} with A=(−211−1)A = \begin{pmatrix}-2 & 1\\ 1 & -1\end{pmatrix}, whose eigenvalues solve λ2+3λ+1=0\lambda^2 + 3\lambda + 1 = 0, so λ=(−3∓5)/2=−0.382\lambda = (-3 \mp \sqrt5)/2 = -0.382 and −2.618-2.618 (in units of 1/RC1/RC). There are no oscillations: resistors and capacitors only dissipate. The slow mode, eigenvector (1,1.618)(1, 1.618), has both nodes moving together with time constant 2.618 RC2.618\,RC; the fast one, (1,−0.618)(1, -0.618), with 0.382 RC0.382\,RC. It settles at v1=v2=Vinv_1 = v_2 = V_{\mathrm{in}}, a stable node in the sense of 7.2 Linear Systems & the Eigenvalue Method.

The lab

◆ Interactive Move R, L and C: step, pulse and sine responses in time, and the Bode plot across the capacitor, resistor or inductor

Loading simulation…

The left panel is the time response (input dashed), an exact formula and not a numerical integration. The right panels are the Bode magnitude and phase of the same output, with ω0\omega_0 marked. With the default R=10 ΩR = 10\,\Omega, L=10L = 10 mH, C=10 μC = 10\,\muF:

  1. Step input across the capacitor: ω0=3162.3\omega_0 = 3162.3 rad/s, ζ=0.1581\zeta = 0.1581, Q=3.162Q = 3.162, overshoot 60.47%60.47\%, and the voltage at 11 ms, 1.60461.6046.
  2. Press “critical damping”: RR becomes 63.0 Ω63.0\,\Omega (steps of 0.50.5; the exact value is 63.2563.25) and the ringing disappears.
  3. Sine drive at w/w0=1w/w_0 = 1: the output grows to Q=3.162Q = 3.162 times the input, phase −90∘-90^\circ.
  4. Measure across the resistor: the band-pass edges are 2701.62701.6 and 3701.63701.6 rad/s, and the width 1000.01000.0 equals R/LR/L. Change CC and the width stays; set L=20L = 20 mH and it halves to 500500.
  5. Across the inductor (high-pass) the peak sits just above ω0\omega_0, at the same height 3.20263.2026 as the capacitor.

The exercise: gain and step response

The playground reproduces the multi-loop examples. The exercise builds the capacitor gain from impedances and the step response from the ODE.

🐍 PythonTwo-loop eigenvalues
⌘/Ctrl + Enter
🧪 Coding exerciseExercise: RLC gain and step response
⌘/Ctrl + Enter

Concept checks

✅ Concept check

A series RLC has $R = 5\,\Omega$, $L = 10$ mH and $C = 10\,\mu$F. What is its quality factor $Q = \frac1R\sqrt{L/C}$?

✅ Concept check

In the analogy between a spring-mass-damper and a series RLC circuit, which electrical quantity plays the part of the spring constant $k$?

✅ Concept checkselect all that apply

Select all true statements about the driven series RLC circuit.

✅ Concept check

An RC low-pass uses $R = 1.6\,\mathrm{k\Omega}$ and $C = 100$ nF. What is its $-3$ dB cutoff in hertz?

Problems

✏️ Pen & paperSwitching on an inductor●○○

A 55 V battery is switched onto a series RL circuit with L=50L = 50 mH and R=25 ΩR = 25\,\Omega. Find i(t)i(t), the time to reach 90%90\% of the final current, and the energy stored then.

Show worked solution

τ=L/R=2\tau = L/R = 2 ms and i∞=V/R=0.2i_\infty = V/R = 0.2 A, so i(t)=0.2(1−e−t/2 ms)i(t) = 0.2\bigl(1 - e^{-t/2\,\mathrm{ms}}\bigr) A. Setting e−t/τ=0.1e^{-t/\tau} = 0.1 gives t=τln⁡10=4.605t = \tau\ln10 = 4.605 ms. The current is then 0.180.18 A and the stored energy 12Li2=0.81\tfrac12Li^2 = 0.81 mJ.

✏️ Pen & paperSelectivity●●○

A series RLC has L=1L = 1 mH, C=100C = 100 nF and R=20 ΩR = 20\,\Omega. Find ω0\omega_0, QQ, the bandwidth of the voltage across the resistor, and the two half-power frequencies.

Show worked solution

ω0=1/10−3⋅10−7=105\omega_0 = 1/\sqrt{10^{-3}\cdot10^{-7}} = 10^5 rad/s (15.91515.915 kHz), Q=ω0L/R=5Q = \omega_0L/R = 5, and the bandwidth is R/L=2×104R/L = 2\times10^4 rad/s (3.1833.183 kHz). With α=104\alpha = 10^4, the edges are ω02+α2∓α=100 498.8∓10 000=90 498.8\sqrt{\omega_0^2 + \alpha^2} \mp \alpha = 100\,498.8 \mp 10\,000 = 90\,498.8 and 110 498.8110\,498.8 rad/s.

✏️ Pen & paperImpedance at resonance●●○

A series circuit has R=30 ΩR = 30\,\Omega, L=40L = 40 mH and C=25 μC = 25\,\muF, driven by a 1212 V amplitude source at ω=1000\omega = 1000 rad/s. Find ZZ, the current amplitude and the capacitor voltage amplitude.

Show worked solution

ωL=1000⋅0.04=40 Ω\omega L = 1000\cdot0.04 = 40\,\Omega and 1/(ωC)=1/(1000⋅25×10−6)=40 Ω1/(\omega C) = 1/(1000\cdot25\times10^{-6}) = 40\,\Omega. The reactances cancel, so Z=30 ΩZ = 30\,\Omega (this is exactly ω0=1/0.04⋅25×10−6=1000\omega_0 = 1/\sqrt{0.04\cdot25\times10^{-6}} = 1000). The current amplitude is 12/30=0.412/30 = 0.4 A, in phase with the source. The capacitor voltage is I/(ωC)=0.4⋅40=16I/(\omega C) = 0.4\cdot40 = 16 V, larger than the source, as Q=40/30=1.33Q = 40/30 = 1.33 predicts.

✏️ Pen & paperThe ladder's modes●●●

For the two-stage RC ladder with RC v˙=Av+(Vin,0)TRC\,\dot{\mathbf v} = A\mathbf v + (V_{\mathrm{in}}, 0)^{\mathsf T}, find the eigenvectors of A=(−211−1)A = \begin{pmatrix}-2 & 1\\ 1 & -1\end{pmatrix}, and use them to write v2(t)v_2(t) for a unit step from rest when R=1 kΩR = 1\,\mathrm{k\Omega} and C=1 μC = 1\,\muF. Which mode dominates the late-time approach?

Show worked solution

For λ=(−3+5)/2=−0.382\lambda = (-3 + \sqrt5)/2 = -0.382, (A−λI)u=0(A - \lambda I)\mathbf u = 0 gives u2=(2+λ)u1=1.618u1u_2 = (2 + \lambda)u_1 = 1.618u_1, so u=(1,1.618)\mathbf u = (1, 1.618). For λ=−2.618\lambda = -2.618, u2=−0.618u1u_2 = -0.618u_1, so u=(1,−0.618)\mathbf u = (1, -0.618). The steady state is v∞=(1,1)\mathbf v_\infty = (1, 1), so write v−v∞=c1u1e−0.382t/RC+c2u2e−2.618t/RC\mathbf v - \mathbf v_\infty = c_1\mathbf u_1e^{-0.382t/RC} + c_2\mathbf u_2e^{-2.618t/RC} with v(0)=0\mathbf v(0) = 0: c1+c2=−1c_1 + c_2 = -1 and 1.618c1−0.618c2=−11.618c_1 - 0.618c_2 = -1. Then c1=−0.7236c_1 = -0.7236, c2=−0.2764c_2 = -0.2764, and with RC=1RC = 1 ms,

v2(t)=1−1.1708 e−t/2.618 ms+0.1708 e−t/0.382 msv_2(t) = 1 - 1.1708\,e^{-t/2.618\,\mathrm{ms}} + 0.1708\,e^{-t/0.382\,\mathrm{ms}}.

The slow mode (time constant 2.6182.618 ms) dominates after about 11 ms; v2(0)=0v_2(0) = 0 as it should.

What comes next

Everything here was linear, which is what made impedance possible. The next lesson, 14.3 Pendulums: Linear, Nonlinear, Driven & Double, leaves that world. The pendulum θ¨+(g/ℓ)sin⁡θ=0\ddot\theta + (g/\ell)\sin\theta = 0 becomes the harmonic oscillator of this lesson only under the small-angle approximation sin⁡θ≈θ\sin\theta \approx \theta. Drop it and the syllabus lists the nonlinear pendulum with elliptic integrals and the separatrix, the driven damped pendulum, a Lagrangian introduction and the double pendulum, with chaos. Superposition fails there, so impedance does not apply.

Key Takeaways

  • KCL and KVL plus vR=Riv_R = Ri, vL=L di/dtv_L = L\,di/dt, i=C dvC/dti = C\,dv_C/dt give the ODEs of any circuit; inductors plus capacitors set the order.
  • RC and RL charging have τ=RC\tau = RC or L/RL/R: 63.2%63.2\% after τ\tau, 99%99\% after 4.6τ4.6\tau.
  • Lq¨+Rq˙+q/C=VL\ddot q + R\dot q + q/C = V is the mass-spring-damper with m→Lm \to L, c→Rc \to R, k→1/Ck \to 1/C. Then ω0=1/LC\omega_0 = 1/\sqrt{LC}, ζ=R2C/L\zeta = \frac R2\sqrt{C/L}, Q=1/(2ζ)Q = 1/(2\zeta).
  • For R=10 ΩR = 10\,\Omega, L=10L = 10 mH, C=10 μC = 10\,\muF: ω0=3162.28\omega_0 = 3162.28 rad/s, ζ=0.1581\zeta = 0.1581, Q=3.162Q = 3.162, step overshoot 60.47%60.47\% at 1.0061.006 ms, critical R=63.25 ΩR = 63.25\,\Omega.
  • Impedance Z=R+jωL+1/(jωC)Z = R + j\omega L + 1/(j\omega C) is the Laplace transfer function at s=jωs = j\omega. At resonance Z=RZ = R and the capacitor voltage is QQ times the source.
  • One circuit gives three filters: VCV_C low-pass, VRV_R band-pass (peak 11, bandwidth ω0/Q=R/L\omega_0/Q = R/L, edges 2701.562701.56 and 3701.563701.56 rad/s here), VLV_L high-pass. An RC low-pass has cutoff 1/RC1/RC (−3.01-3.01 dB, −45∘-45^\circ) and rolls off at −20-20 dB per decade.
  • Multi-loop circuits are Lq¨+Rq˙+Sq=V\mathbb L\ddot{\mathbf q} + \mathbb R\dot{\mathbf q} + \mathbb S\mathbf q = \mathbf V: normal modes for coupled LC loops (3162.283162.28 and 3464.103464.10 rad/s) and real decay rates for RC networks (0.3820.382 and 2.6182.618 over RCRC).
  • Next: 14.3 Pendulums: Linear, Nonlinear, Driven & Double, where the oscillator becomes nonlinear.
Finished this lesson?

Mark it complete to track your progress (saved in this browser). Reading every section does this for you.