Professional Documents
Culture Documents
Data Communication & Computer Networks: Week # 04
Data Communication & Computer Networks: Week # 04
Networks
Week # 04
Powerpoint Templates
ACKNOWLEDGMENTS
These lecture slides contain material from slides prepared
by Behrouz Forouzan for his book Data Communication
and Networking (4th/5th edition).
These lecture slides updated by Dr. Arshad Ali, Assistant
Professor ,CS Department, The University of Lahore
Channel capacity
3
Relationship between Data rate and
Bandwidth
Spectrum
range of frequencies that a signal contains
Bandwidth
the difference between the minimum and maximum frequencies
that a channel can handle (measured in Hz)
It
dictates the information carrying capacity of the channel
(in bps) which is calculated using
Data Rate or Bit Rate
how much "information" the system can handle at a given time, or
information carrying capacity of a signal (Measured in bps)
Direct relationship between data rate and bandwidth
The greater the bandwidth, the higher the information-carrying
capacity
4
Channel
A channel is portion of a transmission path dedicated to a pair
of transmitter/receivers
usually characterized by its bandwidth.
It is a physical transmission medium such as a wire, or
a logical connection over a multiplexed medium such as a
radio channel
A channel or transmission medium may be simplex, half-
5
Communication facilities are expensive
Greater the bandwidth of a facility, the greater the cost
6
Effects of Noise on Channel Capacity
Noise is the main constraint in achieving efficient use of
bandwidth
It degrades the signal quality and thus limits the data rate that can
be achieved
7
Signal-to-Noise Ratio (SNR)
It is the measure of signal strength relative to background
noise, and typically measured at a receiver
SNR = signal power/noise power = S/N
8
Signal-to-Noise Ratio
Example
The power of a signal is 10 mW and the power of the noise is
Milliwatt 10-3
Microwatt 10-6
10 mw
SNR 10000
1w
9
Signal-to-Noise Ratio
The values of SNR and SNRdB for a noiseless channel
are?
10
Channel Capacity
Theoretical formulas to calculate the data rate
Nyquist bit rate (noiseless channel)
Shannon’s channel capacity formula (noisy channel)
Nyquist theorem:
Given a bandwidth of B, the highest signal rate that
11
Channel Capacity: Nyquist Bandwidth
Nyquist theorem:
In the general case, in which a signal element may represent more
12
Channel Capacity: Nyquist Bandwidth
Examples:
Bandwidth of voice grade line: 3000 Hz
using binary encoding (each signal level represents 1 bit)
maximum data rate = 2 X B = 2 X 3000 bits/sec
= 6000 bits/sec
13
Nyquist Bandwidth: Examples
For the same channel transmitting a signal with four signal levels
(for each level, we send 2 bits). The maximum bit rate?
14
Nyquist Bandwidth: Examples
How many signal levels to send 200 kbps over a noiseless channel
with a bandwidth of 20 kHz?
The maximum bit rate?
By using Nyquist formula
200000 = 2 X 20000 X log2 V
log2 V = 5
V = 25 = 32 levels
15
Shannon capacity formula
maximum data rate or capacity of a noisy channel whose bandwidth is B Hz and whose
signal-to-noise ratio is S/N, is given
C B log 2 1 SNR
This equation represents theoretical maximum that can be achieved
maximum data rate = B log2(1+S/N) bps
16
Channel Capacity: Shannon’s Theorem
Shannon’s Theorem
Example: channel of 3000 Hz and SNR of 30 dB
C= B log2(1+SNR) bps
First, obtain SNR (ratio) from SNRdB
SNRdB 10 log10 S / R 10 log10 SNR
17
Shannon Formula: Example
Spectrum of a channel between 3 MHz and 4 MHz ;
SNRdB = 24 dB
B 4 MHz 3 MHz 1 MHz
SNR dB 24 dB 10 log10 SNR
SNR 251
Using Shannon’s formula
C 10 log 2 1 251 10 8 8Mbps
6 6
18
Shannon Formula: Example
Assume that SNRdB = 36 and the channel bandwidth is 2 MHz
The theoretical channel capacity?
19