Next Article in Journal
In-Situ Measurement of Electrical-Heating-Induced Magnetic Field for an Atomic Magnetometer
Next Article in Special Issue
Cluster-Fault Tolerant Routing in a Torus
Previous Article in Journal
Comparison between Linear and Branched Polyethylenimine and Reduced Graphene Oxide Coatings as a Capture Layer for Micro Resonant CO2 Gas Concentration Sensors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automatic Detection of Changes in Signal Strength Characteristics in a Wi-Fi Network for an Indoor Localisation System

Faculty of Mathematics and Information Science, Warsaw University of Technology, Koszykowa 75 street, 00-662 Warsaw, Poland
*
Authors to whom correspondence should be addressed.
Sensors 2020, 20(7), 1828; https://doi.org/10.3390/s20071828
Submission received: 14 February 2020 / Revised: 11 March 2020 / Accepted: 24 March 2020 / Published: 25 March 2020
(This article belongs to the Special Issue Quality of Service in Sensor Networks)

Abstract

:
This paper faces the issue of changing the received signal strength (RSS) from an observed access point (AP). Such a change can reduce the Quality of Service (QoS) of a Wi-Fi-based Indoor Localisation System. We have proposed a dynamic system based on an estimator of RSS using the readings from other APs. Using an optimal threshold, the algorithm recognises an AP that has changed its characteristics. Next, the system rebuilds the localisation model excluding the changed AP to keep QoS. For the tests, we simulated a change in the analysed Wi-Fi network by replacing the measured RSS by an RSS obtained from the same AP model that lies in another place inside the same multi-floor building. The algorithm was evaluated in simulations of an isolated single-floor building, a single-floor building and a multi-floor building. The mean increase of the localisation error obtained by the system varies from 0.25 to 0.61 m after the RSS changes, whereas the error increase without using the system is between 1.21 and 1.98 m. The system can be applied to any service based on a Wi-Fi network for various kinds of changes like a reconfiguration of the network, a local malfunction or ageing of the infrastructure.

1. Introduction

Localisation services–including indoor ones–are becoming more and more common. Because of the business application of indoor localisation systems, the issue of providing an accurate indoor position becomes critical and requires a specific level of accuracy from the localisation system. The most popular indoor localisation system type is based on a vector of received signal strength (RSS) calculated for access points (APs) from internal Wi-Fi infrastructure. The advantages of the system are low cost and accessibility, as the measurements can be performed on almost every mobile device with a Wi-Fi module.
Very often, such a system is trained using fingerprinting. In the localisation process, the current position can be determined by comparing the RSS vector to a created map of fingerprints. Different environments, test areas, and sensor technology have a significant impact on the Quality of Service (QoS)–measured by the localisation error–of the indoor localisation system [1]. However, in the case of a localisation system based on fingerprinting there is one important additional factor: The QoS can drop if there are some changes in the characteristics of the RSS that were used to train the system.
There are various reasons for changes in system characteristics. One of them regards the model readings from a mobile AP during the creation of learning set. A mobile AP can change its position. As a result, the broadcast signal can be significantly different or even not observed. In performed experiments, Leca et al. [2,3] have estimated that approximately 3–4% of APs observed in an outdoor environment are mobile APs. Their existence in the learning data can increase the log-Gaussian Mean Error even by 37%, although the influence of mobile APs is not explicit for other error measures. Another reason for the changes is a modification of the Wi-Fi infrastructure. According to current needs, the network can be reconfigured to optimise the trade-off between the range and the latency [4]. The last reason is the ageing of AP devices. Górak et al. [5] have shown that the QoS of the localisation system based on unmodified Wi-Fi infrastructure deceases from 4 to 5 m over two years.
In this work, we propose a detection algorithm that can detect changes in AP signal characteristics. Using the Random Forest algorithm, we create an estimator that predicts the signal strength of the AP, based on the readings from all the remaining APs. Next, for every AP, we calculate an optimal threshold that will allow us to compare a predicted signal strength to the actual strength. If the difference between the prediction and the recorded signal strength is above the threshold, we predict that the AP has changed its characteristics for reasons other than typical environmental factors and this may substantially influence the accuracy of the localisation. If this is the case, we rebuild the localisation model, by excluding this AP from the learning data.
To evaluate our algorithm, we created a unique testbed. The change is simulated by replacing AP signals by signals of an AP from a different location. Both APs are the same model (Cisco AIR-LAP1142N-E-K9). Therefore, it is practically the same as physically moving one AP to a different location. Moreover, our approach allows us to avoid modelling of the propagation of signal strength in the dynamic environment of a public building, which is a very difficult task. Instead, we gather a huge amount of fingerprinting data (millions of records), each record containing many features (RSS readings from many APs). Next, we use machine learning methods to detect APs with substantially changed characteristics. After the detection of changes, the algorithm starts the recalculation of the localisation model.
Our algorithm was tested inside the big modern multi-floor building of the Faculty of Mathematics and Information Science (MIS) of the Warsaw University of Technology. The algorithm automatically detected simulated changes in the Wi-Fi infrastructure and triggered the recalculation of the localisation model. As a result, our solution reduces localisation errors created by changes.
The remaining part of the paper is organised as follows. In Section 2, the related work is discussed. Section 3 presents the proposed localisation model and describes how the system detects the changes. The created simulations and data sets of fingerprints collected in the MIS building are described and discussed in Section 4. The results obtained for three scenarios are described in Section 5. Section 6 presents our conclusions.

