Theme Settings

Midnight
Ocean
Forest
Sunset
Light

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.

Rule of Thumb: Every signal layer should be immediately adjacent to a continuous reference plane (ground or power). This ensures a low-inductance return path and controlled impedance for every trace.

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 1: Signal (microstrip, referenced to L2 GND)
Layer 2: Ground Plane (continuous, unbroken)
Layer 3: Power Plane (continuous, decoupled to L2)
Layer 4: Signal (microstrip, referenced to L3 PWR)
Critical: In a 4-layer stackup, the core between GND and PWR should be as thin as possible (ideally 5-10 mil) to maximize inter-plane capacitance and lower PDN impedance. Signal prepreg layers are thicker to achieve target impedance.

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

Total Layers: 0 Signal Layers: 0 Plane Layers: 0 Total Height: 0 mil

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.

Dielectric (er) Ground Plane Trace (W) H W T Air (er = 1)
Microstrip Impedance (IPC-2141 Approximation):

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.

Ground Plane (Top) H1 Trace (W) H2 Ground Plane (Bottom) B
Symmetric Stripline Impedance:

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%
DDR44080+/- 10%
DDR54080+/- 10%
HDMI 2.1-100+/- 10%
Ethernet (1G/10G)-100+/- 10%
General RF / 50 ohm50100+/- 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:

Ground Plane FR-4 Signal Trace I (signal) I (return) Minimal Loop Area Src Load

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.

SLOT / GAP Signal Trace (crosses gap) Large Loop = High Radiation!
Design Rules for Return Currents:
  • 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.

Rule: Place at least one (preferably two) ground stitching vias within 50 mil of every signal via that changes reference planes. This provides the return current a low-inductance path between planes.

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.

Star Ground Rules:
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.

When to Split a Ground Plane:
  • 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 / InstrumentationDC - 100 kHzSingle-point (star)Minimize ground loops
Mixed-Signal (ADC/DAC)DC - 10 MHzUnified plane, partitionedNo split under converter
Digital Logic1 MHz - 1 GHzMulti-point (plane)Solid, continuous plane
RF / Microwave100 MHz - 40 GHzMulti-point (plane)Via fences, cavity control
Power ElectronicsDC - 30 MHzStar + plane hybridKeep power loops tight
High-Speed SerDes1 GHz - 30 GHzMulti-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.

Chassis Ground Guidelines:
- 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
Decoupling Effectiveness vs. Distance:

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 lengthsShorter traces = less inductance, crosstalk, delayCritical
Group related components togetherReduces routing complexity and loop areasCritical
Keep analog and digital sections separatedPrevents digital noise coupling into analogHigh
Place decoupling caps before routingEnsures optimal cap-to-pin distanceCritical
Orient ICs for clean pin escape routingAvoids routing congestion and crossoversMedium
Reserve keep-out zones around sensitive componentsPrevents coupling from nearby aggressor signalsMedium
Place test points away from sensitive netsTest point stubs can cause reflections and couplingLow

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.

Length Matching Requirements (Typical):

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.

Good (S >= 3x trace width) S Bad (S too small, tight coupling)
Serpentine Design Rules:
  • 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 mm5/5 milThrough-holeDog-bone via between pads, route on inner layers
1.0 mm4/4 milThrough-hole or microviaDog-bone with neck-down, 2 traces between pads
0.8 mm3.5/3.5 milMicrovia (via-in-pad)Via-in-pad, 1 trace between pads
0.65 mm3/3 milMicrovia (via-in-pad)Via-in-pad required, HDI stackup
0.5 mm2.5/2.5 milStacked microviaVia-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 cornersUse 45-degree miters or arcs (90-degree corners cause ~2% impedance change)
3W rule for spacingKeep center-to-center spacing at 3x trace width to reduce crosstalk to <5%
Minimize layer transitionsEach via adds ~0.5-1.5 nH inductance and capacitive discontinuity
Route over continuous planesNever route high-speed signals over plane splits or voids
Keep traces away from edgesMinimum 3x line width from board edge or plane edge
Minimize stub lengthUnterminated stubs > lambda/10 cause resonances
Match trace impedanceMaintain 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

