All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > The Projects Forum

Notices

The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-08-2010, 08:05 PM
tom66 tom66 is offline
Senior Member
 
Join Date: May 2009
Location: Basingstoke, UK
Posts: 2,613
Default Adjustable power supply using computer SMPS

I discovered a very cool thing to do with an old computer SMPS. I thought people would want to know.

In brief, it involves converting the supply so instead of outputting a fixed 12V/5V/3.3V, it outputs a variable 7V-10V/3.5V-4.5V/2.2V-2.8V. I'm working on improving the range so I can get the outputs to go above 12V (with caution, as the filter caps are only 16V rated) and below 2.2V. The voltages are adjusted in harmony using a potentiometer. It is unfortunately not possible to control each rail individually. I used a cheap Elenco 120W power supply, from a very old computer, but any supply should work.

The first thing you must note is that a computer PSU is mains operated equipment. Therefore, it is easy to get shocked. You must take appropriate precautions including discharging the main filter capacitor(s) before modifications commence. If not, you will get a nasty shock, it could even be fatal. Don't be lazy, and double check the caps with your multimeter!

The second thing to note is you must have a special type of PSU. It must have a feedback path to the control IC on the secondary side. In my case, the 5V rail was the feedback path. It went through a voltage divider (very important) to a TL431 shunt reference, and to an optoisolator. The TL431's configuration is like a comparator: it conducts when the supply voltage exceeds a set point. This allows it to be used to produce the feedback signal, which, along with the controller IC, drives the primary side MOSFET. The feedback goes through an optoisolator to the control electronics. Some supplies do not have an optoisolator and instead use a control IC on the secondary side. These still can be modified, but it is trickier.

The modification goes like this: after locating your feedback path, you must solder a potentiometer across one of the resistors. By adjusting the resistance of the potentiometer, you change the feedback range. If you insert a resistor in parallel, you can decrease the voltage; a resistor in series can increase it. Series resistors are more tricky because usually, a divider resistor must be removed or a track must be cut, and this runs the risk of damaging the supply.

Another thing to be aware of is the fan usually runs off the 12V line, which can now vary from 7V to 9V. This can cause problems under heavier loads, because the supply may not be adequately cooled. You should take appropriate precautions to ensure the supply does not overheat.

Enjoy.
Reply With Quote
  #2  
Old 11-11-2010, 04:20 PM
tom66 tom66 is offline
Senior Member
 
Join Date: May 2009
Location: Basingstoke, UK
Posts: 2,613
Default

Some news. I've been able to disable the overvoltage protection circuit, which consisted of a small SCR set up in a crowbar configuration; designed to short the 5V rail in an overvoltage condition. By shorting its gate to the anode I was able to turn it off permanently. Then, I moved the potentiometer to the middle of one resistive divider. This allows me to adjust the 3.3V rail from 3.1V to 8.5V, the 5V rail from 4.8V to 11V, the 12V rail from 10.8V to 28V (massive!) and the -12V rail from -11.1V to -28.5V. I could probably get it higher, but the supply switches off at around 28V, not sure why.

This is pretty powerful! The fan speed increases massively at higher voltages, because it is only rated for 12V. The output filter caps on the 12V rail are only 25V, so they may pop with 28V - similar for the 5V, 3.3V and -12V rails. The 5Vsb line stays at a constant 5.06V no matter what the outputs are, which is useful for powering a 5V fan without the fan speed varying due to voltage.

It would seem this is a cheap way of making your own bench power supply which is adjustable over a very wide range. A cheap SMPS is available for less than 25. With some additional logic, it could be used to make a fully adjustable 3.1V to 28V power supply. Given that a zero to 30V SMPS power supply is around 200 here, this is a considerable saving. Sure, it's not as stable, probably has high ripple and poor load response, and it doesn't have a CCM mode, but these are usually minor issues for simple circuits. If desired, a linear front end, dropping only a few volts, could be used to create a zero to 25V power supply, giving it better regulation. The -12V rail could also be used as an adjustable rail, but it can't go to ground (only -11.1V), which might present problems for some circuits.
Reply With Quote
  #3  
Old 11-11-2010, 06:14 PM
thatoneguy's Avatar
thatoneguy thatoneguy is offline
Senior Member
 
Join Date: Feb 2009
Location: Midwest USA
Posts: 6,356
Blog Entries: 4
Default

Can you take a couple of photos to show what you've changed?

I'd put this at "Medium" level, i.e. For those who have already built a working project of some complexity, like another power supply. Those who used an ATX power supply for +12V, +5V, etc could also do it, but there could be a big safety issue here if people who don't know a triac from a transformer attempt the mod.
Reply With Quote
  #4  
Old 11-12-2010, 06:55 AM
tom66 tom66 is offline
Senior Member
 
Join Date: May 2009
Location: Basingstoke, UK
Posts: 2,613
Default

This video by myself explains a lot,

http://www.youtube.com/watch?v=mK_rIs7uFlo

Last edited by tom66; 11-12-2010 at 07:10 AM.
Reply With Quote
  #5  
Old 11-13-2010, 05:35 AM
thatoneguy's Avatar
thatoneguy thatoneguy is offline
Senior Member
 
Join Date: Feb 2009
Location: Midwest USA
Posts: 6,356
Blog Entries: 4
Default

"I put 25 Volts to this card, and the chip didn't like it very much".

