28. Fast charge, slow release

Circuit

Loading simulator…

Design Approach

Some control circuits must respond quickly when a signal rises but retain their output briefly when the signal falls. The solution uses a diode to make the charging and discharging resistances different.

How the Circuit Works

  1. Build the fast path. The reference adds R_CHARGE = 100 Ω and D1 from CTRL_IN toward the capacitor/output node TIMING_OUT. C1 = 10 µF stores charge to ground.
  2. Charge quickly. When CTRL_IN rises to 5 V, the diode conducts. The fast-path time constant is about 100Ω×10μF=1ms100\,\Omega \times 10\,\mu\mathrm{F} = 1\,\mathrm{ms}, giving a rapid rise above 4 V within 5 ms. The diode path initially leaves a forward drop, but the parallel R_DISCHARGE path continues charging C1 toward the full 5 V during a sustained HIGH.
  3. Make discharge slower. The solution adds R_DISCHARGE = 12 kΩ as a parallel return route around the diode path. When CTRL_IN falls to 0 V, D1 blocks reverse discharge through the low-resistance charge path, leaving approximately:τ=12kΩ×10μF=120ms\tau = 12\,\mathrm{k}\Omega \times 10\,\mu\mathrm{F} = 120\,\mathrm{ms}
  4. Check the release curve. The validator holds CTRL_IN HIGH for about 2 seconds before switching it LOW, allowing C1 to settle near 5 V through R_DISCHARGE. Starting from 5 V, the output falls to approximately 5e−50/120V≈3.30V5e^{-50/120}\,\mathrm{V}\approx3.30\,\mathrm{V} after 50 ms and 5e−300/120V≈0.41V5e^{-300/120}\,\mathrm{V}\approx0.41\,\mathrm{V} after 300 ms. Both satisfy the stated release limits.

Verify the Circuit

In EWsim, raise CTRL_IN from 0 V to 5 V and check TIMING_OUT≥4V\mathrm{TIMING\_OUT} \ge 4\,\mathrm{V} within 5 ms. Return CTRL_IN to 0 V and test the required ≥3 V at 50 ms and ≤1 V at 300 ms using the reference circuit’s transient response. Try lowering R_DISCHARGE to see the release become faster.

Key Learnings

  • A diode can create different charge and discharge paths using one capacitor.
  • Timing targets must be tested with the actual diode model and initial charged voltage, not only ideal RC approximations.