Sei sulla pagina 1di 73

The Physical Layer

T HE P HYSICAL L AYER

Muhammad Adil Raja

Roaming Researchers, Inc.

August 25, 2014


The Physical Layer

O UTLINE
I NTRODUCTION
T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION
G UIDED T RANSMISSION M EDIA
W IRELESS TRANSMISSION
C OMMUNICATION S ATELLITES
D IGITAL M ODULATION AND M ULTIPLEXING
T HE P UBLIC S WITCHED T ELEPHONE N ETWORK
T HE M OBILE T ELEPHONE S YSTEM
C ABLE T ELEVISION
C ONCLUSIONS
The Physical Layer

O UTLINE
I NTRODUCTION
T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION
G UIDED T RANSMISSION M EDIA
W IRELESS TRANSMISSION
C OMMUNICATION S ATELLITES
D IGITAL M ODULATION AND M ULTIPLEXING
T HE P UBLIC S WITCHED T ELEPHONE N ETWORK
T HE M OBILE T ELEPHONE S YSTEM
C ABLE T ELEVISION
C ONCLUSIONS
The Physical Layer

O UTLINE
I NTRODUCTION
T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION
G UIDED T RANSMISSION M EDIA
W IRELESS TRANSMISSION
C OMMUNICATION S ATELLITES
D IGITAL M ODULATION AND M ULTIPLEXING
T HE P UBLIC S WITCHED T ELEPHONE N ETWORK
T HE M OBILE T ELEPHONE S YSTEM
C ABLE T ELEVISION
C ONCLUSIONS
The Physical Layer

O UTLINE
I NTRODUCTION
T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION
G UIDED T RANSMISSION M EDIA
W IRELESS TRANSMISSION
C OMMUNICATION S ATELLITES
D IGITAL M ODULATION AND M ULTIPLEXING
T HE P UBLIC S WITCHED T ELEPHONE N ETWORK
T HE M OBILE T ELEPHONE S YSTEM
C ABLE T ELEVISION
C ONCLUSIONS
The Physical Layer

O UTLINE
I NTRODUCTION
T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION
G UIDED T RANSMISSION M EDIA
W IRELESS TRANSMISSION
C OMMUNICATION S ATELLITES
D IGITAL M ODULATION AND M ULTIPLEXING
T HE P UBLIC S WITCHED T ELEPHONE N ETWORK
T HE M OBILE T ELEPHONE S YSTEM
C ABLE T ELEVISION
C ONCLUSIONS
The Physical Layer

O UTLINE
I NTRODUCTION
T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION
G UIDED T RANSMISSION M EDIA
W IRELESS TRANSMISSION
C OMMUNICATION S ATELLITES
D IGITAL M ODULATION AND M ULTIPLEXING
T HE P UBLIC S WITCHED T ELEPHONE N ETWORK
T HE M OBILE T ELEPHONE S YSTEM
C ABLE T ELEVISION
C ONCLUSIONS
The Physical Layer

O UTLINE
I NTRODUCTION
T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION
G UIDED T RANSMISSION M EDIA
W IRELESS TRANSMISSION
C OMMUNICATION S ATELLITES
D IGITAL M ODULATION AND M ULTIPLEXING
T HE P UBLIC S WITCHED T ELEPHONE N ETWORK
T HE M OBILE T ELEPHONE S YSTEM
C ABLE T ELEVISION
C ONCLUSIONS
The Physical Layer

O UTLINE
I NTRODUCTION
T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION
G UIDED T RANSMISSION M EDIA
W IRELESS TRANSMISSION
C OMMUNICATION S ATELLITES
D IGITAL M ODULATION AND M ULTIPLEXING
T HE P UBLIC S WITCHED T ELEPHONE N ETWORK
T HE M OBILE T ELEPHONE S YSTEM
C ABLE T ELEVISION
C ONCLUSIONS
The Physical Layer

O UTLINE
I NTRODUCTION
T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION
G UIDED T RANSMISSION M EDIA
W IRELESS TRANSMISSION
C OMMUNICATION S ATELLITES
D IGITAL M ODULATION AND M ULTIPLEXING
T HE P UBLIC S WITCHED T ELEPHONE N ETWORK
T HE M OBILE T ELEPHONE S YSTEM
C ABLE T ELEVISION
C ONCLUSIONS
The Physical Layer

O UTLINE
I NTRODUCTION
T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION
G UIDED T RANSMISSION M EDIA
W IRELESS TRANSMISSION
C OMMUNICATION S ATELLITES
D IGITAL M ODULATION AND M ULTIPLEXING
T HE P UBLIC S WITCHED T ELEPHONE N ETWORK
T HE M OBILE T ELEPHONE S YSTEM
C ABLE T ELEVISION
C ONCLUSIONS
The Physical Layer
Introduction

