Presentation is loading. Please wait.

Presentation is loading. Please wait.

PHY + MAC: The Whole is Greater than the Sum Romit Roy Choudhury Associate Professor 1.

Similar presentations


Presentation on theme: "PHY + MAC: The Whole is Greater than the Sum Romit Roy Choudhury Associate Professor 1."— Presentation transcript:

1 PHY + MAC: The Whole is Greater than the Sum Romit Roy Choudhury Associate Professor 1

2 Two Research Threads PHY MAC / Link Network Transport Security Application Wireless Networking (bottom up) Wireless Networking (bottom up) Mobile Computing (top down) Mobile Computing (top down)

3 Our Research PHY MAC / Link Network Transport Security Application Localization CSMA/CN P2P Gaming Activity / Gestures Smart Content Energy Management Wireless Networking (bottom up) Wireless Networking (bottom up) Mobile Computing (top down) Mobile Computing (top down) Rate Control Freq. Backoff Telescope Interference Cancellation

4 Motivation  Significant leaps in PHY layer link capacity  MIMO, OFDM, Coding, Beamforming …  Significant leaps in PHY layer link capacity  MIMO, OFDM, Coding, Beamforming …  Advancement in distributed algorithms, protocols  Scheduling, coordination, fairness, synchronization…  Advancement in distributed algorithms, protocols  Scheduling, coordination, fairness, synchronization… 4

5 … Nevertheless 5 PHY MAC

6 … Nevertheless 6 PHY MAC 1.Lack of integrated experimentation platform  Difficult to build cross-layer research prototypes 2.Protocol designers untrained in communications  Past cross layer research mostly MAC and above 1.Lack of integrated experimentation platform  Difficult to build cross-layer research prototypes 2.Protocol designers untrained in communications  Past cross layer research mostly MAC and above Why ?

7 Software Radios  Software defined radios  Changing landscape of wireless systems Transparent PHY layer enabling fostering unconventional ideas … Transparent PHY layer enabling fostering unconventional ideas … We intend to contribute here 7

8 1. Back2F: Backing off in the Frequency Domain 2. AccuRate: Constellation based Rate Selection 3. CSMA/CN: Making Wireless MAC like Ethernet 1. SAWC: Sensor Assisted Wireless Communication 2. Uncollide: Is SIC worth it? 3. SleepWell: WiFi Energy Management 8 Some Ongoing Projects

9 1. Back2F: Backing off in the Frequency Domain 2. CSMA/CN: Making Wireless MAC like Ethernet 3. AccuRate: Constellation based Rate Selection 1. SAWC: Sensor Assisted Wireless Communication 2. Uncollide: Is SIC worth it? 3. SleepWell: WiFi Energy Management 9 Some Ongoing Projects

10  Distributed contention resolution  ALOHA 1972  introduced notion of randomized backoff Backoff 10

11  Distributed contention resolution  ALOHA 1972  introduced notion of randomized backoff Backoff AP1 Tx AP2 Waits ACKAP1 Waits AP2 TxACK 11 AP1’s Backoff = 9 AP2’s Backoff = 15 … … Wastage

12 Fundamentally, backoff is not a time domain operation … its implementation has been in the time domain 12

13 Fundamentally, backoff is not a time domain operation … its implementation has been in the time domain We intend to break away, and implement backoff on the frequency domain by taking advantage of the PHY layer 13

14 Frequency Domain  802.11a/g PHY adopts OFDM  Wideband frequency channel divided into 48 narrow sub-carriers  Copes better with fast, frequency selective fading  Purely a PHY layer motivation  MAC Opportunity  Pretend OFDM subcarriers are integers  Emulate randomized backoff Frequency Subcarriers: 1 2 3 4 … 48 14

15 Back2F: Main Idea  Pick random backoff, say 6  Transmit signal on 6 th subcarrier 047 6 0 18 AP1 Backoff = 6 AP2 Backoff = 18 15

16 047 6 0 18 Listen Antenna Listen Antenna 6 18  Pick random backoff, say 6  Transmit signal on 6 th subcarrier Back2F: Main Idea AP1 Backoff = 6 AP2 Backoff = 18 16

17 Subcarrier 012345 Second Round What if Collision?  Introduce a second round of contention  Winners of first go to second Subcarrier 012345 First Round Winner 17

18 Why beneficial? Avg. temporal backoff ~ 100 micro sec. Frequency backoff = 1 OFDM symbol = 4 micro sec 2 rounds of backoff = 8 micro sec. 18

19 Subcarrier 012345 Second Round Creating a Queue Subcarrier 012345 First Round Winner Rank 2 19

20 Subcarrier 012345 Second Round Creating a Queue Subcarrier 012345 First Round 0 2 4 Rank 1Rank 2Rank 3 Enabling TDMA Enabling TDMA 20

21 Improved Channel Utilization Data WiFi: Contention per packet T2F: OFDM contention per TDMA schedule TDMA 21

