Professional Documents
Culture Documents
Large-Scale Indoor Positioning Using Geomagnetic Field With Deep Neural Networks
Large-Scale Indoor Positioning Using Geomagnetic Field With Deep Neural Networks
Abstract— The existing RF signal based indoor localization build IPSs with higher positioning accuracy, the infrastructure
techniques such as BLE or Wi-Fi fingerprinting are hard to apply system to generate and receive such signals is too expensive to
to large scale indoor environment such as airport and department be used with smartphones or IoT devices. Furthermore, they
stores since the localization error grows as the physical dimension often require higher power consumption [8, 9, 10] or range
of the indoor space increases. This can be attributed to unstable limitation [8]. Therefore, we need a fundamentally different
received signal strengths (RSS) of the underlying RF signal, which approach to build high accuracy yet cost effective IPS.
is enlarged with the increased physical scale and the complexity of An alternative signal that can be used for IPS is the
the indoor space. In this paper, instead of RF signal we use the geomagnetic field signal generated by the earth movement. The
geomagnetic sensor signal for indoor localization, whose signal geomagnetic field signal has several distinct advantages over
strength is more stable than RF RSS. Our approach using the other signals. First, IPS based on the geomagnetic field does not
geomagnetic field is as follows. Although similar geomagnetic field require infrastructure such as access points or beacons since the
values exist in indoor space, an object movement would experience geomagnetic field is created by nature unlike RF, ultrasonic, or
a unique sequence of the geomagnetic field signals as the laser signals. Second, most of smart IoT devices and
movement continues. We can locate the position of the object by smartphones already include IMU (Inertial Measurement Unit)
tracking the geomagnetic field signal sequence sensed with the sensors, a.k.a. motion sensors, which include the magnetic field
object movement by using a deep neural network model called sensor in addition to the accelerometers and gyroscope sensors.
recurrent neural network (RNN), which is good at recognizing Thus, it is easy to sense the geomagnetic field signal with these
time varying sequence of sensor data. We use two different smart devices. These two characteristics enable inexpensive IPS
versions of RNN model: basic RNN and Long Short-Term implementation based on the geomagnetic field. Third, the
Memory (LSTM). We have trained RNNs to learn the magnetic signal strength of the geomagnetic field is much more stable
field maps of both medium scale (about 94m x 26m) and large scale over time than those of RF or ultrasonic signals, which would
(about 608m x 50m area) indoor testbeds and analyze both potentially enable higher accuracy IPS [11].
training and test set results by tuning several training
hyperparameters. For comparison, we have also implemented Despite these advantages, it is not easy to achieve high
both Bluetooth Low Energy (BLE) and Wi-Fi based fingerprinting positioning accuracy even with the geomagnetic field signal in
localization techniques and measured their localization accuracies the existing IPSs. Most of the existing geomagnetic field based
for the testbeds. By using Google TensorFlow 1.6 and Nvdia CUDA IPSs rely on fingerprinting with K-NN (K-Nearest Neighbor)
Toolkit v9.0 with cuDNN v7.1 library as a deep learning mapping, which is borrowed from RF fingerprinting.
framework, we could achieve the average localization accuracy of Fingerprinting based IPS has the problem of sensing the same
0.51 and 1.04 meters for the medium and the large-scale testbeds received signal strength in multiple indoor locations. Although
respectively with LSTM model, substantially improving the RF-based fingerprinting is also vulnerable to the distribution of
localization performance compared to the existing RF based the same received signal strength in multiple indoor locations, it
fingerprinting techniques. can alleviate the problem with multiple SSIDs since an RF signal
can reach a certain range depending on its transmission power.
Keywords—indoor localization; geomagnetic field; recurrent As opposed to the RF-based fingerprinting [2, 3], techniques
neural network; machine learning, long short-term memory model; using the geomagnetic field vector could not resolve the problem
of differentiating the same geomagnetic field value registered at
I. INTRODUCTION
multiple locations, which could potentially degrade the
In the past few decades, a diverse range of indoor performance of the geomagnetic field based indoor localization
localization schemes have been proposed. These schemes can be system.
classified by the type of sensor signals used, which includes LF,
RF, acoustic, IR, light, laser and etc. Among these the indoor In this work we propose a fundamentally different approach
to build the geomagnetic field based IPS. We first construct a
positioning system (IPS) based on RF signals such as Bluetooth geomagnetic field map of an indoor space by collecting the
or Wi-Fi is the most common since such RF technology is
widely adopted by smart devices and signals are often available geomagnetic field vectors at reference points as done by the
existing geomagnetic field based IPSs. However, instead of K-
in indoor environment. The RF based IPSs may measure the NN mapping we employ machine learning techniques based on
received signal strength (RSS) [1, 2, 3], time of arrival (ToA) [4]
or time difference of arrival (TDoA) [5, 6] for the positioning. artificial neural networks. We train a neural network model to
memorize all feasible movement paths and their corresponding
However, ToA and TDoA are not common due to their large geomagnetic field vector sequences of a moving object in the
clock synchronization overhead compared to the fast speed of
RF signal propagation. Therefore, most of RF based IPSs rely space. Then, we can locate the position of a moving object by
using the sequence of consecutive geomagnetic field vectors
on sensing RSS. collected during the movement as an input to the neural network.
However, it is not easy to build high accuracy IPS even with Although a single geomagnetic field vector can lead to multiple
RF’s RSS. It is because of the time varying and unstable nature locations of the same value, a sequence of the geomagnetic field
of RF signal, which is caused by multi-path propagation, vectors can uniquely identify the current position of the object
diffraction, and scattering of RF signals incurred by the indoor as the sequence grows longer.
structures such as walls, furniture, humans and elevators. Over
In order to memorize the contiguously changing patterns of
10 to 20 meters of positioning errors are often reported in large- geomagnetic vector sequences, we use a recurrent neural
scale indoor environment such as airports and department stores
[7]. Although LIDAR, UWB or ultrasonic signals can be used to network (RNN) model which is good for recognizing the time-
Figure 6. CDF of the test errors of Hana Square and Incheon Airport
Table 3 shows the test set results of two testbeds. With 600
hidden nodes and 3 hidden layers, we could achieve the average
localization error of 0.80 meters and the maximum error of 36.01
meters for LSTM model for Hana Square testbed. In contrast,
we achieve the average localization error of 2.59 meters and the
maximum error of 130.1 meters for Incheon Airport testbed with
Figure 4. Training errors of basic RNN (RNN) and LSTM models in 1200 hidden nodes and 3 hidden layers. This is due to the fact
the Hana Square testbed. Figure legend shows the model, the number of that the amount of information that LSTM should learn in
hidden nodes, and the number of hidden layers. Incheon Airport testbed is much larger than that in Hana Square
testbed. Even though LSTM was trained by 6 times more
training data, there is some loss of information in the LSTM
model, which leads to higher localization errors.
Figure 6 shows the cumulative distribution function (CDF)
of the test errors for two testbeds. From now on we assume 600
hidden nodes and 3 hidden layers for the Hana Square testbed
and 1200 hidden nodes and 3 hidden layers for the Incheon
Airport testbed. As shown in the figure, 97.5% of the test data
has errors of less than 2 meters for the Hana Square testbed and
97.2 % of the test data has errors of less than 5.0 meters for the
Incheon Airport testbed.