Tuesday, 31 October 2017

pcb - Is it normal to have a rats-nest of VCC/GND traces under an IC?


I'm attempting to route a simple board, the first I've done in 15 years since I routed a 12V linear power supply in the equivalent of mspaint. This board consists mainly of an LPC2387, which is an LQFP100 IC that requires a variety of +3.3V and GND connections.


As I play around with routing the traces for this thing, it strikes me that even with only GND routed, the underside of the IC is it's own little rat's nest of traces. Using this strategy, I'm going to need a giant pile of vias under there just to power the IC.



Is this normal? Am I going about this all wrong?


enter image description here



Answer



What you're missing is the use of a power plane. It appears you're using Eagle, use the polygon command to create a plane, and name it GND. Then, use the ratsnest command to pour this plane over your board.


For a 4-layer board, you should have an internal GND layer and an internal VDD layer. Route your signals on the outer layers, and pass vias through to the planes near the pads.


For a 2-layer board, the issue becomes more complicated. It's quite easy to set up loops (which are bad for signal integrity and EMI) when routing signals through a power layer.


The IOIO is an example of a 2-layer design with good routing. The bottom layer in this image is GND; I've edited this to use a 3.3V plane under the IC instead of their original traces. You can get the un-edited orignal documentation (including layout files) here.


layout sample


They placed the decoupling caps rather far away. Presumably, this was done so that all parts could be placed on the top layer. If you can solder on both sides it's probably better to locate them directly under the IC, and connect with short vias to the associated pins.


Also note that their voltage regulator and its associated 10uF decoupling cap are barely off-screenshot to the right. If they were any further, I'd also add a bulk cap of 10uF or so immediately under the IC, in addition to the 0603s shown.



Finally, note that even though there's a large, low-impedance plane under the IC, it's fed by two 8 mil traces under two pads at the right side. If I was being extra-careful, I'd have moved the LED and resistor at the right, as well as the 5V trace coming in across the right corner, to get a lower-impedance connection through that gap.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...