Charging a capacitor through a resistor
Connect a capacitor straight across a battery and it fills in a flash: nothing holds the current back. Put a resistor in the way and the charge has to squeeze through it, so filling up takes time, long enough to watch.
Build the circuit in the picture: a 10 kΩ resistor from the + rail, then the 100 µF electrolytic capacitor from the resistor's far end to the − rail.
The capacitor has a + leg (the longer one) and a − leg, marked by the stripe on its side. The + leg goes to the resistor.
Now watch it charge. Open the oscilloscope, clip probe 1 onto the column with the capacitor's + leg, and press Run.
The scope's black lead is already on the − rail, so the trace is the voltage across the capacitor. The screen is set to 1 second per square across and 2 V per square up, with 0 V near the bottom.
Let it run for ten seconds or so. Where does the voltage level off?
Answer in V.
The trace climbs steeply at first and then more and more slowly. Why does it slow down?
- As the capacitor's voltage rises, less of the battery's voltage is left across the resistor, so less current flows
- The resistor heats up and its resistance rises
- The battery runs down as it fills the capacitor
Roughly how long did it take to look full?
- Well under a second
- About 5 seconds
- About a minute
Charging a capacitor through a resistor:
- the current starts at its biggest, battery voltage over resistance, and dies away;
- the capacitor's voltage rises fast, then slower and slower, towards the battery's;
- it ends up at the battery's voltage, with no current flowing.
On a real bench an electrolytic's value is only within about 20% of what's printed on it, so a real curve takes a little more or less time than this one. Its insulation also leaks a few microamps, so a real one charged to 9 V and left alone drifts down over minutes; the simulated one holds its charge for as long as you like.