I NTRODUCTION I
I The lowest layer in a protocol model.
I Defines the electrical, timing and other interfaces by which
bits are sent as signals over channels.
I Physical layer is the foundation on which the network is
built.
I The properties of different kinds of physical channels
determine the performance.
I e.g., throughput, latency, and error rate.
I It is a good place to start a journey into network land.
I Beginning: With a theoretical analysis of data transmission.
I Figure out the constraints of the transmission channels.
I Three kinds of transmission media:
The Physical Layer
Introduction

I NTRODUCTION II
I Guided: Copper wire and fiber optics.
I wireless: Terrestrial radio.
I Satellite.
I Each technology has different properties that affect the
design and performance of the networks that use them.
I The goal of this lecture is to provide background
information on the key transmission technologies used in
modern networks.
I Digital modulation: Analog ⇐⇒ Digital.
I Multiplexing schemes: How multiple conversations can be
put on the same transmission medium at the same time
without interfering with one another.
I Look at three examples of communication systems used in
practice for wide area computer networks.
The Physical Layer
Introduction

I NTRODUCTION III

I The fixed telephone system.


I The mobile phone system.
I The cable television system.
The Physical Layer
The Theoretical Basis For Data Communication

T HE T HEORETICAL BASIS F OR DATA C OMMUNICATION


I

I Information can be transmitted on wires by varying some


physical property such as voltage or current.
I By representing the value of this voltage or current as a
single-valued function of time, f (t), the behavior of the
signal can be modeled and analysed mathematically.
I This analysis is the subject of the following sections.
The Physical Layer
The Theoretical Basis For Data Communication

F OURIER A NALYSIS I
I Any reasonably behaved periodic function, g(t) with period
T , can be constructed as the sum of a (possibly infinite)
number or sines and cosines:
∞ ∞
1 X X
g(t) = c + an sin(2πnft) + bn cos(2πnft) (1)
2
n=1 n=1

I where f = 1/T is the fundamental frequency.


I an and bn are the sine and cosine amplitudes of the nth
harmonics.
I c is a constant.
I Such a decomposition is called as Fourier series.
I From the Fourier series, the function can be reconstructed.
The Physical Layer
The Theoretical Basis For Data Communication

F OURIER A NALYSIS II
I That is, f the period, T, is known and the amplitudes are
given, the original function of time can be found by
performing the sums of Eq. 1.
I The proof was developed by the 19th century French
mathematician Jean-Baptiste Fourier.
I A data signal that has finite duration can be handled by just
imagining that it repeats the entire pattern over and over
forever.
I This is to say that the interval T to 2T is the same as from 0
to T, etc.
I All data signals are of finite duration.
The Physical Layer
The Theoretical Basis For Data Communication

F OURIER A NALYSIS III


