Accurate Distance Tracking using WiFi

Similar documents
We Know Where You Are : Indoor WiFi Localization Using Neural Networks Tong Mu, Tori Fujinami, Saleil Bhat

SpotFi: Decimeter Level Localization using WiFi. Manikanta Kotaru, Kiran Joshi, Dinesh Bharadia, Sachin Katti Stanford University

Decimeter-Level Localization with a Single WiFi Access Point

FILA: Fine-grained Indoor Localization

Identifying Non-linear CSI Phase Measurement Errors with Commodity WiFi Devices

Impact of Antenna Mutual Coupling on WiFi Positioning and Angle of Arrival Estimation

PhaseU. Real-time LOS Identification with WiFi. Chenshu Wu, Zheng Yang, Zimu Zhou, Kun Qian, Yunhao Liu, Mingyan Liu

PinPoint Localizing Interfering Radios

On Measurement of the Spatio-Frequency Property of OFDM Backscattering

IoT Wi-Fi- based Indoor Positioning System Using Smartphones

arxiv: v1 [cs.ni] 13 May 2015

Indoor Localization in Wireless Sensor Networks

ArrayTrack: A Fine-Grained Indoor Location System

Chapter 4 DOA Estimation Using Adaptive Array Antenna in the 2-GHz Band

ZigBee Propagation Testing

Outline / Wireless Networks and Applications Lecture 3: Physical Layer Signals, Modulation, Multiplexing. Cartoon View 1 A Wave of Energy

CiFi: Deep Convolutional Neural Networks for Indoor Localization with 5GHz Wi-Fi

Wireless Location Detection for an Embedded System

HOW DO MIMO RADIOS WORK? Adaptability of Modern and LTE Technology. By Fanny Mlinarsky 1/12/2014

UNDERSTANDING AND MITIGATING

Maximizing MIMO Effectiveness by Multiplying WLAN Radios x3

Lecture 3: Wireless Physical Layer: Modulation Techniques. Mythili Vutukuru CS 653 Spring 2014 Jan 13, Monday

Understanding Channel and Interface Heterogeneity in Multi-channel Multi-radio Wireless Mesh Networks

Device-Free Decade: the Past and Future of RF Sensing Systems (at least 16 minutes worth) Neal Patwari HotWireless October 2017

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 6: Fading

Wireless Local Area Network based Indoor Positioning System: A Study on the Orientation of Wi-Fi Receiving Device towards the Effect on RSSI

Announcements : Wireless Networks Lecture 3: Physical Layer. Bird s Eye View. Outline. Page 1

MIMO I: Spatial Diversity

Narrow Band Interference (NBI) Mitigation Technique for TH-PPM UWB Systems in IEEE a Channel Using Wavelet Packet Transform

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 6: Fading

Peripheral WiFi Vision: Exploiting Multipath Reflections for More Sensitive Human Sensing

The Use of Wireless Signals for Sensing and Interaction

3 USRP2 Hardware Implementation

An Indoor Localization System Based on DTDOA for Different Wireless LAN Systems. 1 Principles of differential time difference of arrival (DTDOA)

LOCALISATION SYSTEMS AND LOS/NLOS

Transponder Based Ranging

ETSI Standards and the Measurement of RF Conducted Output Power of Wi-Fi ac Signals

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 6: Fading

Full Duplex Radios. Sachin Katti Kumu Networks & Stanford University 4/17/2014 1

Gait Recognition Using WiFi Signals

Antennas & Propagation. CSG 250 Fall 2007 Rajmohan Rajaraman

Smart Antenna Techniques and Their Application to Wireless Ad Hoc Networks. Plenary Talk at: Jack H. Winters. September 13, 2005

Precise Power Delay Profiling with Commodity WiFi

Localization in Wireless Sensor Networks

arxiv: v2 [cs.ni] 10 Dec 2018

Near-Field Electromagnetic Ranging (NFER) Indoor Location

TIME REVERSAL INDOOR TRACKING WITH CENTIMETER ACCURACY. Qinyi Xu, Feng Zhang, Beibei Wang, K.J.Ray Liu

Mobile Radio Propagation Channel Models

CIS 632 / EEC 687 Mobile Computing. Mobile Communications (for Dummies) Chansu Yu. Contents. Modulation Propagation Spread spectrum

Real-time Distributed MIMO Systems. Hariharan Rahul Ezzeldin Hamed, Mohammed A. Abdelghany, Dina Katabi

SpinLoc: Spin Around Once to Know Your Location. Souvik Sen Romit Roy Choudhury, Srihari Nelakuditi

Performance of Wideband Mobile Channel with Perfect Synchronism BPSK vs QPSK DS-CDMA

The Radio Channel. COS 463: Wireless Networks Lecture 14 Kyle Jamieson. [Parts adapted from I. Darwazeh, A. Goldsmith, T. Rappaport, P.

SourceSync. Exploiting Sender Diversity

Pilot: Device-free Indoor Localization Using Channel State Information

SMACK - A SMart ACKnowledgement Scheme for Broadcast Messages in Wireless Networks. COMP Paper Presentation Junhua Yan Nov.

EITN85, FREDRIK TUFVESSON, JOHAN KÅREDAL ELECTRICAL AND INFORMATION TECHNOLOGY. Why do we need UWB channel models?

1 Interference Cancellation

Effects of Fading Channels on OFDM

Performance Evaluation of STBC-OFDM System for Wireless Communication

MODELLING FOR BLUETOOTH PAN RELIABILITY

802.11ax Design Challenges. Mani Krishnan Venkatachari

DATE: June 14, 2007 TO: FROM: SUBJECT:

International Journal of Engineering & Computer Science IJECS-IJENS Vol:13 No:03 1

ON INDOOR POSITION LOCATION WITH WIRELESS LANS

Announcement : Wireless Networks Lecture 3: Physical Layer. A Reminder about Prerequisites. Outline. Page 1

Cognitive Wireless Network : Computer Networking. Overview. Cognitive Wireless Networks

MULTIPATH EFFECT MITIGATION IN SIGNAL PROPAGATION THROUGH AN INDOOR ENVIRONMENT

Final Report for AOARD Grant FA Indoor Localization and Positioning through Signal of Opportunities. Date: 14 th June 2013

DeepFi: Deep Learning for Indoor Fingerprinting Using Channel State Information

UNIT- 7. Frequencies above 30Mhz tend to travel in straight lines they are limited in their propagation by the curvature of the earth.

UWB Channel Modeling

Indoor Positioning Technology Based on Multipath Effect Analysis Bing Xu1, a, Feng Hong2,b, Xingyuan Chen 3,c, Jin Zhang2,d, Shikai Shen1, e

Channel Modeling ETI 085

Multipath fading effects on short range indoor RF links. White paper

Study of Factors which affect the Calculation of Co- Channel Interference in a Radio Link

Frame Synchronization Symbols for an OFDM System

Performance Analysis of Different Ultra Wideband Modulation Schemes in the Presence of Multipath

Application Note AN041

QGesture: Quantifying Gesture Distance and Direction with WiFi Signals

A Survey on Motion Detection Using WiFi Signals

DATA INTEGRATION MULTICARRIER REFLECTOMETRY SENSORS

CHAPTER 2 WIRELESS CHANNEL

Enhanced Positioning Method using WLAN RSSI Measurements considering Dilution of Precision of AP Configuration

HIGH accuracy centimeter level positioning is made possible

All Beamforming Solutions Are Not Equal

The Performance Analysis of Full-Duplex System Linjun Wu

Non-Line-Of-Sight Environment based Localization in Wireless Sensor Networks

Multipath and Diversity

Beamforming on mobile devices: A first study

Wireless LAN Applications LAN Extension Cross building interconnection Nomadic access Ad hoc networks Single Cell Wireless LAN

ToneTrack: Leveraging Frequency-Agile Radios for Time-Based Indoor Wireless Localization

UTILIZATION OF AN IEEE 1588 TIMING REFERENCE SOURCE IN THE inet RF TRANSCEIVER

A Hybrid Indoor Tracking System for First Responders

Wi-Fi. Wireless Fidelity. Spread Spectrum CSMA. Ad-hoc Networks. Engr. Mian Shahzad Iqbal Lecturer Department of Telecommunication Engineering

Wireless Intro : Computer Networking. Wireless Challenges. Overview

Antennas and Propagation

A Multi-Carrier Technique for Precision Geolocation for Indoor/Multipath Environments

Receiver Designs for the Radio Channel

Symbol Timing Detection for OFDM Signals with Time Varying Gain

Transcription:

17 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 181 September 17, Sapporo, Japan Accurate Distance Tracking using WiFi Martin Schüssel Institute of Communications Engineering University Ulm Email: martin.schuessel@uni-ulm.de Abstract This Paper presents an approach to indoor distance tracking using commercial off-the-shelf (COTS) WiFi hardware. We show that it is possible to exploit the channel state information (CSI), exposed by Wifi cards, to track the distance to other clients with cm accuracy. The proposed method does not require any hardware modifications, and highlights and solves some of the problems often encountered when using the CSI for indoor positioning applications. I. INTRODUCTION Indoor Positioning using existing infrastructure is often favoured, since installing new hardware for positioning is expensive. Localization with WiFi has received much research attention in the past years. The first systems used the signal strength toward several Access Points (APs) to achieve positioning[1]. While this approach has been refined and improved in recent years, the methods using RSS still only achieve accuracies of at best 1m, while also requiring an extensive measuring phase to learn the signal strength before they can be used. For more accurate positioning the channel state information can be used. Every WiFi packet is transmitted with a preamble, that is used to estimate the channel between the receiver and transmitter. This information is exposed as the CSI, by some modification to the driver [],[3]. The CSI contains the phase and amplitude of the channel on a subset of the frequencies WiFi uses. Usually some preprocessing schemes are used before applying the CSI for indoor positioning. This is needed since the measured CSI will be influenced by the packet detection delay (PDD), and the frequency offset between the receiver and transmitter. These preprocessing methods usually loose the real phase information of the channel. Figure 1 shows the preprocessing scheme used in [4]. As long as this preprocessing is consistent one can still use this distorted CSI. This is reasonable when using the CSI in pattern matching algorithms, or when using the phase relationship between different antennas on the receiver. We use the preprocessing method proposed in [6] to extract real phase information from CSI measurements. We then use it to track the distance between two wireless devices. In contrast to [6] our approach does not require channel hopping, and thus is potentially less disturbing to WiFi networks. c IPIN17 Fig. 1. Preprocessing of the channel state information from [4]. (a) shows the raw phase of the CSI of two packets, (b) shows the result after preprocessing II. RELATED WORK The channel state estimation has been used in [5] to achieve meter level accuracy with a pattern matching algorithm. To our knowledge they were the first to use a preprocessing scheme to use the CSI for pattern matching. SpotFi [4] achieves decimeter level accuracy. While they also use a similar preprocessing scheme they afterwards apply a modified version of the MUSIC algorithm to calculate the distance and the angle of the transmitter. They use several APs in their system, and require multiple packets to select the correct peak in the spectrum that is calculated by MUSIC. This is problematic if the target moves during a measurement. Closest to our work is [6]. They introduced the preprocessing methods we use to extract the real channel from the faulty CSI measurement. We expand on their work for the channel estimation. For positioning they use the nonuniform Fourier transform to calculate the distances between the receive and transmit antennas. This requires using all available WiFi channels. Neither the transmitter or the receiver will be able to perform their normal duties (e.g. serving other clients as an AP, or receiving data as a client), while measuring over all the available WiFi channels. The key difference in our approach is, that we do not require measurements from multiple channels, which means that our method should lead to less interference with normal network operation. On the other hand we are only able to track the distance, not actually estimate the absolute distance between two WiFi devices. III. CHANNEL STATE INFORMATION The Channel State Information (CSI) is determined in the preamble of every WLAN packet. It is used to determine the phase and amplitude variations the channel introduces

17 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 181 September 17, Sapporo, Japan to the signal. This enables quadrature amplitude modulation for the actual data transmission. Although normal WLAN drivers do not make the CSI available, there are modified drivers for Intel [], and Atheros [3] WLAN cards that provide these measurements. The channel is assumed to be static for the duration of a packet. More formally the CSI consists of distorted measurements of the wireless channel. h n = ae jπfnτ (1) Where h n is the wireless channel for the n-th subcarrier, a is the attenuation, f n is the frequency at subcarrier n and τ is the time of flight. We are especially interested in the phase of the channel: h n = πf n τ mod π () This equation means that we can easily calculate τ which corresponds to the distance between the receiver and the transmitter. Adding or subtracting multiples of π will not change the phase, so we have to deal with ambiguities. Because we need to eliminate the packet detection delay (see III-A), we only have the center subcarrier and its phase available. This means that we can not calculate the real distance, but we can follow changes of it. The packet detection delay (PDD) and carrier frequency offset (CFO) introduce errors into the channel estimation. In the next sections we will explain how the PDD and CFO affect the CSI and how one can overcome their effects. A. Packet Detection Delay The Packet Detection Delay is introduced since the WLAN card detects the presence of a packet at slightly different times. A packet is detected if the first few samples of a signal cross a certain energy threshold. The number of samples required, the distance to the receiver and noise can influence this delay. In practice the PDD influences the CSI by introducing an additional delay that looks similar to the Time of Fligtht. In [6] it is shown that the PDD can be about 8 times higher than the actual time of flight and varies significantly between packets. They also show that the center subcarrier does not experience this delay. Since this subcarrier can not be measured accurately and is not reported by the WiFi card, we estimate it by using the subcarriers closest to it. B. Frequency Offset The clocks of the receiver and transmitter differ by a small amount. The phase measurement done by the receiver will include the phase change introduced by the clock differences between his and the transmitters clock. The difference between the frequencies will usually be several khz (the Wifi standard allows up to khz). This phase change adds up quickly and leads to large errors in the phase of the estimated wireless channel. [6] noted that this change in phase is reversed if we send a packet from the receiver to the transmitter. We follow their approach at removing the CFO. Assuming two Wifi clients, a packet sent from client 1 to (and measured at ), will experience a certain phase shift introduced by the CFO. A packet sent in the reverse direction will experience the same phase shift, but with reversed direction. If we focus on one subcarrier we can formulate the two channels measured in the following way: ĥ 1 = he j(f1 f)t (3) ĥ 1 = he j(f1 f)t (4) where ĥ1 and ĥ1 are the measured wireless channels from 1 to and reversed, h is the true wireless channel, and f 1 and f are the center frequencies at client 1 and. Because of the reciprocity of the wireless channel the true channel is the same no matter which client receives or transmits. The measured channels will also be affected by additional phase errors because of delays in the hardware (e.g. cables from the antennas to the Wifi card). We accumulate these changes into a new variable k. Assuming we have access to both of the measurements at the exact same time, we can multiply the channels leading to: ĥ 1 ĥ 1 k = h (5) So we can recover the squared wireless channel from the two measurements. The phase of this channel will change twice as fast as we would expect from Eq., but we can still use it to track the distance. In practice it is impossible to send two packets at the same time. We implemented a program that replies immediately when a packet is received. Since there will be a delay between the two measured CSIs, we expect a small drift of the squared channel over time, since the frequency offset will not be completely eliminated. IV. DISTANCE TRACKING Now we can write the following equation to correlate the distance to the measured phase: d = h 4πf c c (6) where d is the distance, c is the speed of light, h is the phase of the squared channel, given by the phase of Eq.5 and f c is the center frequency. Using the squared channel means that the ambiguities happen twice as often, since its phase changes twice as fast. For the frequencies used in WiFi this means that we have a valid solution every 6 cm in the.4 GHz band and about every 3 cm in the 5 GHz band. The channel model so far assumed only one path from the receiver to the transmitter. This assumption is not true in indoor environments. Usually the signal arrives at the receiver from multiple paths at once. The received signal is a mixture of all signals received from all paths. The multipath will change even for small movements and affect the phase and the amplitude of the received signal. Since we currently do not account for multipath, we try to minimize its influence on the results by experimenting with strong line of sight between the receiver and transmitter. Although this will not remove

17 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 181 September 17, Sapporo, Japan the multiple paths, it should minimize their impact, since the strong line of sight signal will be the dominant part of all the paths. Phase of squared channel 3 V. E XPERIMENTAL R ESULTS 1 Phase [rad] We used an off the shelf WiFi Card (Intel 53) for our experiments. A normal desktop PCs was used as an AP. For the mobile client we used a notebook. Ubuntu 14.4 LTS was installed on both systems, with the driver modifications from []. The Wifi NICs were installed into PCI boards with 3 antennas, but we only used one transmit and one receive antenna. To make sure we had good line of sight between them we placed them at the same height, without any obstructions between the antennas. -1-3 4 8 1 8 1 (a) A. Stability of CSI measurements Phase of squared channel 3 1 Phase [rad] The first experiment revolves around the stability of the channel measurements. We sent 1 packets over 1 seconds between the AP and the client. The center frequency was 5.3GHz (WiFi channel 64). Then we calculated the squared channel by estimating the center subcarrier, and multiplying the CSI from both directions. We performed these experiments in a room, with no person inside during the measurements. We repeated the experiment 1 times at different positions in the room. The phase of the squared channel of representative measurements can be seen in Fig.. At first one can notice the results drift slightly over time. This is to be expected, since we are not able to remove the frequency offset completely. Fig.b was the worst drifting we measured over 1 seconds. If one uses the mean over 1 CSI measurements to counter the noisy measurements this corresponds to a drift in distance of about 4cm. Although we can not guarantee that the drift will always be smaller than this, and more measurements are needed, it gives a good indication of what kind of drift to expect in most situations. There are also several clusters of phase measurements. Fig.3 shows the first 1 measurements of b, and displays the clustering behaviour. The clusters are more problematic than noise, because if we mean the measurements, e.g. over ten points, several measurements in the clusters outside the true phase will have a big impact on the result. Clusters like these have been observed in [5]. They note that these clusters are location dependent and that not every location experiences this clustering behaviour in the CSI. To the best of our knowledge they do not provide a reason why these clusters appear in the first place. From indoor channel measurements with high quality equipment [7] it is known, that multipath components often arrive in clusters. So one explanation might be that these multipath clusters are not stable over time. On the other hand the Intel 53 WiFi cards only have a prototype implementation of the multiple antenna CSI measurements according to the developers of the modified drivers. Under certain conditions it is known that they do not provide good measurements (e.g. in the.4 GHz band). So we are not able to rule out the hardware as a root cause of these clusters. Lastly we did not perform the experiments in a shielded 6-1 -3 4 6 (b) Fig.. Phase of the squared channel, measured in a static environment using 1 packets over 1 seconds. Two representative measurements are shown. One can clearly see a different drift in the phase over time. Also some clusters around the phase can be seen. room, but in an office environment with active WiFi devices. These could also interfere and lead to additional noise in the measurements. More experiments with different hardware are needed to determine the cause for the clustering behaviour with certainty. Independent of the reason we choose to average the channel over 1 measurements (achieved by packets), to minimize the impact of these clusters and to counter noise. B. 1-D Distance tracking For the second experiment we moved the laptop in a straight line toward the AP, while leaving the latter static. We injected 1 packets over the course of 1 seconds, so 1 packets per seconds. We started at a distance of 7cm and after two seconds started to reduce the distance to 6cm. We averaged over 1 packets, resulting in 1 distance measurements per second. We repeated the experiment 4 times. We used the first 1 measurements to calibrate the distance to. Here we show the relative distance calculated by Eq.6.

17 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 181 September 17, Sapporo, Japan Im(h²) 8 6 4-4 -6 h² relative distance [cm] 5 4 3 1-8 -8-6 -4 4 6 8 Re(h²) Fig. 3. The complex values of the 1 packets measured in a static environment. -1 5 1 15 5 3 35 Fig. 5. The calculated distance over time, when increasing the distance by 5cm after seconds with return to the starting position. As one can see from Fig.4 the relative distance follows the relative distance [cm] -4-6 -8-1 -1 4 6 8 1 1 time [s] Fig. 4. The calculated distance over time, when reducing the distance by 1cm after seconds, for four different runs. expectation closely. The clients were moved manually, which explains the slightly different start and end points of the runs. We performed a similar experiment under worse conditions. We set the starting distance to 4m. We increased the distance by 5cm, waited for roughly seconds and then returned to the starting position. The results can be seen in Fig.5. While we are still able to follow the movement, one can see that the distance is not as accurate as in Fig.4, and that the ending distance is about 7cm too close to the AP. One of the reasons for the worse performance is the increased distance between the two WiFi devices. This will lead to a weaker signal and more noise in the measurements. Also multipath propagation should have a bigger impact when the client and AP are further apart. VI. CONCLUSION AND FUTURE WORK We presented a method to track the distance between two devices equipped with off the shelf WiFi hardware. With only software modifications we showed that it is possible to track the distance with cm accuracy. More experiments in different environments are needed to give a better estimation of the achievable accuracy. Especially experiments with several simultaneous distance measurements, leading to or 3-D position tracking are interesting. Currently our approach requires an extensive amount of packets and some calibration. A faster implementation of our software might be able to only require calibration once for a new setup. The amount of packets could be greatly reduced by using multiple antennas or sensorfusion with an inertial measurement unit. Multipath mitigation might also be possible by using multiple antennas and applying the MUSIC algorithm with time of flight and angle of arrival estimation. REFERENCES [1] P. Bahl and V. N. Padmanabhan, Radar: An in-building rf-based user location and tracking system, in INFOCOM,, pp. 775 784. [] D. Halperin, W. Hu, A. Sheth, and D. Wetherall, Tool release: gathering 8.11 n traces with channel state information, ACM SIGCOMM Computer Communication Review, vol. 41, no. 1, pp. 53 53, 11. [3] Y. Xie, Z. Li, and M. Li, Precise power delay profiling with commodity wifi, in Proceedings of the 1st Annual International Conference on Mobile Computing and Networking, ser. MobiCom 15. New York, NY, USA: ACM, 15, pp. 53 64. [Online]. Available: http://doi.acm.org/1.1145/789168.7914 [4] M. Kotaru, K. Joshi, D. Bharadia, and S. Katti, Spotfi: Decimeter level localization using wifi, in Proceedings of the 15 ACM Conference on Special Interest Group on Data Communication. ACM, 15, pp. 69 8. [5] S. Sen, B. Radunovic, R. R. Choudhury, and T. Minka, You are facing the mona lisa: Spot localization using phy layer information, in Proceedings of the 1th International Conference on Mobile Systems, Applications, and Services, ser. MobiSys 1. New York, NY, USA: ACM, 1, pp. 183 196. [Online]. Available: http: //doi.acm.org/1.1145/37636.37654

17 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 181 September 17, Sapporo, Japan [6] D. Vasisht, S. Kumar, and D. Katabi, Sub-nanosecond time of flight on commercial wi-fi cards, CoRR, vol. abs/155.3446, 15. [Online]. Available: http://arxiv.org/abs/155.3446 [7] A. A. M. Saleh and R. Valenzuela, A statistical model for indoor multipath propagation, IEEE Journal on Selected Areas in Communications, vol. 5, no., pp. 18 137, February 1987.