01.05.2017 Views

563489578934

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sec. 3–5 Line Codes and Spectra 175<br />

where is a modulo 2 adder or an exclusive-OR gate (XOR) operation. The received encoded<br />

data are decoded by<br />

(3–48)<br />

where the tilde denotes receiving-end data.<br />

Each digit in the encoded sequence is obtained by comparing the present input bit<br />

with the past encoded bit. A binary 1 is encoded if the present input bit and the past<br />

encoded bit are of opposite state, and a binary 0 is encoded if the states are the same. This<br />

is equivalent to the truth table of an XOR (exclusive-OR) gate or a modulo 2 adder. An<br />

example of an encoded sequence is shown in Table 3–4, where the beginning reference digit<br />

is a binary 1. At the receiver, the encoded signal is decoded by comparing the state of adjacent<br />

bits. If the present received encoded bit has the same state as the past encoded bit, a<br />

binary 0 is the decoded output. Similarly, a binary 1 is decoded for opposite states. As<br />

shown in the table, the polarity of the differentially encoded waveform may be inverted<br />

without affecting the decoded data. This is a great advantage when the waveform is passed<br />

through thousands of circuits in a communication system and the positive sense of the<br />

output is lost or changes occasionally as the network changes, such as sometimes occurs<br />

during switching between several data paths.<br />

Eye Patterns<br />

'<br />

dn = ' e n { ' e n-1<br />

The effect of channel filtering and channel noise can be seen by observing the received line<br />

code on an analog oscilloscope. The left side of Fig. 3–18 shows received corrupted polar<br />

NRZ waveforms for the cases of (a) ideal channel filtering, (b) filtering that produces intersymbol<br />

interference (ISI), and (c) noise plus ISI. (ISI is described in Sec. 3–6.) On the right<br />

side of the figure, corresponding oscilloscope presentations of the corrupted signal are<br />

shown with multiple sweeps, where each sweep is triggered by a clock signal and the sweep<br />

width is slightly larger than T b . These displays on the right are called eye patterns, because<br />

they resemble the picture of a human eye. Under normal operating conditions (i.e., for no<br />

TABLE 3–4<br />

EXAMPLE OF DIFFERENTIAL CODING<br />

Encoding<br />

Input sequence d n 1 1 0 1 0 0 1<br />

Encoded sequence e n 1 0 1 1 0 0 0 1<br />

Reference digit ——————————<br />

c<br />

Decoding (with correct channel polarity)<br />

Received sequence<br />

'<br />

e n 1 0 1 1 0 0 0 1<br />

(correct polarity)<br />

Decoded sequence<br />

'<br />

d n<br />

1 1 0 1 0 0 1<br />

Decoding (with inverted channel polarity)<br />

Received sequence<br />

'<br />

e n 0 1 0 0 1 1 1 0<br />

(inverted polarity)<br />

Decoded sequence<br />

'<br />

d n<br />

1 1 0 1 0 0 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!