PCB Design – Running IC VCC Trace Next to Ground Plane


Since my last board flopped, I looked at it again and noticed a ground loop (because the DB9 casing completed the loop).

Now I adjusted my board so that there is no loop of any kind. Instead, I'm running a VCC track next to a GND plane with 1mm clearance right underneath the 40-pin DIP AT89S52 microcontroller (on opposite side of course since I'm doing single-sided PCB). I'm also planning to add a couple of 0.047uF decoupling capacitors.

For clarity, I added a picture of part of my circuit. I highlighted the ground wire in red and will convert it to a plane after so I don't waste etchant.

The circled green items are the 0.047uF ceramic decoupling capacitors.

They say ground loops are bad, but is vcc next to ground this close bad as well? and would modifying my clearance between the two planes affect microcontroller operation? and no I won't use 0 clearance or I'll blow the batteries up.


Best Answer

They say ground loops are bad, but is vcc next to ground this close bad as well?

Nope. Consider: the coupling between the two is largely capacitive, and by reducing clearance you increase the capacitance. However, you already are adding capacitors between them, so if anything it's to the good. This principle does not hold for two signal conductors, as the coupling can cause cross-talk, especially if one line is digital with a lot of sharp transitions and the other is low-level analog, but it's fine for VCC/ground. There are other situations where coupling can get you in trouble, but there is no indication they apply here.

The thing to look out for is leakage between the two. In the pcb world, the usual rule of thumb is 1 mil (1/1000 inch) of separation per volt of difference. So, as long as VCC is less than about 40 volts, 1 mm separation is just fine.