-
EEVblog #221 – Lab Power Supply Design – Part 1
Posted on November 28th, 2011 35 comments
Dave shows you how to design a simple constant current and constant voltage lab power supply that can be either software (PIC/AVR et.al microcontroller) or traditional pot controlled.
Starting with the venerable LM317, and ending up with an LT3080 solution, and the some thought processes that go into it all.
Part 1 is the conceptual design.32 responses to “EEVblog #221 – Lab Power Supply Design – Part 1”

-
Thanks Dave, I really appreciate this type of design lesson. Can’t wait for part2!
-
Jakeypoo November 28th, 2011 at 12:31
Yes, Dave! You read my mind.
This has been on my project list for the past few months. -
Michael November 28th, 2011 at 13:03
Fantastic run through. I particularly like the refactoring of the design – brilliant!
Bring on part 2!
-
Michael November 28th, 2011 at 13:15
Just an aside – I too have been thinking about power supplies lately except not building a linear bench supply rather troubleshooting and repairing switchmode ATX style PC power supplies. I build and refurbish PCs on the side and have collected up a pile of these supplies over the years that all seem to have the same issues. It seems that the +12V output on them tends to go bad over time and the supply becomes unusable at that point. In the past I’ve just replaced them and figured one day I’d spend a spare Saturday going through the bad ones and seeing if I could get them working again. Well that day came last week when one went bad that I couldn’t readily replace because of its rather unique form factor so over to the repair bench it went. While I was working on the bugger I thought this would make a great EEV blog topic. A complete run through of the typical ATX ~300W PC power supply including how they work and some typical problems they have and how to fix them. So what do you think Dave? Care to take it on?
-
Michael November 28th, 2011 at 13:19
In case anyone wants to know, the issue I had with the one I needed to fix was crappy electrolytic caps on the outputs. Noticed the typical bulge on their tops right away. This seems to be a recurring problem. I’ve restored countless LCD inverters, stereo amps and power supplies due to cheep caps. What gives?
-
Not necessarily cheap caps (although that may be it).
Capacitors have a limited life and as such can come to the end of it.
Filter capacitors on switch mode power supplies have quite a hard life.
-
The whole “bulging caps” thing apparently owes itself to a bit of bungled industrial espionage by China.
http://en.wikipedia.org/wiki/Capacitor_plague
-
Michael November 29th, 2011 at 07:09
Thanks for the links Bob. I knew about the Badcaps site but the Wiki article is very good and has a lot of detail.
-
-
-
-
Dave – Fantastic!! I never fail to learn when i’m watching the EEVblog. In addition to power supplies, I hope you consider future projects such as frequency counters, function generators maybe even logic analyzers. Thanks.
-
Excellent description without over-complicating the issues. Another nice thing about this explanation, Dave, is that I can see how to try out this design with discrete parts (Buying an LT3080 is impossible where I live).
Thanks for the great blog.
-
AnonymousCoward November 29th, 2011 at 07:52
It figures you’d post this after I just purchased a bench supply this weekend
A function generator build would be very cool if you’re looking for ideas.
-
Zizzle November 29th, 2011 at 07:56
With the current limit transitor on, won’t there be 0.6v on the collector – the input to the LT3080?
So you won’t be able to get the output current down to milliamps? Or will the LT3080 eat up that 0.6v?
Also, since most cheap micros have onboard ADCs these days, I was hoping to see a design that used those.
-
WestfW November 29th, 2011 at 16:12
I’ve wanted to build a “lab” power supply using multiple 317s, putting together multiple app-notes that I haven’t seen combined. 317 for the voltage regulator, 317 for the current regulator, 317 for the current source to negative voltage needed to get 0V. 317 for a switching pre-regulator. multiple 317s for increased current capability, etc.
It’s probably just that box of 100 317s I bought on eBay some time ago
-
Dror Wald November 29th, 2011 at 23:42
hi Dave
episode 221 was very good!
i can not wait to see part 2.
usually when you make this kind of videos
i can’t stop the video all the why to the end.
and the i play it again!!!
pure joy and learning!
thank you very much.
Dror -
better than any lecture i had so far (5. Semester)
thank you for telling me stuff about the stuff i actually study!
-
Well done David. You are a really good teacher. I have noticed that there are a good few Australian electronics techs around. Now I fancy a nice cool larger…..
-
Andreas W January 6th, 2012 at 11:48
Hey Dave,
nice work, I really like the way you explain the stuff, but I have a question to your explanation of the constant current circuit. Why do you assume, that the top voltage (Vo) is alway 10 volts? Especially when shortening the output to Ground, I can’t get the reason why there should be 10 volts to be measured.
Thanks!
-
Niels V February 13th, 2012 at 06:32
Hi Dave
First of all thank for this great blog! Your easy to follow and enthusiastic video blogs are great. As an analog IC designer I haven’t got that much experience with discrete design, but you have reminded me why discrete design is so great and given me the motivation to start learning and working with with it again in my sparetime. And building a lab supply is a great project. I remember that we build one when I started at the university, to get a feeling of soldering and assembling electronics. I’ve just ripped it open to have a look at our old design, and sure enough it uses the LM317
Now a question: you spec that you want your supply to go all the way down to 0V, but what do you need this for? For a battery application 1.25V should be low enough.
Looking forward to hear your answer, and once again: Great blog!
Greetings from Denmark
Niels -
Michael P April 7th, 2012 at 00:01
Hi Dave,
I second Andreas W’s question concerning the 10V assumption in your explanation of the constant current circuit. I follow everything else, I just don’t quite understand where the 10V (or other arbitrary reference voltage) is coming from. Could you clarify that? Thanks!
-
Hi dave, this video, along with others, is great! i looked all over the web to find good but simple power supply videos, and this answered my CC/CV questions, and with bonus, can be done with discrete components, no microcontrollers reguired, i prefer transitors/opamp, i’m that much nostalgic
. but, thanks, and keep it up
3 Trackbacks / Pingbacks
-
[...] more about the lm317 as a current regulator in EEVblogs latest entry This entry was posted in Analog, Bench, Tools. Bookmark the permalink. ← Put this on your [...]
-
[...] you might choose to use depends a great deal on what you want from your power supply. Check out this for an example of the process you might go [...]
-
[...] watch the EEVBLOG maybe the PSU design video will give you a taste for what its all about http://www.eevblog.com/2011/11/28/ee…design-part-1/ Dave has about 282 videos all about electronics I highly recommend them all stuff I am very [...]
Leave a reply
-



Peter November 28th, 2011 at 11:44