2. State-of-the-Art

Tuta et al. [6] stressed the issue of developing an indoor positioning system with the main aim of making it useful for real-world deployments, including the creation of self-calibrating and self-adaptive systems. Several such localisation systems were proposed.
Cai et al. [7] proposed an adaptive indoor localisation system—an integration of received signal strength indication (RSSI)-based and inertial navigation system (INS)-based approaches—called coupled RSSI and INS localisation (CRIL). The system used the results from RSS and INS and updated the channel model in the RSSI in real-time. However, the adaptation is based on infrastructure of anchors of known location. Tuta et al. [6] merged a free-space path loss model and a propagation model to create a self-calibrating and self-adaptive model. This procedure infers parametres of the space and simulates the propagation of the signal. The historical points are used for localisation improvement.
Several solutions use a specialised chipset. Nevat et al. [8] proposed two-way time-of-arrival ranging devices to perform localisation. The approach was based on nonlinear regression analysis, where the missing observations were treated as Missing Not at Random. A similar idea was proposed by Batstone et al. [9,10]. However, such solutions are hard for broad implementation on commonly used mobile phones [11].
Several works aim to eliminate the missing signals. Lin et al. [12] recovered a fingerprinting map created during the fingerprinting process in place of the missing signals. Chang et al. [13] proposed a similar solution. Saleem et al. [14] discussed—on a laboratory testbed—how to recover missing APs’ RSS if the radio map covers all measurement points for all APs. Górak et al. [15] detected the missing signals and eliminated their sources from the localisation model.
Designing our solution, we assumed that the system should work on commonly used devices. Therefore, the solution cannot be based on a specialised chipset as in [8,9,10]. Our solution can work using standard Wi-Fi APs and mobile devices. Also, the designed system should work with unreliable infrastructure. Therefore, the concept of Wi-Fi anchors used in [7] cannot be applied. The anchors can be a major source of system weakness in the case of changes in their RSS characteristics. The central concept of our solution lies in the detection of such changes. The main works that analyse the localisation QoS are focused on managing lack of data [12,13,14,15]. Although the detection of missing signals is critical for QoS, we extend this idea to detect all significant changes in the observed signals. Finally, to design a universal solution, we avoid signal propagation modelling [6] and the necessity of a knowledge of the Wi-Fi infrastructure scheme [7] using by fingerprinting and machine learning techniques.
The method proposed in this work could be extended using crowdsourcing [16], as we did previously to detect a disabled AP [15]. The previously introduced methods allow the system to limit rebuilding frequency by waiting for a significant number of raised alarms to recreate the localisation model. Moreover, the proposed methods can extend a set of observed APs. However, the current work introduces the new concept of RSS characteristics changes detection and we intentionally limited additional factors during the experiments. This aspect could be an area of future work.
The tests in our work were performed on data collected in the multi-floor MIS building. Other analyses for the building—multi-floor localisation and feature selection—can be found in [15,17,18,19,20]. Mostly, we cannot compare our results directly with the mentioned works. However, we performed a comparison of the proposed system with the approaches presented in [14,15].

3. Methodology

3.1. Localisation Model