22 1. What happens in multiple collision domains? 2. What if subcarriers are misdetected? 3. What happens when new client join, other clients leave? 4. Can we support legacy APs? … 22 Several Other Challenges

23 Performance  10 USRP Testbed  Deployed in Duke  Quantify  Reliable subcarrier detection  Collision probability  Net throughput gain over WiFi 23

24 Subcarrier Detection SNR in dB FFT Number Reliable subcarrier detection at 12dB 24

25 Throughput Gain Throughput Gain increases with higher bitrates 25

26 Closing Thoughts  Contention is not fundamentally a time domain operation  Back2F shows feasibility in frequency domain  Long standing overheads of backoff can be alleviated 26

27 1. Back2F: Backing off in the Frequency Domain 1. CSMA/CN: Making Wireless MAC like Ethernet 2. AccuRate: Constellation based Rate Selection 1. SAWC: Sensor Assisted Wireless Communication 2. Uncollide: Is SIC worth it? 3. SleepWell: WiFi Energy Management 27 Some Ongoing Projects

28 Collision in Wireless Networks T1RT2 Retransmit time ACK Timeout Collision

29 Collision in Wireless Networks T1RT2 Collision Retransmit Not Efficient! Better if T1 stops right after collision Better if T1 stops right after collision ACK Timeout

30 Ethernet is Efficient Called Collision Detection (CSMA/CD) Collision Transmitter detects a collision, and immediately aborts transmission. Unfortunately, CSMA/CD not feasible in wireless networks … 30

31 We ask: Can we emulate CSMA/CD in wireless networks i.e., abort collisions right when they occur 31

32 MAC PHY MAC PHY TxRx Cross Layer CSMA/CN: Basic Idea

33 MAC PHY MAC PHY Data Transmission (S1) S=S1 TxRx Cross Layer CSMA/CN: Basic Idea

34 MAC PHY MAC PHY Data Transmission (S1) S=S1 TxRx Check for Collision Cross Layer CSMA/CN: Basic Idea

35 MAC PHY MAC PHY Cross Layer Data Transmission (S1) S=S1 TxRx Check for Collision Search for Abort Cross Layer CSMA/CN: Basic Idea

36 MAC PHY MAC PHY Data Transmission (S1) S=S1 TxRx Search for Abort Cross Layer Check for Collision CSMA/CN: Basic Idea

37 MAC PHY MAC PHY Data Transmission (S1) S=S1 TxRx Collision Detected Search for Abort Cross Layer CSMA/CN: Basic Idea

38 MAC PHY MAC PHY Data Transmission (S1) S=S1+S2 TxRx Collision. Send Abort Search for Abort Abort Signal (S2) Cross Layer CSMA/CN: Basic Idea

39 MAC PHY MAC PHY Data Transmission (S1) S=S1 TxRx Abort signal detected Abort Signal (S2) S=S1+S2 Cross Layer Collision. Send Abort CSMA/CN: Basic Idea

40 MAC PHY MAC PHY Data Transmission (S1) S=S1 TxRx ABORT Abort Signal (S2) S=S1+S2 Cross Layer Collision. Send Abort CSMA/CN: Basic Idea

41 Correlation is the Key But works when notification is no weaker than 18dB of self-signal Correlation spikes whenever notification arrives

42 Wired Wireless Interference Cancellation  Need to detect very weak notification signals  Opportunity  Pass the Tx signal over wire  Listen antenna has 2 copies of the Tx signal  Both copies have same filter and frequency offset effects  Align the two signals using sampling offset information  Subtract the wired signal from wireless  Correlate residue with collision notification 42

43 Collision Detection at Rx  Receiver detects collision within 20 bytes  Total turnaround time for CN signature 18us  Quicker turnaround  Faster Tx abortion  Throughput gain over PPR MAC PHY Median gain = 25% 43

44 1. Back2F: Backing off in the Frequency Domain 2. CSMA/CN: Making Wireless MAC like Ethernet 3. AccuRate: Constellation based Rate Selection 1. SAWC: Sensor Assisted Wireless Communication 2. Uncollide: Is SIC worth it? 3. SleepWell: WiFi Energy Management 44 Some Ongoing Projects

45 ✦ Recently PHY-based: ✦ SoftRate [SIGCOMM ’09] Uses a BER heuristic to estimate bit rate BER accurately identifies when to increase/decrease rate However, may not be able to jump to optimal rate Current Wireless Rate Selection Data ACK History Info. Data SNR Frame BasedSNR Based SampleRate, RRAARBAR, CHARM We dive deeper into PHY … jump to the optimal rate 45

46 01 0 Strong Channel Moderate Channel Weak Channel 0111 In General 46

47 01 0 Strong Channel Moderate Channel Weak Channel 0111 6 Mbps 24 Mbps 36 Mbps Smaller dispersion permits higher rate In General 47

