First PCB Design, hoping for feedback

Like the title says, this is my first PCB design. It’s been through five or six revisions over the last month, and I’ve arrived at this. I was hoping that some of the folks on here could give me some constructive feedback on my design.

The purpose of this board is as a controller for a 10x10x10 LED cube using 595 shift registers. Each LED draws 20mA, so each ground layer control needs to be capable of sinking at least 2A of current. I’m using N-Channel MOSFET’s for that job, being controlled by some Dual MOSFET Driver’s. The board has headers on it for an Arduino Micro so it can simply be sandwiched on, and power comes from a standard MOLEX Drive Connector. 12V goes to the VH pins on the MOSFET Drivers as well as the Arduino, and 5V goes to the Shift Registers and VDD on the MOSFET Drivers. I’m including links to the Eagle Files (as a ZIP), and the relevant datasheets. I’ve not really done work with transistors, so one of my concerns is that I’ve correctly designed them to sink the required current, and to switch in at least 100ns.

EAGLE Project folder:

https://www.dropbox.com/s/g76m0sy88i33z … TA%204.zip

Shift Register Datasheet:

http://www.mouser.com/ds/2/405/schs353-263165.pdf

MOSFET Driver:

http://www.mouser.com/ds/2/465/fn6228-74213.pdf

Ground Sink MOSFET’s:

http://www.mouser.com/ds/2/149/FDN359BN-80801.pdf

And a few pictures:

Update after being Smashed:

http://i.imgur.com/f1rcszr.png

This is the almost present revision:

http://i.imgur.com/H4igDUw.png

Here was the previous version:

http://i.imgur.com/hAFH96U.jpg

And here was the very first try. (Never ever using the Auto Router again)

http://i.imgur.com/J43QX6I.jpg

Wow, that’s a huge board. But I must say it looks very nice. Especially from the first version. The autorouter sucks in Eagle. I tell everyone to always route your own board. I don’t see anything that is sticking out that could cause problems. I will take a look at the files and post back if I find anything.

I thought about making it smaller, but I know that I can solder all of these packages easily in the reflow oven, and wanted the extra space for comfort. Having the board made costs the same up to 60 square inches, and the base that this will go in is 15"x15" so there’s no big reason to try and squeeze it in smaller. Plus this gives me the ability to use IDE connectors which will be cheap/free instead of using some specialty (expensive) option.

I appreciate the feedback, and your time to look it over!

EDIT: This wasn’t meant to be defensive, just as a way to express my thought process, so I hope it didn’t come across that way :?

Understandable about the size. Looked at the Eagle files, and I must say even your schematic is a pleasure to look at. Very nice job! It is very noticeable that you read a lot of tutorials and did your research if this is your first board. The only thing I can suggest is to smash your parts so you can move the lettering around. Move them so that none of the pads and vias will distort the letters. Also move them so you or others can easily see them. I didn’t see this but make sure you have no value lettering on the board, you only need them in a schematic. The only thing that should be on the board is the part designations. Just makes it look more professional. I am sorry but I don’t have the time right now to check your routing. Even though I have experience with 595s, I would still need to check the datasheet. Hopefully someone will come along and check that for ya.

Overall, you have done an excellent job! Be proud of yourself because even some experienced designers can’t get to the level this board is at.

One other thing, can I use your design to show beginners how a schematic and board should look?

Thanks for the tips. I’m not familiar with Smash, so I’ll have to look into that. You’re also more than welcome to use this design, though I might update this as I make further revisions.

My larger concern isn’t the shift registers, it’s the transistors being used to sink the ground layers.

There is a smash button on the left tool bar. Just click it and click on all the parts. This will allow you to move around and delete the letters associated with the part. And you don’t have to worry about the crosses it makes, it won’t show up when the board is made. It’s just for your reference.

Thanks, I think I got it smashed, and it looks a lot better. Have updated OP with a new picture.

Ok, after a long delay I think this design is finally done. This latest revision includes a lot of changes:

-Replaced the 595’s with MIC5891’s because the 595’s couldn’t source enough current to drive 8 LED’s. The MIC5891 is a shift register with built in high current output drivers.

-Added pull-down resistors to the sinking transistors to fix the floating input problem

-Swapped in an ATX power connector for the layer sinks because the IDE cables couldn’t handle the required 2A

-Improved the ground plane isolation for the data and clock lines

-Separated the ground planes for the transistor area of the board in case of noise

-Did a lot of ground plane stitching (Likely overkill, but doesn’t increase my cost)

-Added extra decoupling capacitors to the MIC5891’s to improve noise filtering (a .1uF and a 10uF for each chip)

-Cleaned up the labeling

Here is the final product

http://i.imgur.com/qUCbDJy.png?1

Acute angles where tracks are joined should be avoided.

Well done on a first, I get to see a lot of first off PCB’s as well as when engineers have been making them for a couple of years and they can be horrid.

As Leon says, acute angles should be avoided.

Search for “acid traps”, these are where a track junction is at less than 90 degrees.

What happens is that tiny amounts of acid get trapped in the V, then get covered with solder resist and are not detected until a year+ later when the acd has slowly etched its way through the track.

Avoid them as a matter of course.

Being pedantic - looking at the red tracks above UF13/14 - those vias can be reduced by rerouting the tracks.

UF22 pin 4, if that track went through the pad it can then come around the outside to remove 2 vias.

UF21 pin 16, let that go straight alon the top of the row and have the blue tracks vertical.

Does the un named 34pin IC only have so few connections?

For the reference designators, the bottom row - move them all to nearer the pin 1 end of the IC, do this as a matter of course in future - it helps identify where pin 1 is when the IC is fitted.

