Home Technical Articles PCB Design
PCB Design

Best practices for high-frequency PCB routing

Essential rules for fast digital signal routing: controlled impedance, ground planes, decoupling, and signal integrity — from design to manufacturing.

PCB High Frequency Signal Integrity Impedance EMC KiCad

Introduction: why high frequency changes everything

In low-frequency circuits, most routing rules can be treated as simple connectivity problems: just connect the pins correctly and ensure the traces can handle the current. But as signals become faster — whether in clock frequency, edge rate (slew rate), or bandwidth — the printed circuit board ceases to be a passive conductor and becomes an active element of the circuit.

The most important rule of thumb for high-frequency PCB design is this: what matters is not the fundamental frequency of the signal, but the rise and fall times of the edges. A 10 MHz clock with 1 ns edges contains spectral components above 300 MHz. Ignoring this is the cause of most EMI, crosstalk, and signal integrity issues that appear only in the real hardware — never in the simulation.

📐
Rule of 1/3 wavelength
A trace starts to behave like a transmission line when its physical length exceeds 1/6 of the wavelength of the highest significant harmonic of the signal. For 1 ns edges, this equates to approximately 25 mm in FR4. Traces longer than this require controlled impedance treatment.

This article covers the main techniques and rules that every PCB designer needs to master when working with fast digital signals, high-speed interfaces (USB 3.x, PCIe, HDMI, LVDS, DDR), and RF systems. The focus is practical: each concept is accompanied by numerical rules directly applicable in your EDA.


1. Ground planes: the foundation of everything

The ground plane is the most critical element of any high-frequency PCB. It serves as a low-impedance current return path, electromagnetic shielding, impedance reference for transmission lines, and a heat sink. No other routing decision has a greater impact on signal integrity and EMC compliance.

Return current and the lowest impedance path

At low frequencies, return current follows the path of least resistance — typically the shortest path. At high frequencies, it follows the path of lowest impedance, which is the path directly underneath the signal trace. This happens because the mutual inductance between the trace and its return is minimized when the two conductors are superimposed.

The practical consequence is direct: never interrupt the ground plane beneath high-speed traces. Cuts, slots, and holes in the plane force the return current to go around the obstacle, increasing the current loop area, raising the inductance, and generating electromagnetic emissions.

✓ Correct — Continuous plane GND (continuous plane) Signal trace return ✗ Incorrect — Split plane slot Signal trace large loop!
Figure 1 — Impact of a slot in the ground plane: the return current is forced to take a long path, increasing the loop area and EMI emissions.

Practical rules for the ground plane


2. Controlled impedance and transmission lines

When a trace behaves like a transmission line, its characteristic impedance (Z₀) must be controlled to avoid reflections. The impedance depends on the trace geometry, the dielectric constant of the substrate (εᵣ), and the distance to the reference plane.

The most common target impedance values are 50 Ω for RF signals and high-speed single-ended interfaces, and 100 Ω differential for pairs like USB, HDMI, PCIe, and LVDS. Any discontinuity in this impedance — stub, via, width change, connector — generates a reflection that degrades the signal.

Calculating trace width for 50 Ω

For a microstrip trace (on the outer layer, over a reference plane), the approximate Hammerstad formula is:

Z₀ ≈ 87 / √(εᵣ + 1.41) × ln( 5.98 × h / (0.8 × w + t) )

Where h is the dielectric thickness to the reference plane, w is the trace width, and t is the copper thickness. For standard FR4 (εᵣ ≈ 4.3) with a 0.2 mm dielectric, a 50 Ω trace is approximately 0.38 mm wide. Tools like the Saturn PCB Toolkit or the built-in KiCad calculator provide precise values for any stackup.

Interface Topology Target Z₀ Typical tolerance Remarks
USB 2.0 (HS) Differential pair 90 Ω ±10% D+/D− pair with controlled spacing
USB 3.x / USB4 Differential pair 85 Ω ±10% Separate TX and RX; avoid crossings
PCIe Gen 3/4 Differential pair 85 Ω ±10% Max length 300 mm; via stub <0.3 mm
HDMI / DisplayPort Differential pair 100 Ω ±10% Length matching between pairs ±5 mil
DDR4 / LPDDR4 Single-ended / differential 40–50 Ω ±10% Fly-by topology; on-die termination
RF / Antenna Single-ended 50 Ω ±5% Minimum vias; no 90° angles
LVDS Differential pair 100 Ω ±10% 100 Ω termination at the receiver

Vias and stubs: the hidden enemy

Each via introduces parasitic capacitance and, more critically, a stub — the piece of copper that continues beyond the connection point inside the PCB. At frequencies above a few GHz, this stub acts like an antenna that absorbs energy from the signal at the resonant frequency f = c / (4 × stub_length × √εᵣ).

