A charging discharging capacitor follows a strict exponential curve defined by the RC time constant. In practical DC circuits, it takes exactly 5 time constants (5τ) for a capacitor to reach 99.3% of the supply voltage when charging, or drop to 0.7% of its initial voltage when discharging. If you are designing a 555 timer delay, a power supply filter, or a reset circuit, selecting the right dielectric and understanding this curve is the difference between a stable, predictable circuit and a drifting, unreliable mess. Assuming ideal components and a pure DC step response, the math is absolute—but real-world parasitics and dielectric absorption will change your results if you pick the wrong part.
The Math of Charging and Discharging (RC Time Constants)
The time constant (τ, measured in seconds) is the product of the circuit's resistance (R, in ohms) and capacitance (C, in farads). The formula is simply:
τ = R × C
One time constant represents the time it takes for the capacitor to charge to 63.2% of the applied voltage, or discharge to 36.8% of its starting voltage. Because the curve is exponential, the rate of voltage change slows down as the capacitor's voltage approaches the source voltage.
| Time Constant (τ) | Charging (% of Source) | Discharging (% of Initial) | Practical Status |
|---|---|---|---|
| 1τ | 63.2% | 36.8% | Rapid initial change |
| 2τ | 86.5% | 13.5% | Usable for rough timing thresholds |
| 3τ | 95.0% | 5.0% | Approaching steady state |
| 4τ | 98.2% | 1.8% | Functionally stable for most logic |
| 5τ | 99.3% | 0.7% | Considered 100% fully charged/discharged |
Worked Numeric Example
Suppose you are building a soft-start circuit using a 100 kΩ resistor and a 47 µF capacitor. First, convert microfarads to farads: 47 µF = 0.000047 F.
- Calculate 1τ: 100,000 Ω × 0.000047 F = 4.7 seconds.
- Calculate full charge (5τ): 4.7 s × 5 = 23.5 seconds.
When power is applied, the capacitor will reach 63.2% of the supply rail in 4.7 seconds, and will be considered fully charged (99.3%) at 23.5 seconds. If you need a faster charge, you must decrease either the resistance or the capacitance.
Capacitor Types for Timing, Filtering, and Energy Storage
Not all capacitors behave identically during a charge/discharge cycle. Dielectric absorption (the tendency of a capacitor to recover some voltage after being discharged) and equivalent series resistance (ESR) heavily influence real-world performance. Use the table below to select the correct chemistry for your specific application.
| Type | Dielectric / Construction | Typical Tolerance | Tempco (Temperature Coefficient) | Best Application |
|---|---|---|---|---|
| MLCC (X7R) | Barium Titanate Ceramic | ±10% to ±20% | ±15% over -55°C to +125°C | Decoupling, bypass, general-purpose timing |
| Film (Polypropylene) | Metallized Plastic Film | ±1% to ±5% | -200 to -400 ppm/°C (Highly stable) | Precision RC timing, audio crossovers, high dv/dt snubbers |
| Aluminum Electrolytic | Etched Aluminum Foil + Liquid Electrolyte | -20% to +50% | High variance, capacitance drops in cold | Bulk energy storage, power supply filtering, low-frequency coupling |
| Supercapacitor (EDLC) | Activated Carbon + Organic Electrolyte | -10% to +30% | Capacitance drops significantly above 65°C | Memory backup, short-term ride-through power, energy harvesting |
Which type for which job? If your charging discharging capacitor is setting a precise time delay (like in an oscillator or a monostable multivibrator), always use Film or C0G/NP0 Ceramic. X7R ceramics suffer from severe voltage coefficient effects—meaning a 10µF X7R capacitor might only act like a 4µF capacitor when 20V is applied across it. Electrolytics are strictly for bulk filtering where exact timing is irrelevant and high capacitance per dollar is the priority.
Decoding Physical Markings and Safe Substitution
Reading capacitor codes is a mandatory bench skill, especially when dealing with through-hole and surface-mount ceramics that lack the space for printed text.
How to Read the Markings
- The Three-Digit Code (Ceramics): The first two digits are significant figures, and the third digit is the multiplier (number of zeros) in picofarads (pF). A marking of
104means 10 × 104 pF = 100,000 pF = 100 nF = 0.1 µF. - The Letter Suffix: Indicates tolerance.
J= ±5%,K= ±10%,M= ±20%. A104Kcapacitor is 100nF with a 10% tolerance. - Voltage Codes: Often a letter-number combo.
1H= 50V,2A= 100V,2E= 250V. A part marked2A104Kis a 100V, 100nF, ±10% capacitor. - Electrolytics: These print the values directly. You will see
470µFand25WVDC(Working Voltage DC). The stripe on the side always indicates the negative lead. The positive lead is usually longer from the factory.
How to Substitute Safely When the Exact Part is Missing
When your bin is missing the exact BOM part, follow these substitution rules to avoid destroying your circuit:
- Voltage Rating: You can always substitute a capacitor with a higher voltage rating (e.g., using a 50V part in a 16V circuit). Never substitute with a lower voltage rating. The physical size will be larger, so check clearance.
- Capacitance Value: For power supply bypassing and decoupling, substituting a slightly higher value (e.g., 2.2µF instead of 1µF) is generally safe and often beneficial. However, for timing and oscillator circuits, the capacitance must be exact. A 20% deviation in an RC timing circuit will shift your frequency or delay by 20%.
- Dielectric Swaps: Never swap a polarized electrolytic into a circuit with a DC bias that could reverse-bias it. Never swap a Y5V or Z5U ceramic for an X7R in a timing circuit; Y5V dielectrics lose up to 80% of their nominal capacitance when operated near their rated voltage and at temperature extremes.
Failure Modes and Visual Symptoms
Capacitors fail in predictable ways based on their chemistry. Recognizing these visual symptoms during board repair saves hours of multimeter probing.
Aluminum Electrolytic: Venting and Drying
Visual Symptom: The scored cross or 'K' on the top of the can is domed or ruptured. You may see crusty brown or black residue leaking from the rubber bung at the base.
Cause: Overvoltage, reverse polarity, or excessive ripple current causing internal heating. The electrolyte boils, generating gas that pops the pressure vent. In older equipment, they simply "dry out" over 15-20 years, losing capacitance and increasing ESR without any visible bulging. Always test vintage gear electrolytics with an ESR meter, not just a capacitance meter.
MLCC (Ceramic): Flex Cracking and Shorting
Visual Symptom: Often invisible to the naked eye. Under magnification, you may see a tiny hairline fracture near the terminal ends. On a multimeter, the part will measure 0Ω (a dead short).
Cause: Mechanical board flex. If the PCB is bent during depanelization, connector insertion, or being dropped, the rigid ceramic cracks. The crack exposes internal electrodes, which eventually migrate and short out. To prevent this, keep large MLCCs away from board edges and mounting holes.
Film Capacitors: Metallization Burnout
Visual Symptom: Discoloration, melting of the epoxy coating, or a distinct "pop" and smell of ozone during operation.
Cause: Exceeding the maximum dv/dt (rate of voltage change) rating. In snubber circuits or motor run applications, rapid voltage spikes cause high internal displacement currents that vaporize the thin metallized film layers.
Large filter capacitors in switch-mode power supplies (SMPS) and motor drives can hold lethal charges (300V–400V DC) for days after being unplugged. Never discharge a high-voltage capacitor by shorting it with a screwdriver. The instantaneous current ($I = V / ESR$) can easily exceed thousands of amps, vaporizing the screwdriver tip, blinding you with molten metal, and blowing the internal foil connection of the capacitor.
The Fix: Always construct a dedicated discharge tool using a high-wattage power resistor (e.g., a 10 kΩ, 5W or 10W wirewound resistor) mounted on an insulated fiberglass stick with heavy-duty alligator clips. This safely bleeds a 400V, 100µF capacitor down to a safe voltage in about 5 seconds without catastrophic current spikes. Always verify the terminals read 0V with a rated CAT III/IV multimeter before touching the board.
Understanding the physics of a charging discharging capacitor goes far beyond memorizing the 5τ rule. By matching the dielectric chemistry to your specific electrical stresses, reading manufacturer codes accurately, and respecting the stored energy in high-voltage systems, you ensure your designs are both mathematically sound and physically robust.






