---
title: Problem set 6
heading: "Problem set 6: transients and storage across the course"
eyebrow: C2 · Problem set 6
type: problems
---

::: hook
These problems mix the whole course: first- and second-order transients, real capacitors and inductors, energy storage, converters, switched capacitors and simulation. Each one has your own numbers.
:::

::: pool
pick: 12

::: check
kind: parts
given: Vs = 5 | 12; R = 10 | 47 | 100; C = 1 | 4.7; f = 0.5 | 0.667

## An RC timer charges {C} µF through {R} kΩ from {Vs} V. A comparator fires when the capacitor reaches {f} of the supply.

::: part
answer: R*C
unit: ms
tolerance: 0.5%

### What is the time constant?

::: misses
- [any] $\tau = RC$; kΩ × µF is ms.
:::
:::

::: part
answer: R*C*ln(1/(1 - f))
unit: ms
tolerance: 0.5%

### When does the comparator fire?

::: misses
- [R*C*f] The rise is exponential: $t = \tau\ln\frac{1}{1 - f}$.
- [any] $t = \tau\ln\frac{1}{1 - f}$.
:::
:::

::: part
answer: 0.5*C*(f*Vs)^2
unit: µJ
tolerance: 0.5%

### How much energy is stored in the capacitor at that moment?

::: misses
- [0.5*C*Vs^2] It's only at {f} of the supply.
- [any] $\frac12C(fV_s)^2$.
:::
:::

::: right
Right. Timers trade R against C: the product sets the time.
:::
:::

::: check
kind: parts
given: Vs = 12 | 24; R = 50 | 100; L = 50 | 200; Rp = 1 | 2.2

## A coil of {L} mH with {R} Ω winding resistance runs from {Vs} V. Its switch then opens, leaving only a {Rp} kΩ path.

::: part
answer: 1000*Vs/R
unit: mA
tolerance: 0.5%

### What steady current does it carry before the switch opens?

::: misses
- [any] $V_s/R$.
:::
:::

::: part
answer: 0.5*L*(Vs/R)^2
unit: mJ
tolerance: 0.5%

### How much energy is stored in its field?

::: misses
- [L*(Vs/R)^2] Include the ½.
- [any] $\frac12LI^2$; mH × A² is mJ.
:::
:::

::: part
answer: Vs/R*Rp*1000
unit: V
tolerance: 0.5%

### What voltage appears across the {Rp} kΩ path the instant the switch opens?

::: misses
- [Vs] The coil forces its current through the path, whatever voltage that takes.
- [any] $I_0R_p$.
:::
:::

::: part
answer: L/(R + Rp*1000)*1000
unit: µs
tolerance: 0.5%

### What is the time constant of the decay?

::: misses
- [L/R*1000] The path's resistance is in the loop too.
- [any] $L/(R + R_p)$.
:::
:::

::: right
Right. A big resistance in the path means a big, short spike.
:::
:::

::: check
kind: parts
given: L = 1 | 10; C = 10 | 100; R = 10 | 22 | 47

## A series RLC circuit has L = {L} mH, C = {C} nF and R = {R} Ω.

::: part
answer: 1/(2*pi*sqrt(L*1e-3*C*1e-9))
unit: Hz
tolerance: 0.5%

### What is its natural frequency?

::: misses
- [1/sqrt(L*1e-3*C*1e-9)] That's in rad/s.
- [any] $1/(2\pi\sqrt{LC})$.
:::
:::

::: part
answer: R/2*sqrt(C*1e-9/(L*1e-3))
tolerance: 0.5%

### What is its damping ratio?

::: misses
- [any] $\zeta = \frac R2\sqrt{C/L}$.
:::
:::

::: part
answer: 2*sqrt(L*1e-3/(C*1e-9))
unit: Ω
tolerance: 0.5%

### What resistance would damp it critically?

::: misses
- [sqrt(L*1e-3/(C*1e-9))] Twice that: $2\sqrt{L/C}$.
- [any] $2\sqrt{L/C}$.
:::
:::

::: right
Right. L and C set the frequency; R decides how quickly the ringing dies.
:::
:::

::: check
kind: parts
given: V = 10 | 12; R1 = 1 | 2; R2 = 3 | 6; C = 10 | 47

## A {V} V source is switched on at t = 0. It feeds {R1} kΩ into node a; {R2} kΩ and an uncharged {C} µF capacitor both connect node a to ground.

::: part
answer: V/R1
unit: mA
tolerance: 0.5%

### What current does the source deliver at the first instant?

::: misses
- [V/(R1 + R2)] At first the capacitor is a short, bypassing R2.
- [any] The uncharged capacitor shorts node a.
:::
:::

::: part
answer: V*R2/(R1 + R2)
unit: V
tolerance: 0.5%

### What voltage does the capacitor settle at?

::: misses
- [V] R2 holds it below the supply.
- [any] The divider, with the capacitor open.
:::
:::

::: part
answer: R1*R2/(R1 + R2)*C
unit: ms
tolerance: 0.5%

### What is the time constant?

::: misses
- [R1*C] R2 also connects to the capacitor; use the Thevenin resistance.
- [(R1 + R2)*C] With the source off, R1 and R2 are in parallel.
- [any] $(R_1 \parallel R_2)C$.
:::
:::

::: right
Right. Initial value, final value and τ: the whole transient.
:::
:::

::: check
kind: parts
given: C = 0.47 | 2.2; esr = 0.05 | 0.3; Irms = 1 | 3; L0 = 3000 | 10000; dT = 15 | 35

## An output capacitor of {C} mF with {esr} Ω of ESR carries {Irms} A RMS of ripple and runs {dT} °C below its rated temperature, where it's rated for {L0} hours.

::: part
answer: Irms^2*esr
unit: W
tolerance: 0.5%

### How much power does its ESR dissipate?

::: misses
- [any] $I^2\,\text{ESR}$.
:::
:::

::: part
answer: L0*2^(dT/10)
unit: h
tolerance: 0.5%

### Roughly how long should it last?

::: misses
- [any] Double for every 10 °C cooler.
:::
:::
:::

::: check
kind: parts
given: Vin = 5 | 12; D = 0.3 | 0.55; f = 250 | 600; L = 10 | 33; Io = 0.4 | 1.2

## A boost converter from {Vin} V at D = {D} switches at {f} kHz with {L} µH and delivers {Io} A.

::: part
answer: Vin/(1 - D)
unit: V
tolerance: 0.5%

### What does it output?

::: misses
- [any] $V_\text{in}/(1 - D)$.
:::
:::

::: part
answer: Io/(1 - D) + Vin*D/(f*1000*L*1e-6)/2
unit: A
tolerance: 0.5%

### What is the inductor's peak current?

::: misses
- [any] $I_\text{out}/(1 - D) + \Delta I/2$.
:::
:::
:::

::: check
kind: parts
given: C1 = 10 | 47; V1 = 12 | 24; C2 = 4.7 | 22

## {C1} µF at {V1} V is switched across an empty {C2} µF.

::: part
answer: C1*V1/(C1 + C2)
unit: V
tolerance: 0.5%

### What voltage do they share?

::: misses
- [any] Charge is conserved.
:::
:::

::: part
answer: 0.5*C1*C2/(C1 + C2)*V1^2/1000
unit: mJ
tolerance: 0.5%

### How much energy is lost?

::: misses
- [any] $\frac12\frac{C_1C_2}{C_1 + C_2}V_1^2$.
:::
:::
:::

::: check
kind: parts
given: L = 2.2 | 10; z = 0.4 | 0.7; C = 47 | 470

## A series RLC with L = {L} mH and C = {C} nF is designed for ζ = {z}.

::: part
answer: 2*z*sqrt(L*1e-3/(C*1e-9))
unit: Ω
tolerance: 0.5%

### What resistance does it need?

::: misses
- [any] $2\zeta\sqrt{L/C}$.
:::
:::

::: part
answer: pi/(sqrt(1 - z^2)/sqrt(L*1e-3*C*1e-9))*1e6
unit: µs
tolerance: 0.5%

### When is its first peak?

::: misses
- [any] $\pi/\omega_d$.
:::
:::
:::

::: check
kind: parts
given: dI = 1 | 4; dt = 20 | 100; dV = 20 | 50; C0 = 1 | 10

## A rail must hold within {dV} mV while a load jumps {dI} A for {dt} ns.

::: part
answer: dI*dt*1e-9/(dV/1000)*1e6
unit: µF
tolerance: 0.5%

### What capacitance is needed?

