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

Similar documents
Accurate Distance Tracking using WiFi

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

FILA: Fine-grained Indoor Localization

PinPoint Localizing Interfering Radios

State and Path Analysis of RSSI in Indoor Environment

3D-Map Aided Multipath Mitigation for Urban GNSS Positioning

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

IoT Wi-Fi- based Indoor Positioning System Using Smartphones

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

Classification of Road Images for Lane Detection

IoT. Indoor Positioning with BLE Beacons. Author: Uday Agarwal

Lab 2. Logistics & Travel. Installing all the packages. Makeup class Recorded class Class time to work on lab Remote class

Bayesian Positioning in Wireless Networks using Angle of Arrival

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

Chapter 2 Channel Equalization

Pilot: Device-free Indoor Localization Using Channel State Information

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

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

It is well known that GNSS signals

WITH the proliferation of mobile devices, indoor localization

Multiple Antenna Techniques

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

Autonomous Localization

3 USRP2 Hardware Implementation

METIS Second Training & Seminar. Smart antenna: Source localization and beamforming

A Statistical Model for Angle of Arrival in Indoor Multipath Propagation

Ultrasound-Based Indoor Robot Localization Using Ambient Temperature Compensation

FEASIBILITY STUDY ON FULL-DUPLEX WIRELESS MILLIMETER-WAVE SYSTEMS. University of California, Irvine, CA Samsung Research America, Dallas, TX

Indoor Wideband Time/Angle of Arrival Multipath Propagation Results

MIMO II: Physical Channel Modeling, Spatial Multiplexing. COS 463: Wireless Networks Lecture 17 Kyle Jamieson

Proposal of On-road Vehicle Detection Method Using WiFi Signal

Performance Study of MIMO-OFDM System in Rayleigh Fading Channel with QO-STB Coding Technique

1 Interference Cancellation

mm-wave communication: ~30-300GHz Recent release of unlicensed mm-wave spectrum

Wi-Fi Fingerprinting through Active Learning using Smartphones

Indoor Localization in Wireless Sensor Networks

Effects of snaking for a towed sonar array on an AUV

Dynamic Throttle Estimation by Machine Learning from Professionals

Characterization of LF and LMA signal of Wire Rope Tester

All Beamforming Solutions Are Not Equal

Combining filters and self-interference cancellation for mixer-first receivers in Full Duplex and Frequency-Division Duplex transceiver systems

Propsim C8 MIMO Extension. 4x4 MIMO Radio Channel Emulation

Learning and Using Models of Kicking Motions for Legged Robots

Performance Analysis of MUSIC and MVDR DOA Estimation Algorithm

System Identification and CDMA Communication

Effects of Fading Channels on OFDM

Channel Modelling for Beamforming in Cellular Systems

muse Capstone Course: Wireless Sensor Networks

Modeling Mutual Coupling and OFDM System with Computational Electromagnetics

Neural Blind Separation for Electromagnetic Source Localization and Assessment

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

N. Garcia, A.M. Haimovich, J.A. Dabin and M. Coulon

Orthogonal Cyclic Prefix for Time Synchronization in MIMO-OFDM

Localization Convolutional Neural Networks Using Angle of Arrival Images

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

Learning and Using Models of Kicking Motions for Legged Robots

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

LOW POWER GLOBAL NAVIGATION SATELLITE SYSTEM (GNSS) SIGNAL DETECTION AND PROCESSING

MINE 432 Industrial Automation and Robotics

Improving performance of pedestrian positioning by using vehicular communication signals

Indoor Positioning by the Fusion of Wireless Metrics and Sensors

HIGH accuracy centimeter level positioning is made possible

Decimeter-Level Localization with a Single WiFi Access Point

Bluetooth Angle Estimation for Real-Time Locationing

A Simulation Research on Linear Beam Forming Transmission

Performance Analysis of Equalizer Techniques for Modulated Signals

Experimental evaluation of massive MIMO at 20 GHz band in indoor environment

Qosmotec. Software Solutions GmbH. Technical Overview. QPER C2X - Car-to-X Signal Strength Emulator and HiL Test Bench. Page 1

HUMAN activity recognition has gained tremendous attention

WPI Precision Personnel Locator: Inverse Synthetic Array Reconciliation Tomography Performance. Co-authors: M. Lowe, D. Cyganski, R. J.

HeadScan: A Wearable System for Radio-based Sensing of Head and Mouth-related Activities

Robust Synchronization for DVB-S2 and OFDM Systems

A new position detection method using leaky coaxial cable

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

Chapter-15. Communication systems -1 mark Questions

Understanding Advanced Bluetooth Angle Estimation Techniques for Real-Time Locationing

Transponder Based Ranging

A Vehicular Visual Tracking System Incorporating Global Positioning System

Gesture Recognition using Wireless Signal

Study of Performance Evaluation of Quasi Orthogonal Space Time Block Code MIMO-OFDM System in Rician Channel for Different Modulation Schemes

A Data-Driven Approach to Localization for High Frequency Wireless Mobile Networks

Chapter 5. Array of Star Spirals

General MIMO Framework for Multipath Exploitation in Through-the-Wall Radar Imaging

The Use of Wireless Signals for Sensing and Interaction

THE CAPACITY EVALUATION OF WLAN MIMO SYSTEM WITH MULTI-ELEMENT ANTENNAS AND MAXIMAL RATIO COMBINING

An Adaptive Algorithm for MU-MIMO using Spatial Channel Model

THE APPLICATION OF ZIGBEE PHASE SHIFT MEASUREMENT IN RANGING

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

Direction of Arrival Estimation in Smart Antenna for Marine Communication. Deepthy M Vijayan, Sreedevi K Menon /16/$31.

802.11ax Design Challenges. Mani Krishnan Venkatachari

NEURAL NETWORK DEMODULATOR FOR QUADRATURE AMPLITUDE MODULATION (QAM)

Performance Comparison Between MIMO and SISO Systems Based on Indoor Field Measurements

Channel-based Optimization of Transmit-Receive Parameters for Accurate Ranging in UWB Sensor Networks

Comparison of RSSI-Based Indoor Localization for Smart Buildings with Internet of Things

Indoor Location Detection

TEST RESULTS OF A DIGITAL BEAMFORMING GPS RECEIVER FOR MOBILE APPLICATIONS

Performance Evaluation of Nonlinear Equalizer based on Multilayer Perceptron for OFDM Power- Line Communication

A Vehicular Visual Tracking System Incorporating Global Positioning System

Performance Study of A Non-Blind Algorithm for Smart Antenna System

Comparison of Various Neural Network Algorithms Used for Location Estimation in Wireless Communication

Transcription:

We Know Where You Are : Indoor WiFi Localization Using Neural Networks Tong Mu, Tori Fujinami, Saleil Bhat Abstract: In this project, a neural network was trained to predict the location of a WiFi transmitter given the measured amplitude and phase (CSI data) of the transmitted signal at the WiFi receiver. Each CSI data point was mapped to a ground-truth angle of arrival (AoA) in degrees, and distance in meters. Training neural networks with this data, we were able to classify AoA from phase difference with 86% accuracy and predict distance from phase difference within around 0.5 meters. I. Introduction: With the ever-increasing demand for indoor localization services (e.g. locationcustomized app behavior, intelligent car parking, guidance for the visually impaired), accurate and fast localization techniques using WiFi have become increasingly relevant. To this end, we trained a neural network to predict the location of a Wi-Fi transmitter unit with respect to a Wi-Fi receiver unit. Using a transmitter with one antenna and a receiver with three evenly spaced antennas, channel state information (CSI) data, (the amplitude and phase of the signal at each receive antenna), were collected. These data were fed into a neural network for training in order to predict the line-of-sight distance and angle between the transmitter and the receiver. We hypothesized that there would be a relationship between the amplitude of the received signal and distance, and a relationship between the difference in phase measured at two receive antennas and the angle. However, we found that phase difference data was better suited to predict both distance and angle of arrival. Using phase difference data as our input, we were able to predict distance with an accuracy of around 0.5m and classify angle with around 14% error. II. Related Work: WiFi localization recently has become an important area of research. There are a few papers detailing previous work in this area. SpotFi[3] achieved a high degree of localization accuracy (within decimeters) using only CSI data, but it used a non-machine learning algorithm. Particularly, SpotFi uses the computationally complex MUSIC algorithm which uses intensive linear algebra to decompose the received signal into a matrix of multipath components and attempts to determine the LOS component. Unfortunately, this computationally expensive algorithm makes the method unpractical for real-time systems. Two other papers, "Decimeter-Level Localization" [4] and "WiFi Localization and Navigation for Autonomous Indoor Mobile Robots" [5] achieved decimeter-level localization accuracy in short computation times, but had to add additional hardware to obtain their results. Chronus, the algorithm and system detailed in "Decimeter-Level Localization," can compute location accurately and quickly from time of flight measurements, but the system must be changed to mimic wideband radio signals. "WiFi Localization and Navigation for Autonomous Indoor Mobile Robots" [5], details a specific application of indoor WiFi localization on a real-time system using machine learning; however, as robots generally have additional sensors, the localization algorithm used in this paper combines WiFi localization with the use of odometry. While we would like to achieve both the short computation time and accuracy seen in these paper, we only want to use the CSI data obtainable from a simple standard WiFi setup. Finally, a last set of papers both used machine learning approaches and only CSI data. DeepFi[1], uses deep learning and fingerprinting with amplitude data only and ran their experiment in a variety of different environments such as a living room or a

