Most active commenters
  • exmadscientist(7)
  • dragontamer(3)

←back to thread

284 points surprisetalk | 29 comments | | HN request time: 3s | source | bottom
1. exmadscientist ◴[] No.42875330[source]
Grumble grumble. Professional here, and I really do not like this article.

There are a lot of things getting mixed up here: ground planes for EMC, ground planes for electrical performance, ground planes for DFM/etching, and ground planes as "fashion".

First off, let's just say that meeting radiated EMC ("47 CFR Part 15" according to the article, equivalent to CISPR 22/32 in Europe) is a bloody good idea. Yes, the testing labs are "a bit of a racket". But does anyone else remember the days when turning on the vacuum cleaner would knock out the TV? That wasn't great. And we have a whole lot more electronics in the world today. A world without Part 15/CISPR is an ugly world indeed.

Four-layer boards are cheap. Really cheap. They may be double the cost, but you're doubling pennies here. In fact, just checking in with one common low-volume supplier, they're not doubling: the price for 200mm × 100mm boards with good specs goes from $9.34 each in quantity 10 to... $10.59. For prototypes, that's basically a rounding error. Perhaps even literally a rounding error. So don't complain about the cost of four-layer boards anymore, it isn't 2004.

Internal ground fill layers are what people usually mean when talking about "ground planes". They have three key properties:

1. They are very easy to do and are very tolerant of mistakes. You don't have to calculate return current paths, you don't have to size and locate return current traces, you don't have to gum up your routing. You just dedicate the layer and it works, and it keeps working if you have to make changes later.

2. They help shield internal layers further down in the stack from radiating. This is usually minor, but for nasty digital stuff or high-power electronics, can be useful.

3. They develop inter-plane capacitance with nearby power layers, if inter-layer dielectrics are small. This is critical to maintaining power distribution network performance at high frequencies (>100s of MHz). This stuff is very, very important to make high-speed digital logic work well. Of course, it's only one link in the chain (GHz stuff gets handled on-package or even on-die; <100MHz is the job of on-board capacitors until you get into power supply dynamics in the kHz and below). This is the "increasing shunt capacitance" mentioned in the article. Yes, it can be bad news for analog stuff, but this is both very rare and the sort of problem where anyone who can do that kind of difficult analog design has the skill to punch a hole in the plane where it's needed.

There is also a manufacturing issue where the manufacturers find it easiest to have approximately balanced amounts of copper on opposite layers of a board. Copper pours are one solution to this. Copper thieving pads are another. This is important but easy to manage, and vendors are good at it.

So all of the above applies to internal layer copper fills. None of it is "fashion": there are good reasons to do it, the extra layers are cheap these days, and it's an easy and robust way to design things. Fills on external layers are a different matter; they're kind of stupid in a lot of cases. Unless you're doing a two-layer design, or a 4-layer that kind of ends up behaving like a 2-layer (this happens sometimes when stuff is very tight), the external fills are pretty worthless. I wrote more about this ages ago over here: https://www.eevblog.com/forum/eda/altium-article-on-never-us... This is the only real thing I'd agree with the article on.

There's a lot of stuff going on here, and I don't think this article does a very good job keeping it straight. If you take one thing away from all of this, it should probably be that internal copper planes are pretty great, and what happens on the outside of the board isn't so important.

