# 5A Variable Linear Power Supply

18,854

180

35

Posted

## Introduction: 5A Variable Linear Power Supply

This power supply is a simple project that I have built on a weekend and I thought it would be a nice idea if I shared it here. This is the first instructable I write so please, sorry if any mistake.

It has a simple circuit and it's really easy to understand how it works. The original schematic is from the LM317 datasheet, but I did some modifications like adding a LM7812 to power up the fans, a lower resistor on the IC input and other things. This bench power supply is really stable and very useful in many applications.

## Step 1: The Circuit

The way the circuit works is very easy to understand. The LM317 adjusts the voltage. As current starts to flow through the 8,2ohm resistor, a voltage drop will appear across it. When this voltage drop is higher than 0,6 volts, the TIP42C starts to conduct and it drives the two 2N3055. The 2N3055 is on a emitter follower configuration and it will supply current to the output of the power supply. This starts happening when the IC LM317 is outputting 73mA, as ohm's law show us: 0,6/8,2 = 0,073.

A easier way to understand it is that the two transistors will start to "help" the LM317 with current, while the LM317 adjusts the voltage.

So, this is the basic function of the circuit. The LM317 controls voltage and the 2N3055 supplies current.

The two 0,22ohm resistors on 2N3055 emitters is for ensure that both of them work together preventing one outputting more current than the other leading them to burn. (I used a 0,33ohm because I already had them at home.)

The 500ohm potentiometer I added on LM317 feedback is to adjust the maximum output. The 500ohm resistor between the 2N3055 emitter and base is for it don't lose its base-emitter referential, the power supply would work without it, but less stable.

For filtering a 10000uf/50V capacitor was used because it was laying around at my home, but you can use a 4700uf/50V capacitor, just remember to modify the PCB.

You can use a transformer from 12 to 24 volts/5 amp. It will only change your maximum output voltage. I used a 24V/5A transformer. You can calculate the maximum output with the formula: ((Vout transformer * 1.41) - 3,4).

A 25A diode bridge, that I have bought on a local hardware store, was used. It won't be too difficult for you to find one like mine, just search for "diode bridge 25A" on eBay. A 15A or 10A diode bridge will be fine too.

The inductor is from one old PC power supply I had, you can salvage one from a old PC power supply. It does not need to be exactly like mine, anything with more than 25 turns and a wire diameter higher than 1mm will be just fine.

The bill of material is:

1 - Transformer (see the text above)

1 - Diode bridge (see the text above)

1 - Inductor (see the text above)

1 - LM7812

1 - LM317

2 - 2N3055

1 - TIP42C

1 - 10000uf/50V Electrolytic Capacitor

2 - 100nf/50V ceramic capacitor (polyester is fine too)

1 - 47uf/50V Electrolytic Capacitor

1 - 8,2ohm/5W resistor

2 - 0,22ohm/5W resistor

1 - 4k7ohm 1/4W resistor

1 - 500ohm trimpot

1 - 120ohm 1/4W resistor

1 - 1N4007 diode

1 - 5K potentiometer

## Step 2: Designing the PCB

I used expressPCB to design the PCB and the file I uploaded here is free for you to edit as you like. Edit it as you wish to fit the components you have. The inductor I used on this circuit is from a old PC power supply and you might want to edit it as you don't have the same inductor as I have. If you don't want want to edit it you can use a wire to connect one point to the other bypassing the inductor or you can use another inductor that you have, it's fine too.

A PDF version of the board has been uploaded too if you don't even want to edit it or generate the PDFs yourself.

Update: I've update the mounting places of the components on the PCB picture.

## Step 3: Tone Transfer and Etching

I used the toner transfer method to transfer the printed circuit to my PCB. Just print the circuit using a good laser jet printer and you will get good results.

A good toner transfer tip is: use an iron that can get to 200ºC (392ºF). This is the temperature that toner starts to melt. For etching the board, I used iron perchlorate. If you know any other method to etch a board, just do it as you like.

## Step 4: Soldering the Components

