ChapterPDF Available

Abstract and Figures

Indoor localization techniques using Received Signal Strength Indicator (RSSI) is attractive in the Internet of Things domain due to its simplicity and cost-effectiveness. However, there are many different approaches proposed in and there is not a common, widely acceptable solution in the research community. This is mainly due to the limited number of publicly available datasets and that the multi-effect signal phenomenon limits each dataset to its gathering testbed. In this paper, we tested several fingerprinting methods in a publicly available dataset and we compared them against the RSSI regression approach, which is considered as the most prominent one in certain domains, such as indoor and outdoor localization.
Content may be subject to copyright.
RSSI Fingerprinting Techniques for Indoor Localization
Datasets
Angelos Chatzimichail, Athina Tsanousa, Georgios Meditskos, Stefanos Vrochidis
and Ioannis Kompatsiaris
Information Technologies Institute
Center for Research and Technology Hellas, Greece
{angechat, atsan, gmeditsk, stefanos, ikom}@iti.gr
AbstractIndoor localization techniques using Received Signal Strength
Indicator (RSSI) is attractive in the Internet of Things domain due to its simplicity
and cost-effectiveness. However, there are many different approaches proposed
in and there is not a common, widely acceptable solution in the research
community. This is mainly due to the limited number of publicly available
datasets and that the multi-effect signal phenomenon limits each dataset to its
gathering testbed. In this paper, we tested several fingerprinting methods in a
publicly available dataset and we compared them against the RSSI regression
approach, which is considered as the most prominent one in certain domains,
such as indoor and outdoor localization.
KeywordsRSSI, fingerprinting, localization, Internet of Things.
1 Introduction
With the great advancements in the wireless technologies, portable devices and
wearables, there is a need for smart algorithms to personalize services to the users.
Location-based Services, such as advertising and navigation, is one of the most popular
type of services today that make use of location, as well as user context, to provide end-
users with useful personalized information. One of the most important location tracking
method is based on the Global Positioning System (GPS). However, GPS-based
approaches are not appropriate in indoor circumstances because the position is
determined from GPS satellites [1], which is not so accurate in indoor situations.
Most of the research on the localization techniques has been based on the use of
short-range signals, such as Wi-Fi [2-3], Bluetooth [4], ultrasound [5], infrared [6], or
RFID [7]. All of the aforementioned technologies are using the RSSI (Received Signal
Strength indicator) parameter in order to estimate the position of the user. The RSSI-
based approach estimates the signal strength of the received electromagnetic wave,
being dependent on the distance of the signal source. Many RSSI measurements are
being collected from many distances and places in databases in order to gather a larger
number of measurements. Generally, there are two popular categories of indoor
localization methods based on RSSI measurements, namely, triangulation and
fingerprinting.
The main idea of triangulation is to construct the function of RSSI and distance.
First, the method starts with collection of enough data in different environments to
describe the relationship between the measurements and the distance. Most of the
researchers focuses on trying use fitting method to map the function [7], [8]. Then the
position is estimated by using triangulation algorithm.
For the fingerprinting method, creating an offline fingerprint database is crucial for
location estimation. Fingerprinting matches the given positions with RSSI
measurements gathered from access points. After the creation of an offline database,
online RSSI gathering measurements are compared with fingerprints in the offline
database to get the match position. The fingerprinting approach falls into the
classification paradigm and there are many different algorithms such as KNN (K-
nearest Neighbors) [9], SVM (Support Vector Machines) [10], RF (Random Forest)
[11].
The main motivation of our work is to use the Bluetooth Low Energy (BLE)
technology for indoor and outdoor position estimation. BLE is a technology with great
adoption in embedded systems and electronics in general. This is because it consumes
very low power and it is easy to integrate in electronics. The need to compare different
localization techniques derives from the research challenges we face in estimating the
location of children in one of the most crowded Christmas events in Greece that takes
place in December in Trikala (Mills of the Elves). Children wear a smart bracelet with
BLE technology which is wirelessly connected with the parent’s phone. In our case the
child’s bracelet is the RSSI transmitter, while the parent’s phone is the RSSI receiver.
In order to study the problem with the RSSI and distance we needed datasets, however
there is a lack of relevant datasets to train our machine learning techniques in our case.
Therefore, we gathered many RSSI measurements from smart bracelets and we created
our dataset. After gathering the measurements, we performed curve fitting in order to
correlate the RSSI values with the distance. We used the first approach from the two
RSSI approaches in the localization services. In this case, the RSSI is the only value
available to the receiver to correlate it with the distance.
In this paper, we compare different fingerprinting techniques in our dataset that is
publicly available
1
. In addition, we compare the fingerprinting results with the curve
fitting results that we obtained in the same dataset in a previous work in order to
compare the two different approaches.
The rest of the paper is organized as follows: Section 2 reviews the related work.
Section 3 explains the RSSI sensing infrastructure, while Sections 4 and 5 describe the
technical details of the fingerprinting and different machine learning techniques.
Section 6 mentions the experimental results and the paper is concluded with Section 7.
1
http://desmos-project.gr/en/datasets-2
2 Related Work
The indoor positioning algorithms that are usually applied on indoor datasets are
either based on the RSSI distance method or on fingerprinting technology [8].
Examples of RSSI fingerprinting solutions [12, 13] include probabilistic approaches
[14], neural network-based approaches [15] and K-means algorithms [16]. The general
theory for fingerprinting techniques is presented in [17] where the correlation of many
parameters is presented such as the number of measurements, interference etc. Also,
there are works that apply deep learning in the fingerprinting indoor localization, such
as in [18] and [19]. Currently, the localization error reported in fingerprinting solutions
ranges from 3m to 10m using WiFi and BLE RSSI [20].
In order to construct the offline database many researchers try to manually collect
fingerprints at multiple known locations in a building. This is a labor-intensive and
highly time-consuming procedure, even for small areas. To reduce that effort, self-
guided robots equipped with sensors deployed in the building and collect data to build
the dataset in [21]. Also, another technique that is used to easily collect measurements
is crowdsourcing [22]. In this context, people gather random traces of measurements
through smartphone applications as they walk around the investigation area. Another
approach is to collect the RSSI measurements from a gateway device that is on a fixed
place and listens for other devices. This method requires a prior knowledge about the
position of the other devices in order to label them in the training dataset.
In [13] researchers discussed indoor Wi-Fi positioning technology, including the
various phases and processes of Wi-Fi fingerprinting technology and classified the
methods used across. In [10] a zoning indoor localization solution, using the theory of
SVM, applied to a WIFI RSSI technique. Two real world environments with different
architectures (flat/multi-floors) have been used to create multiclass SVM models and
to test their performance. Experimental results show that the proposed solution can
greatly determine the location of the new signals, with a confidence of 97.31% for the
flat topology and 88.38% for the multi-floors topology.
A novel BLE RSSI ranking based fingerprinting method that uses Kendall Tau
Correlation Coefficient (KTCC) is presented in [23]. The aim is to correlate a new
signal position with the signal strength ranking of multiple low-power iBeacon devices
situated in a retail space. This offers a higher positioning accuracy and is supported in
recent smartphones.
Other research studies propose using data from integrated smartphone’s sensors
together with RSSI values to filter the location data and to provide more features in the
dataset [24]. These applications need extra hardware and consume more battery. In our
study, we used only the RSSI values of BLE smart-bracelet devices in order to build
our dataset, as we explain in the following sections.
3 RSSI Measurement Procedure
As a first step we consider the localization space, as a two-dimensional space. The
task of localization is a problem learning the mapping of the observations to the
respective locations. In fingerprinting, the localization task utilizes data collected from
the environment. Essentially, the fingerprinting database is filled by true location-
observation pairs and the location function is learned through the mapping of new
observations to a specific position.
The fingerprinting algorithm needs data in order to be trained. For the RSSI values,
a RF signal feature is collected multiple times in order to compensate any signal noise
effects. These RF signals have to be from the same signal bandwidth. In this work, it is
assumed that the entire area is served by BLE coverage. In particular, the area is covered
by multiple access points (AP). Some references suggest using multiple access points
in order to cover the dead zones. An AP advertises its availability by broadcasting a
message (in JSON or another format) with its MAC address. At the receivers, which
are usually phones, the power of the received RF signal from all APs is measured as
RSSI. The receiver will not detect the APs that are too far away from it.
During the offline procedure it is assumed that the area is discretized into a set of A
known locations A = {xa | a=1…A}, where xa represents the 2-dimensional Cartesian
coordinate of location a. The RSSI is scanned for a certain period to receive multiple
records from every AP. Commonly, if there are N different APs, T different samples
are collected for all the locations A. All these RSSI values are collected in three-
dimensional matrix with dimension A x N x T.
During the online phase, a receiver at a location x listens to all the APs in the area
and then collects the RSSI measurements in a database with dimensions of N x R. The
function should be learned by mapping these new measurements to positions in the
space. In most common fingerprinting algorithms, the function of pattern matching is
to compare the similarity between the fingerprints of offline database and the
fingerprints of the online procedure. One of the most well-known algorithms for
fingerprinting and generally for pattern matching employs the Euclidean Distance to
measure the similarity between fingerprints in the training and the testing procedure.
This distance can be replaced by any kernel function. The whole process is completed
with post-processing methods such as k-nearest neighbors (kNN) or Support Vector
Machines (SVM).
4 Data Collection System
In this section, we describe the process that we followed to collect the RSSI values
from the BLE devices. Standard, widely adopted techniques and common practices
have been followed. To ensure diversity, 2 different BLE devices have been used to
compare the RSSI values in different environments.
We took the records from an office, a hall and outside of the building, which top
view’s picture is shown in the Figure 1. The first indoor environment was a 10x4m
office. It was selected due to its large number of wireless devices, resulting in an
environment with a lot of noise interference. In the office there are 8 office with 1.5 to
2 meters distance to each other. Each office is assigned a different label in the
fingerprint dataset.
The second place used was a 20x2 m. hall outside the office. This place was selected
in order to correlate the distance with the RSSI values in a cleaner environment without
a lot of interference. In this environment, we set as a label different distances.
Fig. 1. Building Map of RSSI measurements
In order to build our offline dataset, the set of BLE modules has to be fixed at specific
locations. For this purpose, we used two BLE smart sport-bracelets. The first one was
Xiaomi MI Band 2 [25] and the second one was the Xiaomi MI Band 3 [26]. The RSSI
tags were sent in JSON format with other information through an android application
in a smartphone that was considered as a fixed anchor station. The smartphone device
scans for the BLE bracelets and sends the JSON tags in a MQTT server. Through the
MQTT server the JSON messages are sent to a MQTT client application in JAVA.
After receiving the JSON messages, they were stored in a MongoDB database for
analysis. All the measurements were performed in the same height, so as to have the
same interference from the surrounding environment. The device knows from which
device the messages are coming, inserting a label number for each office. To perform
a fair set of tests between all the experiments, a similar transmit power and time
measurement interval was required to be used in all the components. The time interval
was 5 seconds. The procedure is showing in Figure 2.
:UserApp :MQTT Broker
Get BLE info
Get GPS signal
:Parent Smartphone
:Child Smart Bracelet
:MQTT Client
Subscribe to topic BLE
Get BLE json
Mongo DB
Store BLE info
Store location info
Set Smartphone Active
Set BLE active
Active Smartphones
Active BLEs
msg: Search in the nearest personnel location
BLE info
Fig. 2. Data collection procedure
5 RSSI Offline Dataset Description
We reused a dataset collected in Project
2
, with some modifications in order to use
the fingerprinting technique as a classification problem with multiple classes. First, the
dataset has over 100 different RSSI values for each position. The measurements were
related to two different environments. One office with many wireless devices and one
building hall. Figure 2 shows the scatter and plot for all the RSSI measurements for
both Band 2 and Band3 in the office. Figure 3 shows the same data for the hall.
The figures show that there is a better distribution of the RSSI values in the office
than in the hall. This is because the different positions in the office are better
distinguishable.
There are 8 different indoor office positions to observe. All the measurements were
carried out in the same day. The distance range varied from 0.2 to 6.0 meters. In each
position the measurements were from 100 to 250 recordings. As we can see in Figure
3 there is a big fluctuation in each position changing over time.
Figure 4 depicts the scatter plots of the RSSI values for Band 2 and Band 3 in the
hall. In this case, we took measurements from seven different positions (1 to 7 meters,
with one meter increment). The number of measurements of each position were over
190 values. Here we can see that there is not so much difference between band 2 and
band 3 devices. Each label here also corresponds to the real distance in meters. We can
observe that there is a big fluctuation in each position.
2
Project name is omitted to follow the double-blind submission requirements
Fig. 3. Scatter Diagram of the RSSI measurements in off
Fig. 4. Scatter Diagram of the RSSI measurements in hall
From the data above, we can conclude that the raw RSSI values are not reliable
enough for the localization as it is observed in most of the bibliography [15], [9]. In the
following, we use Machine Learning methods to observe the performance of the
techniques on our fingerprinting dataset. In addition, we compare these fingerprinting
techniques with our previous work with the regression method approach.
6 Results and Findings
In this section we analyze the techniques we selected to perform fingerprinting. The
raw RSSI readings were split into train and test sets. All algorithms were developed in
python. We used new measurements (around 40 measurements) as a test set for the
machine learning techniques.
6.1 K-nearest Neighbors Algorithm
The principle behind nearest neighbor methods is to find a predefined number of
training samples closest in distance to the new point, and predict the label from these.
The number of samples can be a user-defined constant (k-nearest neighbor learning),
or vary based on the local density of points (radius-based neighbor learning). The
algorithm implements learning based on the nearest neighbors of each query point,
where k is an integer value specified by the user.
Figure 4 shows the computed mean error for the office for the Band 3 bracelet using
k = 1 to 40 nearest neighbors. As we can see the best results are obtained for k=35. We
did the same procedure for the other measurements as well (with band 2 and in the hall
environment). For Band 2 in the office the best k value is 21, while in the hall is 15.
For Band 3 in the hall the k value for the best results is 3.
Fig. 5. Mean Error diagram for Band3 in office
The Table 1 shows the results the accuracy for the K nearest Neighbors.
Table 1. Accuracy Results KNN
Environment
Band3
Office
0.44
Hall
0.30
The best results are for Band 2 and Band 3 in the office environment. This is because
each position is distributed better in the office than in the hall.
6.2 Decision Tree
Decision Trees (DTs) is a non-parametric supervised learning method used for
classification and regression. The goal is to create a model that predicts the value of a
target variable by learning simple decision rules inferred from the data features.
For the decision tree method, we tried to find the best function to measure the quality
of a tree split. We used two different function “gini” and “entropy” to see which one
best fit the models. For Band 3 in the office the best criterion is entropy with maximum
depth of tree 5. For Band 2 in the office the best criterion is gini with maximum depth
of tree 9. In the hall environment Band 2 results were better with gini criterion and
maximum depth of tree 6. For Band 3 the best results were with gini criterion and 3
maximum depth size.
In Table 2 we present the results (average/total) of the Decision Tree techniques for
the 4 different use cases. Support column is the total number of samples of true response
lying in all eight classes.
Table 2. Decision Tree Results (average/total)
Environment/
Band
Precision
Recall
F1-score
Support
Office/ Band2
0.478
0.428
0.417
332
Office/ Band3
0.421
0.416
0.382
332
Hall/ Band2
0.219
0.224
0.213
286
Hall/ Band3
0.226
0.313
0.260
316
Again here, the results are much better in the office that in the hall with no difference
between the two smart bracelets.
6.3 Random Forest
A random forest is a meta estimator that fits several decision tree classifiers on
various sub-samples of the dataset and uses averaging to improve the predictive
accuracy and control over-fitting. Again, here we performed the Random Forest
technique to find the best results
Table 3. Random Forest Results (average/total)
Environment/
Band
Precision
Recall
F1-score
Support
Office/ Band2
0.407
0.407
0.393
332
Office/ Band3
0.421
0.431
0.403
332
Hall/ Band2
0.271
0.273
0.248
286
Hall/ Band3
0.276
0.282
0.260
316
The results (average/total) in Table 3 are the same as in the previous techniques and
there are no big differences between them. The best results here were observed for the
office.
6.4 Support Vector Machines (SVM)
SVM is a binary classifier introduced by Vapnik and Chervonenkis in 1963. SVM
aims at finding a linear classifier, i.e., a hyperplane which maximizes the margin
between two classes. It has extensions to non-linear classifiers and non-separable data
too. We used the kernel Radial Basis Function (RBF) in python for the SVM technique.
We used the RBF kernel, because this kernel gave definitely better results that the other
kernels. The results are showing in the Table 4.
Table 4. SVM Results (accuracy-%)
Environment/
Band
Precision
(%)
Office/ Band2
41.56
Office/ Band3
43.97
Hall/ Band2
22.72
Hall/ Band3
29.74
The SVMs results show that there is a better separation of the classes in the office
environment than in the hall environment, even if there is not so much interference
from the surrounding environment. From the whole procedure, the best results were
observed with decision trees in the office environment with Band 2. Between the smart
bracelets, there is no big difference in the fingerprinting technique.
As we can observe from the results of fingerprinting, it is not an appropriate
approach for our dataset. Compared to our previous work, in which we tested the
distance regression method for RSSI measurements, here the localization performance
is lower. In general, we can observe that we need to define more discriminative labels
in order to classify better the labels. This means that we have to increase the distance
between the labels due to the fluctuation in the RSSI. However, this will decrease the
indoor localization accuracy.
7 Conclusion and Future Work
The main contribution of this paper is to examine the fingerprinting approach with
RSSI recordings and their respective classes, suitable for positioning applications. The
recordings were collected in two different indoor environments. The variability of the
RSSI values in all the environments, creates many difficulties in the fingerprinting
approach. Our experiments confirm the findings of the literature, that the raw RSSI data
is an inappropriate form to use for indoor localization. In such cases, we need either to
change the dataset and take more measurements, or to use the regression technique with
filtering methods. The results were much better in the office than in the hall
environment due to its small diversity (1 meter) and the algorithms cannot separate each
label. For future work, we will enrich the datasets with additional measurements and
settings. We will also investigate additional techniques, like Kalman Filter, in order to
find the exact position of a walking human in a specific area.
8 Acknowledgement
This research has been co-financed by the European Union and Greek national funds
through the Operational Program Competitiveness, Entrepreneurship and Innovation,
under the call RESEARCH-CREATE-INNOVATE (project code: T1EDK-03487).
9 References
1. Yanying Gu, Anthony Lo, and Ignas Niemegeers. 2009. A survey of indoor positioning
systems for wireless personal networks. IEEE Communications Surveys & Tutorials, 11 (1),
2009.
2. Hui Liu, Houshang Darabi, Pat Banerjee, and Jing Liu. 2007. Survey of wireless indoor
positioning techniques and systems. IEEE Transactions on Systems, Man,
and Cybernetics, Part C (Applications and Reviews) 37, 6 (2007), 10671080.
3. L. B. Del Mundo, R. L. D. Ansay, C. A. M. Festin and R. M. Ocampo, "A comparison of
Wireless Fidelity (Wi-Fi) fingerprinting techniques," ICTC 2011, Seoul, 2011, pp. 20-25.
4. Germán Martín Mendoza-Silva, Miguel Matey-Sanz, Joaquín Torres-Sospedra, and Joaquín
Huerta. 2019. BLE RSS Measurements Dataset for Research on Accurate Indoor
Positioning. Data 4, 1 (2019), 12.
5. D. Hauschildt and N. Kirchhof, "Improving indoor position estimation by combining active
TDOA ultrasound and passive thermal infrared localization," 2011 8th Workshop on
Positioning, Navigation and Communication, Dresden, 2011, pp. 94-99.
6. K. Wang, A. Nirmalathas, C. Lim, K. Alameh, H. Li, and E. Skafidas, "Indoor infrared
optical wireless localization system with background light power estimation capability,"
Opt. Express 25, 22923-22931 (2017).
7. Lingling Zhu, Aolei Yang, Dingbing Wu, and Li Liu. 2014. Survey of indoor positioning
technologies and systems. In Life System Modeling and Simulation. Springer, 400409.
8. Li, G., Geng, E., Ye, Z., Xu, Y., Lin, J., & Pang, Y. (2018). Indoor positioning algorithm
based on the improved RSSI distance model. Sensors, 18(9), 2820.
9. Petros Spachos, Ioannis Papapanagiotou, and Konstantinos N Plataniotis. 2018.
Microlocation for smart buildings in the era of the internet of things: A survey of
technologies, techniques, and approaches. IEEE Signal Processing Magazine 35, 5 (2018),
140152.
10. W. Farjow, A. Chehri, M. Hussein and X. Fernando, "Support Vector Machines for indoor
sensor localization," 2011 IEEE Wireless Communications and Networking Conference,
Cancun, Quintana Roo, 2011, pp. 779-783.
11. Guo, Xiansheng, et al. "Indoor localization by fusing a group of fingerprints based on
random forests." IEEE Internet of Things Journal 5.6 (2018): 4686-4698.
12. V. Honkavirta, T. Perala, S. Ali-Loytty and R. Piche, "A comparative survey of WLAN
location fingerprinting methods," 2009 6th Workshop on Positioning, Navigation and
Communication, Hannover, 2009, pp. 243-251.
13. Xia, Shixiong, et al. "Indoor fingerprint positioning based on Wi-Fi: An overview." ISPRS
International Journal of Geo-Information 6.5 (2017): 135
14. Milioris, Dimitris, et al. "Low-dimensional signal-strength fingerprint-based positioning in
wireless LANs." Ad hoc networks 12 (2014): 100-114.
15. Guoquan Li, Enxu Geng, Zhouyang Ye, Yongjun Xu, Jinzhao Lin, and Yu Pang. 2018.
Indoor positioning algorithm based on the improved RSSI distance model. Sensors 18, 9
(2018), 2820.
16. Bai, Sidong, and Tong Wu. "Analysis of k-means algorithm on fingerprint based indoor
localization system." 2013 5th IEEE International Symposium on Microwave, Antenna,
Propagation and EMC Technologies for Wireless Communications. IEEE, 2013.
17. Tian, X.; Shen, R.; Liu, D.; Wen, Y.; Wang, X. Performance analysis of rss fingerprinting
based indoor localization. IEEE Trans. Mobile Comput. 2017, 16, 28472861
18. Nowicki, Michal R. and Jan Wietrzykowski. “Low-Effort Place Recognition with WiFi
Fingerprints Using Deep Learning.” AUTOMATION (2017).
19. L. Xiao, A. Behboodi and R. Mathar, "A deep learning approach to fingerprinting indoor
localization solutions," 2017 27th International Telecommunication Networks and
Applications Conference (ITNAC), Melbourne, VIC, 2017, pp. 1-7.
20. Yiu, Simon, et al. "Wireless RSSI fingerprinting localization." Signal Processing 131
(2017): 235-244.
21. Lun-Wu Yeh, Ming-Hsiu Hsu, Hong-Ying Huang, Yu-Chee Tseng, Design and
implementation of a self-guided indoor robot based on a two-tier localization architecture,
Pervasive Mob. Comput. 8 (2) (2012) 271281.
22. C. Wu, Z. Yang, Y. Liu, W. Xi, Will: wireless indoor localization without site survey, in:
Proceedings of IEEE INFOCOM, IEEE, 2012, pp. 6472
23. Z. Ma, S. Poslad, J. Bigham, X. Zhang and L. Men, "A BLE RSSI ranking based indoor
positioning system for generic smartphones," 2017 Wireless Telecommunications
Symposium (WTS), Chicago, IL, 2017, pp. 1-8.
24. Henri Nurminen, Anssi Ristimaki, Simo Ali-Loytty, Robert Piché, Particle filter and
smoother for indoor localization, in: Proceedings of International Conference on Indoor
Positioning and Indoor Navigation (IPIN), 2013, pp. 110
25. Mi Band 2. 2019. Specifications. https://www.mi.com/global/miband2/ [Last accessed 5
July 2019].
26. Mi Band 3. 2019. Specifications. https://www.mi.com/global/mi-band-3/ [Last accessed 5
July 2019].
... Received Signal Strength Indicator (RSSI) is the key information that is being widely used in the positioning domain which is used to calculate or determine the distance between receiving end and the transmitting end using Radio frequency (RF) signals (Chatzimichail et al., 2021). As a major drawback, RSSI information can fluctuate due to the influence of multipath, reflection and the gain of the antenna used which leads it to an error-prone behavior when it is functioning individually. ...
... In the online phase, real-time RSSI measurements gathered will be compared with the offline fingerprinting database to predict the position of the receiver. In this positioning, it is neither necessary to know the position of Wifi or BLE beacons nor to transfer the RSSI measurements faraway in order to avoid environmental hindrances (Chatzimichail et al., 2021;A. Zhang et al., 2015). ...
... Zhang et al., 2019). This RSSI-based fingerprinting method has been used by (Obreja et al., 2020b), (Faragher et al., 2015b), (Chatzimichail et al., 2021), (A. Zhang et al., 2015) with various approaches and algorithms which will be discussed in the next section of the literature review. ...
Article
Understanding the indoor whereabouts of individuals and objects is important, especially for those who fall within the 71% of visually impaired individuals with a school education, students in 450 special education units and many other areas and aspects in Sri Lanka. Researchers have declared that, there isn’t any particularly good localization system, and the performance should be evaluated considering the approach and application. The most well-known indoor positioning (IP) technologies that have been historically deployed are Bluetooth, Wi-Fi, RFID (radio frequency identification), IR (Infrared), and UV (ultraviolet) whereas received signal strength (RSSI), fingerprinting, and triangulation methods have been used as common IP techniques. The combination of both IP technologies and techniques creates an IP system, and the integration of machine learning and IoT with the structured system essentially delivers an accurate and more advanced system. This paper contains a detailed, analytical review of a developed indoor positioning system derived from the existing indoor localization techniques, localization technologies, localization systems, algorithms, and performance matrixes. This also provides a comprehensive comparison between numerous existing systems to justify the proposed solution. This project has been developed to achieve better accuracy through low-cost deployment as an effective system to fill the gap in the scarcity of positioning systems in the world. This paper presents a descriptive introduction and problem definition, a critical discussion of results, machine learning models, benefits of the project, and future works. As later justified, ESP32 microcontroller and BLE beacons are utilized with RSSI fingerprinting method to develop this IP system and, as a part of the project, two data visualization methods have been introduced here using NodeRED dashboard and LC display. Overall, this project was developed with an effective combination of RSSI fingerprinting, IoT protocols, machine learning, and data interpretation methods. KEYWORDS: Indoor positioning, RSSI, Fingerprinting, Machine Learning, MQTT, ESP32, BLE beacons, NodeRED
... This latter technique is fast and easily trained, but depends on signal-to-distance mapping models that are easily disrupted by the natural characteristics of electromagnetic signals like multipath [10]. The fingerprinting-based techniques perform significantly better, but the required labor and time make them inherently disadvantageous [11]. In fingerprinting, data should be captured for long durations to catch the most available variability in terms of signal parameters. ...
Article
Full-text available
Fingerprinting techniques are known to perform better for radio-frequency based indoor positioning compared to the lateration-based techniques. However, accurate fingerprinting depends on a thorough prior scene analysis, in which the area should be described in terms of the signal parameters the positioning system deploys. This requires a heavy workload to build accurate systems, causing a trade-off between the accuracy and the practicality. In this work, we propose a chain of subsequent preprocessing techniques for generating accurate radio-frequency maps (RM). The techniques consiste of filtering the received signal strength indicator (RSSI) and interpolating the local probability distribution parameters. The proposed subsequent techniques generate smoother RMs and describe these maps with only two parameters per position. By plugging an adaptive particle filter as the position estimation algorithm, we show that the generated RMs increase the positioning accuracy significantly. We also investigate the relation between the practicality and the accuracy in terms of the invested time in the process of fingerprinting and the stored data to represent the RM. Alongside the increased accuracy of the proposed system, the approach allows a dramatic increase in the practicality of the fingerprinting technique.
... RSSI-assisted localization is a technique for finding the location of a device through the measurement of wireless signal strengths received from multiple reference points or transmitters [28], [29]. This method is less complex and costeffective compared to other techniques as it doesn't need synchronization between the transmitter and receiver [30], [31]. RSSI values are calculated using an empirical propagation model and are used to estimate the distance between the transmitter and receiver [30], [32]. ...
Article
Full-text available
One of the most challenging tasks in a disaster scenario is the detection and localization of victims with high accuracy and minimum delay, especially in out-of-coverage areas. In the event of a disaster that disrupts the cellular network infrastructure, emergency calls can be relayed to the core network via multi-hop D2D communications. In this paper, a localization system is proposed that uses radio measurements obtained through such D2D multi-hop assisted emergency calls to localize in-coverage and out-of-coverage devices. To address the uncertainty and gradual reception of data in real-time in this scenario, a dynamic constraint satisfaction-based Multi Victim Localization Algorithm (MVLA) is proposed. This algorithm locates multi-hop devices in a progressive propagation manner to provide fast and accurate updates on victim locations. Additionally, three modes of MVLA , namely MVLA_recent , MVLA_seq, and MVLA_all are proposed. Simulation results demonstrate that MVLA_all has a lower localization error compared to MVLA_recent and MVLA_seq. Moreover, MVLA_all, is compared with an existing particle filtering-based localization algorithm called RSSI Monte-Carlo Boxed Localization (RSSI-MCL) under an increasing number of emergency user devices and functional gNodeBs. Results show that MVLA_all significantly outperforms the RSSI-MCL method in terms of localization accuracy and computational delay.
... The technique involves measuring the RSSI of the signals and then triangulating the position of the device using techniques such as trilateration or multilateration [76]. RSSIassisted localization is less complex and cost-effective compared to other techniques because it does not require synchronization between the transmitter and receiver [59,77]. It is also useful because it can provide quality indicators, such as signal-to-interferencenoise ratio (SINR) [78] and channel quality indicator (CQI), up to a distance of 75 km from the reference point [79,80]. ...
Thesis
Full-text available
During large-scale disasters, emergency communication systems that are reliable, responsive, and energy-efficient are crucial. This thesis focuses on designing reliable emergency communication systems for disaster scenarios in out-of-coverage areas. The proposed systems are designed to work seamlessly across the data link, network, and application layers. At the data link layer, a new decoding scheme named Cyclic Triangular Successive Interference Cancellation (Cyclic T-SIC) is proposed to enhance the reliability in Asynchronous NOMA-assisted D2D communications. Moreover, at the network layer, new multi-hop protocols namely Multi-Hop Emergency caLl Protocol (M-HELP) and 5G Standalone Service (5G-SOS) that comply with 3GPP standards are introduced to reduce control traffic and improve emergency information transfer reliability. Moreover, a new Multi Victim Localization Algorithm (MVLA) is proposed at the application layer to locate victim devices during emergencies. This scheme uses radio data from outband D2D-assisted multi-hop emergency calls and applies constraint satisfaction methods to locate victims in a progressive propagation manner. Additionally, an emergency service architecture is also proposed comprising an optimized machine learning model to locate population-congested areas during pandemics. By comparing and evaluating the proposed methods and schemes with conventional state-of-the-art approaches, valuable insights are obtained into the design of efficient and optimal emergency communication systems for areas with limited network coverage.
... BLE uses the Received Signal Strength Indicator (RSSI-signal strength of the received electromagnetic wave-to estimate the position of the subject of interest. During calibration, various RSSI measurements are taken from several different distances and locations and collected in a database [24]. ...
Article
Full-text available
This paper presents “DESMOS”, a novel ecosystem for the interconnection of smart infrastructures, mobile and wearable devices, and applications, to provide a secure environment for visitors and tourists. The presented solution brings together state-of-the-art IoT technologies, crowdsourcing, localization through BLE, and semantic reasoning, following a privacy and security-by-design approach to ensure data anonymization and protection. Despite the COVID-19 pandemic, the solution was tested, validated, and evaluated via two pilots in almost real settings—involving a fewer density of people than planned—in Trikala, Thessaly, Greece. The results and findings support that the presented solutions can provide successful emergency reporting, crowdsourcing, and localization via BLE. However, these results also prompt for improvements in the user interface expressiveness, the application’s effectiveness and accuracy, as well as evaluation in real, overcrowded conditions. The main contribution of this paper is to report on the progress made and to showcase how all these technological solutions can be integrated and applied in realistic and practical scenarios, for the safety and privacy of visitors and tourists.
Conference Paper
In the Internet of Things era, sensor measurement results are beneficial if the accurate position of the sending node can be known. In a wireless network, the positioning of an object can be determined if the object's distance can be known to several reference nodes. RSSI, ToA, and TDoA methods can determine the distance between objects on a node. The RSSI method is simple but needs to be more accurate because the RSSI value fluctuates. This study proposes the RSSI Fingerprinting method to overcome the weaknesses in the conventional RSSI method. In RSSI Fingerprinting, the signal strength is measured from several transmitters at several locations first performed, which can represent the area as a whole. Furthermore, several existing methods in artificial intelligence, such as k-NN, Random Forest, SVM, Gaussian Process, and Deep Learning (FFNN, CNN, RNN, and LSTM), are used to model the RSSI Fingerprinting. All models obtained were measured for their performance to estimate the node position and evaluated by three parameters: Mean Square Error (MSE), Mean Absolute Error (MAE), and Training Time. In the simulation, it was found that the Random Forest method has advantages compared to other methods. Furthermore, this research also discusses how the model obtained can be applied to IoT devices using Edge Devices that support machine learning or processing in the cloud.
Book
Originated with Bachelor's project in 2021 with three Bangaladesh young friends. Present third author suggested by second author. More refined and more precise version can be written.
Chapter
Background: EEG provides researchers with an opportunity to study neural correlates in terms of temporal connectivity. This connectivity can shed light on the possible network topology between a healthy person versus a patient or help differentiate between two different groups (experts and non-experts). Purpose: With the help of machine learning models, the difference in network topology can be used to understand the neural correlations between healthy control and a patient with ease compared to traditional EEG analysis. Further, a comparative analysis between the different spectral connectivity measures provides the best suitable measure for the study. Methods: EEG data from a meditation study (n = 31) and Parkinson's study (n = 24) containing the resting-state EEG recordings are utilized here. The EEG data is converted to spectral connectivity: coherence, which becomes the input for the machine learning models, support vector machine, k-means clustering, deep convolution neural networks, recurrent neural networks, and graph neural networks. Results: Classification accuracies of SVM and RNN are 56.585 and 56%, whereas D-CNN provides an accuracy of 59.5%. Both (~ 7%) k-means and GNN failed in the off-the-shelf approach. Conclusion: The comparative study shows the application capabilities of neural networks machine learning with commonly used machine learning models and the impact the various connectivity measures have on model accuracy.
Chapter
Several indoor locating systems rely on the groundbreaking use of the received signal strength indication (RSSI). RSSI is a cost-effective and straightforward solution that does not necessitate the purchase of any additional hardware. Variations in RSSI of Bluetooth low energy (BLE) devices in indoor positioning degrade the precision of indoor positioning systems. This paper provides a filtering strategy for processing the RSSI signal to solve the aforementioned difficulty. The RSSI of the BLE node is captured. The raw RSSI signals are then filtered using various filtering methods and their combinations. This work employs a variety of filters including frequency analysis, Kalman filtering, frequency Kalman filtering and Kalman frequency filtering. The standard deviation value after applying various filters was compared under various test cases. The results suggest that applying frequency filters followed by Kalman filtering can reduce RSSI variability in BLE devices, resulting in more consistent and reliable RSSI measurements.
Article
Full-text available
RSS-based indoor positioning is a consolidated research field for which several techniques have been proposed. Among them, Bluetooth Low Energy (BLE) beacons are a popular option for practical applications. This paper presents a new BLE RSS database that was created to aid in the development of new BLE RSS-based positioning methods and to encourage their reproducibility and comparability. The measurements were collected in two university zones: an area among bookshelves in a library and an area of an office space. Each zone had its own batch of deployed iBKS 105 beacons, configured to broadcast advertisements every 200 ms. The collection in the library zone was performed using three Android smartphones of different brands and models, with beacons broadcasting at −12 dBm transmission power, while in the other zone the collection was performed using of one those smartphones with beacons configured to advertise at the −4 dBm, −12 dBm and −20 dBm transmission powers. Supporting materials and scripts are provided along with the database, which annotate the BLE readings, provide details on the collection, the environment, and the BLE beacon deployments, ease the database usage, and introduce the reader to BLE RSS-based positioning and its challenges. The BLE RSS database and its supporting materials are available at the Zenodo repository under the open-source MIT license.
Article
Full-text available
Microlocation plays a key role in the transformation of traditional buildings into smart infrastructure. Microlocation is the process of locating any entity with a very high accuracy, possibly in centimeters. Such technologies require high detection accuracy, energy efficiency, wide reception range, low cost, and availability. In this article, we provide insights into various microlocation-enabling technologies, techniques, and services and discuss how they can accelerate the incorporation of the Internet of Things (IoT) in smart buildings. We cover the challenges and examine some signal processing filtering techniques such that microlocation-enabling technologies and services can be thoroughly integrated with an IoT-equipped smart building. An experiment with Bluetooth Low-Energy (BLE) beacons used for microlocation is also presented.
Article
Full-text available
The Global Navigation Satellite System (GNSS) cannot achieve accurate positioning and navigation in the indoor environment. Therefore, efficient indoor positioning technology has become a very active research topic. Bluetooth beacon positioning is one of the most widely used technologies. Because of the time-varying characteristics of the Bluetooth received signal strength indication (RSSI), traditional positioning algorithms have large ranging errors because they use fixed path loss models. In this paper, we propose an RSSI real-time correction method based on Bluetooth gateway which is used to detect the RSSI fluctuations of surrounding Bluetooth nodes and upload them to the cloud server. The terminal to be located collects the RSSIs of surrounding Bluetooth nodes, and then adjusts them by the RSSI fluctuation information stored on the server in real-time. The adjusted RSSIs can be used for calculation and achieve smaller positioning error. Moreover, it is difficult to accurately fit the RSSI distance model with the logarithmic distance loss model due to the complex electromagnetic environment in the room. Therefore, the back propagation neural network optimized by particle swarm optimization (PSO-BPNN) is used to train the RSSI distance model to reduce the positioning error. The experiment shows that the proposed method has better positioning accuracy than the traditional method.
Article
Full-text available
The indoor user localization function is in high demand for high-speed wireless communications, navigations and smart-home applications. The optical wireless technology has been used to localize end users in indoor environments. However, its accuracy is typically very limited, due to the ambient light, which is relatively strong. In this paper, a novel high-localization-accuracy optical wireless based indoor localization system, based on the use of the mechanism that estimates background light intensity, is proposed. Both theoretical studies and demonstration experiments are carried out. Experimental results show that the accuracy of the proposed optical wireless indoor localization system is independent on the localization light strength, and that an average localization error as small as 2.5 cm is attained, which is 80% better than the accuracy of previously reported optical wireless indoor localization systems.
Article
Full-text available
The widely applied location-based services require a high standard for positioning technology. Currently, outdoor positioning has been a great success; however, indoor positioning technologies are in the early stages of development. Therefore, this paper provides an overview of indoor fingerprint positioning based on Wi-Fi. First, some indoor positioning technologies, especially the Wi-Fi fingerprint indoor positioning technology, are introduced and discussed. Second, some evaluation metrics and influence factors of indoor fingerprint positioning technologies based onWi-Fi are introduced. Third, methods and algorithms of fingerprint indoor positioning technologies are analyzed, classified, and discussed. Fourth, some widely used assistive positioning technologies are described. Finally, conclusions are drawn and future possible research interests are discussed. It is hoped that this research will serve as a stepping stone for those interested in advancing indoor positioning.
Article
Full-text available
Indoor localization based on SIngle Of Fingerprint (SIOF) is rather susceptible to the changing environment, multipath, and non-line-of-sight (NLOS) propagation. Building SIOF is also a very time-consuming process. Recently, we first proposed a GrOup Of Fingerprints (GOOF) to improve the localization accuracy and reduce the burden of building fingerprints. However, the main drawback is the timeliness. In this paper, we propose a novel localization framework by Fusing A Group Of fingerprinTs (FAGOT) based on random forests. In the offline phase, we first build a GOOF from different transformations of the received signals of multiple antennas. Then, we design multiple GOOF strong classifiers based on Random Forests (GOOF-RF) by training each fingerprint in the GOOF. In the online phase, we input the corresponding transformations of the real measurements into these strong classifiers to obtain multiple independent decisions. Finally, we propose a Sliding Window aIded Mode-based (SWIM) fusion algorithm to balance the localization accuracy and time. Our proposed approaches can work better in an unknown indoor scenario. The burden of building fingerprints can also be reduced drastically. We demonstrate the performance of our algorithms through simulations and real experimental data using two Universal Software Radio Peripheral (USRP) platforms.
Conference Paper
Using WiFi signals for indoor localization is the main localization modality of the existing personal indoor localization systems operating on mobile devices. WiFi fingerprinting is also used for mobile robots, as WiFi signals are usually available indoors and can provide rough initial position estimate or can be used together with other positioning systems. Currently, the best solutions rely on filtering, manual data analysis, and time-consuming parameter tuning to achieve reliable and accurate localization. In this work, we propose to use deep neural networks to significantly lower the work-force burden of the localization system design, while still achieving satisfactory results. Assuming the state-of-the-art hierarchical approach, we employ the DNN system for building/floor classification. We show that stacked autoencoders allow to efficiently reduce the feature space in order to achieve robust and precise classification. The proposed architecture is verified on the publicly available UJIIndoorLoc dataset and the results are compared with other solutions.
Article
Indoor localization has been an active research field for decades, where received signal strength (RSS) fingerprinting based methodology is widely adopted and induces many important localization techniques, such as the recently proposed one building fingerprints database with crowdsourcing. While efforts have been dedicated to improve accuracy and efficiency of localization, performance of the RSS fingerprinting based methodology itself is still unknown in a theoretical perspective. In this paper, we present a general probabilistic model to shed light on a fundamental issue: how good the RSS fingerprinting based indoor localization can achieve? Concretely, we present the probability that a user can be localized in a region with certain size. We reveal the interaction among accuracy, reliability and the number of measurements in the localization process. Moreover, we present the optimal fingerprints reporting strategy that can achieve the best localization accuracy with given reliability and the number of measurements, which provides a design guideline for the RSS fingerprinting based indoor localization system. Further, we analyze the influence of imperfect database information on the reliability of localization, and find that the impact of imperfect information is still under control with reasonable number of samplings when building the database.