dof
play

DOF: A Local Wireless Information Plane Sachin Katti Steven Hong - PowerPoint PPT Presentation

DOF: A Local Wireless Information Plane Sachin Katti Steven Hong Stanford University August 17, 2011 1 Problem Unlicensed spectrum (e.g. ISM Band - 2.4 GHz) has historically been managed socially How can we design a smart radio which


  1. DOF: A Local Wireless Information Plane Sachin Katti Steven Hong Stanford University August 17, 2011 1

  2. Problem Unlicensed spectrum (e.g. ISM Band - 2.4 GHz) has historically been managed “socially” How can we design a smart radio which maximizes throughput while causing minimal harm to coexisting radios? 2

  3. Can we use current mechanisms to design these smart radios? Current coexistence mechanisms • Carrier Sense, RTS/CTS • Rate Adaptation • Adaptive Frequency Hopping • ... Current mechanisms are not sufficient for designing high performance smart radios 3

  4. How would we build a smart radio which coexists with legacy devices? Knowledge of 1. The protocol types operating in the local vicinity 2. The spectrum occupancy of each type 3. The spatial directions of each type Heart Monitor WiFi AP 180° 180° AoA AoA ° 0 ° 0 2.3 2.5 2.3 2.5 2.3 2.5 2.3 2.5 Freq Freq GHz GHz GHz GHz GHz GHz GHz GHz Freq Freq Smart Transmitter Smart Receiver Microwave 4

  5. DOF ( D egrees O f F reedom) Local wireless information plane which provides all 3 of these quantities (type, spectral occupancy, spatial directions) in a single framework DOF Performance Summary • DOF is robust to SNR of detected signals • Accurate at received signals as low as 0dB • DOF is robust to multiple overlapping signals • Accurate even when three unknown signals are present • DOF is relatively computationally inexpensive • Requires 30% more computation over standard FFT 5

  6. DOF: High Level Architecture MAC DOF 𝑶 *𝚰, 𝑼𝒛𝒒𝒇, 𝑮 𝒅 , 𝑪𝑿+ 𝒐=𝟐 DOF operates on windows of raw 𝑶 *𝚰+ 𝒐=𝟐 time samples from the ADC DOF Estimation (AoA Detection) 𝑶 *𝑼𝒛𝒒𝒇, 𝑮 𝒅 , 𝑪𝑿+ 𝒐=𝟐 Raw samples are processed to extract feature vectors DOF Estimation (Spectrum Occupancy) Feature Vectors are used to detect 𝑶 *𝑼𝒛𝒒𝒇, 𝑮 (𝒋) + 𝒐=𝟐 1. Signal Type 2. Spectral Occupancy Classification 3. Spatial Directions F( i ) Feature Extraction The MAC layer utilizes this mechanism to inform its coexistence policy Time Samples Signal ADC 6

  7. Key Insight For almost all “man - made” signals – there are hidden repeating patterns that are unique and necessary for operation ……………………. CP CP CP Data Data Data Repeating Patterns in WiFi OFDM signals Time Repeating Patterns in Zigbee signals Leverage unique patterns to infer 1) type, 2) spectral occupancy, and 3) spatial directions 7

  8. Extracting Features from Patterns If a signal has a repeating pattern, then when we • Correlate the received signal against itself delayed by a fixed amount, the correlation will peak when the delay is equal to the period at which the pattern repeats. ∞ 𝛽 𝜐 = 𝑦 𝑜 𝑦 ∗ 𝑜 − 𝜐 𝑓 −𝑘2𝜌𝛽𝑜 𝑆 𝑦 Cyclic Autocorrelation Function (CAF) 𝑜 Pattern Frequency ( 𝛽 ) – The frequency at which the pattern repeats Advantages • Robustness to noise, • Uniqueness for each protocol Disadvantage: Computationally expensive to calculate the patterns in this manner Delay ( τ ) Pattern Frequency ( α ) 8

  9. Feature Extraction: Efficient Computation The CAF can be represented using an equivalent form called the Spectral Correlation Function (SCF) ∞ 𝑀−1 = 1 𝛽 𝑔 = 𝑆 𝑦 𝛽 𝜐 𝑓 −𝑘2𝜌𝑔𝜐 ∗ (𝑔 − 𝛽) 𝑇 𝑦 𝑀 𝑌 𝑚𝑂 𝑔 𝑌 𝑚𝑂 𝜐=−∞ 𝑚=0 WiFi Spectral Correlation Function • SCF can be calculated for Discrete Time Windows using just FFTs Feature Vectors are calculated by 𝜷 𝒈 at different values of 𝜷 computing 𝑻 𝒚 Frequency (f) Pattern Frequency ( α ) 9

  10. Classifying Signal Type Single signals are well separated in the feature vector space, 𝐺 • 𝜷 𝟑 𝒈 Feature Dimension 2: 𝑻 𝒚 𝜷 𝟐 𝒈 Feature Dimension 1: 𝑻 𝒚 • Support Vector Machines (SVM) can be used to classify signal type, 𝑈 Works well when there is a single signal but fails when there are multiple interfering signals 10

  11. Multiple interfering signals are not straightforward to classify • Multiple signals are made up of components and features of single signals, making them difficult to distinguish 𝜷 𝟑 𝒈 𝜷 𝟑 𝒈 Feature Dimension 2: 𝑻 𝒚 Feature Dimension 2: 𝑻 𝒚 𝜷 𝟐 𝒈 𝜷 𝟐 𝒈 Feature Dimension 1: 𝑻 𝒚 Feature Dimension 1: 𝑻 𝒚 Need a robust algorithm to determine the number of interfering signals 11

  12. Inferring the number of signals: Exploiting Asynchrony 1) Real signal packets are asynchronous F(i ) 2) This asynchrony shows up in as an increase or decrease in the number of non-zero components Received Signal ZigBee Overlapping Packets WiFi Nonzero Components in F(i ) t Measuring differences in 𝑮 𝒋 is more robust than differences in energy 12

  13. DOF: High Level Architecture MAC DOF 𝑶 *𝚰, 𝑼𝒛𝒒𝒇, 𝑮 𝒅 , 𝑪𝑿+ 𝒐=𝟐 𝑶 *𝚰+ 𝒐=𝟐 The signal types can be leveraged along with DOF Estimation the feature vectors to estimate (AoA Detection) 1) Spectrum Occupancy 𝑶 *𝑼𝒛𝒒𝒇, 𝑮 𝒅 , 𝑪𝑿+ 𝒐=𝟐 2) Spatial Directions DOF Estimation (Spectrum Occupancy) 𝑶 *𝑼𝒛𝒒𝒇, 𝑮 (𝒋) + 𝒐=𝟐 1 Signal Sig1 Class Counter++ SVM-1 If Δ L0>Threshold While . . . Classification DOF = Active Asynchrony . . . Detector/ F( i ) Sig i Class Power . . . Feature Normalization Extraction If Δ L0<-Threshold Counter-- SVM-N SigN Class Time Samples N Signals Signal ADC 13

  14. Estimating Spectrum Occupancy • Communication signals are sequences of periodic pulses 𝑐 𝑢 𝑓 𝑘2𝜌𝑔 𝑑 𝑢 𝑡 𝑢 = 𝑐𝑑𝑝𝑡 2𝜌𝑔 1 Bit Sequence b 0 Amplitude modulated Pulse 𝑐𝑑𝑝𝑡 2𝜌𝑔 𝑐 𝑢 Pulse multiplied by Carrier Wave 𝑐 𝑢 𝑓 𝑘2𝜌𝑔 𝑑 𝑢 𝑐𝑑𝑝𝑡 2𝜌𝑔 • These pulses are patterns embedded within the signal which repeat at a particular frequency • These frequencies at which these patterns repeat tell us the bandwidth 𝑔 𝑐 and carrier frequency 𝑔 𝑑 of the signal 14

  15. Estimating Spectrum Occupancy • Because these patterns repeat, they are natural components of the feature vector ZigBee Spectral Correlation Function Modulated Zigbee Signal Time Frequency (f) Pattern Frequency ( α ) Relationship between feature vector and Bandwidth/Carrier Frequencies Signal Type Feature Vector Frequencies all 𝜷 ′ 𝒕 between ,𝒈 𝒅 − 𝑪𝑿 𝟑 , 𝒈 𝒅 + 𝑪𝑿 WiFi 𝟑 - 𝒈 𝒅 , 𝒈 𝒅 − 𝑪𝑿 𝟑 , 𝒈 𝒅 + 𝑪𝑿 DOF leverages this relationship to compute the Bluetooth 𝟑 spectral occupancy of each signal type ZigBee 𝟑𝒈 𝒅 + 𝑪𝑿, 𝟑𝒈 𝒅 + 𝑪𝑿 15

  16. Estimating Angles of Arrival Incoming Signal . . . . . . Array Elements 1 2 M d Each array element experiences a delay of τ relative to the first • array element, which is a function of the Angle of Arrival (AoA) DOF uses the same feature vector to infer • This unique delay induces a particular characteristic on the 1)type, 2)spectral occupancy, 3)spatial directions (𝑗) which can be computed feature vector 𝐺 16

  17. Implementation R X 1 R X 3 R X 2 • Channel traces were collected using a modified channel sounder with a frontend bandwidth of 100MHz spanning the entire ISM band. • Wideband Radio Receiver placed at 3 different locations while transmitter was placed randomly in the office • Raw Digital Samples are collected and processed offline on a PC with Intel Core i7 980x Processor and 8GB RAM 17

  18. Experimental Setup Comparison Setup • Each testing “run” consists of 10 second channel traces. • Random Subset of 4 different radios are selected in each “run” (WiFi, Bluetooth, ZigBee, Microwave) with varying PHY parameters • 30 Different “runs” for each signal combination Compared Approaches Identifying Protocol Types • RF Dump (CoNEXT 2009) – Energy Detection + Packet Timing Estimating Spectrum Occupancy • Jello (NSDI 2010) – Edge Detection on Power Spectral Density Estimating Angles of Arrival • Secure Angle (HOTNETS 2010) – MUSIC (subspace based approach) 18

  19. Evaluation: Classification Single Signal Classification 1.2 1 Accuracy 0.8 0.6 0.4 DOF 0.2 RFDump 0 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 SNR DOF achieves greater than 85% accuracy when the SNR of the detected signal is as low as 0dB 19

  20. Evaluation: Classification DOF: Multiple Signal Classification 1.2 Cumulative Fraction 1 0.8 0.6 1 Signal 0.4 2 Signals 0.2 3 Signals 0 0 0.01 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0.22 0.24 0.26 0.28 0.3 Probability of Missed Classification DOF classifies all component signals with greater than 80% accuracy, even with 3 interfering signals 20

  21. Evaluation: Spectrum Occupancy Single Signal Spectrum Occupancy Estimation 0.6 Normalized Error 0.5 0.4 0.3 DOF Jello 0.2 0.1 0 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 SNR DOF’s spectrum occupancy estimates are at least 85% accurate at SNRs as low as 0dB 21

Recommend


More recommend