For PCIe Gen 4 and interfaces above 8 Gbps, it is common to specify back-drilling (mechanical removal of the stub) or use blind/buried vias to completely eliminate the problem. For lower frequencies, minimizing the stub depth is already sufficient.

⚠️
90° angles in RF traces
The myth that 90° angles cause reflections is greatly exaggerated for frequencies below 10 GHz — the actual effect is negligible. The real problem is the extra capacitance of the corner, which can be relevant above 20 GHz. For most projects, use 45° angles as good practice, but don't worry excessively about it in signals below 5 GHz.

3. Decoupling and power filtering

Decoupling capacitors (bypass capacitors) are the mechanism by which we provide local high-frequency current to components, preventing demand spikes from propagating through the power network and generating noise. Their effectiveness critically depends on positioning and the parasitic inductance of the mounting loop.

Positioning and value selection

The golden rule is: the decoupling capacitor must be as close as possible to the IC power pin, with the GND via adjacent to the VCC via. The inductance of the loop formed by the capacitor, its vias, and the power plane determines the effective resonant frequency — the smaller the loop, the higher the resonant frequency and the better the high-frequency decoupling.

✗ Large loop — ineffective IC 100nF large loop = high L ✓ Minimum loop — effective IC 100nF minimum loop = low L
Figure 2 — The current loop of the decoupling capacitor must be minimized. The parasitic inductance of the loop limits its effectiveness at high frequencies.

Multi-value strategy

A single capacitor has a series resonant frequency (SRF) above which it becomes inductive. To cover a wide range of frequencies, use multiple capacitors in parallel with different values. The most common combination for high-speed digital ICs is:

ValueEffective rangeFunctionTypical quantity
100 nF (0402)1 MHz – 100 MHzGeneral high-frequency decoupling1 per VCC pin
10 nF (0402)10 MHz – 500 MHzComplement for higher frequencies1 per critical IC
1 nF (0402)100 MHz – 1 GHz+VHF/UHF decoupling1 per RF IC
10 µF (0805/1206)DC – 1 MHzLocal energy reservoir (bulk)1 per IC cluster
💡
Tip: parallel capacitors create resonances
Two capacitors in parallel with different values create an anti-parallel resonance (anti-resonance) between them, where impedance rises instead of falls. To avoid this, choose values with a ratio of at most 10:1 between adjacent capacitors, or use PDN (Power Delivery Network) simulation tools like Altium's PDN Analyzer or the KiCad PDN plugin.

4. Routing differential pairs

Differential pairs (like USB, LVDS, PCIe, HDMI) transmit information through the voltage difference between two conductors. The main advantage is immunity to common-mode noise: any interference that affects both conductors equally is canceled at the receiver. For this to work, the two conductors must be geometrically identical.

Rules for differential pairs

Serpentines for length matching
When using serpentines (meanders) to match lengths, keep the serpentine amplitude at least 3× the spacing between the pair conductors. Overly compact serpentines introduce capacitive coupling between segments, degrading signal integrity. Prefer doing the matching near the source component, not in the middle of the path.

5. Crosstalk: unwanted coupling between traces

Crosstalk is the transfer of energy from one trace (aggressor) to an adjacent one (victim) through capacitive and inductive coupling. At high frequencies, it is proportional to the frequency, the coupling length, and inversely proportional to the square of the spacing.

There are two types: NEXT (Near-End CrossTalk), measured at the aggressor signal's source end, and FEXT (Far-End CrossTalk), measured at the destination end. For digital signals, FEXT is generally more problematic because it reaches the receiver along with the legitimate signal.

Rules to minimize crosstalk


6. High-frequency PCB stackup

The stackup is the most fundamental decision in a high-frequency PCB — and it must be defined before any routing. A well-designed stackup solves much of the impedance, crosstalk, and EMI problems structurally.

LayersTypical stackupRecommended use
2 layers Signal / GND (copper pour) Up to ~50 MHz; simple projects without high-speed interfaces
4 layers Signal / GND / PWR / Signal USB HS, 100M Ethernet, microcontrollers up to 200 MHz
6 layers Signal / GND / Signal / Signal / PWR / Signal USB 3.x, PCIe Gen 1/2, DDR3/4, WiFi
8+ layers Multiple interleaved GND/PWR pairs PCIe Gen 3/4, DDR5, 10 GbE, complex RF

For a 4-layer stackup, the most common configuration is: Top (signal) → GND → PWR → Bottom (signal). This ensures that both signal layers have an adjacent reference plane, controlling impedance and minimizing emissions. Avoid the Top/PWR/GND/Bottom stackup, which places the power and ground planes far from the signal layers.

