The Short Answer: Calculating Capacitor Discharge Time

In a theoretical DC circuit, it takes exactly five time constants (5τ) for a capacitor to discharge to ~0.7% of its initial voltage, which is universally considered the 'safe discharge' threshold for low-voltage electronics. The time constant (τ) is calculated by multiplying the resistance (R) in ohms by the capacitance (C) in farads.

The discharge voltage at any given time t is governed by the exponential decay formula:

V(t) = V₀ × e^(-t / RC)

Here is a concrete worked example for a typical offline switched-mode power supply (SMPS) primary filter:

  • Capacitor (C): 470µF (0.00047 F) rated at 400V
  • Bleeder Resistor (R): 220kΩ (220,000 Ω)
  • Initial Voltage (V₀): 325V DC (rectified 230V AC)

Step 1: Calculate τ (Tau)
τ = 220,000 Ω × 0.00047 F = 103.4 seconds

Step 2: Calculate 5τ (Full Discharge Time)
5 × 103.4 = 517 seconds (approx. 8.6 minutes)

After 8.6 minutes, the voltage will drop to roughly 2.3V. However, if you are designing for safety compliance (like IEC 62368-1), you must guarantee the plug pins drop below 60V within 1 second. In that scenario, you would need to drastically lower the bleeder resistor value to roughly 47kΩ, which increases standby power dissipation—a classic engineering trade-off.

Real-World Discharge vs. Theoretical RC Time

If you short a high-voltage electrolytic capacitor with a screwdriver, wait an hour, and then measure the terminals with a multimeter, you will often read a phantom voltage of 10V to 50V. The math above did not account for this. Why does it happen?

⚠️ Safety Warning: Never assume a high-voltage capacitor is dead just because the RC math says it should be. Always verify with a CAT III/IV multimeter and use a proper discharge probe (a high-wattage resistor on an insulated stick) before touching terminals.

This phenomenon is called dielectric absorption (or 'soakage'). When a capacitor is charged, the molecular dipoles inside the dielectric material physically align with the electric field. When you short the plates, the free electrons drain instantly (the RC discharge), but the physical dipoles in the dielectric take time to relax back to their random orientations. As they relax, they push charge back onto the plates, 'recharging' the capacitor.

According to the Cornell Dubilier Aluminum Electrolytic Application Guide, dielectric absorption is highly dependent on the dielectric chemistry. Aluminum electrolytics and tantalums exhibit high soakage, while polypropylene film and Class 1 ceramics (C0G/NP0) exhibit near-zero soakage. If your circuit requires a sample-and-hold capacitor that must discharge instantly without voltage memory, you cannot use standard electrolytics.

Capacitor Type Comparison: Which Dielectric for Your Discharge Profile?

Selecting the right capacitor isn't just about capacitance and voltage; the dielectric material dictates how the part behaves during charge and discharge cycles. Use this matrix to select the correct chemistry for your application.

Type Dielectric / Construction Typical Tolerance Tempco / Stability Dielectric Absorption Typical Use Case
Aluminum Electrolytic Oxide layer on etched foil, liquid/polymer electrolyte -20% / +80% Poor (High temp drift) High (Can recover 1-5% of charge) Bulk power supply filtering, motor start/run
MLCC (X7R/X5R) Barium titanate ceramic layers ±10% to ±20% Moderate (Voltage/Temp dependent) Moderate Decoupling, bypass, general DC blocking
MLCC (C0G/NP0) Para-electric ceramic ±1% to ±5% Excellent (Near zero drift) Negligible (<0.05%) RF tuning, precision timing, sample-and-hold
Polypropylene Film Metallized plastic film, wound or stacked ±1% to ±5% Excellent Extremely Low (<0.01%) High-voltage snubbers, audio crossovers, pulse discharge
Tantalum (MnO2) Porous tantalum anode, manganese dioxide cathode ±10% to ±20% Good High Compact low-voltage bulk filtering (never use for high ripple)

Decoding Capacitor Markings and Safe Substitution

When replacing a blown capacitor, you must read the physical markings accurately. Misinterpreting a code can lead to catastrophic failure.

Reading the 3-Digit Picofarad Code

Through-hole and surface-mount ceramic/film capacitors typically use a 3-digit EIA code representing picofarads (pF). The first two digits are significant figures; the third is the multiplier (number of zeros).

  • 104: 10 followed by four zeros = 100,000 pF = 100 nF = 0.1 µF
  • 472: 47 followed by two zeros = 4,700 pF = 4.7 nF
  • 221: 22 followed by one zero = 220 pF

Tolerance and Voltage Codes

