Fast serial interfaces are now a normal part of modern electronics. PCIe connects processors to NVMe SSDs, network controllers, Wi-Fi modules, and graphics devices. USB 3, Ethernet, HDMI, DisplayPort, and LVDS also move high data rates over a small number of conductors. The common foundation behind many of these interfaces is differential signalling.
At low speeds, a signal can often be treated as a simple voltage relative to ground. At high edge rates and high data rates, that model is no longer sufficient. A PCB trace becomes a transmission line. Return currents, impedance discontinuities, crosstalk, and electromagnetic radiation determine whether the link works reliably. Differential pairs are an effective way to control these effects, but only if the layout treats them as controlled high-speed structures.
What Is a Differential Pair?
A differential pair consists of two related signals. One is usually called positive and the other negative. The information is not encoded in the absolute voltage of one conductor relative to ground. Instead, the receiver evaluates the voltage difference between the two conductors.
In simple terms, when the positive conductor is higher than the negative conductor, the receiver detects one logic state. When the negative conductor is higher, it detects the other state. The receiver compares the two signals with each other. This is different from single-ended signalling, where one signal is evaluated against ground.
That comparison is the central advantage. Noise that couples equally into both conductors appears as common-mode noise. Because the receiver evaluates the difference between the conductors, this common-mode component is largely rejected. At the same time, the currents in the two conductors flow in opposite directions, so their magnetic fields partially cancel. The result is lower radiation and better immunity to external interference.
Why High-Speed Interfaces Use Differential Signalling
Differential transmission enables higher data rates without making the system proportionally more sensitive to external noise. It also reduces emissions into nearby circuits. This is why many fast or robust interfaces use differential pairs:
-
PCIe
-
USB 3
-
Ethernet
-
HDMI
-
DisplayPort
-
LVDS
-
SerDes links
-
RS-485
-
CAN
USB 2 is a special case because it uses a pair of conductors but is not treated like a classic high-speed differential interface in every mode. For short distances, CAN, RS-485, or USB 2 may work even with an imperfect layout. PCIe, USB 3, HDMI, and fast SerDes links are much less forgiving. They are more sensitive to impedance errors, skew, poor return-current paths, and badly chosen connectors.
The Layout Starts With the Return Path
A common mistake is assuming that a differential pair does not need a reference to ground because the receiver only evaluates the difference between the two signals. In practice, this is wrong. Each individual conductor still has a return current. That return current prefers to flow in the reference plane directly below the trace.
For that reason, a differential pair should run over a continuous, uninterrupted ground plane. Slots, layer changes without nearby ground vias, copper voids, or split reference planes degrade the return path. This increases loop area, changes impedance, and can increase radiation and jitter.
For a professional layout, follow these rules:
-
Route the pair over a continuous reference plane.
-
Do not cross splits in the ground plane.
-
Avoid layer changes where possible.
-
If a layer change is required, place ground vias close to the pair.
-
Choose connectors that provide a clean return-current path.
For high-speed connectors, it is often useful to place ground pins between or beside differential pairs. This improves field containment, reduces crosstalk, and keeps the impedance more stable through the transition.
Spacing Inside the Pair and to Other Signals
The two traces of a differential pair should stay close together and maintain a constant spacing along the route. Constant spacing helps keep the differential impedance stable. A tightly coupled pair also improves common-mode noise rejection and reduces magnetic-field radiation.
This does not mean the traces should be placed as close as the PCB manufacturer allows by default. Trace width, trace spacing, copper thickness, distance to the reference plane, and dielectric material all determine the differential impedance. Spacing inside the pair is therefore an electrical parameter, not just a routing preference.
A differential pair also needs enough clearance to other signals. A common rule of thumb is the 5W rule: the distance from the center of a trace in the differential pair to other signals should be at least five trace widths. Dense boards do not always allow this spacing everywhere, but it is a useful starting point, especially when several pairs run in parallel.
Differential pairs should not be routed directly next to aggressive clock lines, switching-regulator nodes, fast single-ended signals, or high-current traces. When board space is limited, route the sensitive high-speed pairs first. Less critical connections can be fitted around them later.
Length Matching and Skew
The two conductors in a differential pair should be as equal in length as required by the interface. A length mismatch means the two signal components do not arrive at the receiver at exactly the same time. This timing difference is called skew.
Small mismatches may be acceptable depending on the interface, but at high data rates skew consumes timing margin. The receiver no longer sees the ideal difference between two opposite signals. This can close the eye diagram and increase the bit error rate.
Most PCB editors provide length-matching tools for differential pairs. These tools add small compensation structures to the shorter trace. Use them carefully. Excessive tight meanders add coupling, impedance variation, and unnecessary discontinuities. It is better to route the pair cleanly and symmetrically from the start.
In practice:
-
Match the pair length to the relevant interface requirement.
-
Keep direction changes as symmetrical as possible.
-
Use length compensation only where it is electrically useful.
Impedance Is Not a Detail
At high data rates, a PCB trace is not an ideal wire. It is a transmission line with characteristic impedance. That impedance is determined by trace width, trace spacing, copper thickness, distance to the reference plane, and the dielectric material.
Whenever impedance changes abruptly, part of the signal is reflected. Such reflections can be caused by incorrectly dimensioned traces, unsuitable connectors, vias, stubs, or layer changes. Small discontinuities are often tolerable. Large or repeated discontinuities can make a link unstable.
PCIe commonly targets an 85 ohm differential impedance. Other interfaces may target values such as 90 ohms or 100 ohms. The exact value depends on the standard. The important point is not a single magic number, but a reasonably consistent impedance across the full path: driver, package pins, PCB traces, connector, cable, and receiver should all be treated as one transmission path.
Controlled impedance should not be guessed. It should be calculated from the PCB stackup or specified by the PCB manufacturer. Before routing a high-speed pair, know the following parameters:
-
distance from the signal layer to the reference plane
-
dielectric constant of the material
-
copper thickness
-
minimum trace width and spacing
-
target differential impedance of the interface
With these values, trace width and pair spacing can be chosen deliberately. Simplified impedance calculators are useful for prototypes. For production hardware or very high data rates, coordinate the impedance rules with the PCB manufacturer.
Connectors and Vias
A carefully calculated trace pair is not enough if the link then passes through unsuitable connectors or long via structures. Every transition is part of the transmission line.
Connectors for fast differential signals should provide short, defined signal paths and suitable ground contacts. Full-size PCIe, M.2, Mini PCIe, USB-C, and many high-speed board-to-board connector families are designed for this type of signal. A random pin header may work at low data rates, but it is usually a poor choice for fast SerDes or PCIe links.
Vias add parasitic inductance and capacitance. If a differential pair must change layers, both conductors should change layers together and symmetrically. Nearby ground vias help the return current move to the new reference plane. At very high data rates, long unused via stubs should be avoided or reduced with suitable fabrication techniques.
Clean Routing in Practice
A professional high-speed differential layout usually looks uneventful: short routes, few transitions, constant spacing, and clean reference planes. That is the objective.
A practical routing order is:
-
Define the stackup and target impedance.
-
Route critical high-speed pairs first.
-
Keep pairs short and direct.
-
Keep trace width and spacing constant.
-
Maintain a continuous ground plane under the pair.
-
Avoid layer changes or support them with nearby ground vias.
-
Keep distance from other fast or noisy signals.
-
Check pair length and skew.
-
Treat connectors and cables as part of the link.
On low-cost two-layer prototypes, perfect impedance can be difficult or impossible to achieve. Even then, calculation is worthwhile. A deliberately optimized layout is much better than random routing. Shorter paths, smaller loop areas, good grounding, and adequate spacing can significantly improve the chance of a stable link.
Five Basic Rules
For most designs, the important points can be reduced to five rules:
-
Route the two traces of a differential pair close together, in parallel, and with constant spacing.
-
Provide a continuous reference plane under the entire pair.
-
Use connectors and transitions that are suitable for fast differential signals.
-
Calculate trace width and spacing from the target impedance and PCB stackup.
-
Keep the route short, clean, and free from unnecessary vias, stubs, and noise sources.
These rules do not replace the interface specification, but they are the foundation for robust high-speed layouts. Applied consistently, they reduce reflections, crosstalk, radiation, and timing problems.
Conclusion
Differential high-speed serial transmission is no longer a specialist topic. It is a basic technique in modern electronics. Whether the interface is PCIe, USB 3, Ethernet, HDMI, or LVDS, the physical principles are similar. Two conductors are routed as a pair, the receiver evaluates their difference, and the PCB layout largely determines how cleanly that difference arrives.
The decisive factor is layout discipline. A differential pair is not just two traces next to each other. It is a controlled transmission line with a defined return path, controlled impedance, and limited interaction with its surroundings. Treat it that way, and the link is far more likely to work reliably outside the lab as well as on the bench.