Presentation is loading. Please wait.

Presentation is loading. Please wait.

Cross-Layer Approach to Wireless Collisions Dina Katabi.

Similar presentations


Presentation on theme: "Cross-Layer Approach to Wireless Collisions Dina Katabi."— Presentation transcript:

1 Cross-Layer Approach to Wireless Collisions Dina Katabi

2 802.11 devices are increasingly prevalent distributed and bursty access Home office City mesh Two devices access medium together  Collision

3 Job of the MAC: Avoid Collisions! And when they happen? Be in denial!

4 In This Talk Collisions are not harmful – We can decode colliding packets as efficiently as if they were sent separately Collisions are beneficial – We can exploit strategic collisions to increase throughput  Analog Network Coding

5 The Hidden Terminals Problem Collision! Alice Bob

6 The Hidden Terminals Problem More Collisions! Retransmissions Can’t get any useful traffic! Alice Bob

7 Can we take two collisions and produce the two packets? PaPa PbPb PaPa PbPb Yes, we can!

8 ZigZag Exploits 802.11’s behavior Retransmissions  Same packets collide again Senders use random jitters  Collisions start with interference-free bits ∆1 ∆2 PaPa PbPb PaPa PbPb Interference-free Bits

9 How Does ZigZag Work? ∆1 ∆2 Find a chunk that is interference-free in one collisions and has interference in the other 1 1 ∆1 ≠∆2 Decode and subtract from the other collision 1 1

10 ∆2 1 1 2 2 1 1 ∆1 How Does ZigZag Work? Find a chunk that is interference-free in one collisions and has interference in the other ∆1 ≠∆2 Decode and subtract from the other collision

11 ∆2 1 1 2 2 2 2 ∆1 How Does ZigZag Work? 3 3 Find a chunk that is interference-free in one collisions and has interference in the other ∆1 ≠∆2 Decode and subtract from the other collision

12 ∆2 1 1 2 2 4 4 ∆1 How Does ZigZag Work? 3 3 3 3 Find a chunk that is interference-free in one collisions and has interference in the other ∆1 ≠∆2 Decode and subtract from the other collision

13 ∆2 1 1 2 2 4 4 4 4 ∆1 How Does ZigZag Work? 3 3 5 5 Find a chunk that is interference-free in one collisions and has interference in the other ∆1 ≠∆2 Decode and subtract from the other collision

14 ∆2 1 1 6 6 ∆1 How Does ZigZag Work? 3 3 5 5 5 5 2 2 4 4 Find a chunk that is interference-free in one collisions and has interference in the other ∆1 ≠∆2 Decode and subtract from the other collision

15 ∆2 1 1 6 6 6 6 ∆1 How Does ZigZag Work? 2 2 4 4 3 3 5 5 7 7 Find a chunk that is interference-free in one collisions and has interference in the other ∆1 ≠∆2 Decode and subtract from the other collision

16 ∆2 1 1 6 6 8 8 ∆1 How Does ZigZag Work? 2 2 4 4 3 3 5 5 7 7 7 7 Find a chunk that is interference-free in one collisions and has interference in the other ∆1 ≠∆2 Decode and subtract from the other collision Delivered 2 packets in 2 timeslots  As if packets didn’t collide Low-complexity linear decoder No need for synchronization Delivered 2 packets in 2 timeslots  As if packets didn’t collide Low-complexity linear decoder No need for synchronization

17 ZigZag A receiver design that decodes collisions As efficient as if the colliding packets were sent in separate time slots Experimental results shows that it reduces hidden terminal losses from 72% to 0.7%

18 How does the AP know it is a collision and where the second packet starts? Time AP received a collision signal ∆

19 Detecting Collisions and the Value of ∆ Time AP received signal Packets start with known preamble AP correlates known preamble with signal Correlation Time Correlate ∆ Preamble Correlation Detect collision and the value of ∆ Works despite interference because correlation with an independent signal is zero Preamble Correlation Detect collision and the value of ∆ Works despite interference because correlation with an independent signal is zero

20 How Does the AP Subtract the Signal? Channel’s attenuation or phase may change between collisions Can’t simply subtract a chunk across collisions Alice’ s signal in first collision Alice’ s signal in second collision

21 Subtracting a Chunk Decode chunk into bits – Removes effects of channel during first collision Re-modulate bits to get channel-free signal Apply effect of channel during second collision – Use correlation to estimate channel despite interference Now, can subtract!

22 What if AP Makes a Mistake?

23 ∆1 ∆2 1 1 1 1 2 2 2 2 Bad News: Errors can propagate 3 3 Can we deal with these errors? What if AP Makes a Mistake?

24 ∆1 ∆2 What if AP Makes a Mistake? Good News: Temporal Diversity A bit is unlikely to be affected by noise in both collisions Get two independent decodings