Following the work in [15], let us formally define the localisation problem which we deal with in the following part of this work.
By S L AP and S T AP we denote the learning and testing data sets, respectively. They consist of vectors (fingerprints) ( r 1 , r 2 , , r n , t , x , y , z ) , where r p is the RSS reading from the pth AP, from a given set of APs AP , at the time t, in the location ( x , y , z ) where x , y are the horizontal coordinates, and z is the vertical one.
For a subset AP AP , we consider new data sets S L AP , S T AP that are modified data sets S L AP , S T AP , respectively:
S L AP = { ( ( r i ) i AP , t , x , y , z ) : ( ( r i ) i AP , t , x , y , z ) S L AP } ;
S T AP = { ( ( r i ) i AP , t , x , y , z ) : ( ( r i ) i AP , t , x , y , z ) S T AP }
In other words, we take in S L AP , S T AP only RSS readings from APs from AP .
Problem 1.
Construct a localisation model based on a measurement series S L AP (learning series). The localisation model is a function L ^ : R n R 2 (2D case, z is constant) or L ^ : R n R 3 (3D case), depending on the localisation area. For a given RSS vector r = ( r 1 , r 2 , , r n ) R n , L ^ ( r ) estimates the location where the measurement v was taken.
The localisation issue formulated as Problem 1 is not a tracking problem and the historical RSS readings are not taken into account. The localisation is based on a single RSS reading from multiple APs.
To evaluate the model, we introduce the following standard measures of QoS.
Definition 1.
Let S T AP (testing series) be a measurement series and L ^ a localisation model. For an element s = ( r 1 , r 2 , , r n , t , x , y , z ) S T , we introduce the the following natural error measurement,
E ( L ^ , s ) = ( x ^ x ) 2 + ( y ^ y ) 2 + ( z ^ z ) 2
where L ^ ( r ) = ( x ^ , y ^ , z ^ ) . In other words, although ( x , y , z ) is the true position of fingerprint s, ( x ^ , y ^ , z ^ ) is its predicted position based on RSS vector r .
Definition 2.
For a testing series S T and the localisation model L ^ , let us define the following QoS measures,
Mean error : mean { E ( L ^ , s ) : s S T } ;
Median error : median { E ( L ^ , s ) : s S T } ;
Gross error : perc 80 { E ( L ^ , s ) : s S T } .
The goal of localisation is minimising these measures.
We construct the localisation model L ^ : R n R 3 using the Random Forest algorithm as presented in [21]. This will be one of the main parts of the localisation solution. The main advantages of the algorithm are speed and high quality. Alternatively, the AdaBoost algorithm can be used [22].
First, we create estimators L ^ x , L ^ y and L ^ z by applying the Random Forest algorithm where the training set is S L , which predicts separately coordinates of x, y and z, respectively. For creating the estimators, regression trees are grown. The selected number of grown trees is 100 as the analysis based on S L (see, e.g., in [15]) suggests that growing more trees does not improve QoS.

3.2. Detection of Changes of AP Location

Let us describe the method of detecting that the RSS characteristics of AP p have changed. The method presented in Figure 1 starts denoting for vector r R n a vector r p = ( r 1 , r 2 , , r p 1 , r p + 1 , ) = ( r i ) i p R n 1 , which is vector r with the pth coordinate removed. For a learning data set S L AP we define a set of such vectors RSS p = { r p | ( t , x , y , z ) : ( r , t , x , y , z ) S L AP } . Therefore, we have a function (possibly a multifunction) g p that for a given vector r p RSS p returns a missing coordinate r p R of RSS from the removed AP. Now, based on g p and using the Random Forrest algorithm once again, we create an estimator, g ^ p : R n 1 R , that predicts the RSS of the removed AP p, based on the readings from all the remaining APs.
We define the estimation error of the RSS prediction as | g ^ p ( r p ) r p | , where ( r , t , x , y , z ) S L AP and r p is the pth coordinate of r . Next, we calculate the threshold t that separates errors obtained for valid characteristics from the rest. Regarding typical noises that can occur in a real environment, the estimation errors for valid characteristics will be higher than zero. However, we assume that errors introduced by a change (such as a change of AP location) will be significantly higher than typical errors. If not, we can assume that the influence of the change on QoS will not be substantial.
The threshold belongs to a set of unique error values E calculated on the learning data set S L AP . For computational reasons, the size of the set E can be reduced, decreasing the precision of its elements.
The optimal threshold is calculated using the formula
t p = perc 80 ( r , t , x , y , z ) S L σ t | g ^ p ( r p ) r p | : t E ,
σ t ( x ) = 0 if x < t 1 if x t .
We classify an AP p as one that has changed its characteristics (possibly due to a change of its location) if for an RSS vector r , | g ^ p ( r p ) r p | > t p . In such a case, a new localisation model L ^ p is created, as described in Section 3.1. However, this time the learning data set is S L AP { p } . In other words, we remove readings from AP p from the readings of the learning series S L AP . Therefore, we can define the modified localisation model m L ^ by
m L ^ ( r , p ) = L ^ ( r ) if the system does not detect that AP p has changed its characteristics , L ^ p ( r ) if the system detects the change .
To estimate the quality of the model m L ^ , it is compared with the system that ideally detects if AP p changed its characteristics. Therefore, we introduce i L ^ , such that
i L ^ ( r , p ) = L ^ ( r ) if AP p did not change its characteristics ( its location ) , L ^ p ( r ) if AP changed its characteristics ( its location ) .
The proposed method is universal and works for various localisation models L ^ . However, as mentioned before, we will work with L ^ = L ^ , i.e., the model that was created using a Random Forest.

