• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Power Supply Circuits / 0-60V LM317HV Variable Power Supply Circuit Diagram

DIY Circuits | Learn Basics | Arduino Coding




0-60V LM317HV Variable Power Supply Circuit Diagram

Last Updated on January 17, 2025 by Swagatam 86 Comments

The high voltage LM317HV series of ICs will allow to go beyond the traditional voltage limits of an LM317 IC and enable controlling supplies that may be as high as 60V.

0-60V Regulation with a Single IC LM317

Therefore now you can build a universal 0-60V regulated power supply circuit loaded with all the essential features of a work bench test power supply circuit.

Normally a standard LM317 IC power supply is designed to work with inputs not exceeding over 40V, which implies that you cannot enjoy the features of this wonderful linear device for inputs that may be higher than this limit.

Probably the developers noticed this drawback of the device and decided to upgrade the same with its improved version LM317 HV which is specifically designed to handle voltages upto 60V, meaning now you can exploit all the special features of an LM317 IC even with inputs higher than its earlier specifications.

This makes the IC extremely versatile, flexible and a true friend of all electronic hobbyists who are always looking for an easy to build yet rugged and powerful workbench power supply circuit.

I have explained how this high voltage LM317 HV design is created for the proposed 0-60V variable power supply circuit operations.

Pinout Configuration of LM317HV

The following diagram shows the pinout diagram of the device LM317HV

Pinout Configuration of LM317HV

Image Courtesy: http://www.ti.com/lit/ds/symlink/lm117hv.pdf

LM317HV 0-60V Regulated Adjustable Variable Power Supply The Design

The next diagram shows the standard LM317HV 0-60V variable regulated power supply circuit, in fact this configuration may be universally applicable to all LM317/LM117, LM338, and LM396 IC family.

0-60V LM317HV Variable Power Supply Circuit Diagram

Referring to the design taken from its datasheet we can see that the variable resistor or the potentiometer is specified as a 5K pot, but actually this should be much higher than this value, may be around 22K for achieving a complete 0 to max adjustable output.

The input shows a 48V but we can go a bit higher than this and use upto 56V DC as the input, but please do not stretch it to full 60V as that would mean operating the device at the verge of its breakdown limit and this could make the IC vulnerable to damage.

In case you operate it with a 60V input or slightly above this, then short circuiting the output terminals accidentally could cause an instant damage to the IC, that's why it is not recommended to force the IC to work at its full throttle.

Below this limit, the internal short circuit protection feature could be expected to work normally and safeguard the IC from any possible short circuiting at the output.

C1 may be included only if the shown circuit stage is over 6 inches away from the bridge rectifier and the associated filter capacitor network

C2 is optional and may be included only to improve performance which would help eliminating all possible spikes or transients in the DC line.

For achieving a fixed regulated voltage, R2 could be replaced with a fixed resistor with respect to R1, this may be calculated using the following formula:

Vout = 1.25(1 + R2/R1), 

where 1.25 is the fixed reference voltage value generated by the ICs internal circuitry.

You can also use the following software for calculating the same:

LM317 LM338 Calculator

Adding Protection Diodes and Bypass Capacitor

The next diagram shows how a couple of diodes may be added to the basic voltage regulator design for reinforcing the circuit with extra protection, although this may not be too crucial.

Adding Protection Diodes and Bypass Capacitor to LM317 circuit

Here D1 protects the IC from the discharge of C1 due to an accidental short circuit of Vin with the ground line, while D2 does the same against C2 discharge.

The role of C1 is already explained in the previous paragraph, C2 is used as a bypass capacitor. C2 may be included to further improve the output DC regulation as it would help to eliminate all sorts of ripple voltages that might appear across the output.

Adding a Simple Current Limiter Stage

Although the LM317HV is internally restricted to produce not more than 1.5 amps at the output, in case the output current is required to be strictly below this limit or any other desired limit below 1.5 amp, then this feature could be achieved by adding a straightforward BC547 stage as shown below:

The diagram also shows the complete LM317HV high voltage 0-60V variable regulated power supply circuit in a pictorial format.

LM317HV high voltage 0-60V variable regulated power supply circuit Diagram


