How do I safely build a variable DC power supply for my electronics projects?

In summary, the conversation discusses building a power supply that can go from 1vdc to 15vdc with a variable setting. Suggestions include using a 15Vdc output transformer and adding a post-regulator circuit with an adjustable linear regulator. Considerations for the design include specs such as current and voltage, as well as the UL regulations for AC Mains connections. It is recommended to use a pre-made "wall wart" or "brick" for the AC Mains connection for safety and ease of use.
  • #1
ckaiser813
14
0
I'm taking an intro electronics class and I'm really enjoying it. I want to be able to work with electronics in my garage, I have a proto-board and but I would like to build a power supply that can go from 1vdc to 15vdc, this is what my class has. I've looked on the net for instructions, but they usually are instructions for a set voltage, I would like a variable setting. Just looking for some help, tips, or instructions.

Thanks Chris
 
Engineering news on Phys.org
  • #2
What current? You could step up with a DC to DC converter to a highish voltage and then down again with a variable regulator.
 
  • #3
ckaiser813 said:
I'm taking an intro electronics class and I'm really enjoying it. I want to be able to work with electronics in my garage, I have a proto-board and but I would like to build a power supply that can go from 1vdc to 15vdc, this is what my class has. I've looked on the net for instructions, but they usually are instructions for a set voltage, I would like a variable setting. Just looking for some help, tips, or instructions.

Thanks Chris

I'd suggest starting with a 15Vdc output "wall wart" transformer (since it is safe already and UL approved), and then adding a small post-regulator circuit based on the LM317 adjustable linear regulator. Check out the LM317 datasheet to find the right package size, and also pay attention to the minimum input-output voltage differential that it can tolerate. That will determine how high you can adjust your output voltage. You may need to start with more like 18V to be able to adjust the final LM317 output up to 15V.
 
  • #4
yeah, this actually makes for a nice little design project. i made myself a +/-15VDC_variable and +5VDC_fixed supply as diversion during my senior design project. some things to think about here.

what are your specs? that is, how much current? this will be a huge limiter on your design, so consider carefully how greedy you want to be. what is your max voltage? and what is your min voltage? that 117/317 is only going to go so low.

now, like Berkeman says, your input voltage needs to be a volt or three above your max output voltage. err on the high side because line voltage varies. subtract min output voltage from input voltage. as you can see, this is going to be at least 15 volts or so across the device. at 1 amp, that's 15W of heat you have to dissipate. at 5 amps, 45 watts. this will determine what package you use (TO-3 for high power, e.g.).

once you've picked a power and package (don't forget a heat sink), if you don't just pick an appropriate wall transformer, you'll need to design it. which for me meant a full wave rectifier. that is a design project in itself. high current means big honkin' step-down transformers, big ole diodes, and big capacitors. this probably isn't a lot of help design-wise, except to say that being greedy on the initial specs can get big and expensive on the design, especially if you're buying parts instead of salvaging them. if you're more interested in the product than the process, you can probably buy an equivalent PS for less than you can build it.

as for design help, it's usually better to have the whole databook, but i imagine those are harder to get hold of now. within the databooks, they have application notes, which are design templates. and not that I'm promoting this supplier (actually, i don't think i prefer them, it just googled easily), but this page has some notes in addition to datasheets. http://www.national.com/mpf/LM/LM317.html [Broken] for notes on rectifiers, see notes in a diode databook.
 
Last edited by a moderator:
  • #5
To build a little on a comment by Proton -- if you are considering building the whole power supply from scratch, including the AC Mains connection and step-down transformer, you will need to be familiar with the UL regulations that apply to AC Mains connections (including grounding, switching, fusing, isolation, ventilation, etc.). It's much safer and easier to use a pre-made "brick" or "wall wart" of some kind that is UL approved already, that gives you your DC starting voltage(s), or a stepped-down AC voltage that you then run through another transformer and rectifiers to give you +/- voltages that you then post-regulate with adjustable linear regulators.

The first power supply that I built from scratch was a +5V and +/-12V DC output supply, powered directly from the AC Mains. But I was working a summer job at Tektronix at the time (I built the PS in my spare time after work hours), and was pretty familiar with all the UL safety rules for AC Mains connections for instruments (plus had lots of EE and technician mentors to answer my questions). The hobby supply that I built could have gone through the UL approval process and passed. That's important, since if you do things wrong, you can easily cause a shock hazard or start a fire on a single fault, which is a very bad thing in the real world.

So hopefully you see that using a pre-built, pre-approved front end for your first hobby power supply is a good idea. There is still plenty to be learned in designing the output regulator stages, and building a solid enclosure to hold the whole project together in a nice, solid way. Have fun!
 

1. What is a DC power supply and how does it work?

A DC power supply is a device that converts AC (alternating current) power from a wall outlet into regulated DC (direct current) power that can be used to power electronic devices. It works by using electronic components to convert the AC power into a steady flow of DC power, which is then delivered to the device through wires or connectors.

2. What are the different types of DC power supplies?

There are three main types of DC power supplies: linear, switching, and adjustable. Linear power supplies use a transformer and linear regulator to convert the AC power into DC power, while switching power supplies use a switching regulator to achieve higher efficiency. Adjustable power supplies allow the user to adjust the output voltage and current to meet the specific needs of their device.

3. What are the key components of a DC power supply?

The key components of a DC power supply include a transformer, rectifier, filter, and regulator. The transformer is used to step down the AC voltage to a suitable level, while the rectifier converts the AC to DC. The filter removes any remaining AC components from the DC output, and the regulator ensures a steady and regulated output voltage.

4. How do I choose the right DC power supply for my needs?

When choosing a DC power supply, you should consider the voltage and current requirements of your device, as well as the type of power supply and its efficiency. You should also ensure that the power supply has sufficient protection features, such as overcurrent and overvoltage protection, to prevent damage to your device.

5. What are some common problems with DC power supplies?

Some common problems with DC power supplies include voltage and current fluctuations, overheating, and noise in the output. These issues can be caused by faulty components, improper use or setup, or external factors such as power surges. Regular maintenance and following proper usage guidelines can help prevent these problems.

Similar threads

  • Electrical Engineering
2
Replies
36
Views
2K
Replies
19
Views
1K
Replies
7
Views
2K
  • Electrical Engineering
Replies
13
Views
1K
  • Electrical Engineering
Replies
23
Views
2K
  • Electrical Engineering
Replies
3
Views
3K
  • Electrical Engineering
Replies
15
Views
3K
  • Electrical Engineering
Replies
10
Views
1K
  • Electrical Engineering
Replies
7
Views
1K
  • Electrical Engineering
Replies
8
Views
1K
Back
Top