::: misses
- [any] $\Delta I\Delta t/\Delta V$.
:::
:::

::: part
answer: dI*dt*1e-9/(C0*1e-6)*1000
unit: mV
tolerance: 0.5%

### With only {C0} µF, how far does it droop?

::: misses
- [any] $\Delta I\Delta t/C$.
:::
:::
:::

::: check
kind: parts
given: C = 0.47 | 4.7; V1 = 5 | 5.4; V2 = 2.5 | 3; P = 0.5 | 2

## A {C} F supercapacitor at {V1} V feeds a {P} W load that works down to {V2} V.

::: part
answer: C*(V1^2 - V2^2)/(2*P)
unit: s
tolerance: 0.5%

### How long does it hold up, ignoring ESR?

::: misses
- [any] $C(V_1^2 - V_2^2)/2P$.
:::
:::

::: part
answer: 100*(1 - (V2/V1)^2)
tolerance: 0.5%

### What share of its stored energy does that use?

::: misses
- [any] $1 - (V_2/V_1)^2$.
:::
:::
:::

::: check
kind: parts
given: Vin = 3.3 | 5; f = 100 | 500; C = 0.1 | 1; Io = 5 | 20

## A charge-pump doubler from {Vin} V switches {C} µF at {f} kHz and supplies {Io} mA.

::: part
answer: 1/(f*1000*C*1e-6)
unit: Ω
tolerance: 0.5%

### What is its output resistance?

::: misses
- [any] $1/(fC)$.
:::
:::

::: part
answer: 2*Vin - (Io/1000)/(f*1000*C*1e-6)
unit: V
tolerance: 0.5%

### What does it output?

::: misses
- [any] $2V_\text{in} - I/(fC)$.
:::
:::
:::

::: check
kind: parts
given: tau = 1 | 5; dt = 0.5 | 2.5; k = 2 | 4

## An RC with τ = {tau} ms charges toward 1 V and is simulated with Δt = {dt} ms.

::: part
answer: 1 - (1 - dt/tau)^k
tolerance: 0.5%

### What does forward Euler give after {k} steps?

::: misses
- [any] $1 - (1 - \Delta t/\tau)^k$.
:::
:::

::: part
answer: 1 - exp(-k*dt/tau)
tolerance: 0.5%

### What is the exact value then?

::: misses
- [any] $1 - e^{-t/\tau}$.
:::
:::
:::

::: check
kind: parts
given: C = 100 | 470; V = 100 | 330; t = 0.5 | 5

## A {C} µF capacitor at {V} V is emptied in {t} ms.

::: part
answer: 0.5*C*1e-6*V^2
unit: J
tolerance: 0.5%

### What energy does it release?

::: misses
- [any] $\frac12CV^2$.
:::
:::

::: part
answer: 0.5*C*1e-6*V^2/(t*1e-3)/1000
unit: kW
tolerance: 0.5%

### What's the average power?

::: misses
- [any] Energy over time.
:::
:::
:::

::: check
kind: parts
given: L = 0.02 | 0.2; R = 10 | 50; V = 5 | 24

## A {L} H coil of {R} Ω runs from {V} V, with a flyback diode.

::: part
answer: 0.5*L*(V/R)^2*1000
unit: mJ
tolerance: 0.5%

### How much energy does it store?

::: misses
- [any] $\frac12LI^2$.
:::
:::

::: part
answer: L/R*ln(10)*1000
unit: ms
tolerance: 0.5%

### How long does its current take to fall by 90% after switch-off?

::: misses
- [any] $\frac LR\ln10$.
:::
:::
:::

::: check
kind: parts
given: f = 0.1 | 1 | 7; L = 2.2 | 22; R = 2 | 50

## A parallel tank at {f} MHz uses {L} µH with {R} kΩ of loss in parallel.

::: part
answer: R*1e3/(2*pi*f*1e6*L*1e-6)
tolerance: 0.5%

### What's its Q?

::: misses
- [any] $Q = \frac{R}{\omega_0L}$.
:::
:::

::: part
answer: f*1e6/(R*1e3/(2*pi*f*1e6*L*1e-6))/1000
unit: kHz
tolerance: 0.5%

### What's its bandwidth?

::: misses
- [any] $\frac{f_0}{Q}$.
:::
:::
:::
:::
