determining and characterizing the number of frequency hopping interferers using time and frequency...

24
Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

Upload: tyra-brimhall

Post on 01-Apr-2015

222 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

Determining and Characterizing the Number of Frequency Hopping

Interferers using Time and Frequency Offset Estimation

Alican GökProf. Danijela Cabric

Page 2: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

03/12/2009 2

FREQUENCY HOPPING SPREAD SPECTRUM DEVICES

• Resistance to Narrow Band interference• It's hard sniff the signal w/o knowing the

hopping sequence• Can share frequency band with conventional

conventional signals– At 2.4GHz FHSS devices have co-existence issues

with variety of other wireless devices– Example: Bluetooth (79 1 MHz channels interfering with

Wi-Fi networks)

Page 3: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

PROBLEM• Cognitive Radio Perspective

– Need to detect transmitters & classify transmission parameters• System Security Perspective

– Need to recognize transmitters & identify whether they belong to the network

• Motivations: – Each device has an inherent and unique center frequency

offset/imperfection due to manufacturing• This will be used to distinguish between devices & characterize them

– The starting time of transmissions for different transmitters are random across time

• It is unlikely that any two transmitters begin transmission at the same time. (within ±1 µs)

• Thus, temporarily unique “timing offsets” can be utilized

Page 4: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

ASSUMPTIONS

1. Each transmitter performs frequency hopping over a known set of M subchannels (79, 1MHz channels)

2. The transmission frame period is identical for each transmitter and is known a priori (625 µs)

3. Transmissions are assumed to have a duty cycle of 100% and are also active every frame period during the observation interval

4. Transmission start times are assumed to be uniformly distributed over one frame period

5. The maximum number of transmitters is much less than the number of subchannels

6. The signal-to-noise ratio (SNR) for detected signals are high (fixed at 20 dB for the simulations)

Page 5: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

PROCEDURE

1. Estimation of Number of transmitters:– Detection of transmission start times– Construction of the Time Offset Histogram– Threshold the Histogram to estimate # TX

2. Estimating the frequency of bursts– A two stage algorithm is proposed.– Different methods (Sliding Correlation, Recursive

Methods) are explored.

3. Post-processing to find the final carrier frequency offsets for the number of transmitters

Page 6: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

SYSTEM BLOCK DIAGRAM

Page 7: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

ESTIMATION OF NUMBER OF TRANSMITTERS

• Using 5 µs-long observation intervals with 100 MHz sampling, get snapshots of the full 79-MHz spectrum.

• Detect the subchannels in use by a simple energy detection algorithm based on thresholding

• The FFT window is shifted by 1 µs successively (STFT)

• By comparing the channels in use at consecutive snapshots, the “new” transmitting subchannels are detected Start Time of a Burst

Page 8: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

• By associating each burst start with the time modulo 625 µs, and accumulating over T0 seconds, a histogram is obtained.

• A threshold on the Histogram is applied to find the number of transmitters, and their time offsets.

ESTIMATION OF NUMBER OF TRANSMITTERS

Page 9: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

FREQUENCY OFFSET ESTIMATION

• Using the same subchannel detection algorithm as in the previous stage, the burst starts are detected.

• If the time of detection matches a time offset found in the previous stage, frequency offset estimation is conducted.

• Over T1 seconds, for all transmitters, multiple bursts are acquired, which improves the frequency estimates.

Page 10: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

FREQUENCY OFFSET DETECT ALGORITHM• For each burst, mix the signal to baseband by using the

subchannel frequency.• Low Pass Filter and Decimate (by 100 to get 1 MHz

sampling)• Use the FFT of the baseband signal to run the Sliding

Correlation Algorithm– With 625 µs pulses, can have 625 points at 1 MHz sampling. If

512 pt FFT is used frequency resolution is ~2 kHz

Idea: If we wanted to obtain 2 kHz freq. res in a single stage method without mixing and decimating, then we would need ~50.000 pt. FFTs at 100 MHz sampling. Not practical to implement

03/12/2009 10

Page 11: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

