chapter 3,4 &6 1-transmission impairment transmission & 2-data transmission & modes...

110
Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT 1-TRANSMISSION IMPAIRMENT 2-DATA TRANSMISSION & TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Upload: andrew-hall

Post on 12-Jan-2016

247 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Chapter 3,4 &6

1-TRANSMISSION IMPAIRMENT1-TRANSMISSION IMPAIRMENT

2-DATA TRANSMISSION &TRANSMISSION &

MODESMODES

3-BANDWIDTH UTILIZATION

Page 2: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

3-4 TRANSMISSION IMPAIRMENT3-4 TRANSMISSION IMPAIRMENT

Signals travel through transmission media, which are not Signals travel through transmission media, which are not perfect. The imperfection causes signal impairment. This perfect. The imperfection causes signal impairment. This means that the signal at the beginning of the medium is means that the signal at the beginning of the medium is not the same as the signal at the end of the medium. not the same as the signal at the end of the medium. What is sent is not what is received. Three causes of What is sent is not what is received. Three causes of impairment are impairment are attenuationattenuation, , distortiondistortion, and , and noisenoise..

AttenuationDistortionNoise

Topics discussed in this section:Topics discussed in this section:

Page 3: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 3.25 Causes of impairment

Page 4: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 3.26 Attenuation

Page 5: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

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

Example 3.26

A loss of 3 dB (–3 dB) is equivalent to losing one-half the power.

Page 6: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

A signal travels through an amplifier, and its power is increased 10 times. This means that P2 = 10P1 . In this case, the amplification (gain of power) can be calculated as

Example 3.27

Page 7: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

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 measuring several points (cascading) instead of just two. In Figure 3.27 a signal travels from point 1 to point 4. In this case, the decibel value can be calculated as

Example 3.28

Page 8: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 3.27 Decibels for Example 3.28

Page 9: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Sometimes the decibel is used to measure signal power in milliwatts. In this case, it is referred to as dBm and is calculated as dBm = 10 log10 Pm , where Pm is the power in milliwatts. Calculate the power of a signal with dBm = −30.

SolutionWe can calculate the power in the signal as

Example 3.29

Page 10: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

The loss in a cable is usually defined in decibels per kilometer (dB/km). If the signal at the beginning of a cable with −0.3 dB/km has a power of 2 mW, what is the power of the signal at 5 km?SolutionThe loss in the cable in decibels is 5 × (−0.3) = −1.5 dB. We can calculate the power as

Example 3.30

Page 11: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 3.28 Distortion

Page 12: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 3.29 Noise

Page 13: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

The power of a signal is 10 mW and the power of the noise is 1 μW; what are the values of SNR and SNRdB ?

SolutionThe values of SNR and SNRdB can be calculated as follows:

Example 3.31

Page 14: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

The values of SNR and SNRdB for a noiseless channel are

Example 3.32

We can never achieve this ratio in real life; it is an ideal.

Page 15: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 3.30 Two cases of SNR: a high SNR and a low SNR

Page 16: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

3-5 DATA RATE LIMITS3-5 DATA RATE LIMITS

A very important consideration in data communications A very important consideration in data communications is how fast we can send data, in bits per second, over a is how fast we can send data, in bits per second, over a channel. Data rate depends on three factors:channel. Data rate depends on three factors: 1.1. The bandwidth available The bandwidth available 2.2. The level of the signals we use The level of the signals we use 33. The quality of the channel (the level of noise). The quality of the channel (the level of noise)

Noiseless Channel: Nyquist Bit RateNoisy Channel: Shannon CapacityUsing Both Limits

Topics discussed in this section:Topics discussed in this section:

Page 17: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Increasing the levels of a signal may reduce the reliability of the system.

Note

Page 18: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Does the Nyquist theorem bit rate agree with the intuitive bit rate described in baseband transmission?

SolutionThey match when we have only two levels. We said, in baseband transmission, the bit rate is 2 times the bandwidth if we use only the first harmonic in the worst case. However, the Nyquist formula is more general than what we derived intuitively; it can be applied to baseband transmission and modulation. Also, it can be applied when we have two or more levels of signals.

Example 3.33

Page 19: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Consider a noiseless channel with a bandwidth of 3000 Hz transmitting a signal with two signal levels. The maximum bit rate can be calculated as

Example 3.34

Page 20: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Consider the same noiseless channel transmitting a signal with four signal levels (for each level, we send 2 bits). The maximum bit rate can be calculated as

Example 3.35

Page 21: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