4. Tests

4.1. Simulation of Moving APs

The idea of the tests is to simulate that one of the APs was moved to a new location. This is done by a modification of the learning and testing data sets. First, we choose one AP p 0 and remove (put aside) its RSS readings from the learning and testing data sets ( S L AP , S T AP ). Following the above definition, we obtain S L AP \ { p 0 } and S T AP \ { p 0 } . Based on such a modified learning data set S L AP \ { p 0 } , we create the localisation model L ^ p 0 , as described in Section 3.1. Then, we choose another AP p 1 and we replace the readings from that AP in the testing data set S T AP \ { p 0 } with the readings from p 0 . Such a modified testing data set S T AP \ { p 0 } is denoted by S T p 0 p 1 . Next, we calculate the mean, median and gross error for the model L ^ p 0 to assess how it works.
It should be stressed that in each case we replace RSS readings with readings received from the same model of AP. Therefore, it is a good but discrete simulation of an actually moving AP. Moreover, the simulation allows us to observe n 2 = n ( n 1 ) 2 unique movements of APs, where is n the number of APs in the considered infrastructure.
We prepared several scenarios to illustrate how the changes influence localisation quality and how our system deals with it. The scenarios are sketched in Figure 2.

4.1.1. Scenario 1 (2D Case)

Let us pick a floor f { 0 , 1 , 2 , 3 , 4 } and two APs p 0 and p 1 that are located on this floor. In the first scenario, the 2D localisation model is trained using only APs from a given floor f { 0 , 1 , 2 , 3 , 4 } , except p 1 , which is put aside. For training, we choose only fingerprints from S L that are located on the floor f. Then, in the testing data set S T , we choose only fingerprints from floor f, and modify the RSS vectors by replacing the RSS reading from AP p 0 by the readings from AP p 1 . The replacement simulates the location change of one AP, as both p 0 and p 1 are the same device models. We do this for every pair p 0 and p 1 of APs from floor f, obtaining the mean, median and gross errors. Then, to summarise the results, we take the average of mean, median and gross error over all floors f { 0 , 1 , 2 , 3 , 4 } and all pairs p 0 and p 1 of APs from floor f. We do not consider the last floor f = 5 as the number of APs on this floor is too small (see Section 4.2 for details).

4.1.2. Scenario 2 (2D Case)

The second scenario is similar to Scenario 1, but although we consider only readings from a given floor f, the sources of the signals are not limited to APs on this floor. We consider in the localisation process—building the model and locating the terminal—APs from different floors that broadcast on a given floor f { 0 , 1 , 2 , 3 , 4 , 5 } . This time, we can include the last floor of the building. Once again, for every floor, we obtain the mean, median and gross errors. Then, we take the average for all three QoS (introduced in Definition 2) measures among all floors f, similarly to Scenario 1.

4.1.3. Scenario 3 (3D Case)

In the last scenario—similarly to the other two—we pick two APs, p 0 and p 1 . However, while training the system, we consider all fingerprints inside the building, without the RSS readings from p 1 . Based on that, we create a 3D localisation model. We test the model on the fingerprints from the testing series, which is modified by replacing the readings from p 0 with the readings from p 1 . For such a modified testing data set, we obtain the mean, median and gross errors. Finally, we take the average for all three QoS measures among all pairs of p 0 and p 1 .

4.2. Data

The simulations were conducted on data collected in the multi-floor MIS building. Data were collected on six floors in public areas in two independent series. The learning set contains 43,680 fingerprints collected between 18 August 2014 and 22 August 2014. The testing set gathered between 25 August 2014 and 29 August 2014 consists of 46,760 fingerprints. The collected RSS come from a network of 46 identical Cisco Aironet 1140 Series Access Points model AIR-LAP1142N-E-K9. Table 1 presents information about the numbers of APs, fingerprints used in the tests and the tests on each floor. In Scenario 1, the test were not performed on the last floor because of the small number of APs. The fingerprints were included in the tests if and only if they contained at least one AP from the group of APs selected in the given Scenario.
The data were collected using Android OS 2.1 running on mobile phones: HTC One, LG Nexus4 and Sony Xperia. The influence of the phone model on data is discussed in [15]. The location fingerprints were collected in a 1.5 × 1.5 m grid if it was possible, due to environmental limitations. The learning and testing series are 0.75 m apart from each other in each direction. There were 40 fingerprints taken at every measurement point. The measurements were made in four directions parallel to the building axes. We set Ø = 113 [dBm] to note a missing signal.

5. Results