I did not took any picture while drilling the holes for the components pad, sorry about that. A drill with 1mm will do just fine

All the lines that would pass high current was reinforced and you should do it too as a 3mm line won't stand 5Amp. See the top view picture for more details on the connectors and bottom view picture for more details on the lines you should reinforce.

## Step 5: Assembling the Power Supply

I assembled my power supply on a metal box I bought on a local hardware store. There is not a right one, just buy one you like and can fit the circuit board, transformer and other components.

The voltmeter I bought here, but you won't have any trouble to find it on eBay too.

Make sure to mount the LM317 and the two 2N3055 on a big heat sink, because they will get very hot. I even added the fan to force some air through the heat sink.

And that's it. Any thing that I can help just ask on the comments and if you based on my project to make a new one please comment too, I'm very curious to know if you did a really nice upgrade to it.

## Recommendations

• ### Large Motors Class

8,185 Enrolled

• ### Microcontroller Contest

We have a be nice policy.

## Questions

Sir, does it really works.

Could you tell me the minimum voltage you can get out of this? Im only getting a min of around 9v max 22v. To be clear I am using a TIP32C rather than the TIP42C since it is all I had. Is this effecting my results? Maybe I need to redo the circuitry on my bread board. I am also substituting some of the resistors for multiple smaller value ones. Ex: Instead of 500ohms Im using 200-200-100 to create one. Also on one of my tests my 500ohm potentiometer make alot of magic smoke. So I replaced it with a 200ohm resistor that for some reason didn't even get hot? To be fair some of my components are a bit off the required items but they aren't off by what I think is a significant margin. Any advice is greatly appreciated. Another thing that I should note is that I had no 8.2ohm resistor so instead I had a 10ohm.

Also if you need pictures I will post some as soon as I can.

Hello!

just got myself to finally try myself in electronics , but cant seem to make this cicuit work(

this is literaly my first attempt of making a pcb of any kind so i am bound to make stupid rookie mistakes.

the input voltage is the same as output voltage(12V) no matter what i do..

2 replies

Be careful with these two 2N3055. They must be mounted on a heatsink or they will burn and the worst case scenario is fire.

nope evrything actually works fine) just learned that powering something meant for ac after the diode bridge doesnt always work)

Hello, what's up with this components cause I don't understand:

1 - 500ohm trimpot

1 - 120ohm 1/4W resistor

First you say trimpot but in the pictures I see two small resistors and I can't seem to find the 500ohm resistors to buy them, what did you use instead?

Hi

Two question, in the description you said 4K7 ohm 1/4 W but on the picture below it says 500 ohm 1/4 W did you change it? And also I saw and an another inductor with a red cable, can you tell me what it is for? Thanks

2 replies

Are you referring the 5K resistor on the base of the tip42c? If yes, I changed it to 4k7 because (If Im not mistaken) 5K is not a comertial value. You can use a 5k1 if you want. It wont affect the psu behaviour. The inductor with the red wire doesnt made it to the final design, I removed it.

Hi

No, on the Step 2:Designing the PCB if you check the 2 resistors of 1/4 W show 120 ohms and 500 ohms, thanks.

Hi

I saw in the picture that you used (2) 5K potentiometer, but in the description you said just one, the other one is for the current?. Thanks

I didnt notice that. I forgot to put it on the instructable. It is actually a 1K pot for fine adjusting. A single 5K pot for adjust 0-24V is really annoying so you will need a 1K or less pot for fine adjust.If you dont find a pot with less than 1K you can solder a 1K resistor in paralel with the pot (pins 1 and 3).

you said " I used the toner transfer method to transfer the printed circuit to my PCB. Just print the circuit using a good laser jet printer and you will get good results"

But i want to know which type of paper you used here to take print out????

2 replies

Just normal A4 paper. I think bond paper is the proper term in english.

Bond paper... good that means there will be no change in printing the circuit from paper to PCB board

Hello TrichogasterAzul In your build you used a transformer is that one from a microwave? I hope you answer soon.

By Lux

2 replies

The transformer is not from a microwave. I bought it brand new on a electronic store.