computer lab. Similarly, PhaseFi[2] also uses deep learning and fingerprinting, but with both CSI amplitude and phase data. While DeepFi[1] and PhaseFi[2] were significantly faster than SpotFi[1], the accuracies they achieved (around 2 meters for DeepFi[1] and 1-2 meters for PhaseFi[2]) were not as precise as those achieved in the any of the above mentioned papers. The goal of this project was to obtain good accuracy, closer to what was achieved in SpotFi[3], at a faster rate, like in PhaseFi[2] or DeepFi[1], without the modifications to a WiFi system as were necessary in "Decimeter-Level Localization" [4] and "WiFI Localization and Navigation for Autonmous Indoor Mobile Robots" [5]. III. Experimental Setup, Features, and Data: Our equipment for data collection consisted of a Wi-Fi transmitter with a single antenna and a Wi-Fi receiver with three antennas, spaced 2.6 cm apart (Fig. 1). Figure 1: Experimental Setup The Wi-Fi transmitter transmitted at 30 different subcarrier frequencies each spaced 312.5KHz apart with the center frequency at 5GHz. For distances between 1 meter to 10 meters in increments of 1 meter, and for each distance, at angles between -40 and 40 degrees (Fig. 2) in increments of 10 degrees, CSI data was collected. Note that the angle between the transmitter and receiver is the same as the angle of arrival of a line-of-sight signal propagating from the transmitter to the receiver. Therefore, predicting the angle between the devices is equivalent to predicting the line-of-sight signal s angle of arrival (AoA). Thus, the two labels we attempted to predict were distance and AoA. Figure 2: Definition of Angle of Arrival Once the data was collected, we performed pre-processing. First, we linearized the phase data to remove its periodic properties. Second, for every combination of two antennas, we calculated the difference between the linearized phase measured at each antenna for each subcarrier. That is, we obtained the linearized phase difference between antennas A and B, antennas A and C, and antennas B and C on each of the 30 subcarriers. With this setup, one training example in our data consisted of the received amplitude at each antenna on each of the 30 subcarriers, the difference in the received phase for every set of two antennas on each of the 30 subcarriers, and the ground truth labels of the parameters we wanted to predict: AoA and distance. Initially, this meant we had a total of 180 features (30 subcarriers x 3 antenna x 1 distance + 30 subcarriers x 3 antenna pairs x 1 phase difference). However, we discovered that the amplitude features were not useful in predicting distance. Therefore, for our final results, we had 90 features and two ground-truth labels for each training sample. We collected around 1900 samples of data for each distance-angle pair resulting in 171891 samples total. IV. Methods: For a line-of-sight angle of arrival θ, a signal travels an additional distance of dsin(θ)

