Page 1 of 2
Need advice on dual power design
Posted: Wed Aug 17, 2016 10:56 pm
by cbmeeks
I'm working on my SBC's power design.
I plan on offering two power rails. One 5V and the other 3.3V. I have a need for both power voltages in my design.
I have built something similar to the attached schematic on a breadboard and it seems to work pretty well. At least according to my multi-meter.
I welcome any constructive criticism.
Thanks!
Re: Need advise on dual power design
Posted: Thu Aug 18, 2016 3:25 am
by GARTHWILSON
Make sure you do what the data sheet says about the 1µF input and output capacitors for the 3.3V LDO. LDO's can be tricky to keep stable, ie to keep them from oscillating. The designers have done the math and subsequent testing to give you the ranges and types of capacitors. You might save yourself a lot of grief by following them. I had an LDO in an aircraft intercom design 20+ years ago that worked fine in most aircraft, but in a few situations the aircraft's power source was exactly right to make it oscillate and damage itself, and I had to quickly re-do the board with a fix so it worked right for everyone. They have worked fine ever since, with no failures.
Re: Need advise on dual power design
Posted: Thu Aug 18, 2016 5:54 am
by BigDumbDinosaur
Other than Garth's comments about the LDO regulator's capacitors I see no reason why it shouldn't work.
Re: Need advise on dual power design
Posted: Thu Aug 18, 2016 11:07 am
by cbmeeks
Awesome!
Thanks for the recommendations. I will look at the datasheet and find the correct values.
Thanks!!
**EDIT**
I'm an idiot. It's right there in the datasheet. I've got to remember...it's ALWAYS in the datasheet.
I will update the design but it appears you need a 1uF cap on the OUT and a 1uF on the IN.
Re: Need advise on dual power design
Posted: Thu Aug 18, 2016 3:08 pm
by BigDumbDinosaur
I will update the design but it appears you need a 1uF cap on the OUT and a 1uF on the IN.
For best results, mount both caps as physically close to the regulator as possible.
Re: Need advise on dual power design
Posted: Thu Aug 18, 2016 3:23 pm
by cbmeeks
For best results, mount both caps as physically close to the regulator as possible.
Roger that. I also do the same with decoupling caps too.
Re: Need advice on dual power design
Posted: Thu Aug 18, 2016 6:15 pm
by cbmeeks
Final version.
Opinions appreciated.
Thanks!
Re: Need advice on dual power design
Posted: Thu Aug 18, 2016 6:29 pm
by BigDumbDinosaur
Final version.
Opinions appreciated.
Thanks!
Just for grins, make C8 a 100µF cap instead of 10µF. The physical size difference will be minimal and you'll get a little better regulation from the 7805 as loads on the 5 volt circuit fluctuate.
Re: Need advice on dual power design
Posted: Thu Aug 18, 2016 6:31 pm
by cbmeeks
Ah, good idea.
I have several 1000 uF caps. Do you think one of those should go on the switch?
I forgot to add the schematic for the switch so I should be able to update that soon.
Thanks
** EDIT **
Let me rephrase that...should there be a large cap supplying the "IN" pin of the 7805?
Re: Need advice on dual power design
Posted: Thu Aug 18, 2016 7:42 pm
by GARTHWILSON
The data sheet also says you should have a capacitor on the 7805's input, really close to the regulator. For digital work where a jump of 50 or even 100mV won't matter, I don't think there's any point in going overboard on the output capacitor though since beyond a few µF the regulator's response will be quick enough to compensate for sudden changes in the load. That's not to say of course that you shouldn't have ,01 or 0.1µF bypass capacitors right at each digital IC, particularly if you don't have a ground plane and a power plane. (Copper pours don't qualify.)
If anyone cares to look it up, Electronic Design magazine had a good article on LDO regulator compensation for stable operation, including selecting the right output capacitor, in the Nov 4, 1996 issue, pages 99-104, written by Chester Simpson of National Semiconductor Corp.. It seems like I saw an even better one a few years ago, further clarifying the matter of poles and zeros of the function, but I can't remember where.
Re: Need advice on dual power design
Posted: Thu Aug 18, 2016 7:49 pm
by Arlet
The 7805 doesn't need a large cap on the input, as long as the input voltage stays above 7V or so (exact value can be found in data sheet).
Re: Need advice on dual power design
Posted: Thu Aug 18, 2016 8:55 pm
by cbmeeks
I will certainly put bypass caps on all IC's. Even the clock. Just because.
I think I might go ahead and put a cap on the 7805 input line. This isn't going to be a high-volume production so I'm not too concerned on saving a few cents here or there.
Thanks again for the input.
Re: Need advice on dual power design
Posted: Fri Aug 19, 2016 4:12 am
by BigDumbDinosaur
Let me rephrase that...should there be a large cap supplying the "IN" pin of the 7805?
All depends on from where the 7805 is getting its juice. If the basic source is sufficiently filtered, I'd say don't bother, as the 7805 is fast enough to filter out a reasonable amount of ripple.
Re: Need advice on dual power design
Posted: Fri Aug 19, 2016 11:05 am
by cbmeeks
Let me rephrase that...should there be a large cap supplying the "IN" pin of the 7805?
All depends on from where the 7805 is getting its juice. If the basic source is sufficiently filtered, I'd say don't bother, as the 7805 is fast enough to filter out a reasonable amount of ripple.
More than likely, it would be from a 9V wall-wart that was regulated.
Re: Need advice on dual power design
Posted: Fri Aug 19, 2016 11:15 am
by Aslak3
A cosmetic observation, but wouldn't the schematic be clearer if the GNDs were joined up? When I first glanced at the schematic I was a bit confused. I assume the two rails have a common ground; the net name is the same at both points. But for me this would look clearer if the grounds were joined with a wire.
What's the current draw? Don't forget the heat-sinks on those 78xx
