The other day I was studying a current limiter using a basic current regulator, which used an old LM317LZ (Fig. 1).
I did the design on this IC about 20 years ago, with a little advice from Bob Dobkin. The LM317 was trying to force 40 mA into a white light-emitting diode (LED), so that 1.25 V across RS, the 30.1- sense resistor, would cause a 41-mA current to flowif you had enough voltage. (This is a GOOD standard application shown in every LM317 data sheet.) Because the output pin is 1.25 V above the adjust pin, the current I = 1.25 V/RS will flowif there's enough voltage.
It worked fine with an input voltage of 9 V, or 8 V. But, of course, when it hit 7.4 V, it began dropping out of regulation. This was the basic design for a flashlight, using a white LED and a 9-V battery. The flashlight would run with RS = 30 for a BRIGHT output, or 120 for long battery life, and still enough light to hike with on a trail in the pitch dark. (For info on this $20 flashlight, go to www.lightechnology.com/products.htm.)
I pondered this for a while. Would it do any better if I put the load in the + supply path of the LM317? How about installing the load between A and B, and placing a jumper wire between C and D? No, it would work just as welland just as badly.
Then a few days later, I realizedI could do a lot better than that! Yes, a low-drop-out (LDO) regulator, such as an LP2950, might do a tiny bit better than an LM317. But see Figure 2.
The LM334N can regulate with not 1.25 V across the sense resistorbut just 64 mV. So a 1.6- resistor will let you source 40 mA quite handily. And the voltage across the load does NOT have 0.7 V in series with it, so it regulates down MUCH better than Figure 1.
How much voltage is across the transistor? An ordinary 2N3906 will keep working down to 65 mV. So you can force 40 mA into a white LED that runs at 4.0 V, even down to a 4.13-V battery voltage. If you want to put 20 mA into a series stack of red LEDs, the conventional LM317 scheme will light two LEDs with a battery down to 6.3 V. But the LM334 scheme can drive three LEDs in series, with the same voltage. So it's not a bad circuit. This is a useful trick, especially if you have a load that's floating, and isn't grounded to either supply.
THIS circuit doesn't have a low tempco. Its output current increases at +0.33%/°C. But that's plenty good enough for many caseslike in a flashlight! If you need a better tempco than that, we know several ways to do it. Still, this will let you regulate the current into a red LED down to 2.1 V of supply voltage, or a white one down to 4.2 VMUCH better than 7.4 V.
OHI almost forgot to saythe LM334 sometimes needs a series RC damper. My first guess was 2 µF and 22 across the base-emitter of the PNP. Actually, this circuit didn't oscillate or ring badly without an added capacitor, but the noise was a bit quieter when I added a 2- or 10-µF electrolytic.
If you really want a low tempco, use copper wire (magnet wire) for the resistorthat will cancel out nicely. You'll need 6 ft. of #34 gauge, or 10 ft. of #32.
Even if you did have a grounded load, this circuit would regulate down to 5.4 Vconsiderably better than 7.4 V.
A few months earlier, I received a request for a somewhat-larger current limiter, that would pass 280 mA (200 mA ac rms) at 115 V ac, but no more than 300 mA. I thought a few seconds and scribbled out the basic circuit of Figure 3.
I told the guy, "This will probably work, but the FET has to be a big one, such as an IRF640 or IRF740, with a large heat sink, as it will have to handle 30 W. And the current limit isn't perfectly constant, or well defined, as the current limiter gets smaller at warm temperatures. I don't know if that's what you want, but that's what you get. Tell me if that's unacceptable. And if you nail the output with a short-circuit load, it will probably blow out."
Later, I thought about this circuit. Would it be possible to design in some improvements, to avoid some of these disadvantages?
When a shorted load is applied, the drain-source voltage will rise instantly to +150 volts, and the gate-drain capacitance will try to pull the gate to +130 V. That's not so good! Maybe the 10 µF + 0.1 µF across the zener, with the Schottky diode D2 added, will help clamp the gate to +15 V well enough to survive a momentary short? (Fig. 4.)