Differential signalling is a method for
electrically transmitting
information
Information is an Abstraction, abstract concept that refers to something which has the power Communication, to inform. At the most fundamental level, it pertains to the Interpretation (philosophy), interpretation (perhaps Interpretation (log ...
using two complementary
signal
A signal is both the process and the result of transmission of data over some media accomplished by embedding some variation. Signals are important in multiple subject fields including signal processing, information theory and biology.
In ...
s. 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
A printed circuit board (PCB), also called printed wiring board (PWB), is a Lamination, laminated sandwich structure of electrical conduction, conductive and Insulator (electricity), insulating layers, each with a pattern of traces, planes ...
.
Electrically, the two conductors carry
voltage
Voltage, also known as (electrical) potential difference, electric pressure, or electric tension, is the difference in electric potential between two points. In a Electrostatics, static electric field, it corresponds to the Work (electrical), ...
signals which are equal in
magnitude
Magnitude may refer to:
Mathematics
*Euclidean vector, a quantity defined by both its magnitude and its direction
*Magnitude (mathematics), the relative size of an object
*Norm (mathematics), a term for the size or length of a vector
*Order of ...
, 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.
The
symmetrical signals of differential signalling may be referred to as ''balanced'', but this term is more appropriately applied to
balanced circuits and
balanced lines which reject
common-mode interference when fed into a differential receiver. Differential signalling does not make a line balanced, nor does
noise
Noise is sound, chiefly unwanted, unintentional, or harmful sound considered unpleasant, loud, or disruptive to mental or hearing faculties. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrat ...
rejection in balanced circuits require differential signalling.
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.
Advantages
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:
* Doubled signal voltage between the differential pair (compared to a single-ended signal of the same
nominal level), giving 6 dB extra
headroom.
*
Common-mode noise between the two amps (e.g. from imperfect
power supply rejection) is easily rejected by a differential receiver.
* Longer cable runs are possible due to this increased noise immunity and 6 dB extra headroom.
* 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
Balanced audio is a method of interconnecting audio equipment using balanced interfaces. This type of connection is very important in sound recording and production because it allows the use of long cables while reducing susceptibility to extern ...
, and in digital signalling, as in
RS-422
RS-422, also known as TIA/EIA-422, is a technical standard originated by the Electronic Industries Alliance, first issued in 1975, that specifies the electrical characteristics of a digital signaling circuit. It was meant to be the foundation ...
,
RS-485
RS-485, also known as TIA-485(-A) or EIA-485, is a standard, originally introduced in 1983, defining the electrical characteristics of drivers and receivers for use in serial communications systems. Electrical signaling is balanced, and Telecomm ...
,
Ethernet over twisted pair
Ethernet over twisted-pair technologies use twisted-pair cables for the physical layer of an Ethernet computer network. They are a subset of all Ethernet physical layers.
Early Ethernet used various grades of coaxial cable, but in 1984, Star ...
,
PCI Express
PCI Express (Peripheral Component Interconnect Express), officially abbreviated as PCIe, is a high-speed standard used to connect hardware components inside computers. It is designed to replace older expansion bus standards such as Peripher ...
,
DisplayPort
DisplayPort (DP) is a digital interface used to connect a video source, such as a Personal computer, computer, to a display device like a Computer monitor, monitor. Developed by the Video Electronics Standards Association (VESA), it can also car ...
,
HDMI
High-Definition Multimedia Interface (HDMI) is a proprietary digital interface used to transmit high-quality video and audio signals between devices. It is commonly used to connect devices such as televisions, computer monitors, projectors, gam ...
and
USB
Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
.
Suitability for use with low-voltage electronics
The
electronics industry
The electronics industry is the industry (economics), industry that produces electronic devices. It emerged in the 20th century and is today one of the largest global industries. Contemporary society uses a vast array of electronic devices that ar ...
, particularly in portable and mobile devices, continually strives to lower supply voltage to save power. 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
. 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.
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.
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 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 with equal magnitude and the same polarity in both conductors).
There exists great confusion as to what constitutes 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 only concerns headroom. The impedance balance of a circuit does not determine the signals it can carry and vice versa.
Uses of differential pairs
The technique minimizes electronic
crosstalk
In electronics, crosstalk (XT) is a phenomenon by which a signal transmitted on one circuit or channel of a transmission system creates an undesired effect in another circuit or channel. Crosstalk is usually caused by undesired capacitive, ...
and
electromagnetic interference, both
noise
Noise is sound, chiefly unwanted, unintentional, or harmful sound considered unpleasant, loud, or disruptive to mental or hearing faculties. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrat ...
emission and noise acceptance, and can achieve a constant or known
characteristic impedance
The characteristic impedance or surge impedance (usually written Z0) of a uniform transmission line is the ratio of the amplitudes of voltage and current of a wave travelling in one direction along the line in the absence of reflections in th ...
, allowing
impedance matching
In electrical engineering, impedance matching is the practice of designing or adjusting the input impedance or output impedance of an electrical device for a desired value. Often, the desired value is selected to maximize power transfer or ...
techniques important in a high-speed signal
transmission line
In electrical engineering, a transmission line is a specialized cable or other structure designed to conduct electromagnetic waves in a contained manner. The term applies when the conductors are long enough that the wave nature of the transmis ...
or high-quality balanced line and balanced circuit audio signal path.
Differential pairs include:
*
Twisted-pair cables,
shielded and unshielded
*
Microstrip
Microstrip is a type of electrical transmission line which can be fabricated with any technology where a conductor is separated from a ground plane by a dielectric layer known as ''substrate''. Microstrip lines are used to convey microwave-freq ...
and
stripline
In electronics, stripline is a transverse electromagnetic (TEM) transmission line medium invented by Robert M. Barrett of the Air Force Cambridge Research Centre in the 1950s. Stripline is the earliest form of planar transmission line.
De ...
differential pair routing techniques on
printed circuit board
A printed circuit board (PCB), also called printed wiring board (PWB), is a Lamination, laminated sandwich structure of electrical conduction, conductive and Insulator (electricity), insulating layers, each with a pattern of traces, planes ...
s
Differential pairs generally carry differential or semi-differential signals, such as high-speed digital serial interfaces including
LVDS differential
ECL,
PECL,
LVPECL,
Hypertransport
HyperTransport (HT), formerly known as Lightning Data Transport, is a technology for interconnection of computer Processor (computing), processors. It is a bidirectional Serial communication, serial/Parallel communication, parallel high-Bandwi ...
,
Ethernet over twisted pair
Ethernet over twisted-pair technologies use twisted-pair cables for the physical layer of an Ethernet computer network. They are a subset of all Ethernet physical layers.
Early Ethernet used various grades of coaxial cable, but in 1984, Star ...
,
serial digital interface
Serial digital interface (SDI) is a family of digital video Interface (computing), interfaces first standardized by SMPTE (The Society of Motion Picture and Television Engineers) in 1989. For example, ITU-R BT.656 and SMPTE 259M define digital ...
,
RS-422
RS-422, also known as TIA/EIA-422, is a technical standard originated by the Electronic Industries Alliance, first issued in 1975, that specifies the electrical characteristics of a digital signaling circuit. It was meant to be the foundation ...
,
RS-485
RS-485, also known as TIA-485(-A) or EIA-485, is a standard, originally introduced in 1983, defining the electrical characteristics of drivers and receivers for use in serial communications systems. Electrical signaling is balanced, and Telecomm ...
,
USB
Universal Serial Bus (USB) is an industry standard, developed by USB Implementers Forum (USB-IF), for digital data transmission and power delivery between many types of electronics. It specifies the architecture, in particular the physical ...
,
Serial ATA
SATA (Serial AT Attachment) is a computer bus interface that connects host adapter, host bus adapters to mass storage devices such as hard disk drives, optical drives, and solid-state drives. Serial ATA succeeded the earlier Parallel ATA (PAT ...
,
TMDS,
FireWire
IEEE 1394 is an interface standard for a serial bus for high-speed communications and isochronous real-time data transfer. It was developed in the late 1980s and early 1990s by Apple in cooperation with a number of companies, primarily Sony a ...
, and
HDMI
High-Definition Multimedia Interface (HDMI) is a proprietary digital interface used to transmit high-quality video and audio signals between devices. It is commonly used to connect devices such as televisions, computer monitors, projectors, gam ...
, etc., or else high quality and/or high frequency analog signals (e.g.
video signal
Video is an electronic medium for the recording, copying, playback, broadcasting, and display of moving visual media. Video was first developed for mechanical television systems, which were quickly replaced by cathode-ray tube (CRT) ...
s, balanced audio signals, etc.).
Differential signalling often uses length-matched wires or conductors which are used in high speed
serial links.
Data rate examples
Data rates of some interfaces implemented with differential pairs include the following:
*
Serial ATA
SATA (Serial AT Attachment) is a computer bus interface that connects host adapter, host bus adapters to mass storage devices such as hard disk drives, optical drives, and solid-state drives. Serial ATA succeeded the earlier Parallel ATA (PAT ...
– 1.5 Gbit/s
*
Hypertransport
HyperTransport (HT), formerly known as Lightning Data Transport, is a technology for interconnection of computer Processor (computing), processors. It is a bidirectional Serial communication, serial/Parallel communication, parallel high-Bandwi ...
– 1.6 Gbit/s
*
Infiniband
InfiniBand (IB) is a computer networking communications standard used in high-performance computing that features very high throughput and very low latency. It is used for data interconnect both among and within computers. InfiniBand is also used ...
– 2.5 Gbit/s
*
PCI Express
PCI Express (Peripheral Component Interconnect Express), officially abbreviated as PCIe, is a high-speed standard used to connect hardware components inside computers. It is designed to replace older expansion bus standards such as Peripher ...
– 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 Gigabit Ethernet (abbreviated 10GE, 10GbE, or 10 GigE) is a group of computer networking technologies for transmitting Ethernet frames at a rate of 10 gigabits per second. It was first defined by the IEEE 802.3ae-2002 standard. Unlik ...
– 10 Gbit/s (four differential pairs running at 2.5 Gbit/s each)
*
DDR SDRAM
Double Data Rate Synchronous Dynamic Random-Access Memory (DDR SDRAM) is a double data rate (DDR) synchronous dynamic random-access memory (SDRAM) class of memory integrated circuits used in computers. DDR SDRAM, also retroactively called DDR ...
– 3.2 Gbit/s (differential strobes latch single-ended data)
Transmission lines
The type of
transmission line
In electrical engineering, a transmission line is a specialized cable or other structure designed to conduct electromagnetic waves in a contained manner. The term applies when the conductors are long enough that the wave nature of the transmis ...
that connects two devices (chips, modules) often dictates the type of signalling. Single-ended signalling is typically used with
coaxial cable
Coaxial cable, or coax (pronounced ), is a type of electrical cable consisting of an inner Electrical conductor, conductor surrounded by a concentric conducting Electromagnetic shielding, shield, with the two separated by a dielectric (Insulat ...
s, 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
microstrip
Microstrip is a type of electrical transmission line which can be fabricated with any technology where a conductor is separated from a ground plane by a dielectric layer known as ''substrate''. Microstrip lines are used to convey microwave-freq ...
s 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
In electronics, stripline is a transverse electromagnetic (TEM) transmission line medium invented by Robert M. Barrett of the Air Force Cambridge Research Centre in the 1950s. Stripline is the earliest form of planar transmission line.
De ...
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
Voltage, also known as (electrical) potential difference, electric pressure, or electric tension, is the difference in electric potential between two points. In a Electrostatics, static electric field, it corresponds to the Work (electrical), ...
signals. In
computer
A computer is a machine that can be Computer programming, programmed to automatically Execution (computing), carry out sequences of arithmetic or logical operations (''computation''). Modern digital electronic computers can perform generic set ...
electronics, ''high voltage'' normally means 5 volts or more.
SCSI
Small Computer System Interface (SCSI, ) is a set of standards for physically connecting and transferring data between computers and peripheral devices, best known for its use with storage devices such as hard disk drives. SCSI was introduced ...
-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.
Polarity switching
Some integrated circuits dealing with differential signals provide a hardware option (via
strapping options, under firmware control, or even automatic) to swap the polarity of the two differential signals, called ''differential pair swapping'', ''polarity reversion'', ''differential pair inversion'', ''polarity inversion'', or ''lane inversion''. This can be utilized to simplify or improve the
routing
Routing is the process of selecting a path for traffic in a Network theory, network or between or across multiple networks. Broadly, routing is performed in many types of networks, including circuit-switched networks, such as the public switched ...
of high-speed differential pairs of traces on
printed circuit board
A printed circuit board (PCB), also called printed wiring board (PWB), is a Lamination, laminated sandwich structure of electrical conduction, conductive and Insulator (electricity), insulating layers, each with a pattern of traces, planes ...
s in hardware development, to help to cope with common cabling errors through swapped wires, or easily fix common design errors under firmware control.
Many
Ethernet
Ethernet ( ) is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 198 ...
PHY transceiver
In radio communication, a transceiver is an electronic device which is a combination of a radio ''trans''mitter and a re''ceiver'', hence the name. It can both transmit and receive radio waves using an antenna, for communication purposes. The ...
s support this as ''auto polarity detection and correction'' (not to be confused with a similar ''
auto crossover'' feature).
PCIe
PCI Express (Peripheral Component Interconnect Express), officially abbreviated as PCIe, is a high-speed standard used to connect hardware components inside computers. It is designed to replace older expansion bus standards such as Peripher ...
and
USB SuperSpeed also support lane polarity inversion.
Another way to deal with polarity errors is to use
polarity-insensitive line codes.
See also
*
Backplane
A backplane or backplane system is a group of electrical connectors in parallel with each other, so that each pin of each connector is linked to the same relative pin of all the other connectors, forming a computer bus. It is used to connect s ...
s
*
Common-mode signal
*
Current loop
In electrical signalling an analog current loop is used where a device must be monitored or controlled remotely over a pair of conductors. Only one current level can be present at any time.
A major application of current loops is the industry ...
signalling
*
Current-mode logic (CML)
*
DDR SDRAM
Double Data Rate Synchronous Dynamic Random-Access Memory (DDR SDRAM) is a double data rate (DDR) synchronous dynamic random-access memory (SDRAM) class of memory integrated circuits used in computers. DDR SDRAM, also retroactively called DDR ...
*
Differential amplifier
A differential amplifier is a type of electronic amplifier that amplifies the difference between two input voltages but suppresses any voltage common to the two inputs. It is an analog circuit with two inputs V_\text^- and V_\text^+ and one outp ...
*
Differential TTL
*
DisplayPort
DisplayPort (DP) is a digital interface used to connect a video source, such as a Personal computer, computer, to a display device like a Computer monitor, monitor. Developed by the Video Electronics Standards Association (VESA), it can also car ...
*
Humbucker
A humbucker, humbucking pickup, or double coil, is a guitar pickup that uses two wire coils to cancel out noisy interference from Single coil guitar pickup, coil pickups. Humbucking coils are also used in Microphone, dynamic microphones to can ...
*
Signal integrity
Signal integrity or SI is a set of measures of the quality of an electrical signal. In digital electronics, a stream of binary values is represented by a voltage (or current) waveform. However, digital signals are fundamentally analog signal, anal ...
*
Single-ended signaling
*
Transition-minimized differential signaling (TMDS)
References
{{DEFAULTSORT:Differential signalling
Computer buses
Communication circuits
Telecommunications engineering
ja:差動信号