Skip to main content

0-60V LM317HV Variable Power Supply

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.

Let's learn 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

Image Courtesy:

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.

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.

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.

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.

Image Courtesy:

Need Help? Please leave a comment, I'll get back soon with a reply!


  1. Hello Mr. Swagatam.
    Is it possible to change this circuit giving a boost in amperage?

  2. Hello Amadeu, yes that may be possible by implementing the following concept in the above design

  3. Sir I have some led driver which input is 24 volt AC and out is 54 volt dc.i want to opret it without transformer.can it possible 220 v drop into 24 volt AC or any other ideas.please suggest me.thanks in advance.

  4. Ashok, that may be possible only through a 24V transformer or through another 220V to 24V SMPS.....

    however you can try a capacitive power supply also, using the following concept:

    replace the zener with a 24V zener in the design

  5. Hai sir...
    I have few doubts in Protection diode using in LM317...
    If we use protection diode D1,D2 in lm317 .it will protect the o/p short circuit...
    If vout short circuit to gnd what happen to ic..ic will damage or not...
    In our college lab many varaible power supply damages due to o/p short circuit...
    So by using protection diode in lm317 it will help or not..

  6. Hi Kesav,

    LM317/LM338 ICs are internally protected from short circuit, overload current and from over heating (thermal protection) so it is virtually indestructible.

    the indicated protection diodes are actually not required, because its job is to protect the IC if a short circuit is made from the input side of the IC with a high value charged capacitor connected at the output side.

    Since the above possibility is quite unlikely, the shown protection diodes actually do not own much importance, and is not relevant to output short circuit situation....

  7. Okay sir...
    But when o/p short circuit happens the IC get more heating...
    I'm so affair whether the ic will damage...
    If there any protection circuit available pls share me sir...
    Bcs many power supplies are got college lab..
    I'm using 18-0-18v Transformer 1Ampere...
    How much size heat sink required for IC317

  8. LM317 already has all the protections in-built so no external means are required, when it heats up beyond a certain level the IC will shut down automatically until the heat returns to lower levels.

    you can use the following type of heatsink, and make sure the IC is original, duplicates may not have the above mentioned protections...

  9. Thank u sir....
    I'm using ic company name is ST...
    Is this company good sir...

  10. yes it is good, but the problem is that duplicate companies can also put fake prints, but no problem mostly it should be original

  11. Hello sir, please I need a 90v high voltage regulator input to 0-24v output. Thanks

  12. Sorry I do not have this at the moment


Post a Comment