Introduction To Physical Layer
Introduction To Physical Layer
Digital data
Information that has discrete states
Eg. A digital clock, data stored in computer memory in form of 1s and 0s
ANALOG AND DIGITAL SIGNALS
An analog signal has infinitely many levels of intensity over a period
of time
A digital signal can have only a limited number of defined values
A sine wave
SINE WAVE
Represented by
The peak amplitude
The frequency and
The phase
λ = c/f
Wavelength is used to describe transmission of light
in an optical fiber.
TIME AND FREQUENCY DOMAINS
Time domain plot shows changes in signal amplitude with respect to
time
A frequency domain plot is concerned with the peak value and the
frequency; changes in amplitude during one period are not shown
Frequency domain is more compact and useful when dealing with
more than one sine wave
Here, first harmonic, third harmonic and ninth harmonic are shown
Frequency decomposition of a signal is discrete
Since f is integral, 3f and 9f are also integral
No frequencies exist like 1.2f or 2.6 f
Time and Frequency domains of a nonperiodic signal
BANDWIDTH
Range of frequencies contained in a composite signal is its bandwidth
Difference between the highest and the lowest frequencies contained
in that signal
Bandwidth of a nonperiodic signal
IF A PERIODIC SIGNAL IS DECOMPOSED INTO FIVE SINE WAVES
WITH FREQUENCIES OF 100, 300, 500, 700, AND 900 HZ,
WHAT IS ITS BANDWIDTH? DRAW THE SPECTRUM, ASSUMING
ALL COMPONENTS HAVE A MAXIMUM AMPLITUDE OF 10 V.
Let fh be the highest frequency, fl the lowest frequency, and B the
bandwidth. Then
The spectrum has only five spikes, at 100, 300, 500, 700, and 900 Hz
A PERIODIC SIGNAL HAS A BANDWIDTH OF 20 HZ. THE
HIGHEST FREQUENCY IS 60 HZ. WHAT IS THE LOWEST
FREQUENCY? DRAW THE SPECTRUM IF THE SIGNAL
CONTAINS ALL FREQUENCIES OF THE SAME AMPLITUDE.
Let fh be the highest frequency, fl the lowest frequency, and B the
bandwidth. Then
HDTV uses digital signals to broadcast high quality video signals. The HDTV
screen is normally a ratio of 16 : 9. There are 1920 by 1080 pixels per
screen, and the screen is renewed 30 times per second. Twenty-four bits
represents one color pixel
Baseband Transmission
Sending a digital signal over a channel without changing the digital signal to an
analog signal
Requires a low-pass channel with a bandwidth that starts from zero
Means a dedicated medium with a bandwidth constituting only one channel
Bandwidths of Low pass channels
Baseband transmission using a dedicated medium
An example of a dedicated channel where the entire bandwidth of the medium is used as one
single channel is a LAN. Almost every wired LAN today uses a dedicated channel for two
stations communicating with each other. In a bus topology LAN with multipoint connections, only
two stations can communicate with each other at each moment in time (timesharing); the other
stations need to refrain from sending data. In a star topology LAN, the entire channel between
each station and the hub is used for communication between these two entities.
The maximum bit rate can be achieved if we use the first harmonic.
The bit rate is 2 times the available bandwidth, or 200 kbps
BROADBAND TRANSMISSION (USING
MODULATION)
Changing a digital signal into analog signal for transmission
Modulation allows us to use a bandpass channel
A channel with bandwidth that does not start from 0
More available than a low-pass channel
A second example is the digital cellular telephone. For better reception, digital cellular phones
convert the analog voice signal to a digital signal. Although the bandwidth allocated to a
company providing digital cellular phone service is very wide, we still cannot send the digital
signal without conversion. The reason is that we only have a bandpass channel available
between caller and callee. We need to convert the digitized voice to a composite analog
signal before sending.
Attenuation
TRANSMISSION IMPAIRMENT Distortion
Noise
Causes of Impairment
Attenuation
Measurement of Attenuation
• Measured in decibels
dB = 10log10(P2/P1)
P1 - input signal
P2 - output signal
• Some books define decibels in terms of voltage instead of power. In such a
case,
dB = 20log10(V2/V1)
V1 - input voltage
V2 - output voltage
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
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?
The loss in the cable in decibels is 5 × (−0.3) = −1.5 dB. We can calculate the
power as
Distortion
• Signal changes its form or shape
• Distortion can occur in a composite signal made of different frequencies
• Each signal component has its own propagation speed through a medium
and its own delay in arriving at final destination
• Differences in delay may create a difference in phase if the delay is not exactly
the same as period duration
Distortion
Noise
• Thermal Noise - random noise of electrons in the wire creates an extra signal
• Induced Noise - from motors and appliances, devices act are transmitter
antenna and medium as receiving antenna
• Crosstalk Noise - same as above but between two wires
• Impulse - Spikes that result from power lines, lightning, etc.
Noise
Noise Measurement
• Measured using Signal-to-Noise Ratio (SNR)
• SNR is the theoretical bit rate limit
• It is usually given in dB and referred to as SNRdB.
• SNR = (average signal power)/(average noise power)
• SNR is ratio of what is wanted (signal) and what is not wanted (noise)
SNRdB = 10log10SNR
Two cases of SNR: a high SNR and a low SNR
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 ?
The values of SNR and SNRdB for a noiseless channel are unachievable as -
They match when we have only two levels. 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; it can be applied to
baseband transmission and modulation. Also, it can be applied when we have
two or more levels of signals.
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
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
We need to send 265 kbps over a noiseless channel with a bandwidth of 20 kHz. How
many signal levels do we need?
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
NOISY CHANNEL: SHANNON CAPACITY
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:
Capacity = bandwidth X log2(1+SNR)
There is no indication of the signal level
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
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.
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
This implies 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
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
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
The Shannon capacity gives us the upper limit; the Nyquist formula tells us how
many signal levels we need
Bandwidth
Throughput
PERFORMANCE Latency
Bandwidth Delay Product
Jitter
BANDWIDTH
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.
THROUGHPUT
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.
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
Transmission Time
• There is a time between the first bit leaving the sender and the last bit arriving at
the receiver
• Transmission time depends on size of the message and the bandwidth of the channel
Transmission time = (Message Size) / Bandwidth
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.
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.
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.
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.
Queuing Time
• Time needed for each intermediate or end device to hold the message before
it can be processed
• Not a fixed factor; it changes with the load imposed on the network
• When there is heavy traffic on the network, queuing time increases
• Routers queue the packets
BANDWIDTH DELAY PRODUCT
Bandwidth and delay are two performance metrics of a link
The bandwidth-delay product defines the number of bits that can fill the link
Jitter
• Jitter is a problem if different packets of
data encounter different delays and the
application using the data at the receiver site
is time-sensitive
THANK YOU!!! Any Questions!!!