Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

77%
+5 −0
Q&A Ground pour on outer layers on 4-layer PCB

I would not do deliberate ground pours on a board like that. It's relatively small, and not exceptionally high frequency. I also wouldn't try to guess what effect or not it might have on the boar...

posted 11mo ago by Olin Lathrop‭  ·  edited 11mo ago by Olin Lathrop‭

Answer
#4: Post edited by user avatar Olin Lathrop‭ · 2023-06-29T22:03:56Z (11 months ago)
  • I would not do deliberate ground pours on a board like that. It's relatively small, and not exceptionally high frequency.
  • I also wouldn't try to guess what effect or not it might have on the board fab process. I've put similar microcontrollers on larger boards many times and not had any issues like warping, or the board house complaining that I made things difficult. If you're really worried about this, talk to your board house. You will probably find that they don't care as much as you think. The most costly thing for them is probably a large number of vias, with the board geometry otherwise held constant.
  • Even if the board warps slightly, how does that matter? You have a small board, so it will probably be held with four screws in the corners. It can't twist when held that way. Would it really matter if the center of the board was out of the mounting plane by a mm? That's quite a bit, but you'd probably not notice anyway.
  • You mention layer 3 is a power plane. If you've got only one power supply, then it's OK to dedicate a plane to power if it doesn't cause hardship in routing the remaining signals. However, power planes are overrated for "ordinary" boards like yours. The capacitance between the power and ground layers isn't enough to absolve you of using bypass caps. Since the bypass caps will be there at each point of use of the power, what exactly do you think the ground plane does for you? With a good ground plane and proper bypassing, there is little advantage to a power plane at your frequencies.
  • <blockquote>Every trace or pad that needs ground goes through a via to this layer.</blockquote>
  • That's bad. Your ground plane is now a center-fed patch antenna.
  • The ground plane is for solidly connecting the different parts of your circuit to the same ground potential. An uninterrupted ground plane also allows ground return currents to follow underneath the outgoing currents, thereby minimizing loop area.
  • However, the plane part does little useful for connecting the ground side of a bypass cap to the chip ground pin. A direct connection would be just as effective for bypassing purposes. But using a direct connection off the ground plane keeps the high frequency power currents generated by the chip off the ground plane, thereby not exciting the patch antenna.
  • Bypass caps should be directly connected and physically close to the chip power and ground pins. The high frequency power currents generated by the chip will run in this loop. You want to keep that loop small, and the currents away from everything else in the system. After connecting the bypass cap with its own deliberate traces, connect the bypass ground to the ground plane with <i>one single connection</i>. This is usually a via close to the ground pin. That still provides the solid ground reference to the chip, but keeps the nasty high frequency power currents locally contained.
  • <blockquote> I would argue that 500MHz and above would be the point where closely coupled power planes can begin to become as effective as high frequency capacitors at delivering power.</blockquote>
  • That's a reasonable point. At 500 MHz, a power plane close to the ground plane would start to have some positive effects. If it doesn't get in the way of routing other signals, then there is really no downside (although not a compelling upside either).
  • <blockquote>I'm not sure I understand your point about the ground plane being a center-fed patch antenna.</blockquote>
  • Think of how you would drive a patch antenna from circuitry on the patch. You'd run the driving RF across some piece of the patch.
  • Now consider what currents run across the ground plane when the bypass cap to a chip is connected to the chip ground pin by each having their own via to the ground plane. The chip is a high frequency current generator on its power feed. This current flows out the power pin, along some trace to the bypass cap, thru the cap, thru a via to the ground plane, across the ground plane, thru a via to the chip ground pin. The part of that loop where the current runs across the ground plane is basically the RF feed of the patch antenna you call a ground plane.
  • <blockquote>Do you mean that they should be connected to the ground pins directly using traces or local planes and connect all of it together to the internal ground plane?</blockquote>
  • A bypass cap should be connected to the power and ground pins of the chip it's bypassing with short and dedicated traces. The nasty high frequency current generated by the chip will flow over those traces. By making them dedicated traces, they can't flow anywhere else in the system.
  • Of course the chip still needs to be grounded. That should be done with a via to the ground plane close to the ground pin. The overall power return current will flow thru this via, and therefore across the ground plane to the power supply. However, the high frequency power current generated by the chip will stay local in the bypass cap loop and not flow across the ground plane. This keeps the ground cleaner and reduces RF power being fed to the patch antenna.
  • Another way to think of the same thing is that the bypass cap is the local shunt for the high frequency power currents generated by the chip. You want to keep those currents contained in a small loop, with little ability to go anywhere else in the system. With the ground net of that loop connected to the master ground in only one place, the bypass cap loop currents can't flow across the ground plane.
  • <blockquote> why you would not add a ground pour on top/bottom layers?</blockquote>
  • There are advantages and disadvantages. I would only do it if the advantages outweight the disadvantages. Disadvantages include:<ol>
  • <li>Can make routing harder.
  • <li>It's more to do, and therefore more opportunity to mess up.
  • <li>It takes engineering time, which is not free.
  • <li>The top and bottom ground-filled areas need to be regularly stitched to the real ground plane. If not, dangling ends can act like antennas and actually make things worse.
  • <li>Properly stitching a significant ground patch to the main ground plane requires a lot of vias. The number of vias goes with the area, not the linear dimension. These vias may add cost, can get in the way of good routing, and provide even more opportunity to make a mistake that requires a re-spin.
  • <li>For ordinary microcontrollers, there is little advantage. One full ground layer can be a significant help, but additional patches, especially on layer 1 when the ground plane is on layer 2, really don't do much for you.
  • </ol>
  • I would not do deliberate ground pours on a board like that. It's relatively small, and not exceptionally high frequency.
  • I also wouldn't try to guess what effect or not it might have on the board fab process. I've put similar microcontrollers on larger boards many times and not had any issues like warping, or the board house complaining that I made things difficult. If you're really worried about this, talk to your board house. You will probably find that they don't care as much as you think. The most costly thing for them is probably a large number of vias, with the board geometry otherwise held constant.
  • Even if the board warps slightly, how does that matter? You have a small board, so it will probably be held with four screws in the corners. It can't twist when held that way. Would it really matter if the center of the board was out of the mounting plane by a mm? That's quite a bit, but you'd probably not notice anyway.
  • You mention layer 3 is a power plane. If you've got only one power supply, then it's OK to dedicate a plane to power if it doesn't cause hardship in routing the remaining signals. However, power planes are overrated for "ordinary" boards like yours. The capacitance between the power and ground layers isn't enough to absolve you of using bypass caps. Since the bypass caps will be there at each point of use of the power, what exactly do you think the power plane does for you? With a good ground plane and proper bypassing, there is little advantage to a power plane at your frequencies.
  • <blockquote>Every trace or pad that needs ground goes through a via to this layer.</blockquote>
  • That's bad. Your ground plane is now a center-fed patch antenna.
  • The ground plane is for solidly connecting the different parts of your circuit to the same ground potential. An uninterrupted ground plane also allows ground return currents to follow underneath the outgoing currents, thereby minimizing loop area.
  • However, the plane part does little useful for connecting the ground side of a bypass cap to the chip ground pin. A direct connection would be just as effective for bypassing purposes. But using a direct connection off the ground plane keeps the high frequency power currents generated by the chip off the ground plane, thereby not exciting the patch antenna.
  • Bypass caps should be directly connected and physically close to the chip power and ground pins. The high frequency power currents generated by the chip will run in this loop. You want to keep that loop small, and the currents away from everything else in the system. After connecting the bypass cap with its own deliberate traces, connect the bypass ground to the ground plane with <i>one single connection</i>. This is usually a via close to the ground pin. That still provides the solid ground reference to the chip, but keeps the nasty high frequency power currents locally contained.
  • <blockquote> I would argue that 500MHz and above would be the point where closely coupled power planes can begin to become as effective as high frequency capacitors at delivering power.</blockquote>
  • That's a reasonable point. At 500 MHz, a power plane close to the ground plane would start to have some positive effects. If it doesn't get in the way of routing other signals, then there is really no downside (although not a compelling upside either).
  • <blockquote>I'm not sure I understand your point about the ground plane being a center-fed patch antenna.</blockquote>
  • Think of how you would drive a patch antenna from circuitry on the patch. You'd run the driving RF across some piece of the patch.
  • Now consider what currents run across the ground plane when the bypass cap to a chip is connected to the chip ground pin by each having their own via to the ground plane. The chip is a high frequency current generator on its power feed. This current flows out the power pin, along some trace to the bypass cap, thru the cap, thru a via to the ground plane, across the ground plane, thru a via to the chip ground pin. The part of that loop where the current runs across the ground plane is basically the RF feed of the patch antenna you call a ground plane.
  • <blockquote>Do you mean that they should be connected to the ground pins directly using traces or local planes and connect all of it together to the internal ground plane?</blockquote>
  • A bypass cap should be connected to the power and ground pins of the chip it's bypassing with short and dedicated traces. The nasty high frequency current generated by the chip will flow over those traces. By making them dedicated traces, they can't flow anywhere else in the system.
  • Of course the chip still needs to be grounded. That should be done with a via to the ground plane close to the ground pin. The overall power return current will flow thru this via, and therefore across the ground plane to the power supply. However, the high frequency power current generated by the chip will stay local in the bypass cap loop and not flow across the ground plane. This keeps the ground cleaner and reduces RF power being fed to the patch antenna.
  • Another way to think of the same thing is that the bypass cap is the local shunt for the high frequency power currents generated by the chip. You want to keep those currents contained in a small loop, with little ability to go anywhere else in the system. With the ground net of that loop connected to the master ground in only one place, the bypass cap loop currents can't flow across the ground plane.
  • <blockquote> why you would not add a ground pour on top/bottom layers?</blockquote>
  • There are advantages and disadvantages. I would only do it if the advantages outweight the disadvantages. Disadvantages include:<ol>
  • <li>Can make routing harder.
  • <li>It's more to do, and therefore more opportunity to mess up.
  • <li>It takes engineering time, which is not free.
  • <li>The top and bottom ground-filled areas need to be regularly stitched to the real ground plane. If not, dangling ends can act like antennas and actually make things worse.
  • <li>Properly stitching a significant ground patch to the main ground plane requires a lot of vias. The number of vias goes with the area, not the linear dimension. These vias may add cost, can get in the way of good routing, and provide even more opportunity to make a mistake that requires a re-spin.
  • <li>For ordinary microcontrollers, there is little advantage. One full ground layer can be a significant help, but additional patches, especially on layer 1 when the ground plane is on layer 2, really don't do much for you.
  • </ol>
#3: Post edited by user avatar Olin Lathrop‭ · 2023-06-29T21:57:15Z (11 months ago)
  • I would not do deliberate ground pours on a board like that. It's relatively small, and not exceptionally high frequency.
  • I also wouldn't try to guess what effect or not it might have on the board fab process. I've put similar microcontrollers on larger boards many times and not had any issues like warping, or the board house complaining that I made things difficult. If you're really worried about this, talk to your board house. You will probably find that they don't care as much as you think. The most costly thing for them is probably a large number of vias, with the board geometry otherwise held constant.
  • Even if the board warps slightly, how does that matter? You have a small board, so it will probably be held with four screws in the corners. It can't twist when held that way. Would it really matter if the center of the board was out of the mounting plane by a mm? That's quite a bit, but you'd probably not notice anyway.
  • You mention layer 3 is a power plane. If you've got only one power supply, then it's OK to dedicate a plane to power if it doesn't cause hardship in routing the remaining signals. However, power planes are overrated for "ordinary" boards like yours. The capacitance between the power and ground layers isn't enough to absolve you of using bypass caps. Since the bypass caps will be there at each point of use of the power, what exactly do you think the ground plane does for you? With a good ground plane and proper bypassing, there is little advantage to a power plane at your frequencies.
  • <blockquote>Every trace or pad that needs ground goes through a via to this layer.</blockquote>
  • That's bad. Your ground plane is now a center-fed patch antenna.
  • The ground plane is for solidly connecting the different parts of your circuit to the same ground potential. An uninterrupted ground plane also allows ground return currents to follow underneath the outgoing currents, thereby minimizing loop area.
  • However, the plane part does little useful for connecting the ground side of a bypass cap to the chip ground pin. A direct connection would be just as effective for bypassing purposes. But using a direct connection off the ground plane keeps the high frequency power currents generated by the chip off the ground plane, thereby not exciting the patch antenna.
  • Bypass caps should be directly connected and physically close to the chip power and ground pins. The high frequency power currents generated by the chip will run in this loop. You want to keep that loop small, and the currents away from everything else in the system. After connecting the bypass cap with its own deliberate traces, connect the bypass ground to the ground plane with <i>one single connection</i>. This is usually a via close to the ground pin. That still provides the solid ground reference to the chip, but keeps the nasty high frequency power currents locally contained.
  • <blockquote> I would argue that 500MHz and above would be the point where closely coupled power planes can begin to become as effective as high frequency capacitors at delivering power.</blockquote>
  • That's a reasonable point. At 500 MHz, a power plane close to the ground plane would start to have some positive effects. If it doesn't get in the way of routing other signals, then there is really no downside (although not a compelling upside either).
  • <blockquote>I'm not sure I understand your point about the ground plane being a center-fed patch antenna.</blockquote>
  • Think of how you would drive a patch antenna from circuitry on the patch. You'd run the driving RF across some piece of the patch.
  • Now consider what currents run across the ground plane when the bypass cap to a chip is connected to the chip ground pin by each having their own via to the ground plane. The chip is a high frequency current generator on its power feed. This current flows out the power pin, along some trace to the bypass cap, thru the cap, thru a via to the ground plane, across the ground plane, thru a via to the chip ground pin. The part of that loop where the current runs across the ground plane is basically the RF feed of the patch antenna you call a ground plane.
  • <blockquote>Do you mean that they should be connected to the ground pins directly using traces or local planes and connect all of it together to the internal ground plane?</blockquote>
  • A bypass cap should be connected to the power and ground pins of the chip it's bypassing with short and dedicated traces. The nasty high frequency current generated by the chip will flow over those traces. By making them dedicated traces, they can't flow anywhere else in the system.
  • Of course the chip still needs to be grounded. That should be done with a via to the ground plane close to the ground pin. The overall power return current will flow thru this via, and therefore across the ground plane to the power supply. However, the high frequency power current generated by the chip will stay local in the bypass cap loop and not flow across the ground plane. This keeps the ground cleaner and reduces RF power being fed to the patch antenna.
  • Another way to think of the same thing is that the bypass cap is the local shunt for the high frequency power currents generated by the chip. You want to keep those currents contained in a small loop, with little ability to go anywhere else in the system. With the ground net of that loop connected to the master ground in only one place, the bypass cap loop currents can't flow across the ground plane.
  • I would not do deliberate ground pours on a board like that. It's relatively small, and not exceptionally high frequency.
  • I also wouldn't try to guess what effect or not it might have on the board fab process. I've put similar microcontrollers on larger boards many times and not had any issues like warping, or the board house complaining that I made things difficult. If you're really worried about this, talk to your board house. You will probably find that they don't care as much as you think. The most costly thing for them is probably a large number of vias, with the board geometry otherwise held constant.
  • Even if the board warps slightly, how does that matter? You have a small board, so it will probably be held with four screws in the corners. It can't twist when held that way. Would it really matter if the center of the board was out of the mounting plane by a mm? That's quite a bit, but you'd probably not notice anyway.
  • You mention layer 3 is a power plane. If you've got only one power supply, then it's OK to dedicate a plane to power if it doesn't cause hardship in routing the remaining signals. However, power planes are overrated for "ordinary" boards like yours. The capacitance between the power and ground layers isn't enough to absolve you of using bypass caps. Since the bypass caps will be there at each point of use of the power, what exactly do you think the ground plane does for you? With a good ground plane and proper bypassing, there is little advantage to a power plane at your frequencies.
  • <blockquote>Every trace or pad that needs ground goes through a via to this layer.</blockquote>
  • That's bad. Your ground plane is now a center-fed patch antenna.
  • The ground plane is for solidly connecting the different parts of your circuit to the same ground potential. An uninterrupted ground plane also allows ground return currents to follow underneath the outgoing currents, thereby minimizing loop area.
  • However, the plane part does little useful for connecting the ground side of a bypass cap to the chip ground pin. A direct connection would be just as effective for bypassing purposes. But using a direct connection off the ground plane keeps the high frequency power currents generated by the chip off the ground plane, thereby not exciting the patch antenna.
  • Bypass caps should be directly connected and physically close to the chip power and ground pins. The high frequency power currents generated by the chip will run in this loop. You want to keep that loop small, and the currents away from everything else in the system. After connecting the bypass cap with its own deliberate traces, connect the bypass ground to the ground plane with <i>one single connection</i>. This is usually a via close to the ground pin. That still provides the solid ground reference to the chip, but keeps the nasty high frequency power currents locally contained.
  • <blockquote> I would argue that 500MHz and above would be the point where closely coupled power planes can begin to become as effective as high frequency capacitors at delivering power.</blockquote>
  • That's a reasonable point. At 500 MHz, a power plane close to the ground plane would start to have some positive effects. If it doesn't get in the way of routing other signals, then there is really no downside (although not a compelling upside either).
  • <blockquote>I'm not sure I understand your point about the ground plane being a center-fed patch antenna.</blockquote>
  • Think of how you would drive a patch antenna from circuitry on the patch. You'd run the driving RF across some piece of the patch.
  • Now consider what currents run across the ground plane when the bypass cap to a chip is connected to the chip ground pin by each having their own via to the ground plane. The chip is a high frequency current generator on its power feed. This current flows out the power pin, along some trace to the bypass cap, thru the cap, thru a via to the ground plane, across the ground plane, thru a via to the chip ground pin. The part of that loop where the current runs across the ground plane is basically the RF feed of the patch antenna you call a ground plane.
  • <blockquote>Do you mean that they should be connected to the ground pins directly using traces or local planes and connect all of it together to the internal ground plane?</blockquote>
  • A bypass cap should be connected to the power and ground pins of the chip it's bypassing with short and dedicated traces. The nasty high frequency current generated by the chip will flow over those traces. By making them dedicated traces, they can't flow anywhere else in the system.
  • Of course the chip still needs to be grounded. That should be done with a via to the ground plane close to the ground pin. The overall power return current will flow thru this via, and therefore across the ground plane to the power supply. However, the high frequency power current generated by the chip will stay local in the bypass cap loop and not flow across the ground plane. This keeps the ground cleaner and reduces RF power being fed to the patch antenna.
  • Another way to think of the same thing is that the bypass cap is the local shunt for the high frequency power currents generated by the chip. You want to keep those currents contained in a small loop, with little ability to go anywhere else in the system. With the ground net of that loop connected to the master ground in only one place, the bypass cap loop currents can't flow across the ground plane.
  • <blockquote> why you would not add a ground pour on top/bottom layers?</blockquote>
  • There are advantages and disadvantages. I would only do it if the advantages outweight the disadvantages. Disadvantages include:<ol>
  • <li>Can make routing harder.
  • <li>It's more to do, and therefore more opportunity to mess up.
  • <li>It takes engineering time, which is not free.
  • <li>The top and bottom ground-filled areas need to be regularly stitched to the real ground plane. If not, dangling ends can act like antennas and actually make things worse.
  • <li>Properly stitching a significant ground patch to the main ground plane requires a lot of vias. The number of vias goes with the area, not the linear dimension. These vias may add cost, can get in the way of good routing, and provide even more opportunity to make a mistake that requires a re-spin.
  • <li>For ordinary microcontrollers, there is little advantage. One full ground layer can be a significant help, but additional patches, especially on layer 1 when the ground plane is on layer 2, really don't do much for you.
  • </ol>