This section aims to show the benefits we obtain by using the detection method described in Section 3.2. Therefore, we compare three different systems with an AP p being put aside for testing purposes. That is, for a given AP p, localisation model L ^ we denote by L ^ p a new model that was created using the same method but using only S L AP { p } as a learning data set. Thus, we consider three possible modifications. The first, which was already defined, L ^ p , later m L ^ p and i L ^ p . For a given localisation model L ^ and two given APs p 0 and p 1 , let us introduce the following QoS measure δ that measures, on set S T p 0 p 1 , how replacing readings from AP p 1 with readings from AP p 0 increases the mean error.
δ p 0 p 1 ( L ^ ) = E ( L ^ , S T p 0 p 1 ) E ( L ^ , S T ) .
Based on the above, we can see the relation between δ and the distance d = d i s t ( p , p ) , by looking at the parametres that describe loss QoS caused by the movement of AP by distance d
δ ( L ^ , d ) = { δ p 0 p 1 ( L ^ p 0 ) : d i s t ( p 0 , p 1 ) [ d 1 2 , d + 1 2 ) } ,
where d is an integer.
The results of the proposed system detecting changes as presented in Formula (9)—labelled as Proposed model—are described by the function δ ( m L ^ , d ) . In the tests, we compare it with two reference models. The first reference localisation model—labelled as Not modified model—is not modified despite the change. The results are described by δ ( L ^ , d ) . The second reference localisation model—labelled as Ideally modified model—is modified assuming a perfect detection of the change, as presented in Formula (10). The results are described by δ ( i L ^ , d ) .

5.1. 2D Scenarios

Figure 3 shows the results for a two-dimensional localisation problem. The results were presented as box plots calculated for sets δ ( L ^ , d ) , where d = 1 and L ^ { L ^ , i L ^ , m L ^ } . This allows the reader to compare the error distribution for the proposed and reference models calculated for shifts with one-metre resolution. Figure 3a shows the correlation between an AP shift and the localisation error change that occurs in Scenario 1. Figure 3b shows the same for Scenario 2. We observe that changes performed in a localisation model based on a small number of APs (Scenario 1) result in higher errors than for a model with a larger number of APs (Scenario 2). The maximum error is 15 and 10 m, respectively.
Comparing the results obtained by the proposed system and the ideally modified model—that detects all the changes—we find them very similar. The main difference is the higher standard deviation of errors obtained for very big AP displacements (about 50 m) by the proposed model in Scenario 1. This effect does not occur in Scenario 2.
One can observe that the ideal model and proposed model obtain negative values for shifts less than one metre. This is because the figures show the difference between the localisation error obtained after and before the change. In this case, the elimination of some APs increases the QoS of the localisation system by reducing the localisation error.
Observing the results for the not modified model, we see that the localisation error arises according to the distance. Our system eliminates this tendency and the errors—especially in Scenario 2—are on a similar level for all distances. Moreover, the results obtained by our system are visibly better than for the localisation model without an update. In Scenario 1, the maximum error of the proposed system does not exceed 10 m. The maximum error for the model without the update exceeds 15 m. For Scenario 2, the maximum error is less than 6 m and over 10 m, respectively.
For all compared approaches, the obtained errors are smaller in Scenario 2. This is natural because the number of APs used for localisation on each floor grows six times on average (see Table 1). Therefore, the changes in RSS from a single AP are much less important.

5.2. 3D Scenario

Figure 4 shows the results for the three-dimensional localisation case described in Scenario 3. Figure 4a presents the results identically as for the two-dimensional localisation cases, showing the error distribution for the proposed and reference models calculated for shifts with a one-metre resolution. However, because of the discrete vertical shift that could be present in this scenario, we introduced an additional presentation of the error distribution according to the change in the number of floors (Figure 4b).
Analysing the errors according to the distance (Figure 4a) we obtain similar conclusions as for the two-dimensional scenarios. The results obtained by the proposed method are very similar to the ideal model. However, the improvement of QoS observed in the two-dimensional scenarios for a shift smaller than one metre is absent in Scenario 3. The proposed solution improves the results obtained by the not modified model. The maximum error is less than 8 m and over 15 m respectively.
Figure 4b shows that the localisation error grows according to the number of floors between the swapped APs. Once again, the proposed system gives results that are closer to the ideal model than to the model without the update.
For a more formal comparison of the results, statistics for the scenarios were calculated. Table 2 presents statistics calculated for all scenarios. For comparison, the errors obtained in the three-dimensional case are calculated only horizontally.
The reference localisation errors, presented as (B), vary from 3.6 to 4.3 m for the mean. After the change (A), the mean error rises by 1.2 to 2 m. However, the application of our system (S) reduces this growth and the localisation error increases by 0.2 to 0.6 metres only. After the change, the median error grows by 1–1.6 m. Using our system, the QoS drops only by 0.1 to 0.3 m. The main change is visible for gross errors (the 80th percentile). The QoS after the change plunged by 1.7 to 3.2 m. By using our system, the decrease can be reduced to 0.2 to 1 m.

