L2 Wireless Challenges
L2 Wireless Challenges
INT3303
Mạng không dây
2
Why Use Wireless?
3
But Wireless Links are Challenging!
4
Wireless is a shared medium
• In wired communication, Bob Mary
signals are contained in a
conductor
» Copper or fiber
» Guides energy to destination
» Protects signal from external
signals
• Wireless communication
uses broadcasting over
the shared ether
» Energy is distributed in space
» Signal must compete with
many other signals in same
frequency band
5
How Do We Increase Network
Capacity?
Bob Mary
• Easy to do in wired networks:
simply add wires
» Fiber is especially attractive
6
Mobility Affects the Link Throughput
• Quality of the Bob
transmission depends
on distance and
obstacles blocking the
“line of sight” (LOS)
» “Slow fading” – the signal
strength changes slowly
• Reflections off
obstacles combined
with mobility can cause
“fast fading” Mary
» Very rapid changes in the signal
» More on this later
7
How is Wireless Different?
Wired Wireless
• Physical link properties • Physical link properties
are fixed and specified in can change rapidly in
standards unpredictable ways
• Designed for low error • Error rates vary a lot and
rates and link capacity is capacity is very dynamic
fixed and known • How do you design an
• Datalink layer is simple efficient datalink
and optimized for the protocol?
physical layer • How can higher layer
• Internet was designed protocols deal with this?
assuming low error rates
Understanding the physical layer is key to making wireless work well
8
Outline
• Challenges in Wireless Networking
• RF introduction
» A cartoon view
» Communication
» Time versus frequency view
• Modulation and multiplexing
• Channel capacity
• Antennas and signal propagation
• Modulation
• Diversity and coding
• OFDM
9
From Signals to Packets
Packet
Transmission Sender Receiver
01000101010111001010101010111011100000011110101011101010101011010110101
Packets
Header/Body Header/Body Header/Body
Bit Stream 0 0 1 0 1 1 1 0 0 0 1
“Digital” Signal
Analog Signal
10
Cartoon View 1 – A Wave of Energy
11
Cartoon View 2 – Rays of Energy
T R
13
Time and Point View of Signal
• Can look at a point in space: signal will change in
time according to a sine function
» But transmitter can change phase, amplitude, frequency
• Can take a snapshot in time: signal will “look” like a
sine function in space
» Signal at different points are (rough) copies of each other
Relevance to
Networking?
Transmitter Receiver
Space (snapshot in time)
14
Communication
Remember:
Received
Cartoon view Signal Time (point in space)
15
Sine Wave Parameters
16
Modulation: Changing the Wireless
Signal
17
Key Idea of Wireless
Communication
• The sender sends an EM signal and changes
its properties over time
» Changes reflect a digital signal, e.g., binary or multi-valued
signal, that represent information
» Can change amplitude, phase, frequency, or a combination
» Note that the transmitted signal is no longer a simple sine
wave or even a periodic signal
• Receiver can identify the digital signal by
observing how the received signal changes
» It can then interpret the digital signal to identify the user
information that was sent
» As a result of signal distortions on the wireless signal, it
may be hard to correctly extract the information
18
Frequency View
• The time domain view is a good basis for
working with wireless signals
» Communication is based on a sine wave – “carrier signal”
» Transmitters continuously change the properties of the
carrier signal based on the sequence of bits in the packets
» Receivers interpret the changes in the carrier wave to
identify the bit stream encoded in the signal
• But: users must share the spectrum – they must
stay within their allocated frequency band
» How can a sender guarantee that it does not interfere with
communication in neighboring bands?
» How much can you really change the wireless signal?
» Does the amount of spectrum matter: 1MHz versus 160MHz?
» Are all spectrum bands the same? 900 MHz, 2.4, 5, 60 GHz?
19
Outline
• Challenges in Wireless Networking
• RF introduction
» A cartoon view
» Communication
» Time versus frequency view
20
Time Domain View:
Periodic versus Aperiodic Signals
23
Representation of the Signal in the
Frequency Domain
=
+ 2.8 X
+ 1.3 X
+ 0.56 X
+ 1.15 X
24
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)
• We can translate between the two formats using a
fourier transform
Bandwidth
Amplitude
Time
Frequency
25
Outline
• Challenges in Wireless Networking
• RF introduction
» A cartoon view
» Communication
» Time versus frequency view
26
Signal Modulation
• Sender sends a “carrier” signal and changes it
in a way that the receiver can recognize
• The carrier is sine wave with fixed amplitude and frequency
• Amplitude modulation (AM): change the strength
of the carrier based on information
• High values -> stronger signal
• Frequency (FM) and phase modulation (PM):
change the frequency or phase of the signal
• Frequency or Phase shift keying
• Digital versions are also called “shift keying”
• Amplitude (ASK), Frequency (FSK), Phase (PSK) Shift Keying
• Discussed in more detail later the course
27
Analog and Digital Signal Modulation
28
Wireless Spectrum in the US
nkiste, CMU
29
Multiple Users Can Share the Ether
Frequency
30
Amplitude Carrier Modulation
32
Multiplexing Techniques
• Frequency-division multiplexing (FDM)
» divide the capacity in the frequency domain
• Time-division multiplexing (TDM)
» Divide the capacity in the time domain
» Fixed or variable length time slices
Frequency
different parts of the frequency
spectrum. Frequency
» I.e. each user can send all the time Bands
at reduced rate
» Example: roommates
» Hardware is slightly more expensive
and is less efficient use of spectrum
□ With time-division multiplexing
different users send at different
times.
» I.e. each user can sent at full speed Slot Frame
some of the time
» Example: a time-share condo
» Drawback is that there is some
transition time between slots;
becomes more of an issue with
longer propagation times
□ The two solutions can be Time
combined.
34
Frequency Reuse in Space
• Frequencies can be
reused in space
» Distance must be large
enough
» Example: radio stations
• Basis for “cellular”
network architecture
• Set of “base stations”
connected to the wired
network support set of
nearby clients
» Star topology in each circle
» Cell phones, 802.11, …
35