#2: Post edited by user avatar Olin Lathrop‭ · 2023-06-29T16:11:04Z (11 months ago)
  • I would not do deliberate ground pours on a board like that. It's relatively small, and not exceptionally high frequency.
  • I also wouldn't try to guess what effect or not it might have on the board fab process. I've put similar microcontrollers on larger boards many times and not had any issues like warping, or the board house complaining that I made things difficult. If you're really worried about this, talk to your board house. You will probably find that they don't care as much as you think. The most costly thing for them is probably a large number of vias, with the board geometry otherwise held constant.
  • Even if the board warps slightly, how does that matter? You have a small board, so it will probably be held with four screws in the corners. It can't twist when held that way. Would it really matter if the center of the board was out of the mounting plane by a mm? That's quite a bit, but you'd probably not notice anyway.
  • You mention layer 3 is a power plane. If you've got only one power supply, then it's OK to dedicate a plane to power if it doesn't cause hardship in routing the remaining signals. However, power planes are overrated for "ordinary" boards like yours. The capacitance between the power and ground layers isn't enough to absolve you of using bypass caps. Since the bypass caps will be there at each point of use of the power, what exactly do you think the ground plane does for you? With a good ground plane and proper bypassing, there is little advantage to a power plane at your frequencies.
  • <blockquote>Every trace or pad that needs ground goes through a via to this layer.</blockquote>
  • That's bad. Your ground plane is now a center-fed patch antenna.
  • The ground plane is for solidly connecting the different parts of your circuit to the same ground potential. An uninterrupted ground plane also allows ground return currents to follow underneath the outgoing currents, thereby minimizing loop area.
  • However, the plane part does little useful for connecting the ground side of a bypass cap to the chip ground pin. A direct connection would be just as effective for bypassing purposes. But using a direct connection off the ground plane keeps the high frequency power currents generated by the chip off the ground plane, thereby not exciting the patch antenna.
  • Bypass caps should be directly connected and physically close to the chip power and ground pins. The high frequency power currents generated by the chip will run in this loop. You want to keep that loop small, and the currents away from everything else in the system. After connecting the bypass cap with its own deliberate traces, connect the bypass ground to the ground plane with <i>one single connection</i>. This is usually a via close to the ground pin. That still provides the solid ground reference to the chip, but keeps the nasty high frequency power currents locally contained.
  • I would not do deliberate ground pours on a board like that. It's relatively small, and not exceptionally high frequency.
  • I also wouldn't try to guess what effect or not it might have on the board fab process. I've put similar microcontrollers on larger boards many times and not had any issues like warping, or the board house complaining that I made things difficult. If you're really worried about this, talk to your board house. You will probably find that they don't care as much as you think. The most costly thing for them is probably a large number of vias, with the board geometry otherwise held constant.
  • Even if the board warps slightly, how does that matter? You have a small board, so it will probably be held with four screws in the corners. It can't twist when held that way. Would it really matter if the center of the board was out of the mounting plane by a mm? That's quite a bit, but you'd probably not notice anyway.
  • You mention layer 3 is a power plane. If you've got only one power supply, then it's OK to dedicate a plane to power if it doesn't cause hardship in routing the remaining signals. However, power planes are overrated for "ordinary" boards like yours. The capacitance between the power and ground layers isn't enough to absolve you of using bypass caps. Since the bypass caps will be there at each point of use of the power, what exactly do you think the ground plane does for you? With a good ground plane and proper bypassing, there is little advantage to a power plane at your frequencies.
  • <blockquote>Every trace or pad that needs ground goes through a via to this layer.</blockquote>
  • That's bad. Your ground plane is now a center-fed patch antenna.
  • The ground plane is for solidly connecting the different parts of your circuit to the same ground potential. An uninterrupted ground plane also allows ground return currents to follow underneath the outgoing currents, thereby minimizing loop area.
  • However, the plane part does little useful for connecting the ground side of a bypass cap to the chip ground pin. A direct connection would be just as effective for bypassing purposes. But using a direct connection off the ground plane keeps the high frequency power currents generated by the chip off the ground plane, thereby not exciting the patch antenna.
  • Bypass caps should be directly connected and physically close to the chip power and ground pins. The high frequency power currents generated by the chip will run in this loop. You want to keep that loop small, and the currents away from everything else in the system. After connecting the bypass cap with its own deliberate traces, connect the bypass ground to the ground plane with <i>one single connection</i>. This is usually a via close to the ground pin. That still provides the solid ground reference to the chip, but keeps the nasty high frequency power currents locally contained.
  • <blockquote> I would argue that 500MHz and above would be the point where closely coupled power planes can begin to become as effective as high frequency capacitors at delivering power.</blockquote>
  • That's a reasonable point. At 500 MHz, a power plane close to the ground plane would start to have some positive effects. If it doesn't get in the way of routing other signals, then there is really no downside (although not a compelling upside either).
  • <blockquote>I'm not sure I understand your point about the ground plane being a center-fed patch antenna.</blockquote>
  • Think of how you would drive a patch antenna from circuitry on the patch. You'd run the driving RF across some piece of the patch.
  • Now consider what currents run across the ground plane when the bypass cap to a chip is connected to the chip ground pin by each having their own via to the ground plane. The chip is a high frequency current generator on its power feed. This current flows out the power pin, along some trace to the bypass cap, thru the cap, thru a via to the ground plane, across the ground plane, thru a via to the chip ground pin. The part of that loop where the current runs across the ground plane is basically the RF feed of the patch antenna you call a ground plane.
  • <blockquote>Do you mean that they should be connected to the ground pins directly using traces or local planes and connect all of it together to the internal ground plane?</blockquote>
  • A bypass cap should be connected to the power and ground pins of the chip it's bypassing with short and dedicated traces. The nasty high frequency current generated by the chip will flow over those traces. By making them dedicated traces, they can't flow anywhere else in the system.
  • Of course the chip still needs to be grounded. That should be done with a via to the ground plane close to the ground pin. The overall power return current will flow thru this via, and therefore across the ground plane to the power supply. However, the high frequency power current generated by the chip will stay local in the bypass cap loop and not flow across the ground plane. This keeps the ground cleaner and reduces RF power being fed to the patch antenna.
  • Another way to think of the same thing is that the bypass cap is the local shunt for the high frequency power currents generated by the chip. You want to keep those currents contained in a small loop, with little ability to go anywhere else in the system. With the ground net of that loop connected to the master ground in only one place, the bypass cap loop currents can't flow across the ground plane.
#1: Initial revision by user avatar Olin Lathrop‭ · 2023-06-29T13:17:27Z (11 months ago)
I would not do deliberate ground pours on a board like that.  It's relatively small, and not exceptionally high frequency.

I also wouldn't try to guess what effect or not it might have on the board fab process.  I've put similar microcontrollers on larger boards many times and not had any issues like warping, or the board house complaining that I made things difficult.  If you're really worried about this, talk to your board house.  You will probably find that they don't care as much as you think.  The most costly thing for them is probably a large number of vias, with the board geometry otherwise held constant.

Even if the board warps slightly, how does that matter?  You have a small board, so it will probably be held with four screws in the corners.  It can't twist when held that way.  Would it really matter if the center of the board was out of the mounting plane by a mm?  That's quite a bit, but you'd probably not notice anyway.

You mention layer 3 is a power plane.  If you've got only one power supply, then it's OK to dedicate a plane to power if it doesn't cause hardship in routing the remaining signals.  However, power planes are overrated for "ordinary" boards like yours.  The capacitance between the power and ground layers isn't enough to absolve you of using bypass caps.  Since the bypass caps will be there at each point of use of the power, what exactly do you think the ground plane does for you?  With a good ground plane and proper bypassing, there is little advantage to a power plane at your frequencies.

<blockquote>Every trace or pad that needs ground goes through a via to this layer.</blockquote>

That's bad.  Your ground plane is now a center-fed patch antenna.

The ground plane is for solidly connecting the different parts of your circuit to the same ground potential.  An uninterrupted ground plane also allows ground return currents to follow underneath the outgoing currents, thereby minimizing loop area.

However, the plane part does little useful for connecting the ground side of a bypass cap to the chip ground pin.  A direct connection would be just as effective for bypassing purposes.  But using a direct connection off the ground plane keeps the high frequency power currents generated by the chip off the ground plane, thereby not exciting the patch antenna.

Bypass caps should be directly connected and physically close to the chip power and ground pins.  The high frequency power currents generated by the chip will run in this loop.  You want to keep that loop small, and the currents away from everything else in the system.  After connecting the bypass cap with its own deliberate traces, connect the bypass ground to the ground plane with <i>one single connection</i>.  This is usually a via close to the ground pin.  That still provides the solid ground reference to the chip, but keeps the nasty high frequency power currents locally contained.