Professional Documents
Culture Documents
LM317 High Power Constant Current Source Circuit
LM317 High Power Constant Current Source Circuit
Fig. 1 LM317 controls MJ2955 transistor creating a 10-amp constant current source.
Follow @Lewis90068157
This is also designed to limit circuit damage for developing other devices such as an H-Bridge.
This current limiter function is used in battery charging, the main focus of this tutorial.
In this circuit we use a LM317 to control a MJ2955 15-amp PNP transistor. This transistor Q1
had a measured DC gain (hFE) of 148. This has been built and tested. A number of
improvements will be added.
The LM317 forms a high power constant current source by controlling the emitter-base current
of Q1 by using an LM317 CCS. The CCS current is shunted to ground.
R1 determines the current though the LM317 with the formula 1.25V / R1. To determine the
values of R1 in this example divide the desired output current (1A) by the hFE of Q1 (148).
This equals 6.75mA. Then divide 1.25V by 0.00675 equals ~150-Ohms.
https://www.bristolwatch.com/ccs/LM317b.htm 1/11
05/05/2024, 07:48 LM317 High Power Constant Current Source Circuit
Related videos:
Fig. 2 1 amp LM317 constant current source image with heat sinks.
An LM317 constant current source is controlling the base current (Ib) through a MJ2955 15
amp transistor. This combination supplies a far higher currant than the LM317 by itself.
The LM317T (TO-220 case) current is limited to 1.5A. This must be derated in the real world. Use the "70% rule" by
multiplying by 0.70 the maximum rating in the spec sheet. 1.5A * 0.7 = ~1A.
The diagram above taken from a live circuit test. The Q1 hFE was measured on a transistor
checker.
The desired current of 2A with a transistor hFE of 148 is 2A / 148 = 13.5mA. Q1 with a DC gain
(hFE) of 148 produces an output of 2 amps through a 10 ohm load.
Q1's base current (Ib) is set by the 200-Ohm potentiometer and 10 ohm combination to
https://www.bristolwatch.com/ccs/LM317b.htm 2/11
05/05/2024, 07:48 LM317 High Power Constant Current Source Circuit
produce an Ib of 13.5mA. This can also be found by the formula 1.25 / Ib = 1.25 /0.0135 = ~92
Ohms. The nearest common resistor value is 91 Ohms.
https://www.bristolwatch.com/ccs/LM317b.htm 3/11
05/05/2024, 07:48 LM317 High Power Constant Current Source Circuit
Fig. 4 LM317 constant current source with pass transistor as ON-OFF switch.
In Fig. 4 a number of changes have been added. Q2 acts as a current ON-OFF switch for the
Q1-LM317 circuit. This can be controlled from an Arduino or similar microcontroller. A HIGH
switches on Q2 completing the path to ground for the LM317.
An input ballast resistor is added from the positive supply input to Q1 emitter. As Q1 heats up
the DC gain (hFE) will increase, thus the output current will increase. This could cause thermal
runaway. The 0.5-Ohm resistor should counter this problem. This will be more useful when
covering bipolar transistors in parallel.
D1 is a blocking diode needed if using this circuit for charging lead-acid or other batteries. This
prevents battery current from feeding back into Q1 when the charging voltage is off.
https://www.bristolwatch.com/ccs/LM317b.htm 4/11
05/05/2024, 07:48 LM317 High Power Constant Current Source Circuit
Fig. 5 12V Battery under charge with LM317 CCS and TL431 charge controller.
https://www.bristolwatch.com/ccs/LM317b.htm 5/11
05/05/2024, 07:48 LM317 High Power Constant Current Source Circuit
Fig. 6 12V Battery charger with LM17 CCS and TL431 charge controller.
In Fig. 6 the LM317 constant current source circuit have been paired with a TL431 under
voltage detector circuit. This was used to charge a 12-volt lead-acid cell in Fig. 5.
https://www.bristolwatch.com/ccs/LM317b.htm 6/11
05/05/2024, 07:48 LM317 High Power Constant Current Source Circuit
https://www.bristolwatch.com/ccs/LM317b.htm 7/11
05/05/2024, 07:48 LM317 High Power Constant Current Source Circuit
https://www.bristolwatch.com/ccs/LM317b.htm 8/11
05/05/2024, 07:48 LM317 High Power Constant Current Source Circuit
Fig. 9 LM317 switched ON-OFF through an optocoupler from TL431 voltage detector.
https://www.bristolwatch.com/ccs/LM317b.htm 9/11
05/05/2024, 07:48 LM317 High Power Constant Current Source Circuit
Related YouTube video Charging, Charge-Balancing 18V Li-Ion Battery with TL431
Related YouTube video 18.5V Li-Ion Battery Charger with TL431 (short)
Other Circuits
https://www.bristolwatch.com/ccs/LM317b.htm 10/11
05/05/2024, 07:48 LM317 High Power Constant Current Source Circuit
https://www.bristolwatch.com/ccs/LM317b.htm 11/11