Differential EquationsVibrations and Oscillations4 of 4
Vibrations and Oscillations · 4
RLC Circuits
We want to find the charge and current in a circuit built from an inductor, a resistor, and a capacitor, and we can do it without learning any new math because this circuit follows the exact same differential equation as a block on a spring.
The Mechanical Analogy and Circuit Equations
In a single loop, the charge q(t) stored on the capacitor plates plays the role of position x(t), and the current I(t)=q′(t) flowing through the wire is the velocity of that charge. By Kirchhoff's voltage law, the voltage drops across the inductor, resistor, and capacitor add up to the driving voltage E(t):
magnetic inertia(mx′′)Lq′′+heat drag(bx′)Rq′+capacitor pushback(kx)C1q=voltage source(F(t))E(t)
Here the capacitor coefficient is C1 rather than C, because a larger capacitance C has more room on its plates and pushes back less, like a softer spring.
When a problem asks for the current I(t) instead of the charge q(t), we can either solve the charge equation first and take I(t)=q′(t) at the end, or take the derivative of every term in the charge equation using q′=I,q′′=I′, and q′′′=I′′ to get a differential equation directly for current:
LI′′+RI′+C1I=E′(t)
In the interactive circuit below, position x matches stored capacitor charge q pushing back with stiffness C1, velocity x′ matches current I losing energy as heat in the resistor R, and acceleration x′′ matches changes in current I′ resisted by the inductor's magnetic field (inductance L).
Move the block by hand to see how the capacitor, resistor, and inductor push back just like the spring, oil, and mass.
1
Free RLC Circuits and the Three Damping Cases
Now let's find how a charged circuit behaves on its own when there is no outside voltage source (E(t)=0):
Lq′′+Rq′+C1q=0
Trying q(t)=ert turns derivatives into powers of r, giving the characteristic equation Lr2+Rr+C1=0 and its roots:
r=2L−R±R2−C4L
Free RLC Circuits and the Three Damping Cases
Text solution
Overdamped (R2>C4L), with L=1 H,R=5Ω, and C=41 FSubstitute C1=4 into the unforced charge equation and factor the characteristic equation into two distinct negative real roots.
Because there are no sine or cosine terms, the resistor turns the stored energy into heat before the circuit can oscillate; the charge simply drains to zero (crossing q=0 at most once if started with a strong initial current I(0) in the opposite direction).
Underdamped (R2<C4L), with L=1 H,R=2Ω, and C=51 FSubstitute C1=5 and use the quadratic formula to find the complex conjugate roots r=−α±iβ.
So the charge oscillates at 2 rad/s as energy moves back and forth between the capacitor's electric field and the inductor's magnetic field, while the resistor steadily shrinks the amplitude inside the decaying envelope e−t.
Critically damped (R2=C4L), with L=1 H,R=4Ω, and C=41 FWhen R2 and C4L both equal 16, the characteristic equation has a single repeated root r=−2LR and the second term gets multiplied by t.
So the circuit sits right on the boundary between oscillating and slow draining, returning to zero as fast as possible without oscillating.
In the circuit below, when resistance is large (R2>C4L), two negative real roots drain the charge smoothly without oscillating; right at the boundary R2=C4L, the two real roots meet to drain the circuit as fast as possible; and when resistance is low (R2<C4L), complex roots let energy move back and forth between the capacitor and inductor inside a decaying envelope.
A discharging RLC loop only oscillates when the resistor bottleneck is wide enough for the inductor's magnetic field to push charge onto the opposite capacitor plate before the energy turns into heat.
2
Steady-State Charge and Current in an AC Circuit
Next, let's connect our underdamped circuit (L=1 H,R=2Ω,C=51 F) to an alternating voltage source E(t)=17cos(2t) V and find the steady-state charge qp(t), the steady-state current Ip(t), and the peak current amplitude Imax:
q′′+2q′+5q=17cos(2t)
The total charge is the sum of the transient charge and the steady-state charge:
q(t)=transient charge(dies out via e−αt)qtr(t)+steady-state charge(oscillates at ω)qp(t)
Steady-State Charge and Current in an AC Circuit
q′′+2q′+5qqp(t)Ip(t)=17cos(2t)=?=?
Text solution
Write the trial steady-state charge qp(t) at the driving frequency ω=2 and take two derivativesBecause the resistor term 2q′ turns cosine into sine and sine into cosine, include both cos(2t) and sin(2t) in qp(t).
This gives the steady-state charge qp(t)=cos(2t)+4sin(2t) C.
Differentiate qp(t) to find the steady-state current Ip(t)Since current is the derivative of charge, differentiate qp(t) directly rather than solving a second differential equation.
Ip(t)=qp′(t)=−2sin(2t)+8cos(2t)=8cos(2t)−2sin(2t) A
Combine the current coefficients into the peak current amplitude ImaxAny wave Mcos(ωt)+Nsin(ωt) has amplitude M2+N2.
Imax=82+(−2)2=64+4=68=217 A
If a problem also gives starting values q(0) and I(0)=q′(0) and asks for the total charge q(t), add the transient and steady-state pieces together first, giving q(t)=e−t(c1cos(2t)+c2sin(2t))+cos(2t)+4sin(2t), before plugging in t=0 to solve for c1 and c2.
3
Electrical Resonance
Now let's see how the peak steady-state current Imax depends on the driving frequency ω of an AC source E0cos(ωt) or E0sin(ωt), and what happens when we tune the circuit so the current reaches its largest possible value.
Electrical Resonance and Recap
Because taking two derivatives of cos(ωt) or sin(ωt) brings out a factor of −ω2, the inductor term Lq′′ and the capacitor term C1q always have opposite signs and combine as C1−Lω2. Solving for the steady-state current amplitude in general gives:
Imax=(C1−Lω2)2+(Rω)2E0ω=R2+(Lω−Cω1)2E0
When we tune the driving frequency ω or the capacitance C so that Lω2=C1, the opposing voltage drops across the inductor and capacitor cancel each other out at every instant, producing electrical resonance:
resonant frequencyω0=LC1,peak current at resonanceImax=RE0
In the circuit below, at low driving frequencies ω the capacitor opposes the current most strongly, at high frequencies the inductor opposes it most strongly, and right at ω0=LC1 the inductor and capacitor voltages are equal and opposite at every instant, canceling completely so the peak current reaches its maximum RE0.
Across driving frequencies, the capacitor and inductor push back in opposite directions, canceling completely at the resonant frequency so the current reaches its peak.
Key concepts
Every RLC circuit problem translates the spring equation mx′′+bx′+kx=F(t) into electrical terms by matching inductance L to mass, resistance R to damping, and C1 to spring stiffness:
Setting up the equation for charge q(t) vs. current I(t)
Write Lq′′+Rq′+C1q=E(t) when solving for capacitor charge (so L=2 H,R=6Ω,C=101 F gives 2q′′+6q′+10q=E(t)). If a problem asks directly for the current equation, differentiate every term to get LI′′+RI′+C1I=E′(t), which is especially fast when the source is a constant DC battery like E(t)=12 V, because E′(t)=0 makes the right-hand side zero right away.
Classifying an unforced circuit (E(t)=0)
Compare R2 with C4L inside Lr2+Rr+C1=0. When R2>C4L (overdamped, c1er1t+c2er2t) or R2=C4L (critically damped, c1ert+c2tert with r=−2LR), the charge drains without oscillating, crossing zero at most once if started with a strong initial current I(0)=q′(0) in the opposite direction. Only when R2<C4L (underdamped, r=−α±iβ) does charge oscillate as e−αt(c1cos(βt)+c2sin(βt)).
Driven AC circuits (E0cos(ωt) or E0sin(ωt)) and resonance
To find the steady-state waves qp(t) and Ip(t), plug qp(t)=Acos(ωt)+Bsin(ωt) into the charge equation, match cosine and sine terms, and differentiate once to get Ip(t)=qp′(t) (if Ip(t)=Mcos(ωt)+Nsin(ωt), its peak is M2+N2). When a problem only asks for the current amplitude Imax or tuning capacitance C at frequency ω, skip undetermined coefficients and use Imax=R2+(Lω−Cω1)2E0 directly, which reaches its maximum Imax=RE0 when Lω=Cω1 at ω0=LC1.
4
Practice
1
An RLC circuit has an inductor of L=2 H, a resistor of R=6Ω, and a capacitor of C=101 F connected in a loop with a voltage source E(t). (a) Write the differential equation for the capacitor charge q(t) when E(t)=50sin(3t) V. (b) Write the differential equation directly for the current I(t) when the source is replaced by a constant DC battery E(t)=12 V.
Watch out for plugging in C=101 directly instead of C1, which gives the wrong equation 2q′′+6q′+101q=50sin(3t).
How is the capacitor's coefficient in the equation related to C=101 F, and what happens to the right-hand side E(t) when you differentiate the charge equation to get the current equation?
(a) With L=2,R=6, and capacitor stiffness C1=1011=10 (watch out for plugging in C=101 directly instead of C1, which gives the wrong equation 2q′′+6q′+101q=50sin(3t)), the charge equation Lq′′+Rq′+C1q=E(t) is:
2q′′+6q′+10q=50sin(3t)
(b) Differentiating the charge equation gives LI′′+RI′+C1I=E′(t). Since the derivative of the constant battery voltage E(t)=12 V is E′(t)=0 (don't leave the constant 12 on the right-hand side, which gives 2I′′+6I′+10I=12), the current equation is:
2I′′+6I′+10I=0
2
An unforced RLC circuit has an inductor of L=1 H and a capacitor of C=91 F. (a) Find the resistance R that makes the circuit critically damped, and write the general solution q(t) for that resistance. (b) If the resistor is instead set to R=2Ω, classify the damping and find the general solution q(t).
Be careful not to drop the 4 in C4L, which gives R=3Ω.
Compare R2 with C4L inside the characteristic equation Lr2+Rr+C1=0: what positive value of R makes the term inside the square root equal zero?
(a) Here L=1 and C1=9. Critical damping happens when R2=C4L=4(1)(9)=36, which gives R=6Ω (be careful not to drop the 4 in C4L, which gives R=3Ω). The characteristic equation r2+6r+9=(r+3)2=0 has a repeated root r=−3. Remember to multiply the second term by t for a repeated root (writing c1e−3t+c2e−3t misses the second solution):
R=6Ω,q(t)=c1e−3t+c2te−3t C
(b) With R=2Ω, we have R2=4<C4L=36, so the circuit is underdamped. Solving r2+2r+9=0 gives:
r=2−2±4−36=2−2±42i=−1±22i
(Watch out for forgetting to divide the imaginary part 42 by 2, which gives the wrong frequency 42 and e−t(c1cos(42t)+c2sin(42t)).) The general solution is:
q(t)=e−t(c1cos(22t)+c2sin(22t)) C
3
An unforced circuit with L=1 H,R=4Ω, and C=31 F starts at t=0 with charge q(0)=2 C on the capacitor and a strong initial current I(0)=−8 A flowing in the opposite direction. Find q(t), and find the exact time t>0 when the charge on the capacitor crosses zero before draining back to zero.
After finding q(t)=c1er1t+c2er2t, differentiate to get I(t)=q′(t) before plugging in I(0)=−8.
With C1=3, the equation q′′+4q′+3q=0 has characteristic equation r2+4r+3=(r+1)(r+3)=0, giving r=−1,−3 and:
q(t)I(t)=q′(t)=c1e−t+c2e−3t=−c1e−t−3c2e−3t
Plugging in t=0 gives c1+c2=2 and −c1−3c2=−8 (don't drop the minus signs from the exponents when differentiating, which gives c1+3c2=−8 and the wrong constants c1=7,c2=−5). Adding the two equations gives −2c2=−6⟹c2=3 and c1=−1, so:
q(t)=−e−t+3e−3t C
Setting q(t)=0 to find when the charge crosses zero:
−e−t+3e−3t=0⟹3e−3t=e−t⟹e2t=3
(Watch out for dividing the wrong way to get e2t=31 and a negative time t=−21ln(3).) Taking the natural log and dividing by 2 gives:
t=21ln(3) s
4
An RLC circuit with L=1 H,R=4Ω, and C=51 F is driven by an alternating voltage source E(t)=16sin(t) V. Find the steady-state charge qp(t) on the capacitor, the steady-state current Ip(t), and the amplitude Imax of the steady-state current.
Even though the voltage source has only sin(t), the first derivative qp′ in the resistor term turns sine into cosine and cosine into sine, so what form must qp(t) take?
With C1=5 and ω=1, the differential equation is q′′+4q′+5q=16sin(t). Try qp(t)=Acos(t)+Bsin(t), with qp′(t)=−Asin(t)+Bcos(t) and qp′′(t)=−Acos(t)−Bsin(t). Matching coefficients in qp′′+4qp′+5qp=16sin(t) (be careful not to set the cos(t) coefficient to 16 and the sin(t) coefficient to 0 out of habit from a cosine source, which flips the sign of A and gives A=2,B=2):
Substituting B=−A gives −8A=16⟹A=−2 and B=2. Differentiating qp(t) gives Ip(t)=qp′(t), and taking the square root of the sum of the squares of its coefficients gives Imax:
qp(t)=−2cos(t)+2sin(t) C,Ip(t)=2cos(t)+2sin(t) A,Imax=22+22=22 A
5
Suppose the driven circuit in Problem 4 (L=1 H,R=4Ω,C=51 F, and E(t)=16sin(t) V) starts with no initial charge and no initial current at t=0:q(0)=0 C and I(0)=0 A. Find the total charge q(t) on the capacitor for t≥0.
Do you apply the initial conditions q(0)=0 and I(0)=0 to the transient charge qtr(t) alone, or to the total charge q(t)=qtr(t)+qp(t)?
For the unforced equation q′′+4q′+5q=0, the characteristic equation r2+4r+5=0 has roots r=2−4±16−20=−2±i, so qtr(t)=e−2t(c1cos(t)+c2sin(t)). Add qp(t)=−2cos(t)+2sin(t) from Problem 4 before plugging in t=0 (plugging q(0)=0 and I(0)=0 into qtr(t) alone wrongly gives c1=0,c2=0 and leaves out the transient part altogether):
q(t)=e−2t(c1cos(t)+c2sin(t))−2cos(t)+2sin(t)
At t=0,q(0)=c1−2=0⟹c1=2. Differentiating q(t) with the product rule gives:
At t=0,I(0)=−2c1+c2+2=0 (don't forget the −2c1 term from differentiating e−2t, which gives c2+2=0⟹c2=−2). Since c1=2, we get −4+c2+2=0⟹c2=2:
q(t)=e−2t(2cos(t)+2sin(t))−2cos(t)+2sin(t) C
6
A receiver circuit with L=2 H,R=3Ω, and a tunable capacitor C is driven by E(t)=15cos(10t) V. (a) To what capacitance C should the circuit be tuned to reach electrical resonance at ω=10 rad/s, and what is the resulting peak steady-state current Imax? (b) If the capacitor is changed to C=2401 F, what does the steady-state current amplitude Imax drop to?
At resonance, LC1=ω makes the term Lω−Cω1 inside Imax=R2+(Lω−Cω1)2E0 equal to zero.
(a) Setting the resonant frequency ω0=LC1 equal to the driving frequency ω=10 rad/s with L=2 H gives LC=1001⟹2C=1001⟹C=2001 F. At resonance, the inductor and capacitor voltage drops cancel completely, leaving:
C=2001 F,Imax=RE0=315=5 A
(b) When C=2401 F, we have C1=240 and Cω1=10240=24, while Lω=2(10)=20 (watch out for forgetting to divide C1=240 by ω=10, which puts 20−240=−220 into the square root and gives 4840915 A). Substituting into the current amplitude formula gives: