RC circuit: charging a capacitor
A voltage step applied to an RC circuit charges the capacitor: u_C(t) = E (1 − e^(−t/τ)), with τ = RC. Set R, C and E, read τ three ways (tangent at the origin, 63%, calculation) and switch to discharging.
Circuit and source
Circuit diagram
Transient response
Calculations
Export:
Sinusoidal steady state: Bode plot
How to do it
- Set R, C and the voltage E in “Circuit and source”.
- Read the curve u_C(t) and the time constant τ = RC shown.
- Place the cursors on the oscilloscope to measure τ at 63% of E.
- Choose discharging among the ready-made circuits to compare.
Tips
- After 5τ, the capacitor is 99% charged: the usual length of the transient.
- Doubling R or C doubles τ.
- Export the curves (SVG, PNG, CSV) and the calculations as LaTeX for a report.
Frequently asked questions
What is the time constant τ?
τ = RC, in seconds: the time for u_C to reach 63% of its final value when charging. The tangent at the origin meets the asymptote at t = τ.
What is the differential equation?
RC du_C/dt + u_C = E, with solution u_C(t) = E (1 − e^(−t/RC)) for an initially discharged capacitor.
Is my data uploaded?
No, the simulation runs in your browser; the share link contains the circuit.