In
digital communications
Data communication, including data transmission and data reception, is the transfer of data, signal transmission, transmitted and received over a Point-to-point (telecommunications), point-to-point or point-to-multipoint communication chann ...
, differential coding is a technique used to provide ''unambiguous'' signal reception when using some types of
modulation
Signal modulation is the process of varying one or more properties of a periodic waveform in electronics and telecommunication for the purpose of transmitting information.
The process encodes information in form of the modulation or message ...
. It makes transmissible data dependent on both the current and previous signal (or symbol) states.
The common types of modulation that may be used with differential coding include
phase-shift keying
Phase-shift keying (PSK) is a digital modulation process which conveys data by changing (modulating) the phase of a constant frequency carrier wave. The modulation is accomplished by varying the sine and cosine inputs at a precise time. I ...
and
quadrature amplitude modulation
Quadrature amplitude modulation (QAM) is the name of a family of digital modulation methods and a related family of analog modulation methods widely used in modern telecommunications to transmit information. It conveys two analog message signa ...
.
Purposes of differential coding
When data is transmitted over
balanced lines, it is easy to accidentally invert polarity in the cable between the transmitter and the receiver.
Similarly for
BPSK
Phase-shift keying (PSK) is a digital modulation process which conveys data by changing (modulating) the phase of a constant frequency carrier wave. The modulation is accomplished by varying the sine and cosine inputs at a precise time. It is w ...
. To demodulate BPSK, one needs to make a local oscillator ''synchronous'' with the remote one. This is accomplished by a
carrier recovery circuit. However, the integer part of the recovered carrier is ambiguous. There are ''n'' valid but not equivalent phase shifts between the two oscillators. For BPSK, ''n'' = 2; the symbols appear inverted or not.
Differential encoding prevents inversion of the signal and symbols, respectively, from affecting the data.
Assuming that
is a bit intended for transmission and
was the symbol just transmitted, then the symbol to be transmitted for
is
where
indicates
binary
Binary may refer to:
Science and technology Mathematics
* Binary number, a representation of numbers using only two values (0 and 1) for each digit
* Binary function, a function that takes two arguments
* Binary operation, a mathematical op ...
or
modulo-2 addition. On the decoding side,
is recovered as
That is,
depends only on a difference between the symbols
and
and not on their values (inverted or not).
There are several different
line code
In telecommunications, a line code is a pattern of voltage, current, or photons used to represent digital data transmission (telecommunications), transmitted down a communication channel or written to a storage medium. This repertoire of signal ...
s designed to be polarity insensitive
"Spread spectrum direct sequence"
by Daniel Kraus - whether the data stream is inverted or not, the decoded data will always be correct.
The line code
In telecommunications, a line code is a pattern of voltage, current, or photons used to represent digital data transmission (telecommunications), transmitted down a communication channel or written to a storage medium. This repertoire of signal ...
s with this property include differential Manchester encoding
Differential Manchester encoding (DM) is a line code in digital frequency modulation in which data and clock signals are combined to form a single two-level self- synchronizing data stream. Each data bit is encoded by a presence or absence of ...
, bipolar encoding
In telecommunication, bipolar encoding is a type of return-to-zero (RZ) line code, where two nonzero values are used, so that the three values are +, −, and zero. Such a signal is called a duobinary signal. Standard bipolar encodings are designe ...
, NRZI, biphase mark code
Biphase or Bi-phase may refer to:
* Biphase modulation, or binary phase-shift keying
* Differential Manchester encoding, also known as Aiken biphase or biphase mark code
* Harvard biphase, used to encode data onto magnetic tape
* Mu-Tron Bi-Pha ...
, coded mark inversion
file:Cmi.gif, frame, CMI line coding
In telecommunication, coded mark inversion (CMI) is a non-return-to-zero (NRZ) line code. It encodes ''zero'' bits as a half bit time of zero followed by a half bit time of one, and while ''one'' bits are encod ...
, and MLT-3 encoding
MLT-3 encoding (Multi-Level Transmit) is a line code (a signaling method used in a telecommunication system for transmission purposes) that uses three voltage levels. An MLT-3 interface emits less electromagnetic interference and requires less ba ...
.
Conventional differential coding
A method illustrated above can deal with a data stream inversion (it is called ''180° ambiguity''). Sometimes it is enough (e.g. if BPSK is used or if other ambiguities are detected by other circuits, such as a Viterbi decoder
A Viterbi decoder uses the Viterbi algorithm for decoding a bitstream that has been
encoded using a convolutional code or trellis code.
There are other algorithms for decoding a convolutionally encoded stream (for example, the Fano algorithm). Th ...
or a frame synchronizer) and sometimes it isn't.
Generally speaking, a ''differential coding'' applies to ''symbols'' (these are not necessary the same symbols as used in the modulator). To resolve ''180° ambiguity'' only, bits are used as these symbols. When dealing with ''90° ambiguity'', pairs of bits are used, and triplets of bits are used to resolve ''45° ambiguity'' (e.g. in 8PSK).
A ''differential encoder'' provides the () operation, a ''differential decoder'' - the () operation.
Both differential encoder and differential decoder are discrete linear time-invariant systems. The former is recursive and IIR, the latter is non-recursive and thus FIR
Firs are evergreen coniferous trees belonging to the genus ''Abies'' () in the family Pinaceae. There are approximately 48–65 extant species, found on mountains throughout much of North and Central America, Eurasia, and North Africa. The genu ...
. They can be analyzed as digital filter
In signal processing, a digital filter is a system that performs mathematical operations on a Sampling (signal processing), sampled, discrete-time signal to reduce or enhance certain aspects of that signal. This is in contrast to the other ma ...
s.
A ''differential encoder'' is similar to an analog integrator
An integrator in measurement and control applications is an element whose output signal is the time integral of its input signal. It accumulates the input quantity over a defined time to produce a representative output.
Integration is an importan ...
. It has an impulse response
In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an impulse (). More generally, an impulse response is the reac ...
:
and a transfer function
In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, models the system's output for each possible ...
:
A ''differential decoder'' is thus similar to an analog differentiator
In electronics, a differentiator is a Electrical network, circuit that outputs a signal approximately proportional to the rate of change (mathematics), rate of change (i.e. the derivative with respect to time) of its input signal. Because the Sine ...
, its impulse response being
:
and its transfer function
:
Note that in binary (modulo-2) arithmetic, addition and subtraction (and positive and negative numbers) are equivalent.
Generalized differential coding
Using the relation is not the only way of carrying out differential encoding. More generally, it can be any function provided that an equation has one and only one solution for any and .
Applications
Differential coding is widely used in satellite
A satellite or an artificial satellite is an object, typically a spacecraft, placed into orbit around a celestial body. They have a variety of uses, including communication relay, weather forecasting, navigation ( GPS), broadcasting, scient ...
and radio relay
Radio stations that cannot communicate directly due to distance, terrain or other difficulties sometimes use an intermediate radio relay station to relay the signals. A radio relay receives weak signals and retransmits them, often in a different di ...
communications together with PSK and QAM modulations.
Drawbacks
Differential coding has one significant drawback: it leads to error multiplication. That is, if one symbol such as was received incorrectly, two incorrect symbols and would be at the differential decoder's output, see:
and . This approximately doubles the BER at signal-to-noise ratios for which errors rarely occur in consecutive symbols.
Other techniques to resolve a phase ambiguity
Differential coding is not the only way to deal with a phase ambiguity. The other popular technique is to use ''syncword
In computer networks, a syncword, sync character, sync sequence or preamble is used to synchronize a data transmission by indicating the end of header information and the start of data. The syncword is a known sequence of data used to identif ...
s'' for this purpose. That is, if a ''frame synchronizer'' detects repeated inverted sync-words, it inverts the whole stream. This method is used in DVB-S
Digital Video Broadcasting – Satellite (DVB-S) is the original DVB standard for satellite television and dates from 1995, in its first release, while development lasted from 1993 to 1997. The first commercial applications were by Canal+ in ...
.
See also
* Phase-shift keying
Phase-shift keying (PSK) is a digital modulation process which conveys data by changing (modulating) the phase of a constant frequency carrier wave. The modulation is accomplished by varying the sine and cosine inputs at a precise time. I ...
* Satellite modem
External links and references
* Intelsat
Intelsat S.A. (formerly Intel-Sat, Intelsat) is a Luxembourgish-American multinational satellite services provider with corporate headquarters in Luxembourg and administrative headquarters in Tysons, Virginia, United States. Originally formed ...
Earth Station Standard IESS-308
* DVB framing structure, channel coding and modulation for 11/12 GHz satellite services (EN 300 421)
{{reflist
Data transmission