Abstract
Keywords
Introduction
The need for localization is not just confined to people or vehicles in outdoor environments, where Global Navigation Satellite System (GNSS) plays an important role for this purpose and is recognized to be the legacy solution. However, accurately estimating location indoors relying only on GNSS signals remains a difficult problem, mainly because of signal blockage or severe attenuations. Because of the advent of location-based services (LBS) and the multiple technologies available for indoor solutions, there exists an actual need of robust and reliable indoor localization methodologies.1,2
Due to the ubiquitous availability of powerful mobile computing devices, the boom of personalized context- and localization-aware applications has become an active field of research. A way of localization in indoor environments is using available radio signals such as wireless local area network (WLAN) (IEEE 802.11x), Zigbee, and ultra-wideband. The advantage of working with signals of the IEEE 802.11 as the primary source of information to approach the localization problem is the inexpensive hardware and the already dense deployment of WLAN access points (APs) in urban areas. There are several channel models in the literature to characterize the indoor propagation environment.3–6 In this article, the IEEE 802.11x model is considered because it does not require an accurate floor plan of the indoor scenario and can be implemented without using a third-party software. 7
Empirical and analytical models show that received signal strength (RSS) decreases logarithmically with distance for both indoor and outdoor channels.8–10 This is the basis of the popular path loss model for RSS measurements. This model related the distance between a mobile node and the corresponding AP with the received RSS, being parameterized by the path loss exponent (quantifying the RSS attenuation with respect to distance) and the variance of a random term (modeling shadowing effects). In this article, we consider a two-slope path loss model8,11,12 which extends the classical path loss model to account for the increase in path loss exponent and variance for large distances. The two-slope model can be described by two models which depend on a breakpoint distance value. 11 That is, for distances below the breakpoint, the RSS measurement obeys a first model with a given path loss exponent and variance, and above such breakpoint distance, a second model with its respective parameters. Compared to the path loss model, the two-slope model is able to better capture the complexity of signal propagation at large distances (i.e. above the breakpoint distance) to the AP, thus being more realistic.
In the literature, a plethora of different approaches and methodologies for geolocation and tracking a mobile node is available.1,13,14 Typically, these works assume the one-slope path loss model where the parameters are assumed known, the latter being a strict assumption in real-world applications where the indoor channel model parameters are unknown to a certain extent. Interesting contributions proposed to use a two-model approach in line-of-sight/non-line-of-sight (LOS/NLOS) scenarios for the case of time-of-arrival (TOA)-based localization,15–19 and recently using RSS measurements for geolocation (static user) in outdoor urban scenarios.20,21 Here, we are interested in algorithms that use RSS observations for locating and tracking the mobile node since most of mobile devices are equipped with wireless capability. 12
Indoor RSS-based localization has become a popular solution, but standard techniques still consider a time-invariant signal model with a priori known constant parameters. This standard RSS-based localization problem with known AP positions, a single-slope path loss model and known model parameters, has already been addressed in the literature using data fusion solutions.13,22,23 While some contributions considered the RSS-based localization problem using a single path loss model with unknown parameters,5,21,24–27 the general solution considering the two-slope channel model is an important missing point.
While the single path loss model is adequate in free space propagation, a multi-slope piece-wise linear propagation model appears more suitable in indoor environments and in the presence of strong reflections. 8 This contribution considers the two-slope channel model and proposes a robust indoor localization solution based on a parallel architecture using a set of interacting multiple models (IMMs),28–31 each one involving two extended Kalman filters (EKF) and dealing with the estimation of the distance to a given AP. Within each IMM, the two-slope path loss model parameters are sequentially estimated to provide a robust solution. Finally, the set of distance estimates is fused into a standard EKF-based solution to mobile target tracking.
The benchmarks to evaluate the performance of our IMM-EKF algorithm are the Cramér Rao Lower Bound (CRLB) and the Posterior Cramér Rao Lower Bound (PCRLB) derived in this work to provide a guidance in the improvement of the experimental design. The CRLB is used to assess the estimation of model parameters and the PCRLB the tracking solution. This, combined with a path loss exponent estimation, is a remarkable extension of the preliminary results presented in the work by Castro-Arvizu and colleagues.32,33
The contribution of this article is a completely on-line two-slope channel calibration and, simultaneously, a mobile target tracking algorithm. The performance of the method is assessed through realistic computer simulations and validated real RSS measurements obtained from an experimental test.
The remainder of the article is organized as follows. The mathematical formulation of the system is given in section “System model,” and the problem formulation and main contribution are given in section “Robust indoor localization: the problem.” The proposed technical solution is detailed in section “Adaptive IMM-based robust indoor localization solution.” Illustrative simulations and results with real data are discussed in section “Results,” and section “Conclusion” concludes the article with final remarks.
System model
As already mentioned, the ultimate goal is the sequential localization (i.e. tracking) of a mobile device using RSS measurements from a set of
The proposed position estimation is performed in two steps: (1) estimation of relative distances to the set of visible APs; (2) fusion of these distance measurements into a blended tracking solution. This two-step estimation approach motivates the following general formulation. In this section, the peculiarities of the two-slope RSS model are presented, together with the state-space formulation for the distance estimation problem using RSS measurements and the location determination using distance measures, respectively.
Two-slope RSS measurement model
The widely used model for RSS observations is the path loss model, which is a simple yet realistic model for such measurements. It is parameterized by the path loss exponent (related to the power decay with respect to distance) and the shadowing (i.e. the random propagation effects). However, it has been observed in experimental campaigns that these parameters fluctuate and are indeed distance dependent. As a conclusion, the parameters employed in the traditional path loss model are highly site-specific.34,35 Therefore, in many situations, more sophisticated models should be required.
In this work, an extension of the classical path loss model accounting for two regions of propagation, referred to as the two-slope model,
11
is considered to overcome the practical limitations of the standard case. Path loss is the reduction in signal strength over distance. The path loss depends specifically on the distance between the transmitter (Anchor Point) and the receiver (Mobile Target).
36
Indeed, it has been observed that for far distances (
Under this model, the RSS for the
where
where
Depending on the transmitter/receiver geometrical configuration, the RSS measurements might be distorted from the nominal. This variation (known as shadow fading or log-normal shadowing) can be modeled by an additive zero-mean Gaussian random variable. The notation
State-space formulation:
distance
As previously stated, the proposed strategy to solve the localization problem uses a two-step approach. In the first step (i.e. distance estimation) and for the
where
To complete the state-space representation, the observation vector is defined. In this case, the RSS measurements per AP are precisely the observations used to infer
If the state estimation or filtering problem taking into account this state-space formulation is to be solved using an EKF solution, the following Jacobian matrices of the measurement functions are needed because
Location calculation:
position
The final goal is to sequentially obtain the mobile position. The location calculation is performed using the
Process equation
The state evolution is given by
Observation equation
The relation between distance and position is defined as
where
Robust indoor localization: the problem
In the previous section, the overall system model has been fully described, providing the mathematical formulation needed to come up with a new powerful and robust indoor localization solution. Notice that the first state-space model is parameterized and completely determined by
– –
This article proposes a solution to the generalized robust indoor localization problem, considering a two-slope RSS propagation model and the estimation of the path loss exponents and shadowing of the model. Mathematically, this is expressed as the sequential estimation of
Taking into account the robust filtering problem at hand, the general system model formulation, and the two-step estimation approach, the following points are sequentially treated in the sequel: (1) distance estimation from a set of RSS measures (section “Parallel IMM-based solution for distance estimation”), (2) position estimation from the intermediate distance estimates (section “Position determination”), and (3) model calibration and parameter estimation strategies (section “Maximum likelihood model calibration”). To close the loop, the overall discussion on the complete robust localization solution is given in section “Overall robust IMM-based architecture with ML-based system parameter estimation.”
Adaptive IMM-based robust indoor localization solution
The main concern of this section is to provide a clear answer and the mathematical derivation and solution to the problem stated in the previous section. The first goal is to justify the reasoning behind the use of an IMM-based approach to solve the distance estimation problem from a set of
Parallel IMM-based solution for distance estimation
The first approach that comes to mind to solve the distance determination problem is the use of a traditional filtering solution, such as the EKF, where the observation accounts for the full set of RSS measurements
The key idea behind the IMM is to use a bank of

IMM architecture algorithm at instant
At each discrete-time instant
Step

Two-state Markov switching model.
Notice that in its standard form, both the two-slope model parameters and the process noise variance, gathered in vector
The adaptive estimation of the two-slope model parameters to obtain a robust filtering solution is provided in section “Maximum likelihood model calibration,” together with the discussion on how to set
The error covariance matrix has an initial value assigned as
The two-state Markov transition probability matrix of model switching in the proposed algorithm is for each AP
The initial model probabilities are set to
Position determination
At each time step
The EKF-based position estimation is sketched in Algorithm 2. Notice that the measurement Jacobian matrix in equation (7) is evaluated at the predicted state to obtain a linear formulation, thus,
The measurement noise covariance can be set according to the output of the individual IMM filters. The measurement noise accounts for possible errors or observation noise, but the set of measurements used in the position determination is the set of estimated distances. The error on the estimation of the distance within the IMM is given by the estimation error covariance matrix, which for each AP is
The error covariance matrix has an initial value assigned as
The initial value state vector for the filter is
EKF formulation for position determination.
Maximum likelihood model calibration
In the previous paragraphs, the proposed two-step state estimation solution has been derived, first providing an intermediate distance estimate using a bank of
This section presents the estimation strategies for the two-slope model calibration together with the theoretical derivation of the ML (maximum likelihood) parameter estimators for
The process noise variance for the distance estimation problem,
The breakpoint distance indicates the change in models in the path loss model. An off-line Bayesian approach for the
In the two-slope model (1), the RSS measurements may come from the first equation modeling the propagation for close distances (called
In the proposed methodology, each IMM inherently treats this model uncertainty by computing the model likelihood from the innovations of each KF. For each AP
MLEs for
In the following, the MLEs for the close distance (
The expressions for the estimators are herein provided, the reader is referred to Appendix 1 for the complete derivation. For the
Using this subset and assuming a known distance to the
MLEs for
Following the same procedure but using the second model subset of RSS measurements, the MLEs of
For the
Using this subset and assuming a known distance to the
and the MLEs
For the MLEs of both models, there are two issues to account for. First, notice that in practice, the true distance to the
Second, two ML estimates exist for
Overall robust IMM-based architecture with ML-based system parameter estimation
This subsection summarizes the overall system. A diagram of the interconnection of elements can be consulted in Figure 3.

Overall system architecture of the proposed IMM algorithm with parameter estimation.
The main goal of the proposed method is to use the proposed IMM-EKF algorithm to sequentially estimate both the two-slope path loss model parameters and the mobile target position. Notice that in practice, these parameters are typically found after a scene analysis and the posterior linear regression on a semilogarithmic scale.3,10,34,35,37,39 To avoid this off-line site-dependent procedure, the proposed solution performs the on-line parameter estimation within the IMM architecture.
In general, the IMM is capable of dealing with model transition, which are modeled as a two-state Markov jump process, being used to filter the distance measurements. The state
Evaluation of the IMM-based robust indoor localization algorithm with real data
This section evaluates the proposed algorithms (calibration and distance filtering) with real RSS measurements.
Experimental setup
The measurements were obtained in a real office environment as shown in Figure 14 in a NLOS scenario. The architectural plan is the second floor of a typical multi-story office building with drywall and wood wall panelings reinforced with aluminum bars. These RSS measurements were used for the model calibration and distance estimation also. For the tracking task, two algorithms were employed: an algorithm using an EKF modeled with the classical one-slope model and another with our proposed IMM-EKF algorithm.
The mobile path is a test-bed used to collect the RSS measurements that includes a
Hardware description
The ranging/positioning payload is a development board with multiple connections where ranging and positioning algorithms can be easily implemented. The RaspberryPi board is the model B with a Universal Serial Bus (USB) WiFi card (IEEE 802.11n, 802.11g, 802.11b). The RaspberryPi board has a Central Processing Unit (CPU) ARM11 @700 MHz featuring with a floating point Arithmetic Logic Unit (ALU), Ethernet, ALU 2.0, I2C bus, a serial port and general-purpose input/outputs (GPIOs), a Linux Operative System (debian-based distribution), and a dedicated high-definition camera connector. The positioning payload is a cheap and easy-to-use system that allows WiFi RSS reading with a CPU power (similar to an entry level smartphone).
The overall system consists of the ranging/positioning payload and the data base. The RaspberryPi microcontroller sends the RSS measurements to the data base of the server. In Figure 4, a schematic of the overall system is presented where the ranging/positioning payload reads RSS WiFi measurements employing a TL-WN722N WiFi card (from TP-LINK manufacturer).

Connection diagram of the experimental system.
An integrated navigation information system must continuously know the current position with a good precision, and thus, a model is needed to measure the real position. The chosen model is a four-wheel Robot that is capable of performing a programmed trajectory through waypoints. The main board features an Arduino Platform. Arduino is an open-source platform and consists of a physical programmable circuit board (often referred to as a microcontroller) and an IDE (Integrated Development Environment) based in C++ language programming and used for software loading in the board. The initial value for
Results
In section “Simulation results,” the results of the IMM-EKF algorithm were obtained with synthetic signal and in section “Validation with real data” with real data.
Simulation results
The method proposed in this work was validated by computer simulations in a scenario depicted in Figure 5 that could be considered as a realistic scenario and where the number of APs (

Plot of scenario with real and estimated path of the mobile target, for one realization.
First, a batch of simulations for a single realization of the method is shown which allows us to comment details, as well as to provide some insights and intuition regarding the operation of the proposed method. Second, Monte Carlo simulations were performed to evaluate the root mean square error (RMSE) performance of our method, compared to other comparative solutions. Namely, we compared our method (termed in the legends as IMM-MLE) with the same IMM architecture able to track the node under the two switching models but with known model parameters, in which case the MLEs are not required since the true values were set. Also, we compared the solution to a standard EKF-based algorithm considering that all observations obey
For a single realization, the distances estimated compared with the real ones with respect to every AP along the simulation duration are shown in Figure 6. For better understanding of these results, the

Real and estimated distance of the mobile target to every AP.
In the situation where the mobile node is close to the breakpoint distance (i.e. the border for the two-slope model), the model probabilities

Estimated distance according to probability performance
Figures 8 and 9 show the MLE of the model parameters for AP


The RMSE performance was evaluated and compared to the benchmark methods detailed earlier. Figure 10 shows the average RMSE of distance estimation over all six APs. Figure 11 shows the corresponding RMSE and PCRLB of position estimation, the latter computed recursively as in Tichavsky et al.
40
From these figures, it is highlighted that our robust indoor localization method has good accuracy when compared to a method that has full knowledge of the model parameters. Clearly, the standard method (optimally designed to operate on

Average RMSE performance of the distance estimation between the mobile target and every AP.

RMSE performance of position estimation.

Parameter estimation performance. RMSE of the estimation of the four parameters for AP 5 compared with CRLB derived in Castro-Arvizu et al. 32
Finally, we performed some sensitivity tests of the proposed method to deviations from the assumed model parameters. Namely, the designed robust algorithm does not estimate

RMSE position estimation performance considering the impact of an overestimated and underestimated value of
Validation with real data
The IMM-EKF algorithm was implemented to estimate the distance to the AP in an NLOS environment as shown in Figure 14. The error between the estimated distance and the real mobile target position per every distance interval is shown in Figure 15 for all deployed APs. To verify the accuracy of our algorithm, the distance estimation was also computed with an EKF modeled with the classical one-slope model only. From this figure, it is notable that for large distances, the IMM-EKF algorithm has a best performance than just considering the classical path loss model only.

Office map. Anchor point locations and mobile path are marked. The real

Error for distance estimation for every AP.
The mobile path tracking is shown in Figure 14 and the distance estimation error to every AP can be seen in Figure 15. With real RSS measurements and an on-line channel parameterization, the implementation of the IMM-EKF algorithm has a good consistency in positioning terms that can be demonstrated in Figure 16.

Error for position estimation.
For the sake of comparison, Figure 17 shows the error cumulative distribution function (CDF). Our EKF-IMM algorithm gives an improvement of 53.15

Error cumulative distribution function using EKF-IMM-based algorithm or a EKF modeled with the classical one-slope model only.
Conclusion
Mobile location via RSS measurements has been formulated as a switching nonlinear state-space problem, accounting for realistic conditions where RSS measurements were seen to follow two propagation models depending on the relative distance to the reference nodes. This work proposed a robust IMM-EKF algorithm, including an on-line ML estimation procedure to sequentially adapt the model parameters. Using the model likelihood functions, the proposed method provides accurate distance estimates between the mobile and each anchor point, which are used for position tracking. Simulation results under realistic WLAN scenarios showed that the proposed IMM-EKF algorithm provides both a good mobile estimation and channel calibration, and much better performance compared to the state-of-the-art techniques. An analysis of the breakpoint distance sensitivity was made in this work but as future work, an on-line breakpoint distance estimation is proposed as well as an NLOS/LOS algorithm identifier.
