Routing and Trace Design
Route a board deliberately: trace widths from current and temperature, via strategy, layer discipline, differential pairs and length matching, with every choice traceable to a number.
Two ways in. Work the material, or if you already know this, go straight to the project and prove it.
Where this sits
- Prerequisites
- Stackup Design and Component Placement
How this skill is structured
- 1. Concepts — the ideas stated plainly, with the equations worth memorising.
- 2. Worked example — one real problem solved end to end, numbers included.
- 3. Tool demonstration — do the thing in a real open-source tool.
- 4. Resources — the specific free readings and videos, and what part of each to use.
- 5. Project — built alone, producing something a reviewer can check.
- 6. Competence checklist — what you must be able to do. This is also the audit rubric.
1. Concepts
Read these first. Tick each one when you could explain it to someone else without notes.
2. Worked example
Routing a 3 A power path and a USB differential pair on the same 4-layer board
ProblemA 5 V, 3 A rail runs 35 mm from a connector to a buck converter. USB 2.0 full speed runs 25 mm from a USB-C connector to the MCU. Design both routes.
- 1Power path first. Requirement: 3 A, allowable temperature rise 10 C, 1 oz copper, external layer.
- 2From the KiCad PCB Calculator's Track Width tab (IPC-2152 based): 3 A at 10 C rise on 1 oz external copper needs roughly 1.6 mm. Round up to 2.0 mm for margin and for the DC resistance benefit.
- 3Check DC drop: 2.0 mm wide, 35 mm long, 1 oz (35 um) copper. Cross-section = 2.0e-3 x 35e-6 = 7.0e-8 m^2. Resistance = rho x L / A = 1.68e-8 x 0.035 / 7.0e-8 = 8.4 milliohm. Drop at 3 A = 25 mV. Acceptable for a 5 V rail.
- 4If the route must change layers, use at least four parallel vias at each transition: 3 A / 1.2 A per via = 2.5, so three minimum, four for margin.
- 5Return path: the ground return should run directly beneath on the plane, which it will do automatically if the plane is unbroken. Verify no plane split or large via array sits under the power route.
- 6Now the USB pair. USB 2.0 full speed (12 Mbps) has slow enough edges that impedance control is not strictly mandatory over 25 mm, but doing it properly costs nothing and it is required for high speed (480 Mbps).
- 7Target: 90 ohm differential. From the stackup (0.2 mm dielectric to the ground plane on layer 2, er = 4.3), the PCB Calculator's coupled microstrip tab gives approximately 0.30 mm trace width with 0.20 mm gap. Verify against your fabricator's impedance calculator, which accounts for their actual materials and etch compensation.
- 8Route the pair together on the top layer, referenced to the unbroken ground plane on layer 2, for the whole 25 mm. No layer changes.
- 9Keep the series resistors (if the part requires them) symmetric: both resistors at the same distance along the pair, placed side by side, with the pair spacing maintained through the resistor pads.
- 10Length matching: USB full speed has an enormous skew budget; even so, match to within 1 mm because it costs nothing at this length. For USB high speed the requirement is typically under 0.15 mm.
- 11Keep the pair at least 3x the dielectric height (0.6 mm) away from any other signal, and considerably further from the buck's switch node — aim for 5 mm or more, or route on the opposite side of the ground plane.
- 12ESD protection: place the TVS array as close to the connector as possible, with the pair passing through it rather than stubbing off it. A stub to an ESD part is both an impedance discontinuity and a poor ESD path.
- 13Finally, set both as net classes: POWER_3A with 2.0 mm width and a via count rule, and USB with the computed differential geometry and a length-matching rule. Then let DRC enforce what you decided.
AnswerPower: 2.0 mm trace, 8.4 milliohm, 25 mV drop, four vias per layer transition. USB: 0.30 mm traces with 0.20 mm gap for 90 ohm differential, routed together on one layer over unbroken ground, matched to 1 mm, TVS in-line at the connector, 5 mm minimum from the switch node. Both encoded as net classes so DRC enforces them.
3. Tool demonstration
Route with the constraints enforced rather than remembered, and use the router's modes deliberately.
4. Resources
Free and, wherever possible, openly licensed. The note tells you which part to actually use — do not read them cover to cover.
5. Project — build this on your own
About 4 hours. This is the artifact that proves the skill. Work it without a walkthrough.
Fully route the board you placed in the previous skill, with every routing constraint expressed as a design rule and enforced, and produce a routing report that justifies each decision numerically.
Deliverables
Acceptance criteria — how you know it is good enough
If you want to push further
- Route the same board on two layers instead of four and document every compromise forced by the loss of the ground plane.
- Add a second controlled-impedance interface (e.g. a 50 ohm single-ended RF trace or an LVDS pair) and verify the geometry with a field solver or the fabricator's calculator.
6. Competence checklist
Tick these honestly. If you are auditing this skill, this is your rubric — you should be able to demonstrate every line from the project you just built.