TP Insidediffsignals
TP Insidediffsignals
Figure 1: Individual signals and the differential signal for an LVDS interconnect.
The differential and common mode voltages can be expressed as:
Vdiff = (Vp Vn)
Vcommon = (Vp + Vn)/2
A pair of transmission lines, each with impedance Z0, will have a different impedance for differential signals and for
common mode signals. The differential impedance will depend on the spacing of the lines. If the lines are far apart
(spacing >> width), then Zdiff = 2*Z0. As the lines are brought closer together, the coupling between the traces
increases and Zdiff decreases.
Both the differential signal and the common mode signal will travel down the interconnects and suffer from
reflections at impedance mismatches. The differential and common mode signals will behave differently, since they
will see different effective impedances and travel speeds down the transmission lines.
If the two traces carrying a differential signal are not routed side-by-side, there will be mixing of the common mode
and differential mode parts of the signal. Near the driver, the common mode signal may be nearly zero. But near the
receiver, if there is a significant delay difference, there may be a brief time when the differential signal is nearly
zero. This is risky behavior, because the zero differential signal will be interpreted as a logical 0 or 1 by the
receiver and as long as the differential signal hovers near zero, the receiver can oscillate leading to multiple
clock crossings or data oscillation. Multiple clock crossings and data oscillation both can be observed as system faults.
1
ROUTING DIFFERENTIAL TRACE PAIRS
There are some routing rules that you can use to keep the differential signal differential. Violating these rules will
cause part of the differential signal to become common mode, reducing the differential signal amplitude and
increasing the common mode signal amplitude.
Two of these rules have already been discussed: traces should be routed with equal delay, and crosstalk-coupled nets
should be routed to minimize differential crosstalk.
How do you route for equal delay? And how equal is equal? Depending on the edge rate of the differential signal,
delays should be equalized to within 20% of the edge time (or better) to minimize the time the differential signal
spends near the differential switching threshold. A good rule is to route the traces side-by-side,
on the same layers. When changing layers, the two traces should change layers at the same location through the
same number of vias, keeping the two signal paths as close together as possible.
To reduce crosstalk, differential pairs should never have any other traces routed between them. Simulation will
determine the minimum spacing to aggressor traces. This spacing will be different for a single-ended aggressor than
for a differential aggressor pair.
Following a rule of thumb may get your design done, but it may also overconstrain your design. Simulation can be
used to refine your rule of thumb and to identify areas on the board where traces can be safely moved closer
together. For example, crosstalk is an issue only when aggressor nets have fast edges; a slower edge signal may not
present a crosstalk risk to your differential signal. Simulation and constraint checking can help you identify where
routing rules can be relaxed.
SUMMARY
To make the most of differential signaling, remember to treat a differential signal as a single item. Any difference
in the two halves of the signal converts part of the differential signal into undesirable common mode signal, leading
to false clocks and data errors.
Drivers and receivers each need to be assigned to pins on the same IC. At high speeds, the package and pin
assignments needs to match package delays. Driver assignment to power and ground rings on the chip must be
checked to minimize the differential contribution of power and ground bounce. For single-ended differential
signaling, receiver pins should not share a power or ground ring with any drivers.
The pair of traces needs to be routed together to maintain a matched delay. As edge rates drop below 1 nanosecond,
this includes matching the number and location of vias, as well as matching layer assignments and lengths.
The best check on your differential design is simulation. Simulation and analysis with Allegro PCB SI can be used to
check differential signals for signal integrity and timing issues. Performing both pre- and post-layout simulation
ensures that your differential design intent can be captured in the form of design constraints and verified
throughout the design process, from concept to product.
2
Cadence Design Systems, Inc.
Corporate Headquarters
2655 Seely Avenue
San Jose, CA 95134
800.746.6223
408.943.1234
www.cadence.com
2005 Cadence Design Systems, Inc. All rights reserved. Cadence, the Cadence logo, and
Allegro are registered trademarks of Cadence Design Systems, Inc. All others are properties
of their respective holders.
6079 02/05