Research Careers Contact

GlossaryDifferential pair

Differential pair

A differential pair is two tightly coupled traces that carry equal and opposite signals, routed together at a controlled width, gap and length. The receiver reads the difference between the two, so noise that couples equally onto both traces cancels out.

How it works

A single-ended signal is measured against ground. A differential signal is measured between its two traces, called the positive and negative sides. When the driver switches, one side rises while the other falls. The receiver only cares about the voltage between them.

That has two benefits. Noise that lands equally on both traces, called common-mode noise, does not change the difference, so the receiver ignores it. And because the two currents are equal and opposite, their fields largely cancel, so a well-routed pair radiates less than a single trace switching at the same speed.

Both benefits depend on the pair staying balanced. The two traces need the same width, a constant gap, the same reference plane and nearly the same length. The width, gap and distance to the plane set the pair's differential impedance, which the interface standard specifies and the stackup has to deliver as controlled impedance. Any place where the pair splits around an obstacle, changes reference, or where one side runs longer than the other turns part of the signal into common-mode noise, which the receiver no longer rejects and which radiates.

Differential pair vs single-ended signal

A single-ended signal uses one trace and the ground plane as its return. It is simple and uses fewer pins and less area, and it works well for slower signals over short distances. A differential pair uses two traces for one signal. It costs area and routing effort, and in return it rejects noise and supports much faster signals over longer distances, including through connectors and cables. Most fast serial interfaces are differential for that reason.

Why it matters

A pair that is not balanced loses margin. The link shows errors, retrains, drops frames or fails emissions testing. Those failures are often intermittent and depend on temperature, cable position or what the rest of the board is doing, which makes them slow and expensive to debug.

Pairs are also where a layout tool needs the most explicit guidance. A router that treats the two nets as unrelated will complete them, and the board will pass a connectivity check, while the pair itself does not work.

How to get it right

  • Set the geometry with the fabricator. Get the width and gap for the target impedance from the shop's stackup, and put them in a pair net class in the design rules.
  • Route the two sides together. Keep the gap constant, avoid splitting the pair around vias or pads, and when the pair changes layer, put both vias together, with ground vias nearby for the return current.
  • Match length inside the pair first. Correct the skew between the two sides close to where it is created, then match pairs to each other if the interface asks for it. See length matching.
  • Keep the reference solid. Route over a continuous ground plane with no splits or slots under the pair.
  • Give any router a pair rule. An autorouting pass needs the pair class, the gap, the layers and the match tolerance, or it routes two unrelated nets.

Differential pairs in robotics and drone hardware

Robots and drones depend on fast differential links. Camera interfaces carry image data from a sensor head to a compute board. USB, Ethernet and high-speed board-to-board links move data between modules. Industrial robots often run encoder and fieldbus signals as differential pairs over long cables, because the cable runs past motors and drives that throw off noise.

On those boards the hard part is usually the path from a fine-pitch connector or BGA to open routing space. The fanout has to keep the pair together and balanced from the first via. A camera pair that splits around a via field on its way out of a processor can pass a connectivity check and still fail on the robot.

Learn more