5.3. Comparison with other Solutions

We have shown in the previous tests the correlation between error and distance between a previous and future location of an AP. The location change causes a change in RSS. Analysing the collected data, we can say that the RRS change varies between −1 and −73 [dBm]. However, the change can mute the signal entirely and then it is noticed as a missing signal = 113 [dBm]. In such a case, the difference varies between −13 and −86 [dBm].
Therefore, an approach that focuses on missing RSS values to improve localisation results is legitimate. There are two approaches to the missing RSS values: The missing values can be eliminated at the beginning when the radio map is created [12,13,14] or detected dynamically [15].
To compare the two approaches, we created a testbed based on Scenario 1. Because of the limitations of the compared methods, we eliminated from the tests all RSS vectors without ∅ values and consisting of ∅ values only. It was necessary because the method proposed in [15] detects if a terminal should receive a signal from the AP using information from the other APs. For this, the learning set must contain cases describing RSSs from the other APs when the observer AP is turned on as well as when it is turned off. The second method [14] replaces ∅ values with the mean of RSS values from a given AP over the whole learning set. Therefore, vectors consisting of ∅ values only are not allowed.
Using the created testbed, we performed 386 tests. Figure 5 compares the results obtained by the discussed methods using the empirical distribution function. For all methods, δ error was compared. The comparison includes a situation without any preventing methods (No Action), recovering the missing values with the mean (Mean Imputation), detection of missing signals to eliminate their source from the model (List-Wise Deletion) and our changes detection system (Our Solution).
All methods are successful and obtain a better result than ignoring the changes. However, the mean imputation of the missing AP signals has a much higher gross error that the other methods working with the updated model. Among them, the best results are obtained by the system proposed in this work. For our solution and the list-wise deletion model, we observe some negative values. This means, that the updated system gives better results than the system before the change in some cases and the δ error is negative.
Our method obtained a mean error smaller by 1 and 0.5 m in comparison to [14] and [15], respectively. Similarly, the median error is less by 1 and 0.4 m. The difference is the highest for the gross error, where the results obtained by our method are better by 1.8 and 0.8 m. The detailed statistics for all models are given in Table 3.

6. Conclusions

We have proposed a dynamic system that detects changes in RSS. The system is based on an estimator that predicts the signal strength of an AP using the readings from all the remaining APs. Using an optimal threshold, the algorithm recognises an AP that has changed its characteristics. Next, the system can rebuild the localisation model excluding the changed AP to keep localisation quality (see Section 3 for details).
We have shown through simulations that the system reduces the error created by a change of AP location by 1 to 1.4 m (see Table 2). Moreover, the system works better than the solutions presented in previous works [14,15] (see Table 3).
The presented system can be used to improve existing localisation systems based on multi-source signals and detect various changes in RSS characteristics. In particular, it can support rank-based fingerprinting and other methods based on infrastructure stability [7,23].

Author Contributions

