PCB Stackup Design
The PCB stackup is the foundation of every high-speed and EMC-compliant design. It determines impedance control, return current quality, crosstalk isolation, and radiated emissions performance. A poor stackup cannot be compensated for by clever routing; it must be correct from the start.
Why Stackup Matters
The stackup directly affects the following critical parameters:
- Impedance Control - Trace width-to-dielectric height ratio sets characteristic impedance
- Return Current Quality - Adjacent planes provide low-inductance return paths
- Crosstalk Isolation - Tightly coupled signal-plane pairs reduce far-end crosstalk
- EMI Performance - Plane pairs act as bypass capacitors; broken returns radiate
- Power Integrity - Closely spaced power-ground pairs lower PDN impedance
- Manufacturability - Symmetric stackups prevent warping during lamination
Common Stackup Configurations
| Layer Count | Typical Assignment | Application | EMC Rating |
|---|---|---|---|
| 4 | SIG-GND-PWR-SIG | Simple MCU boards, IoT | Fair |
| 6 | SIG-GND-SIG-SIG-PWR-SIG | Mid-speed digital, DDR3 | Good |
| 8 | SIG-GND-SIG-GND-PWR-SIG-GND-SIG | DDR4, SerDes up to 8 Gbps | Very Good |
| 10 | SIG-GND-SIG-GND-PWR-GND-SIG-GND-SIG-GND | High-speed networking | Excellent |
| 12+ | Multiple SIG-GND pairs with embedded PWR | Server, FPGA, 25+ Gbps SerDes | Excellent |
4-Layer Stackup Guidelines
The 4-layer board is the minimum for any design requiring controlled impedance. The preferred arrangement is:
Layer 2: Ground Plane (continuous, unbroken)
Layer 3: Power Plane (continuous, decoupled to L2)
Layer 4: Signal (microstrip, referenced to L3 PWR)
Interactive Stackup Designer
Use this tool to build and visualize a PCB stackup. Add or remove layers, assign types, set thicknesses, and see the total board height update in real time.
Stackup Builder
Controlled Impedance
Controlled impedance is the practice of designing PCB traces so that their characteristic impedance matches the system impedance (commonly 50 ohm single-ended or 100 ohm differential). This requires precise relationships between trace width, dielectric thickness, dielectric constant, and copper thickness.
Microstrip Geometry
A microstrip is a trace on an outer layer of the PCB, referenced to a plane on the adjacent inner layer. It is partially embedded in the dielectric substrate and partially exposed to air.
Z0 = (87 / sqrt(er + 1.41)) * ln(5.98 * H / (0.8 * W + T))
Where:
Z0 = characteristic impedance (ohm)
er = relative dielectric constant
H = dielectric height (mil)
W = trace width (mil)
T = trace thickness (mil)
Stripline Geometry
A stripline is a trace on an inner layer, sandwiched between two reference planes. It is fully embedded in the dielectric and offers better shielding and lower radiation than microstrip.
Z0 = (60 / sqrt(er)) * ln(1.9 * B / (0.8 * W + T))
Where:
B = distance between the two reference planes (mil)
(Trace is centered: H1 = H2 = (B - T) / 2)
Interactive Impedance Calculator
Microstrip Impedance Calculator
Common Impedance Targets
| Interface | Single-Ended (ohm) | Differential (ohm) | Tolerance |
|---|---|---|---|
| USB 2.0 | - | 90 | +/- 10% |
| USB 3.x | - | 90 | +/- 7% |
| PCIe Gen 3/4/5 | - | 85 | +/- 10% |
| DDR4 | 40 | 80 | +/- 10% |
| DDR5 | 40 | 80 | +/- 10% |
| HDMI 2.1 | - | 100 | +/- 10% |
| Ethernet (1G/10G) | - | 100 | +/- 10% |
| General RF / 50 ohm | 50 | 100 | +/- 5% |
Return Current Paths
Every signal current has a return current. Understanding where return currents flow is arguably the single most important concept in PCB EMC design. The path of the return current depends on frequency.
Low Frequency vs. High Frequency Behavior
High Frequency (> ~1 MHz)
Return current flows directly under the signal trace on the adjacent reference plane. The current takes the path of least inductance, which is the path that minimizes loop area. This is the desired behavior.
- Minimal loop area
- Low radiation
- Predictable impedance
Low Frequency (< ~1 kHz)
Return current spreads out across the entire plane, following the path of least resistance. The current distributes broadly, creating a larger effective loop area.
- Broader current spread
- Larger loop area
- Still manageable with proper design
Return Current Under a Trace (High Frequency)
The following animation illustrates how at high frequencies, return current flows directly under the signal trace in the adjacent reference plane, creating a tightly coupled transmission line:
Plane Discontinuity Problem
When a signal trace crosses a gap, slot, or split in its reference plane, the return current must detour around the discontinuity. This creates a large loop area that radiates like an antenna.
- Never route high-speed signals over plane splits or gaps
- When changing reference planes (layer transition), place stitching vias near the signal via to provide return current continuity
- Keep reference planes as continuous as possible; avoid unnecessary splits
- If a split is required (e.g., analog/digital), bridge it with stitching capacitors for AC return current
Reference Plane Transitions
When a signal via transitions from one layer to another, the return current must also change planes. Without stitching vias nearby, the return current must find an alternate (longer) path.
Grounding Strategies
Grounding is the most debated and most misunderstood topic in EMC. The right strategy depends on the frequency range, circuit type, and system architecture.
Single-Point vs. Multi-Point Grounding
Multi-Point Grounding
Best for high-frequency circuits (above ~1 MHz). Each subsystem connects to the ground plane at its nearest point. This minimizes connection inductance.
- Low impedance at high frequencies
- Short ground connections
- Used in digital systems, RF, high-speed analog
- Relies on solid ground plane
Single-Point Grounding
Best for low-frequency circuits (below ~1 MHz). All ground returns are routed to a single star point to prevent ground loop currents.
- Eliminates ground loops
- Long ground leads = high inductance
- Used in audio, instrumentation, power supplies
- Impractical above a few MHz
Star Ground Topology
A star ground provides a single common connection point for multiple circuit sections. It is effective for mixed-signal designs where analog and digital ground currents must not share paths.
1. Each major circuit block (analog, digital, power) has its own ground return
2. All returns converge at a single star point near the power supply
3. No current from one block flows through another block's ground path
4. Star point is typically at the main power supply ground terminal
Ground Plane Splits
Ground plane splits are sometimes used to isolate sensitive circuits, but they are dangerous if not handled properly. A split plane forces return currents to find alternate paths, which can dramatically increase EMI.
- Rarely. A continuous ground plane is almost always better.
- If you must split, ensure NO traces cross the split boundary
- Bridge the split with a ferrite bead or 0-ohm resistor at a single point for DC connectivity
- Use stitching capacitors (100 nF) across the split for AC connectivity
- Consider using separate boards connected at one point instead
Grounding Decision Matrix
| Circuit Type | Frequency Range | Recommended Strategy | Notes |
|---|---|---|---|
| Audio / Instrumentation | DC - 100 kHz | Single-point (star) | Minimize ground loops |
| Mixed-Signal (ADC/DAC) | DC - 10 MHz | Unified plane, partitioned | No split under converter |
| Digital Logic | 1 MHz - 1 GHz | Multi-point (plane) | Solid, continuous plane |
| RF / Microwave | 100 MHz - 40 GHz | Multi-point (plane) | Via fences, cavity control |
| Power Electronics | DC - 30 MHz | Star + plane hybrid | Keep power loops tight |
| High-Speed SerDes | 1 GHz - 30 GHz | Multi-point (plane) | Continuous reference critical |
Chassis Grounding
The PCB ground plane must connect to the chassis (enclosure) ground for EMC compliance. This connection provides a path for common-mode currents to flow to the enclosure rather than radiating.
- Connect PCB GND to chassis at multiple points around the board perimeter
- Use wide, low-inductance connections (not thin wires)
- Mount standoffs with direct metal-to-metal contact to ground plane
- For I/O connectors: ground to chassis at the connector entry point
Component Placement Strategy
Component placement is the second most critical step in PCB design (after stackup). Good placement makes routing easier, reduces EMI, and improves signal integrity. Poor placement cannot be fixed by clever routing.
Decoupling Capacitor Placement
Good: Caps Adjacent to IC Pins
- Decoupling caps placed within 50 mil of power pins
- Vias from cap pads directly to power/ground planes
- Multiple cap values for broadband decoupling (100 nF + 10 nF + 1 nF)
- Caps on the same side of the board as the IC (shortest loop)
Bad: Caps Far from IC
- Caps placed inches away from power pins
- Long traces connecting caps to IC (adding inductance)
- Only one cap value used for all frequencies
- Caps on opposite side with no nearby vias
L_via ~ 1 nH per 25 mil of via length
L_trace ~ 1 nH per 40 mil of trace (for 10 mil wide trace)
At 100 MHz: X_L = 2 * pi * f * L = 2 * pi * 100e6 * 2e-9 = 1.26 ohm
Even 2 nH of parasitic inductance limits capacitor effectiveness above ~50 MHz
Clock Source Placement
Clock sources (oscillators, PLLs, clock buffers) are the primary sources of radiated emissions. They must be placed with care.
- Place clock sources near their loads to minimize trace length
- Keep clock traces away from board edges (at least 3x trace width from edge)
- Route clock traces on inner layers (stripline) when possible for shielding
- Surround clock oscillator cans with ground vias to reduce radiation
- Isolate clock regions from sensitive analog circuits
Connector Placement
Good: Connectors on Board Edge
- I/O connectors placed along one or two edges
- Filter components (ferrites, caps, TVS) placed between connector and IC
- Ground pins connected directly to ground plane
- Consistent reference plane under connector area
Bad: Scattered Connectors
- Connectors randomly placed across the board
- No filter components between connector and main circuits
- Ground pins connected via long traces
- Signals must cross board to reach connectors
General Placement Rules
| Rule | Reason | Priority |
|---|---|---|
| Place ICs to minimize critical trace lengths | Shorter traces = less inductance, crosstalk, delay | Critical |
| Group related components together | Reduces routing complexity and loop areas | Critical |
| Keep analog and digital sections separated | Prevents digital noise coupling into analog | High |
| Place decoupling caps before routing | Ensures optimal cap-to-pin distance | Critical |
| Orient ICs for clean pin escape routing | Avoids routing congestion and crossovers | Medium |
| Reserve keep-out zones around sensitive components | Prevents coupling from nearby aggressor signals | Medium |
| Place test points away from sensitive nets | Test point stubs can cause reflections and coupling | Low |
High-Speed Routing Techniques
High-speed routing is where signal integrity theory meets physical implementation. Every routing decision affects impedance, timing, crosstalk, and EMI.
Length Matching
Many high-speed interfaces (DDR, parallel buses) require signals within a group to arrive at the receiver at the same time. This requires matching the electrical lengths of all traces in the group.
DDR4 Data Group: +/- 5 mil within byte lane
DDR4 Address/Command: +/- 25 mil within group
DDR4 Clock to Strobe: matched +/- 5 mil
Propagation delay: ~150 ps/inch (outer layer) to ~170 ps/inch (inner layer FR-4)
Serpentine (Meander) Routing
Serpentine traces are used to add length to shorter traces for matching. However, they must be designed carefully to avoid self-coupling.
- Meander spacing (S) should be at least 3x the trace width to avoid self-coupling
- Use gradual 45-degree or arc bends, not 90-degree corners
- Place serpentine near the source end for setup time optimization
- Keep meanders away from other signal traces to prevent crosstalk
BGA Breakout Routing
Ball Grid Array (BGA) packages require careful escape routing due to the dense pin grid. The breakout strategy depends on ball pitch and layer count.
| Ball Pitch | Trace/Space | Via Type | Breakout Strategy |
|---|---|---|---|
| 1.27 mm | 5/5 mil | Through-hole | Dog-bone via between pads, route on inner layers |
| 1.0 mm | 4/4 mil | Through-hole or microvia | Dog-bone with neck-down, 2 traces between pads |
| 0.8 mm | 3.5/3.5 mil | Microvia (via-in-pad) | Via-in-pad, 1 trace between pads |
| 0.65 mm | 3/3 mil | Microvia (via-in-pad) | Via-in-pad required, HDI stackup |
| 0.5 mm | 2.5/2.5 mil | Stacked microvia | Via-in-pad, multi-level HDI |
Via Transitions
When a trace transitions from one layer to another through a via, the change in geometry creates an impedance discontinuity. Minimize the impact with these techniques:
- Use the smallest practical via size to reduce capacitive loading
- Place ground return vias adjacent to signal vias when changing reference planes
- Use back-drilled vias to eliminate stubs on through-hole vias (see Via Discontinuities section)
- Use pad and antipad sizes optimized for impedance (larger antipad = less capacitance)
General High-Speed Routing Rules
| Rule | Guideline |
|---|---|
| Avoid 90-degree corners | Use 45-degree miters or arcs (90-degree corners cause ~2% impedance change) |
| 3W rule for spacing | Keep center-to-center spacing at 3x trace width to reduce crosstalk to <5% |
| Minimize layer transitions | Each via adds ~0.5-1.5 nH inductance and capacitive discontinuity |
| Route over continuous planes | Never route high-speed signals over plane splits or voids |
| Keep traces away from edges | Minimum 3x line width from board edge or plane edge |
| Minimize stub length | Unterminated stubs > lambda/10 cause resonances |
| Match trace impedance | Maintain consistent width; taper gradually if width must change |
Differential Pair Design
Differential signaling is the dominant method for high-speed data transfer (USB, PCIe, HDMI, Ethernet, SATA). It provides superior noise immunity, lower EMI, and enables higher data rates than single-ended signaling.
Edge-Coupled vs. Broadside-Coupled
Edge-Coupled (Preferred)
Both traces are on the same layer, side by side. This is the most common configuration and easiest to manufacture with tight tolerances.
- Both traces on same layer
- Easier impedance control
- Better for routing flexibility
- Standard fabrication process
Broadside-Coupled
Traces are on adjacent layers, one directly above the other. Used when routing space is extremely limited.
- Traces on different layers
- Harder to control impedance
- Different propagation speeds per trace
- Skew due to different effective er
Edge-Coupled Microstrip Cross-Section
Zdiff = 2 * Z0 * (1 - 0.48 * exp(-0.96 * S / H))
Where:
Z0 = single-ended impedance of one trace
S = edge-to-edge gap between traces
H = dielectric height to reference plane
Note: As S increases, Zdiff approaches 2 * Z0 (loosely coupled)
Differential Pair Routing Rules
| Rule | Requirement | Reason |
|---|---|---|
| Maintain constant spacing | Gap variation < 10% | Impedance control |
| Route as a pair | Both traces always together | Common-mode rejection |
| Minimize intra-pair skew | < 5 mil for most protocols | Prevents mode conversion (diff to common) |
| Symmetric via transitions | Both traces transition at same location | Maintains balance |
| Avoid splitting the pair | Never route D+/D- on different layers | Destroys coupling and increases skew |
| Length match within pair | Per protocol spec (typically < 5 mil) | Timing integrity |
| Avoid routing near single-ended traces | 3W from pair edge to other traces | Crosstalk immunity |
Skew and Mode Conversion
When the two traces of a differential pair have different lengths (skew), part of the differential signal converts to common-mode noise. Common-mode signals radiate much more efficiently than differential signals.
Vcm = Vdiff * (pi * f * delta_t)
Where:
delta_t = skew (time difference between D+ and D-)
f = signal frequency
Vdiff = differential signal amplitude
Example: 1V differential, 5 ps skew, 5 GHz:
Vcm = 1 * pi * 5e9 * 5e-12 = 78.5 mV common-mode noise
Via Discontinuities
Vias are necessary for layer transitions but introduce parasitic inductance, capacitance, and potentially resonant stubs. At high data rates (10+ Gbps), via design becomes a critical performance factor.
Via Equivalent Circuit
A through-hole via can be modeled as a series inductance with shunt capacitance to the reference planes it passes through:
L_via = (5.08 * h) * [ln(4 * h / d) + 1] nH
Where:
h = via length in inches
d = via drill diameter in inches
Typical values:
Standard via (10 mil drill, 62 mil board): L ~ 0.8-1.2 nH
Short via (10 mil drill, 10 mil travel): L ~ 0.1-0.2 nH
C_via = (1.41 * er * T * D) / (D_antipad - D_pad) pF
Where:
er = dielectric constant
T = thickness of plane copper layer (inches)
D = via pad diameter (inches)
D_antipad = antipad (clearance hole) diameter (inches)
D_pad = via pad diameter (inches)
Typical values: 0.3 - 0.8 pF per plane layer
Via Stub Effect
When a signal enters a through-hole via on one layer and exits on another, the remaining via barrel beyond the exit layer acts as an unterminated stub. This stub creates a resonance that causes signal attenuation at the quarter-wave frequency.
f_res = c / (4 * L_stub * sqrt(er))
Where:
c = speed of light (11.8 inches/ns)
L_stub = stub length
er = effective dielectric constant
Example: 40 mil stub in FR-4 (er = 4.0):
f_res = 11.8e9 / (4 * 0.040 * 2.0) = 36.9 GHz
But the stub also causes significant attenuation at f_res/3, f_res/5, etc.
Back-Drilling
Back-drilling (also called controlled-depth drilling) mechanically removes the unused stub portion of a through-hole via. This is the most common technique for eliminating via stubs in high-speed designs.
| Parameter | Typical Value | Notes |
|---|---|---|
| Remaining stub after back-drill | 8-10 mil | Manufacturing tolerance limits removal |
| Back-drill diameter | Via drill + 8 mil | Must be larger than original drill |
| Depth tolerance | +/- 4 mil | Cannot drill into active signal layer |
| Cost impact | 10-20% board cost increase | Per back-drill operation |
| When required | > 8-10 Gbps data rates | Depends on stub length and channel budget |
Via Design Guidelines
- Use the smallest drill size that meets current and manufacturing requirements
- Optimize antipad size for impedance matching (typically 20-25 mil larger than pad)
- Place ground return vias within 50 mil of signal vias when changing reference planes
- Use back-drilling for through-hole vias in 10+ Gbps channels
- Consider blind/buried vias or microvias to eliminate stubs entirely
- Model via transitions in 3D EM simulation for data rates above 16 Gbps
- Use via stitching around high-speed signals for isolation
- Avoid via-in-pad without proper fill (outgassing causes solder voids)
Via Technology Comparison
| Via Type | Typical Drill | Stub | Cost | Application |
|---|---|---|---|---|
| Through-hole | 8-12 mil | Full board thickness minus active span | Low | General purpose |
| Through-hole + back-drill | 8-12 mil | 8-10 mil residual | Medium | 10-28 Gbps |
| Blind via | 4-8 mil | None (starts from surface) | High | HDI, BGA escape |
| Buried via | 4-8 mil | None (internal only) | High | Dense routing |
| Microvia (laser) | 3-5 mil | Minimal (1-2 layers) | Higher | Fine-pitch BGA, 28+ Gbps |
| Stacked microvia | 3-4 mil | None | Highest | Cutting-edge HDI |
PCB Design Review Checklist
Use this checklist before releasing your PCB design for fabrication. Click each item to mark it as reviewed. A thorough design review catches problems that are expensive or impossible to fix after manufacturing.
Stackup and Layer Assignment
Impedance Control
Return Currents and Grounding
Decoupling and Power Integrity
Signal Integrity
EMC and Compliance
Manufacturing
Track 3 Quiz: PCB Design for SI/PI/EMI
Test your understanding of PCB design principles. Select the best answer for each question, then click "Check Answers" at the bottom to see your score.
Question 1
In a 4-layer PCB stackup (SIG-GND-PWR-SIG), what should be minimized to improve power integrity?
Question 2
At high frequencies (above 1 MHz), return current on a ground plane flows:
Question 3
What is the primary risk of routing a high-speed signal over a ground plane split?
Question 4
The recommended minimum spacing for serpentine (meander) traces to avoid self-coupling is:
Question 5
Decoupling capacitors should be placed:
Question 6
What technique is used to eliminate via stubs in high-speed through-hole vias?
Question 7
Intra-pair skew in a differential pair is problematic because it:
Question 8
Multi-point grounding is preferred over single-point grounding for: