Skip to content

2018 SURF of EEE department XJTLU: Trajectory Estimation of Mobile Users/Devices based on Geomagnetic field values and Long Short-Term Memory (LSTM) Neural Network.

License

Notifications You must be signed in to change notification settings

ZzhKlaus/2018-SURF-Trajectory-Estimation

Repository files navigation

2018-SURF-Trajectory-Estimation

2018 SURF of EEE department XJTLU: Trajectory Estimation of Mobile Users/Devices based on Wi-Fi Fingerprinting and Deep Neural Networks

p.s. The algorithm code is preserved untill workshop paper accepted.

Background

This 2018 SURF(Summer Undergraduate Research Fellowships) project is based on the last year's SURF of Indoor Localization Based on Wi-Fi Fingerprinting and will go deeper in two directions, one is advanced DNN-based indoor localization (including CNN-based approaches); the other is RNN-based (LSTM) trajectory estimation.

People

Supervisor

Research Assistant

Meetings:

Research part (15/6/2018 - 7/9/2018)

Android mobile phone and coordination system

Android mobile phone and coordination system

We used two android mobile phones for collecting Wi-Fi fingerprinting as well as IMU data, for IMU, these data were collected: Geomagnetic field intensity in (x,y,z) coordination, pose direction of phones (pitch, roll, yaw), accelaration data in (x,y,z) coordination.

  • x - pitch
  • y - roll
  • z - yaw (Azimuth)

Transfer the geomagnetic filed intensity from device coordination system to global coordination system

We have tried several ways :

  1. Rotation Matrix
  2. quaternion

The performance was not as expected and varied in different devices, we made a tradeodd by keeping the devides at same pose when measuring.

To keep data accurate and stable

While WiFi and IMU data were collected together, for one measurement of each point, the collection times of IMU data would be same as the number of APs of that point detected. (Usually more than 50 times), and Kalman Filter was implemented in android APP.

Data collection

(Drawn by Zhe (Tim) Tang )

We collected two areas in 4th and 5th floors of IBSS, XJTLU. The total area is around 300 $m^2$ .

Study on geomagnetic field by different devices on one path

We found that although the detecting data at one point varies a lot for different devices, the characteristic of changing patterns along one path are very similar.

Study on geomagnetic field by different poses of one device

Although the deteacting data varies when changing the pose of device at one point, the changing patterns along one path are similar, two.

The geomagnetic field map for two floors

4th floor

5th floor

Training data: Random waypoint model

For training data, considering the special characteristic that despite very stable spatially, there are many points with same geomagnetic field intensity, which limits the usage as fingerprint like Wi-Fi signal (where the mac address is unique). We generated a long path of 10,000 steps based on random waypoint model, for both training and evaluation (0.75:0.25).

random waypoint model

Training the LSTM network

model structure

Training accuracy with different hidden nodes

Training accuracy with different batch size

Training accuracy with different time steps

Evaluation error based on 25,000 points

Outcomes

Github repository

Publications

  • Zhenghang Zhong, Zhe Tang, Xiangxing Li, Tiancheng Yuan, Yang Yang, Wei Meng, Yuanyuan Zhang, Renzhi Sheng, Naomi Grant, Chongfeng Ling, Xintao Huan, Kyeong Soo Kim and Sanghyuk Lee, "XJTLUIndoorLoc: A new fingerprinting database for indoor localization and trajectory estimation based on Wi-Fi RSS and geomagnetic field," submitted to GCA'18, Sep. 7, 2018.

References

Trajectory estimation and PDR

  1. Ho Jun Jang, Jae Min Shin, and Lynn Choi, "Geomagnetic field based indoor localization using recurrent neural networks," Proc. GLOBECOM 2017, pp. 1-6, Dec. 2017. (DOI)

  2. DeepML: Deep LSTM for Indoor Localization with Smartphone Magnetic and Light Sensors

Rucurrent neural networks (RNNs) and long short-term memory (LSTM) networks

  1. A Critical Review of Recurrent Neural Networks for Sequence Learning

  2. An advanced method for pedestrian dead reckoning using BLSTM-RNNs

  3. From Recurrent Neural Network to Long Short Term Memory Architecture

  4. LSTM AND EXTENDED DEAD RECKONING AUTOMOBILE ROUTE PREDICTION USING SMARTPHONE SENSORS

  5. Keras & machinelearningmastery

Fingerprint database combined with IMU data

  1. A multisource and multivariate dataset for indoor localization methods based on WLAN and geo-magnetic field fingerprinting

  2. MagPIE: A Dataset for Indoor Positioning with Magnetic Anomalies

  3. UJIIndoorLoc-Mag: A New Database for Magnetic Field-Based Localization Problems

About

2018 SURF of EEE department XJTLU: Trajectory Estimation of Mobile Users/Devices based on Geomagnetic field values and Long Short-Term Memory (LSTM) Neural Network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published