A letter immediately following the numeric code indicates tolerance: J = ±5%, K = ±10%, M = ±20%. Voltage is often denoted by an EIAJ alphanumeric code (e.g., 1H = 50V, 2A = 100V, 2E = 250V). For a comprehensive breakdown of standard component values, refer to the All About Circuits capacitor textbook chapter.

Rules for Safe Substitution

If you do not have the exact BOM part on your bench, follow these substitution rules:

  1. Voltage: You can always substitute a higher voltage rating (e.g., using a 250V cap in a 100V circuit). Never substitute a lower voltage rating.
  2. Capacitance: For bulk filtering, going up 20-50% is usually fine (check inrush current limits). For timing/oscillator circuits, you must match the exact value and tolerance.
  3. Temperature Coefficient: Never substitute an X7R or Y5V ceramic for a C0G/NP0 in a timing or RF circuit. The capacitance of X7R drops drastically under applied DC bias (sometimes losing 50% of its rated value at half its rated voltage).
  4. ESR Requirements: If replacing an output filter cap on a switching regulator, do not swap a low-ESR polymer or MLCC with a standard high-ESR electrolytic unless the datasheet explicitly allows it. The regulator's feedback loop may become unstable and oscillate.

Failure Modes and Visual Symptoms

Capacitors fail in distinct ways depending on their chemistry and the stress applied. Recognizing these symptoms saves hours of troubleshooting.

Pro-Tip: If a power supply is 'dead' but the fuse is intact, check the primary bulk capacitor. If it reads as a dead short, the switching MOSFET is likely blown too. Always check the semiconductor switches when a bulk cap fails short.
  • Aluminum Electrolytic (Venting): Symptom: The top cross-scored vent is bulged upward, or brown/black crusty residue is leaking from the bottom rubber seal. Smell: Distinct 'rotten fish' or ammonia odor. Cause: Overvoltage, reverse polarity, or end-of-life electrolyte boil-off.
  • Aluminum Electrolytic (Dry Out): Symptom: No visual damage, but the circuit exhibits high ripple voltage or fails to start under load. Measurement: ESR meter reads significantly higher than the datasheet spec (e.g., >2Ω for a 1000µF cap). Cause: Prolonged heat exposure evaporating the internal electrolyte.
  • MLCC Ceramic (Flex Cracking): Symptom: Cap looks perfect, but causes a dead short on the rail. Cause: PCB bending during depaneling or connector insertion fractures the brittle ceramic internally, shorting the interleaved plates. Fix: Use 'soft termination' (flex-cap) MLCCs near board edges and heavy connectors.
  • Tantalum (Thermal Runaway): Symptom: Charred black mark on the PCB, component is cracked or completely missing (popped off). Cause: High inrush current or reverse voltage. Tantalum MnO2 caps fail as a dead short and can ignite. Always use a current-limiting resistor or specify polymer tantalums instead.

Decision Path: Sizing Your Capacitor and Bleeder Resistor

Use this decision matrix to lock in your component selection for power supply filtering and discharge safety.

Application Scenario Dielectric Choice Discharge / Bleeder Strategy
High-Voltage Offline SMPS (120/240VAC Primary) Aluminum Electrolytic (Snap-in, 105°C rated) Metal Oxide Film bleeder resistor (high surge tolerance)
Low-Voltage DC-DC Buck Converter Output Low-ESR Polymer or MLCC (X5R/X7R) No bleeder needed; load discharges it in milliseconds
High-Frequency Snubber (across MOSFET drain-source) Polypropylene Film (Radial or Axial) Discharges through the snubber resistor during every switching cycle
Precision Analog Sample-and-Hold C0G/NP0 Ceramic or Polystyrene Film Active discharge via analog switch (MOSFET) to ground

The Concrete Pick for Standard Offline Power Supplies

If you are designing or repairing a standard 120VAC/240VAC input offline power supply and need a reliable primary bulk filter with a safe, passive discharge path, use this exact combination:

  1. The Capacitor: Nichicon UC2W101MHD (100µF, 450V, 105°C snap-in aluminum electrolytic). The 450V rating provides a 20% safety margin over the ~375V peak of a 265VAC maximum input, and the UC2 series is rated for 10,000 hours at max temp, ensuring low dielectric absorption drift over a decade of use.
  2. The Bleeder Resistor: Vishay PR02FS0202203KR500 (220kΩ, 2W, Metal Oxide Film). Do not use standard carbon film resistors here; they cannot handle the continuous high-voltage stress and will drift open-circuit over time, leaving the capacitor lethally charged. A 2W metal oxide resistor will safely dissipate the ~0.24W of continuous power and guarantee the 100µF capacitor discharges below 34V in under 4 minutes.