Improving Indoor Positioning via Machine Learning
Aigerim Mussina
a
and Sanzhar Aubakirov
b
Department of Computer Science, al-Farabi Kazakh National University, Almaty, Kazakhstan
Keywords:
Bluetooth Low Energy, Indoor Positioning, RSSI, Machine Learning, Support Vector Machine.
Abstract:
The problem of real time location system is of current interest. Cities are growing up and buildings become
more complex and large. In this paper we will describe the indoor positioning issue on the example of user
tracking, while using the Bluetooth Low Energy technology and received signal strength indicator(RSSI). We
experimented and compared our simple hand-crafted rules with the following machine learning algorithms:
Naive Bayes and Support Vector Machine. The goal was to identify actual position of active label among three
possible statuses and achieve maximum accuracy. Finally, we achieved accuracy of 0.95.
1 INTRODUCTION
The problem of positioning in indoor space is rele-
vant and include many complex substasks. The main
problem that will be discussed in this paper is the
user tracking in a defined environment. We are in-
terested in the detection of signal source’s position
among three distinguished parts of the building en-
trance: outside of the building, in vestibule and in-
side of the building. Our goal is to estimate and
compare machine learning algorithms and our hand-
crafted rules in position detection.
Main items of our indoor positioning system are
as follows: • base station - device that listen for ac-
tive label advertising and send its rssi to the desktop
server software; • active label - Beacon that act as
BLE advertiser; • server software calulate the active
label position and save data to database
We are using Bluetooth Low Energy(BLE) com-
patible devices, Beacons, as active labels because of
their sufficiently small size, low battery consumption,
lower cost. Beacon is based on Bluetooth low en-
ergy proximity sensing by transmitting a universally
unique identifier picked up by a compatible app or
operating system. Position calculation based on the
RSSI values. Since beacon transmit radio waves,
RSSI value oscillate influenced by absorption, inter-
ference and diffraction effects. In this case, there
should be implemented special filter to make RSSI
amplitude lower.
a
https://orcid.org/0000-0002-7043-0810
b
https://orcid.org/0000-0002-8416-527X
2 RELATED WORKS
In the work (Mussina and Aubakirov, 2018), we have
estimated the RSSI filtering algorithms, such as: me-
dian, mode, single direction outlier removal, shifting
and feedback filtering.
• Mode method counts occurrences of each RSSI
value and finds RSSI with maximum occurrences.
• Median method sorts all RSSI values at first, then
it chooses RSSI in the middle of the list.
• SDOR presented in work (Chai et al., 2016)
uses ten recent RSSI values to calculate thresh-
old. Their mean (rssi
mean
) and standard deviation
(rssi
std
) of these ten RSSI are calculated. Any
RSSI that is below (rssi
mean
− 2 ∗ rssi
std
) is re-
moved from the stored RSSI. Then the average
value of the remaining RSSI, rssi
p
, is the pre-
processed RSSI and used in next calculations.
• Feedback filtering based on idea that RSSI of
round n-1 affect RSSI of round n, see formula (1).
The average value of all calculated RSSI is corre-
sponding to smoothed RSSI value. See example
in figure 1.
• Shifting filtering based on the same idea as a feed-
back filtering except the definition of a round. In
shifting filtering, round is a period of 3 seconds.
During round system gets number of RSSI, and if
it is first round it calculates the average value of
all received RSSI, else it use formula (1), where
RSSI
n
is received RSSI and RSSI
n−1
is smoothed
average value of previous round. The average
value of all calculated RSSI is corresponding to
190
Mussina, A. and Aubakirov, S.
Improving Indoor Positioning via Machine Learning.
DOI: 10.5220/0007916601900195
In Proceedings of the 8th International Conference on Data Science, Technology and Applications (DATA 2019), pages 190-195
ISBN: 978-989-758-377-3
Copyright
c
2019 by SCITEPRESS – Science and Technology Publications, Lda. All rights reserved