Differential signaling
Differential signaling 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 or traces on a circuit board. The receiving circuit responds to the electrical difference between the two signals, rather than the difference between a single wire and ground. The opposite technique is called single-ended signalling.
Differential pairs are usually found on printed circuit boards, in twisted-pair and ribbon cables, and in connectors.
Advantages
Provided that the source and receiver impedances in a circuit are equal, external electromagnetic interference tends to affect both conductors identically. Since the receiving circuit only detects the difference between the wires, the technique resists electromagnetic noise compared to one conductor with an un-balanced reference.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. This improves SNR, reduces EMI, and makes the signal more immune to ground currents or differences.
The technique works for both analog signaling, as in balanced audio—and digital signaling, 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. A low supply voltage, however, reduces noise immunity. Differential signaling 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. The high logic level is and the low logic level is 0 V. The difference between the two levels is therefore. Now consider a differential system with the same supply voltage. The voltage difference in the high state, where one wire is at and the other at 0 V, is. The voltage difference in the low state, where the voltages on the wires are exchanged, is. The difference between high and low logic levels is therefore. 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.
Resistance to electromagnetic interference
This advantage is not directly due to differential signaling itself, but to the common practice of transmitting differential signals on balanced lines. Single-ended signals are still resistant to interference if the lines are balanced and terminated by a differential amplifier.Comparison with single-ended signaling
In single-ended signaling, 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 signaling system that attempts to operate at high speed.Generalization: Ensemble Signaling
The disadvantage of differential signal transmission is that it requires twice as many wires as single-ended signal transmission.Ensemble signaling improves this by using n wires to transmit n−1 differential signals.
is equivalent to differential signalling.
2-wire ensemble signalling (encoding one signal using two wires)
Encoder: Using the generator matrixand the input vector you get, the two signals to transmit.
Decoder: Using the control matrix
and the input vector you get your initial vector.
;But: Only is insensitive to common mode interferences, is highly sensitive to common mode interferences.
By removing from the calculation you get normal differential signaling:
4-wire ensemble signalling (encoding three signals using four wires)
Encoder: Using the generator matrixand the input vector you get, the four signals to transmit.
Decoder: Using the control matrix
and the input vector you get your initial vector.
;But:, and is insensitive to common mode interferences, is highly sensitive to common mode interferences.
By removing from the calculation you get the matrices for ensemble signaling using four wires to transmit three signals differentially.
n-wire ensemble signalling (encoding n−1 signals using n wires)
andUses
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:
- twisted-pair cables, shielded and unshielded
- microstrip and stripline differential pair routing techniques on printed circuit boards
Data rates of some interfaces implemented with differential pairs
- Serial ATA 1.5 Gbit/s
- Hypertransport 1.6 Gbit/s
- Infiniband 2.5 Gbit/s
- PCI Express 2.5 Gbit/s
- Serial ATA Revision 2.0 2.4 Gbit/s
- XAUI 3.125 Gbit/s
- Serial ATA Revision 3.0 6 Gbit/s
- PCI Express 2.0 5.0 Gbit/s per lane
- 10 Gigabit Ethernet 10 Gbit/s
- DDR SDRAM 3.2 Gbit/s
Transmission lines
Use in computers
Differential signaling 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 signaling
High-voltage differential signaling uses high-voltage signals. In computer electronics, "high voltage" normally means 5 volts or more.SCSI-1 variations included a high voltage differential 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 signaling describes a variety of systems. Low-voltage differential signaling or LVDS, on the other hand, is a specific system defined by a TIA/EIA standard.