Here R1 refers to 240 ohm, R2 could be a 22k pot, and Rc may be calculated using the following formula for achieving the required current control feature:

Rc = 0.6/Max current limit value.

For example if the maximum value is selected to be 1 amp, then the above formula could be calculated as:
Rc = 0.6/1 = 0.6 ohms
the wattage of the resistor could be calculated as given under:
0.6 x 1= 0.6 watts
The diode in the bridge rectifier should be preferably 1N5408 diodes for ensuring a smooth rectification with no heating issues.
C1 may be anything above 2200uF/100V, although lower values will also do for lower current loads and for non critical loads which do not mind slight ripple factor in the line.
The transformer could be a 0 - 42V/220V/2amp.
The 0 - 42V is recommended because after rectification and smoothing this final DC could exceed a little over 55V.

The next article we might possibly discuss regarding the various application circuits using the LM317HV high voltage regulator IC.

PCB Layout (with reference to the second diagram)
PCB Layout LM317 circuit

You'll also like:

  • RippleControlledPowerSupplyCircuitDiagramUsingTransistorsRegulated, High Current Power Supply Circuit
  • 1Low Dropout (LDO) Voltage Regulator IC KA378R12C – Pinout and Working Specs
  • autotransformerHow an Autotransformer Works – How to Make
  • 4 Simple Transformerless Power Supply Circuits Explained

Filed Under: Power Supply Circuits Tagged With: 60V, LM317HV, Power, Supply, Variable

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Recover Energy from Induction Cooktop
Next Post: How to Make a Simple Math Calculator using Arduino »

Reader Interactions

Comments

Elmar says:
November 10, 2025 at 7:11 am

Hi sir, i have 38-0-38 transformer,can i use this transformer on this circuit?

Reply
Swagatam says:
November 10, 2025 at 7:53 am

Hi Elmar,
It is a touch and go situation, because your transformer voltage after rectification could be as high as 56V….Although it may be fine for this circuit, it is on the borderline…You can use an emitter follower regulator at the input of the above circuit to ensure that the regulated input to the IC never exceeds 56V…
https://www.homemade-circuits.com/wp-content/uploads/2021/01/simple-pass-transistor-emitter-follower-volateg-regulator.png

Reply
Elmar says:
November 10, 2025 at 8:02 am

Thank you sir, can you give me the value of those components sir.

Reply
Swagatam says:
November 10, 2025 at 2:42 pm

Sure, I can give it to you!
Transistor can be TIP122
Zener diode can be 56V 1 watt.
R1 can be around 4.7k 2 watt
VR1 is not required. You can connect the base of the transistor directly between the zener cathode and the R1.

Reply
Elmar says:
November 10, 2025 at 2:44 pm

Thank you very much sir……

Reply
Bivash Banerjee says:
May 11, 2023 at 8:19 pm

Wanna make a diy 0-60v 0-20 amp power supply using 3055 transistor and lm317

Kindly help for a nice accurate and powerful circuit

Reply
Swagatam says:
May 12, 2023 at 9:17 am

You can try the second last circuit from the following article:

https://www.homemade-circuits.com/lm317-with-outboard-current-boost/

Reply
Matjaz Marinko says:
February 1, 2023 at 12:25 am

Dear Mr. Swagatam
I need 53 V input and 12 -15 V output for a 2 lights and webasto diesel heater ( 5 -7 A)
I would like to make circuit as you give us on March 27, 2022
I have 6 nos TIP 2N3055
do i need to make 3 X parallel LM317HV?
If need, how to add 3 x lm317HV in parallel. Just put in parallel with no resistors between
Input is from lifepo4 batteries 48 -53 volts do i need capacitor at the input?
R1 is 240 OHM , how many W
R2 could be a 22k pot.- how many W
Thank you very very much for your help.
Regards, MATJAZ

Reply
Swagatam says:
February 1, 2023 at 9:09 am

Hi Matjaz,
If you are using 2N3055 transistors then adding 317 in parallel is not required. For 7 amp current only 3nos of 2N3055 are enough.
If you want to connect 317 in parallel, first build a single 317 circuit with resistor and pot, then add two more 317 in parallel to the first one.
Make sure to install all the 3 ICs on a single common heatsink.
Capacitor will not be needed at the input.
240 is 1/4 watt
pot can any ordinary pot.

Reply
Kirk Herron says:
August 29, 2022 at 2:56 am

Hello,

I would like to try your power circuit for a project I am working on, but would like to ask a few questions before I attempt to build the circuit. The input voltage will be input 110/120VAC and I am looking for a variable output of 12VDC – 20VDC 4a-8a. Can you recommend correct components for this?

Reply
Swagatam says:
August 29, 2022 at 1:11 pm

Hi, to implement this circuit you will need a 120V to 20 V transformer. After this you can rectify the 20V AC from the transformer and use it as the input DC for the above explained LM317 circuit.
For increasing current you can modify the basic circuit into the following design:

https://www.homemade-circuits.com/wp-content/uploads/2022/04/high-current-LM317-power-supply-circuit.jpg

Reply
Youngking says:
August 12, 2022 at 12:45 pm

Hello sir, I check the circuit but the seller gave me wrong ic instead of lm317, but I got 5.62 at the output. So what could be the actual problem or can it be the tiny wire I used for the circuit.all my connection are correct. My Rc should be 0.6ohm and is not found in my place so I used two 1ohms 1 watts in parallel and 0.22 ohm’s in series with the resistor
as you instructed becausee 0.1 ohm’s is not found, C1= 6800uf 25v, R2=22kpot, R1=240 ohm’s.

Reply
Swagatam says:
August 12, 2022 at 6:00 pm

Hello Youngking, that seems strange.
With a 22K pot and 240 ohm resistor the output could be varied from 1.25V to 30V. Something is not right in your circuit. I suspect the IC itself may be faulty.
Instead of 317 you can try a fully transistorized circuit as explained in the following post, which will give you the same results as LM317.

How to Design a Bench Power Supply Circuit

Reply
Youngking says:
August 10, 2022 at 11:41 am

Good morning sir , sir I built this 0- 60 variable power supply the one using lm317 and bc547, but my output is 0.15 when turn my multi meter to left hand side written 200. But if I still turn it down to 20 my output will be 2.18. my transformer is 12-0-12v, what will be the problem no components is heating up or may be you didn’t indicate the Bc547 pins because the facing is confusing I also attached pictures on the values I get with the multi meter.

Reply
Swagatam says:
August 10, 2022 at 11:52 am

Hello Youngking, this is one of the simplest designs and cannot go wrong. A problem can arise only if there’s a fault in the connection or the IC itself is faulty. The BC547 pins are clearly indicated in the pictorial diagram, the emitter pin is shown connected with the ground.

You can try making the basic design first, and check the response, if still it doesn’t work then either your connections are not correct or the IC itself is faulty.:

https://www.homemade-circuits.com/wp-content/uploads/2016/08/317hv-5.png

Reply
Godfrey Godfrey says:
August 1, 2022 at 2:56 am

Dear sir,
Please sir, I intend to get 1.5A output from the circuit by removing the Bc 547 stage.

1. What else do I have to do or modify to get the 1.5A output?

2. Can I add filter capacitor at the regulated output?

3. Is the heat dissipation of the lm317 directly proportional to the difference between the input Voltage and output voltage like in the case of 2n3055 in one of your variable power supply circuits you told me about?

Thank you for your help, sir

Reply
Swagatam says:
August 1, 2022 at 10:06 am

Hi Godfrey,
Getting 1.5 amp from LM317 can make it very hot. You can simply replace it with an LM338 for getting 1.5 amps easily.
1) Just replace LM317 with LM338, or use two LM317 in parallel and mount them over a single common heatsink
2) You can add a capacitor at the output
3) Yes, since LM317 is also a linear regulator the heat dissipation will be directly proportional to the difference in the input/output voltages.

Reply
Godfrey Godfrey says:
July 23, 2022 at 2:17 am

Dear sir,
Please sir, how can the circuit be modified to have two outputs 12V and 5V at 1.5A?

Reply
Swagatam says:
July 23, 2022 at 8:59 am

Hi Godfrey,
you can adjust the pot to get 12V output, and then use a 7805 IC to convert the 12V to 5V. However you cannot get 1.5 V simultaneously from the two outputs. For this you may have to replace the LM317 with a LM338.

Reply
youngking says:
July 1, 2022 at 3:20 am

Okey sir, thanks alot. I appreaciate.

Reply
Swagatam says:
July 1, 2022 at 9:05 am

You are welcome!

Reply
Bivash Banerjee says:
June 30, 2022 at 7:15 pm

I wanted to build a variable power supply but unfortunately I don’t have the voltage regulator lm317hv.
I need 60v 20a output.

So what should I use instead of lm317hv?
For 60v

Reply
Bivash says:
February 24, 2023 at 8:39 am

LM317HV isn’t available in this place where I live. So can you provide an alternative of this please

Reply
Swagatam says:
February 24, 2023 at 8:58 am

There’s no other easy alternative for LM317HV

Reply
Swagatam says:
July 1, 2022 at 9:07 am

You can try the following concept:

Variable Voltage, Current Power Supply Circuit Using Transistor 2N3055

Reply
youngking says:
June 30, 2022 at 4:49 am

Okey sir, thank you for your responses, but the 1 ohm’s will it be 1 watts.

Reply
Swagatam says:
June 30, 2022 at 8:51 am

Yes you can use 1 watt

Reply
Youngking says:
June 28, 2022 at 10:36 pm

Good day sir, I hope you are doing well. My questions is concerning the 0-60v variable power supply that uses lm317H v (1) so if I use transformer of 14v/220 v/amps unknown won’t I get reasonable output of about 30v. (2)- the calculation of getting the RC, let say I go with your calculation which say’s 0.6/1=0.6 ohm’s for the resistor then the wattage is 0.6×1=0.6watt. I know 0.6 ohm’s is not found in my area so any substitution for such ohm’s. Thanks so far for your effort

Reply
Swagatam says:
June 29, 2022 at 10:26 am

Hi Youngking, if you are using a 14V transformer, then the output after rectification and filtration will be 14 x 1.41 = 19.74V
Yes RC will be 0.6 Ohms for a cut off current of 1 amp. Wattage calculation is also correct.
To build the 0.6 ohms you can use two 1 ohms in parallel and then add a 0.1 ohm in series, or you can try some other similar combination.

Reply
Madhav says:
June 22, 2022 at 8:54 am

Dear Swagatam:
Greetings.
My LiFePO4 battery pack is being designed for 72 volts (nominal) with 23 cells in series and 58 cells in parallel amounting to 25kwH. I will be needing a charger at 230v AC input, and can take care of the demand for 78v at 100 amps. I am unsure if such a circuit can be built as a single unit. Can you help with a circuit, where I can put two or three modules in parallel with each of them at 78v, to arrive at the desired current rating? Thanks in advance.

Reply
Swagatam says:
June 22, 2022 at 10:58 am

Dear Madhav, a charger circuit with auto cut off can be built but you will require a transformer which can convert the 230V into 78V 100 amps for the batteries

Reply
Suat Kaleli says:
May 21, 2022 at 8:19 pm

Hi Swagatam;
I have test for LM317; input is 23 V output is 12 V load is 0.32 A. LM317 is overheating. My I have your opinion. Thank and regards

Reply
Swagatam says:
May 22, 2022 at 9:43 am

Hi Suat, yes if the input/output voltage difference is high then any linear regulator will heat up, you can do nothing about it except connect a large heatsink, or do fan cooling. A capacitive current dropper is the best method which can be connected to 23V AC and then rectified for the motor and meter.

Reply
Suat Kaleli says:
May 22, 2022 at 10:32 am

Okey Sir,
then since my source transformer output is 23 AC and it is necessary to place capacitor after the rectifier and then DC output is 33 DC. That is over burden to LM317 or even 7812. As far as I understand your evaluation, I should either change my transformer or lower the AC input source to about 15 V. So I should search the second choice first. Kind Regards

Reply
Swagatam says:
May 22, 2022 at 12:17 pm

Hi Suat, yes using a 12V transformer will quickly solve the heating issue.

Reply
Suat Kaleli says:
May 15, 2022 at 2:52 pm

