Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital benchtop power supply design
Digital benchtop power supply design
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Thread Tools Search this Thread
Old 30th November 2009, 11:50 PM   #1
cjk2 is offline cjk2  United States
diyAudio Member
Join Date: Nov 2006
Default Digital benchtop power supply design

I suppose I am getting a little more serious about electronics now and I feel I need some good test equipment. I just went out and bought an Instek DDS function generator and now I want a nice benchtop switching power supply. I have seen these online for sale, but they seem to run atleast $300 for what I want, and these supplies don't have digital control (you can not "type in" what voltage/current you want).

I figure it might be worth my while to try to design a good smps to meet my needs. Something in the range of 0-50v and 0-5a seems about right. While I have seen many linear power supplies online, few have digital control and even fewer use PWM. Maybe the reason that the kind of supply I want is so expensive is because it is very hard to design one?

Anyway, I wanted to have a stab at it, so here is my design using at TL494, some ADC's and some DAC's. The DAC's set the comparison voltage that the 494 sees for current and voltage feedback. The ADC's are optional but allow for the microcontroller to know in real time what the current and voltage output of the power supply is. I intend to use an AVR micro to control the DAC's so that the user's voltage and current requirements can be met. I would also like to use a cheap LCD module to display the voltage output, current output, and current limit in real time.

My design uses dfferential voltage sensing so that the voltage drop across the current sense resistor does not cause voltage errors that grow with current output.

I have several questions for those more experienced than me:

1. Am I likely to have problems trying to achieve very low output voltages due to the fact that I am trying to use single supply opamps and their outputs will never really get to 0v? How close can a good rail to rail opamp get? Within say 10mv or so?
2. How good is a TL494 at dealing with very small input voltages? If i want my powersupply to output 1v for example, I will be feeding 50mv into the inputs of the opamp inside the 494. I believe I am concerned with the common mode input range here and the error at very small input voltages?
3. Is this design workable or possibly fundamentally flawed?

Maybe an expert knows how a real digitally controlled smps works and can shed some light on their design for me!
Attached Images
File Type: gif smps idea 1.gif (20.5 KB, 358 views)
  Reply With Quote
Old 1st December 2009, 01:46 AM   #2
gootee is offline gootee  United States
diyAudio Member
Join Date: Nov 2006
Location: Indiana
I didn't really look at your schematic, and am not too familiar with the TL494 anyway. SO someone else would have to answer question #3. But for question #2, it seems like feedback should tend to take care of any problem, there. For question #1, you'll need to look at some opamp data sheets. It should all be in there.

By the way, there is a neat-looking bench power supply schematic on page 146 of application note AN-84f from linear.com. It does 0v to 100v at currents ranging from 8A to 2A, and has independent linear constant-current and constant-voltage controls. It might be interesting, for another project, to make it digitally controllable, with digital readouts.

For yet-another project, I think that it would be handy to have a dual-polarity supply, with 0 to +50v and - 50v, or maybe even 0 to +100v and - 100v or more.

Have fun!

- Tom
  Reply With Quote
Old 1st December 2009, 03:35 AM   #3
Eva is offline Eva  Spain
diyAudio Member
Eva's Avatar
Join Date: Oct 2003
Location: Near the sea
Send a message via MSN to Eva
For a bench power supply I would consider a linear output regulator. It's difficult to get fast current limiting and at the same time attenuate output ripple enough to prevent it from appearing on the oscilloscope when you are powering and measuring another circuit.

But dissipation may be greatly reduced by feeding this linear regulator from a tracking pre-regulator, that would be a SMPS whose regulation loop keeps a fixed voltage drop across the linear regulator.

Another option would be a clocked class D output stage with several notches to tame carrier residual and its harmonics, and fed from a SMPS, but I think the first idea combines the best of both worlds.

Concerning your circuit, have you thought about stability and frequency compensation?
I use to feel like the small child in The Emperor's New Clothes tale

Last edited by Eva; 1st December 2009 at 03:37 AM.
  Reply With Quote
Old 1st December 2009, 10:28 AM   #4
thermal runaway is offline thermal runaway  United Kingdom
diyAudio Member
thermal runaway's Avatar
Join Date: Mar 2007
Location: West Mids , UK
Your going to alot of trouble there for a bench supply when they are readily available on ebay as used equipment for low prices. The digital thing isnt really required for amateur use , it's really intended for repeatability and audited testing in production environments.
Also difficult to remove residual noise on SMPS. Linear with pre-regulator is best. Meters on supplies should be used for indication only , an accurate test meter should always be used for setting output.
You will be able to get a supply with current limit , output down to zero volts , crowbar over volts protection , programmable functions ,output current sensing compensation etc , off ebay , look for stuff from Kepco , Kikusui , Kenwood , Lambda.
  Reply With Quote
Old 1st December 2009, 03:15 PM   #5
egberttheone is offline egberttheone  Netherlands
diyAudio Member
Join Date: Nov 2006
Send a message via MSN to egberttheone
Just my 2 cents, current limiting in this matter would not be preferable as it would respond quite slow (IE output capacitor charge). Also you would like a bench supply just to make this running it from the mains directly for testing would be to dangerous. You could make a linear design and use a SMPS for powering your circuit, you could give feedback to the smps to regulate synchronous with the linear circuit to prevent extreme heat and losses. This way it would be fast and can be made pretty small because of the low losses.
  Reply With Quote
Old 1st December 2009, 04:01 PM   #6
star882 is offline star882  United States
diyAudio Member
star882's Avatar
Join Date: Mar 2007
My first bench power supply was a buck converter running from a simple unregulated power supply. Very simple and works surprisingly well.
"Fully on MOSFET = closed switch, Fully off MOSFET = open switch, Half on MOSFET = poor imitation of Tiffany Yep." - also applies to IGBTs!
  Reply With Quote


Digital benchtop power supply designHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Guidance for a benchtop power supply for car amp chemhaz Car Audio 3 14th June 2008 12:53 AM
HV benchtop power supply, help on opamp setup panos29 Tubes / Valves 17 20th April 2008 10:27 AM
any comments of digital oscilloscopes compare to benchtop ones? jarthel Parts 2 5th December 2006 02:44 AM
Wiring car amp to a benchtop power supply bans27 Everything Else 5 15th March 2006 08:30 AM
Benchtop Power Supply from Elektor Electronics magazine AudioFreak Equipment & Tools 3 2nd May 2002 03:04 AM

New To Site? Need Help?

All times are GMT. The time now is 02:01 PM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio