fbpx
Wikipedia

Differential coding

In digital communications, differential coding is a technique used to provide unambiguous signal reception when using some types of modulation. 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 may be used with differential coding include phase-shift keying and quadrature amplitude modulation.

Purposes of differential coding edit

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. 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

 

 

 

 

 

(1)

where   indicates binary or modulo-2 addition. On the decoding side,   is recovered as

 

 

 

 

 

(2)

That is,   depends only on a difference between the symbols   and   and not on their values (inverted or not).

There are several different line codes designed to be polarity insensitive[1] -- whether the data stream is inverted or not, the decoded data will always be correct. The line codes with this property include differential Manchester encoding, bipolar encoding, NRZI, biphase mark code, coded mark inversion, and MLT-3 encoding.

Conventional differential coding edit

 
A differential encoder
 
A differential decoder

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 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 (1) operation, a differential decoder - the (2) 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 filters.

A differential encoder is similar to an analog integrator. It has an impulse response

 

and a transfer function

 

A differential decoder is thus similar to an analog differentiator, 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 edit

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 edit

Differential coding is widely used in satellite and radio relay communications together with PSK and QAM modulations.

Drawbacks edit

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 edit

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.

See also edit

External links and references edit

  1. ^ "Spread spectrum direct sequence" by Daniel Kraus
  • INTELSAT Earth Station Standard IESS-308
  • DVB framing structure, channel coding and modulation for 11/12 GHz satellite services (EN 300 421)

differential, coding, digital, communications, differential, coding, technique, used, provide, unambiguous, signal, reception, when, using, some, types, modulation, makes, data, transmitted, depend, only, current, signal, state, symbol, also, previous, common,. In digital communications differential coding is a technique used to provide unambiguous signal reception when using some types of modulation 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 may be used with differential coding include phase shift keying and quadrature amplitude modulation Contents 1 Purposes of differential coding 2 Conventional differential coding 3 Generalized differential coding 4 Applications 5 Drawbacks 6 Other techniques to resolve a phase ambiguity 7 See also 8 External links and referencesPurposes of differential coding editWhen 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 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 xi displaystyle x i nbsp is a bit intended for transmission and yi 1 displaystyle y i 1 nbsp was the symbol just transmitted then the symbol to be transmitted for xi displaystyle x i nbsp is yi yi 1 xi displaystyle y i y i 1 oplus x i nbsp 1 where displaystyle oplus nbsp indicates binary or modulo 2 addition On the decoding side xi displaystyle x i nbsp is recovered as xi yi yi 1 displaystyle x i y i oplus y i 1 nbsp 2 That is xi displaystyle x i nbsp depends only on a difference between the symbols yi displaystyle y i nbsp and yi 1 displaystyle y i 1 nbsp and not on their values inverted or not There are several different line codes designed to be polarity insensitive 1 whether the data stream is inverted or not the decoded data will always be correct The line codes with this property include differential Manchester encoding bipolar encoding NRZI biphase mark code coded mark inversion and MLT 3 encoding Conventional differential coding edit nbsp A differential encoder nbsp A differential decoderA 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 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 1 operation a differential decoder the 2 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 filters A differential encoder is similar to an analog integrator It has an impulse response h k 1 if k 00 if k lt 0 displaystyle h k begin cases 1 amp mbox if k geq 0 0 amp mbox if k lt 0 end cases nbsp and a transfer function H z 11 z 1 displaystyle H z frac 1 1 z 1 nbsp A differential decoder is thus similar to an analog differentiator its impulse response being h k 1 if k 0 1 if k 10 otherwise displaystyle h k begin cases 1 amp mbox if k 0 1 amp mbox if k 1 0 amp mbox otherwise end cases nbsp and its transfer function H z 1 z 1 displaystyle H z 1 z 1 nbsp Note that in binary modulo 2 arithmetic addition and subtraction and positive and negative numbers are equivalent Generalized differential coding editUsing the relation yi 1 xi yi displaystyle y i 1 oplus x i y i nbsp is not the only way of carrying out differential encoding More generally it can be any function u F y x displaystyle u F y x nbsp provided that an equation u0 F y0 x displaystyle u 0 F y 0 x nbsp has one and only one solution for any y0 displaystyle y 0 nbsp and u0 displaystyle u 0 nbsp Applications editDifferential coding is widely used in satellite and radio relay communications together with PSK and QAM modulations Drawbacks editDifferential coding has one significant drawback it leads to error multiplication That is if one symbol such as yi displaystyle y i nbsp was received incorrectly two incorrect symbols xi displaystyle x i nbsp and xi 1 displaystyle x i 1 nbsp would be at the differential decoder s output see xi yi yi 1 displaystyle x i y i oplus y i 1 nbsp and xi 1 yi 1 yi displaystyle x i 1 y i 1 oplus y i nbsp 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 editDifferential 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 See also editPhase shift keying Satellite modemExternal links and references edit Spread spectrum direct sequence by Daniel Kraus INTELSAT Earth Station Standard IESS 308 DVB framing structure channel coding and modulation for 11 12 GHz satellite services EN 300 421 Retrieved from https en wikipedia org w index php title Differential coding amp oldid 1191036363, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.