LAST MODIFIED:
A variable regulated power supply, also called a variable bench power supply, is one where you can continuously adjust the output voltage to you requirements. Varying the output of the power supply is the recommended way to test a project after having double checked parts placement against circuit drawings and the parts placement guide.
This type of regulation is ideal for having a simple variable bench power supply. Actually I think this is quite important because one of the first projects a hobbyist should undertake is the construction of a bench supply. While a dedicated supply is quite handy e.g. 5V or 12V, it's much handier to have a variable supply on hand, especially for testing.
There have been many times I have had to "smoke test" a project. This means I have started out at the minimum voltage on my supply (about 3V), seen nothing untoward happening and then slowly winding up the voltage to say 15V (this would only be where the project design called for 15V).
When testing a project always start out at minimum voltage and look for signs of distress among components (usually resistors) THEN progressively wind up the voltage to your project voltage. Again always look for distress among your components.
Now one of the heartaches I have here is that inevitably, to derive the necessary voltage it must originate from the mains supply, either 240V or 120V A.C. I have to be mindful of the fact that many people who read my pages are VERY inexperienced. AND
.
So, if only to potentially save one life, I'm going to wimp out and stick with my original idea of using "plug packs" or also known in the US as "wall warts".
Because you are unlikely to want much in excess of 15V D.C. I have restricted my search to types of plug packs of around about 15V A.C. at something in the region of 1.25 amps. Checking through some suppliers I have found what is generally available at the moment for plug packs, meters, regulators etc.
For the purposes of this project I have nominally selected a 16V A.C. @ 1.25 Amp plug pack which comes with bare wire ends. Now you can choose to hardwire the bare ends into the case or use a plug and socket connection. You might buy something different which comes with a plug on the end - in which case buy a suitable panel mounting socket and discard my recommendation of plug and socket below.
The choice is yours but if you discount the initial bit of extra work involved, as well as about $A 1.50 extra expense ($US 1.00), I think it's nice to be able to store plug pack and case away seperately. Of course if your plug pack has it's own plug you will need a mating socket to suit.
Here is the basic circuit:
Figure 1 - variable bench power supply schematic
Note figure 1 above has been revised 31st January, 2001 to correct errors. Do not cut and paste bits and pieces of diagrams late at night Now the basic theory is this. U1 is a TO-220 style variable voltage regulator (LM317T). It is a complete integrated circuit. Quoting, in part, from my old National Semiconductor handbook:
"In addition to higher performance than fixed regulators,
the series offerss full overload protection available only in IC's."
FEATURES
* Adjustable output down to 1.2V
"An optional output capacitor can be added to improve
transient response. The adjustment terminal can be bypassed to achieve
very high ripple rejection ratios which are difficult to achieve with standard
3 terminal regulators".
- source National Semiconductor Linear Databook 1982 P
1-23 So there it is. A genuine "all singing, all dancing variable voltage regulator IC". All depending upon two resistors, which in our case are R1 and, the parallel combination of R2a and R2b. The maths are:
Figure 2 - variable bench power supply - voltage out formula Assuming we use a 5K linear potentiometer (never log or audio type) as the basis of R2 and call it R2a (real clever stuff this) AND put another resistor in parallel called R2b. For this resistor we will allow a value of 15K or 15,000 ohms. This parallel combination
would at the maximum resistance setting of R2a yield a net resistance for our R2 combination (do some sums along here with me folks - do follow the leader on the calculator) of 3750 ohms.
If we allow R1 to become 240 ohms and substituting the values into the equation above
we get:
Figure 3 - final calculations - voltage out formula Which of course is what we set out to do. Other maximum voltages can be accomodated by simply fiddling with value of resistor R2b. There are limits and, R1 remains at 240 ohms.
1. If you want all the technical nitty gritty then download the current data sheet. I've already done the searching for you. The .pdf file is 645K. Take that or look at the online version. DON"T ask for the email version - remember we're not manufacturers'
and we are imposing a little on National's goodwill - show a little netiquette.
http://www.national.com/pf/LM/LM317.html#Datasheet
2. An input bypass capacitor C2 (0.1 uf) is recommended as close as possible to the "input" terminal. Similarly, R1 should be connected as close as possible to the respective "out" and "adjust" terminals. Likewise C3 and C4 (both solid or tag tantalum)
are recommended for improved performance and as close as possible to the respective terminals.
3. C1 is a recommended 2200uf / 35V electrolytic filter capacitor.
4. Diodes D1 to D4 form the bridge rectifier and are rated at 3A. Any voltage rating of 50V and up is OK but3A is the minimum current rating. You could substitute a dedicated bridgerectifier but once over the 1A rating the next size up is 10A and becoming
expensive.
5. Diodes D5 and D6 are for protection in the event either the input or output are shorted. The resistor R1 connects across the anodes of both D5 and D6 and nowhere else. Look closely at diagram. R1 does NOT connect to the "out" line. Similarly C4 connects from "output" to ground and NOWHERE else.
6. The inline ammeter and the voltmeter are optional. You can do away with either or both and substitute your digital (assuming you have one) multimeter onto or through the output terminals outside the case. Largely a question of convenience versus budget. If you use either remember to observe polarities. Look at the tutorial meters if you are going to scrounge surplus meters.
7. You still have to buy a few bits and pieces not shown on the list below e.g. R1 240 ohm 1/2 watt resistor, R2b (whatever value you decide) or my 15K, and the 0.1 uF ceramic capacitor.
Obviously the power supply must have a suitable case. Size is governed by whether you include metering or not. Two small side by side meters, each has a face measuring 58mm(W) X 52mm (H). Then space must be allowed for the on / off switch (I recommend a DPDT type) and the red / black output binding posts. The fuse holder (essential) is mounted on the back along with the input socket.
To accomodate all that you need a case of sufficient width and depth. I'd recommend a case about 184(D) X 70(H) X 160(W) or similar. All dimensions in mm (inches divide by 25.4) There is a lot of drilling - so take your time.
TIP - when cutting the shaft of the potentiometer (pot) to suit the correct length, insert the shaft into a bench vise and cut with a hacksaw where you have marked it. Never wedge the pot in anything!
As I said before much is largely a question of convenience versus budget. If you can, try and find a suitable "U" shaped handle to fix to the top of your case in the centre, a real convenience.
Internally, mount your components on tag strips. Haunt your local parts supplier for all parts. You will also need assorted nuts, bolts and washers as well.
To identify the pins on the LM317T place the component on the table with the pins facing toward you. Any markings will be uppermost. The pin to your left is "adjust", Vout is the centre pin and Vin is the right most pin. The electrolytic capacitor and Tag Tantalums should have a + sign on them. See schematic diagram above - this is important. Some types of electrolytics only indicate the minus or negative pin - be careful!.
BOOK -
Power Supplies by David Lines
NEW! - How to link directly to this page
Copy and paste the following code for a text link:
and it should appear like this:
the author Ian C. Purdie, VK2TIP of www.electronics-tutorials.com asserts the moral right to
be identified as the author of this web site and all contents herein. Copyright © 2000 - 2001, all rights reserved. See copying and links.
These electronic tutorials are provided for individual private use and the author assumes no liability whatsoever for the application, use, misuse, of any of these projects or electronics tutorials that may result in the direct or indirect damage or loss that comes from these projects or tutorials. All materials are provided for free private and public use.
Copyright © 2000 - 2001, all rights reserved. URL - https://www.electronics-tutorials.com/basics/power-supp-variable.htm
Updated 31st January, 2001
How the variable bench power supply works
"The LM317T is an adjustable 3 terminal voltage
regulator capable of supplying in excess of 1.5A over a 1.2V to 37V output
range. It is exceptionally easy to use and only requires two external resistors
to set the output voltage. Further, both line and load regulation are better
than standard fixed regulators."
* Guaranteed 1.5A output current
* Line regulation typically 0.01%/V
* Load regulation typically 0.1%
* 80 dB ripple rejection
Other points of interest on your variable power supply
Construction of variable power supply
Link to this page
Want to create a page link to me from your site? It couldn't be easier. No HTML knowledge required; even the technophobes can do it. All you need to do is copy and paste, the following code. All links are greatly appreciated; I sincerely thank you for your support.
<a
href="https://www.electronics-tutorials.com/basics/power-supp-variable.htm" target="_top">visit Ian Purdie VK2TIP's "Variable Regulated Power Supply" Page</a>
visit Ian Purdie VK2TIP's "Variable Regulated Power Supply" Page
RELATED TOPICS ON variable power supply
basic power supply
low current regulated power supply
high current regulated power supply
meters
polarization of capacitors
Commercial use prohibited without prior written permission from www.electronics-tutorials.com.