SlideShare a Scribd company logo
1 of 53
Lecture 4: Physical Layer &
Link Layer Basics
Based on slides from previous 441 lectures
15-441: Computer Networking
Copyright Ā© CMU, 2007-2011.
F'11 Lecture 4: Physical Layer 2
Last Time
ā€¢ Application Layer
ā€¢ Example Protocols
ā€¢ ftp
ā€¢ http
ā€¢ Performance
Application
Presentation
Session
Transport
Network
Datalink
Physical
F'11 Lecture 4: Physical Layer 3
Today (and beyond)
ļ‚• Physical layer.
ļ‚• Datalink layer
introduction, framing,
error coding, switched
networks.
ļ‚• Broadcast-networks,
home networking.
Application
Presentation
Session
Transport
Network
Datalink
Physical
F'11 Lecture 4: Physical Layer 4
Transferring Information
ā€¢ Information transfer is a physical process
ā€¢ In this class, we generally care about
ā€¢ Electrical signals (on a wire)
ā€¢ Optical signals (in a fiber)
ā€¢ More broadly, EM waves
ā€¢ Information carriers can also be ?
F'11 Lecture 4: Physical Layer 5
Transferring Information
ā€¢ Information transfer is a physical process
ā€¢ In this class, we generally care about
ā€¢ Electrical signals (on a wire)
ā€¢ Optical signals (in a fiber)
ā€¢ More broadly, EM waves
ā€¢ Information carriers can also be
ā€¢ Sound waves
ā€¢ Quantum states
ā€¢ Proteins
ā€¢ Ink & paper, etc.
F'11 Lecture 4: Physical Layer 6
From Signals to Packets
Analog Signal
ā€œDigitalā€ Signal
Bit Stream 0 0 1 0 1 1 1 0 0 0 1
Packets
0100010101011100101010101011101110000001111010101110101010101101011010111001
Header/Body Header/Body Header/Body
Receiver
Sender
Packet
Transmission
Application
Presentation
Session
Transport
Network
Datalink
Physical
F'11 Lecture 4: Physical Layer 7
From Signals to Packets
Analog Signal
ā€œDigitalā€ Signal
Bit Stream 0 0 1 0 1 1 1 0 0 0 1
Packets
0100010101011100101010101011101110000001111010101110101010101101011010111001
Header/Body Header/Body Header/Body
Receiver
Sender
Packet
Transmission
F'11 Lecture 4: Physical Layer 8
Todayā€™s Lecture
ā€¢ Modulation.
ā€¢ Bandwidth limitations.
ā€¢ Frequency spectrum and its use.
ā€¢ Multiplexing.
ā€¢ Media: Copper, Fiber, Optical, Wireless.
ā€¢ (Next Week
ā€¢ Coding.
ā€¢ Framing.)
F'11 Lecture 4: Physical Layer 9
Why Do We Care?
ā€¢ Get the big picture.
ā€¢ Physical layer places constraints on what the
network infrastructure can deliver
ā€¢ Reality check
ā€¢ Impact on system performance
ā€¢ Impact on the higher protocol layers
ā€¢ Some examples:
ā€¢ Fiber or copper?
ā€¢ Do we need wires?
ā€¢ Error characteristic and failure modes
ā€¢ Effects of distance
F'11 Lecture 4: Physical Layer 10
Baseband vs Carrier Modulation
ā€¢ Baseband modulation: send the ā€œbareā€ signal.
ā€¢ Carrier modulation: use the signal to modulate a
higher frequency signal (carrier).
ā€¢ Can be viewed as the product of the two signals
ā€¢ Corresponds to a shift in the frequency domain
F'11 Lecture 4: Physical Layer 11
Modulation
ā€¢ Changing a signal to convey information
ā€¢ From Music:
ā€¢ Volume
ā€¢ Pitch
ā€¢ Timing
F'11 Lecture 4: Physical Layer 12
Modulation
ā€¢ Changing a signal to convey information
ā€¢ Ways to modulate a sinusoidal wave
ā€¢ Volume: Amplitude Modulation (AM)
ā€¢ Pitch: Frequency Modulation (FM)
ā€¢ Timing: Phase Modulation (PM)
ā€¢ In our case, modulate signal to encode a 0 or a 1.
(multi-valued signals sometimes)
F'11 Lecture 4: Physical Layer 13
Amplitude Modulation
ā€¢ AM: change the strength of the signal.
ā€¢ Example: High voltage for a 1, low voltage
for a 0
0 0 1 1 0 0 1 1 0 0 0 1 1 1 0 0 0 1 1 0 0 0 1 1 1 0
1 0 1 0 1
F'11 Lecture 4: Physical Layer 14
Frequency Modulation
ā€¢ FM: change the frequency
0 1 1 0 1 1 0 0 0 1
F'11 Lecture 4: Physical Layer 15
Phase Modulation
ā€¢ PM: Change the phase of the signal
1 0 1 0
F'11 Lecture 4: Physical Layer 17
Why/Why Not Baseband?
ā€¢ Baseband
ā€¢ Simpler hardware
ā€¢ Modulated Carrier
ā€¢ Control the range of frequencies used
ā€¢ Wire and electronics at 100Hz can behave very differently from
wire and electronics at 10MHz
Amplitude
Baseband Modulated
Carrier freq. ļ‚± few percent ļ‚®
well-behaved and easy to process
Highest frequencies many times higher than
low frequencies ļ‚® may cause problems
F'11 Lecture 4: Physical Layer 18
Why Different Modulation
Methods?
F'11 Lecture 4: Physical Layer 19
Why Different Modulation
Methods?
ā€¢ Transmitter/Receiver complexity
ā€¢ Power requirements
ā€¢ Bandwidth
ā€¢ Medium (air, copper, fiber, ā€¦)
ā€¢ Noise immunity
ā€¢ Range
ā€¢ Multiplexing
F'11 Lecture 4: Physical Layer 20
What Do We Care About?
ā€¢ Cost
ā€¢ How much bandwidth can I get out of a specific
wire (transmission medium)?
ā€¢ What limits the physical size of the network?
ā€¢ How can multiple hosts communicate over the
same wire at the same time?
ā€¢ How can I manage bandwidth on a transmission
medium?
ā€¢ How do the properties of copper, fiber, and
wireless compare?
F'11 Lecture 4: Physical Layer 21
Bandwidth
ā€¢ Bandwidth is width of the frequency range in
which the Fourier transform of the signal is non-
zero. (At what frequencies is there energy?)
ā€¢ Sometimes referred to as the channel width
ā€¢ Or, where it is above some threshold value
(Usually, the half power threshold, e.g., -3dB)
ā€¢ dB
ā€¢ Short for decibel
ā€¢ Defined as 10 * log10(P1/P2)
ā€¢ When used for signal to noise: 10 * log10(PS/PN)
F'11 Lecture 4: Physical Layer 22
Signal = Sum of Waves
=
+ 1.3 X
+ 0.56 X
+ 1.15 X
F'11 Lecture 4: Physical Layer 23
The Frequency Domain
ā€¢ A (periodic) signal can be viewed
as a sum of sine waves of
different strengths.
ā€¢ Corresponds to energy at a certain
frequency
ā€¢ Every signal has an equivalent
representation in the frequency
domain.
ā€¢ What frequencies are present and
what is their strength (energy)
ā€¢ E.g., radio and TV signals.
F'11 Lecture 4: Physical Layer 24
ā€¢ A noiseless channel of width H can at most
transmit a binary signal at a rate 2 x H.
ā€¢ Assumes binary amplitude encoding: 1ļ‚®1.0, 0ļ‚® -1.0
The Nyquist Limit
0 0 1 0 0 0 1 1 1 0 0 0 1 0 1 0 0 1 1 0
F'11 Lecture 4: Physical Layer 25
0 0 1 0 0 0 1 1 1 0 0 0 1 0 1 0 0 1 1 0
ā€¢ A noiseless channel of width H can at most
transmit a binary signal at a rate 2 x H.
ā€¢ Assumes binary amplitude encoding
ā€¢ E.g. a 3000 Hz channel can transmit data at a rate of at
most 6000 bits/second?
The Nyquist Limit
Hmm, I once bought a modem that did 54K????
F'11 Lecture 4: Physical Layer 26
How to Get Past the Nyquist Limit
ā€¢ Instead of 0/1, use lots of different values.
ā€¢ (Remember, the channel is noiseless.)
ā€¢ Can we really send an infinite amount of
info/sec?
0 0 1 0 0 0 1 1 1 0 ? 0 1 0 1 0 0 1 1 0
F'11 Lecture 4: Physical Layer 27
Past the Nyquist Limit
ā€¢ Every transmission medium supports
transmission in a certain fixed frequency
range.
ā€¢ The channel bandwidth is determined by
the transmission medium and the quality of
the transmitter and receivers.
ā€¢ More aggressive encoding can increase the
channel bandwidth ... to a point ...
F'11 Lecture 4: Physical Layer 28
Capacity of a Noisy Channel
ā€¢ Canā€™t add infinite symbols
ā€¢ you have to be able to tell them apart.
ā€¢ This is where noise comes in.
F'11 Lecture 4: Physical Layer 29
Capacity of a Noisy Channel
ā€¢ Canā€™t add infinite symbols
ā€¢ you have to be able to tell them apart.
ā€¢ This is where noise comes in.
ā€¢ Shannonā€™s theorem:
C = B x log2(1 + S/N)
ā€¢ C: maximum capacity (bps)
ā€¢ B: channel bandwidth (Hz)
ā€¢ S/N: signal to noise (power) ratio of the channel
Often expressed in decibels (db) ::= 10 log(S/N)
.
F'11 Lecture 4: Physical Layer 30
Capacity of a Noisy Channel
ā€¢ Canā€™t add infinite symbols
ā€¢ you have to be able to tell them apart.
ā€¢ This is where noise comes in.
ā€¢ Shannonā€™s theorem:
C = B x log2(1 + S/N)
ā€¢ C: maximum capacity (bps)
ā€¢ B: channel bandwidth (Hz)
ā€¢ S/N: signal to noise ratio of the channel
Often expressed in decibels (db) ::= 10 log(S/N)
ā€¢ Example:
ā€¢ Local loop bandwidth: 3200 Hz
ā€¢ Typical S/N: 1000 (30db)
ā€¢ What is the upper limit on capacity?
ā€¢ 3200 x log2(1 + 1000) = 31.895 kbits/s
F'11 Lecture 4: Physical Layer 31
Transmission Channel
Considerations
ā€¢ Every medium supports transmission
in a certain frequency range.
ā€¢ Outside this range, effects such as
attenuation degrade the signal too much
ā€¢ Transmission and receive hardware
will try to maximize the useful
bandwidth in this frequency band.
ā€¢ Tradeoffs between cost, distance, bit rate
ā€¢ As technology improves, these
parameters change, even for the
same wire.
Frequency
Good Bad
Signal
F'11 Lecture 4: Physical Layer 32
Limits to Speed and Distance
ā€¢ Noise: ā€œrandomā€ energy is added to the signal.
ā€¢ Attenuation: some of the energy in the signal leaks away.
ā€¢ Dispersion: attenuation and propagation speed are
frequency dependent.
(Changes signal shape)
ā€¢ Effects limit the data rate that a channel can sustain.
ā€¢ But affects different technologies in different ways
ā€¢ Effects become worse with distance.
ā€¢ Tradeoff between data rate and distance
F'11 Lecture 4: Physical Layer 33
Todayā€™s Lecture
ā€¢ Modulation.
ā€¢ Bandwidth limitations.
ā€¢ Frequency spectrum and its use.
ā€¢ Multiplexing.
ā€¢ Media: Copper, Fiber, Optical, Wireless.
ā€¢ (Next Week:
ā€¢ Coding.
ā€¢ Framing.)
F'11 Lecture 4: Physical Layer 34
Frequency spectrum and its use.
F'11 Lecture 4: Physical Layer 35
Todayā€™s Lecture
ā€¢ Modulation.
ā€¢ Bandwidth limitations.
ā€¢ Frequency spectrum and its use.
ā€¢ Multiplexing.
ā€¢ Media: Copper, Fiber, Optical, Wireless.
ā€¢ (Next Week:
ā€¢ Coding.
ā€¢ Framing.)
F'11 Lecture 4: Physical Layer 36
Supporting Multiple Channels
ā€¢ Multiple channels can coexist if they transmit at a different
frequency, or at a different time, or in a different part of the
space.
ā€¢ Three dimensional space: frequency, space, time
ā€¢ Space can be limited using wires or using transmit power
of wireless transmitters.
ā€¢ Frequency multiplexing means that different users use a
different part of the spectrum.
ā€¢ Similar to radio: 95.5 versus 102.5 station
ā€¢ Controlling time (for us) is a datalink protocol issue.
ā€¢ Media Access Control (MAC): who gets to send when?
F'11 Lecture 4: Physical Layer 37
Time Division Multiplexing
ā€¢ Different users use the wire at different points in
time.
ā€¢ Requires spectrum proportional to aggregate
bandwidth.
Frequency
Frequency
1 user
2 users
F'11 Lecture 4: Physical Layer 38
FDM: Multiple Channels
Amplitude
Different Carrier
Frequencies
Determines
Bandwidth
of Channel
Determines Bandwidth of Link
F'11 Lecture 4: Physical Layer 39
Frequency versus
Time-division Multiplexing
ā€¢ With FDM different users use
different parts of the
frequency spectrum.
ā€¢ I.e. each user can send all the
time at reduced rate
ā€¢ Example: roommates
ā€¢ With TDM different users
send at different times.
ā€¢ I.e. each user can send at full
speed some of the time
ā€¢ Example: time-share condo
ā€¢ The two solutions can be
combined.
Frequency
Time
Frequency
Bands
Slot
Frame
F'11 Lecture 4: Physical Layer 40
Todayā€™s Lecture
ā€¢ Modulation.
ā€¢ Bandwidth limitations.
ā€¢ Frequency spectrum and its use.
ā€¢ Multiplexing.
ā€¢ Media: Copper, Fiber, Optical, Wireless.
ā€¢ Coding.
ā€¢ Framing.
F'11 Lecture 4: Physical Layer 41
Copper Wire
ā€¢ Unshielded twisted pair (UTP)
ā€¢ Two copper wires twisted - avoid antenna effect
ā€¢ Grouped into cables: multiple pairs with common sheath
ā€¢ Category 3 (voice grade) versus category 5
ā€¢ 100 Mbit/s up to 100 m, 1 Mbit/s up to a few km
ā€¢ Cost: ~ 10cents/foot
ā€¢ Coax cables.
ā€¢ One connector is placed inside the other connector
ā€¢ Holds the signal in place and keeps out noise
ā€¢ Gigabit up to a km
ā€¢ Signaling processing research pushes the
capabilities of a specific technology.
ā€¢ E.g. modems, use of cat 5
Images: networkcable-tester.com, tootoo.com
F'11 Lecture 4: Physical Layer 42
UTP
ā€¢ Why twist wires?
F'11 Lecture 4: Physical Layer 43
UTP
ā€¢ Why twist wires?
ā€¢ Provide noise immunity
ā€¢ Combine with Differential Signaling
F'11 Lecture 4: Physical Layer 44
Light Transmission in Fiber
1000
wavelength (nm)
loss
(dB/km)
1500 nm
(~200 Thz)
0.0
0.5
1.0
tens of THz
1.3ļ­
1.55ļ­
LEDs Lasers
F'11 Lecture 4: Physical Layer 45
Ray Propagation
lower index
of refraction
core
cladding
(note: minimum bend radius of a few cm)
F'11 Lecture 4: Physical Layer 46
Fiber Types
ā€¢ Multimode fiber.
ā€¢ 62.5 or 50 micron core carries multiple ā€œmodesā€
ā€¢ used at 1.3 microns, usually LED source
ā€¢ subject to mode dispersion: different propagation modes travel at
different speeds
ā€¢ typical limit: 1 Gbps at 100m
ā€¢ Single mode
ā€¢ 8 micron core carries a single mode
ā€¢ used at 1.3 or 1.55 microns, usually laser diode source
ā€¢ typical limit: 10 Gbps at 60 km or more
ā€¢ still subject to chromatic dispersion
F'11 Lecture 4: Physical Layer 47
Fiber Types
Multimode
Single mode
F'11 Lecture 4: Physical Layer 48
Gigabit Ethernet:
Physical Layer Comparison
Medium Transmit/ DistanceComment
receive
Copper 1000BASE-CX 25 m machine room use
Twisted pair 1000BASE-T 100 m four twisted pairs,
IEEE 802.3ab
MM fiber 62 mm 1000BASE-SX 260 m
1000BASE-LX 500 m
MM fiber 50 mm 1000BASE-SX 525 m
1000BASE-LX 550 m
SM fiber 1000BASE-LX 5000 m
Twisted pair 100BASE-T 100 m 2p of UTP5/2-4p of UTP3
MM fiber 100BASE-SX 2000m
F'11 Lecture 4: Physical Layer 49
How to increase distance?
ā€¢ Even with single mode, there is a distance
limit.
ā€¢ I.e.: How do you get it across the ocean?
F'11 Lecture 4: Physical Layer 50
ā€¢ Even with single mode, there is a distance
limit.
ā€¢ I.e.: How do you get it across the ocean?
How to increase distance?
source
pump
laser
F'11 Lecture 4: Physical Layer 51
Regeneration and Amplification
ā€¢ At end of span, either regenerate electronically or
amplify.
ā€¢ Electronic repeaters are potentially slow, but can
eliminate noise.
ā€¢ Amplification over long distances made practical
by erbium doped fiber amplifiers offering up to 40
dB gain, linear response over a broad spectrum.
Ex: 40 Gbps at 500 km.
source
pump
laser
F'11 Lecture 4: Physical Layer 52
Wavelength Division Multiplexing
ā€¢ Send multiple wavelengths through the same fiber.
ā€¢ Multiplex and demultiplex the optical signal on the fiber
ā€¢ Each wavelength represents an optical carrier that
can carry a separate signal.
ā€¢ E.g., 16 colors of 2.4 Gbit/second
ā€¢ Like radio, but optical and much faster
Optical
Splitter
Frequency
F'11 Lecture 4: Physical Layer 53
Wireless Technologies
ā€¢ Great technology: no wires to install, convenient mobility, ā€¦
ā€¢ High attenuation limits distances.
ā€¢ Wave propagates out as a sphere
ā€¢ Signal strength attenuates quickly ļƒ  1/d3
ā€¢ High noise due to interference from other transmitters.
ā€¢ Use MAC and other rules to limit interference
ā€¢ Aggressive encoding techniques to make signal less sensitive to noise
ā€¢ Other effects: multipath fading, security, ..
ā€¢ Ether has limited bandwidth.
ā€¢ Try to maximize its use
ā€¢ Government oversight to control use
Huh? 2 in free space,
typically 2 to 6
F'11 Lecture 4: Physical Layer 54
Things to Remember
ā€¢ Bandwidth and distance of networks is limited by physical
properties of media.
ā€¢ Attenuation, noise, dispersion, ā€¦
ā€¢ Network properties are determined by transmission medium
and transmit/receive hardware.
ā€¢ Nyquist gives a rough idea of idealized throughput
ā€¢ Can do much better with better encoding
ā€¢ Low b/w channels: Sophisticated encoding, multiple bits per wavelength.
ā€¢ High b/w channels: Simpler encoding (FM, PCM, etc.), many wavelengths
per bit.
ā€¢ Shannon: C = B x log2(1 + S/N)
ā€¢ Multiple users can be supported using space, time, or
frequency division multiplexing.
ā€¢ Properties of different transmission media:
ā€¢ copper, optical, wireless.

More Related Content

What's hot

Physical Layer Numericals - Data Communication & Networking
Physical Layer  Numericals - Data Communication & NetworkingPhysical Layer  Numericals - Data Communication & Networking
Physical Layer Numericals - Data Communication & NetworkingDrishti Bhalla
Ā 
Ch03-Data And Signals
Ch03-Data And SignalsCh03-Data And Signals
Ch03-Data And Signalsasadawan123
Ā 
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. kuraleNeha Kurale
Ā 
Ch5 Data communication and networking by neha g. kurale
Ch5 Data communication and networking by neha g. kuraleCh5 Data communication and networking by neha g. kurale
Ch5 Data communication and networking by neha g. kuraleNeha Kurale
Ā 
Ch3Data communication and networking by neha g. kurale
Ch3Data communication and networking by neha g. kuraleCh3Data communication and networking by neha g. kurale
Ch3Data communication and networking by neha g. kuraleNeha Kurale
Ā 
Ch6 1 Data communication and networking by neha g. kurale
Ch6 1 Data communication and networking by neha g. kuraleCh6 1 Data communication and networking by neha g. kurale
Ch6 1 Data communication and networking by neha g. kuraleNeha Kurale
Ā 
Ch4 Data communication and networking by neha g. kurale
Ch4 Data communication and networking by neha g. kuraleCh4 Data communication and networking by neha g. kurale
Ch4 Data communication and networking by neha g. kuraleNeha Kurale
Ā 
Ch3 2 Data communication and networking
Ch3 2  Data communication and networkingCh3 2  Data communication and networking
Ch3 2 Data communication and networkingNeha Kurale
Ā 
Chap 5 analog transmission
Chap 5 analog transmissionChap 5 analog transmission
Chap 5 analog transmissionMukesh Tekwani
Ā 
Differential pulse code modulation
Differential pulse code modulationDifferential pulse code modulation
Differential pulse code modulationRamraj Bhadu
Ā 
Digital transmission
Digital transmissionDigital transmission
Digital transmissionSarah Krystelle
Ā 
Wireless Communication Networks and Systems 1st Edition Beard Solutions Manual
Wireless Communication Networks and Systems 1st Edition Beard Solutions ManualWireless Communication Networks and Systems 1st Edition Beard Solutions Manual
Wireless Communication Networks and Systems 1st Edition Beard Solutions Manualpuriryrap
Ā 
Data Communication And Networking - DATA & SIGNALS
Data Communication And Networking - DATA & SIGNALSData Communication And Networking - DATA & SIGNALS
Data Communication And Networking - DATA & SIGNALSAvijeet Negel
Ā 
Lect 11.regenerative repeaters
Lect 11.regenerative repeatersLect 11.regenerative repeaters
Lect 11.regenerative repeatersNebiye Slmn
Ā 
Ch3 1 Data communication and networking
Ch3 1 Data communication and networkingCh3 1 Data communication and networking
Ch3 1 Data communication and networkingNeha Kurale
Ā 
Data Communication And Networking
Data Communication And NetworkingData Communication And Networking
Data Communication And NetworkingAvijeet Negel
Ā 
Chap 3 data and signals
Chap 3 data and signalsChap 3 data and signals
Chap 3 data and signalsMukesh Tekwani
Ā 

