Differential coding
   HOME

TheInfoList



OR:

In
digital communications Data transmission and data reception or, more broadly, data communication or digital communications is the transfer and reception of data in the form of a digital bitstream or a digitized analog signal transmitted over a point-to-point or ...
, differential coding is a technique used to provide ''unambiguous'' signal reception when using some types of
modulation In electronics and telecommunications, modulation is the process of varying one or more properties of a periodic waveform, called the '' carrier signal'', with a separate signal called the ''modulation signal'' that typically contains informat ...
. It makes data to be transmitted to depend not only on the current signal state (or symbol), but also on the previous one. The common types of modulation that require 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 reference signal (the carrier wave). The modulation is accomplished by varying the sine and cosine inputs ...
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 twisted-pair wires, it is easy to accidentally insert an extra half-twist in the cable between the transmitter and the receiver. When this happens, the received signal is inverted. Similarly for
BPSK Phase-shift keying (PSK) is a digital modulation process which conveys data by changing (modulating) the phase of a constant frequency reference signal (the carrier wave). The modulation is accomplished by varying the sine and cosine inputs at ...
. 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 x_i is a bit intended for transmission and y_ was the symbol just transmitted, then the symbol to be transmitted for x_i is where \oplus indicates binary or modulo-2 addition. On the decoding side, x_i is recovered as That is, x_i depends only on a difference between the symbols y_i and y_ and not on their values (inverted or not). There are several different
line code In telecommunication, a line code is a pattern of voltage, current, or photons used to represent digital data transmitted down a communication channel or written to a storage medium. This repertoire of signals is usually called a constrained ...
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 telecommunication, a line code is a pattern of voltage, current, or photons used to represent digital data transmitted down a communication channel or written to a storage medium. This repertoire of signals is usually called a constrained ...
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. In various specific applications, this method is also call ...
, bipolar encoding, NRZI,
biphase mark code 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. In various specific applications, this method is also call ...
, coded mark inversion, and MLT-3 encoding. coding ''


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). T ...
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 Phase-shift keying (PSK) is a digital modulation process which conveys data by changing (modulating) the phase of a constant frequency reference signal (the carrier wave). The modulation is accomplished by varying the sine and cosine inputs at a ...
). 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. They can be analyzed as
digital filter In signal processing, a digital filter is a system that performs mathematical operations on a sampled, discrete-time signal to reduce or enhance certain aspects of that signal. This is in contrast to the other major type of electronic filter, t ...
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 ...
:h(k)=\begin 1, & \mbox k \ge 0 \\ 0, & \mbox k < 0 \end 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 mathematical function that theoretically models the system's output for each possible input. They are widely used ...
:H(z)=\frac. A ''differential decoder'' is thus similar to an analog
differentiator In electronics, a differentiator is a circuit that is designed such that the output of the circuit is approximately directly proportional to the rate of change (the time derivative) of the input. A true differentiator cannot be physically realized, ...
, its impulse response being :h(k)=\begin 1, & \mbox k=0 \\ -1, & \mbox k=1 \\ 0, & \mbox \end and its transfer function :H(z)=1-z^. Note that in binary (modulo-2) arithmetic, addition and subtraction (and positive and negative numbers) are equivalent.


Generalized differential coding

Using the relation y_ \oplus x_i = y_i is not the only way of carrying out differential encoding. More generally, it can be any function u = F(y, x) provided that an equation u_0 =F (y_0, x) has one and only one solution for any y_0 and u_0.


Applications

Differential coding is widely used in
satellite A satellite or artificial satellite is an object intentionally placed into orbit in outer space. Except for passive satellites, most satellites have an electricity generation system for equipment on board, such as solar panels or radioiso ...
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 y_i was received incorrectly, two incorrect symbols x_i and x_ would be at the differential decoder's output, see: x_i=y_i \oplus y_ and x_=y_ \oplus y_i. This approximately doubles the
BER ''Ziziphus mauritiana'', also known as Indian jujube, Indian plum, Chinese date, Chinese apple, ber, and dunks is a tropical fruit tree species belonging to the family Rhamnaceae. It is often confused with the closely related Chinese jujube (' ...
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 '' syncwords'' 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 was by Star TV in Asia ...
.


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 reference signal (the carrier wave). The modulation is accomplished by varying the sine and cosine inputs ...
* Satellite modem


External links and references

{{Reflist *
INTELSAT Intelsat S.A. (formerly INTEL-SAT, INTELSAT, Intelsat) is a multinational satellite services provider with corporate headquarters in Luxembourg and administrative headquarters in Tysons Corner, Virginia, United States. Originally formed as I ...
Earth Station Standard IESS-308 *
DVB Digital Video Broadcasting (DVB) is a set of international open standards for digital television. DVB standards are maintained by the DVB Project, an international industry consortium, and are published by a Joint Technical Committee (JTC) o ...
framing structure, channel coding and modulation for 11/12 GHz satellite services (EN 300 421) Data transmission