You are on page 1of 8

9/17/2012

Figure 3.19 Low-pass and band-pass

3.4 Analog versus Digital

Low-pass versus Band-pass

Digital Transmission

Analog Transmission

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Note: Note:

The analog bandwidth of a medium is Digital transmission needs a


expressed in hertz; the digital low-
low-pass channel.
bandwidth, in bits per second.

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

3.5 Data Rate Limit


Note:

Analog transmission can use a band-


band-
Noiseless Channel: Nyquist Bit Rate
pass channel.

Noisy Channel: Shannon Capacity

Using Both Limits

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

1
9/17/2012

3.5 Data Rate Limit

Noiseless Channel: Nyquist Bit Rate

Noisy Channel: Shannon Capacity

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Example 7 Example 8
Consider a noiseless channel with a bandwidth of 3000 Consider the same noiseless channel, transmitting a signal
Hz transmitting a signal with two signal levels. The with four signal levels (for each level, we send two bits).
maximum bit rate can be calculated as The maximum bit rate can be calculated as:

Bit Rate = 2 × 3000 × log2 2 = 6000 bps Bit Rate = 2 x 3000 x log2 4 = 12,000 bps

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Example 9 Example 10
Consider an extremely noisy channel in which the value We can calculate the theoretical highest bit rate of a
of the signal-to-noise ratio is almost zero. In other words, regular telephone line. A telephone line normally has a
the noise is so strong that the signal is faint. For this bandwidth of 3000 Hz (300 Hz to 3300 Hz). The signal-
channel the capacity is calculated as to-noise ratio is usually 3162. For this channel the
capacity is calculated as
C = B log2 (1 + SNR) = B log2 (1 + 0)
C = B log2 (1 + SNR) = 3000 log2 (1 + 3162)
= B log2 (1) = B × 0 = 0 = 3000 log2 (3163)
C = 3000 × 11.62 = 34,860 bps

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

2
9/17/2012

Example 11 3.6 Transmission Impairment


We have a channel with a 1 MHz bandwidth. The SNR
for this channel is 63; what is the appropriate bit rate and
signal level?

Solution
Attenuation

First, we use the Shannon formula to find our upper Distortion


limit.
C = B log2 (1 + SNR) = 106 log2 (1 + 63) = 106 log2 (64) = 6 Mbps
Then we use the Nyquist formula to find the Noise
number of signal levels.
4 Mbps = 2 × 1 MHz × log2 L  L = 4
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 3.20 Impairment types Figure 3.21 Attenuation

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Example 12
Imagine a signal travels through a transmission medium
and its power is reduced to half. This means that P2 = 1/2
P1. In this case, the attenuation (loss of power) can be
calculated as

Solution
10 log10 (P2/P1) = 10 log10 (0.5P1/P1) = 10 log10 (0.5)
= 10(–
10(–0.3) = –3 dB

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

3
9/17/2012

Example 13 For all real a > 0, b > 0, c > 0, and n,


log b 1 = 0
Imagine a signal travels through an amplifier and its
power is increased ten times. This means that P2 = 10 ¥
log b b = 1
P1. In this case, the amplification (gain of power) can be
calculated as

10 log10 (P2/P1) = 10 log10 (10P1/P1)


= 10 log10 (10) = 10 (1) = 10 dB

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 3.22 Example 14


Example 14
One reason that engineers use the decibel to measure the
changes in the strength of a signal is that decibel numbers
can be added (or subtracted) when we are talking about
several points instead of just two (cascading). In Figure
3.22 a signal travels a long distance from point 1 to point
4. The signal is attenuated by the time it reaches point 2.
Between points 2 and 3, the signal is amplified. Again,
between points 3 and 4, the signal is attenuated. We can
find the resultant decibel for the signal just by adding the
decibel measurements between each set of points.
dB = –3 + 7 – 3 = +1

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 3.23 Distortion Figure 3.24 Noise

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

4
9/17/2012

Figure 3.25 Throughput

3.7 More About Signals

Throughput

Propagation Speed

Propagation Time

Wavelength
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 3.26 Propagation time Figure 3.27 Wavelength

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Bandwidth-Delay Product

Latency =propagation time +transmission time +queuing time + processing delay

Latency (Delay)

The product of bandwidth and delay is the number of bits that can fill the link. This
measurement is important if we need to send data in bursts and wait for the
acknowledgment of each burst before sending the next one. To use the maximum
capability of the link, we need to make the size of our burst 2 times the product of
bandwidth and delay; we need to fill up the full-duplex channel (two directions). The
sender should send a burst of data of (2 x bandwidth x delay) bits. The sender then
waits for receiver acknowledgment for part of the burst before sending another
burst. The amount 2 x bandwidth x delay is the number of bits that can be in
transition at any time.
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

5
9/17/2012

o Phase describes the position of the waveform relative to time 0.


SUMMARY
o A complete sine wave in the time domain can be represented by one
o Data must be transformed to electromagnetic signals to be single spike in the frequency domain.
transmitted.
o A single-frequency sine wave is not useful in data communications; we
o Data can be analog or digital. Analog data are continuous and take need to send a composite signal, a signal made of many simple sine
continuous values. Digital data have discrete states and take discrete waves.
values.
o According to Fourier analysis, any composite signal is a combination of
o Signals can be analog or digital. Analog signals can have an infinite sine waves with different frequencies, amplitudes, and phases.
number of values in a range; digital signals can have only a limited
number of values. o The bandwidth of a composite signal is the difference between the
highest and the lowest frequencies contained in that signal.
o In data communications, we commonly use periodic analog signals
and nonperiodic digital signals. o A digital signal is a composite analog signal with an infinite bandwidth.

o Frequency and period are the inverse of each other. o Baseband transmission of a digital signal that preserves the shape of
the digital signal is possible only if we have a low-pass channel with an
o Frequency is the rate of change with respect to time. infinite or very wide bandwidth.

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

o If the available channel is a bandpass channel, we cannot send a


digital signal directly to the channel; we need to convert the digital Chapter 4
signal to an analog signal before transmission.

o For a noiseless channel, the Nyquist bit rate formula defines the
theoretical maximum bit rate. For a noisy channel, we need to use the
Shannon capacity to find the maximum bit rate.

o Attenuation, distortion, and noise can impair a signal.

o Attenuation is the loss of a signal's energy due to the resistance of


Digital
the medium.

o Distortion is the alteration of a signal due to the differing propagation


speeds of each of the frequencies that make up a signal.
Transmission
o Noise is the external energy that corrupts a signal.

o The bandwidth-delay product defines the number of bits that can fill
the link.
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 4.1 Line coding

4.1 Line Coding

Some Characteristics

Line Coding Schemes

Some Other Schemes

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

6
9/17/2012

Figure 4.2 Signal level versus data level Figure 4.3 DC component

Baseline Wandering

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Example 1 Example 2

A signal has two data levels with a pulse duration of 1 A signal has four data levels with a pulse duration of 1
ms. We calculate the pulse rate and bit rate as follows: ms. We calculate the pulse rate and bit rate as follows:

Pulse Rate = 1/ 10-3= 1000 pulses/s


Pulse Rate = = 1000 pulses/s
Bit Rate = Pulse Rate x log2 L = 1000 x log2 2 = 1000 bps
Bit Rate = PulseRate x log2 L = 1000 x log2 4 = 2000 bps

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 4.4 Lack of synchronization


Example 3
In a digital transmission, the receiver clock is 0.1 percent
faster than the sender clock. How many extra bits per
second does the receiver receive if the data rate is 1
Kbps? How many if the data rate is 1 Mbps?

Solution

At 1 Kbps:
1000 bits sent 1001 bits received1 extra bps
At 1 Mbps:
1,000,000 bits sent 1,001,000 bits received1000 extra bps

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

7
9/17/2012

Figure 4.5 Line coding schemes

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

You might also like