Capacitor Energy Storage Cycles

RC charge and discharge with ESR, energy ledger and live graphs.

Presets

Controls

Live readouts

Independent checks

Experiment

Run the experiment to compare the 63.2% time with the time constant.
The science

A capacitor stores energy in the electric field between two plates: Q = C V, E = 1/2 C V^2. A supercapacitor is the same idea with a huge surface area, giving farads instead of microfarads.

  • Charging through a resistance: C dV/dt = (Vs - V)/(R + ESR), so V(t) = Vs (1 - e^(-t/tau)) with tau = (R + ESR) C. After one tau the capacitor holds 63.2 % of Vs.
  • Discharging into a load: V(t) = V0 e^(-t/tau'), tau' = (RL + ESR) C.
  • Charging from a constant-voltage source through a resistor always wastes the same energy as it stores (as V goes to Vs): the source supplies C Vs^2, the capacitor keeps 1/2 C Vs^2, the other half is heat integral of I^2 R dt, whatever R is. A smaller R is faster, not more efficient. Constant-current charging can beat 50 %.
  • ESR (equivalent series resistance) heats the capacitor and lowers the usable voltage under load, which is why ageing capacitors fail first.

Honest simplifications: ideal capacitance (no voltage dependence, leakage or dielectric absorption), constant resistances, no temperature effect. The time axis is scaled so one time constant lasts about 1.4 s of screen time; sim time is shown in the readouts. Component values are illustrative.

Checks shown in the page: the RK2 numerical solution against the closed-form exponential; heat dissipated against 1/2 C Vs^2 (1 - e^(-2t/tau)); source energy against stored plus heat; discharge voltage against Vs e^-2.