A83 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A8 · Lesson 3 · First-order equations

Why an RC circuit charges along an exponential

Close a switch to connect a battery through a resistor to a capacitor, and the capacitor's voltage climbs along a curve you've seen many times: fast at first, then leveling off. Where does the exponential come from? Kirchhoff's voltage law and the capacitor's own law combine into a first-order differential equation, and solving it takes three lines.

Play

  • The source steps from 0 to 5 V at t=0. The scope shows the capacitor's voltage.
  • Double R, then double C. Where does the curve reach about 63% of the way? Compare with RC.
  • Make R small and C large, then the other way around, keeping RC the same. Does the curve change?

Predict

R = 1 kΩ and C = 1 µF. How long until the capacitor reaches about 63% of 5 V?

Name it

Setting up and solving

Setting up. Around the loop, the source voltage is shared by the resistor and the capacitor: Vs=iR+v. The capacitor's law says i=Cdv/dt. Substituting:

RCdvdt+v=Vs

A first-order linear equation, with τ=RC as the only parameter of the circuit.

Solving by separating variables. Rearrange so everything with v is on one side and everything with t on the other:

dvVs−v=dtτ

Integrate both sides: −ln⁡|Vs−v|=t/τ+c, so Vs−v=Ke−t/τ. Using the starting voltage v(0)=v0 to fix K=Vs−v0:

v(t)=Vs+(v0−Vs)e−t/τ

Read it as: final value, plus the initial gap shrinking exponentially. That one formula covers charging (v0=0), discharging (Vs=0), and everything in between.

The same equation, everywhere. An inductor and resistor give Ldi/dt+Ri=V, so τ=L/R. A thermometer warming in a bath, a tank draining through a pipe and a motor spinning up against friction all obey the same first-order law, with their own time constants. Learn it once.

The homogeneous part. With no source, τdv/dt+v=0, the solution is v0e−t/τ: the natural response, how the circuit relaxes on its own. With a constant source it shifts to approach the new final value. Lesson 4 adds sources that change in time.

Worked example

A 5 V step charges 100 nF through 10 kΩ. What is the voltage after 2 ms?

Show the solution
  1. Time constant. τ=RC=104×10−7s=1ms
  2. Voltage at 2 ms. Two milliseconds is two time constants: v=5(1−e−2)=4.32V 86% of the way there.

Answer 4.32 V after 2 ms, 86% of the way to 5 V.

Worked example

A 470 µF capacitor at 12 V discharges through 2.2 kΩ. When is it down to 1 V?

Show the solution
  1. Time constant. τ=2200×470×10−6s=1.034s
  2. Solve for the time. 12e−t/τ=1t=τln⁡12=2.57s

Answer it's down to 1 V after 2.57 s.

Worked example

A 5 V step drives a 10 mH inductor through 100 Ω. What is the current after 0.2 ms?

Show the solution
  1. Write KVL. Ldidt+Ri=5 This is the same first-order form as the RC circuit.
  2. Time constant. τ=LR=0.1ms
  3. The rising current. The current rises toward 5/100=50 mA: i=50(1−e−t/0.1ms)mA
  4. Current at 0.2 ms. i(0.2ms)=50(1−e−2)=43.2mA
  5. What can't jump. In an RL circuit the inductor current is the quantity that can't jump, the way capacitor voltage can't jump in an RC circuit.

Answer the current is 43.2 mA after 0.2 ms.

Check

What is the time constant of a 4.7 kΩ resistor charging a 22 nF capacitor?

Write units the way you normally would: 1.5 s and 1500 ms are the same answer.

Check

What is the time constant of a 4.7 mH inductor in series with 15 Ω?

Write units the way you normally would: 1.5 s and 1500 ms are the same answer.

Check

Solve dydt=−ay with y(0)=y0.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Check

A capacitor at 8 V is connected through a resistor to a 1 V source, with τ = 4 ms. What is its voltage after 2 ms?

Check

A 12 V step drives a 10 mH inductor through 100 Ω.

(a)

What is the time constant?

Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.

(b)

What is the current after one time constant?

Check

A capacitor charges toward V with time constant τ.

Step 1

What is v(t) from 0?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

In v(t)=Vs+(v0−Vs)e−t/τ, explain what each part represents physically.

Practice

Keep practicing

7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.