Top Banner
Adaptive Cleaning Adaptive Cleaning for RFID Data for RFID Data Streams Streams
25

Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Jan 08, 2018

Download

Documents

Arron Dickerson

RFID data is dirty A simple experiment: 2 RFID-enabled shelves 10 static tags 5 mobile tags
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Adaptive Cleaning for Adaptive Cleaning for RFID Data StreamsRFID Data Streams

Page 2: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

RFID: Radio Frequency RFID: Radio Frequency IDentificationIDentification

Page 3: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

RFID data is dirtyRFID data is dirtyShelf 0 Shelf 1

RFIDReaders

StaticTags

Mobile Tags

15ft1.5ft

3ft9ft

3ft

3ft

3ft

A simple experiment:•2 RFID-enabled shelves•10 static tags•5 mobile tags

Page 4: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

RFID Data CleaningRFID Data Cleaning

Time

Raw readings

Smoothed output

• RFID data has many dropped readings• Typically, use a smoothing filter to

interpolateSELECT distinct tag_idFROM RFID_stream [RANGE ‘5 sec’]GROUP BY tag_id

Smoothing Filter

Page 5: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Smoothing filter Smoothing filter

Middleware

Clean RFID

Completeness

Tag dynamics

Read all tags in range

Page 6: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

RFID Data CleaningRFID Data Cleaning

Time

Raw readings

Smoothed output

• RFID data has many dropped readings• Typically, use a smoothing filter to

interpolateSELECT distinct tag_idFROM RFID_stream [RANGE ‘5 sec’]GROUP BY tag_idBut, how to set the size

of the window?

Smoothing Filter

Page 7: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Window Size for RFID Window Size for RFID SmoothingSmoothing

Fido moving Fido resting

Small windowRealityRaw readings

Large window

Need to balance completeness vs. capturing tag movement

Page 8: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Truly Declarative Truly Declarative SmoothingSmoothing

• Problem: window size non-declarative Application wants a clean stream

of data Window size is how to get it

• Solution: adapt the window size in response to data

Page 9: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

RFIDRFID

Epoch TagID ReadRate0 1 .90 2 .60 3 .3

Tag 1

Tag 2

Tag 3

Tag 4

Antenna & readerTags

E1 E2 E3 E4 E5 E6 E7 E8 E9E0

Read Cycle (Epoch)

(For Alien readers)

Tag List

1. Interrogation cycle2. Epoch

Page 10: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Controlled condition real condition

Page 11: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

SMURFSMURF• Statistical Smoothing for Unreliable RFID

Data• Adapts window based on statistical

properties• Mechanisms for:

• Per-tag and multi-tag cleaning

Multi-tagCleaning

SMURFPer-tag

Cleaning

raw RFID streams

cleanedcount readings

cleanedper-tag readings

Application(s) Application(s)

Page 12: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Per-Tag Smoothing: Model and Per-Tag Smoothing: Model and BackgroundBackground

• Epoch t, Tag population Nt

• pi,t: Per epoch sampling prob.Response count of tag i per epoch

(total interrogation cycle)

Epoch TagID ReadRate0 1 .90 2 .60 3 .3

Page 13: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

• Smoothing window size wi epoch • Per epoch sampling prob: pi

• Number of successful observations of tag i Binominal distribution B(wi,pi)

Per-Tag Smoothing: Model and Per-Tag Smoothing: Model and BackgroundBackground

Page 14: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Per-Tag Smoothing: Model and Per-Tag Smoothing: Model and BackgroundBackground

• Use a binomial sampling model

Time (epochs)

pi

1

0

Smoothing Window

wi Bernoulli trials

piavg

Si

(Read rate of tag i)

E1 E2 E3 E4 E5 E6 E7 E8 E9E0

Set of epochs where tag i can be seen

Page 15: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.
Page 16: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

• We want to ensure that there are enough epochs in Wi such that tag i is observed (if it exists within the reader’s range) Completeness

Per-Tag Smoothing: CompletenessPer-Tag Smoothing: Completeness

Page 17: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Per-Tag Smoothing: Per-Tag Smoothing: CompletenessCompleteness

• If the tag is there, read it with high probability

Want a large window

pi

1

0

Reading with a low pi

Expand the window

Time (epochs)E1 E2 E3 E4 E5 E6 E7 E8 E9E0

Page 18: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Per-Tag Smoothing: CompletenessPer-Tag Smoothing: Completeness

Page 19: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Per-Tag Smoothing: Per-Tag Smoothing: CompletenessCompleteness

Expected epochs needed to read

With probability 1-

Desired window size for tag i

1ln*1

avgi

ip

w

Page 20: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Per-Tag Smoothing: Per-Tag Smoothing: TransitionsTransitions• Detect transitions as statistically

significant changes in the data

pi

1

0

Statistically significant difference Flag a transition and

shrink the window

The tag has likely left by this point

Time (epochs)E1 E2 E3 E4 E5 E6 E7 E8 E9E0

Page 21: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

• Significant difference between mean observed sample size Si and expected size

• Find outlier (2)

Number of successful epochs in a window

Si

Mean

Page 22: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Per-Tag Smoothing: Per-Tag Smoothing: TransitionsTransitions

# expected readings Is the difference

“statistically significant”?# observed

readings

)1(**2|*||| avgi

avgii

avgiii ppwpwS

•Statistically significantStatistically significant

Page 23: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Algorithm Algorithm

Page 24: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

SMURF in ActionSMURF in ActionFido moving Fido resting

SMURF

Experiments with real and simulated data show similar results

Page 25: Adaptive Cleaning for RFID Data Streams. RFID: Radio Frequency IDentification.

Normal sliding window Completeness Transition