What's hot (20)

Data and signals
Data and signalsData and signals
Data and signals
Ā 
Physical Layer Numericals - Data Communication & Networking
Physical Layer  Numericals - Data Communication & NetworkingPhysical Layer  Numericals - Data Communication & Networking
Physical Layer Numericals - Data Communication & Networking
Ā 
Ch03-Data And Signals
Ch03-Data And SignalsCh03-Data And Signals
Ch03-Data And Signals
Ā 
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
Ā 
Ch5 Data communication and networking by neha g. kurale
Ch5 Data communication and networking by neha g. kuraleCh5 Data communication and networking by neha g. kurale
Ch5 Data communication and networking by neha g. kurale
Ā 
Ch3Data communication and networking by neha g. kurale
Ch3Data communication and networking by neha g. kuraleCh3Data communication and networking by neha g. kurale
Ch3Data communication and networking by neha g. kurale
Ā 
Chapter 3
Chapter 3Chapter 3
Chapter 3
Ā 
Ch6 1 Data communication and networking by neha g. kurale
Ch6 1 Data communication and networking by neha g. kuraleCh6 1 Data communication and networking by neha g. kurale
Ch6 1 Data communication and networking by neha g. kurale
Ā 
Ch4 Data communication and networking by neha g. kurale
Ch4 Data communication and networking by neha g. kuraleCh4 Data communication and networking by neha g. kurale
Ch4 Data communication and networking by neha g. kurale
Ā 
blake sample-problems
blake sample-problemsblake sample-problems
blake sample-problems
Ā 
Ch3 2 Data communication and networking
Ch3 2  Data communication and networkingCh3 2  Data communication and networking
Ch3 2 Data communication and networking
Ā 
Chap 5 analog transmission
Chap 5 analog transmissionChap 5 analog transmission
Chap 5 analog transmission
Ā 
Differential pulse code modulation
Differential pulse code modulationDifferential pulse code modulation
Differential pulse code modulation
Ā 
Digital transmission
Digital transmissionDigital transmission
Digital transmission
Ā 
Wireless Communication Networks and Systems 1st Edition Beard Solutions Manual
Wireless Communication Networks and Systems 1st Edition Beard Solutions ManualWireless Communication Networks and Systems 1st Edition Beard Solutions Manual
Wireless Communication Networks and Systems 1st Edition Beard Solutions Manual
Ā 
Data Communication And Networking - DATA & SIGNALS
Data Communication And Networking - DATA & SIGNALSData Communication And Networking - DATA & SIGNALS
Data Communication And Networking - DATA & SIGNALS
Ā 
Lect 11.regenerative repeaters
Lect 11.regenerative repeatersLect 11.regenerative repeaters
Lect 11.regenerative repeaters
Ā 
Ch3 1 Data communication and networking
Ch3 1 Data communication and networkingCh3 1 Data communication and networking
Ch3 1 Data communication and networking
Ā 
Data Communication And Networking
Data Communication And NetworkingData Communication And Networking
Data Communication And Networking
Ā 
Chap 3 data and signals
Chap 3 data and signalsChap 3 data and signals
Chap 3 data and signals
Ā 