Nice vid! Need to make a tripod to steady the camera a bit so it stays focused, but overall a good presentation and explanation.

Thanks
Reply With Quote
  #6  
Old 11-13-2010, 08:07 AM
tom66 tom66 is offline
Senior Member
 
Join Date: May 2009
Location: Basingstoke, UK
Posts: 2,613
Default

Quote:
Originally Posted by thatoneguy View Post
"I put 25 Volts to this card, and the chip didn't like it very much".

Nice vid! Need to make a tripod to steady the camera a bit so it stays focused, but overall a good presentation and explanation.

Thanks
I think that chip was connected to the 5V rail so it got whacked with 11V. Needless to say it went up rather violently. First, three red hot holes were burnt through it, then it started burning and smoking... It melted some components on the other side, then one of the traces on the PCB melted so that was the end of that. I'm surprised the MOSFET drivers (which are probably Vds of 20V or less) survived given 12V was at around 25V.

The camera I had was only a point 'n' shoot so no autofocus for videos, but good idea on the tripod.
Reply With Quote
  #7  
Old 11-13-2010, 10:36 AM
retched's Avatar
retched retched is offline
Senior Member
 
Join Date: Dec 2009
Location: Baltimore, MD
Posts: 5,198
Blog Entries: 14
Default

If you enjoy making videos, and doing tutorials like that, get yourself a camera.

You can get HD videocameras for under $99US. Im sure they are around the same in your neck of the woods.

And yes, get a tripod. They have the little 4 inch tripods available at some dollar stores.

Not the best, but anything is better then motion sickness

Oh, and about the cutoff.. There is probably a thermistor that triggers a thermal cutoff. If you replace the fan, do you get more than the ~28v ?
__________________
-rm-
Reply With Quote
  #8  
Old 11-13-2010, 10:47 AM
tom66 tom66 is offline
Senior Member
 
Join Date: May 2009
Location: Basingstoke, UK
Posts: 2,613
Default

Quote:
Originally Posted by retched View Post
If you enjoy making videos, and doing tutorials like that, get yourself a camera.

You can get HD videocameras for under $99US. Im sure they are around the same in your neck of the woods.

And yes, get a tripod. They have the little 4 inch tripods available at some dollar stores.

Not the best, but anything is better then motion sickness

Oh, and about the cutoff.. There is probably a thermistor that triggers a thermal cutoff. If you replace the fan, do you get more than the ~28v ?
Yeah, like I have $99 US spare. Poor student here! I actually used a decent 720p 12 megapixel Pentax Optio P70 camera borrowed off a friend, but I compressed the video from 300MB to 45MB MPEG to make it sane to upload on a 2Mbps internet connection.

You might be right about the thermal cutoff, but that was with virtually no load. It seems to be able to keep 25V out even with a relatively large load. I'm thinking that maybe the filter capacitor's dielectrics might be breaking down (as they are only rated for 25V) which could be shorting out the supply. I have some 35V 2200u caps here to replace the 25V 2200u's, so we'll see if we can get more volts out of it!

The wires I have currently set up seem to short out the supply when the case is fitted (heh, bad soldering), so I'm going to look at adding some heatshrink on them to insulate them, then drilling a hole in the case to fit the potentiometer. Maybe I'll pick up a cheap 4 multimeter and stick it on the outside, wired to measure the output voltage, and a three-way switch to select the different 3.3V, 5V and 12V rails.
Reply With Quote
  #9  
Old 11-14-2010, 02:54 PM
mik3's Avatar
mik3 mik3 is offline
Senior Member
 
Join Date: Feb 2008
Location: Cyprus, but now in UK (GMT+0)
Posts: 4,846
Blog Entries: 9
Default

Have in mind that the power supply may become unstable because you change its feedback gain (loop gain).
Reply With Quote
  #10  
Old 11-14-2010, 04:49 PM
tom66 tom66 is offline
Senior Member
 
Join Date: May 2009
Location: Basingstoke, UK
Posts: 2,613
Default

Quote:
Originally Posted by mik3 View Post
Have in mind that the power supply may become unstable because you change its feedback gain (loop gain).
Did some tests with an oscilloscope and it's fully stable up to 28V. Additional ripple as you approach higher voltages. With an approximately 1A load it has <100mVp-p ripple, typically <50mVp-p.

With the case on and no load, it will do 30.5V. The fan starts getting warm at this voltage - not good! So the cut-off point seems to be related to load current and temperature. I've found an ultra cheap 350W supply (which weighs less than the 120W supply - it's a piece of junk, tiny transformer, discrete diodes for the bridge, a 1000u cap on the 12V rail - absolute junk) which I should have some better luck with. It feeds the 5V straight in to a SMPS control IC, so it looks like I'll have to cut a trace to get it to work.
Reply With Quote
Reply   Post New Thread

Tags
, , ,


Related Site Pages
Section Title
Worksheet Performance-based assessments for analog integrated circuit competencies


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with HV power supply will1234 General Electronics Chat 0 11-04-2009 10:37 PM
Silly op-amp power supply question kdillinger General Electronics Chat 4 09-10-2009 02:37 PM
Convert PC Power Supply to Bench Supply Distort10n General Electronics Chat 3 04-04-2007 12:17 PM
computer power supply cooling fan? terrakota Homework Help 9 02-13-2005 11:34 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:34 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.