evan's notes
cal 3discreteodeenv systems
English

本页目录

  • 建立 mass–spring model
  • 运动时的 forces
  • 例:把测量数据写成 IVP
  • 没有 damping 的 free motion
  • 例:initial velocity 向上
  • Energy 与 damping
  • 三种 damping regimes
  • 求解前面的弹簧标定例题
  • 很小的 damping,长期仍有明显影响
  • Periodic forcing 与 steady-state motion
  • 例:分开看 transient 与 forced response
  • Light damping 下的大幅 response
  • Undamped resonance
  • Series RLC circuits
  • 从 voltage drops 得到 ODE
  • Mechanical–electrical correspondence
  • Natural frequency、damping 与 energy
  • 理想 LC circuit 为什么会 oscillate
  • 例:用 microcoulomb 表示 charge,用 milliampere 表示 current
  • 加入 resistance
  • 例:overdamped discharge
  • 选择 critical resistance
  • 例:ringing 与 heat

Ordinary Differential Equations

§3.7 Mechanical and Electric Vibrations

Evan Luo · 2026年10月11日

Ordinary Differential Equations

§3.7 Mechanical and Electric Vibrations

Evan Luo4 天前

25 分钟

弹簧和电路看起来是两类问题,但前者的 displacement 与后者的 charge 满足同一种 second-order equation。借助 characteristic-root 与 particular-solution 方法,我们可以判断系统会不会 oscillate、能否逐渐稳定,以及如何持续响应外部 input。

建立 mass–spring model

在竖直弹簧下悬挂一个 mass m>0m>0m>0。设 lll 是弹簧的 natural length,LLL 是物体静止悬挂时额外拉长的长度。运动时的 displacement y(t)y(t)y(t) 从这个 equilibrium position 开始量,并规定向下为正。

要区分三个长度:natural length 是 lll,equilibrium 时的长度是 l+Ll+Ll+L,运动时的长度是 l+L+yl+L+yl+L+y。所以相对于 natural length 的总伸长量是 L+yL+yL+y,不只是 yyy。

Natural length, static stretch, and displacementThree springs share a fixed support height. The natural end is at l, the resting mass at l plus L, and the displaced mass at l plus L plus y. Positive y points downward. Weight points down and the restoring spring force points up.
mmm
mmm
natural\text{natural}natural
equilibrium\text{equilibrium}equilibrium
displaced\text{displaced}displaced
lll
LLL
y>0y>0y>0
−k(L+y)-k(L+y)−k(L+y)
mgmgmg
Measure displacement from the resting mass, not from the spring’s natural end. The spring force depends on the total stretch L+yL+yL+y.

静止时,向上的 spring force 与 weight 平衡。设 gravitational acceleration 为 ggg,spring constant 为 k>0k>0k>0。根据 Hooke's law,

mg−kL=0,k=mgL.mg-kL=0, \qquad \boxed{k=\frac{mg}{L}}. mg−kL=0,k=Lmg​​.

因此,测出静止时的伸长量就能求 stiffness。使用 SI units 时,mmm 的单位是 kilogram,LLL 是 meter,kkk 是 newton per meter。

运动时的 forces

物体开始运动后,把以下四个 forces 都按同一个正方向写出:

Force带正负号的值方向由什么决定?
Weightmgmgmg始终向下
Spring−k(L+y)-k(L+y)−k(L+y)抵抗相对于 natural length 的拉伸或压缩
Viscous damping−γy′-\gamma y'−γy′与 velocity 方向相反
Applied forceF(t)F(t)F(t)向下为正,向上为负

Damping coefficient γ≥0\gamma\ge0γ≥0 读作 gamma,单位为 N s/m\mathrm{N\,s/m}Ns/m。γ=0\gamma=0γ=0 对应理想的 undamped 情形。注意,y<0y<0y<0 不一定意味着弹簧被压缩:只要 L+y>0L+y>0L+y>0,弹簧仍然处于拉伸状态。

根据 Newton's second law,mass 乘以 acceleration 等于 net force:

my′′=mg−k(L+y)−γy′+F(t)=(mg−kL)−ky−γy′+F(t).\begin{aligned} my''&=mg-k(L+y)-\gamma y'+F(t)\\ &=(mg-kL)-ky-\gamma y'+F(t). \end{aligned} my′′​=mg−k(L+y)−γy′+F(t)=(mg−kL)−ky−γy′+F(t).​

静止时的平衡关系给出 mg−kL=0mg-kL=0mg−kL=0。整理得

