SlideShare a Scribd company logo
1 of 38
Download to read offline
Introduction to Data communication
Topic : Channel Capacity
Lecture #9
Dr Rajiv Srivastava
Director
Sagar Institute of Research & Technology (SIRT)
Sagar Group of Institutions, Bhopal
http://www.sirtbhopal.ac.in
Unit 1
Lecture 9
2
• The channel capacity is a very important
consideration in data communications
that is how fast we can send data, in bits
per second, over a channel.
3
Channel capacity
DATA RATE LIMITS
• The maximum data rate limit over a medium is
decided by following factors:
1. Bandwidth of channel.
2. Signal levels
3. Channel quality (level of noise)
• Two theoretical formulas were
developed to calculate the data rate:
one by Nyquist for a noiseless channel,
another by Shannon for a noisy
channel.
1. For noiseless channel- Nyquist bit rate
2. For noisy channel- Shannon capacity.
4
Nyquist Theorem
• Nyquist theorem states that “to produce the
original analog signal ,the sample rate must be
at least twice the highest frequency in the
original signal”.
Nyquist rate=2
˟fmax
Nyquist rate is also called as Nyquist sample
rate.
• Sampling rate is inverse of sampling interval.
Sampling rate or sampling frequency.
fs = 1/TS . 5
Noiseless Channel : Nyquist bit rate
• Nyquist bit rate defines the theoretical maximum
bit rate for a noiseless channel or ideal channel.
• The formula for maximum bit rate in bits per
second(bps) is:
Maximum bit rate = 2
˟BW
˟log2L
Where, BW =bandwidth at channel
L= number of signed levels used to represent
data.
6
Noisy Channel : Shannon capacity
An ideal noiseless channel never exists. The maximum
data rate for any noisy channel is:
C = BW
˟log2 (1+S/N)
Where,
C= Channel capacity in bits per second
BW= bandwidth of channel
S/N= signal to noise ratio.
The channel capacity is also called as Shannon capacity.
The channel capacity do not depend upon the signal levels
used to represent the data.
7
Decibel
• The decibel (dB) measures the relative
strength of two signals or one signal at two
different points
• The decibel is positive if signal is strengthened
& it is negative when signal attenuates.
it is calculated as
db = 10 log10 (P2/P1)
• Variables P1 & P2 are the power of signal at
two points.
8
Noiseless Channel: Nyquist Rate
For a noiseless channel, the Nyquist bit rate formula
defines the theoretical maximum bit rate.
9
Does the Nyquist theorem bit rate agree with the intuitive bit
rate described in baseband transmission?
Example 3.33
Solution
They 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.
10
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
11
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
12
We need to send 265 kbps over a noiseless channel with a
bandwidth of 20 kHz. How many signal levels do we need?
Example
Solution
We can use the Nyquist formula as shown:
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.
13
Noisy Channel: Shannon Capacity
In reality, we cannot have a noiseless channel; the
channel is always noisy. In 1944, Claude Shannon
introduced a formula, called the Shannon capacity, to
determine the theoretical highest data rate for a noisy
channel:
14
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. What is the
Capacity C of the channel?
Example
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.
15
3.16
We can calculate the theoretical highest bit rate of a regular
telephone line. A telephone line normally has a bandwidth of
3000 Hz (300 to 3300 Hz) assigned for data
communications. The signal-to-noise ratio is usually 3162.
For this channel the capacity is calculated as
Example
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.
Calculation of SNR in db
• The signal to noise ratio is often
given in decibels also.
• SNRdb = 10 log10 SNR
or
• SNRdb = 10 log10 S/N
17
Assume that SNRdB = 36 and the channel bandwidth is 2
MHz. Calculate the theoretical channel capacity?
Example
19
Assume that SNRdB = 45 and the channel bandwidth is 10
MHz. Calculate the theoretical channel capacity?
3.20
Using Both Limits
In practice, we need to use both methods to find the
limits and signal levels. Let us show this with an
example.
3.21
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?
Example
Solution
First, we use the Shannon formula to find the upper limit.
The Shannon formula gives us 6 Mbps, the upper limit. For
better performance we choose something lower, 4 Mbps.
Then we use the Nyquist formula to find the number of
signal levels. Calculate
L for 6
mbps
also.
Some More Examples
Example : Determine the data rate for a noiseless channel
having BW of 3kHz and two signal levels are used for
signal transmission.
Solution:
For a noiseless channel, the maximum data rate is given
by Nyquist bit rate as
Bit rate= 2
˟BW
˟log2L
Bit rate = 2
˟(3
˟103 )
˟log2 (2)
Bit rate = 6
˟103
˟log10 (2) / log2 (2)
Bit rate = 6000bps
22
Example : Calculate the BW of a noiseless channel having
maximum bit rate of 12kbps and four signal
levels.
Solution:
Nyquist bit rate is given by
Bit rate = 2
˟BW
˟log2L
Given, Bit rate = 12
˟ 103 bps & L= 4
12
˟103 = 2
˟BW
˟[log2 (4)]
BW = 12
˟ 103 / 2[log10 (4)/log10 (2)]
BW = 3000Hz = 3kHz. 23
Example: Compute the channel capacity of a
noisy channel having BW = 4Khz, & S/N =0.
Solution:
C= BW
˟Log2 (1+S/N)
C=(4
˟103 )Log2 (1+0)
C=0
i.e Channel capacity is zero hence channel is
not able to transmit data.
24
Ex4. Calculate the capacity of a telephone channel.
The channel BW is 3000HZ & S/N is 3162.
Solution:
The telephone channel is a noisy channel
C=BW
˟log2 (1+S/N)
C= 3000
˟ log2 (1+3162)
C= = 3000
˟(log10 3162/log10 2)
C= 34,860 bps
25
Ex5. A system sends a signal that can assume 8
different voltage levels. it sends 400 of these
signals per second, what is baud rate?
Solution:
Baud rate is defined as number of signals
(symbols)transmitted per second since 400
symbols are transmitted per second.
Baud rate = 400 symbols/sec
26
Ex6. A system sends a signals that can assume 2
different voltage levels. It sends 100 of signals per
seconds, what is baud rate?
Solution:
Baud rate = number of symbols/sec
Bund rate = 100 symbols /sec.
27
Ex7. calculate the maximum bit rate for a channel
having bandwidth 3100Hz and SNR ratio 20 Db.
Solution:
We have to use formula (SNRdb = 10 log10 SNR)
Given
Given BW =3100Hz & SNR ratio =20 Db
i.e. 20 Db =10log[SNR], SNR = 100
Maximum bit rate for noisy channel is given by
C=BW
˟Log2 (1+S/N)
= 3100
˟Log2 (1+100)
= 20,640 bits/sec
28
Ex8. Calculate the maximum bit rate for a
channel having bandwidth 3100Hz and S/N
ratio 10db.
Solution:
BW=3100Hz
S/N =10dB
10dB =10 LOG[S/N]
S/N = 10
C=BW
˟log2 (1+S/N)=3100
˟log2 (1+10)
C=3100
˟[log10 (11)/log10 2)=10,724bits/sec.
29
Ex9. Calculate the maximum bit rate for a channel having
bandwidth =1600Hz if
(a) S/N ratio 0 dB (b) S/N ratio 20 dB
Solution:
Given BW=1600Hz
a)
S/N = 0dB
0 = 10 LOG(S/N)
S/N =1
Maximum bit rate is given by
C=BW
˟LOG2 (1+S/N)=1600
˟log2 (1+1)
C= 1600
˟[log10 (2)/log10 (2)]=1600bits/sec
30
b)
S/N =20 dB
i.e. 20dB = 10log(S/N)
S/N =100
C =1600
˟log2 (1+100)
= 1600
˟[log10 (101)/log10(2)]
C= 10,654 bits/sec
31
3.32
Q. Suppose a signal travels through a transmission medium
and its power is reduced to one half. Calculate signal power
in db.
Ans: Since power is reduced to half this means that P2 = 0.5
P1. Hence, the attenuation (loss of power) can be calculated
as
Example
A loss of 3 dB (−3 dB) is equivalent to losing one-half the
power.
3.33
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.34
Figure: Decibels for given example
3.35
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 a signal
travels 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 value for the
signal just by adding the decibel measurements between
each set of points. In this case, the decibel value can be
calculated as
Example
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.
Q. Calculate the power of a signal if its dBm = −30.
Solution
We can calculate the power in the signal as
dBm = 10 log10 Pm
=> -30 = 10 log10 Pm
=> log10 Pm = -3
=> Pm = 10-3 mW
Example
3.37
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?
Solution
The loss in the cable in decibels is 5 × (−0.3) = −1.5 dB. We
can calculate the power as
Example
Thank You
Dr Rajiv Srivastava
Director
Sagar Institute of Research & Technology (SIRT)
Sagar Group of Institutions, Bhopal
http://www.sirtbhopal.ac.in

More Related Content

What's hot

Digital to analog conversion
Digital to analog conversionDigital to analog conversion
Digital to analog conversion
WaseemKhan00
 

What's hot (20)

The Physical Layer
The Physical LayerThe Physical Layer
The Physical Layer
 
Digital to analog conversion
Digital to analog conversionDigital to analog conversion
Digital to analog conversion
 
Ch 06
Ch 06Ch 06
Ch 06
 
Basics of signals data communication
Basics of signals data communicationBasics of signals data communication
Basics of signals data communication
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Digital & analog transmission
Digital & analog transmissionDigital & analog transmission
Digital & analog transmission
 
Channel Capacity and transmission media
Channel Capacity and transmission mediaChannel Capacity and transmission media
Channel Capacity and transmission media
 
Modulation techniques
Modulation techniquesModulation techniques
Modulation techniques
 
Digital Modulation Techniques ppt
Digital Modulation Techniques pptDigital Modulation Techniques ppt
Digital Modulation Techniques ppt
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol
 
Digital Data, Digital Signal | Scrambling Techniques
Digital Data, Digital Signal | Scrambling TechniquesDigital Data, Digital Signal | Scrambling Techniques
Digital Data, Digital Signal | Scrambling Techniques
 
switching techniques in data communication and networking
switching techniques in data communication and networkingswitching techniques in data communication and networking
switching techniques in data communication and networking
 
ALOHA Protocol (in detail)
ALOHA Protocol (in detail)ALOHA Protocol (in detail)
ALOHA Protocol (in detail)
 
Analog and Digital Transmission
Analog and Digital TransmissionAnalog and Digital Transmission
Analog and Digital Transmission
 
GO BACK N PROTOCOL
GO BACK N PROTOCOLGO BACK N PROTOCOL
GO BACK N PROTOCOL
 
Physical Layer Questions
Physical Layer QuestionsPhysical Layer Questions
Physical Layer Questions
 
Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocol
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 

Similar to Data Communication & Computer network: Channel capacity

Data Communication And Networking - DATA RATE LIMITS
Data Communication And Networking - DATA RATE LIMITSData Communication And Networking - DATA RATE LIMITS
Data Communication And Networking - DATA RATE LIMITS
Avijeet Negel
 
Data Rate Limits A class element for university student
Data Rate Limits A class element  for university studentData Rate Limits A class element  for university student
Data Rate Limits A class element for university student
tarekrahat
 
Communication systems week 2
Communication systems week 2Communication systems week 2
Communication systems week 2
babak danyal
 
Ch04
Ch04Ch04
Ch04
H K
 

Similar to Data Communication & Computer network: Channel capacity (20)

Data Communication Principles
Data Communication PrinciplesData Communication Principles
Data Communication Principles
 
10069380.ppt
10069380.ppt10069380.ppt
10069380.ppt
 
Ch3 2 Data communication and networking
Ch3 2  Data communication and networkingCh3 2  Data communication and networking
Ch3 2 Data communication and networking
 
Ch3 4 v1
Ch3 4 v1Ch3 4 v1
Ch3 4 v1
 
Ch3 4 v1
Ch3 4 v1Ch3 4 v1
Ch3 4 v1
 
Data Communication And Networking - DATA RATE LIMITS
Data Communication And Networking - DATA RATE LIMITSData Communication And Networking - DATA RATE LIMITS
Data Communication And Networking - DATA RATE LIMITS
 
DATA RATE LIMITS
DATA RATE LIMITSDATA RATE LIMITS
DATA RATE LIMITS
 
Shannon Capacity.pptx
Shannon Capacity.pptxShannon Capacity.pptx
Shannon Capacity.pptx
 
Data Rate Limits A class element for university student
Data Rate Limits A class element  for university studentData Rate Limits A class element  for university student
Data Rate Limits A class element for university student
 
Chap3
Chap3Chap3
Chap3
 
Ch 03
Ch 03Ch 03
Ch 03
 
lecture-14-dcn.ppt
lecture-14-dcn.pptlecture-14-dcn.ppt
lecture-14-dcn.ppt
 
Communication systems week 2
Communication systems week 2Communication systems week 2
Communication systems week 2
 
OSI model - physical layer,Transmission medium, switching mechanisms, multipl...
OSI model - physical layer,Transmission medium, switching mechanisms, multipl...OSI model - physical layer,Transmission medium, switching mechanisms, multipl...
OSI model - physical layer,Transmission medium, switching mechanisms, multipl...
 
3-Bandwidth.pptx
3-Bandwidth.pptx3-Bandwidth.pptx
3-Bandwidth.pptx
 
COMPUTER NETWORKS DATAS AND SIGNALS.pptx
COMPUTER NETWORKS DATAS AND SIGNALS.pptxCOMPUTER NETWORKS DATAS AND SIGNALS.pptx
COMPUTER NETWORKS DATAS AND SIGNALS.pptx
 
Ch4 1 Data communication and networking by neha g. kurale
Ch4 1 Data communication and networking by neha g. kuraleCh4 1 Data communication and networking by neha g. kurale
Ch4 1 Data communication and networking by neha g. kurale
 
TeleCom Lecture 07.ppt
TeleCom Lecture 07.pptTeleCom Lecture 07.ppt
TeleCom Lecture 07.ppt
 
Ch04
Ch04Ch04
Ch04
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 

More from Dr Rajiv Srivastava

More from Dr Rajiv Srivastava (20)

Trends of it
Trends of itTrends of it
Trends of it
 
Placement at sagar group Bhopal | SIRT College Bhopal
Placement at sagar group Bhopal  | SIRT College Bhopal Placement at sagar group Bhopal  | SIRT College Bhopal
Placement at sagar group Bhopal | SIRT College Bhopal
 
How to Prepare for Group Discussion
How to Prepare for Group DiscussionHow to Prepare for Group Discussion
How to Prepare for Group Discussion
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
SAGE GROUP - BEST ENGINEERING COLLEGE IN BHOPAL MP
SAGE GROUP - BEST ENGINEERING COLLEGE IN BHOPAL MP SAGE GROUP - BEST ENGINEERING COLLEGE IN BHOPAL MP
SAGE GROUP - BEST ENGINEERING COLLEGE IN BHOPAL MP
 
lecture on data compression
lecture on data compressionlecture on data compression
lecture on data compression
 
Topic : X.25, Frame relay and ATM
Topic :  X.25, Frame relay and ATMTopic :  X.25, Frame relay and ATM
Topic : X.25, Frame relay and ATM
 
Topic : B ISDN
Topic : B ISDNTopic : B ISDN
Topic : B ISDN
 
Topic : ISDN(integrated services digital network) part 2
Topic : ISDN(integrated services digital network) part 2Topic : ISDN(integrated services digital network) part 2
Topic : ISDN(integrated services digital network) part 2
 
Topic: ISDN (Integrated Services Digital Network)
Topic: ISDN (Integrated Services Digital Network)Topic: ISDN (Integrated Services Digital Network)
Topic: ISDN (Integrated Services Digital Network)
 
Topic: Virtual circuit & message switching
Topic: Virtual circuit & message switchingTopic: Virtual circuit & message switching
Topic: Virtual circuit & message switching
 
Topic Packet switching
Topic Packet switchingTopic Packet switching
Topic Packet switching
 
Introduction to switching & circuit switching
Introduction to switching & circuit switchingIntroduction to switching & circuit switching
Introduction to switching & circuit switching
 
Topic:Terminal handling & polling
Topic:Terminal handling & pollingTopic:Terminal handling & polling
Topic:Terminal handling & polling
 
Topic: Spread Spectrum
Topic: Spread SpectrumTopic: Spread Spectrum
Topic: Spread Spectrum
 
Applications of Time Division multiplexing : statistical TDM
Applications of  Time Division multiplexing : statistical TDMApplications of  Time Division multiplexing : statistical TDM
Applications of Time Division multiplexing : statistical TDM
 
Multiplexing : Wave Division Multiplexing
Multiplexing : Wave Division MultiplexingMultiplexing : Wave Division Multiplexing
Multiplexing : Wave Division Multiplexing
 
Multiplexing : FDM
Multiplexing : FDMMultiplexing : FDM
Multiplexing : FDM
 
Data Communication & Computer network: Shanon fano coding
Data Communication & Computer network: Shanon fano codingData Communication & Computer network: Shanon fano coding
Data Communication & Computer network: Shanon fano coding
 
Data Communication & Computer Networks : LZW compression method
Data Communication & Computer Networks : LZW compression methodData Communication & Computer Networks : LZW compression method
Data Communication & Computer Networks : LZW compression method
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

Data Communication & Computer network: Channel capacity

  • 1. Introduction to Data communication Topic : Channel Capacity Lecture #9 Dr Rajiv Srivastava Director Sagar Institute of Research & Technology (SIRT) Sagar Group of Institutions, Bhopal http://www.sirtbhopal.ac.in
  • 3. • The channel capacity is a very important consideration in data communications that is how fast we can send data, in bits per second, over a channel. 3 Channel capacity
  • 4. DATA RATE LIMITS • The maximum data rate limit over a medium is decided by following factors: 1. Bandwidth of channel. 2. Signal levels 3. Channel quality (level of noise) • Two theoretical formulas were developed to calculate the data rate: one by Nyquist for a noiseless channel, another by Shannon for a noisy channel. 1. For noiseless channel- Nyquist bit rate 2. For noisy channel- Shannon capacity. 4
  • 5. Nyquist Theorem • Nyquist theorem states that “to produce the original analog signal ,the sample rate must be at least twice the highest frequency in the original signal”. Nyquist rate=2 ˟fmax Nyquist rate is also called as Nyquist sample rate. • Sampling rate is inverse of sampling interval. Sampling rate or sampling frequency. fs = 1/TS . 5
  • 6. Noiseless Channel : Nyquist bit rate • Nyquist bit rate defines the theoretical maximum bit rate for a noiseless channel or ideal channel. • The formula for maximum bit rate in bits per second(bps) is: Maximum bit rate = 2 ˟BW ˟log2L Where, BW =bandwidth at channel L= number of signed levels used to represent data. 6
  • 7. Noisy Channel : Shannon capacity An ideal noiseless channel never exists. The maximum data rate for any noisy channel is: C = BW ˟log2 (1+S/N) Where, C= Channel capacity in bits per second BW= bandwidth of channel S/N= signal to noise ratio. The channel capacity is also called as Shannon capacity. The channel capacity do not depend upon the signal levels used to represent the data. 7
  • 8. Decibel • The decibel (dB) measures the relative strength of two signals or one signal at two different points • The decibel is positive if signal is strengthened & it is negative when signal attenuates. it is calculated as db = 10 log10 (P2/P1) • Variables P1 & P2 are the power of signal at two points. 8
  • 9. Noiseless Channel: Nyquist Rate For a noiseless channel, the Nyquist bit rate formula defines the theoretical maximum bit rate. 9
  • 10. Does the Nyquist theorem bit rate agree with the intuitive bit rate described in baseband transmission? Example 3.33 Solution They 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. 10
  • 11. 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 11
  • 12. 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 12
  • 13. We need to send 265 kbps over a noiseless channel with a bandwidth of 20 kHz. How many signal levels do we need? Example Solution We can use the Nyquist formula as shown: 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. 13
  • 14. Noisy Channel: Shannon Capacity In reality, we cannot have a noiseless channel; the channel is always noisy. In 1944, Claude Shannon introduced a formula, called the Shannon capacity, to determine the theoretical highest data rate for a noisy channel: 14
  • 15. 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. What is the Capacity C of the channel? Example 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. 15
  • 16. 3.16 We can calculate the theoretical highest bit rate of a regular telephone line. A telephone line normally has a bandwidth of 3000 Hz (300 to 3300 Hz) assigned for data communications. The signal-to-noise ratio is usually 3162. For this channel the capacity is calculated as Example 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.
  • 17. Calculation of SNR in db • The signal to noise ratio is often given in decibels also. • SNRdb = 10 log10 SNR or • SNRdb = 10 log10 S/N 17
  • 18. Assume that SNRdB = 36 and the channel bandwidth is 2 MHz. Calculate the theoretical channel capacity? Example
  • 19. 19 Assume that SNRdB = 45 and the channel bandwidth is 10 MHz. Calculate the theoretical channel capacity?
  • 20. 3.20 Using Both Limits In practice, we need to use both methods to find the limits and signal levels. Let us show this with an example.
  • 21. 3.21 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? Example Solution First, we use the Shannon formula to find the upper limit. The Shannon formula gives us 6 Mbps, the upper limit. For better performance we choose something lower, 4 Mbps. Then we use the Nyquist formula to find the number of signal levels. Calculate L for 6 mbps also.
  • 22. Some More Examples Example : Determine the data rate for a noiseless channel having BW of 3kHz and two signal levels are used for signal transmission. Solution: For a noiseless channel, the maximum data rate is given by Nyquist bit rate as Bit rate= 2 ˟BW ˟log2L Bit rate = 2 ˟(3 ˟103 ) ˟log2 (2) Bit rate = 6 ˟103 ˟log10 (2) / log2 (2) Bit rate = 6000bps 22
  • 23. Example : Calculate the BW of a noiseless channel having maximum bit rate of 12kbps and four signal levels. Solution: Nyquist bit rate is given by Bit rate = 2 ˟BW ˟log2L Given, Bit rate = 12 ˟ 103 bps & L= 4 12 ˟103 = 2 ˟BW ˟[log2 (4)] BW = 12 ˟ 103 / 2[log10 (4)/log10 (2)] BW = 3000Hz = 3kHz. 23
  • 24. Example: Compute the channel capacity of a noisy channel having BW = 4Khz, & S/N =0. Solution: C= BW ˟Log2 (1+S/N) C=(4 ˟103 )Log2 (1+0) C=0 i.e Channel capacity is zero hence channel is not able to transmit data. 24
  • 25. Ex4. Calculate the capacity of a telephone channel. The channel BW is 3000HZ & S/N is 3162. Solution: The telephone channel is a noisy channel C=BW ˟log2 (1+S/N) C= 3000 ˟ log2 (1+3162) C= = 3000 ˟(log10 3162/log10 2) C= 34,860 bps 25
  • 26. Ex5. A system sends a signal that can assume 8 different voltage levels. it sends 400 of these signals per second, what is baud rate? Solution: Baud rate is defined as number of signals (symbols)transmitted per second since 400 symbols are transmitted per second. Baud rate = 400 symbols/sec 26
  • 27. Ex6. A system sends a signals that can assume 2 different voltage levels. It sends 100 of signals per seconds, what is baud rate? Solution: Baud rate = number of symbols/sec Bund rate = 100 symbols /sec. 27
  • 28. Ex7. calculate the maximum bit rate for a channel having bandwidth 3100Hz and SNR ratio 20 Db. Solution: We have to use formula (SNRdb = 10 log10 SNR) Given Given BW =3100Hz & SNR ratio =20 Db i.e. 20 Db =10log[SNR], SNR = 100 Maximum bit rate for noisy channel is given by C=BW ˟Log2 (1+S/N) = 3100 ˟Log2 (1+100) = 20,640 bits/sec 28
  • 29. Ex8. Calculate the maximum bit rate for a channel having bandwidth 3100Hz and S/N ratio 10db. Solution: BW=3100Hz S/N =10dB 10dB =10 LOG[S/N] S/N = 10 C=BW ˟log2 (1+S/N)=3100 ˟log2 (1+10) C=3100 ˟[log10 (11)/log10 2)=10,724bits/sec. 29
  • 30. Ex9. Calculate the maximum bit rate for a channel having bandwidth =1600Hz if (a) S/N ratio 0 dB (b) S/N ratio 20 dB Solution: Given BW=1600Hz a) S/N = 0dB 0 = 10 LOG(S/N) S/N =1 Maximum bit rate is given by C=BW ˟LOG2 (1+S/N)=1600 ˟log2 (1+1) C= 1600 ˟[log10 (2)/log10 (2)]=1600bits/sec 30
  • 31. b) S/N =20 dB i.e. 20dB = 10log(S/N) S/N =100 C =1600 ˟log2 (1+100) = 1600 ˟[log10 (101)/log10(2)] C= 10,654 bits/sec 31
  • 32. 3.32 Q. Suppose a signal travels through a transmission medium and its power is reduced to one half. Calculate signal power in db. Ans: Since power is reduced to half this means that P2 = 0.5 P1. Hence, the attenuation (loss of power) can be calculated as Example A loss of 3 dB (−3 dB) is equivalent to losing one-half the power.
  • 33. 3.33 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
  • 34. 3.34 Figure: Decibels for given example
  • 35. 3.35 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 a signal travels 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 value for the signal just by adding the decibel measurements between each set of points. In this case, the decibel value can be calculated as Example
  • 36. 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. Q. Calculate the power of a signal if its dBm = −30. Solution We can calculate the power in the signal as dBm = 10 log10 Pm => -30 = 10 log10 Pm => log10 Pm = -3 => Pm = 10-3 mW Example
  • 37. 3.37 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? Solution The loss in the cable in decibels is 5 × (−0.3) = −1.5 dB. We can calculate the power as Example
  • 38. Thank You Dr Rajiv Srivastava Director Sagar Institute of Research & Technology (SIRT) Sagar Group of Institutions, Bhopal http://www.sirtbhopal.ac.in