I The an amplitudes can be computed for any given g(t) by
multiplying both sides of Eq. 1 by sin(2πkft) and then
integrating from 0 to T.
I Since:
Z T (
0. 6 n
for k =
sin(2πkft) sin(2πnft)dt = (2)
0 T /2, for k = n

I Only one term of the summation survives: an .


I The bn summation vanishes completely.
I By multiplying Eq. 1 by cos(2πkft) and integrating between
0 and T, we can derive bn .
I By integrating both sides of the equation as it stands, we
can find c.
The Physical Layer
The Theoretical Basis For Data Communication

F OURIER A NALYSIS IV

I The results of performing these operations are as follows:

2 T
R
an = T 0 g(t) sin(2πnft)dt (3)
2 T
R
bn = T 0 g(t) cos(2πnft)dt (4)
2 T
R
c= T 2 g(t)dt (5)
The Physical Layer
The Theoretical Basis For Data Communication

F OURIER A NALYSIS V 92 THE PHYSICAL LAYER CHAP. 2

0 1 1 0 0 0 1 0

rms amplitude
1 0.50

0.25

0 Time T 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Harmonic number
(a)

1 harmonic

0 1
(b)

1 2 harmonics

0 1 2
(c)

1 4 harmonics

0 1 2 3 4
(d)

1 8 harmonics

0 1 2 3 4 5 6 7 8
Time Harmonic number
(e)

Figure 2-1. (a) A binary signal and its root-mean-square Fourier amplitudes.
(b)–(e) Successive approximations to the original signal.

F IGURE : (a) A binary signal and its root-mean-square Fourier


amplitudes, (b)–(e) Successive approximations to the signal.
The Physical Layer
The Theoretical Basis For Data Communication

BANDWIDTH -L IMITED S IGNALS I


I How is all of this relevant to data communication.
I Real channels affect different frequency signals differently.
I Let us consider a specific example:
I The transmission of the ASCII character “b” encoded in an
8-bit byte.
I The pattern that is to be transmitted is 01100010.
I The Fourier analysis of this signal yields the coefficients:

1
an = πn [cos(πn/4) − cos(3πn/4) + cos(6πn/4) − cos(7πn/4)](6)
1
bn = πn [sin(3πn/4) − sin(πn/4) + sin(7πn/4) − sin(6πn/4)] (7)
c= 3/4 (8)
The Physical Layer
The Theoretical Basis For Data Communication

BANDWIDTH -L IMITED S IGNALS II

I These values are of interest because their squares are


proportional to the energy transmitted at the corresponding
frequency.
I No transmission facility can transmit signals without
loosing some power in the process.
I If all the Fourier components were equally diminished, the
resulting signal would be reduced in amplitude but not
distorted.
I Unfortunately, all transmission facilities diminish different
Fourier components by different amounts, thus introducing
distortion.
The Physical Layer
The Theoretical Basis For Data Communication

BANDWIDTH -L IMITED S IGNALS III


I Usually, for a wire, the amplitudes are transmitted mostly
undiminished from 0 up to some frequency fc [measured in
cycles/sec or Hertz (Hz)].
I All frequencies above this cutoff are attenuated.
I The width of the frequency range transmitted without being
strongly attenuated is called the bandwidth.
I In practice, the cutoff is not really sharp.
I So often the quoted bandwidth is from 0 to the frequency
at which the received power has fallen by half.
I The bandwidth is a physical property of the transmission
medium.
I It depends on the construction, thickness, and length of a
wire or fiber.
The Physical Layer
The Theoretical Basis For Data Communication

BANDWIDTH -L IMITED S IGNALS IV


I Filters are often used to further limit the bandwidth of a
signal.
I IEEE 802.11 wireless channels are allowed to use up to
roughly 20 MHz.
I So 802.11 radios filter the signal bandwidth to this size.
I An another example, traditional (analog) television
channels occupy 6 MH each, on a wire or over the air.
I This filtering lets more signals share a given region of
spectrum.
I This improves the overall efficiency of the system.
I It means that the frequency range for some signals will not
start at zero.
I But this does not matter.
The Physical Layer
The Theoretical Basis For Data Communication

BANDWIDTH -L IMITED S IGNALS V

I The bandwidth is still the width of the band of frequencies


that are passed.. And the information that can be carried
depends only on this width and not on the starting and
ending frequencies.
I Baseband signals: Signals that run from 0 up to a
maximum frequency.
I Passband signals: Signals that are shifted to occupy a
higher range of frequencies, as is the case for all wireless
transmissions.
The Physical Layer
The Theoretical Basis For Data Communication

T HE M AXIMUM DATA R ATE OF A C HANNEL I

I Even a perfect channel has a finite transmission capacity


(Henry Hyquist, 1924).
I Claude Shannon: The case of a channel subject to random
(that is, thermodynamic) noise.
I Nyquist proved that if an arbitrary signal has been run
through a low-pass filter of bandwidth B, the filtered signal
can be completely reconstructed by making only 2B
(exact) samples per second.
I Sampling the line faster than 2B times per second is
pointless because the higher-frequency components that
such sampling could recover have already been filtered
out.
The Physical Layer
The Theoretical Basis For Data Communication

T HE M AXIMUM DATA R ATE OF A C HANNEL II


I If the signal consists of V discrete levels, Nyquist’s
theorem states.
maximum data rate = 2Blog2 Vbits/sec (9)

I So, a noiseless 3-kHz channel cannot transmit binary (i.e,


two-level) signals at a rate exceeding 6000 bps.
I This result is for noiseless channels.
I Situation deteriorates rapidly if random noise is present.
I Moreover, there is always random (thermal) noise present
due to the motion of the molecules in the system.
I The amount of thermal noise present is measured by the
ration of the signal power to the noise power.
The Physical Layer
The Theoretical Basis For Data Communication

T HE M AXIMUM DATA R ATE OF A C HANNEL III


I This is called SNR (Signal-to-Noise Ratio).
I Signal-to-noise ratio is S/N.
I Where is S is the signal power and N is the noise power.
I Usually, the ratio is expressed on a log scale as the
quantity 10 log10 S/N, because it can vary over a
tremendous range.
I The units of this log scale are called decibels (dB).
I An S/N ratio of 10 is 10dB, a ratio of 100 is 20dB, a ratio
of 1000i s 30 dB, and so on.
I Shannon’s major result is about a noisy channel.
I The result is that the 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 by:
The Physical Layer
The Theoretical Basis For Data Communication

T HE M AXIMUM DATA R ATE OF A C HANNEL IV

maximum number of bits/sec = Blog2 (1 + S/N) (10)

I This tells us the best capacities that real channels can


have.
I Repeaters.
The Physical Layer
Guided Transmission Media

G UIDED T RANSMISSION M EDIA I

I Magnetic Media, CDs, DVDs etc, (Upto 70 Gbps).


I Twisted Pairs.
I Category 5 cables.
I Full duplex links.
I Half-duplex links.
I Simplex links.
I Category 6, UTP (Unshielded Twisted Pairs).
I Category 7, Shielding on the individual twisted pairs as well
as around the entire cable.
I Shielding reduces the susceptibility to external interference
and crosstalk with other nearby cables to meet demanding
performance specifications.
I Coaxial Cable.
The Physical Layer
Guided Transmission Media

G UIDED T RANSMISSION M EDIA II


I It has better shielding and greater bandwidth than
unshielded twisted pairs, so it can span longer distances at
higher speeds.
I Power Lines.
I Fiber Optics.
SEC. 2.2 GUIDED TRANSMISSION MEDIA 97

Twisted pair

Figure 2-3. Category 5 UTP cable with four twisted pairs.


F IGURE : Category 5 UTP cable with four twisted pairs
To reach higher speeds, 1-Gbps Ethernet uses all four pairs in both directions si-
multaneously; this requires the receiver to factor out the signal that is transmitted
locally.
Some general terminology is now in order. Links that can be used in both di-
rections at the same time, like a two-lane road, are called full-duplex links. In
factorsLayer
The Physical (e.g.,
early dipole antennas had an impedance of 300 ohms, and it was
easyTransmission
Guided to use existing
4:1 impedance-matching transformers). Starting in the mid-
Media
1990s, cable TV operators began to provide Internet access over cable, which has
made 75-ohm cable more important for data communication.
A coaxial cable consists of a stiff copper wire as the core, surrounded by an
G UIDED
insulating T The insulator isM
RANSMISSION
material. EDIA
encased by III
a cylindrical conductor, often as a
closely woven braided mesh. The outer conductor is covered in a protective plas-
tic sheath. A cutaway view of a coaxial cable is shown in Fig. 2-4.

Copper Insulating Braided Protective


core material outer plastic
conductor covering

Figure 2-4. A coaxial cable.


F IGURE : A coaxial cable
The construction and shielding of the coaxial cable give it a good combination
of high bandwidth and excellent noise immunity. The bandwidth possible de-
pends on the cable quality and length. Modern cables have a bandwidth of up to a
few GHz. Coaxial cables used to be widely used within the telephone system for
long-distance lines but have now largely been replaced by fiber optics on long-
for broadband
The Physical Layer Internet access. We will concentrate on the most common scenario:
using
Guided electrical
Transmission wires
Mediainside the home.
The convenience of using power lines for networking should be clear. Simply
plug a TV and a receiver into the wall, which you must do anyway because they
need power, and they can send and receive movies over the electrical wiring. This
G UIDED T RANSMISSION
configuration is shown in Fig. 2-5.MThere
EDIA is noIV
other plug or radio. The data sig-
nal is superimposed on the low-frequency power signal (on the active or ‘‘hot’’
wire) as both signals use the wiring at the same time.

Electric cable Data signal

Power signal

Figure 2-5. A network that uses household electrical wiring.


F IGURE : A network that uses household electrical wiring.

The difficulty with using household electrical wiring for a network is that it
was designed to distribute power signals. This task is quite different than distri-
buting data signals, at which household wiring does a horrible job. Electrical sig-
nals are sent at 50–60 Hz and the wiring attenuates the much higher frequency
(MHz) signals needed for high-rate data communication. The electrical properties
The Physical Layer
Fiber Cables
Guided Transmission Media

Fiber optic cables are similar to coax, except without the braid. Figure 2-8(a)
shows a single fiber viewed from the side. At the center is the glass core through
G UIDED
which theT light M EDIA
propagates. In multimode
RANSMISSION fibers, V
the core is typically 50 microns
in diameter, about the thickness of a human hair. In single-mode fibers, the core
is 8 to 10 microns.
Sheath Jacket
Core
(glass)

Cladding Jacket
(glass) (plastic) Core Cladding

(a) (b)

Figure 2-8. (a) Side view of a single fiber. (b) End view of a sheath with three fibers.
F IGURE : (a) Side view of a single fiber. (b) End view of a sheath with
Thefibers.
three core is surrounded by a glass cladding with a lower index of refraction
than the core, to keep all the light in the core. Next comes a thin plastic jacket to
protect the cladding. Fibers are typically grouped in bundles, protected by an
outer sheath. Figure 2-8(b) shows a sheath with three fibers.
Terrestrial fiber sheaths are normally laid in the ground within a meter of the
surface, where they are occasionally subject to attacks by backhoes or gophers.
The Physical Layer
Wireless transmission

W IRELESS T RANSMISSION I

I The electromagnetic spectrum.


I Frequency hopping spread spectrum: the transmitter
hops from frequency to frequency hundreds of times per
second.
I Suitable for military communication because it makes
transmissions hard to detect and next to impossible to jam.
I Direct sequence spread spectrum: Uses a code
sequence to spread the data signal over a wider frequency
band.
I CDMA (Code Division Multiple Access): Signals can be
given different codes.
The Physical Layer
Wireless transmission

W IRELESS T RANSMISSION II

I UWB (Ultra-Wideband) Communication: Sends a series


of rapid pulses, varying their positions to communicate
information.
The Physical Layer
Wireless transmission

W IRELESS T RANSMISSION
SEC. 2.3
III
WIRELESS TRANSMISSION 107

f (Hz) 100 102 104 106 108 1010 1012 1014 1016 1018 1020 1022 1024

Radio Microwave Infrared UV X-ray Gamma ray

Visible
light

f (Hz) 104 105 106 107 108 109 1010 1011 1012 1013 1014 1015 1016
Satellite Fiber
Twisted pair
Coax optics
Terrestrial
AM FM microwave
Maritime radio radio

TV

Band LF MF HF VHF UHF SHF EHF THF

Figure 2-10. The electromagnetic spectrum and its uses for communication.
The Physical Layer
Wireless transmission

W IRELESS T RANSMISSION IV

F IGURE : The electromagnetic spectrum and its uses for


communication.
The Physical Layer
Wireless transmission

R ADIO T RANSMISSION I

I Easy to generate.
I Can travel long distances.
I Can penetrate buildings easily.
I So they are widely used for communication, both indoors
and outdoors.
I They are omnidirectional.
I They travel in all directions from the source.
I So the transmitter and receiver do not have to be aligned
physically.
The Physical Layer
Wireless transmission

M ICROWAVE T RANSMISSION I

I Microwaves travel in straight lines.


I Microwaves do not pass through buildings well.
I Divergence of beam can be a nuisance.
I Multipath fading. Delayed waves arriving out of phase with
the direct wave and thus cancel the signal.
I Absorption by water.
I The politics of electromagnetic spectrum – regulatory
authorities.
The Physical Layer
Wireless transmission

I NFRARED T RANSMISSION

I Unguided infrared waves are widely used for short-range


communication.
I The remote controls used for televisions, VCRs, and
stereos all use infrared communication.
I They are relatively directioal, cheap and easy to build.
I They do not pass through solid objects.
The Physical Layer
Wireless transmission

L IGHT T RANSMISSION

Fiber optics.
The Physical Layer
Communication Satellites

C OMMUNICATION S ATELLITES

I Bounce signals back to receivers.


I Signal amplification.
I Contains transponders.
I Geostationary satellites.
I Medium earth orbit satellites – Good for GPS (Global
Positioning System).
I Low earth orbit satellites.
I Satellites Versus Fiber.
The Physical Layer
Digital Modulation and Multiplexing

D IGITAL M ODULATION AND M ULTIPLEXING I

I The process of converting between bits and signals that


represent them is called Digital Modulation.
I Various modulation schemes result in various transmission
mechanisms.
I Baseband transmission.
I Passband transmission.
I Sharing of a transmission channel by various signals is
called multiplexing.
I It can be accomplished in different ways.
I Time division multiplexing.
I Frequency division multiplexing.
I Code division multiplexing.
The Physical Layer
Digital Modulation and Multiplexing

BASEBAND T RANSMISSION I
I The most straightforward form of digital modulation is to
use a positive voltage to represent a 1 and a negative
voltage to represent a 0.
I For an optical signal the presence of light may represent a
1 and absence of light may represent a 0.
I This scheme is called NRZ (Non-Return-to-Zero) – for
historical reasons.
I Once sent, the NRZ signal propagates down the wire.
I At the other end, the receiver converts it into bits by
sampling the signal at regular intervals of time.
I This signal will not look exactly like the signal that was
sent.
The Physical Layer
Digital Modulation and Multiplexing

BASEBAND T RANSMISSION II
I It will be attenuated and distorted by the channel and noise
at the receiver.
I To decode the bits, the receiver maps the signal samples
to the closest symbols.
I For NRZ, a positive voltage will be taken to indicate that a
1 was sent and a negative voltage will be taken to indicate
that a 0 was sent.
I NRZ is a good starting point for studies because it is
simple.
I However, it is rarely used in by itself in practice.
I More complex schemes can convert bits to signals that
better meet engineering considerations.
I These schemes are called line codes.
The Physical Layer
Digital Modulation and Multiplexing

BASEBAND T RANSMISSION III

I Line codes help with:


I Bandwidth efficiency.
I Clock recovery.
I DC balance.
The Physical Layer
Digital Modulation and Multiplexing

PASSBAND T RANSMISSION I
I Often, we want to use a range of frequencies that does not
start at zero to send information across a channel.
I For wireless channels, it is not practical to send very low
frequency signals because the size of the antenna needs
to be a fraction of the signal wavelength, which becomes
too large.
I In any case, regulatory constraints and the need to avoid
interference usually dictate the choice of frequencies.
I Even for wires, placing a signal in a given frequency band
is useful to let different kinds of signals coexist on the
channel.
I This kind of transmission is called passband because an
arbitrary band of frequencies is used to pass the signal.
The Physical Layer
Digital Modulation and Multiplexing

PASSBAND T RANSMISSION II
I The idea is to take a basband signal that occupies 0 to B
Hz and shift it up to occupy a passband of S to S+B Hz
without changing the amount of information that it can
carry, even the the signal looks different.
I To process a signal at the receiver, we can shift it back
down to baseband.
I It is more convenient to detect symbols at the receiver.
I Digital modulation is accomplished with passband
transmission by regulating or modulating a career signal
that sits in the passband.
I We can modulate the amplitude, frequency, or phase of the
career signal.
I Each of these methods has a corresponding name.
The Physical Layer
Digital Modulation and Multiplexing

PASSBAND T RANSMISSION III


I In ASK (Amplitude Shift Keying), two different amplitudes
are used to represent 0 and 1.
I More than two levels can be used to represent more levels.
I With FSK (Frequency Shift Keying), two or more different
tones are used.
I In PSK (Phase Shift Keying) , the career wave is
systematically shifted 0 or 180 degrees at each symbol
period.
I Because there are two phases, it is called BPSK (Binary
Phase Shift Keying).
I Binary refers to the two symbols, not that the symbols
represent 2 bits.
I A better scheme that uses the channel bandwidth more
efficiently is to use four shifts e.g. 45, 135, 225, or 315
degrees, to transmit 2 bits of information per symbol.
I This version is QPSK (Quadrature Phase Shift Keying).
The Physical Layer
Digital Modulation and Multiplexing

PASSBAND T RANSMISSION IV

I Quadrature amplitude modulation: QAM-16, QAM-64.


I In QAM different combinations of amplitudes and phase are
used.
SEC. 2.5
The Physical Layer
DIGITAL MODULATION AND MULTIPLEXING 131
Digital Modulation and Multiplexing

better scheme that uses the channel bandwidth more efficiently is to use four
shifts, e.g., 45, 135, 225, or 315 degrees, to transmit 2 bits of information per sym-
bol. This version
PASSBAND is called QPSK (Quadrature
T RANSMISSION V Phase Shift Keying).
0 1 0 1 1 0 0 1 0 0 1 0 0

(a)

(b)

(c)
The Physical Layer
Digital Modulation and Multiplexing

F REQUENCY D IVISION M ULTIPLEXING I


I FDM (Frequency Division Multiplexing) takes advantage
of passband transmission to share a channel.
I It divides the spectrum into frequency bands, with each
user having exclusive possession of some band in which to
send their signal.
I AM radio broadcasting illustrates FDM.
I The allocated spectrum is about 1 MHz, roughly 500 to
1500 kHz.
I Different frequencies are allocated to different logical
channels (stations), each operating in a portion of the
spectrum.
I The inter-channel separation is is kept great enough to
prevent interference.
The Physical Layer
Digital Modulation and Multiplexing

F REQUENCY D IVISION M ULTIPLEXING II

I OFDM (Orthogonal Frequency Division Multiplexing)


The Physical Layer
Digital Modulation and Multiplexing

T IME D IVISION M ULTIPLEXING I


I The users take turn in a round robin fashion. Each one
periodically gets the entire bandwidyj for a little burst of
time.
I Bits from each input stream are taken in a fixed time slot
and output to the aggregate stream. This stream runs at
the sum rate of the individual streams.
I Small intervals of guard time analogous to a frequency
guard band may be added to accommodate small timing
variations.
I TDM is used widely as part of the telephone and cellular
networks.
I It is quite different from STDM (Statistical Time Division
Multiplexing) however.
The Physical Layer
Digital Modulation and Multiplexing

T IME D IVISION M ULTIPLEXING II

I The prefix statistical is added to indicate that the individual


streams contribute to the multiplexed stream not on a fixed
schedule, but according to the statistics of their demand.
I STDM is packet switching by another name.
The Physical Layer
Digital Modulation and Multiplexing

T IME D IVISION M ULTIPLEXING III


156 THE PHYSICAL LAYER CHAP. 2

4 T1 streams in 7 T2 streams in 6 T3 streams in

40 1 T2 stream out
51
4:1 6 5 4 32 10 7:1 6:1
62
73
1.544 Mbps 6.312 Mbps 44.736 Mbps 274.176 Mbps

T1 T2 T3 T4

Figure 2-38. Multiplexing T1 streams into higher carriers.


F IGURE : Multiplexing T1 streams into higher careers.
recovery data are different in the U.S. and ITU standards. The ITU hierarchy for
32, 128, 512, 2048, and 8192 channels runs at speeds of 2.048, 8.848, 34.304,
139.264, and 565.148 Mbps.
The Physical Layer
Digital Modulation and Multiplexing

C ODE D IVISION M ULTIPLEXING I


I CDM (Code Division Multiplexing) is a form of spread
spectrum communication in which a narrowband signal is
spread out over a wider frequency band.
I It makes it more tolerant of interference.
I It allows multiple signals from different users to share the
same frequency band.
I CDMA (Code Division Multiple Access)
I CDMA allows each station to transmit over the entire
frequency spectrum all the time.
I Multiple simultaneous transmissions are separated using
coding theory.
I An analogy:
The Physical Layer
Digital Modulation and Multiplexing

C ODE D IVISION M ULTIPLEXING II


I Consider an airport lounge with many pairs of people
conversing.
I TDM is comparable to pairs of people in the room taking
turns speaking.
I FDM is comparable to the pairs of people speaking at
different pitches, some high-pitched and some low-pitched
such that each pair can hold its own conversation at the
same time as but independently of the others.
I CDMA is comparable to each pair of people talking at once,
but in a different language.
I The French-speaking couple just hones in on the French,
rejecting everything that is not French as noise.
I So the key to CDMA is to be able to extract the desired
signal while rejecting everything else as random noise.
I A somewhat simplified description of CDMA follows:
The Physical Layer
Digital Modulation and Multiplexing

C ODE D IVISION M ULTIPLEXING III


I In CDMA, each bit time is subdivided into m short intervals
called chips.
I Typically, there are 64 or 128 chips per bit.
I In our example we have used 8 chips/bit for simplicity.
I Each station is assigned a unique m-bit code called a chip
sequence.
I For the purpose of pedagogy, it is convenient to use a
bipolar notation to write these codes as sequences of -1
and +1.
I The chip sequences are shown in parentheses.
I To transmit a 1 bit, a station sends its chip sequence.
I To transmit a 0 bit, it sends the negations of its chip
sequence.
I No other parentheses are permitted.
The Physical Layer
Digital Modulation and Multiplexing

C ODE D IVISION M ULTIPLEXING IV

I Thus, for m = 8, if station A is assigned the chip sequence


(-1 -1 -1 +1 +1 -1 +1 +1), it can send a 1 bit by transmitting
the chip sequence and a 0 by transmitting (+1 +1 +1 -1 -1
+1 -1 -1).
I It is really signals with these voltage levels that are sent, but
it is convenient for us to think in terms of the sequences.
The Physical Layer
The Public Switched Telephone Network

T HE P UBLIC S WITCHED T ELEPHONE N ETWORK I


I The goal is to transmit human voice in a more or less
recognizable form.
I Structure of the telephone system.
I The politics of telephones.
I The local loops: Modems, ADSL, and Fiber.
I Telephone modems.
I Digital subscriber lines.
I Fiber to the home.
I Passive optical network (PON).
I Gigabit-capable PONs (GPONs).
I Ethernet PONs (EPONs).
I Trunks and Multiplexing.
The Physical Layer
The Public Switched Telephone Network

T HE P UBLIC S WITCHED T ELEPHONE N ETWORK II

I Digitizing voice signals.


I Pulse code modulation (PCM).
I Time division multiplexing.
I SONET/SDH.
I SONET (Synchronous Optical NETwork).
I Wavelength division multiplexing.
I Switching.
I Circuit switching.
I Packet Switching.
The Physical Layer
The Public Switched Telephone Network

162 THE PHYSICAL LAYER CHAP. 2


T HE P UBLIC S WITCHED T ELEPHONE N ETWORK III
Physical (copper)
connection set up
when call is made

(a)
Switching office

Computer Packets queued


for subsequent
transmission

Computer
The Physical Layer
The Mobile Telephone System

T HE M OBILE T ELEPHONE S YSTEM I

I People expect to use their phones on the go.


I 1G – Analog voice.
I Advanced Mobile Phone System – AMPS.
I 2G – Digital voice.
I Digital Advanced Mobile Phone System – D-AMPS.
I Global System for Mobile Communications – GSM.
I Based on a mix of FDM and TDM.
I 3G – Digital voice and data (Internet, email, etc.).
I CDMA
The Physical Layer
The Mobile Telephone System

168 M OBILE T ELEPHONE


T HE THE PHYSICAL LAYERII
S YSTEM CHAP. 2

B
B G C
G C A
A F D
F D E
E B
G C
A
F D
E

(a) (b)

Figure 2-45. (a) Frequencies are not reused in adjacent cells. (b) To add more
users, smaller cells can be used.
The Physical Layer
The Mobile Telephone System

T HE M OBILE T ELEPHONE S YSTEM III

F IGURE : (a) Frequencies are not used in adjacent cells. (b) To add
more users, smaller cells can be used.
ded into the handset and a removable chip with subscriber and account
ation called a SIM card, short for Subscriber Identity Module. It is the
The Physical Layer
The Mobile Telephone System
ard that activates the handset and contains secrets that let the mobile and the
ork identify each other and encrypt conversations. A SIM card can be rem
nd Tplugged
HE M OBILE into a different handset to
T ELEPHONE turn that handset
S YSTEM IV into your mobile as
e network is concerned.
Air
interface BSC HLR

SIM MSC PSTN


card
VLR
BSC

Cell tower and


Handset base station

Figure 2-46. GSM mobile network architecture.


F IGURE : GSM mobile network architecture.

The mobile talks to cell base stations over an air interface that we wi
cribe in a moment. The cell base stations are each connected to a BSC (
ceiving
The Physical does not happen in the same time slot because the GSM radios cannot
Layer
transmit
The Mobile and System
Telephone receive
at the same time and it takes time to switch from one to the
other. If the mobile device assigned to 890.4/935.4 MHz and time slot 2 wanted
to transmit to the base station, it would use the lower four shaded slots (and the
ones following them in time), putting some data in each slot until all the data had
T M
HE beenOBILE
sent. T
ELEPHONE YSTEM S V
TDM frame
Channel

959.8 MHz 124


Base
935.4 MHz 2 to mobile

935.2 MHz 1
Frequency

914.8 MHz 124


Mobile
2 to base
890.4 MHz
890.2 MHz 1

Time

Figure 2-47. GSM uses 124 frequency channels, each of which uses an eight-
GSM
F IGURE :slot TDM uses
system.124 frequency channels, each of which uses an
eightslot TDM system.
The TDM slots shown in Fig. 2-47 are part of a complex framing hierarchy.
Each TDM slot has a specific structure, and groups of TDM slots form mul-
equencies are used in each cell. The alternative is a hard handoff, in whic
The Physical Layer

ld base station drops


The Mobile Telephone System the call before the new one acquires it. If the new o

nable to acquire it (e.g., because there is no available frequency), the c


isconnected abruptly. Users tend to notice this, but it is inevitable occasio
withTthe M OBILE
HEcurrent design.T ELEPHONE
Hard handoffS YSTEM VIwith FDM designs to avo
is the norm
ost of having the mobile transmit or receive on two frequencies simultaneou

(a) (b) (c)

Figure 2-49. Soft handoff (a) before, (b) during, and (c) after.
F IGURE : Soft handoff (a) before, (b) during, and (c) after.

Much has been written about 3G, most of it praising it as the greatest
nce sliced bread. Meanwhile, many operators have taken cautious steps i
irection of 3G by going to what is sometimes called 2.5G, although 2.1G
The Physical Layer
Cable Television

C ABLE T ELEVISION I

I Community antenna television.


I Internet over cable.
I Spectrum allocation.
I Cable modems.
I ADSL Versus Cable.
The Physical Layer
Cable Television

SEC. 2.8 CABLE TELEVISION 181


C ABLE T ELEVISION II
High-bandwidth
fiber
Switch Coaxial
trunk
cable

Fiber node

Head-
end
Tap
House
Fiber

(a)

House
Toll High-bandwidth End Local
office fiber trunk office loop

Fiber
Copper
twisted pair

(b)

Figure 2-51. (a) Cable television. (b) The fixed telephone system.

F IGURE : (a) are,


Cable television.
the more competition there is for(b) TheThefixed
bandwidth. telephonetelephone
system does not system.
The Physical Layer
Conclusions

C ONCLUSIONS

The figures have been taken from, Computer Networks,


Andrew S. Tanenbaum, 5th Edition.

Potrebbero piacerti anche