R.G. created the mathematical model; M.L. designed and performed the experiments; Marcin Luckner and Rafał Górak wrote the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Potortì, F.; Park, S.; Ruiz, A.R.J.; Barsocchi, P.; Girolami, M.; Crivello, A.; Lee, S.; Lim, J.H.; Torres-Sospedra, J.; Seco, F.; et al. Comparing the Performance of Indoor Localization Systems through the EvAAL Framework. Sensors 2017, 17, 2327. [Google Scholar] [CrossRef]
  2. Leca, C.L. Ubiquity of Wi-Fi: Crowdsensing properties for urban fingerprint positioning. Adv. Electr. Comput. Eng. 2017, 17, 139–144. [Google Scholar] [CrossRef]
  3. Leca, C.L.; Nicolaescu, I.; Ciotirnae, P. Crowdsensing Influences and Error Sources in Urban Outdoor Wi-Fi Fingerprinting Positioning. Sensors 2020, 20, 427. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Seferagić, A.; Famaey, J.; De Poorter, E.; Hoebeke, J. Survey on Wireless Technology Trade-Offs for the Industrial Internet of Things. Sensors 2020, 20, 488. [Google Scholar] [CrossRef] [Green Version]
  5. Górak, R.; Luckner, M. Long term analysis of the localization model based on Wi-Fi network. Stud. Comput. Intell. 2016, 642, 87–96. [Google Scholar] [CrossRef]
  6. Tuta, J.; Juric, M.B. A Self-Adaptive Model-Based Wi-Fi Indoor Localization Method. Sensors 2016, 16, 2074. [Google Scholar] [CrossRef] [Green Version]
  7. Cai, S.; Liao, W.; Luo, C.; Li, M.; Huang, X.; Li, P. CRIL: An Efficient Online Adaptive Indoor Localization System. IEEE Trans. Veh. Technol. 2017, 66, 4148–4160. [Google Scholar] [CrossRef]
  8. Nevat, I.; Peters, G.W.; Avnit, K.; Septier, F.; Clavier, L. Location of Things: Geospatial Tagging for IoT Using Time-of-Arrival. IEEE Trans. Sign. Inf. Process. Netw. 2016, 2, 174–185. [Google Scholar] [CrossRef]
  9. Batstone, K.; Oskarsson, M.; Åström, K. Robust time-of-arrival self calibration with missing data and outliers. In Proceedings of the 24th European Signal Processing Conference (EUSIPCO), Budapest, Hungary, 29 August–2 September 2016; pp. 2370–2374. [Google Scholar]
  10. Batstone, K.; Oskarsson, M.; Åström, K. Robust time-of-arrival self calibration and indoor localization using Wi-Fi round-trip time measurements. In Proceedings of the 2016 IEEE International Conference on Communications Workshops(ICC), Kuala Lumpur, Malaysia, 23–27 May 2016; pp. 26–31. [Google Scholar]
  11. Hoene, C.; Willmann, J. Four-way TOA and software-based trilateration of IEEE 802.11 devices. In Proceedings of the 2008 IEEE 19th International Symposium on Personal, Indoor and Mobile Radio Communications, Cannes, France, 15–18 September 2008; pp. 1–6. [Google Scholar]
  12. Ma, L.; Li, J.; Xu, Y.; Meng, W. Radio Map Recovery and Noise Reduction Method for Green WiFi Indoor Positioning System Based on Inexact Augmented Lagrange Multiplier Algorithm. In Proceedings of the 2015 IEEE Global Communications Conference (GLOBECOM), San Diego, CA, USA, 6–10 December 2015; pp. 1–5. [Google Scholar]
  13. Zhao, C.; Yu, T.; Tian, X.; Yu, H.; Gan, X.; Wang, X. A 3-D RSS distribution model based on statistical properties for indoor localization systems. In Proceedings of the 2015 IEEE/CIC International Conference on Communications in China (ICCC), Shenzhen, China, 2–4 November 2015; pp. 1–6. [Google Scholar]
  14. Saleem, F.; Wyne, S. Wlan–Based Indoor Localization Using Neural Networks. J. Electr. Eng. 2016, 67, 299–306. [Google Scholar] [CrossRef] [Green Version]
  15. Górak, R.; Luckner, M. Automatic Detection of Missing Access Points in Indoor Positioning System. Sensors 2018, 18, 3595. [Google Scholar] [CrossRef] [Green Version]
  16. Lashkari, B.; Rezazadeh, J.; Farahbakhsh, R.; Sandrasegaran, K. Crowdsourcing and Sensing for Indoor Localization in IoT: A Review. IEEE Sens. J. 2019, 19, 2408–2434. [Google Scholar] [CrossRef]
  17. Karwowski, J.; Okulewicz, M.; Legierski, J. Application of Particle Swarm Optimization Algorithm to Neural Network Training Process in the Localization of the Mobile Terminal. In Engineering Applications of Neural Networks; Iliadis, L., Papadopoulos, H., Jayne, C., Eds.; Springer: Berlin/Heidelberg, Germany, 2013; pp. 122–131. [Google Scholar]
  18. Grzenda, M. On the Prediction of Floor Identification Credibility in RSS-Based Positioning Techniques. In Recent Trends in Applied Artificial Intelligence; Ali, M., Bosse, T., Hindriks, K.V., Hoogendoorn, M., Jonker, C.M., Treur, J., Eds.; Springer: Berlin/Heidelberg, Germany, 2013; pp. 610–619. [Google Scholar]
  19. Okulewicz, M.; Bodzon, D.; Kozak, M.; Piwowarski, M.; Tenderenda, P. Indoor Localization of a Moving Mobile Terminal by an Enhanced Particle Filter Method. In Artificial Intelligence and Soft Computing: 15th International Conference, ICAISC 2016, Zakopane, Poland, June 12–16, 2016, Proceedings, Part II; Rutkowski, L., Korytkowski, M., Scherer, R., Tadeusiewicz, R., Zadeh, L.A., Zurada, J.M., Eds.; Springer International Publishing: Cham, Switzerland, 2016; pp. 512–522. [Google Scholar]
  20. Górak, R.; Luckner, M. Malfunction Immune Wi-Fi Localisation Method. In Proceedings of the 7th International Conference: Computational Collective Intelligence, Madrid, Spain, 21–23 September 2015; pp. 328–337. [Google Scholar]
  21. Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
  22. Zhang, Y.; Li, D.; Wang, Y. An indoor passive positioning method using CSI fingerprint based on Adaboost. IEEE Sens. J. 2019, 19, 5792–5800. [Google Scholar] [CrossRef]
  23. Machaj, J.; Brida, P.; Majer, N. Challenges introduced by heterogeneous devices for Wi-Fi–based indoor localization. Concurr. Comput. 2019, 1–10. [Google Scholar] [CrossRef]