We need to send 265 kbps over a noiseless channel with a bandwidth of 20 kHz. How many signal levels do we need?SolutionWe can use the Nyquist formula as shown:

Example 3.36

Since this result is not a power of 2, we need to either increase the number of levels or reduce the bit rate. If we have 128 levels, the bit rate is 280 kbps. If we have 64 levels, the bit rate is 240 kbps.

Page 22: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Consider an extremely noisy channel in which the value of the signal-to-noise ratio is almost zero. In other words, the noise is so strong that the signal is faint. For this channel the capacity C is calculated as

Example 3.37

This means that the capacity of this channel is zero regardless of the bandwidth. In other words, we cannot receive any data through this channel.

Page 23: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line normally has a bandwidth of 3000. The signal-to-noise ratio is usually 3162. For this channel the capacity is calculated as

Example 3.38

This means that the highest bit rate for a telephone line is 34.860 kbps. If we want to send data faster than this, we can either increase the bandwidth of the line or improve the signal-to-noise ratio.

Page 24: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

The signal-to-noise ratio is often given in decibels. Assume that SNRdB = 36 and the channel bandwidth is 2 MHz. The theoretical channel capacity can be calculated as

Example 3.39

Page 25: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

For practical purposes, when the SNR is very high, we can assume that SNR + 1 is almost the same as SNR. In these cases, the theoretical channel capacity can be simplified to

Example 3.40

For example, we can calculate the theoretical capacity of the previous example as

Page 26: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

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

SolutionFirst, we use the Shannon formula to find the upper limit.

Example 3.41

Page 27: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

The Shannon formula gives us 6 Mbps, the upper limit. For better performance we choose something lower, 4 Mbps, for example. Then we use the Nyquist formula to find the number of signal levels.

Example 3.41 (continued)

Page 28: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

The Shannon capacity gives us the upper limit; the Nyquist formula tells us

how many signal levels we need.

Note

Page 29: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

3-6 PERFORMANCE3-6 PERFORMANCE

One important issue in networking is the One important issue in networking is the performanceperformance of of the network—how good is it? We discuss quality of the network—how good is it? We discuss quality of service, an overall measurement of network performance, service, an overall measurement of network performance, in greater detail in Chapter 24. In this section, we in greater detail in Chapter 24. In this section, we introduce terms that we need for future chapters.introduce terms that we need for future chapters.

BandwidthThroughputLatency (Delay)Bandwidth-Delay Product

Topics discussed in this section:Topics discussed in this section:

Page 30: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

In networking, we use the term bandwidth in two contexts.

❏ The first, bandwidth in hertz, refers to the range of frequencies in a composite signal or the range of frequencies that a channel can pass.

❏ The second, bandwidth in bits per second, refers to the speed of bit transmission in a channel or link.

Note

Page 31: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

The bandwidth of a subscriber line is 4 kHz for voice or data. The bandwidth of this line for data transmissioncan be up to 56,000 bps using a sophisticated modem to change the digital signal to analog.

Example 3.42

Page 32: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

If the telephone company improves the quality of the line and increases the bandwidth to 8 kHz, we can send 112,000 bps by using the same technology as mentioned in Example 3.42.

Example 3.43

Page 33: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

A network with bandwidth of 10 Mbps can pass only an average of 12,000 frames per minute with each frame carrying an average of 10,000 bits. What is the throughput of this network?

SolutionWe can calculate the throughput as

Example 3.44

The throughput is almost one-fifth of the bandwidth in this case.

Page 34: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

What is the propagation time if the distance between the two points is 12,000 km? Assume the propagation speed to be 2.4 × 108 m/s in cable.

SolutionWe can calculate the propagation time as

Example 3.45

The example shows that a bit can go over the Atlantic Ocean in only 50 ms if there is a direct cable between the source and the destination.

Page 35: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

What are the propagation time and the transmission time for a 2.5-kbyte message (an e-mail) if the bandwidth of the network is 1 Gbps? Assume that the distance between the sender and the receiver is 12,000 km and that light travels at 2.4 × 108 m/s.

SolutionWe can calculate the propagation and transmission time as shown on the next slide:

Example 3.46

Page 36: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Note that in this case, because the message is short and the bandwidth is high, the dominant factor is the propagation time, not the transmission time. The transmission time can be ignored.

Example 3.46 (continued)

Page 37: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

What are the propagation time and the transmission time for a 5-Mbyte message (an image) if the bandwidth of the network is 1 Mbps? Assume that the distance between the sender and the receiver is 12,000 km and that light travels at 2.4 × 108 m/s.