to the second antenna in the array compared to the first antenna (Fig 3). This results in a difference between the phase measured at each antenna of 2πd sin(θ)f/c. default configuration: a sigmoidal activation function for each layer and scaled conjugate gradient backpropagation as the update weight/bias update procedure. Figure 4: Parameter change with distance and AoA Figure 3: Phase difference based on angle and distance However, for each signal, there is more than one propagation path (it can bounce off walls, objects, etc. before reaching the receiver). This is called multipath. As such, the phase difference is actually given by: M N j=1 ) ( a i e jφ i i=1 ) ( a j e jφ j where the phase difference between the two line-of-sight components is given by 2πd sin(θ)f/c. The amplitudes, a i, a j, and phases φ i, φ j are dependent on both the distance and AoA (Fig. 4). Amplitude decreases due to path loss as distance (r) increases, and the angle of the multipath components ( ) with respect to the line of sight component changes with distance. Additionally, most antennas have high directivity, meaning they have high gain (g) in one direction which falls off quickly as the signal arrives off angle. Therefore, as the AoA is changed from zero degrees, the amplitude decreases as well. We hypothesized that a neural network could learn a pattern for the multipath terms, and thus, be able to draw a relationship between line-of-sight angle of arrival and phase difference. Too see this, we cast the problem as a classification problem with 9 angle of arrival classes corresponding to the angles at which we made our measurements and used MATLAB s neural network tool with 30 layers and the Similarly, we tried to establish a relationship between phase difference and distance. The different multipath components can sometimes destructively interfere. In this case, the receiver will not observe a signal component with that phase. These patterns can be qualitatively seen in Fig. 5 below. Since the phase of each multipath component is a function of distance and room geometry, we hypothesized that each distance would have a characteristic set of missing phases which the neural network could learn. Figure 5: Linearized phase difference vs AoA at d=5m For this case, we ran a regression with the same hidden layer configuration as used for the AoA classification case. V. Results and Discussion: There was no observed dependence between the distance and amplitude of the received signal. As shown below (Fig. 6), it can be qualitatively seen that the variance in

amplitudes for every distance in our experiment was very high. As a result, it was impossible to recover any distance information from amplitude alone. For AoA, we were able to classify the angles between -40, -30,, 20, 30, 40 with 14.3% accuracy on the test data. The results are detailed in the plot and table above (Fig. 7, Fig. 8). Figure 6: Amplitude vs Distance However, the neural networks were successfully trained to learn a dependence between both phase difference and distance, and phase difference and AoA. Figure 7: The Learning Curve of the Neural Network for Classifying AoA Classification of AoA Samples Cross- Entropy Training 125923 13.5% Validation 26984 14.1% Test 26984 14.3% Figure 8: Results for AoA Classification Figure 9: The Learning Curve of the Neural Network for Predicting Distance Predicting Samples MSE Distance Training 125923 0.518m Validation 26984 0.578m Test 26984 0.570m Figure 10: Results for Predicting Distance For distance, through regression, we were able to predict the distance within 0.57 meter accuracy on the test data. The results are detailed in the plot and table above (Fig. 8, Fig. 10). We originally hypothesized a correlation between amplitude and distance, and phase differences and AoA, but initial results were inconclusive. We next thought to try a variation of this by filtering or transforming the data. We thought that taking the FFT and using a match filter which would give us the amplitudes of the various multipath components and thus the amplitude of the line-of-sight component. However, we discovered that the sampling time is only 10ms which would only allow us to recover frequencies below 50 Hz. This is not nearly fast enough to recover our signal which has a center frequency of 5 GHz. Additionally

the distances were too small to see any significant amplitude fall-off due to path loss. As a result, we did not find any correlation between amplitude and distance as we initially predicted. On the other hand, we found that phase difference data was sufficient to make both AoA and distance predictions. Intuitively, our neural network learns a phase difference "fingerprint" or specific pattern for each AoA and distance and makes predictions based on which "fingerprint" the new data point matches best. While our predictions for both AoA and distance were less accurate than the MUSIC algorithm used in SpotFi [3], our method makes predictions much faster than MUSIC does. Our predictions also have much better accuracy than the AoA and phase predictions found in the DeepFi [1] and PhaseFi[2] papers which was another one of our original goals. Thus, we have taken a small hit in accuracy relative to the SpotFi results [3], in return for a large increase in speed. Furthermore, varying the number of layers used in the neural network gives us further control in the tradeoff between accuracy and speed. More layers usually increases accuracy, but decreases training and prediction speed. This was a trend we noticed as we increased the layers in our neural network, suggesting that we did not overfit our training set as increasing training was still leading to test error decreases. VI. Conclusion and Future Work: In conclusion, using neural networks, we were able to classify angle with an accuracy of around 86% and predict distance within around 0.5 meters (~10% of mean distance). There are a few future ideas that could be implemented to extend this project. A different unknown phase offset is introduced by the receiver circuitry at each of the three receive antennas. Furthermore, the value of this offset changes every time the receiver is powered off and on again. Thus, our phase difference data has noise built into it that we did not account for. To improve our results, we would try removing this phase offset by measuring the phase offset at each antenna, and then subtracting this value from the raw data before training our neural network. This would most likely increase accuracy for both the distance and angle of arrival prediction. Another consideration is that the phase difference fingerprint depends on the geometry of, and the arrangement of reflectors in, the room. As such, it is possible that even a small change in the environment could cause a large change in the accuracy of the learned model. Therefore, an important next step is change the arrangement of objects in the room without re-training the neural network, and observe whether the accuracy of the predictions change drastically. Finally, if more space were available, we would try collecting data at longer distances. We believe that the signal attenuation rate was too small for our receiver to detect a noticeable change in amplitude over the distance range of our experiment. Thus, different set of data over long enough distances might provide predictions to be made from amplitude data. VII. References: [1] X. Wang, L. Gao, S. Mao, S. Pandey, CSIbased Fingerprinting for Indoor Localization: A Deep Learning Approach, IEEE Transactions on Vehicular Technology, 2016. [2] X. Wang, L. Gao, and S. Mao, PhaseFi: Phase fingerprinting for indoor localization with a deep learning approach, IEEE Internet of Things Journal, Dec, 2015. [3] M. Kotaru, K. Joshi, D. Bharadia and S. Katti, SpotFi: Decimeter Level Localization Using WiFi, SIGCOMM 15, August 17-21, 2015 [4] D. Vasisht, S. Kumar, D. Katabi. "Decimeter-Level Localization with a Single WiFi Access Point," Proceedings of the 13 th USENIX Symposium on Networked Systems Design and Implementation, March 16-18, 2016. [5] J. Biswas, M. Veloso. "WiFi Localization and Navigation for Autonomous Indoor Mobile Robots," IEEE International Conference on Robotics and Automation, 2010.