📋
Communicate the stackup to the manufacturer
Always specify the complete stackup in the manufacturing package: thickness of each copper layer (typically 35 µm = 1 oz), thickness of each dielectric, and the material (standard FR4 has εᵣ ≈ 4.2–4.5; high-frequency materials like Rogers 4003C have εᵣ ≈ 3.55 and much lower dielectric loss). Manufacturers like JLCPCB and PCBWay offer integrated impedance calculators in the order.

7. EMC considerations in routing

Electromagnetic Compatibility (EMC) is not a final verification step — it is a direct consequence of routing decisions. The main sources of emission in digital PCBs are high-frequency current loops (especially power and clock return loops) and long traces acting as antennas.

Current loop reduction

The power radiated by a current loop is proportional to the square of the frequency, the square of the current, and the square of the loop area. Therefore, reducing the loop area is the most effective measure to reduce emissions. This translates to: keep clock traces close to their GND return, use decoupling capacitors with minimal loops, and avoid long traces for fast signals.

I/O interface filtering

Connectors and external interfaces are the main entry and exit paths for electromagnetic noise. Place ferrite beads in series and filtering capacitors in parallel on I/O lines, positioned as close as possible to the connector. For high-speed interfaces, use ESD components with minimal capacitance (typically < 0.5 pF) so as not to degrade signal integrity.

KiCad DRC — Design rules for high frequency
# .kicad_dru file — custom rules for high-speed signals

(rule high_speed_clearance
  (constraint clearance (min 0.2mm))
  (condition "A.NetClass == 'HighSpeed' || B.NetClass == 'HighSpeed'")
)

(rule differential_pair_gap
  (constraint diff_pair_gap (min 0.1mm) (max 0.15mm))
  (condition "A.NetClass == 'USB_HS'")
)

(rule no_via_in_pad_hs
  (constraint disallow via)
  (condition "A.NetClass == 'RF'")
)

# Minimum width for 50 Ω traces in FR4 0.2mm dielectric
(rule rf_trace_width
  (constraint track_width (min 0.35mm) (max 0.42mm))
  (condition "A.NetClass == 'RF'")
)

8. Review checklist for high-frequency PCBs

Before sending the project to manufacturing, go through this checklist. Each item represents a category of problem that, if not verified, can result in signal integrity failure, EMC issues, or intermittent malfunction.

CategoryVerification itemCriticality
Ground planeNo slot or cut beneath high-speed tracesHigh
Ground planeAdjacent GND return via for every layer changeHigh
ImpedanceTrace width calculated for target Z₀ on each interfaceHigh
ImpedanceVia stubs minimized or removed by back-drillingMedium
Decoupling100 nF capacitor on each VCC pin of digital ICHigh
DecouplingVCC–CAP–GND loop minimized (< 1 mm²)High
Differential pairsIntra-pair skew < 5 mil (0.127 mm)High
Differential pairsConstant spacing throughout the entire pathMedium
CrosstalkSpacing ≥ 3W between high-speed tracesMedium
CrosstalkLong parallel traces avoided between critical signalsMedium
EMCFerrite beads and filters on external I/O connectorsMedium
EMCNo clock trace without adjacent GND returnHigh
StackupControlled impedance specification in the manufacturing orderHigh
GeneralDRC executed with custom high-speed rulesGood practice

Conclusion

Routing PCBs for high frequencies is a discipline that combines electromagnetic physics, materials knowledge, and practical experience. The rules presented here are not arbitrary — each has a clear physical justification, and understanding the why is just as important as knowing the what.

The most impactful starting point is always the ground plane: a continuous and well-connected plane solves a large part of the problems even before routing begins. From there, controlled impedance, judicious decoupling, and attention to crosstalk complete the foundation of a robust design.

For critical projects, signal integrity (SI) and PDN simulation before manufacturing are becoming increasingly accessible — tools like HyperLynx, Sigrity, and KiCad itself with simulation plugins allow identifying problems before the hardware is manufactured. The cost of a simulation is always less than that of a PCB revision.

🚀
Recommended tools
KiCad 8+ — Free EDA with support for differential pairs, custom design rules, and an integrated impedance calculator. Saturn PCB Toolkit — Impedance calculator, trace current, and other parameters. HyperLynx Free — Basic signal integrity simulation. PDN Analyzer (KiCad plugin) — Power delivery network analysis.
LH
Luis H. Campos
Electrical Engineer · camposlh.com
Electrical Engineer with over 10 years of experience in electronic projects, PCB design, and embedded systems. Specialized in PIC, ESP32, and STM32 microcontrollers, firmware development, and hardware for industrial and IoT applications.