indoor localization without infrastructure using the
play

Indoor Localization Without Infrastructure Using the Acoustic - PowerPoint PPT Presentation

Indoor Localization Without Infrastructure Using the Acoustic Background Spectrum Stephen P. Tarzia Peter A. Dinda Robert P. Dick Gokhan Memik Northwestern University, EECS Dept. University of Michigan, EECS Dept. Presented


  1. Indoor Localization Without Infrastructure Using the Acoustic Background Spectrum Stephen P. Tarzia ∗ Peter A. Dinda ∗ Robert P. Dick † Gokhan Memik ∗ ∗ Northwestern University, EECS Dept. † University of Michigan, EECS Dept. Presented at MobiSys 2011 Bethesda, MD, USA June 30, 2011 http://empathicsystems.org 1/23

  2. Video demonstration of Batphone app Current acoustic fingerprint Location estimate 2/23

  3. Definition: indoor localization without infrastructure Given: � A smartphone � A building composed of many rooms � At least one prior visit to each room for training Without: × Specialized hardware × Anything installed in the environment × Cooperation from the building owner Goal: ◮ Determine which room the smartphone is currently located in 3/23

  4. Summary Motivation: ◮ Indoor localization is important ◮ Wi-Fi is imperfect and not always available ◮ Improved accuracy is desired Distinctive elements of our method: ◮ Listen to background sounds ◮ Look at frequency domain ◮ Rank-order filter for noise Results: ◮ 69% accuracy for 33 rooms using sound alone ◮ Publicly-available app ◮ Effectively combined Wi-Fi and sound 4/23

  5. Related Work: mobile acoustic sensing M. Azizyan, I. Constandache, and R.R. Choudhury. SurroundSense: mobile phone localization via ambience fingerprinting. MobiCom’09. ◮ Characterized rooms by loudness distribution ◮ Did not use sound exclusively H. Lu, W. Pan, N.D. Lane, T. Choudhury, and A.T. Campbell. SoundSense: scalable sound sensing for people-centric applications on mobile phones. MobiSys’09. ◮ Focused on transient sounds ◮ Activity detection, not localization 5/23

  6. Acoustic Background Spectrum (ABS) A location fingerprint should be: ◮ D istinctive ◮ r E sponsive ◮ C ompact ◮ E fficiently-computable ◮ N oise-robust ◮ T ime-invariant 6/23

  7. Acoustic Background Spectrum (ABS) A location fingerprint should be: ◮ D istinctive � 69% matching accuracy ◮ r E sponsive � 4–30 second sample ◮ C ompact � ∼ 1 kB per fingerprint ◮ E fficiently-computable � ∼ 12% mobile CPU usage ◮ N oise-robust ∼ sometimes can adapt ◮ T ime-invariant � tested on different days 6/23

  8. Signal Processing microphone input Standard spectral analysis Record audio samples time audio sample time series Divide samples into frames * * * * * * * * * * * * * * * * * * Multiply frames by a window function Compute power spectrum of each frame Discard rows > 7 kHz ABS fingerprint extraction spectrogram . q e r f time Sort each remaining row . q e r f increasing magnitude Extract 5 th percentile column and take logarithm [ ] = Acoustic Background Spectrum 7/23

  9. ABS Fingerprints Various rooms Room 15 10 8 10 6 10 4 10 2 10 0 10 -2 normalized, log-scale energy Room 16 10 8 10 6 10 4 10 2 10 0 10 -2 10 8 Room 17 10 6 10 4 10 2 10 0 10 -2 0 1 2 3 4 5 6 7 8/23 frequency (kHz)

  10. ABS Fingerprints Various rooms Different positions and days Room 15 Room 15 10 8 10 8 10 6 10 6 10 4 10 4 10 2 10 2 10 0 10 0 10 -2 10 -2 normalized, log-scale energy normalized, log-scale energy Room 16 Room 16 10 8 10 8 10 6 10 6 10 4 10 4 10 2 10 2 10 0 10 0 10 -2 10 -2 10 8 Room 17 10 8 Room 17 10 6 10 6 10 4 10 4 10 2 10 2 10 0 10 0 10 -2 10 -2 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8/23 frequency (kHz) frequency (kHz)

  11. Experimental Platforms (a) Zoom H4n (b) Apple iPod Touch 9/23

  12. Experimental Rooms Room type 20 15 Instances 10 5 0 o l c c l f o o l e f u m a c i n s t c s u e g p r r e u o e t e o h m r a l l a l b Maximum room capacity 16 14 12 Instances 10 8 6 4 2 0 4 8 16 32 64 128 256 512 10/23

  13. Fingerprint-based localization Supervised learning with two phases: ◮ Training – gather labeled fingerprints ◮ Testing/operation – observe new, unlabeled fingerprints ◮ Experiments use leave-one-out simulation Our classifier: ◮ Euclidean distance metric for comparing fingerprints (equivalent to RMS error) ◮ Nearest-neighbor classification In summary To guess the current location find the “closest” fingerprint in a database of labeled fingerprints. 11/23

  14. Accuracy Scaling 100 90 80 Accuracy (%) 70 60 50 40 30 20 10 0 2 4 8 17 33 Number of rooms in database (log scale) Proposed Acoustic Background Spectrum SurroundSense [Azizyan et al.] Random chance ◮ SurroundSense is used in a way not intended by the authors: using the microphone alone 12/23

  15. ABS Parameters Presented now: In paper: ◮ Filter rank ◮ Frequency band ◮ Listening time ◮ Distance metric ◮ Fingerprint ◮ Spectrogram window size/resolution 13/23

  16. Rank-order Filtering Fingerprint type 100 standard spectrum proposed rank-order filtered spectrum 80 Accuracy (%) 60 40 20 0 mean min p05 p10 p25 median p95 max ◮ 33 rooms in database ◮ Rank-order filters outperforms simple mean ⇒ our transient noise filtering technique is effective 14/23

  17. Listening time 80 70 60 Accuracy (%) 50 40 30 20 10 0 1 2 4 8 15 30 Sample time, in seconds 15/23

  18. Frequency resolution 80 70 60 Accuracy (%) 50 40 30 20 10 0 1 10 100 1000 Frequency bins / fingerprint vector length 16/23

  19. Batphone app in iTunes store ◮ Uses a 10 second sliding window ◮ Streaming signal processing ◮ Combines Wi-Fi with acoustic fingerprint 17/23

  20. Batphone results Batphone localization accuracy 100 proposed methods 80 Accuracy (%) 60 40 20 0 Linear combination ABS Commercial Wi-Fi Random ◮ 43 rooms in database ◮ Similar ABS accuracy for iPod and audio recorder ◮ Linear combination of Wi-Fi and ABS works well ◮ Didn’t compare to state-of-the-art Wi-Fi localization 18/23

  21. Orthogonality of Wi-Fi and Acoustics 2D histograms of physical and fingerprint distances 160 800 Wi-Fi distance (m) ABS distance (dB) 140 700 120 600 100 500 80 400 60 300 40 200 20 100 0 0 0 10 20 30 40 50 60 0 10 20 30 40 50 60 Real physical distance (m) ◮ Wi-Fi fingerprints from distant rooms are always different ◮ ABS fingerprints from nearby rooms can be quite different 19/23

  22. http://stevetarzia.com/listen 20/23

  23. Conclusion ABS fingerprint can be used for indoor localization and it requires no infrastructure See the paper for: ◮ Full parameter study ◮ Noise robustness experiment ◮ More Wi-Fi combination results ◮ Battery-drain measurements 21/23

  24. Future work ◮ Improved noise robustness ◮ Train the various noise states ◮ Adaptively chose fingerprint frequency band ◮ Use floorplan and history: Markov movement model ◮ Isolate factors that contribute to the ABS ◮ Add other sensors, as in SurroundSense ◮ In-pocket detection 22/23

  25. Thanks! For your enjoyment: ◮ App on the iTunes store: search for Batphone ◮ Listening demo at http://stevetarzia.com/listen ◮ Data and Matlab scripts at http://stevetarzia.com ◮ See our other projects at http://empathicsystems.org 23/23

  26. Room 1: Ford 2221 Room 12: Tech L221 Room 23: Tech M120 Accuracy:100% Accuracy:100% Accuracy:100% (office) (classroom) (classroom) Room 2: Ford 2227 Room 13: Tech L251 Room 24: Tech M128 Accuracy: 38% Accuracy: 0% Accuracy: 50% (lounge) (classroom) (classroom) Room 3: Ford 2230 Room 14: Tech L361 Room 25: Tech M152 Accuracy: 25% Accuracy: 75% Accuracy: 63% (office) (lecture hall) (classroom) Room 4: Ford 3317 Room 15: Tech LG62 Room 26: Tech M164 Accuracy:100% Accuracy:100% Accuracy:100% (lounge) (classroom) (classroom) Room 5: Tech F235 Room 16: Tech LG66 Room 27: Tech M166 Accuracy: 0% Accuracy:100% Accuracy: 88% (classroom) (classroom) (classroom) Room 6: Tech F252 Room 17: Tech LG68 Room 28: Tech M338 (computer lab) Accuracy:100% Accuracy:100% (computer lab) Accuracy: 0% (classroom) Room 7: Tech L158 Room 18: Tech LG76 Room 29: Tech M345 Accuracy: 88% Accuracy:100% Accuracy: 0% (classroom) (classroom) (lecture hall) Room 8: Tech L160 Room 19: Tech LR2 Room 30: Tech M349 Accuracy:100% Accuracy: 88% Accuracy:100% (classroom) (lecture hall) (classroom) Room 9: Tech L168 Room 20: Tech LR3 Room 31: Tech MG51 Accuracy: 0% Accuracy:100% (computer lab) Accuracy:100% (classroom) (lecture hall) Room 10: Tech L170 Room 21: Tech LR4 Room 32: Tech RYAN Accuracy: 0% Accuracy: 88% Accuracy:100% (classroom) (lecture hall) (lecture hall) Room 11: Tech L211 Room 22: Tech LR5 Room 33: Tech XPRS Accuracy: 50% Accuracy: 63% Accuracy: 75% (lecture hall) (lecture hall) (lounge) 24/23 1 2 3 4 5 6 7 1 2 3 4 5 6 7 1 2 3 4 5 6 7 Frequency (kHz)

  27. Parameter Study (a) Frequency band Accuracy full (0–48 kHz) 59.8% audible (0–20 kHz) 64.8% low (0–7 kHz)* 69.3% very low (0–1 kHz) 61.0% (0–600 Hz) 51.5% (0–400 Hz) 44.3% (0–300 Hz) 40.9% (0–200 Hz) 30.7% (0–100 Hz) 15.5% high (7–20 kHz) 28.4% ultrasonic (20–48 kHz) 25.0% 25/23

  28. Parameter Study (cont.) (b) Distance metric Accuracy Euclidean* 69.3% city block 66.7% (c) Spectrogram window Accuracy rectangular 65.2% Hamming* 69.3% Hann 68.2% Blackman 67.4% 26/23

Recommend


More recommend