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

C2 · Lesson 18 · Switches and initial conditions

What a circuit looks like the instant a switch moves

When a switch flips, most voltages and currents in a circuit jump. Two never do: the voltage on a capacitor and the current in an inductor. Those two facts let you redraw the circuit at the instant after the switch, find every other voltage and current, and then do the same for the far future. With the start and the end in hand, the transient in between (lessons 7 and 8) is almost automatic.

Play

  • A switch (the step source) connects 10 V to two branches at once: a resistor and capacitor, and a resistor and inductor.
  • Right after the step, which branch carries current? Which part has the full 10 V across it?
  • Long afterward, which branch carries current, and where is the 10 V?

Predict

An uncharged capacitor sits in series with a 1 kΩ resistor. A 10 V source is switched across them. What current flows at the first instant?

Name it

Initial and final conditions

What can't jump, and why: a capacitor's voltage (a jump would need infinite current, i=Cdv/dt) and an inductor's current (a jump would need infinite voltage, v=Ldi/dt). Equivalently, neither one's stored energy can change instantly.

Just after the switch (t=0+), redraw the circuit:

  • each capacitor becomes a voltage source equal to its voltage just before (0−); an uncharged one is a short circuit;
  • each inductor becomes a current source equal to its current just before; one carrying no current is an open circuit.

Then solve that resistive circuit for everything else: resistor currents, inductor voltages, capacitor currents.

Long after (t→∞, with DC sources): capacitors are open circuits and inductors are short circuits. Solve again.

Initial rates of change follow from the 0+ circuit:

dvCdt|0+=iC(0+)CdiLdt|0+=vL(0+)L

These are what you need to start a second-order solution (lesson 15), which has two constants to fix.

Before the switch matters too. If a capacitor was charged to 5 V before the switch, it starts at 5 V, not 0. Work out the 0− state from the circuit as it was, which is usually a DC steady state.

Worked example

A switch connects 12 V through 1 kΩ to an empty 10 µF capacitor with 2 kΩ across it. Find the current just after closing, the final voltage and τ.

Show the solution
  1. Current just after closing. At 0+ the empty capacitor is a short, so i=12V1kΩ=12mA
  2. Final voltage. Long after, the capacitor is open, so v=12×23V=8V
  3. Time constant. The capacitor sees 1∥2=0.667 kΩ, so τ=0.667kΩ×10μF=6.67ms

Answer 12 mA flows just after closing, the capacitor ends at 8 V, and τ = 6.67 ms.

Worked example

An inductor carrying 50 mA has its supply switch opened, leaving only a 1 kΩ resistor across it. What voltage appears at the first instant?

Show the solution
  1. The current can't jump. The inductor's 50 mA is forced through the 1 kΩ.
  2. Voltage at the first instant. v=50mA×1kΩ=50V
  3. After that. It decays with τ = L/(1 kΩ).

Answer 50 V appears at the first instant, then decays with τ = L/(1 kΩ).

Worked example

A 10 µF capacitor starts at 3 V and is switched to 12 V through 2 kΩ. How long until it reaches 10 V?

Show the solution
  1. Time constant. It heads from 3 V toward 12 V with τ=2kΩ×10μF=20ms
  2. Write the curve. v(t)=12−9e−t/20ms
  3. Set v = 10 V. That gives e−t/τ=29, so t=20ms×ln⁡4.5=30ms
  4. The recipe. It's always the same: initial value, final value, time constant.
  5. What the head start saves. Starting from 3 V rather than empty saves the first ln(12/9) = 0.29τ of the charge.

Answer it reaches 10 V after 30 ms.

Check

An uncharged capacitor is in parallel with 4 kΩ. That pair is switched onto a 10 V source through 1 kΩ. What current does the source deliver at the first instant?

Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.

Check

Same circuit, 10 V, 1 kΩ and 4 kΩ. What voltage does the capacitor reach in the end?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A 10 mH inductor in series with 10 Ω, carrying no current, is switched onto 9 V. What is the inductor's voltage at the first instant?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Check

A 10 µF capacitor charged to 5 V starts discharging through 1 kΩ. How fast is its voltage changing at the first instant, in V/ms?

Write units the way you normally would: 1.5 V/ms, 1500 mV/ms and 0.0015 kV/ms are the same answer.

Check

Match each part, just after a switch moves, to what it acts like.

  1. Aan open circuit
  2. Ba short circuit
  3. Ca 5 V voltage source
  4. Da 2 mA current source

Check

A 47 µF capacitor at 2 V is switched to 12 V through 2 kΩ.

(a)

What current flows just after switching?

Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.

(b)

How long until it reaches 9 V?

Check

A capacitor starting at a is driven toward b through R.

Step 1

What's its voltage at t?

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

Why can't a capacitor's voltage change instantly when a switch flips?

Practice

Keep practicing

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