Sample Availability: Samples of the data are available from the authors.
Figure 1. Localisation schema using the characteristics changes detection Indoor Positioning System.
Figure 1. Localisation schema using the characteristics changes detection Indoor Positioning System.
Sensors 20 01828 g001
Figure 2. Testing scenarios. (a) Localisation using APs from the current floor, horizontal location of APs is changed. (b) Localisation using APs from all floors, horizontal location of APs is changed. (c) Localisation using APs from all floors, horizontal and vertical location of APs is changed. The green arrows indicate the AP used for the localisation process, the dotted arrow shows an AP shift.
Figure 2. Testing scenarios. (a) Localisation using APs from the current floor, horizontal location of APs is changed. (b) Localisation using APs from all floors, horizontal location of APs is changed. (c) Localisation using APs from all floors, horizontal and vertical location of APs is changed. The green arrows indicate the AP used for the localisation process, the dotted arrow shows an AP shift.
Sensors 20 01828 g002
Figure 3. Comparison of error growth according to distance for the proposed model ( m L ^ ) and the reference models without modification ( L ^ ) and with ideally modified model ( i L ^ ) in Scenarios 1 and 2.
Figure 3. Comparison of error growth according to distance for the proposed model ( m L ^ ) and the reference models without modification ( L ^ ) and with ideally modified model ( i L ^ ) in Scenarios 1 and 2.
Sensors 20 01828 g003
Figure 4. Comparison of error growth according to distance and floor difference for the proposed model ( m L ^ ), and the reference models without modification ( L ^ ) and with ideally modified model ( i L ^ ) in Scenario 3.
Figure 4. Comparison of error growth according to distance and floor difference for the proposed model ( m L ^ ), and the reference models without modification ( L ^ ) and with ideally modified model ( i L ^ ) in Scenario 3.
Sensors 20 01828 g004
Figure 5. The comparison of the δ errors obtained for various preventing methods.
Figure 5. The comparison of the δ errors obtained for various preventing methods.
Sensors 20 01828 g005
Table 1. Information about floors. The number of the measurement points, the numbers of the present and active APs, the number of the tests for each scenario
Table 1. Information about floors. The number of the measurement points, the numbers of the present and active APs, the number of the tests for each scenario
APsFingerprints [ 10 6 ] Tests
FloorIIIIIIIIIIIIIIIIII
0744440.170.172.304949259
1638380.260.261.593636192
21340401.391.3929.94169169351
31341410.370.374.05169169364
4436360.050.051.231616128
5329290.020.020.860978
462282282.252.2539.974394481372
Table 2. Comparison of localisation errors before (B) and after (A) the RSS change as well as when the localisation model was rebuilt by our system (S).
Table 2. Comparison of localisation errors before (B) and after (A) the RSS change as well as when the localisation model was rebuilt by our system (S).
Mean Error [m]Median Error [m]Gross Error [m]
Sc.BASBASBAS
I4.356.274.913.445.083.786.399.547.28
II3.564.773.812.763.732.845.196.925.42
III3.745.724.353.004.413.205.188.436.18
Table 3. Comparison of localisation errors for various preventing methods
Table 3. Comparison of localisation errors for various preventing methods
SolutionMean Error [m]Median Error [m]Gross Error [m]
No Action2.071.793.39
Mean Imputation [14]1.571.402.74
List-Wise Deletion [15]1.050.771.74
Our solution0.590.380.93

Share and Cite

MDPI and ACS Style

Luckner, M.; Górak, R. Automatic Detection of Changes in Signal Strength Characteristics in a Wi-Fi Network for an Indoor Localisation System. Sensors 2020, 20, 1828. https://doi.org/10.3390/s20071828

AMA Style

Luckner M, Górak R. Automatic Detection of Changes in Signal Strength Characteristics in a Wi-Fi Network for an Indoor Localisation System. Sensors. 2020; 20(7):1828. https://doi.org/10.3390/s20071828

Chicago/Turabian Style

Luckner, Marcin, and Rafał Górak. 2020. "Automatic Detection of Changes in Signal Strength Characteristics in a Wi-Fi Network for an Indoor Localisation System" Sensors 20, no. 7: 1828. https://doi.org/10.3390/s20071828

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop