Data Communications & Computer Networks
Data Communications & Computer Networks
Data Communications & Computer Networks
Computer Networks
Chapter 3
Data Transmission
Fall 2008
Agenda
1. Terminology (1)
• Transmitter
• Receiver
• Medium
—Guided medium
• e.g. twisted pair, optical fiber
—Unguided medium
• e.g. air, water, vacuum
Terminology (3)
• Simplex
—One direction
Sine Wave
Square Wave
Wavelength
• Distance occupied by one cycle
• Distance between two points of corresponding
phase in two consecutive cycles
• λ=wavelength
• Assuming signal velocity v
— λ = v·T
— λ·f = v
— c =2,98*108 m/s (approximately 3*108 m/s) speed
of light in free space
Addition of
Frequency
Components
(T=1/f) sin(2πft)
(1/3) sin(2π(3f)t)
(4/π) [sin(2πft)+(1/3)sin(2π(3f)t)]
(4/π) [sin(2πft)+(1/3)sin(2π(3f)t)]
s(t)=1, -X/2<t<X/2
Frequency Domain
Bandwidth
Square
wave
Square wave
(4/π) [sin(2πft)+(1/3)sin(2π(3f)t)+(1/5)sin(2π(5f)t)]
signal consists
of an infinite
number of odd
harmonics
Σ
(4/π) [sin(2πkft)]/k
for odd values of k
So, for this particular example, for a BW of 4MHz, the Data Rate
achieved is 2Mbps
So, for this particular example, for a BW of 8MHz, the Data Rate
achieved is 4Mbps
So, for this particular example, for a BW of 4MHz, the Data Rate
achieved is 4Mbps
(log scale)
• Disadvantages
—Greater attenuation
• Pulses become rounded and smaller
• Leads to loss of information
Components of Speech
• Frequency range (of hearing) 20Hz-20kHz
—Speech 100Hz-7kHz
• Easily converted into electromagnetic signal for
transmission
• Sound frequencies with varying volume
converted into electromagnetic frequencies with
varying voltage
• Limit frequency range for voice channel
—300-3400Hz
Voice
Digital Transmission
• Concerned with content
• Integrity endangered by noise, attenuation etc.
• Repeaters are used
—A repeater receives digital signal, recovers the bit
pattern (0 or 1) and retransmits new signal. Thus,
attenuation is overcome
• Noise is not amplified
Transmission Impairments
Attenuation
• Signal strength reduces with distance over any
transmission medium
• Depends on medium
• Received signal strength:
—must be enough to be detected
—must be sufficiently higher than noise to be received
without error
• Attenuation is an increasing function of
frequency, i.e. the higher the frequency, the
more the attenuation attenuation
Noise (1)
• Additional signals inserted between transmitter
and receiver
• Noise is the major limiting factor in
communication system performance
• Noise can be divided into 4 main categories
—Thermal
—Intermodulation
—Crosstalk
—Impulse noise
Channel capacity
Nyquist Bandwidth
• Assume a noise-free channel
• If rate of signal transmission is 2B, then a signal with
frequencies no greater than B is sufficient to carry signal
rate
• or, given bandwidth B, highest signal rate is 2B
• Given a binary signal, the maximum data rate supported
by a channel of bandwidth B Hz is 2B bps
• Maximum data rate, C, can be increased by using M
signal levels
• Nyquist formula: C= 2·B·log2M in bps (bits per
second)
• However, receiver must be able to distinguish one of M
possible signal elements. Noise and other transmission
impairments limit the practical value of M.
• Since P = V2/R
Where, P=Power dissipated across resistance R
v = Voltage across resistance R
Then GdB = 10 log10 (Pout/Pin)
= 10 log10 [(V2out/R) /(V2in/R)]
= 20 log10 (Vout/Vin)
Solution of example
• Bandwidth, B=4 MHz – 3 MHz = 1 MHz = 106 Hz.
• SNRdB=24 dB = 10log10(SNR)
• Therefore, SNR=10(24/10) = 102.4 = 251.2
Exercises (1)
Q1. What is the theoretical maximum channel capacity for
the following PSTN channel of a signal-to-noise ratio
of 13dB? Assume white thermal noise is only present
on the channel.
S(f) in dB
0
-3