25 Errors propagate differently in the two decodings For each bit, AP picks the decoding that has a higher PHY confidence [JB07, WKSK07] Which decoded value should the AP pick? ∆1 ∆2 1 1 1 1 2 2 2 2 3 3 AP Decodes Backwards as well as Forwards

26 ZigZag Generalizes

27 ∆1 ∆2 1 1 2 2 1 1 2 2 Flipped order

28 Different packet sizes ZigZag Generalizes ∆1 ∆2 1 1 2 2 1 1 2 2

29 ZigZag Generalizes 1 2 3 1 2 3 1 2 3 Flipped order Different packet sizes Multiple colliding packets 1 1 2 2 1 1 2 2 2 2 1 1 3 3 3 3 3 3

30 ZigZag Generalizes Flipped order Different packet sizes Multiple colliding packets Capture effect P a1 PbPb P a2 PbPb 3 packets in 2 timeslots  better than no collisions

31 Performance

32 Implementation USRP Hardware GNURadio software Carrier Freq: 2.4-2.48GHz BPSK modulation

33 USRPs Testbed 10% HT, 10% partial HT, 80% perfectly sense each other Each run randomly picks an AP and two clients Co-located 802.11a nodes that measure HTs. The USRPs use the same collision patterns as 802.11 802.11a

34 Throughput Comparison Throughput CDF of concurrent flow pairs

35 Throughput Comparison 802.11 Throughput CDF of concurrent flow pairs Hidden Terminals Partial Hidden Terminals Perfectly Sense

36 Throughput Comparison ZigZag Throughput CDF of concurrent flow pairs 802.11 Hidden Terminals get high throughput

37 Throughput Comparison ZigZag Throughput CDF of concurrent flow pairs 802.11 ZigZag Exploits Capture Effect ZigZag improved average Throughput by 25%

38 Throughput Comparison ZigZag Throughput CDF of concurrent flow pairs 802.11 Improved hidden terminals loss rate from 72% to 0.7% Hidden Terminals

39 Is ZigZag as efficient as if the colliding packets were sent in separate slots? For every SNR, Check that ZigZag can match the BER of collision-free receptions

40 Is ZigZag as efficient as if packets were collision-free Receptions? SNR in dB Bit Error Rate (BER)

41 Collision-Free Receptions Is ZigZag as efficient as if packets were collision-free Receptions? SNR in dB Bit Error Rate (BER)

42 Collision-Free Receptions Is ZigZag as efficient as if packets were collision-free Receptions? ZigZag-Decoded Collisions SNR in dB Bit Error Rate (BER) ZigZag is as efficient as if the colliding packets were sent separately

43 But can collisions be beneficial? ZigZag makes collisions harmless

44 Current Wireless Alice Bob

45 Current Wireless Current approach requires 4 time slots Can we do better? Alice Bob

46 Naive Application of ZigZag Collision! Alice Bob

47 Decode Collisions Naïvely applying ZigZag requires 4 time slots Decoding collisions at AP doesn’t reduce timeslots But the AP doesn’t need to decode! Alice Bob Naive Application of ZigZag

48 What if the AP doesn’t decode? Collision! 1)Alice and Bob transmit simultaneously Alice Bob

49 What if the AP doesn’t decode? Collision! 1)Alice and Bob transmit simultaneously 2)AP amplifies and broadcasts the collision Alice Bob

50 1)Alice and Bob transmit simultaneously 2)AP amplifies and broadcasts the collision 3)Alice subtracts her packet from the collision 1fhj What if the AP doesn’t decode? 1fhj 11 Bob’s pkt 11 Alice’s pkt 2 time slots instead of 4  Throughput Gain of 2x 2 time slots instead of 4  Throughput Gain of 2x Alice Bob

51 Extends Network Coding to Signals Traditional network coding: nodes forward linear combinations of received packets New approach: channel naturally creates linear combinations of signals Analog Network Coding (ANC)!

52 Theoretical Limits Theorem [Katti et al. ISIT’07]: Informal version: “For a symmetric two-way relay channel the rate achieved by analog network coding at high SNR is double the rate achieved by pure forwarding”

53 Implemented in software radio Evaluated in a similar testbed Metric Gain = Throughput in ANC /Current Throughput Performance

54 Throughput Gain for the Alice-Bob Scenario Throughput gain CDF Median Throughput Gain is 1.7x

55 Related Work Network Coding and Physical-layer Network Coding – Our ANC decoder linear modulation-independent and works without synchronization Joint Decoding & 2-way relay – Requires senders synchronization  hard in practice Interference Cancellation – Requires exponential difference in power or code-rate

56 Conclusion Cross-layer design changes how we perceive collisions Collisions need not be harmful – ZigZag decodes collisions as efficiently as if the colliding packets were sent in separate time slots Collisions can be beneficial – Analog network coding induces strategic collisions to increase throughput Softcast: cross-layer wireless video without CSI


Download ppt "Cross-Layer Approach to Wireless Collisions Dina Katabi."

Similar presentations


Ads by Google