Similar to 04 physical

Lec2WirelessChannelandRadioPropagation.pdf
Lec2WirelessChannelandRadioPropagation.pdfLec2WirelessChannelandRadioPropagation.pdf
Lec2WirelessChannelandRadioPropagation.pdfPatrickMumba7
Ā 
Chapter 1: introduction and Chapter 2: the physical layer
Chapter 1: introduction and Chapter 2: the physical layerChapter 1: introduction and Chapter 2: the physical layer
Chapter 1: introduction and Chapter 2: the physical layerfabimr386
Ā 
fiber optic communication basics and terminologies
fiber optic communication basics and terminologiesfiber optic communication basics and terminologies
fiber optic communication basics and terminologiesSaiyma Fatima Raza
Ā 
Communication systems week 2
Communication systems week 2Communication systems week 2
Communication systems week 2babak danyal
Ā 
Communication systems v4
Communication systems v4Communication systems v4
Communication systems v4babak danyal
Ā 
Physical layer overview
Physical layer overviewPhysical layer overview
Physical layer overviewakruthi k
Ā 
Lecture 5 Modulation of Need of Modulation.pptx
Lecture 5 Modulation of Need of Modulation.pptxLecture 5 Modulation of Need of Modulation.pptx
Lecture 5 Modulation of Need of Modulation.pptx1637ARUNIMADAS
Ā 
Principles of electronic communication systems 4th edition frenzel solutions ...
Principles of electronic communication systems 4th edition frenzel solutions ...Principles of electronic communication systems 4th edition frenzel solutions ...
Principles of electronic communication systems 4th edition frenzel solutions ...issac32342
Ā 
Solution_Book_4th.pdf.pdf
Solution_Book_4th.pdf.pdfSolution_Book_4th.pdf.pdf
Solution_Book_4th.pdf.pdfrizaamores1
Ā 
Communication systems v3
Communication systems v3Communication systems v3
Communication systems v3babak danyal
Ā 
Communication systems week 3
Communication systems week 3Communication systems week 3
Communication systems week 3babak danyal
Ā 
TCP/ IP Networking from Scratch
TCP/ IP Networking from ScratchTCP/ IP Networking from Scratch
TCP/ IP Networking from ScratchVivek Chavan
Ā 
satellite Transmission fundamentals
satellite Transmission fundamentalssatellite Transmission fundamentals
satellite Transmission fundamentalsAJAL A J
Ā 
03-DataTransmission.ppt
03-DataTransmission.ppt03-DataTransmission.ppt
03-DataTransmission.pptPraches1
Ā 
Unit II_PHYSICAL LAYER (1).pptx
Unit II_PHYSICAL LAYER (1).pptxUnit II_PHYSICAL LAYER (1).pptx
Unit II_PHYSICAL LAYER (1).pptxDeepVala5
Ā 
Chapter 2 Physical Layer_Transmission Media.ppt
Chapter 2 Physical Layer_Transmission Media.pptChapter 2 Physical Layer_Transmission Media.ppt
Chapter 2 Physical Layer_Transmission Media.pptSachidanandBNaragund
Ā 

