0% found this document useful (0 votes)
322 views

TUTORIAL 2 - Differential Encoding

Differential encoding is used to provide polarity reversal protection and phase reference. It protects against unintentional polarity reversals of bit streams by differentially encoding data sequences, where each bit is the sum of the previous bit and data bit. This allows the original data sequence to be recovered regardless of whether the received sequence was reversed or not. Differential encoding can also be used to encode phase information in differential phase-shift keying systems like DPSK, where the phase changes are used for decoding rather than the absolute phases.

Uploaded by

Hamzah Naser
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
322 views

TUTORIAL 2 - Differential Encoding

Differential encoding is used to provide polarity reversal protection and phase reference. It protects against unintentional polarity reversals of bit streams by differentially encoding data sequences, where each bit is the sum of the previous bit and data bit. This allows the original data sequence to be recovered regardless of whether the received sequence was reversed or not. Differential encoding can also be used to encode phase information in differential phase-shift keying systems like DPSK, where the phase changes are used for decoding rather than the absolute phases.

Uploaded by

Hamzah Naser
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Contemporary Report

http://www.complextoreal.com/diffcod.htm

SIGNAL PROCESSING & SIMULATION NEWSLETTER


TUTORIAL 2 - DIFFERENTIAL ENCODING
One of the common difficulties in communications engineering is that often the same terms are used to represent different ideas. Differential Encoding is one such term. We will describe here two common ways this term is used and unless you know these differences, they can lead to confusion.

Differential Encoding Is used to provide polarity reversal protection


Bit streams going through the many communications circuits in the channel can be un-intentionally inverted. Most signal processing circuits can not tell if the whole stream is inverted. This is also called phase ambiguity. Differential Encoding is used to protect against this possibility. It is one of the simplest form of error protection coding done on a baseband sequence prior to modulation. A Differential Coding system consists of a modulo 2 adder operation as shown below. din = Data sequence in eout = Differentially Encoded data sequence out

Encoding

Eout

din + en-1

Here is how it works. Lets take a sequence as shown below. The Encoding circuit above has a reference bit (it can be 0 or 1, it doesnt matter). The incoming data sequence is added to this reference bit and forms the second bit of the encoded sequence. This bit is then added to the next data bit to

1 of 3

1/25/2008 3:30 AM

Contemporary Report

http://www.complextoreal.com/diffcod.htm

continue the process as shown below.

Decoding

The decoding process reverses the above. The incoming bits are added together to recreate the input data sequence. There are now two possibilities, 1. that the received sequence was not reversed and 2. that it was. lets see how the circuit deals with each of these two possibilities. Bit Sequence Received Correctly

Bit Sequence Received Reversed

In either case, by the magic of binary numbers, we were able to get the original bit sequence back.

2 of 3

1/25/2008 3:30 AM

Contemporary Report

http://www.complextoreal.com/diffcod.htm

Differential Encoding - Used to provide phase reference Differential Encoding as in DEBPSK or DPSK) is an another way to apply this same concept. Although the concept is exactly the same, here the purpose of Differential Encoding is to enocode the information in terms of phase changes. DPSK or DEBPSK is used in situations where coherent detection is not possible and the signal phase transitions are used to decode the data. We will look at the details of this modulation in a later release. Summary: Main purpose of Differential Encoding is to protect against polarity reversals of input bit sequences. Hence Differentially Encoded data sequences have a slightly superior error performance. Differential Encoding is also used to provide a way to decode a BPSK signal, called DEBPSK or DPSK. The operation is exactly the same as described above. In software simulation, there is no chance that a bit sequence will be reversed. So when creating a simulation model of a Differentially Encoded sequence, we can ignore this baseband coding. However, when modeling a DPSK system, we need to consider its implication since it is essential to the system.

3 of 3

1/25/2008 3:30 AM

You might also like