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 167<br />

• Transmission bandwidth. This should be as small as possible.<br />

• Error detection capability. It should be possible to implement this feature easily by the<br />

addition of channel encoders and decoders, or the feature should be incorporated into<br />

the line code.<br />

• Transparency. The data protocol and line code are designed so that every possible<br />

sequence of data is faithfully and transparently received.<br />

A protocol is not transparent if certain words are reserved for control sequences so that,<br />

for example, a certain word instructs the receiver to send all data that follow that code word to<br />

the printer. This feature causes a problem when a random data file (such as a machine language<br />

file) is transferred over the link, since some of the words in the file might be control<br />

character sequences. These sequences would be intercepted by the receiving system, and the<br />

defined action would be carried out, instead of passing the word on to the intended destination.<br />

In addition, a code is not transparent if some sequence will result in a loss of clocking<br />

signal (out of the bit synchronizer at the receiver). Because a string of zeros will result in a<br />

loss of the clocking signal, the bipolar format is not transparent.<br />

The particular type of waveform selected for digital signaling depends on the application.<br />

The advantages and disadvantages of each signal format are discussed further after their<br />

spectra have been derived.<br />

Power Spectra for Binary Line Codes<br />

The PSD can be evaluated by using either a deterministic or a stochastic technique. This was<br />

first discussed in Chapter 1 and later illustrated in Example 2–22. To evaluate the PSD using<br />

the deterministic technique, the waveform for a line code that results from a particular data<br />

sequence is used. The approximate PSD is then evaluated by using Eq. (2–66) or, if the line<br />

code is periodic, Eq. (2–126). (Work Prob. 3–24 to apply this deterministic approach.)<br />

Alternatively, the PSD may be evaluated by using the stochastic approach that is developed in<br />

Chapter 6. The stochastic approach will be used to obtain the PSD of line codes that are<br />

shown in Fig. 3–15, because it gives the PSD for the line code with a random data sequence<br />

(instead of that for a particular data sequence).<br />

As discussed and illustrated in Section 3–4, a digital signal (or line code) can be represented<br />

by<br />

q<br />

s(t) = a a n f(t - nT s )<br />

(3–35)<br />

n=-q<br />

where f(t) is the symbol pulse shape and T s is the duration of one symbol. For binary signaling,<br />

T s = T b , where T b is the time that it takes to send 1 bit. For multilevel signaling,<br />

T s = T b . The set {a n } is the set of random data. For example, for the unipolar NRZ line<br />

code, f(t) =ßA t T b<br />

B and a n =+A V when a binary 1 is sent and a n = 0 V when a binary 0<br />

is sent.<br />

As is proven in Sec. 6–2, from Eq. (6–70), the general expression for the PSD of a digital<br />

signal is<br />

s (f) = |F(f)|2<br />

T s<br />

q<br />

a R(k)e j2pkfT s<br />

k=-q<br />

(3–36a)

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

Saved successfully!

Ooh no, something went wrong!