Similar to 04 physical (20)

Lec2WirelessChannelandRadioPropagation.pdf
Lec2WirelessChannelandRadioPropagation.pdfLec2WirelessChannelandRadioPropagation.pdf
Lec2WirelessChannelandRadioPropagation.pdf
Ā 
Chapter 1: introduction and Chapter 2: the physical layer
Chapter 1: introduction and Chapter 2: the physical layerChapter 1: introduction and Chapter 2: the physical layer
Chapter 1: introduction and Chapter 2: the physical layer
Ā 
fiber optic communication basics and terminologies
fiber optic communication basics and terminologiesfiber optic communication basics and terminologies
fiber optic communication basics and terminologies
Ā 
Taiwan course
Taiwan courseTaiwan course
Taiwan course
Ā 
Communication systems week 2
Communication systems week 2Communication systems week 2
Communication systems week 2
Ā 
Communication systems v4
Communication systems v4Communication systems v4
Communication systems v4
Ā 
Ppt
PptPpt
Ppt
Ā 
Physical layer overview
Physical layer overviewPhysical layer overview
Physical layer overview
Ā 
Lecture 5 Modulation of Need of Modulation.pptx
Lecture 5 Modulation of Need of Modulation.pptxLecture 5 Modulation of Need of Modulation.pptx
Lecture 5 Modulation of Need of Modulation.pptx
Ā 
Principles of electronic communication systems 4th edition frenzel solutions ...
Principles of electronic communication systems 4th edition frenzel solutions ...Principles of electronic communication systems 4th edition frenzel solutions ...
Principles of electronic communication systems 4th edition frenzel solutions ...
Ā 
Solution_Book_4th.pdf.pdf
Solution_Book_4th.pdf.pdfSolution_Book_4th.pdf.pdf
Solution_Book_4th.pdf.pdf
Ā 
Communication systems v3
Communication systems v3Communication systems v3
Communication systems v3
Ā 
Communication systems week 3
Communication systems week 3Communication systems week 3
Communication systems week 3
Ā 
TCP/ IP Networking from Scratch
TCP/ IP Networking from ScratchTCP/ IP Networking from Scratch
TCP/ IP Networking from Scratch
Ā 
satellite Transmission fundamentals
satellite Transmission fundamentalssatellite Transmission fundamentals
satellite Transmission fundamentals
Ā 
03-DataTransmission.ppt
03-DataTransmission.ppt03-DataTransmission.ppt
03-DataTransmission.ppt
Ā 
Unit II_PHYSICAL LAYER (1).pptx
Unit II_PHYSICAL LAYER (1).pptxUnit II_PHYSICAL LAYER (1).pptx
Unit II_PHYSICAL LAYER (1).pptx
Ā 
Schiller2
Schiller2Schiller2
Schiller2
Ā 
Chapter 2 Physical Layer_Transmission Media.ppt
Chapter 2 Physical Layer_Transmission Media.pptChapter 2 Physical Layer_Transmission Media.ppt
Chapter 2 Physical Layer_Transmission Media.ppt
Ā 
04 transmission media
04 transmission media04 transmission media
04 transmission media
Ā 

Recently uploaded

CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
Ā 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
Ā 
Gurgaon āœ”ļø9711147426āœØCall In girls Gurgaon Sector 51 escort service
Gurgaon āœ”ļø9711147426āœØCall In girls Gurgaon Sector 51 escort serviceGurgaon āœ”ļø9711147426āœØCall In girls Gurgaon Sector 51 escort service
Gurgaon āœ”ļø9711147426āœØCall In girls Gurgaon Sector 51 escort servicejennyeacort
Ā 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
Ā 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
Ā 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Ā 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
Ā 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
Ā 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
Ā 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
Ā 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
Ā 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
Ā 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
Ā 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
Ā 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
Ā 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
Ā 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
Ā 

Recently uploaded (20)

