Electronic – Discharge risk of an LED fade-in circuit

ledsurge-protection

The simplest incarnation of the fade-in circuit I have planned is

schematic

simulate this circuit – Schematic created using CircuitLab

This gets a time constant of ~2.7s before taking into account the dynamic resistance of the amber LED with Vf=2.1V. It's to only fade in once on power-up and doesn't need additional control.

My question is: when the power is turned off and C1 discharges through D1, will I risk damage to the LED?

This graph from the specsheet:

dynamic resistance

suggests that if the capacitor had charged to 2.1V, on discharge it will momentarily be at the very top of the LED's rated current, 20mA. Adding a resistor inline with C1 would mitigate this risk but may interfere with the fade-in effect, as there would be an initial voltage over the diode at t=0. If I added this second resistor, I guess I could just choose it so that in voltage divider configuration it works out to well below the forward voltage drop of the diode?

Best Answer

There is no danger to the LED from removing the voltage source V1 or shorting it to ground. The LED itself limits the voltage across the capacitor, i.e. if it was safe while the voltage source was still connected, it's also at least as safe after it has been disconnected.

However, if you allow C1 to charge up to greater than the LED forward voltage and then connect the LED across it you could quite well damage the LED.