SolutionWe can calculate the propagation and transmission times as shown on the next slide.

Example 3.47

Page 38: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Note that in this case, because the message is very long and the bandwidth is not very high, the dominant factor is the transmission time, not the propagation time. The propagation time can be ignored.

Example 3.47 (continued)

Page 39: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 3.31 Filling the link with bits for case 1

Page 40: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

We can think about the link between two points as a pipe. The cross section of the pipe represents the bandwidth, and the length of the pipe represents the delay. We can say the volume of the pipe defines the bandwidth-delay product, as shown in Figure 3.33.

Example 3.48

Page 41: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 3.32 Filling the link with bits in case 2

Page 42: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

The bandwidth-delay product defines the number of bits that can fill the link.

Note

Page 43: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 3.33 Concept of bandwidth-delay product

Page 44: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

4-3 TRANSMISSION MODES4-3 TRANSMISSION MODES

The transmission of binary data across a link can be The transmission of binary data across a link can be accomplished in either parallel or serial mode. In accomplished in either parallel or serial mode. In parallel mode, multiple bits are sent with each clock parallel mode, multiple bits are sent with each clock tick. In serial mode, 1 bit is sent with each clock tick. tick. In serial mode, 1 bit is sent with each clock tick. While there is only one way to send parallel data, there While there is only one way to send parallel data, there are three subclasses of serial transmission: are three subclasses of serial transmission: asynchronous, synchronous, and isochronous.asynchronous, synchronous, and isochronous.

Parallel TransmissionSerial Transmission

Topics discussed in this section:Topics discussed in this section:

Page 45: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 4.31 Data transmission and modes

Page 46: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 4.32 Parallel transmission

Page 47: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 4.33 Serial transmission

Page 48: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

In asynchronous transmission, we send 1 start bit (0) at the beginning and 1 or more stop bits (1s) at the end of each

byte. There may be a gap between each byte.

Note

Page 49: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Asynchronous here means “asynchronous at the byte level,”

but the bits are still synchronized; their durations are the same.

Note

Page 50: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 4.34 Asynchronous transmission

Page 51: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

In synchronous transmission, we send bits one after another without start or

stop bits or gaps. It is the responsibility of the receiver to group the bits.

Note

Page 52: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 4.35 Synchronous transmission

Page 53: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Chapter 6

Bandwidth Utilization:Multiplexing and

Spreading

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Page 54: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Bandwidth utilization is the wise use of available bandwidth to achieve

specific goals.

Efficiency can be achieved by multiplexing; privacy and anti-jamming

can be achieved by spreading.

Note

Page 55: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

6-1 MULTIPLEXING6-1 MULTIPLEXING

Whenever the bandwidth of a medium linking two Whenever the bandwidth of a medium linking two devices is greater than the bandwidth needs of the devices is greater than the bandwidth needs of the devices, the link can be shared. Multiplexing is the set devices, the link can be shared. Multiplexing is the set of techniques that allows the simultaneous of techniques that allows the simultaneous transmission of multiple signals across a single data transmission of multiple signals across a single data link. As data and telecommunications use increases, so link. As data and telecommunications use increases, so does traffic.does traffic.

Frequency-Division MultiplexingWavelength-Division MultiplexingSynchronous Time-Division MultiplexingStatistical Time-Division Multiplexing

Topics discussed in this section:Topics discussed in this section:

Page 56: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.1 Dividing a link into channels

Page 57: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.2 Categories of multiplexing

Page 58: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.3 Frequency-division multiplexing

Page 59: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

FDM is an analog multiplexing technique that combines analog signals.

Note

Page 60: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.4 FDM process

Page 61: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.5 FDM demultiplexing example

Page 62: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Assume that a voice channel occupies a bandwidth of 4 kHz. We need to combine three voice channels into a link with a bandwidth of 12 kHz, from 20 to 32 kHz. Show the configuration, using the frequency domain. Assume there are no guard bands.

SolutionWe shift (modulate) each of the three voice channels to a different bandwidth, as shown in Figure 6.6. We use the 20- to 24-kHz bandwidth for the first channel, the 24- to 28-kHz bandwidth for the second channel, and the 28- to 32-kHz bandwidth for the third one. Then we combine them as shown in Figure 6.6.

Example 6.1

Page 63: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.6 Example 6.1

Page 64: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Five channels, each with a 100-kHz bandwidth, are to be multiplexed together. What is the minimum bandwidth of the link if there is a need for a guard band of 10 kHz between the channels to prevent interference?

SolutionFor five channels, we need at least four guard bands. This means that the required bandwidth is at least

5 × 100 + 4 × 10 = 540 kHz, as shown in Figure 6.7.

Example 6.2

Page 65: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.7 Example 6.2

Page 66: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Four data channels (digital), each transmitting at 1 Mbps, use a satellite channel of 1 MHz. Design an appropriate configuration, using FDM.

SolutionThe satellite channel is analog. We divide it into four channels, each channel having a 250-kHz bandwidth. Each digital channel of 1 Mbps is modulated such that each 4 bits is modulated to 1 Hz. One solution is 16-QAM modulation. Figure 6.8 shows one possible configuration.

Example 6.3

Page 67: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.8 Example 6.3

Page 68: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.9 Analog hierarchy

Page 69: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

The Advanced Mobile Phone System (AMPS) uses two bands. The first band of 824 to 849 MHz is used for sending, and 869 to 894 MHz is used for receiving. Each user has a bandwidth of 30 kHz in each direction. How many people can use their cellular phones simultaneously?

SolutionEach band is 25 MHz. If we divide 25 MHz by 30 kHz, we get 833.33. In reality, the band is divided into 832 channels. Of these, 42 channels are used for control, which means only 790 channels are available for cellular phone users.

Example 6.4

Page 70: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.10 Wavelength-division multiplexing

Page 71: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

WDM is an analog multiplexing technique to combine optical signals.

Note

Page 72: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.11 Prisms in wavelength-division multiplexing and demultiplexing

Page 73: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.12 TDM

Page 74: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

TDM is a digital multiplexing technique for combining several low-rate

channels into one high-rate one.

Note

Page 75: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.13 Synchronous time-division multiplexing

Page 76: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

In synchronous TDM, the data rate of the link is n times faster, and the unit

duration is n times shorter.

Note

Page 77: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

In Figure 6.13, the data rate for each input connection is 3 kbps. If 1 bit at a time is multiplexed (a unit is 1 bit), what is the duration of (a) each input slot, (b) each output slot, and (c) each frame?

SolutionWe can answer the questions as follows: a. The data rate of each input connection is 1 kbps. This

means that the bit duration is 1/1000 s or 1 ms. The duration of the input time slot is 1 ms (same as bit duration).

Example 6.5

Page 78: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

b. The duration of each output time slot is one-third of the input time slot. This means that the duration of the output time slot is 1/3 ms.

c. Each frame carries three output time slots. So the duration of a frame is 3 × 1/3 ms, or 1 ms. The duration of a frame is the same as the duration of an input unit.

Example 6.5 (continued)

Page 79: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.14 shows synchronous TDM with a data stream for each input and one data stream for the output. The unit of data is 1 bit. Find (a) the input bit duration, (b) the output bit duration, (c) the output bit rate, and (d) the output frame rate.SolutionWe can answer the questions as follows:a. The input bit duration is the inverse of the bit rate:

1/1 Mbps = 1 μs.

b. The output bit duration is one-fourth of the input bit duration, or ¼ μs.

Example 6.6

Page 80: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

c. The output bit rate is the inverse of the output bit duration or 1/(4μs) or 4 Mbps. This can also be deduced from the fact that the output rate is 4 times as fast as any input rate; so the output rate = 4 × 1 Mbps = 4 Mbps.

d. The frame rate is always the same as any input rate. So the frame rate is 1,000,000 frames per second. Because we are sending 4 bits in each frame, we can verify the result of the previous question by multiplying the frame rate by the number of bits per frame.

Example 6.6 (continued)

Page 81: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.14 Example 6.6

Page 82: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Four 1-kbps connections are multiplexed together. A unit is 1 bit. Find (a) the duration of 1 bit before multiplexing, (b) the transmission rate of the link, (c) the duration of a time slot, and (d) the duration of a frame.

SolutionWe can answer the questions as follows:a. The duration of 1 bit before multiplexing is 1 / 1 kbps,

or 0.001 s (1 ms).

b. The rate of the link is 4 times the rate of a connection, or 4 kbps.

Example 6.7

Page 83: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

c. The duration of each time slot is one-fourth of the duration of each bit before multiplexing, or 1/4 ms or 250 μs. Note that we can also calculate this from the data rate of the link, 4 kbps. The bit duration is the inverse of the data rate, or 1/4 kbps or 250 μs.

d. The duration of a frame is always the same as the duration of a unit before multiplexing, or 1 ms. We can also calculate this in another way. Each frame in this case has four time slots. So the duration of a frame is 4 times 250 μs, or 1 ms.

Example 6.7 (continued)

Page 84: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.15 Interleaving

Page 85: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Four channels are multiplexed using TDM. If each channel sends 100 bytes /s and we multiplex 1 byte per channel, show the frame traveling on the link, the size of the frame, the duration of a frame, the frame rate, and the bit rate for the link.

SolutionThe multiplexer is shown in Figure 6.16. Each frame carries 1 byte from each channel; the size of each frame, therefore, is 4 bytes, or 32 bits. Because each channel is sending 100 bytes/s and a frame carries 1 byte from each channel, the frame rate must be 100 frames per second. The bit rate is 100 × 32, or 3200 bps.

Example 6.8

Page 86: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.16 Example 6.8

Page 87: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

A multiplexer combines four 100-kbps channels using a time slot of 2 bits. Show the output with four arbitrary inputs. What is the frame rate? What is the frame duration? What is the bit rate? What is the bit duration?

SolutionFigure 6.17 shows the output for four arbitrary inputs. The link carries 50,000 frames per second. The frame duration is therefore 1/50,000 s or 20 μs. The frame rate is 50,000 frames per second, and each frame carries 8 bits; the bit rate is 50,000 × 8 = 400,000 bits or 400 kbps. The bit duration is 1/400,000 s, or 2.5 μs.

Example 6.9

Page 88: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.17 Example 6.9

Page 89: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.18 Empty slots

Page 90: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.19 Multilevel multiplexing

Page 91: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.20 Multiple-slot multiplexing

Page 92: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.21 Pulse stuffing

Page 93: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.22 Framing bits

Page 94: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

We have four sources, each creating 250 characters per second. If the interleaved unit is a character and 1 synchronizing bit is added to each frame, find (a) the data rate of each source, (b) the duration of each character in each source, (c) the frame rate, (d) the duration of each frame, (e) the number of bits in each frame, and (f) the data rate of the link.

SolutionWe can answer the questions as follows:a. The data rate of each source is 250 × 8 = 2000 bps = 2

kbps.

Example 6.10

Page 95: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

b. Each source sends 250 characters per second; therefore, the duration of a character is 1/250 s, or 4 ms.

c. Each frame has one character from each source, which means the link needs to send 250 frames per second to keep the transmission rate of each source.

d. The duration of each frame is 1/250 s, or 4 ms. Note that the duration of each frame is the same as the duration of each character coming from each source.

e. Each frame carries 4 characters and 1 extra synchronizing bit. This means that each frame is 4 × 8 + 1 = 33 bits.

Example 6.10 (continued)

Page 96: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Two channels, one with a bit rate of 100 kbps and another with a bit rate of 200 kbps, are to be multiplexed. How this can be achieved? What is the frame rate? What is the frame duration? What is the bit rate of the link?

SolutionWe can allocate one slot to the first channel and two slots to the second channel. Each frame carries 3 bits. The frame rate is 100,000 frames per second because it carries 1 bit from the first channel. The bit rate is 100,000 frames/s × 3 bits per frame, or 300 kbps.

Example 6.11

Page 97: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.23 Digital hierarchy

Page 98: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Table 6.1 DS and T line rates

Page 99: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.24 T-1 line for multiplexing telephone lines

Page 100: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.25 T-1 frame structure

Page 101: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Table 6.2 E line rates

Page 102: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.26 TDM slot comparison

Page 103: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

6-1 SPREAD SPECTRUM6-1 SPREAD SPECTRUM

In spread spectrum (SS), we combine signals from In spread spectrum (SS), we combine signals from different sources to fit into a larger bandwidth, but our different sources to fit into a larger bandwidth, but our goals are to prevent eavesdropping and jamming. To goals are to prevent eavesdropping and jamming. To achieve these goals, spread spectrum techniques add achieve these goals, spread spectrum techniques add redundancy.redundancy.

Frequency Hopping Spread Spectrum (FHSS)Direct Sequence Spread Spectrum Synchronous (DSSS)

Topics discussed in this section:Topics discussed in this section:

Page 104: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.27 Spread spectrum

Page 105: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.28 Frequency hopping spread spectrum (FHSS)

Page 106: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.29 Frequency selection in FHSS

Page 107: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.30 FHSS cycles

Page 108: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.31 Bandwidth sharing

Page 109: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.32 DSSS

Page 110: Chapter 3,4 &6 1-TRANSMISSION IMPAIRMENT TRANSMISSION & 2-DATA TRANSMISSION & MODES MODES 3-BANDWIDTH UTILIZATION

Figure 6.33 DSSS example