replies(6): >>42875465 #>>42875474 #>>42875781 #>>42877581 #>>42885732 #>>42886783 #
2. antigeox ◴[] No.42875465[source]
I don't think the article's audience are professional EEs/PCB designers otherwise they'd know all of this stuff and then some. So anyone serious should probably seek out a better reference.
replies(2): >>42875490 #>>42881692 #
3. femto ◴[] No.42875474[source]
A reason for more external copper pours might also be that the EDA tools have improved and can now handle the complex shapes. Back in the 80s/90s copper pours were a pain using Protel (later called Altium), as they were built using straight tracks rather than polygons. Eventually the program got actual polygons and life became easier.
replies(3): >>42875684 #>>42876097 #>>42876409 #
4. exmadscientist ◴[] No.42875490[source]
That's a reasonable take, but in my opinion, is not what a non-expert reading of this article seems to be suggesting. So I wanted to state the alternative case.
5. vantablacksheep ◴[] No.42875684[source]
Going by the inconsistent spacing and angles on that 1984 PCB, I'd almost guarantee that it was routed using black tape on mylar film, not a CAD package to be seen. Trying to create large fills back then would require manual positioning of tape over all of the copper fill areas. Tools is a big part of the reason for the shift, it's easy now, and the results are generally much better.
replies(1): >>42875792 #
6. aidenn0 ◴[] No.42875781[source]
So is the default for a 4-layer board something like components/ground/power/components?
replies(5): >>42875805 #>>42875846 #>>42876611 #>>42878846 #>>42880172 #
7. exmadscientist ◴[] No.42875792{3}[source]
I think that one was actually done in an early Japanese computerized CAD package. There's a lot of weird crap in that layout, but it's the sort that the old-school computer layout programs made, not the sort that humans did. Take a look around U111 pin 30, or south of R112, or, heck, any of the text. Whereas there's no sloppy-but-OK vias or wobbly text or anything like that.
8. exmadscientist ◴[] No.42875805[source]
Yep. And then for 6 layers, depending on the actual needs of the design, it'll often be components/ground/signal or power/signal or power/ground/components. Some designs need a lot of signal routing space. Some need a lot of split power rails. And some are nice and easy and don't need either.
9. mordae ◴[] No.42875846[source]
Yes and it sucks people copy this.

The default should be X / GND / X GND to maintain tight coupling of both signals and power to the GND plane and stitch the GND planes together with vias close to any other via that changes layers to maintain return paths.

Power should be routed normally, except it should use widest practical traces and get decoupled with C close to ICs that consume it.

But in any case, you always need to think about the signal and return. Even for power. It's never truly DC.

If you do the "classic" signals / GND / VDD / signals, you are routing over VDD plane and your ground is waaay farther. Means all accidental VDD noise (you can't pinpoint, because it takes frequency dependent paths across the VDD/GND C) gets coupled into your signals on the back side.

So don't do that.

replies(2): >>42875974 #>>42876130 #
10. exmadscientist ◴[] No.42875974{3}[source]
I don't follow you.

The standard configuration, with a "fat core", is pretty much the best you can do in 4 layers for a "modern" design. By "modern" I mean something with a dense component load, probably double-sided load, and random-ish routing (so, exactly the opposite of the old '80s TTL design shown in the article image we're discussing in sibling comment). All the "better" 4-layer stackups require outer layers to be doing a lot of heavy lifting, which they cannot do if they are filled with parts. When you assume they have to be filled with parts -- because if they aren't filled with parts then I can make it smaller and people want that! -- then you just cannot use that space as anything else. Henry Ott discusses a number of stackup options for four layers, and the standard one is the only option of his that survives with this restriction. If you don't like that, tough, I guess you're paying for 6 or 8 layers. Which isn't too bad these days!

You complain about power (VDD) plane noise. This might be important in ultra-low-noise design, I don't know, I try not to do that sort of work. In normal work it is not a factor. Your power and ground planes should be connected by a pretty thick network of capacitors, so they are transparent to each other. Your power plane is as good as a ground plane for AC, and AC is the only thing that's hard to deal with. So there is no issue routing the bottom layer on the other side of power, not ground. (Of course, that is no longer true if your power plane is split. Split power planes in a high-speed 4-layer design can be nasty, and are how I justify my worth to my employers!)

replies(2): >>42877738 #>>42881878 #
11. willis936 ◴[] No.42876097[source]
I actually prefer using plane layers with tracks to split to the messiness of polygon pours. It signals design intent to users and fab houses and doesn't require a ton of rules and calculations. Polygon pours have their place in top/bottom power nets.
12. lnsru ◴[] No.42876130{3}[source]
Signal is a wide definition of possible traces. Signal can be status LED toggling every 3 seconds, it can be I2C in kHz range or SPI running 80 MHz or 100Mbps Ethernet. I don’t mind routing slow signals over power plane. For the fast ones I would go through pcb and route over GND plane with equal vias amount for each trace. So classic signals/GND/(split)VDD/signals is absolutely fine for simple applications.
13. bartlettD ◴[] No.42876409[source]
Piggybacking onto this comment, but another reason for external pours is thermal performance. A copper pour on the surface on the PCB allows heat to convect off the board more easily. The gains aren't massive, but they can help as part of a larger thermal management scheme.

I've also heard, possibly apocryphally, that in the old days when we used harsher chemical etchants, removing all of the copper from unused sections of the PCB would increase the risk of thinning the traces beyond what was intended. So in those cases a copper pour would reduce the time the PCB would need to spend in the etchant bath.

replies(1): >>42880095 #
14. michaelt ◴[] No.42876611[source]
There are different options.

If you put the power planes on the inner layers and the signal on the outer layers, it's much easier to visually inspect the signal layers. And if you got something wrong on the prototype and you have to fix it manually, the traces are right there where you can get at them.

On the other hand, if you're doing some performance-critical RF wizardry, you might put the ground planes on the outer layers and the signal on the inner layers, sandwiching your signal between two ground planes. So if you look at a wifi module or something like that, sometimes the outer layers will have very few traces.

15. lightedman ◴[] No.42877581[source]
"There's a lot of stuff going on here, and I don't think this article does a very good job keeping it straight. If you take one thing away from all of this, it should probably be that internal copper planes are pretty great, and what happens on the outside of the board isn't so important."

And then this article totally ignores solid metal PCBs, which are my realm of specialty and have their own inherent challenges when it comes to digital equipment.

16. mordae ◴[] No.42877738{4}[source]
https://m.youtube.com/watch?v=60RxCiZuD9E

Rick Hartley explains.

replies(1): >>42881196 #
17. dragontamer ◴[] No.42878846[source]
The default today is likely signal/ground/ground/signal.

Or really, the default today is a 6 layer board because 4 is still kinda bad.

Today's engineers know that signal-top has a return path through ground-top. But if you ever were to via a wire from signal-top to signal-bottom, the return path gets lost (aka: return path is now through the board or worse, through the air and radiating off of your board).

To prevent this erratic behavior, you must continue to think about the return path and tie a via from ground-top to ground-bottom as close as possible to the via between signal-top and signal-bottom.

--------

6 layer can do signal/ground/signal -core- signal/ground/signal

Where core is the FR4 material (keeping the middle signals far enough apart that they likely don't interfere with each other). This allows vias between layer#1 and #3 without needing a secondary return via. (But if you need layer#1 to layer#6 via, then the previous advice still applies where ground-top needs a secondary return via to ground-bottom).

replies(2): >>42882597 #>>42884358 #
18. petsfed ◴[] No.42880095{3}[source]
I've worked with several stepper motor driver ICs that feature a ground pad on the bottom of the IC and recommend an unmasked copper pour connected to the ground pad via thermal vias, on the opposite side of the board from the IC, sized at least as big as the IC itself. Like, the manufacturer's suggestion is literally to use the copper as a heat sink. If you wanted, you could then affix dedicated heat transfer features, like a traditional finned heatsink, or a heat pipe to a dedicated cooler.
replies(1): >>42881284 #
19. ansible ◴[] No.42880172[source]
If you don't need components on the bottom side, it saves money to not do so. That means the board doesn't need to go through another pass on the SMT machine.

Even if a board is double-sided, it is common to avoid putting major ICs on both sides, unless the space constraints are severe. Often, people will only put passive components on the bottom side.

20. exmadscientist ◴[] No.42881196{5}[source]
I don't think you are arguing for the same thing as Hartley. I strongly approve of some things he says: "people believe that just pouring ground on top and bottom lowers EMI... well it doesn't!" (6:04) or "there is no four layer stackup that's wonderfu... no 'gosh, isn't that great?' four-layer stackup, they just don't exist, it's four layers, you know, you can only do so much with it" (7:29). No mention of VDD noise or discussion of how a good, well-decoupled power plane is basically as good as a ground plane for AC return currents.

I believe you are trying to get a stackup that supports use of stripline for signals. That is a reasonable goal but it is only appropriate for very high speed digital designs. If you route stripline on a regular basis, you're either very experienced or clueless. No middle ground!

Really, for heavy-duty work, you need six. And you can argue with me, and say that by great skill you can get things into four layers, and that is true. But six-layer boards are cheap compared to what they used to be, so for anything not going into true high-volume manufacturing, just go for six or eight. In all other cases, the design cost hit will outweigh the parts cost savings.

21. exmadscientist ◴[] No.42881284{4}[source]
Thermal pads are wonderful. Most of the time for moderate thermal loads, an exposed pad soldered to an internal ground plane running through the whole board is enough, as the copper layer there spreads out the heat well enough to dissipate. It always amazes me that an outer-layer copper fill is not much better than an inner-layer one, so the larger coverage of the inner layer wins every time.

A great app note on getting started with thermal design from TI: https://www.ti.com/lit/an/snva183b/snva183b.pdf

22. jimnotgym ◴[] No.42881692[source]
I have some experience that tells me that not all professional PCB designers know this stuff...
23. the__alchemist ◴[] No.42881878{4}[source]
Nailed it. This was confusing to me too hearing about other stacks, as they stopped being effective once I used the top (And sometimes bottom) for components, which happens on every design I make. If not, I'd shrink the design! EM concerns aside, I want easy access to power and ground.
24. neltnerb ◴[] No.42882597{3}[source]
For anyone else that also wants a much more in depth explanation, this hour long talk is a gem.

https://resources.altium.com/p/2-the-extreme-importance-of-p...

That AC signal energy is contained in the field between the trace and it's return is such a powerful model compared to taking the DC model of "going the lowest impedance path" and just assuming it applies at AC. Very, very, very good talk.

This model also automatically makes clear why you'd want signal-GND-GND-signal instead of a power plane because that side's signals will have coupling into the power plane. It is mentioned explicitly in the video as well.

25. Dylan16807 ◴[] No.42884358{3}[source]
> 6 layer can do signal/ground/signal -core- signal/ground/signal

So preferring a fourth signal layer before adding a power layer?

replies(1): >>42884399 #
26. dragontamer ◴[] No.42884399{4}[source]
Just route power as a signal. Maybe a really fat trace / signal but it's still a signal.

Power planes are overrated especially for 100mA designs. If you are running a 500Amp GPU obviously you should consider a power plane but what kind of designs are people doing here?

EDIT: 10 Amp on 1oz according to first trace width calculator is supported by 20mm or 300 mil trace width. There's no reason to have a full power plane on amperage grounds.

And if you need board capacitance for your design to work then yeah, Power Planes can be useful for that. But only the highest of frequency circuits (think GHz+) seem to require those.

And if you do use Power Planes, then return currents may be induced on the Power plane instead of the ground plane, which is bad and hard to think about. (Power Planes cannot be shorted to Ground, meaning your return current needs to go across a high inductance via, into a capacitor, through to the ground plane where the return current should have been in the first place).

---------

Basically, power planes are one of those things that work at 50MHz just fine (enough random capacitors that magically transfer signals to the ground plane). But much above that frequency and those capacitors look more like a parasitic inductor. 500MHz signals will NOT go through a 100nF 0402 cap, that thing is practically an indicator by those frequencies. So it's not like power planes are easy to use.

The people who 'Need' a power plane are doing far more complex designs than the vast majority of board designers. And if they really need it, then they are using complex FEA simulations and calculations of PDNs that far exceed the scope of the level of advice in this topic.

replies(1): >>42887919 #
27. Viksand ◴[] No.42885732[source]
A bit related: we developed CapExt for extracting parasitic capacitances and resistances on PCBs and 3D models. It’s mainly for capacitive touch applications, but it could also help in cases like this, where copper pours and ground planes are in play.

If anyone’s curious, you can check it out here: capext.com

28. ◴[] No.42886783[source]
29. dragontamer ◴[] No.42887919{5}[source]
> EDIT: 10 Amp on 1oz according to first trace width calculator is supported by 20mm or 300 mil trace width. There's no reason to have a full power plane on amperage grounds.

I mixed up internal vs external trace width here.

700mil or 20mm internal trace.

300mil or 8mm external trace.