If you have multiple gnd planes - have you read about the issues with splitting them up?

Have a read of [this and consider if your board really needs the plane splitting?

The power connector - I see no tracks exiting the devices right next to it (caps or transils?) - if your thinking of via in pad forget it - its better to exit the pad with a track and via (or 20 for a prototype/small amount so that you can fault find. ALso the RH track on the pwr connector is 1/3 the width of the left, perhaps fatten it up more as those connectors do take a good thrutching to fit and hence rock the pads and can break the track at the pad/track join.

Needs text on the board I.E. name, version, copyright name etc.

Some of your component names are upside down, are these components fitted on the reverse?

Perhaps put the name on top with a dashed outline for the component to indicate its on the reverse?](Grounding of Mixes Signal Systems)

Thank you for all of the feedback!

I’ve addressed most of the issues listed in the post above, though still end up with some 90 degree angles in place of the acute angles. The ground planes have been combined and I’ve re-routed the VCC bus to clean things up a little with the decoupling capacitors.

The blue components and upside down lettering are on the reverse of the board, and works in production because this is a double sided board with silk on both sides.

The large IC is actually a set of headers for an Arduino Micro so it can just be sandwiched on as we already own it.

Again, thank you all for the feedback. This is such a great place to come and learn!

-Matthew

Here is the revised board, and here is a higher res image. http://i.imgur.com/qfKnovz.png

http://i.imgur.com/EhwEzwc.png

Can you post the Eagle files so I can take a closer look at them?

I caught a couple of DRC violations after jumping the gun and posting the previous picture. They have been fixed in this zip file.

There were some fast (read: dirty) changes added into the schematic, so please forgive me the ugly pull-down resistors in schematic view.

Here is a zip file of the whole project folder. https://www.dropbox.com/s/is4i0ol7drwf6 … ev%206.zip

Thanks again!

Question, why are you using an ATX connector for the Micro? How will it be “sandwiched” in?

I’m not sure what you meant by “sandwiched in,” but the ATX was selected because of cost and simplicity. The ground switching transistors will be sinking 2A if a layer of the cube is fully on, and the IDE cables can’t handle that. The choice was made because we can just cut an ATX connector off of an old power supply and have a ready-made harness.

ATX connectors are fine for the current required and IDC headers can be found to make it easier to make the cables.

Although I would question why you are increasing the cost of the board by using double sided placement and silkscreens?

Is it to be manufactured as a product? If it is it will require 2 x solder paste screen, 2 x placement setups - 2x runs through the placement machine and the PCB is costing more.

Or is it just a one off?

IMO All the res/caps on the underside can be fitted on top side leaving only the ATX connector - is there a reason why it is on the other side?

IF manufactured are you expecting to use optical inspection to test this? If so then those sets of 3 pads that have the big track through them will appear as a short and will require separately programming in to indicate they are not, it is common practice to route out of individual pads before joining them together. If not then never mind.

How are these transistors switching 2A? I only see 2 connections on them? Are you using via in pad ? (more unnecessary cost.)

Or have you a considerable current coming out of the ic’s to the transistors? (I cant see your schematic as I dont have eagle).

If so then the IC’s would be better closer to the transistors.

You still have plenty of acid traps that can easily be done away with.

EDIT: OK I have eagle now - and although I am no expert at driving it - I cannot see connections to ground on the transistors or capacitors etc?

Is this some hidden connection in Eagle?

This board is a one-off controller for a LED cube project, and the cost of the is fixed due to my choice of manufacturer ($33/board double sided up to 60 in^2). Part of the reason for double sided is to get some practice with multi-layer boards instead of just single sided.

It’s not just the ATX connector on the reverse, it’s also the IDE headers and power supply connector.

I have no clue about the optical inspection :oops: but I will move the connections outside of the pads to correct this potential error.

The transistors, capacitors, resistors, etc… have the net name for the GND pads named to GND. The ground planes are also named GND, so this will create the connections automatically. They are hidden at the moment for visibility, but hitting the ratsnest button should change the views to show the ground planes/connections.

Are the acid traps the 90 degree angles? I’m probably being completely blind, but I can’t quite figure out how to run a bus like that without those hard angles. :?

And yet again, continued thanks for all of the helpful feedback.

The large IC is actually a set of headers for an Arduino Micro so it can just be sandwiched on as we already own it.

Those are your words. So you are going to make a plug that will connect the Micro… I wouldn’t call that “sandwiched.”

@mattylad He is getting the boards done at OSH park. It’s 2 sided and they don’t charge extra for 2 sides. They only fab boards of 2 or 4 layers… They also don’t care that there is vias in pads. It doesn’t cost extra. The boards from OSH park are charged by the size, not the complexity.

I see now I have it in eagle, I have hit auto and its poured the top copper and connected the pads.

The acid traps are the 45 degree angles into a straight track. This creates an angle that is “less than 90 degrees”.

Simply enter them straight as a T junction.

Signal is RCK.

If you move the via on the DATA line right until it meets the vertical track then the bottom track on RCK can stay on top instead. IN fact bring the via down and the via/bottom track on DI11 can be removed. Perhaps bring the data line on top so its not splitting the plane underneath as much?

Look at the thick VCC track and review the GND return - it appears to be very thin as its split by SCK.

Ok I give up - I’m not understanding this eagle very well lol, best not save what I have looked at. Back to the manual :slight_smile:

Plugging the arduino in is simple, use a SIL header and socket set - done it many times in the past.

Ok, attached are images to illustrate acid traps. Red arrow pointing to the target. My Photoshop skills are lacking…

Click on images to enlarge.