young call girls in Rajiv ChowkšŸ” 9953056974 šŸ” Delhi escort Service
young call girls in Rajiv ChowkšŸ” 9953056974 šŸ” Delhi escort Serviceyoung call girls in Rajiv ChowkšŸ” 9953056974 šŸ” Delhi escort Service
young call girls in Rajiv ChowkšŸ” 9953056974 šŸ” Delhi escort Service
Ā 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Ā 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
Ā 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
Ā 
Gurgaon āœ”ļø9711147426āœØCall In girls Gurgaon Sector 51 escort service
Gurgaon āœ”ļø9711147426āœØCall In girls Gurgaon Sector 51 escort serviceGurgaon āœ”ļø9711147426āœØCall In girls Gurgaon Sector 51 escort service
Gurgaon āœ”ļø9711147426āœØCall In girls Gurgaon Sector 51 escort service
Ā 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
Ā 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
Ā 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
Ā 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Ā 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
Ā 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
Ā 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
Ā 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
Ā 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
Ā 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Ā 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
Ā 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
Ā 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Ā 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
Ā 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
Ā 

04 physical

  • 1. Lecture 4: Physical Layer & Link Layer Basics Based on slides from previous 441 lectures 15-441: Computer Networking Copyright Ā© CMU, 2007-2011.
  • 2. F'11 Lecture 4: Physical Layer 2 Last Time ā€¢ Application Layer ā€¢ Example Protocols ā€¢ ftp ā€¢ http ā€¢ Performance Application Presentation Session Transport Network Datalink Physical
  • 3. F'11 Lecture 4: Physical Layer 3 Today (and beyond) ļ‚• Physical layer. ļ‚• Datalink layer introduction, framing, error coding, switched networks. ļ‚• Broadcast-networks, home networking. Application Presentation Session Transport Network Datalink Physical
  • 4. F'11 Lecture 4: Physical Layer 4 Transferring Information ā€¢ Information transfer is a physical process ā€¢ In this class, we generally care about ā€¢ Electrical signals (on a wire) ā€¢ Optical signals (in a fiber) ā€¢ More broadly, EM waves ā€¢ Information carriers can also be ?
  • 5. F'11 Lecture 4: Physical Layer 5 Transferring Information ā€¢ Information transfer is a physical process ā€¢ In this class, we generally care about ā€¢ Electrical signals (on a wire) ā€¢ Optical signals (in a fiber) ā€¢ More broadly, EM waves ā€¢ Information carriers can also be ā€¢ Sound waves ā€¢ Quantum states ā€¢ Proteins ā€¢ Ink & paper, etc.
  • 6. F'11 Lecture 4: Physical Layer 6 From Signals to Packets Analog Signal ā€œDigitalā€ Signal Bit Stream 0 0 1 0 1 1 1 0 0 0 1 Packets 0100010101011100101010101011101110000001111010101110101010101101011010111001 Header/Body Header/Body Header/Body Receiver Sender Packet Transmission Application Presentation Session Transport Network Datalink Physical
  • 7. F'11 Lecture 4: Physical Layer 7 From Signals to Packets Analog Signal ā€œDigitalā€ Signal Bit Stream 0 0 1 0 1 1 1 0 0 0 1 Packets 0100010101011100101010101011101110000001111010101110101010101101011010111001 Header/Body Header/Body Header/Body Receiver Sender Packet Transmission
  • 8. F'11 Lecture 4: Physical Layer 8 Todayā€™s Lecture ā€¢ Modulation. ā€¢ Bandwidth limitations. ā€¢ Frequency spectrum and its use. ā€¢ Multiplexing. ā€¢ Media: Copper, Fiber, Optical, Wireless. ā€¢ (Next Week ā€¢ Coding. ā€¢ Framing.)
  • 9. F'11 Lecture 4: Physical Layer 9 Why Do We Care? ā€¢ Get the big picture. ā€¢ Physical layer places constraints on what the network infrastructure can deliver ā€¢ Reality check ā€¢ Impact on system performance ā€¢ Impact on the higher protocol layers ā€¢ Some examples: ā€¢ Fiber or copper? ā€¢ Do we need wires? ā€¢ Error characteristic and failure modes ā€¢ Effects of distance
  • 10. F'11 Lecture 4: Physical Layer 10 Baseband vs Carrier Modulation ā€¢ Baseband modulation: send the ā€œbareā€ signal. ā€¢ Carrier modulation: use the signal to modulate a higher frequency signal (carrier). ā€¢ Can be viewed as the product of the two signals ā€¢ Corresponds to a shift in the frequency domain
  • 11. F'11 Lecture 4: Physical Layer 11 Modulation ā€¢ Changing a signal to convey information ā€¢ From Music: ā€¢ Volume ā€¢ Pitch ā€¢ Timing
  • 12. F'11 Lecture 4: Physical Layer 12 Modulation ā€¢ Changing a signal to convey information ā€¢ Ways to modulate a sinusoidal wave ā€¢ Volume: Amplitude Modulation (AM) ā€¢ Pitch: Frequency Modulation (FM) ā€¢ Timing: Phase Modulation (PM) ā€¢ In our case, modulate signal to encode a 0 or a 1. (multi-valued signals sometimes)
  • 13. F'11 Lecture 4: Physical Layer 13 Amplitude Modulation ā€¢ AM: change the strength of the signal. ā€¢ Example: High voltage for a 1, low voltage for a 0 0 0 1 1 0 0 1 1 0 0 0 1 1 1 0 0 0 1 1 0 0 0 1 1 1 0 1 0 1 0 1
  • 14. F'11 Lecture 4: Physical Layer 14 Frequency Modulation ā€¢ FM: change the frequency 0 1 1 0 1 1 0 0 0 1
  • 15. F'11 Lecture 4: Physical Layer 15 Phase Modulation ā€¢ PM: Change the phase of the signal 1 0 1 0
  • 16. F'11 Lecture 4: Physical Layer 17 Why/Why Not Baseband? ā€¢ Baseband ā€¢ Simpler hardware ā€¢ Modulated Carrier ā€¢ Control the range of frequencies used ā€¢ Wire and electronics at 100Hz can behave very differently from wire and electronics at 10MHz Amplitude Baseband Modulated Carrier freq. ļ‚± few percent ļ‚® well-behaved and easy to process Highest frequencies many times higher than low frequencies ļ‚® may cause problems
  • 17. F'11 Lecture 4: Physical Layer 18 Why Different Modulation Methods?
  • 18. F'11 Lecture 4: Physical Layer 19 Why Different Modulation Methods? ā€¢ Transmitter/Receiver complexity ā€¢ Power requirements ā€¢ Bandwidth ā€¢ Medium (air, copper, fiber, ā€¦) ā€¢ Noise immunity ā€¢ Range ā€¢ Multiplexing
  • 19. F'11 Lecture 4: Physical Layer 20 What Do We Care About? ā€¢ Cost ā€¢ How much bandwidth can I get out of a specific wire (transmission medium)? ā€¢ What limits the physical size of the network? ā€¢ How can multiple hosts communicate over the same wire at the same time? ā€¢ How can I manage bandwidth on a transmission medium? ā€¢ How do the properties of copper, fiber, and wireless compare?
  • 20. F'11 Lecture 4: Physical Layer 21 Bandwidth ā€¢ Bandwidth is width of the frequency range in which the Fourier transform of the signal is non- zero. (At what frequencies is there energy?) ā€¢ Sometimes referred to as the channel width ā€¢ Or, where it is above some threshold value (Usually, the half power threshold, e.g., -3dB) ā€¢ dB ā€¢ Short for decibel ā€¢ Defined as 10 * log10(P1/P2) ā€¢ When used for signal to noise: 10 * log10(PS/PN)
  • 21. F'11 Lecture 4: Physical Layer 22 Signal = Sum of Waves = + 1.3 X + 0.56 X + 1.15 X
  • 22. F'11 Lecture 4: Physical Layer 23 The Frequency Domain ā€¢ A (periodic) signal can be viewed as a sum of sine waves of different strengths. ā€¢ Corresponds to energy at a certain frequency ā€¢ Every signal has an equivalent representation in the frequency domain. ā€¢ What frequencies are present and what is their strength (energy) ā€¢ E.g., radio and TV signals.
  • 23. F'11 Lecture 4: Physical Layer 24 ā€¢ A noiseless channel of width H can at most transmit a binary signal at a rate 2 x H. ā€¢ Assumes binary amplitude encoding: 1ļ‚®1.0, 0ļ‚® -1.0 The Nyquist Limit 0 0 1 0 0 0 1 1 1 0 0 0 1 0 1 0 0 1 1 0
  • 24. F'11 Lecture 4: Physical Layer 25 0 0 1 0 0 0 1 1 1 0 0 0 1 0 1 0 0 1 1 0 ā€¢ A noiseless channel of width H can at most transmit a binary signal at a rate 2 x H. ā€¢ Assumes binary amplitude encoding ā€¢ E.g. a 3000 Hz channel can transmit data at a rate of at most 6000 bits/second? The Nyquist Limit Hmm, I once bought a modem that did 54K????
  • 25. F'11 Lecture 4: Physical Layer 26 How to Get Past the Nyquist Limit ā€¢ Instead of 0/1, use lots of different values. ā€¢ (Remember, the channel is noiseless.) ā€¢ Can we really send an infinite amount of info/sec? 0 0 1 0 0 0 1 1 1 0 ? 0 1 0 1 0 0 1 1 0
  • 26. F'11 Lecture 4: Physical Layer 27 Past the Nyquist Limit ā€¢ Every transmission medium supports transmission in a certain fixed frequency range. ā€¢ The channel bandwidth is determined by the transmission medium and the quality of the transmitter and receivers. ā€¢ More aggressive encoding can increase the channel bandwidth ... to a point ...
  • 27. F'11 Lecture 4: Physical Layer 28 Capacity of a Noisy Channel ā€¢ Canā€™t add infinite symbols ā€¢ you have to be able to tell them apart. ā€¢ This is where noise comes in.
  • 28. F'11 Lecture 4: Physical Layer 29 Capacity of a Noisy Channel ā€¢ Canā€™t add infinite symbols ā€¢ you have to be able to tell them apart. ā€¢ This is where noise comes in. ā€¢ Shannonā€™s theorem: C = B x log2(1 + S/N) ā€¢ C: maximum capacity (bps) ā€¢ B: channel bandwidth (Hz) ā€¢ S/N: signal to noise (power) ratio of the channel Often expressed in decibels (db) ::= 10 log(S/N) .
  • 29. F'11 Lecture 4: Physical Layer 30 Capacity of a Noisy Channel ā€¢ Canā€™t add infinite symbols ā€¢ you have to be able to tell them apart. ā€¢ This is where noise comes in. ā€¢ Shannonā€™s theorem: C = B x log2(1 + S/N) ā€¢ C: maximum capacity (bps) ā€¢ B: channel bandwidth (Hz) ā€¢ S/N: signal to noise ratio of the channel Often expressed in decibels (db) ::= 10 log(S/N) ā€¢ Example: ā€¢ Local loop bandwidth: 3200 Hz ā€¢ Typical S/N: 1000 (30db) ā€¢ What is the upper limit on capacity? ā€¢ 3200 x log2(1 + 1000) = 31.895 kbits/s
  • 30. F'11 Lecture 4: Physical Layer 31 Transmission Channel Considerations ā€¢ Every medium supports transmission in a certain frequency range. ā€¢ Outside this range, effects such as attenuation degrade the signal too much ā€¢ Transmission and receive hardware will try to maximize the useful bandwidth in this frequency band. ā€¢ Tradeoffs between cost, distance, bit rate ā€¢ As technology improves, these parameters change, even for the same wire. Frequency Good Bad Signal
  • 31. F'11 Lecture 4: Physical Layer 32 Limits to Speed and Distance ā€¢ Noise: ā€œrandomā€ energy is added to the signal. ā€¢ Attenuation: some of the energy in the signal leaks away. ā€¢ Dispersion: attenuation and propagation speed are frequency dependent. (Changes signal shape) ā€¢ Effects limit the data rate that a channel can sustain. ā€¢ But affects different technologies in different ways ā€¢ Effects become worse with distance. ā€¢ Tradeoff between data rate and distance
  • 32. F'11 Lecture 4: Physical Layer 33 Todayā€™s Lecture ā€¢ Modulation. ā€¢ Bandwidth limitations. ā€¢ Frequency spectrum and its use. ā€¢ Multiplexing. ā€¢ Media: Copper, Fiber, Optical, Wireless. ā€¢ (Next Week: ā€¢ Coding. ā€¢ Framing.)
  • 33. F'11 Lecture 4: Physical Layer 34 Frequency spectrum and its use.
  • 34. F'11 Lecture 4: Physical Layer 35 Todayā€™s Lecture ā€¢ Modulation. ā€¢ Bandwidth limitations. ā€¢ Frequency spectrum and its use. ā€¢ Multiplexing. ā€¢ Media: Copper, Fiber, Optical, Wireless. ā€¢ (Next Week: ā€¢ Coding. ā€¢ Framing.)
  • 35. F'11 Lecture 4: Physical Layer 36 Supporting Multiple Channels ā€¢ Multiple channels can coexist if they transmit at a different frequency, or at a different time, or in a different part of the space. ā€¢ Three dimensional space: frequency, space, time ā€¢ Space can be limited using wires or using transmit power of wireless transmitters. ā€¢ Frequency multiplexing means that different users use a different part of the spectrum. ā€¢ Similar to radio: 95.5 versus 102.5 station ā€¢ Controlling time (for us) is a datalink protocol issue. ā€¢ Media Access Control (MAC): who gets to send when?
  • 36. F'11 Lecture 4: Physical Layer 37 Time Division Multiplexing ā€¢ Different users use the wire at different points in time. ā€¢ Requires spectrum proportional to aggregate bandwidth. Frequency Frequency 1 user 2 users
  • 37. F'11 Lecture 4: Physical Layer 38 FDM: Multiple Channels Amplitude Different Carrier Frequencies Determines Bandwidth of Channel Determines Bandwidth of Link
  • 38. F'11 Lecture 4: Physical Layer 39 Frequency versus Time-division Multiplexing ā€¢ With FDM different users use different parts of the frequency spectrum. ā€¢ I.e. each user can send all the time at reduced rate ā€¢ Example: roommates ā€¢ With TDM different users send at different times. ā€¢ I.e. each user can send at full speed some of the time ā€¢ Example: time-share condo ā€¢ The two solutions can be combined. Frequency Time Frequency Bands Slot Frame
  • 39. F'11 Lecture 4: Physical Layer 40 Todayā€™s Lecture ā€¢ Modulation. ā€¢ Bandwidth limitations. ā€¢ Frequency spectrum and its use. ā€¢ Multiplexing. ā€¢ Media: Copper, Fiber, Optical, Wireless. ā€¢ Coding. ā€¢ Framing.
  • 40. F'11 Lecture 4: Physical Layer 41 Copper Wire ā€¢ Unshielded twisted pair (UTP) ā€¢ Two copper wires twisted - avoid antenna effect ā€¢ Grouped into cables: multiple pairs with common sheath ā€¢ Category 3 (voice grade) versus category 5 ā€¢ 100 Mbit/s up to 100 m, 1 Mbit/s up to a few km ā€¢ Cost: ~ 10cents/foot ā€¢ Coax cables. ā€¢ One connector is placed inside the other connector ā€¢ Holds the signal in place and keeps out noise ā€¢ Gigabit up to a km ā€¢ Signaling processing research pushes the capabilities of a specific technology. ā€¢ E.g. modems, use of cat 5 Images: networkcable-tester.com, tootoo.com
  • 41. F'11 Lecture 4: Physical Layer 42 UTP ā€¢ Why twist wires?
  • 42. F'11 Lecture 4: Physical Layer 43 UTP ā€¢ Why twist wires? ā€¢ Provide noise immunity ā€¢ Combine with Differential Signaling
  • 43. F'11 Lecture 4: Physical Layer 44 Light Transmission in Fiber 1000 wavelength (nm) loss (dB/km) 1500 nm (~200 Thz) 0.0 0.5 1.0 tens of THz 1.3ļ­ 1.55ļ­ LEDs Lasers
  • 44. F'11 Lecture 4: Physical Layer 45 Ray Propagation lower index of refraction core cladding (note: minimum bend radius of a few cm)
  • 45. F'11 Lecture 4: Physical Layer 46 Fiber Types ā€¢ Multimode fiber. ā€¢ 62.5 or 50 micron core carries multiple ā€œmodesā€ ā€¢ used at 1.3 microns, usually LED source ā€¢ subject to mode dispersion: different propagation modes travel at different speeds ā€¢ typical limit: 1 Gbps at 100m ā€¢ Single mode ā€¢ 8 micron core carries a single mode ā€¢ used at 1.3 or 1.55 microns, usually laser diode source ā€¢ typical limit: 10 Gbps at 60 km or more ā€¢ still subject to chromatic dispersion
  • 46. F'11 Lecture 4: Physical Layer 47 Fiber Types Multimode Single mode
  • 47. F'11 Lecture 4: Physical Layer 48 Gigabit Ethernet: Physical Layer Comparison Medium Transmit/ DistanceComment receive Copper 1000BASE-CX 25 m machine room use Twisted pair 1000BASE-T 100 m four twisted pairs, IEEE 802.3ab MM fiber 62 mm 1000BASE-SX 260 m 1000BASE-LX 500 m MM fiber 50 mm 1000BASE-SX 525 m 1000BASE-LX 550 m SM fiber 1000BASE-LX 5000 m Twisted pair 100BASE-T 100 m 2p of UTP5/2-4p of UTP3 MM fiber 100BASE-SX 2000m
  • 48. F'11 Lecture 4: Physical Layer 49 How to increase distance? ā€¢ Even with single mode, there is a distance limit. ā€¢ I.e.: How do you get it across the ocean?
  • 49. F'11 Lecture 4: Physical Layer 50 ā€¢ Even with single mode, there is a distance limit. ā€¢ I.e.: How do you get it across the ocean? How to increase distance? source pump laser
  • 50. F'11 Lecture 4: Physical Layer 51 Regeneration and Amplification ā€¢ At end of span, either regenerate electronically or amplify. ā€¢ Electronic repeaters are potentially slow, but can eliminate noise. ā€¢ Amplification over long distances made practical by erbium doped fiber amplifiers offering up to 40 dB gain, linear response over a broad spectrum. Ex: 40 Gbps at 500 km. source pump laser
  • 51. F'11 Lecture 4: Physical Layer 52 Wavelength Division Multiplexing ā€¢ Send multiple wavelengths through the same fiber. ā€¢ Multiplex and demultiplex the optical signal on the fiber ā€¢ Each wavelength represents an optical carrier that can carry a separate signal. ā€¢ E.g., 16 colors of 2.4 Gbit/second ā€¢ Like radio, but optical and much faster Optical Splitter Frequency
  • 52. F'11 Lecture 4: Physical Layer 53 Wireless Technologies ā€¢ Great technology: no wires to install, convenient mobility, ā€¦ ā€¢ High attenuation limits distances. ā€¢ Wave propagates out as a sphere ā€¢ Signal strength attenuates quickly ļƒ  1/d3 ā€¢ High noise due to interference from other transmitters. ā€¢ Use MAC and other rules to limit interference ā€¢ Aggressive encoding techniques to make signal less sensitive to noise ā€¢ Other effects: multipath fading, security, .. ā€¢ Ether has limited bandwidth. ā€¢ Try to maximize its use ā€¢ Government oversight to control use Huh? 2 in free space, typically 2 to 6
  • 53. F'11 Lecture 4: Physical Layer 54 Things to Remember ā€¢ Bandwidth and distance of networks is limited by physical properties of media. ā€¢ Attenuation, noise, dispersion, ā€¦ ā€¢ Network properties are determined by transmission medium and transmit/receive hardware. ā€¢ Nyquist gives a rough idea of idealized throughput ā€¢ Can do much better with better encoding ā€¢ Low b/w channels: Sophisticated encoding, multiple bits per wavelength. ā€¢ High b/w channels: Simpler encoding (FM, PCM, etc.), many wavelengths per bit. ā€¢ Shannon: C = B x log2(1 + S/N) ā€¢ Multiple users can be supported using space, time, or frequency division multiplexing. ā€¢ Properties of different transmission media: ā€¢ copper, optical, wireless.