6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Sep 20, 2024 11:04 pm

All times are UTC




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Wed Aug 17, 2016 10:56 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
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!


Attachments:
DUAL_POWER_DESIGN.png
DUAL_POWER_DESIGN.png [ 20.77 KiB | Viewed 1124 times ]

_________________
Cat; the other white meat.


Last edited by cbmeeks on Thu Aug 18, 2016 12:24 pm, edited 1 time in total.
Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 3:25 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8510
Location: Southern California
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.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 5:54 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8390
Location: Midwestern USA
Other than Garth's comments about the LDO regulator's capacitors I see no reason why it shouldn't work.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 11:07 am 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
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.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 3:08 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8390
Location: Midwestern USA
cbmeeks wrote:
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.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 3:23 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
BigDumbDinosaur wrote:
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.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 6:15 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
Final version.

Opinions appreciated.

Thanks!


Attachments:
DUAL_POWER_DESIGN_2.png
DUAL_POWER_DESIGN_2.png [ 21.38 KiB | Viewed 1060 times ]

_________________
Cat; the other white meat.
Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 6:29 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8390
Location: Midwestern USA
cbmeeks wrote:
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.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 6:31 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
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?

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 7:42 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8510
Location: Southern California
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.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 7:49 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
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).


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 18, 2016 8:55 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
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.


Attachments:
DUAL_POWER_DESIGN_3.png
DUAL_POWER_DESIGN_3.png [ 27.83 KiB | Viewed 1044 times ]

_________________
Cat; the other white meat.
Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 19, 2016 4:12 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8390
Location: Midwestern USA
cbmeeks wrote:
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.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 19, 2016 11:05 am 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
BigDumbDinosaur wrote:
cbmeeks wrote:
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.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Fri Aug 19, 2016 11:15 am 
Offline

Joined: Mon Aug 05, 2013 10:43 pm
Posts: 258
Location: Southampton, UK
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 :)

_________________
8 bit fun and games: https://www.aslak.net/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: