The problem with the resistor is that it gives poor performance - the LEDs are very sensitive to exceeding their current limits even momentarily, so you have to protect against the fast transient voltages produced by inductive switching, sudden changes in load on the alternator, etc. These can cause peaks of up to 50V!!
You can use the resistive load in conjunction with the zener diode.
What is the target forward voltage and current for the LEDs?
The best solution would be:
Code: Select all
Battery +ve ---- inductor ---- resistor ----- + ------- +
| |
Zener LED
| |
Battery -ve ----------------------------------+---------+
Without some specs for the LEDs I cannot tell you what values to use, but the general principle is this:
The LEDs want to operate with a fixed forward voltage and current. The resistor is set to drop the difference between the nominal alternator ouput voltage and the target LED forward voltage. The inductor resists change in current flow (this will help to remove the higher speed transients). The zener is like a switch that conducts only when the voltage across it exceeds a certain value - they come in many different values. If your LEDs are designed to operate at, say 10V with an absolute maximum of 12V then you would buy an 11V zener diode. Now when the voltage across the LEDs exceeds 11V, the Zener opens and clamps the voltage at 11V. This means that the resistor will have a higher voltage drop across it and more current will flow through it - but the additional current is flowing through the zener not the LEDs - they remain happy seeing 11v and constant current.
Give me the specs for your LEDs and I'll tell you what you need to do ...
Cheers,
Robin