48 AccuRate Hypothesis: Symbol dispersion is independent of modulation Hypothesis: Symbol dispersion is independent of modulation Observation: Dispersion conveys the optimal rate that should have been used for that packet Observation: Dispersion conveys the optimal rate that should have been used for that packet 48

49 Hypothesis Verification 11 00 10 01 Tx 4QAM Tx 16QAM Channel 11 00 10 01 Rx QPSK Rx16QAM 49

50 McKinley et. al., 2004, “EVM calculation for broadband modulated signals” Hypothesis Verification 50

51 Observe symbol dispersion and select optimal modulation Observe symbol dispersion and select optimal modulation Given that symbol dispersion is independent of modulation Given that symbol dispersion is independent of modulation 51

52 Data BPSK 4QAM 16QAM 52

53 Data BPSK 4QAM 16QAM 53

54 BPSK 4QAM 16QAM Data We call this Virtual Channel Replay 54

55 Channel Replay Vector d1d1 Vector V = {d 1, d 2,...., d n } d2d2 55

56 Receiver Demodulator Packet Best Rate BPSK Channel Replay Demodulator CRC Check 4QAM Channel Replay Demodulator CRC Check 16QAM Channel Replay Demodulator CRC Check 56

57 Optimal modulation ≠ Optimal rate Bit-rate is a function of both modulation and coding Need to find the optimal for a received packet? Need to find the optimal for a received packet? 57

58 Receiver Demodulator Data BPSK Channel Replay 1/2 Demodulator CRC Check Decoder BPSK Channel Replay 3/4 Demodulator CRC Check Decoder QAM4 Channel Replay 1/2 Demodulator CRC Check Decoder QAM4 Channel Replay 3/4 Demodulator CRC Check Decoder 18 Mbps Decoder 6 Mbps 9 Mbps 12 Mbps QAM64 Channel Replay 3/4 Demodulator CRC Check Decoder Best Rate 54 Mbps 58

59 AccuRate achieves 87% of the optimal throughput Testbed Throughput at Walking Speeds 59

60 1. Back2F: Backing off in the Frequency Domain 2. CSMA/CN: Making Wireless MAC like Ethernet 3. AccuRate: Constellation based Rate Selection 1. SAWC: Sensor Assisted Wireless Communication 2. Uncollide: Is SIC worth it? 3. SleepWell: WiFi Energy Management 60 Some Ongoing Projects

61 Sensor Assisted Wireless Communication Synergy between sensing and wireless - Out-of-band contexts can provide useful cues - Useful for optimizing wireless PHY/MAC (e.g., switch WiFi channel on sensing microwave hum … modify rate control based on accelerometer … turn off WiFi when in subway train …)

62 1. Back2F: Backing off in the Frequency Domain 2. CSMA/CN: Making Wireless MAC like Ethernet 3. AccuRate: Constellation based Rate Selection 1. SAWC: Sensor Assisted Wireless Communication 2. Uncollide: Is SIC worth it? 3. SleepWell: WiFi Energy Management 62 Some Ongoing Projects

63 Thank You Visit our Systems Networking Research Group (SyNRG) http://synrg.ee.duke.edu 63

64 64

65 1. Back2F: Backing off in the Frequency Domain 2. CSMA/CN: Making Wireless MAC like Ethernet 3. AccuRate: Constellation based Rate Selection 1. SAWC: Sensor Assisted Wireless Communication 2. Uncollide: Is SIC worth it? 3. SleepWell: WiFi Energy Management 65 Some Ongoing Projects

66 2. Distinct receivers

67 Case: Two links with distinct receivers Situations much less favorable to SIC

68 Main Concern: T1 will transmit at best possible bit rate to R1 R2 has to decode T1’s signal at this bit rate … despite the presence of T2’s signal T1 R2 T2 R1 Case: Two links with distinct receivers

69 Thus, necessary (but not sufficient) conditions: 1.R2’s interferer (T1) must be closer than its own transmitter (T2) 2.T1’s own receiver (R1) must be further than interered receiver (R2) T1 R2 T2 R1 Case: Two links with distinct receivers

70 Gains available when all conditions hold: T1 R2 T2 R1 How often do these SIC permissible topologies occur?

71 T1 R2 T2 R1 Enterprise WLANs: Clients likely to associate with stronger AP Such scenarios unlikely Enterprise WLANs: Clients likely to associate with stronger AP Such scenarios unlikely Residential WLANs: Neighbors AP may be stronger Some SIC scenarios possible Residential WLANs: Neighbors AP may be stronger Some SIC scenarios possible

72 Gain with SIC in less than 10% of the cases Monte Carlo Simulations (AP Transmit Range)

73 73

74 Collision Probability Small collision probability in dense networks Benefit of second round 74


Download ppt "PHY + MAC: The Whole is Greater than the Sum Romit Roy Choudhury Associate Professor 1."

Similar presentations


Ads by Google