Hi Swagatam;
by considering above statement; “C1 above or min. 2200 mF”, let’s use 2200 or 6800 mF then in the aspect of output dc voltage, result would be same or 6800 is would be more effective? Regards

Reply
Swagatam says:
May 15, 2022 at 4:25 pm

Hi Suat, the higher the value of C1 the better will be the filtration. 2200uF is a reasonable value, but higher values can be tried for improving the output DC further.

Reply
Suat Kaleli says:
May 16, 2022 at 12:01 pm

Hi Again Swagatam;
Sorry just to completely understand the matter let me ask; for instant I have transformer input 220 and output 24 V and 100 VA. (I think app. 4 Amps) When I use 2200 mf capacitor as a filter after diodes I measure about 34 V output. In case I would have used 3300 mF then the gain would be more output voltage or more stable voltage? and also please comment what about the output current would be the same, less or higher?-thanks and kind regards

Reply
Swagatam says:
May 16, 2022 at 2:33 pm

Hi Suat, the gain will be more stable voltage at higher loads. Max current will remain 4 amps only, but higher capacitor values will ensure that the output doesn’t drop with increasing loads upto 4 amps.

Reply
Suat Kaleli says:
May 18, 2022 at 7:52 am

Hi Swagatam;
Thanks a lot the above info is highly precious for me. Then please advise if it is possible to place the capacitors as parallel to increase the capacity. For instance to use 2 of them as 2200 mF 35 V plus 3300 mF 63 V. Or capacitors voltage values should be the same too? Regards

Reply
Swagatam says:
May 18, 2022 at 9:56 am

Hi Suat, you can put the capacitors with different voltages in parallel, but the minimum voltage of a capacitor should be at least 1.5 times the DC output of the power supply. Higher voltage values than this will be OK, no issues.

Reply
Suat Kaleli says:
May 20, 2022 at 10:12 am

Thanks Swagatam;
Power supply input 220 AC output is around 22 V DC but after bridge diode and capacitor that arises to 33 V DC. So, then I should consider 22 x 1.5= 33 V or 33 x 1.5= 50 V? For instance I have 35 V capacitor That will be any issue or tolerable? Regards

Reply
Swagatam says:
May 20, 2022 at 10:58 am

Hi Suat, a 35V capacitor can be too risky and might blow off if accidentally the DC across it exceeds above 35V. That is why, for better safety a 1.5 times more value is recommended. So a 50V capacitor is recommended for a 33V supply.

Reply
BIVASH says:
April 26, 2022 at 2:04 pm

Please suggest me a circuit diagram of a 60v 30a (1800watt) variable power supply.

And also give a 1800 watt power supply diagram. Because I’m not able to find it nearby

Reply
Swagatam says:
April 26, 2022 at 5:44 pm

You can try the following circuit:
https://www.homemade-circuits.com/lm317-variable-switch-mode-power-supply/
replace the Q1 transistor with three IRF9540 mosfets in parallel, mounted over a common heatsink
Also make sure to use very thick wires for the inductor L1.

First test the original low current version, if you succeed with it, only then go for the upgrade

Reply
Swagatam says:
March 27, 2022 at 6:33 pm

If you use minimum 4nos of 2N3055 then 20 amp can be achieved.

Reply
Bivash Banerjee says:
March 27, 2022 at 2:42 pm

And because of I want a output voltage of 60v, should I use lm317hv instead of lm317?

Reply
Swagatam says:
March 27, 2022 at 6:32 pm

Yes that’s correct! You must use LM317HV

Reply
Bivash Banerjee says:
March 27, 2022 at 2:41 pm

Is it capable to give 0-60v and 0-20a output?

Reply
Swagatam says:
March 27, 2022 at 10:55 am

You can do it by implementing the following design:
high current LM317 power supply through 2N3055 emitter follower

Reply
View Older Comments

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (93)
  • Audio and Amplifier Projects (133)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (85)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on 9 Simple Solar Battery Charger Circuits
  • Gagana on 9 Simple Solar Battery Charger Circuits
  • Swagatam on Arduino 2-Step Programmable Timer Circuit
  • Swagatam on Simple Buck-Boost Converter Circuits Explained
  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram

© 2026 · Swagatam Innovations