SLIDING CORRELATION• Inspired by the Matched Filter detection• Use the average PSD of CPM pulses with given parameters (Bluetooth – CPM) as a

template for the correlation. (Shown in RED)• Smooth the FFT of the received pulse (GREEN) with a smoothing parameter (BLUE)• Slide the template over a range to find the max. correlation with the blue FFT.• Estimated Freq Offset = Frequency at which the maximum correlation occurs!

– Can do the correlation using abs(FFT), abs(FFT)^2 or log(abs(FFT))

-15 -10 -5 0 5 10 151.89

1.895

1.9

1.905

1.91

1.915

1.92

1.925x 10

5 Correlation Product vs. Shift Index

Corre

latio

n Pr

oduc

t (no

t nor

mal

ized

)

Shift Index03/12/2009 11

Page 12: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

DEALING WITH COLLISIONS

• Collision Superposition of pulses• Decrease the performance of frequency offset estimation.• Solution: Track end times of the bursts to cancel out bursts

which are affected by collisions.

Page 13: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

RESULTS

• A summary of the most significant results will be shown.

• Simulink was used to simulate Bluetooth devices.• Simulates desired number of FHSS transmitters, with configurable:

– Frequency offsets, starting time offsets– SNR, channel noise– CPM characteristics– Data rate– Hopping sequences, duty cycle– Burst time, frame periods

• Reception of signals, time and frequency offset estimation is conducted using embedded Matlab codes in Simulink.

Page 14: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

DETECTION OF THE BURSTS

Page 15: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

ESTIMATION OF NUMBER OF TRANSMITTERS

Page 16: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

FREQUENCY OFFSET ESTIMATION(Characterization of the SC Algorithm)

Page 17: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

FREQUENCY OFFSET ESTIMATION(Without Collision Detection)

Page 18: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

FREQUENCY OFFSET ESTIMATION(With Collision Detection)

Page 19: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

FUTURE WORK

• Theoretical Analysis

• Gain robustness against spillage, by improving subchannel detection

• Remove certain assumptions to enable the system to work with different devices, such as Software Defined Radios in the 2.4 GHz band.

• Real-world implementation, using USRP2 (Universal Software Radio Peripheral) Boards, BEE2 or other hardware.

Page 20: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

APPENDIX

Page 21: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

WHY USE CARRIER FREQUENCY OFFSETS?• We would like to characterize transmitters, to

– Help spectrum sensing in Cognitive Radio– Find out sources of interference to 802.11b/g networks.– Create fingerprints for devices for future use.

In trying characterize bursts coming from different transmitters:• Hard to find protocol-specific pulse characteristics:

– Protocol type (Bluetooth, 802.11, generic SDR), modulation type (FSK, OFDM, QPSK), alphabet size

• Some device-specific characteristics are hard to estimate, unreliable or does not help us in distinguishing btw transmitters:– Pulse power, pulse start-time, pulse periods, ramp times

• Need to use carrier frequency offsets– Inherent in and Unique to any transmitter03/12/2009 21

Page 22: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

FREQUENCY RESOLUTION ISSUES

• Pulse duration: t, Sampling time: fs, FFT size: N=t*fs

• FFT spans the [ –fs/2 : fs /2 ] range

• Resolution = Distance btw two consecutive FFT bins = fs /N = fs / (t* fs ) = 1/t

• For a duration of pulse t Get 1/t freq. resolution– Zero padding, interpolation, etc. does not give us any additional

statistical data.• Called “Heisenberg-Gabor inequality”

• Vital to capture the whole pulse to get a better freq. resolution, thus a better freq. offset estimate

03/12/2009 22

Page 23: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

System Performance - SNR• Single Transmitter / Single Burst• Sliding Correlation Method

• Most of the uncertainty in the estimation of offsets is due to the sampled spectrum. Significant variance exists even at very high SNR values.

Page 24: Determining and Characterizing the Number of Frequency Hopping Interferers using Time and Frequency Offset Estimation Alican Gök Prof. Danijela Cabric

DETERMINATION OF THE THRESHOLD FOR THE HISTOGRAM (ESTIMATION OF NUMBER OF TRANSMITTERS)