Class Introduction: COS 463: Wireless Networks
Class Introduction: COS 463: Wireless Networks
Class Introduction: COS 463: Wireless Networks
Allen Welkie
CS room 418C
2
Wireless is increasingly prevalent
• Health and Fitness
Wireless Sensors
• Virtual Reality
etworks UAVs
• UAVs
• Internet of Things Sensors
Smart Home
Wireless VR Vehicular Networks
Wireless Vehicles
ata Centers
Cellular
Networks
3
Mobile connectivity for people:
Increased wireless demand
4
Next demand driver:
Billions of Wireless devices
5
Industrial Impact: Cisco Meraki
• Founders Biswas, Bicket, Aguayo PhD
candidates who left program
– Initial products: mesh networking
technology from grad school
• Takeaway: Wireless
technology à industry impact
COS 463: Course Approach
• Gain deep knowledge of wireless networks by learning
across all layers of the stack
– Some “ELE” content, some “COS” content
7
Goals of the Class
1. Understand wireless networks’ design and architecture
– From signals to bits to datagrams
– Understand design choices and tradeoffs
8
Course Contents
1. Wireless From the Transport Layer Downwards
– Transport over wireless, link layer, medium access
5. Boutique topics
– Visible light communication, low power, Wi-Fi localization
9
Prerequisites and Administrivia
• Assume basic familiarity with computer networking
concepts and programming
10
Target audiences
• COS 463 is cross-registered with ELE (ELE 463)
11
Modes of delivery
• Lectures: Introduce concepts, gain background knowledge
12
Lab logistics
• Lab location: 87 Prospect, Garden Level, Room 065
14
Lab: Sharing the Wireless Medium
• We set up a transmitter in the room
15
Lab: Array Signal Processing
• Angle-of-arrival estimation using multiple antennas
User 1
User 2
16
Readings
• Text book: Cory Beard and William Stallings,Wireless
Communication Networks and Systems
• Reference material: Eldad Perahia, Robert Stacey, Next
Generation Wireless LANs
17
Class Grading
• Midterm exam: 20%
• Final exam: 30%
• Five lab programming assignments: 40%
• Class participation: 10%
– Precept attendance and participation
– Activity on Piazza
18
Today
1. How do wireless and wired networks differ?
19
Wireless is less reliable
Alice Bob
• Why?
20
Today
1. How do wireless and wired networks differ?
– A shared wireless medium
– Less reliable links
– Mobility
21
Wireless is a shared medium
Cathy
• Wired networks: Alice Bob
Alice and Bob’s conversation is
independent of Cathy and
Eve’s conversation Eve
• Wireless networks:
Close by wireless
conversations share the same
wireless medium
22
Why is a point-to-point link the
wrong abstraction for building
wireless networks?
23
Reason #1: Interference
• Noise is naturally present Cathy
in the environment from Alice Bob
many sources
Router
Alice
Bob
1
2
Router 3
Alice
4 Bob
Router
Alice
Bob
= ⊕
27
Router broadcasts the combination
Router
Alice 3 Bob
29
Today
1. How do wireless and wired networks differ?
– A shared wireless medium
– Less reliable links
– Mobility
30
Less reliable links:
Multipath propagation
Ceiling
S R
Floor
• Signal bounces off surface and interferes with itself
32
Mobility affects link throughput
• Quality of transmission depends on distance, other factors
Alice
Throughput,
Alice to Bob
Bob
time 33
Mobility matters, even if stationary!
• Mobile people, devices affect wireless channel of
stationary nodes!
Alice
Throughput,
Alice to Bob
time
Bob
Cathy
34
Mobility matters, still!
Cathy
• Impact of mobility on
transmission is complex:
– Multipath effects Alice
Throughput,
Alice to Bob
Bob
time
35
Today
1. How do wireless and wired networks differ?
36
Some things are well understood…
Q: What’s the capacity of a point-to-point link?
– Bits/second can ”reliably” communicate
• Before Shannon:
– Only way to make probability of bit error arbitrarily
small is to reduce the rate of communication.
A [Information Theory]: “ ”
A [Computer Networks]: “Let’s build a better medium
access control protocol!”
38
Today
1. How do wireless and wired networks differ?
39
The argument for cross-layer design
• Traditional approach: • New Approach: Design
Optimize within layers and optimize across layers
Applications Applications
End-to-End
Transport Layer
(including Transport)
Communications
Network Layer
and Coding
Radio Hardware,
Physical Layer
Antennas
40
Why is layer separation sub-optimal?
why is point-to-point
41
Scenario: Laptop in a Dead Spot
Scenario: Laptop in a “dead spot”
X
010101011111 X
011101011011
Loss
Loss
01010110111
With Layer Separation 01010110111
But access points are
a few bit errors à persistent loss
unlikely to have same bit
With layer separation: error
A few bit errors à
persistent loss
42
Scenario: Laptop in a Dead Spot
Solution: A cross-layer Approach
X
010101011111 X
011101011011
High-speed Ethernet
Loss
Loss
01010110111
With Layer Separation 01010110111
But access points are
a few bit errors à persistent loss
unlikely to have same bit
error
44
Idea: Network cooperates with PHY layer
Physical Layer
45
Scenario: Laptop in a Dead Spot
Solution: Use confidences across layers
X
010101011111 X
011101011011
High-speed Ethernet
Loss
Loss
With Layer Separation
“First bit isà1 persistent
with loss But access points
“First bitare
is 0 with
a few bit errors
unlikely to have same bit
0.8 confidence” error 0.5 confidence”
Average
Average Bit Bit Errors
Error Rate
47
Experiment: Packet
Experiment: delivery v. poor coverage
Packet Delivery vs. Poor Coverage
Layer Separation
Cross-layer Approach
Layer separation
Applications Applications
End-to-End
Transport Layer
(including Transport)
Communications
Network Layer
and Coding
Radio Hardware,
Physical Layer
Antennas
50
Today
1. How do wireless and wired networks differ?
51
New Services: Wireless localization
New Services: Wireless Localization
• GPS does not work indoorà
GPS does not work indoors Use WiFi
à use Wi-Fi to localize
to localize.
53
RFID motion tracking in the air
54
RFID technology: Smart homes
Smart Homes
RFID-tagged
Laptop Charger • RFID: Battery-free stickers
to tag any and every object
RFID-tagged
Laptop
RFID-tagged
Handbag
55
Low Power, Wide Area Networks
• Wireless, battery operated
sensors and devices
• Applications:
– Smart electricity, water,
utility meters
– Asset tracking: e.g.
Vehicle fleet monitoring
– Agriculture monitoring [semtech.com]
56
Class Website
www.cs.princeton.edu/courses/archive/spring18/cos463
57
Thursday
Systems & Networking Concepts: Layering,
End-to-End Arguments
Transport over Wireless I: TCP Split Connection
Friday Precept
Python Intro and Signal Processing Primer
Location: 87 Prospect Street, Room 065
58