21
Datornätverk A – lektion 5 Forts kapitel 5: Modem. Shannons regel. Kapitel 6: Transmission

Datornätverk A – lektion 5

  • Upload
    rupert

  • View
    34

  • Download
    0

Embed Size (px)

DESCRIPTION

Datornätverk A – lektion 5. Forts kapitel 5: Modem. Shannons regel. Kapitel 6: Transmission. 5.2 Telephone Modems. Modem Standards. Note:. A telephone line has a bandwidth of almost 2400 Hz for data transmission. Figure 5.18 Telephone line bandwidth. Note:. - PowerPoint PPT Presentation

Citation preview

Page 1: Datornätverk A – lektion 5

Datornätverk A – lektion 5

Forts kapitel 5: Modem. Shannons regel.

Kapitel 6: Transmission

Page 2: Datornätverk A – lektion 5

5.2 Telephone Modems

Modem Standards

Page 3: Datornätverk A – lektion 5

A telephone line has a bandwidth of almost 2400 Hz for data transmission.

Note:Note:

Page 4: Datornätverk A – lektion 5

Figure 5.18 Telephone line bandwidth

Page 5: Datornätverk A – lektion 5

Modem stands for modulator/demodulator.

Note:Note:

Page 6: Datornätverk A – lektion 5

Figure 5.19 Modulation/demodulation

Page 7: Datornätverk A – lektion 5

Figure 5.20 The V.32 constellation and bandwidth

Page 8: Datornätverk A – lektion 5

Figure 5.21 The V.32bis constellation and bandwidth

Page 9: Datornätverk A – lektion 5

Figure 5.22 Traditional modems

Page 10: Datornätverk A – lektion 5

Figure 5.23 56K modems

Page 11: Datornätverk A – lektion 5

The total bandwidth required for AM can be determined from the bandwidth

of the audio signal: BWt = 2 x BWm.

Note:Note:

Page 12: Datornätverk A – lektion 5

Example 7Example 7

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

BitBit Rate = 2 Rate = 2 3000 3000 log log22 2 = 6000 bps 2 = 6000 bps

Page 13: Datornätverk A – lektion 5

Example 8Example 8

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

Bit Rate = 2 x 3000 x logBit Rate = 2 x 3000 x log22 4 = 12,000 bps 4 = 12,000 bps

Page 14: Datornätverk A – lektion 5

Shannons regel

Kanalkapaciteten C är max antal bit per sekund vid bästa möjliga modulationsteknik och felrättande kodning:

C = B log2 (1+S/N),

där B är ledningens bandbredd i Hertz (oftast ungefär lika med övre gränsfrekvensen), S är nyttosignalens medeleffekt i Watt och N (noice) är bruseffekten i Watt.

Page 15: Datornätverk A – lektion 5

Example 9Example 9

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 is calculated as

C = B logC = B log22 (1 + SNR) = B log (1 + SNR) = B log22 (1 + 0) (1 + 0)

= B log= B log22 (1) = B (1) = B 0 = 0 0 = 0

Page 16: Datornätverk A – lektion 5

Example 10Example 10

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

C = B logC = B log22 (1 + SNR) = 3000 log (1 + SNR) = 3000 log22 (1 + 3162) (1 + 3162)

= 3000 log= 3000 log22 (3163) (3163)

C = 3000 C = 3000 11.62 = 34,860 bps 11.62 = 34,860 bps

Page 17: Datornätverk A – lektion 5

Example 11Example 11

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?

SolutionSolution

C = B logC = B log22 (1 + SNR) = 10 (1 + SNR) = 1066 log log22 (1 + 63) = 10 (1 + 63) = 1066 log log22 (64) = 6 Mbps (64) = 6 Mbps

Then we use the Nyquist formula to find the number of signal levels.

4 Mbps = 2 4 Mbps = 2 1 MHz 1 MHz log log22 LL L = 4 L = 4

First, we use the Shannon formula to find our upper First, we use the Shannon formula to find our upper limit.limit.

Page 18: Datornätverk A – lektion 5

Capacity Limits• Maximum bit rate (capacity) depends on:

○ The analog bandwidth available (in Hz)○ The quality of the channel

• The level of the noise is one of the characteristics of the channel. The ratio of the voltage of the signal sent and the noise present in the channel is important for the maximum data rate achieved.

• Shannon’s theorem determines the theoretical highest data rate of a noisy channel

C = B log2 (1 + S/N)

S/N is the signal to noise ratio (often labeled as SNR)

Page 19: Datornätverk A – lektion 5

Capacity Limits• Maximum bit rate (capacity) depends on:

○ The analog bandwidth available (in Hz)○ The quality of the channel

• The level of the noise is one of the characteristics of the channel. The ratio of the voltage of the signal sent and the noise present in the channel is important for the maximum data rate achieved.

• Shannon’s theorem determines the theoretical highest data rate of a noisy channel

C = B log2 (1 + S/N)

S/N is the signal to noise ratio (often labeled as SNR)

Page 20: Datornätverk A – lektion 5

Example:• Problem: Given S/N ratio of 30.098756dB, bandwidth of 8Khz,

compute maximum data rate.

• Answer:S/N = 30.098756dB = 10 ^ 3.0098756 = 1022.9999205 1023C = 8 Khz * log2 (1 + 1023 )

C = 8 Khz * log2 (1024 )

C = 8 * 1000 cycles/second * 10 bits/cycle

C = 80 Kbps

Page 21: Datornätverk A – lektion 5

How to calculate log2 x

• Calculators do not have a button for log2 x calculation

• To calculate log2 x use the following formula:

log2 x = log10 x/log102 log10 (x)/0.3

Example: log230 = log 30/log 2 1.477/0.3 4.9