unit 1 physical layer
unit 1 physical layer
(Week 3)
The Physical Layer
ANDREW S. TANENBAUM
COMPUTER NETWORKS
FOURTH EDITION
PP. 85-118
The Purpose of the Physical Layer
• THE PURPOSE OF THE PHYSICAL LAYER
IS TO TRANSPORT A RAW BIT STREAM
FROM ONE MACHINE TO ANOTHER
• Fourier Analysis
• Bandwidth-Limited Signals
• Maximum Data Rate of a Channel
Fourier Analysis (1/4)
• INFORMATION CAN BE TRANSMITTED
ON WIRES BY VARYING SOME
PHYSICAL PROPERTY SUCH AS
VOLTAGE OR CURRENT.
• BY REPRESENTING THE VALUE OF
THIS VOLTAGE OR CURRENT AS A
SINGLE-VALUED FUNCTION OF TIME,
f(t), WE CAN MODEL THE BEHAVIOR OF
THE SIGNAL AND ANALYZE IT
MATHEMATICALLY
Fourier Analysis (2/4)
• Any periodic function, g(t), with period T can
be constructed by summing a (possibly
infinite) number of sines and cosines:
1
g (t ) c an sin( 2nft ) bn cos( 2nft )
2 n 1 n 1
1
f is the fundamental frequency; c is a constant;
T
an and b n are the sine and cosine amplitudes of the nth harmonics.
2T
g (t) cos(2nft )dt
bn
T
0
T
2
c
T
0
g ( t ) dt
Bandwidth-Limited Signals (1/8)
• Let us consider the relation of the Fourier Series
with data communication.
• Let us consider how to transmit the ASCII
character “b”, which can be encoded in an 8-bit:
01100010.
This signal is the
voltage output by
the transmitting
computer
Bandwidth-Limited Signals (2/8)
• Magnetic Media
• Twisted Pair
• Coaxial Cable
• Fiber Optics
Magnetic Media
• Magnetic tape;
• Removable media (e.g., recordable
DVDs);
• More cost effective, especially for
applications in which high bandwidth
or cost per bit transported is the key
factor.
Twisted Pair (1/2)
A twisted pair consists of two insulated copper
wires, typically about 1 mm thick.
(a) Three examples of a light ray from inside a silica fiber impinging
on the air/silica boundary at different angles.
(b) Light trapped by total internal reflection.
Fiber Optics (2/2)
• Multimode Fiber.
• Singlemode Fiber.
• Singlemode fibers are more expensive but are
widely used for longer distance.
• Currently available single mode fibers can
transmit data at 50 Gbps for 100 km without
amplification.
Transmission of Light through Fiber (1/3)
• The attenuation of light through glass depends on
the wavelength of the light (as well as on some
physical properties of the glass).
• The attenuation in decibels is given by the
formula:
Attenuatio n _ in _ decibels 10 log transmitted _ power
10
received _ power
Transmission of Light through Fiber (2/3)