# Differential signalling

(Redirected from Differential signaling)

Differential signalling is a method for electrically transmitting information using two complementary signals. The technique sends the same electrical signal as a differential pair of signals, each in its own conductor. The pair of conductors can be wires in a twisted-pair or ribbon cable or traces on a printed circuit board.

Electrically, the two conductors carry voltage signals which are equal in magnitude, but of opposite polarity. The receiving circuit responds to the difference between the two signals, which results in a signal with a magnitude twice as large. Any signals radiated by the conductors tend to cancel out resulting in reduced emission that could affect nearby circuits.

The symmetrical signals of differential signalling are often referred to as “balanced”, but this term should be reserved for balanced circuits and lines which reject common-mode interference when fed into a differential receiver. Differential signalling does not make a line balanced, nor does noise rejection in balanced circuits require differential signaling.

Differential signalling is to be contrasted to single-ended signalling which drives only one conductor with signal, while the other is connected to a fixed reference voltage.

Contrary to popular belief, differential signalling does not affect noise cancellation. Balanced lines with differential receivers will reject noise regardless of whether the signal is differential or single-ended, but since balanced line noise rejection requires a differential receiver anyway, differential signalling is often used on balanced lines. Some of the benefits of differential signalling include:

• The electromagnetic field around a differential line is ideally zero, which reduces crosstalk into adjacent cables, useful for telephone pairs.
• Though the signal level would not be changed due to nominal level standardization, the maximum output from the differential drivers is twice as much, giving 6 dB extra headroom.
• Increasing cable capacitance over long cable runs decreases the signal level at which high frequencies are attenuated. If each wire carries half the signal voltage swing as in fully differential outputs then longer cable runs can be used without the loss of high frequencies.
• Noise that is correlated between the two amps (from imperfect power supply rejection, for instance), would be cancelled out. The correlated noise would appear on the line as common-mode voltages, to be easily rejected by the differential receiver.
• At higher frequencies, the output impedance of the output amplifier can change, resulting in a small imbalance. When driven in differential mode by two identical amplifiers, this impedance change will be the same for both lines, and thus cancelled out.

Differential signalling works for both analog signalling, as in balanced audio, and in digital signalling, as in RS-422, RS-485, Ethernet over twisted pair, PCI Express, DisplayPort, HDMI and USB.

### Suitability for use with low-voltage electronics

The electronics industry, particularly in portable and mobile devices, continually strives to lower supply voltage to save power.[citation needed] A low supply voltage, however, reduces noise immunity. Differential signalling helps to reduce these problems because, for a given supply voltage, it provides twice the noise immunity of a single-ended system.

To see why, consider a single-ended digital system with supply voltage $V_{S}$ . The high logic level is $V_{S}\,$  and the low logic level is 0 V. The difference between the two levels is therefore $V_{S}-0\,\mathrm {V} =V_{S}$ . Now consider a differential system with the same supply voltage. The voltage difference in the high state, where one wire is at $V_{S}\,$  and the other at 0 V, is $V_{S}-0\,\mathrm {V} =V_{S}$ . The voltage difference in the low state, where the voltages on the wires are exchanged, is $0\,\mathrm {V} -V_{S}=-V_{S}$ . The difference between high and low logic levels is therefore $V_{S}-(-V_{S})=2V_{S}\,$ . This is twice the difference of the single-ended system. If the voltage noise on one wire is uncorrelated to the noise on the other one, it takes twice as much noise to cause an error with the differential system as with the single-ended system. In other words, differential signalling doubles the noise immunity.[citation needed]

## Comparison with single-ended signalling

In single-ended signalling, the transmitter generates a single voltage that the receiver compares with a fixed reference voltage, both relative to a common ground connection shared by both ends. In many instances single-ended designs are not feasible. Another difficulty is the electromagnetic interference that can be generated by a single-ended signalling system that attempts to operate at high speed.[citation needed]

## Relation to balanced interfaces

When transmitting signals differentially between two pieces of equipment it is common to do so through a balanced interface. An interface is a subsystem containing three parts: a driver, a line, and a receiver. These three components complete a full circuit for a signal to travel through and the impedances of this circuit is what determines whether the interface as a whole is balanced or not: “A balanced circuit is a two-conductor circuit in which both conductors and all circuits to connected to them have the same impedance to ground and to all other conductors.” Balanced interfaces were developed as a protection scheme against noise. In theory, it can reject any interference so long as it is common-mode (voltages that appear on both conductors).

There exists great confusion as to what constitues a balanced interface and how it relates to differential signalling. In reality, they are two completely independent concepts: balanced interfacing concerns noise and interference rejection, while differential signalling concerns headroom and crosstalk. The impedance balance of a circuit does not determine the signals it can carry and vice versa.

## Generalization: ensemble signalling

The disadvantage of differential signal transmission is that it requires twice as many wires as single-ended signal transmission. Ensemble signalling improves this by using $n$  wires to transmit $n-1$  differential signals. For $n=2$ , it is equivalent to differential signalling.

### Two-wire ensemble signalling

Two-wire ensemble signalling encodes one signal using two wires. On the encoder side, using the generator matrix

$\mathbf {G} :={\begin{pmatrix}+1&1\\-1&1\end{pmatrix}}$

and the input vector $x:=(x_{1},x_{2})$  gives $y=\mathbf {G} \cdot x$ , the two signals to transmit.

On the decoder side, using the control matrix $\mathbf {H} :=\mathbf {G} ^{-1}$

$\mathbf {H} :={\begin{pmatrix}+1/2&-1/2\\\;\;1/2&\;\;1/2\end{pmatrix}}$

