GlossaryLength matching
Length matching
Length matching is the practice of controlling the routed length of a net, or the length difference inside a group of nets, so that signals meant to arrive together do. It keeps an interface inside its timing or skew budget.
How it works
Signals travel along a trace at a speed set by the dielectric constant of the material around it. A longer trace means a later arrival. Interfaces that send several bits together with a clock, or that use differential pairs, have a budget for how far apart those arrivals can be.
The designer converts that time budget into a length budget for the stackup in use, sets it as a rule, and routes the group. Short traces get extra length, usually as small serpentine bends, until every member of the group is within tolerance. PCB layout tools such as KiCad include length and skew tuning tools that measure and add that length.
Length matching vs delay matching
Length is a stand-in for delay. On one layer with known materials, the two match closely. When nets change layers, cross different materials or pass through different numbers of vias and package paths, equal length no longer means equal delay. For tight interfaces, the real goal is matched delay, and some tools tune by delay directly.
Why it matters
When one bit arrives too far from the others, the receiver samples it at the wrong moment. The failures are often intermittent and depend on temperature and voltage, which makes them slow to find on a finished robot. Skew limits sit next to controlled impedance and crosstalk limits in the signal integrity rules for a fast bus.
How to get it right
- Take the budget from the interface standard or the datasheet, not from habit.
- Match inside each pair first, then match pairs or bits to each other.
- Count vias, layer changes and package delays where the tool can include them.
- Keep tuning bends away from other traces, with spacing large enough that the bends do not couple to each other.
- Put the budget in the design rules before routing, so the check catches misses.
Length matching in robotics and drone hardware
Compute boards in robots and drones carry memory buses and camera links that come with skew budgets. The tuning has to fit in the small area between a BGA processor's fanout and its memory or connector, which is why teams plan that region early rather than tuning after everything else is routed.