Dielectric (er) Ground Plane D+ D- W S (gap) H
Edge-Coupled Differential Impedance (Approximate):

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 spacingGap variation < 10%Impedance control
Route as a pairBoth traces always togetherCommon-mode rejection
Minimize intra-pair skew< 5 mil for most protocolsPrevents mode conversion (diff to common)
Symmetric via transitionsBoth traces transition at same locationMaintains balance
Avoid splitting the pairNever route D+/D- on different layersDestroys coupling and increases skew
Length match within pairPer protocol spec (typically < 5 mil)Timing integrity
Avoid routing near single-ended traces3W from pair edge to other tracesCrosstalk 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.

Skew-Induced Common-Mode Voltage:

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
Key Insight: Differential pairs do not magically cancel EMI. They only cancel the far-field radiation IF the pair is well balanced (matched lengths, symmetric routing, constant spacing). Any imbalance converts differential energy to common-mode, which radiates just like a single-ended signal.

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:

Via Inductance (Approximate):

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
Via Capacitance (Approximate):

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.

Stub Resonance 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-drill8-10 milManufacturing tolerance limits removal
Back-drill diameterVia drill + 8 milMust be larger than original drill
Depth tolerance+/- 4 milCannot drill into active signal layer
Cost impact10-20% board cost increasePer back-drill operation
When required> 8-10 Gbps data ratesDepends on stub length and channel budget

Via Design Guidelines

Via Optimization Checklist:
  • 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-hole8-12 milFull board thickness minus active spanLowGeneral purpose
Through-hole + back-drill8-12 mil8-10 mil residualMedium10-28 Gbps
Blind via4-8 milNone (starts from surface)HighHDI, BGA escape
Buried via4-8 milNone (internal only)HighDense routing
Microvia (laser)3-5 milMinimal (1-2 layers)HigherFine-pitch BGA, 28+ Gbps
Stacked microvia3-4 milNoneHighestCutting-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

Stackup is symmetric about the center for warp prevention
Every signal layer has an adjacent continuous reference plane
Power-ground plane pair is tightly coupled (core thickness minimized)
Layer assignments reviewed with fab house for manufacturability

Impedance Control

Controlled impedance traces identified and widths verified with field solver
Impedance tolerance specified on fabrication drawing (typically +/- 10%)
Test coupons included for impedance verification by fab house

Return Currents and Grounding

No high-speed signals cross plane splits, slots, or voids
Ground stitching vias placed near every signal via that changes reference planes
Ground plane is continuous under critical signal areas (no unnecessary splits)
Board-to-chassis ground connections defined and documented

Decoupling and Power Integrity

Decoupling caps placed within 50 mil of IC power pins
Bulk capacitors placed near power entry and voltage regulators
Via connections from decoupling cap pads go directly to planes (short path)
Power plane(s) have adequate copper for current carrying capacity

Signal Integrity

Differential pairs maintain constant spacing and are length-matched
High-speed traces routed on inner layers (stripline) where possible
No 90-degree trace corners on high-speed signals
Trace spacing meets 3W rule for crosstalk-sensitive nets
Length matching within specification for all timing-critical groups

EMC and Compliance

Clock traces routed away from board edges (minimum 3x width)
I/O connector filter components placed between connector and main circuits
ESD protection components placed at connector pins
Via stitching around board perimeter for ground plane continuity
Spread-spectrum clocking (SSC) enabled where applicable

Manufacturing

Design rule check (DRC) passed with zero errors
Minimum trace width/space meets fab capability
Via drill sizes and annular rings within fab specifications
Solder mask and silkscreen layers reviewed for correctness

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: