Question for EE's good at board layout

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
I have to layout this basic power supply circuit in OrCAD layout. Ive got to meet certain requirements such as the ground trace has to be pretty thick, and as many traces as possible have to be on the bottom side of a dual layered board. What is the best way for me to go about placing the parts so a minimum number of traces run on the top? Are there any good strategies for it, or should I keep fooling around with it (like I have been for the past few hours.)
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
Well it does have auto place and auto route feature. But Im not sure how to program in certain requirements (such as input and output headers should be on opposite sides of the board), and when it does the auto routing, it doesnt seem to try and place a majority of traces on the bottom.
 

NutBucket

Lifer
Aug 30, 2000
27,165
640
126
lay it out manually? I've yet to find a program that does it well automatically.
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
Ive been trying to lay it out manually for several hours, but theres like an endless number of different possibilities to try and theres got to be some sort of strategy.
 

NutBucket

Lifer
Aug 30, 2000
27,165
640
126
well, if its a powersupply its not as critical as RF. The rule of thumb is just to make sure there aren't floating pads and to try and keep the ground continuous. Other then that everyone designs different boards.
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
Also when I do a DRC in layout, it seems to have a lot of problems with my 100 mil trace. There are like 60 problem circles around it. Any ideas why?
 

Analog

Lifer
Jan 7, 2002
12,755
3
0
Originally posted by: jmcoreymv
I have to layout this basic power supply circuit in OrCAD layout. Ive got to meet certain requirements such as the ground trace has to be pretty thick, and as many traces as possible have to be on the bottom side of a dual layered board. What is the best way for me to go about placing the parts so a minimum number of traces run on the top? Are there any good strategies for it, or should I keep fooling around with it (like I have been for the past few hours.)

I hope your not a student in one of my classes ;)

So from what I understand, you have a double sided board, with no internal ground/power planes?

Is this a switching design? That makes it more difficult, as you have to consider transients and high frequency switching noise in the design.

OrCAD is not foolproof, you must place the parts so that the pins give good straight shots to where they need to go. Place parts next to each other that have a lot of interconnects. Orient the parts (rotate etc) to minimize angles on traces, and again, make them as short as possible. Make very sure that high frequency parts have short traces, and are not near other parts that may be affected by EMI, etc (i.e. amplifiers, A/D converters etc).

You may even employ ground line shielding adjacent to thick power lines to minimize radiated noise. Most of my designs employ a minimum of 4 layers, since (in my classes) I teach the concept of ground / power plane shielding, even on simple designs. You also did not mention whether this is a through-hold or surface mount design. Via reduction in OrCAD is a sure fire way to create convoluted routes. HTH.
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
Its a thru hole design. Can only be double sided (since I will soon be going through the steps to actually etch the board). This is a freshman level class, and we arent expected to know anything about circuit components or interference or anything like that. I dont know if its a switching power supply, how would I be able to tell that?
 

NutBucket

Lifer
Aug 30, 2000
27,165
640
126
What kind of components are you using? Entry level I'm guessing regulators ie LM7805?
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
It has an 2 LM317T's (its a dual variable output supply). It also has a LM7805 in the optional part of the circuit for digital meter readouts. It looks like it has a rectifier bridge of 1n5401 diodes and various other resistors, capacitors and diodes.
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
I took care of the issues with the 100 mil trace. Problem was that I was doing a manual override of trace width rather than just setting the trace to 100 mil in the nets window. That got my errors down to 10. Now the only errors I have left are on some components, when I run a trace underneath it (on the bottom layer), it generates a yellow circle error in the middle of the component. Any idea why?
 

blahblah99

Platinum Member
Oct 10, 2000
2,689
0
0
Umm... if you're laying out an analog design, do it by hand.

Analog circuitries are extremely picky about how and where you return the feedback signal. Even on a switching power supply, if you route the feedback voltage into the controller using a long trace, you'll get a bunch of noise at the output.

As for placing parts, minimize the loop area between parts. Keep the high current parts close to each other and the high current traces short, and return them to ground at a star point, preferably to the same point as your feedback ground.

Loop area = EMI and distortion/noise at the output.
Bad feedback ground = noise at the output.

Depending on how many amps your supply is, be sure to make your traces wide enough to accomodate the currents. Since it looks like you're doing a two-layer board, I would route power traces on top and ground traces DIRECTLY below.
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
The teacher wants as many traces as possible on the bottom side of the board. The odd thing is, functionality isnt really important, we are going to be graded on the final project but not on whether or not it works. Just how well it was made.
 

beer

Lifer
Jun 27, 2000
11,169
1
0
The sad thing is I'm almost to my junior year of EE and this thread went STRAIGHT over my head....
 

blahblah99

Platinum Member
Oct 10, 2000
2,689
0
0
Originally posted by: beer
The sad thing is I'm almost to my junior year of EE and this thread went STRAIGHT over my head....

They dont' teach you this stuff in school.. you learn this through experience and mistakes.
 

NutBucket

Lifer
Aug 30, 2000
27,165
640
126
Originally posted by: blahblah99
Originally posted by: beer
The sad thing is I'm almost to my junior year of EE and this thread went STRAIGHT over my head....

They dont' teach you this stuff in school.. you learn this through experience and mistakes.

The OP is learning this in his freshman level class. Yes, I agree I've yet to come across this in my classes (senior going on 5th year). I do it all the time at work tho.

What school are you going to jmcoreymv?
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
Cal Poly SLO. Everything we learn we have a lab for. Thats why our motto is learn by doing i suppose. Kind of a pain in the ass.
 

jmcoreymv

Diamond Member
Oct 9, 1999
4,264
0
0
Originally posted by: NutBucket
Originally posted by: jmcoreymv
Originally posted by: NutBucket
heh. I'm at Pomona.

The class is IME 156, you should probably have it too.

The classes don't match up at all. All of my EE classes are prefixed ECE.

Just noticed that, oh well. Do you have any type of "Basic Electronics Manufacturing" course?
 

NutBucket

Lifer
Aug 30, 2000
27,165
640
126
Originally posted by: jmcoreymv
Originally posted by: NutBucket
Originally posted by: jmcoreymv
Originally posted by: NutBucket
heh. I'm at Pomona.

The class is IME 156, you should probably have it too.

The classes don't match up at all. All of my EE classes are prefixed ECE.

Just noticed that, oh well. Do you have any type of "Basic Electronics Manufacturing" course?

Not that I can think of. Too lazy to look at my classes right now. Of course, that may have changed since I started but I doubt it. Seems to me people at pomona build stuff in senior year/upper div classes. I've built sh!t for school.