and the input vector $y$  gives the initial vector $x:=\mathbf {H} \cdot y$ .

However, only $x_{1}$  is insensitive to common-mode interferences, while $x_{2}$  is highly sensitive to common-mode interferences. Removing $x_{2}$  from the calculation gives normal differential signalling:

$\mathbf {G} :={\begin{pmatrix}+1\\-1\end{pmatrix}}\;$  and $\;\mathbf {H} :={\begin{pmatrix}+1/2&-1/2\\\end{pmatrix}}$

### Four-wire ensemble signalling

Four-wire ensemble signalling encodes three signals using four wires. On the encoder side, using the generator matrix

$\mathbf {G} :={\begin{pmatrix}1&-1/3&-1/3&1/3\\-1/3&1&-1/3&1/3\\-1/3&-1/3&1&1/3\\-1/3&-1/3&-1/3&1/3\end{pmatrix}}$

and the input vector $x:=(x_{1},x_{2},x_{3},x_{4})$  gives $y=\mathbf {G} \cdot x$ , the four signals to transmit.

On the decoder side, using the control matrix $\mathbf {H} :=\mathbf {G} ^{-1}$

$\mathbf {H} :={\begin{pmatrix}3/4&0&0&-3/4\\0&3/4&0&-3/4\\0&0&3/4&-3/4\\3/4&3/4&3/4&3/4\end{pmatrix}}$

and the input vector $y$  gives the initial vector $x:=\mathbf {H} \cdot y$ .

However, $x_{1}$ , $x_{2}$  and $x_{3}$  are insensitive to common-mode interferences, while $x_{4}$  is highly sensitive to common-mode interference. Removing $x_{4}$  from the calculation gives the matrices for ensemble signalling using four wires to transmit three signals differentially.

$\mathbf {G} :={\begin{pmatrix}1&-1/3&-1/3\\-1/3&1&-1/3\\-1/3&-1/3&1\\-1/3&-1/3&-1/3\end{pmatrix}}\;$  and $\;\mathbf {H} :={\begin{pmatrix}3/4&0&0&-3/4\\0&3/4&0&-3/4\\0&0&3/4&-3/4\end{pmatrix}}$

### $n$ -wire ensemble signalling

$n$ -wire ensemble signalling encodes $n-1$  signals using $n$  wires.

$\mathbf {G} :={\begin{pmatrix}1&\cdots &-1/(n-1)\\\vdots &\ddots &\vdots \\-1/(n-1)&\cdots &1\\-1/(n-1)&\cdots &-1/(n-1)\end{pmatrix}}\;$  and $\;\mathbf {H} :={\begin{pmatrix}(n-1)/n&\cdots &0&-(n-1)/n\\\vdots &\ddots &\vdots &-(n-1)/n\\0&\cdots &(n-1)/n&-(n-1)/n\end{pmatrix}}$

## Uses of differential pairs

The technique minimizes electronic crosstalk and electromagnetic interference, both noise emission and noise acceptance, and can achieve a constant or known characteristic impedance, allowing impedance matching techniques important in a high-speed signal transmission line or high quality balanced line and balanced circuit audio signal path.

Differential pairs include:

Differential pairs generally carry differential or semi-differential signals, such as high-speed digital serial interfaces including LVDS differential ECL, PECL, LVPECL, Hypertransport, Ethernet over twisted pair, Serial Digital Interface, RS-422, RS-485, USB, Serial ATA, TMDS, FireWire, and HDMI etc. or else high quality and/or high frequency analog signals (e.g., video signals, balanced audio signals, etc.).

### Data rate examples

Data rates of some interfaces implemented with differential pairs include the following:

## Transmission lines

The type of transmission line that connects two devices (chips, modules) often dictates the type of signalling. Single-ended signalling is typically used with coaxial cables, in which one conductor totally screens the other from the environment. All screens (or shields) are combined into a single piece of material to form a common ground. Differential signalling, however, is typically used with a balanced pair of conductors. For short cables and low frequencies, the two methods are equivalent, so cheap single-ended circuits with a common ground can be used with cheap cables. As signalling speeds become faster, wires begin to behave as Transmission lines.

## Use in computers

Differential signalling is often used in computers to reduce electromagnetic interference, because complete screening is not possible with microstrips and chips in computers, due to geometric constraints and the fact that screening does not work at DC. If a DC power supply line and a low-voltage signal line share the same ground, the power current returning through the ground can induce a significant voltage in it. A low-resistance ground reduces this problem to some extent. A balanced pair of microstrip lines is a convenient solution because it does not need an additional PCB layer, as a stripline does. Because each line causes a matching image current in the ground plane, which is required anyway for supplying power, the pair looks like four lines and therefore has a shorter crosstalk distance than a simple isolated pair. In fact, it behaves as well as a twisted pair. Low crosstalk is important when many lines are packed into a small space, as on a typical PCB.

## High-voltage differential signalling

High-voltage differential (HVD) signalling uses high-voltage signals. In computer electronics, "high voltage" normally means 5 volts or more.

SCSI-1 variations included a high voltage differential (HVD) implementation whose maximum cable length was many times that of the single-ended version. SCSI equipment for example allows a maximum total cable length of 25 meters using HVD, while single-ended SCSI allows a maximum cable length of 1.5 to 6 meters, depending on bus speed. LVD versions of SCSI allow less than 25 m cable length not because of the lower voltage, but because these SCSI standards allow much higher speeds than the older HVD SCSI.

The generic term high-voltage differential signalling describes a variety of systems. Low-voltage differential signalling (LVDS), on the other hand, is a specific system defined by a TIA/EIA standard.