my′′+γy′+ky=F(t).\boxed{my''+\gamma y'+ky=F(t)}. my′′+γy′+ky=F(t)​.

这不意味着 gravity 消失了,而是因为我们从 equilibrium position 测量 displacement,gravity 的固定贡献已经包含在这个参考位置中。

要确定具体运动,还需指定 initial displacement 和 velocity:

y(0)=y0,y′(0)=v0.y(0)=y_0,\qquad y'(0)=v_0. y(0)=y0​,y′(0)=v0​.

例如,向下拉物体对应 y0>0y_0>0y0​>0,初始向上运动对应 v0<0v_0<0v0​<0,而“从静止释放”表示 v0=0v_0=0v0​=0。若 m>0m>0m>0、k>0k>0k>0、γ≥0\gamma\ge0γ≥0 都是常数,且 FFF 在一个包含 000 的 interval 上 continuous,linear existence and uniqueness theorem 就保证该 interval 上恰有一个 solution。

这个模型并不精确描述所有弹簧。它忽略弹簧自身的 mass,并假设 force 与 stretch 成 linear 关系,drag 与 velocity 成正比。在变形较小、速度较低的适用范围内,这些近似很有用。

例:把测量数据写成 IVP

一个 2 kg2\,\mathrm{kg}2kg 的物体使弹簧伸长 4.9 cm4.9\,\mathrm{cm}4.9cm。Dashpot 在速度为 0.5 m/s0.5\,\mathrm{m/s}0.5m/s 时产生 8 N8\,\mathrm N8N 的阻力。把物体拉到 equilibrium 下方 5 cm5\,\mathrm{cm}5cm,从静止释放,不施加 external forcing。取 g=9.8 m/s2g=9.8\,\mathrm{m/s^2}g=9.8m/s2。

先把长度换成 meter,再计算:

k=2(9.8)0.049=400 N/m,γ=80.5=16 N s/m.k=\frac{2(9.8)}{0.049}=400\,\mathrm{N/m}, \qquad \gamma=\frac{8}{0.5}=16\,\mathrm{N\,s/m}. k=0.0492(9.8)​=400N/m,γ=0.58​=16Ns/m.

用于标定 dashpot 的速度不是物体的 initial velocity。题目说从静止释放,所以 IVP 是

2y′′+16y′+400y=0,y(0)=0.05,y′(0)=0.2y''+16y'+400y=0, \qquad y(0)=0.05,\qquad y'(0)=0. 2y′′+16y′+400y=0,y(0)=0.05,y′(0)=0.

除以 mass,得到等价的 normalized equation:

y′′+8y′+200y=0.y''+8y'+200y=0. y′′+8y′+200y=0.

实际的 damping coefficient 仍然是 γ=16\gamma=16γ=16;8=γ/m8=\gamma/m8=γ/m 是 normalized coefficient。区分几种 damping 情形后,我们再求解这个 IVP。

没有 damping 的 free motion

Free 指 F(t)=0F(t)=0F(t)=0:除了模型中已有的 forces,没有额外 applied forcing。Undamped 指 γ=0\gamma=0γ=0。同时满足这两个条件时,

my′′+ky=0,mr2+k=0.my''+ky=0, \qquad mr^2+k=0. my′′+ky=0,mr2+k=0.

Characteristic roots 是 r=±ik/mr=\pm i\sqrt{k/m}r=±ik/m​。定义 natural angular frequency

ω0=km.\omega_0=\sqrt{\frac{k}{m}}. ω0​=mk​​.

Solution 描述的是 simple harmonic motion:

y(t)=C1cos⁡(ω0t)+C2sin⁡(ω0t).\boxed{y(t)=C_1\cos(\omega_0t)+C_2\sin(\omega_0t)}. y(t)=C1​cos(ω0​t)+C2​sin(ω0​t)​.

对于 nonzero motion,amplitude 为 C12+C22\sqrt{C_1^2+C_2^2}C12​+C22​​,period 为

T=2πω0=2πmk.\boxed{T=\frac{2\pi}{\omega_0}=2\pi\sqrt{\frac{m}{k}}}. T=ω0​2π​=2πkm​​​.

Angular frequency 的单位是 radian per second;按每秒多少个完整周期计算的 frequency 则为 1/T=ω0/(2π)1/T=\omega_0/(2\pi)1/T=ω0​/(2π)。Mass 越大,oscillation 越慢;spring 越硬,oscillation 越快。Initial conditions 决定 amplitude 和 phase,不决定 natural frequency。

例:initial velocity 向上

设 m=0.5 kgm=0.5\,\mathrm{kg}m=0.5kg、k=8 N/mk=8\,\mathrm{N/m}k=8N/m。物体从 equilibrium 下方 0.1 m0.1\,\mathrm m0.1m 出发,以 0.4 m/s0.4\,\mathrm{m/s}0.4m/s 向上运动。于是

12y′′+8y=0,y(0)=0.1,y′(0)=−0.4.\frac12y''+8y=0, \qquad y(0)=0.1,\qquad y'(0)=-0.4. 21​y′′+8y=0,y(0)=0.1,y′(0)=−0.4.

这里 ω0=4 rad/s\omega_0=4\,\mathrm{rad/s}ω0​=4rad/s。写成 y=C1cos⁡4t+C2sin⁡4ty=C_1\cos4t+C_2\sin4ty=C1​cos4t+C2​sin4t,initial conditions 给出

C1=0.1,4C2=−0.4,C_1=0.1,\qquad 4C_2=-0.4, C1​=0.1,4C2​=−0.4,

因此

y(t)=0.1cos⁡4t−0.1sin⁡4tm.\boxed{y(t)=0.1\cos4t-0.1\sin4t\quad\mathrm m}. y(t)=0.1cos4t−0.1sin4tm​.

Period 是 π/2 s≈1.57 s\pi/2\,\mathrm s\approx1.57\,\mathrm sπ/2s≈1.57s,amplitude 是 0.12 m0.1\sqrt2\,\mathrm m0.12​m。Amplitude 大于 initial displacement,是因为物体起初还带有 kinetic energy。

Energy 与 damping

当 displacement 从 equilibrium 开始测量时,忽略一个不影响变化的常数,mechanical energy 为

E(t)=12m(y′)2⏟kinetic+12ky2⏟potential.\mathcal E(t)=\underbrace{\frac12m(y')^2}_{\text{kinetic}} +\underbrace{\frac12ky^2}_{\text{potential}}. E(t)=kinetic21​m(y′)2​​+potential21​ky2​​.

要看 energy 怎样变化,把 equation of motion 乘以 velocity y′y'y′:

my′′y′+kyy′=−γ(y′)2+F(t)y′.my''y'+kyy'=-\gamma(y')^2+F(t)y'. my′′y′+kyy′=−γ(y′)2+F(t)y′.

左侧两项分别是两个 energy 项的 derivative,因此

E′=−γ(y′)2+F(t)y′.\boxed{\mathcal E'=-\gamma(y')^2+F(t)y'}. E′=−γ(y′)2+F(t)y′​.

可以用这个关系检查 solution 是否合理:

  • 没有 damping,也没有 forcing 时,E′=0\mathcal E'=0E′=0。Kinetic energy 与 potential energy 相互转换,但总和不变。
  • 有 damping、没有 forcing 时,E′=−γ(y′)2≤0\mathcal E'=-\gamma(y')^2\le0E′=−γ(y′)2≤0。Energy 不会增加;velocity 为零的瞬间,energy 的 derivative 也为零。
  • Applied force 提供的 power 为 F(t)y′F(t)y'F(t)y′。Force 与 velocity 同号时输入 energy,异号时取走 energy。

对前一个例子,

E(0)=12(0.5)(−0.4)2+12(8)(0.1)2=0.08 J.\mathcal E(0)=\frac12(0.5)(-0.4)^2+\frac12(8)(0.1)^2 =0.08\,\mathrm J. E(0)=21​(0.5)(−0.4)2+21​(8)(0.1)2=0.08J.

Undamped motion exchanges kinetic and potential energy while the total stays constant.

harmonic responseUndamped motion exchanges kinetic and potential energy while the total stays constant. Time increases rightward; positive displacement is downward. Full solution curves are shown; the vertical cursor selects a time.
000
111
222
333
444
555
−0.13-0.13−0.13
000
0.130.130.13
t (s)t\ (\mathrm s)t (s)
y (positive down)y\ (\text{positive down})y (positive down)
y(t)y(t)y(t)
0.000 s

No autoplay. Use Play or the keyboard-accessible slider to inspect the motion. Playback is slowed or accelerated for inspection.

mmm
y=0y=0y=0
y>0y>0y>0
E0\mathcal E_0E0​
ky2/2ky^2/2ky2/2
m(y′)2/2m(y')^2/2m(y′)2/2
E\mathcal EE
The bars show the selected instant, in fractions of the initial stored energy.

三种 damping regimes

对于 γ>0\gamma>0γ>0 的 free motion,characteristic equation 和 discriminant 为

mr2+γr+k=0,Δ=γ2−4mk.mr^2+\gamma r+k=0, \qquad \Delta=\gamma^2-4mk. mr2+γr+k=0,Δ=γ2−4mk.

Roots 为

r=−γ±Δ2m.r=\frac{-\gamma\pm\sqrt{\Delta}}{2m}. r=2m−γ±Δ​​.

Roots 的形式决定物体是否会来回 oscillate。

Overdamped:Δ>0\Delta>0Δ>0。 此时有两个 distinct real roots r1,r2r_1,r_2r1​,r2​,且

y=C1er1t+C2er2t.y=C_1e^{r_1t}+C_2e^{r_2t}. y=C1​er1​t+C2​er2​t.

由于 γ2−4mk<γ\sqrt{\gamma^2-4mk}<\gammaγ2−4mk​<γ,两个 roots 都是负数。运动逐渐衰减,但不带 sinusoidal oscillation。

Underdamped:Δ<0\Delta<0Δ<0。 把 roots 写成 λ±iμ\lambda\pm i\muλ±iμ,其中

λ=−γ2m,μ=4mk−γ22m=km−γ24m2.\lambda=-\frac{\gamma}{2m}, \qquad \mu=\frac{\sqrt{4mk-\gamma^2}}{2m} =\sqrt{\frac{k}{m}-\frac{\gamma^2}{4m^2}}. λ=−2mγ​,μ=2m4mk−γ2​​=mk​−4m2γ2​​.

于是

y=e−γt/(2m)(C1cos⁡μt+C2sin⁡μt).y=e^{-\gamma t/(2m)}\bigl(C_1\cos\mu t+C_2\sin\mu t\bigr). y=e−γt/(2m)(C1​cosμt+C2​sinμt).

Sinusoidal 因子产生 oscillations,exponential 因子让 amplitude 不断缩小。Angular frequency μ\muμ 小于 ω0\omega_0ω0​。整个运动不是 periodic 的,因为 amplitude 一直在变化。

Critically damped:Δ=0\Delta=0Δ=0。 Repeated root 给出

y=(C1+C2t)e−γt/(2m).y=(C_1+C_2t)e^{-\gamma t/(2m)}. y=(C1​+C2​t)e−γt/(2m).

多出的因子 ttt 不会阻止衰减:当 t→∞t\to\inftyt→∞ 时,negative exponential 的衰减快于这个因子的增长。

这三种 positive damping 下的 free motions,无论 initial displacement 和 velocity 如何,最终都趋于 equilibrium。区分 oscillatory 与 nonoscillatory motion 的临界值是

γc=2mk.\boxed{\gamma_c=2\sqrt{mk}}. γc​=2mk​​.

对于相同 mass、stiffness,并且同样从静止释放的情形,critical damping 比 overdamping 更快返回 equilibrium,同时不发生 oscillation。这在减震器、闭门器和仪表指针中很有用。但这不表示任意 initial velocity 都会产生 monotone motion:即使 roots 都是 real,solution 也可能穿过 equilibrium。

The same release from rest with damping 0.4, 2, and 5: oscillatory decay, critical return, and slower overdamped return.

damping responseThe same release from rest with damping 0.4, 2, and 5: oscillatory decay, critical return, and slower overdamped return. Time increases rightward; positive displacement is downward. Full solution curves are shown; the vertical cursor selects a time.
000
555
101010
151515
−0.88-0.88−0.88
000
0.880.880.88
t (s)t\ (\mathrm s)t (s)
y (positive down)y\ (\text{positive down})y (positive down)
γ=0.4\gamma=0.4γ=0.4γ=2\gamma=2γ=2γ=5\gamma=5γ=5
0.000 s

No autoplay. Use Play or the keyboard-accessible slider to inspect the motion. Playback is slowed or accelerated for inspection.

Line styles distinguish comparison curves as well as color. The complete curves remain visible while the cursor moves.

求解前面的弹簧标定例题

前面得到的方程是 y′′+8y′+200y=0y''+8y'+200y=0y′′+8y′+200y=0。它的 discriminant 为 82−4(200)=−7368^2-4(200)=-73682−4(200)=−736,所以 roots 是

r=−4±i184.r=-4\pm i\sqrt{184}. r=−4±i184​.

令 μ=184\mu=\sqrt{184}μ=184​,写成 y=e−4t(C1cos⁡μt+C2sin⁡μt)y=e^{-4t}(C_1\cos\mu t+C_2\sin\mu t)y=e−4t(C1​cosμt+C2​sinμt)。在 t=0t=0t=0 处,

C1=0.05,−4C1+μC2=0.C_1=0.05,\qquad -4C_1+\mu C_2=0. C1​=0.05,−4C1​+μC2​=0.

因此

y(t)=e−4t(0.05cos⁡(184 t)+0.2184sin⁡(184 t)).\boxed{y(t)=e^{-4t}\left(0.05\cos(\sqrt{184}\,t) +\frac{0.2}{\sqrt{184}}\sin(\sqrt{184}\,t)\right)}. y(t)=e−4t(0.05cos(184​t)+184​0.2​sin(184​t))​.

Sine coefficient 约为 0.01470.01470.0147,但只有保留精确的 fraction,才能精确满足 initial velocity。Amplitude envelope 每秒缩小为原来的 e−4e^{-4}e−4。这不表示 y(1)=e−4y(0)y(1)=e^{-4}y(0)y(1)=e−4y(0),因为 oscillatory 因子也在变化。

很小的 damping,长期仍有明显影响

考虑

y′′+0.125y′+y=0,y(0)=2,y′(0)=0.y''+0.125y'+y=0, \qquad y(0)=2,\qquad y'(0)=0. y′′+0.125y′+y=0,y(0)=2,y′(0)=0.

Roots 是 −1/16±i255/16-1/16\pm i\sqrt{255}/16−1/16±i255​/16。令 μ=255/16\mu=\sqrt{255}/16μ=255​/16。Initial conditions 给出 C1=2C_1=2C1​=2 和 −C1/16+μC2=0-C_1/16+\mu C_2=0−C1​/16+μC2​=0,所以

y(t)=e−t/16(2cos⁡255t16+2255sin⁡255t16).\boxed{y(t)=e^{-t/16}\left(2\cos\frac{\sqrt{255}t}{16} +\frac{2}{\sqrt{255}}\sin\frac{\sqrt{255}t}{16}\right)}. y(t)=e−t/16(2cos16255​t​+255​2​sin16255​t​)​.

没有 damping 时,同样的 initial conditions 给出 2cos⁡t2\cos t2cost。Damped frequency 约为 0.9980.9980.998,接近 111,所以一开始两条曲线上下变化的节奏几乎一样。但长期表现完全不同:只有 damped solution 会趋于零。

Sine–cosine 组合的 amplitude 是 32/25532/\sqrt{255}32/255​,因此有精确的 bound:

∣y(t)∣≤32255e−t/16.|y(t)|\le\frac{32}{\sqrt{255}}e^{-t/16}. ∣y(t)∣≤255​32​e−t/16.

例如,要让 envelope 保证 ∣y(t)∣<0.1|y(t)|<0.1∣y(t)∣<0.1,只需满足

t>16ln⁡(320255)≈47.96.t>16\ln\left(\frac{320}{\sqrt{255}}\right)\approx47.96. t>16ln(255​320​)≈47.96.

实际 solution 会稍早一些永久进入这个范围,约在 47.5147.5147.51。Envelope 不需要找出最后一次穿越边界的时刻,就能给出可靠的 bound。

Small damping compared with no damping, exact exponential bounds, and the inward position–velocity spiral.

small responseSmall damping compared with no damping, exact exponential bounds, and the inward position–velocity spiral. Time increases rightward; positive displacement is downward. Full solution curves are shown; the vertical cursor selects a time.
000
101010
202020
303030
404040
505050
−1.8-1.8−1.8
000
1.81.81.8
t (s)t\ (\mathrm s)t (s)
y (positive down)y\ (\text{positive down})y (positive down)
y(t)y(t)y(t)2cos⁡t2\cos t2cost−32255e−t/16-\frac{32}{\sqrt{255}}e^{-t/16}−255​32​e−t/1632255e−t/16\frac{32}{\sqrt{255}}e^{-t/16}255​32​e−t/16
0.000 s

No autoplay. Use Play or the keyboard-accessible slider to inspect the motion. Playback is slowed or accelerated for inspection.

mmm
y=0y=0y=0
y>0y>0y>0
−2-2−2
−2-2−2
000
000
222
222
yyy
y′y'y′
Line styles distinguish comparison curves as well as color. The complete curves remain visible while the cursor moves.

如果画的不是 displacement 随时间变化,而是点对 (y(t),y′(t))(y(t),y'(t))(y(t),y′(t)),就会得到时间图下方的向内 spiral。每一点同时记录某一时刻的 position 和 velocity,两者都趋于零。这里用这张图观察这一点即可。

在 underdamped regime 内,固定 m,km,km,k 而增大 γ\gammaγ,会让 envelope 衰减得更快,却让 oscillation frequency 更低。衰减快和 oscillation 快是两回事。

Periodic forcing 与 steady-state motion

现在施加 periodic force

F(t)=F0cos⁡(ωt),F(t)=F_0\cos(\omega t), F(t)=F0​cos(ωt),

其中 F0>0F_0>0F0​>0 是 force amplitude,ω>0\omega>0ω>0 是 forcing angular frequency。这个 frequency 由 input 决定,不一定等于系统的 natural frequency。

对于

my′′+γy′+ky=F0cos⁡(ωt),my''+\gamma y'+ky=F_0\cos(\omega t), my′′+γy′+ky=F0​cos(ωt),

尝试 particular solution yp=Acos⁡(ωt)+Bsin⁡(ωt)y_p=A\cos(\omega t)+B\sin(\omega t)yp​=Acos(ωt)+Bsin(ωt)。如果 γ>0\gamma>0γ>0,homogeneous modes 都会衰减,纯 sine 或 cosine 不会与它们重合。因此这个 trial 不需要再乘 ttt。

例:分开看 transient 与 forced response

求解

y′′+y′+1.25y=3cos⁡t,y(0)=2,y′(0)=3.y''+y'+1.25y=3\cos t, \qquad y(0)=2,\qquad y'(0)=3. y′′+y′+1.25y=3cost,y(0)=2,y′(0)=3.

代入 yp=Acos⁡t+Bsin⁡ty_p=A\cos t+B\sin typ​=Acost+Bsint,再做 coefficient matching:

{14A+B=3,−A+14B=0.\begin{cases} \frac14A+B=3,\\ -A+\frac14B=0. \end{cases} {41​A+B=3,−A+41​B=0.​

第二个等式给出 B=4AB=4AB=4A,所以 A=12/17A=12/17A=12/17、B=48/17B=48/17B=48/17。因此

yp=1217cos⁡t+4817sin⁡t.y_p=\frac{12}{17}\cos t+\frac{48}{17}\sin t. yp​=1712​cost+1748​sint.

它的 amplitude 是 (12/17)2+(48/17)2=12/17\sqrt{(12/17)^2+(48/17)^2}=12/\sqrt{17}(12/17)2+(48/17)2​=12/17​。Homogeneous equation 的 characteristic roots 为 −1/2±i-1/2\pm i−1/2±i,给出

yc=e−t/2(C1cos⁡t+C2sin⁡t).y_c=e^{-t/2}(C_1\cos t+C_2\sin t). yc​=e−t/2(C1​cost+C2​sint).

要把 initial conditions 代入完整的和 y=yc+ypy=y_c+y_py=yc​+yp​:

C1+1217=2,−12C1+C2+4817=3.C_1+\frac{12}{17}=2, \qquad -\frac12C_1+C_2+\frac{48}{17}=3. C1​+1712​=2,−21​C1​+C2​+1748​=3.

得到 C1=22/17C_1=22/17C1​=22/17 和 C2=14/17C_2=14/17C2​=14/17,所以

y(t)=e−t/2(2217cos⁡t+1417sin⁡t)⏟transient+1217cos⁡t+4817sin⁡t⏟steady-state response.\boxed{ \begin{aligned} y(t)&=\underbrace{e^{-t/2}\left(\frac{22}{17}\cos t+\frac{14}{17}\sin t\right)}_{\text{transient}}\\ &\quad+\underbrace{\frac{12}{17}\cos t+\frac{48}{17}\sin t}_{\text{steady-state response}}. \end{aligned} } y(t)​=transiente−t/2(1722​cost+1714​sint)​​+steady-state response1712​cost+1748​sint​​.​​

Transient 使 solution 满足 starting conditions,随后逐渐衰减。Steady-state response 则持续以 forcing frequency oscillate。这里的 steady 不是恒定不变,sinusoid 仍然会穿过零。准确的 convergence 表述是 y(t)−yp(t)→0y(t)-y_p(t)\to0y(t)−yp​(t)→0,不是 y(t)y(t)y(t) 趋于某个固定数值。

Total motion approaches the periodic steady state as the transient disappears.

forced responseTotal motion approaches the periodic steady state as the transient disappears. Time increases rightward; positive displacement is downward. Full solution curves are shown; the vertical cursor selects a time.
000
555
101010
151515
202020
−3.2-3.2−3.2
000
3.23.23.2
t (s)t\ (\mathrm s)t (s)
y (positive down)y\ (\text{positive down})y (positive down)
y(t)y(t)y(t)yp(t)y_p(t)yp​(t)yc(t)y_c(t)yc​(t)
0.000 s

No autoplay. Use Play or the keyboard-accessible slider to inspect the motion. Playback is slowed or accelerated for inspection.

mmm
y=0y=0y=0
y>0y>0y>0
F(t)F(t)F(t)
Line styles distinguish comparison curves as well as color. The complete curves remain visible while the cursor moves.

Light damping 下的大幅 response

把前面的模型与下面的比较:

y′′+0.125y′+y=3cos⁡t,y(0)=2,y′(0)=0.y''+0.125y'+y=3\cos t, \qquad y(0)=2,\qquad y'(0)=0. y′′+0.125y′+y=3cost,y(0)=2,y′(0)=0.

Forcing 没变,但 damping 更小,stiffness coefficient 也从 1.251.251.25 变成了 111。同一个 trial 给出

0.125B=3,−0.125A=0,0.125B=3,\qquad -0.125A=0, 0.125B=3,−0.125A=0,

所以 yp=24sin⁡ty_p=24\sin typ​=24sint。它的 displacement amplitude 为 242424,是 static displacement F0/k=3F_0/k=3F0​/k=3 的八倍。用 displacement 与 displacement 比较,单位才一致;force 和 displacement 本来就不是同一类物理量。

Transient 仍按 e−t/16e^{-t/16}e−t/16 衰减,所以 response 保持 bounded,并逐渐接近 24sin⁡t24\sin t24sint。图中 IVP 的完整 solution 是

y(t)=e−t/16(2cos⁡μt−382255sin⁡μt)+24sin⁡t,μ=25516.y(t)=e^{-t/16}\left(2\cos\mu t-\frac{382}{\sqrt{255}}\sin\mu t\right)+24\sin t, \qquad \mu=\frac{\sqrt{255}}{16}. y(t)=e−t/16(2cosμt−255​382​sinμt)+24sint,μ=16255​​.

其中的 coefficient 来自 y′(0)=−2/16+μC2+24=0y'(0)=-2/16+\mu C_2+24=0y′(0)=−2/16+μC2​+24=0。这里 forcing frequency 等于 undamped natural frequency。这种大幅 response 常被称作 near resonance,但 positive damping 阻止了下一个例子中的无界增长。Damped amplitude 达到峰值的精确 frequency 不一定等于 ω0\omega_0ω0​。

Light damping allows a large bounded response. Force divided by stiffness is plotted for a dimensionally consistent comparison.

light-forced responseLight damping allows a large bounded response. Force divided by stiffness is plotted for a dimensionally consistent comparison. Time increases rightward; positive displacement is downward. Full solution curves are shown; the vertical cursor selects a time.
000
101010
202020
303030
404040
505050
606060
−21-21−21
000
212121
t (s)t\ (\mathrm s)t (s)
y (positive down)y\ (\text{positive down})y (positive down)
y(t)y(t)y(t)yp(t)y_p(t)yp​(t)F(t)/k=3cos⁡tF(t)/k=3\cos tF(t)/k=3cost
0.000 s

No autoplay. Use Play or the keyboard-accessible slider to inspect the motion. Playback is slowed or accelerated for inspection.

mmm
y=0y=0y=0
y>0y>0y>0
F(t)F(t)F(t)
Line styles distinguish comparison curves as well as color. The complete curves remain visible while the cursor moves.

Undamped resonance

令 γ=0\gamma=0γ=0,并以系统的 natural frequency ω=ω0=k/m\omega=\omega_0=\sqrt{k/m}ω=ω0​=k/m​ 施加 forcing。于是

my′′+ky=F0cos⁡(ω0t).my''+ky=F_0\cos(\omega_0t). my′′+ky=F0​cos(ω0​t).

cos⁡(ω0t)\cos(\omega_0t)cos(ω0​t) 和 sin⁡(ω0t)\sin(\omega_0t)sin(ω0​t) 都是 homogeneous solutions。普通 sinusoidal trial 代入后只会得到零,不能产生 forcing。这不是说 undetermined coefficients 无法使用,而是需要把 trial 乘以 ttt:

yp=Atcos⁡(ω0t)+Btsin⁡(ω0t).y_p=At\cos(\omega_0t)+Bt\sin(\omega_0t). yp​=Atcos(ω0​t)+Btsin(ω0​t).

利用 k=mω02k=m\omega_0^2k=mω02​,代入后简化为

myp′′+kyp=2mω0(Bcos⁡(ω0t)−Asin⁡(ω0t)).my_p''+ky_p =2m\omega_0\bigl(B\cos(\omega_0t)-A\sin(\omega_0t)\bigr). myp′′​+kyp​=2mω0​(Bcos(ω0​t)−Asin(ω0​t)).

Matching input 得到 A=0A=0A=0 和 B=F0/(2mω0)B=F_0/(2m\omega_0)B=F0​/(2mω0​)。因此

y(t)=C1cos⁡(ω0t)+C2sin⁡(ω0t)+F02mω0tsin⁡(ω0t).\boxed{y(t)=C_1\cos(\omega_0t)+C_2\sin(\omega_0t) +\frac{F_0}{2m\omega_0}t\sin(\omega_0t)}. y(t)=C1​cos(ω0​t)+C2​sin(ω0​t)+2mω0​F0​​tsin(ω0​t)​.

Homogeneous 项保持 bounded,但 forced 项的 envelope 随时间 linear 增长。无论怎样选择 initial conditions,都无法抵消这种长期增长。

例如,

y′′+y=12cos⁡t,y(0)=0,y′(0)=0y''+y=\frac12\cos t, \qquad y(0)=0,\qquad y'(0)=0 y′′+y=21​cost,y(0)=0,y′(0)=0

的 solution 是 y=tsin⁡t/4y=t\sin t/4y=tsint/4,在每个时刻都位于直线 y=±t/4y=\pm t/4y=±t/4 之间。

Undamped resonant motion grows between the two straight envelope lines.

resonance responseUndamped resonant motion grows between the two straight envelope lines. Time increases rightward; positive displacement is downward. Full solution curves are shown; the vertical cursor selects a time.
000
101010
202020
303030
404040
505050
−10-10−10
000
101010
t (s)t\ (\mathrm s)t (s)
y (positive down)y\ (\text{positive down})y (positive down)
y(t)y(t)y(t)−t/4-t/4−t/4t/4t/4t/4
0.000 s

No autoplay. Use Play or the keyboard-accessible slider to inspect the motion. Playback is slowed or accelerated for inspection.

mmm
y=0y=0y=0
y>0y>0y>0
F(t)F(t)F(t)
Line styles distinguish comparison curves as well as color. The complete curves remain visible while the cursor moves.

Displacement 并不是 monotone increasing 的:它仍不断穿过 equilibrium,但两侧偏离的幅度越来越大。Resonance 让 energy 随时间积累,不过 instantaneous input power 不必时时为正。

这说明了为什么接近 natural frequency 的 periodic input 会影响玻璃杯的振动、队列过桥和抗震设计。Resonance 也用于乐器和收音机调谐。真实系统存在 damping,linear model 也有适用限度,因此理想模型中的 unbounded solution 不表示真实物体会发生无限大的运动。

Tacoma Narrows Bridge 倒塌涉及的是另一个机制:风引起的运动包含 aeroelastic flutter,不能简单解释为给定的 periodic force 恰好匹配 linear oscillator 的 natural frequency。

Series RLC circuits

Series circuit 把 resistor、inductor、capacitor 接在同一个回路中。令 Q(t)Q(t)Q(t) 表示所选 capacitor plate 上带正负号的 charge,并选择 current 的正方向,使得

I(t)=Q′(t).I(t)=Q'(t). I(t)=Q′(t).

符号与单位如下:

QuantitySymbolSI unit
ChargeQQQcoulomb, C\mathrm CC
CurrentIIIampere, A\mathrm AA
Applied voltageE(t)E(t)E(t)volt, V\mathrm VV
ResistanceR≥0R\ge0R≥0ohm, Ω\OmegaΩ
InductanceL>0L>0L>0henry, H\mathrm HH
CapacitanceC>0C>0C>0farad, F\mathrm FF

这里 LLL 表示 inductance,不再是弹簧的静态伸长量。同样,capacitance CCC 与 coulomb 的单位符号 C\mathrm CC 也不同。

Series resistor, capacitor, and inductorThe source is on the left, resistor and capacitor along the top, and inductor on the right. Clockwise positive current enters the plate labelled plus Q, so I equals Q prime. The voltage drops add to the source voltage.
+++
−-−
E(t)E(t)E(t)
RRR
CCC
+Q+Q+Q
−Q-Q−Q
LLL
I=Q′I=Q'I=Q′
One loop carries the same current through each element. The arrow fixes a reference direction; a negative current flows the other way.

从 voltage drops 得到 ODE

三个元件的 voltage drops 分别为

VR=RI,VC=QC,VL=LI′.V_R=RI,\qquad V_C=\frac QC,\qquad V_L=LI'. VR​=RI,VC​=CQ​,VL​=LI′.

Resistor 把 energy 转成 heat。Capacitor 在两极板之间的 electric field 中储存 energy。Inductor 则在 magnetic field 中储存 energy,并抵抗 current 的变化。

根据 Kirchhoff's voltage law,沿回路的 voltage drops 之和等于 applied voltage:

LI′+RI+QC=E(t).LI'+RI+\frac QC=E(t). LI′+RI+CQ​=E(t).

使用 I=Q′I=Q'I=Q′,得到 charge equation:

LQ′′+RQ′+1CQ=E(t),Q(t0)=Q0,Q′(t0)=I0.\boxed{LQ''+RQ'+\frac1C Q=E(t)}, \qquad Q(t_0)=Q_0,\qquad Q'(t_0)=I_0. LQ′′+RQ′+C1​Q=E(t)​,Q(t0​)=Q0​,Q′(t0​)=I0​.

每一项的单位都是 volt。若 EEE continuous,L,C>0L,C>0L,C>0、R≥0R\ge0R≥0 为常数,那么 initial charge 和 current 唯一确定 solution。

如果想求 current 的方程,并且 EEE continuously differentiable,可以对原式求一次 derivative:

LI′′+RI′+1CI=E′(t).\boxed{LI''+RI'+\frac1C I=E'(t)}. LI′′+RI′+C1​I=E′(t)​.

但 current 的 initial derivative 不能再独立任取。原来的 charge equation 要求

I′(t0)=E(t0)−RI0−Q0/CL.\boxed{I'(t_0)=\frac{E(t_0)-RI_0-Q_0/C}{L}}. I′(t0​)=LE(t0​)−RI0​−Q0​/C​​.

保留这个条件,才能避免 differentiated equation 产生与原电路不一致的 solution。

对于 constant battery E(t)=E0E(t)=E_0E(t)=E0​,若 R>0R>0R>0,current 最终趋于零,而 Q(t)→CE0Q(t)\to CE_0Q(t)→CE0​。此时 capacitor 的 voltage 与 battery 平衡。如果没有 resistance,transient 就不一定会衰减。

Mechanical–electrical correspondence

把 charge equation 与 my′′+γy′+ky=F(t)my''+\gamma y'+ky=F(t)my′′+γy′+ky=F(t) 比较:

Mass–spring systemSeries circuit
Displacement yyyCharge QQQ
Velocity y′y'y′Current I=Q′I=Q'I=Q′
Mass mmmInductance LLL
Damping γ\gammaγResistance RRR
Stiffness kkkInverse capacitance 1/C1/C1/C
Applied force FFFApplied voltage EEE
Kinetic energy m(y′)2/2m(y')^2/2m(y′)2/2Magnetic energy LI2/2LI^2/2LI2/2
Potential energy ky2/2ky^2/2ky2/2Electric energy Q2/(2C)Q^2/(2C)Q2/(2C)
Dissipated power γ(y′)2\gamma(y')^2γ(y′)2Joule-heating power RI2RI^2RI2

这些对应表示相同的数学作用,不表示物理量彼此相等。Inductor 抵抗 current 的变化,类似于 mass 抵抗 velocity 的变化;capacitor 则提供 restoring term。

Natural frequency、damping 与 energy

对于 unforced circuit,characteristic equation 为

Lr2+Rr+1C=0.Lr^2+Rr+\frac1C=0. Lr2+Rr+C1​=0.

可以直接得到 natural angular frequency、discriminant 和 critical resistance:

ω0=1LC,Δ=R2−4LC,Rc=2LC.\boxed{\omega_0=\frac1{\sqrt{LC}}}, \qquad \Delta=R^2-\frac{4L}{C}, \qquad \boxed{R_c=2\sqrt{\frac LC}}. ω0​=LC​1​​,Δ=R2−C4L​,Rc​=2CL​​​.
  • R=0R=0R=0:undamped natural oscillation。
  • 0<R<Rc0<R<R_c0<R<Rc​:underdamped oscillation,常称为 ringing。
  • R=RcR=R_cR=Rc​:critical damping,对应 repeated real root。
  • R>RcR>R_cR>Rc​:overdamping,对应两个 negative real roots。

这些分类描述的是 natural response 或 transient,并不是说任意 externally driven motion 都具有同样的形式。对于 underdamping,roots 为

r=−R2L±iμ,μ=1LC−R24L2.r=-\frac{R}{2L}\pm i\mu, \qquad \mu=\sqrt{\frac1{LC}-\frac{R^2}{4L^2}}. r=−2LR​±iμ,μ=LC1​−4L2R2​​.

储存的 energy 为

U=12LI2+Q22C.\mathcal U=\frac12LI^2+\frac{Q^2}{2C}. U=21​LI2+2CQ2​.

把 voltage equation 乘以 I=Q′I=Q'I=Q′,便能得到 energy 的 derivative:

U′=−RI2+E(t)I.\boxed{\mathcal U'=-RI^2+E(t)I}. U′=−RI2+E(t)I​.

Source 提供的 power 是 EIEIEI,而 RI2RI^2RI2 是转成 heat 的非负 power。没有 applied voltage,并不意味着没有储存的 energy。

理想 LC circuit 为什么会 oscillate

没有 resistor,也没有 applied voltage 时,取 Q(0)=Q0Q(0)=Q_0Q(0)=Q0​、I(0)=0I(0)=0I(0)=0,得到

Q(t)=Q0cos⁡(ω0t),I(t)=−ω0Q0sin⁡(ω0t).Q(t)=Q_0\cos(\omega_0t), \qquad I(t)=-\omega_0Q_0\sin(\omega_0t). Q(t)=Q0​cos(ω0​t),I(t)=−ω0​Q0​sin(ω0​t).

令 T=2π/ω0T=2\pi/\omega_0T=2π/ω0​。每个周期中,energy 在两个位置之间转移:

TimeChargeCurrentEnergy 储存在哪里?
000Q0Q_0Q0​000Capacitor 的 electric field
T/4T/4T/4000−ω0Q0-\omega_0Q_0−ω0​Q0​Inductor 的 magnetic field
T/2T/2T/2−Q0-Q_0−Q0​000Capacitor 中,但 polarity 已反转
3T/43T/43T/4000ω0Q0\omega_0Q_0ω0​Q0​Inductor 的 magnetic field
TTTQ0Q_0Q0​000回到 initial state

Capacitor 的 charge 达到零时,current 仍在流动。Inductor 中储存的 energy 使 current 继续流动,给 capacitor 充上相反 polarity 的 charge。没有 resistance,就没有储存的 energy 被转成 heat,所以这个过程会反复进行。

例:用 microcoulomb 表示 charge,用 milliampere 表示 current

设

L=1 H,C=0.25×10−6 F,Q(0)=10−6 C,I(0)=0.L=1\,\mathrm H,\qquad C=0.25\times10^{-6}\,\mathrm F, \qquad Q(0)=10^{-6}\,\mathrm C,\qquad I(0)=0. L=1H,C=0.25×10−6F,Q(0)=10−6C,I(0)=0.

则

Q′′+4×106Q=0,ω0=2000 rad/s.Q''+4\times10^6Q=0, \qquad \omega_0=2000\,\mathrm{rad/s}. Q′′+4×106Q=0,ω0​=2000rad/s.

以 second 为 ttt 的单位,

Q(t)=10−6cos⁡(2000t)C,I(t)=−2×10−3sin⁡(2000t)A.\boxed{Q(t)=10^{-6}\cos(2000t)\quad\mathrm C}, \qquad \boxed{I(t)=-2\times10^{-3}\sin(2000t)\quad\mathrm A}. Q(t)=10−6cos(2000t)C​,I(t)=−2×10−3sin(2000t)A​.

Period 为 π/1000 s≈3.14 ms\pi/1000\,\mathrm s\approx3.14\,\mathrm{ms}π/1000s≈3.14ms。Current amplitude 为 2 mA2\,\mathrm{mA}2mA,总储存 energy 为

U(0)=(10−6)22(0.25×10−6)=2×10−6 J.\mathcal U(0)=\frac{(10^{-6})^2}{2(0.25\times10^{-6})} =2\times10^{-6}\,\mathrm J. U(0)=2(0.25×10−6)(10−6)2​=2×10−6J.

Charge and current exchange electric and magnetic energy with no heat loss.

lc responseCharge and current exchange electric and magnetic energy with no heat loss. Time in milliseconds. Blue is charge in microcoulombs, dashed orange is current divided by two milliamperes. Full solution curves are shown; the vertical cursor selects a time.
000
222
444
666
888
−0.92-0.92−0.92
000
0.920.920.92
t (ms)t\ (\mathrm{ms})t (ms)
normalized charge/current\text{normalized charge/current}normalized charge/current
Q/(1 μC)Q/(1\,\mu\mathrm C)Q/(1μC)I/(2 mA)I/(2\,\mathrm{mA})I/(2mA)
0.000 ms

No autoplay. Use Play or the keyboard-accessible slider to inspect the motion. Playback is slowed or accelerated for inspection.

U0\mathcal U_0U0​
Q2/(2C)Q^2/(2C)Q2/(2C)
LI2/2LI^2/2LI2/2
U\mathcal UU
The bars show the selected instant, in fractions of the initial stored energy.

图中横轴用 millisecond,纵轴分别画以 microcoulomb 表示的 charge,以及除以 2 mA2\,\mathrm{mA}2mA 后的 current。这样 normalize 后可以看清两者相差四分之一个周期,又不把 charge 和 current 当作同一种量。

加入 resistance

例:overdamped discharge

设

L=0.2 H,R=300 Ω,C=10−5 F,E(t)=0,L=0.2\,\mathrm H,\quad R=300\,\Omega,\quad C=10^{-5}\,\mathrm F, \quad E(t)=0, L=0.2H,R=300Ω,C=10−5F,E(t)=0,

并给定 Q(0)=10−6 CQ(0)=10^{-6}\,\mathrm CQ(0)=10−6C、I(0)=0I(0)=0I(0)=0。Charge equation 为

0.2Q′′+300Q′+105Q=0,0.2Q''+300Q'+10^5Q=0, 0.2Q′′+300Q′+105Q=0,

除以 0.20.20.2 后,等价地写成

Q′′+1500Q′+5×105Q=0.Q''+1500Q'+5\times10^5Q=0. Q′′+1500Q′+5×105Q=0.

Roots 为 −500-500−500 和 −1000-1000−1000。此外,Rc=20.2/10−5≈282.84 ΩR_c=2\sqrt{0.2/10^{-5}}\approx282.84\,\OmegaRc​=20.2/10−5​≈282.84Ω,所以 R>RcR>R_cR>Rc​ 也确认了这是 overdamping。

写成 Q=C1e−500t+C2e−1000tQ=C_1e^{-500t}+C_2e^{-1000t}Q=C1​e−500t+C2​e−1000t。Initial conditions 给出

C1+C2=10−6,−500C1−1000C2=0,C_1+C_2=10^{-6},\qquad -500C_1-1000C_2=0, C1​+C2​=10−6,−500C1​−1000C2​=0,

所以 C1=2×10−6C_1=2\times10^{-6}C1​=2×10−6、C2=−10−6C_2=-10^{-6}C2​=−10−6。以 second 为 ttt 的单位,得到

Q(t)=10−6(2e−500t−e−1000t)C,\boxed{Q(t)=10^{-6}(2e^{-500t}-e^{-1000t})\quad\mathrm C}, Q(t)=10−6(2e−500t−e−1000t)C​, I(t)=10−3(e−1000t−e−500t)A.\boxed{I(t)=10^{-3}(e^{-1000t}-e^{-500t})\quad\mathrm A}. I(t)=10−3(e−1000t−e−500t)A​.

对于这组 initial conditions,charge 会降到零而不改变正负。Current 为负,表示所选极板正在放电。其 magnitude 的最大值是 0.25 mA0.25\,\mathrm{mA}0.25mA,出现在 t=(ln⁡2)/500 s≈1.386 mst=(\ln2)/500\,\mathrm s\approx1.386\,\mathrm{ms}t=(ln2)/500s≈1.386ms;对 III 求 derivative 即可找到这个时刻。

选择 critical resistance

如果 L=0.2 HL=0.2\,\mathrm HL=0.2H、C=0.8×10−6 FC=0.8\times10^{-6}\,\mathrm FC=0.8×10−6F,选择

R=Rc=20.20.8×10−6=1000 Ω.R=R_c=2\sqrt{\frac{0.2}{0.8\times10^{-6}}} =1000\,\Omega. R=Rc​=20.8×10−60.2​​=1000Ω.

就把电路放在 oscillatory 与 nonoscillatory natural responses 的分界处。与弹簧一样,讨论哪种情形返回得最快时,要固定 initial conditions 和其他 parameters。

例:ringing 与 heat

回到 L=1 HL=1\,\mathrm HL=1H、C=0.25 μFC=0.25\,\mu\mathrm FC=0.25μF,但这次取 R=400 ΩR=400\,\OmegaR=400Ω。因为 Rc=4000 ΩR_c=4000\,\OmegaRc​=4000Ω,电路是 underdamped 的。仍取 initial charge 为 10−6 C10^{-6}\,\mathrm C10−6C,initial current 为零:

Q′′+400Q′+4×106Q=0.Q''+400Q'+4\times10^6Q=0. Q′′+400Q′+4×106Q=0.

Roots 有固定的 negative real part:

r=−200±iμ,μ=3960000.r=-200\pm i\mu,\qquad \mu=\sqrt{3960000}. r=−200±iμ,μ=3960000​.

把 initial conditions 代入 Q=e−200t(C1cos⁡μt+C2sin⁡μt)Q=e^{-200t}(C_1\cos\mu t+C_2\sin\mu t)Q=e−200t(C1​cosμt+C2​sinμt),得到 C1=10−6C_1=10^{-6}C1​=10−6 和 μC2=200C1\mu C_2=200C_1μC2​=200C1​。因此

Q(t)=10−6e−200t(cos⁡μt+200μsin⁡μt).\boxed{Q(t)=10^{-6}e^{-200t}\left(\cos\mu t+\frac{200}{\mu}\sin\mu t\right)}. Q(t)=10−6e−200t(cosμt+μ200​sinμt)​.

Amplitude envelope 每经过 1/200 s=5 ms1/200\,\mathrm s=5\,\mathrm{ms}1/200s=5ms 就缩小为原来的 e−1e^{-1}e−1。Charge 和 current 一边 oscillate,一边趋于零。Energy 并不是凭空消失,而是转成了 resistor 中的 heat。

没有 external source 时,令从零时刻起累积的 heat 为

H(t)=∫0tRI(s)2 ds.H(t)=\int_0^t RI(s)^2\,ds. H(t)=∫0t​RI(s)2ds.

Energy balance 给出

U(t)+H(t)=U(0).\mathcal U(t)+H(t)=\mathcal U(0). U(t)+H(t)=U(0).

Charge and current decay as stored energy becomes heat in the resistor.

rlc responseCharge and current decay as stored energy becomes heat in the resistor. Time in milliseconds. Blue is charge in microcoulombs, dashed orange is current divided by two milliamperes. Full solution curves are shown; the vertical cursor selects a time.
000
222
444
666
888
101010
121212
141414
−0.92-0.92−0.92
000
0.920.920.92
t (ms)t\ (\mathrm{ms})t (ms)
normalized charge/current\text{normalized charge/current}normalized charge/current
Q/(1 μC)Q/(1\,\mu\mathrm C)Q/(1μC)−20003960000e−200t-\frac{2000}{\sqrt{3960000}}e^{-200t}−3960000​2000​e−200t20003960000e−200t\frac{2000}{\sqrt{3960000}}e^{-200t}3960000​2000​e−200tI/(2 mA)I/(2\,\mathrm{mA})I/(2mA)
0.000 ms

No autoplay. Use Play or the keyboard-accessible slider to inspect the motion. Playback is slowed or accelerated for inspection.

U0\mathcal U_0U0​
Q2/(2C)Q^2/(2C)Q2/(2C)
LI2/2LI^2/2LI2/2
HHH
Electric energy + magnetic energy + accumulated heat stays equal to the initial stored energy. Red dotted curves bound the normalized charge, not the current.

随着 heat 累积,储存的 electric energy 和 magnetic energy 逐渐减少。Amplitude 的 decay rate 不是 instantaneous energy decay rate;后者取决于 current,满足 U′=−RI2\mathcal U'=-RI^2U′=−RI2。

两个系统都需要区分这一点:free motion 描述已有的 energy 怎样变化,forced motion 还取决于与 external source 交换的 energy。只要 equation 和 initial conditions 建立正确,接下来使用的 solution methods 是一样的。

来源: https://notes.ohevan.com/zh/notes/ode/04-mechanical-and-electric-vibrations

© 2026 Evan Luo. 保留所有权利。

返回 Ordinary Differential Equations

0 次阅读

·最后编辑 今天
  • 邮件订阅

  • 关于我

  • 赞助

© 2026 Evan Luo. 保留所有权利。