An adjustable power supply is one of the most useful pieces of equipment in an electronics workshop. With little money and effort, you can build one yourself and power a wide variety of circuits on your workbench. The versatile, easy-to-use LM317 variable regulator is the heart of this design. Built-in short-circuit protection helps make the supply exceptionally robust. If you are just taking your first steps in electronics, this is an ideal project with a genuinely useful result.
We have previously looked at ways to build supplies that provide fixed voltages. Although these are simple to make, it is not practical to build a separate supply for every voltage you might need. A single adjustable unit is a better choice. The LM317 is an adjustable series regulator that can accept up to 40 volts DC and deliver an output adjustable from 2 to 37 volts.
For this project, we do not need that much voltage. A transformer with an 18-volt AC secondary and a current rating of around 3 or 4 amps will do. The circuit is straightforward, but the builder must pay attention to details, even when they seem trivial. Do not leave out any component shown in the circuit: that includes the fuse and every capacitor specified in the diagram.
Start by deciding what you want the supply to do, then identify the stages the design requires. A block diagram makes it easier to see how the sections fit together. The power transformer, discussed above, is at the left. Its rating should match the current-handling capacity of the diodes and the power transistors used in the regulator stage. There is no reason to fit 25-amp diodes if the transformer can supply only 3 amps. The same principle applies to the transistors. Avoid excessive oversizing, but devices rated for two or three times the current you expect to use are a good choice. They will operate more safely and at lower temperatures, extending the life of the unit.
For the bridge rectifier, we suggest ordinary diodes rated at 6 amps and 600 or 1,000 volts. The filter uses two capacitors rated at 4,700 microfarads each. Why use two 4,700 μF capacitors instead of one 10,000 μF part? The pair provides lower equivalent series resistance (ESR), improving the absorption and filtering of high-frequency noise from the mains that passes through the transformer. Using four 2,200 μF capacitors would be better still.
In the regulation stage, the LM317 acts as the main controller, driving a TIP35 transistor. That transistor is more than adequate for this supply. If you later want greater output-current capacity, you can connect two, three or four TIP35 transistors in parallel. You will also need rectifier diodes and a transformer capable of carrying the increased current.
The control potentiometer, referenced to GND, lets you adjust the output from a value close to zero volts up to a maximum near the rectified and filtered voltage. The short-circuit protection continuously monitors the voltage across the low-value resistor that connects the circuit to GND. This terminal is also called “ground.” For accurate electronics terminology, it is important not to call it “mass” or “negative.” Those expressions are common among technicians, but they are not the correct terms for the power-return terminal. Mass is what you use to make Sunday pasta; the negative terminal, meanwhile, denotes a negative voltage or potential. Ground or GND unambiguously identifies a zero-potential reference.
As current through the low-value resistor in the GND return increases, the voltage difference across it rises according to Ohm’s law (V = I * R). If that voltage exceeds a threshold set by P3, transistor T2 enters saturation—full conduction—and pulls the LM317’s voltage-adjustment terminal to its minimum value. The output voltage then falls as low as possible, preventing excessive and dangerous current flow.
This is an important advantage: the supply has comprehensive protection. It helps keep circuits from being destroyed if a component malfunctions and protects the new tool against accidental short circuits at its output—that is, in the projects connected to it. This is what makes the supply so robust.
A few final details matter. The 100 nF capacitors placed in parallel with 1 nF capacitors at the output are there for a reason, as is the use of electrolytic capacitors alongside ceramic ones. The ability to shunt noise to GND, whether caused by transients or nearby radio frequency, varies with capacitance and capacitor construction. That is why the circuit uses several capacitors in parallel. All capacitors should have a 63-volt rating; resistors should be rated at ½ watt unless the circuit specifies otherwise.
A useful addition would be a voltmeter and an ammeter, so you can see the voltage and current the supply is delivering. Measuring the power consumed by your circuits can also help you improve their energy efficiency. With those points covered, take care not to overlook any of the details or components listed here. The result should be a power supply that can hold its own against commercial units costing quite a bit of money.