Abstract
1. Introduction
GPS and other GNSS technologies work well outdoors but
degrade sharply indoors. Roofs, walls, brickwork, structural elements, and
metallic interior fixtures attenuate signals below the sensitivity threshold of
common receivers and introduce severe multipath distortion, limiting accuracy
to tens of meters [1], [3]. At the same time, applications such as navigation
in public buildings, warehouses, and factory floors, asset and worker tracking,
and location-based personalized services demand accuracy on the order of meters
or better [6]. Indoor Positioning Systems (IPS) research has, for decades,
sought to close this gap with an indoor equivalent of outdoor GNSS [3], [5],
[6].
IPS approaches are generally grouped into three
categories: (i) finger printing systems, which record the radio environment at
a set of known reference points and match new observations against this map
[1], [2]; (ii) geometric (model-based) systems, which convert a
signal-propagation characteristic (strength, time of flight, phase, or angle of
arrival) into a distance estimate and then triangulate or multilaterate the
user’s position [7]–[9]; and (iii) infrastructure-dependent systems, which rely
on dedicated beacons — Ultra-Wideband (UWB), Bluetooth Low Energy (BLE),
ultrasound, or visible light — and purpose-installed anchors [4], [10], [11].
Fingerprinting can achieve sub-two-meter precision but requires an extensive
site survey that must be repeated whenever the radio environment changes;
beacon-based systems are accurate but add installation and maintenance cost.
Without additional hardware, the 802.11 Access Points (APs) already present in
most buildings offer an attractive alternative, since the RSSI reported for
frames from each AP inherently carries information about the sender’s distance
[3].
The difficulty is that RSSI is a noisy proxy for
distance: a given distance can produce a wide range of observed RSSI values due
to multipath interference, obstacles, and body shadowing that absorb, diffract,
and reflect the signal. Feeding raw RSSI directly into a path-loss model and
inverting it yields range estimates with very large variance, which in turn
causes trilateration errors of many meters [7], [10]. This work addresses that
problem with an empirically calibrated path-loss model, a lightweight Kalman
filter that smooths the sequence of measured RSSI values before ranging, and a
weighted least-squares formulation that down-weights the contribution of noisy
or distant access points.
This paper makes three main contributions:
(1) We present a site-calibration procedure for the
log-distance path-loss model that fits the reference RSSI at 1 m and the
path-loss exponent from on-site measurements, rather than relying on generic
textbook values.
(2) We formulate a scalar Kalman filter that smooths
measured RSSI values, reducing the effective ranging noise seen by the
localization stage without requiring a motion model for the moving device.
(3) We design a weighted multilateration method whose
weights are the inverse of each range estimate’s uncertainty, analytically
propagated from RSSI measurement noise through the path-loss model, so that
noisier or more distant APs contribute less to the position estimate.
We quantitatively evaluate the full pipeline on a
six-AP office testbed, comparing it against unfiltered trilateration and a
conventional fingerprinting baseline.
The remainder of this paper is organized as follows. Section II reviews related indoor positioning work. Section III describes the system architecture. Section IV presents the RSSI-to-distance estimation and Kalman filtering stages, and Section V introduces the weighted multilateration method. Section VI details the experimental testbed, and Section VII discusses the evaluation results. Section VIII concludes the paper and outlines future research directions.
II. RELATED WORK
Many WLAN-based indoor localization systems are built
on the fingerprinting technique. Bahl and Padmanabhan [1] developed RADAR, the
first such system, which constructs an offline radio map from RSSI measurements
and applies nearest-neighbor matching to localize the user to within a few
meters inside office buildings. Youssef and Agrawala later improved this
approach with Horus [2], which incorporates a probabilistic model of the RSSI
distribution at each anchor point and compensates for small-scale fading,
achieving sub-meter accuracy at the cost of a substantially denser and more
effortful radio-map survey.
Comprehensive surveys of WLAN localization techniques
— covering triangulation, scene-analysis (fingerprinting), and proximity-based
approaches, and evaluating accuracy, cost, robustness, and deployment effort —
can be found in [3] and [5]. A more recent survey by Yang et al. [6] extends
this comparison and introduces newer filtering methods, including Bayesian and
machine-learning-based position correction applied on top of traditional
geometric methods.
A second family of techniques, model-based ranging,
converts a physical quantity such as RSSI into a distance estimate via a
propagation model, then computes position by trilateration or multilateration
from the resulting distances to multiple anchors. As an initial example,
Priyantha et al. proposed the Cricket system, which measures time-of-flight
(TOF) using ultrasonic ranging, demonstrating the effectiveness of geometric
position computation from multi-anchor distance measurements [4]; this general
geometric approach was later adopted by RSSI-based systems.
References [7] and [8] apply the log-distance path-loss model to RSSI-based ranging and highlight the sensitivity of the estimated path-loss exponent to the resulting 1–3 m ranging accuracy. Reference [9] incorporates a Taylor-series-based nonlinear solver to optimize RSSI-based range estimates, achieving a substantial accuracy gain over unfiltered trilateration. RSSI fluctuation over short time scales is a well-known problem, and several works address it with filtering prior to ranging.
References [10] and [11] apply a Kalman filter to BLE RSSI signals prior to weighted trilateration, reporting 90th-percentile accuracies of about 1.8 m and sub-meter, respectively. Although these systems target BLE beacons rather than Wi-Fi APs, they show that (i) RSSI smoothing and (ii) reliability-based AP weighting are key to accurate range-based positioning, regardless of the underlying radio technology. Building on this insight, this paper applies Kalman filtering and weighted multilateration, as used in [9]–[11], to a Wi-Fi AP deployment [14]. Here, we derive a variance-propagation rule for the weights directly from the path-loss exponent and compare the resulting method against filtered trilateration and fingerprinting on an identical experimental testbed.
III. SYSTEM ARCHITECTURE
Fig. 1 depicts the architecture of the proposed indoor
positioning system, comprising four functional layers on top of an established
802.11 Wi-Fi network. (I) The mobile device (e.g., a smartphone or dedicated
tag) periodically transmits probe or data frames toward nearby access points;
each radio-connected AP independently measures the RSSI of the frames it
receives.
(II) The set of AP RSSI observations, together with the corresponding AP IDs and timestamps, is reported to a lightweight server over the existing network infrastructure.
(III) The server pre-processes the RSSI input (Section IV), applying filtering and converting RSSI to distance using a trained path-loss model. (IV) The positioning engine estimates the device’s location via weighted multilateration from the resulting set of range estimates and the known AP locations. The final 2-D position is delivered to client applications (e.g., an indoor map app) through a server-based API, such as a Web Socket or REST endpoint.
Fig. 1. Architecture of the proposed AP-based indoor positioning system.
Two additional features of this architecture are worth noting. First, because ranging relies on signal strength rather than time-of-arrival, tight synchronization between access points is not required, making the system easier to deploy than time-of-flight systems. Second, because AP locations are fixed and surveyed once during setup, adding positioning capability to an existing Wi-Fi network incurs only the cost of the positioning server software — no special clients or anchors are needed. A minimum of three APs with a usable signal is required to guarantee an accurate 2-D position; as described in Section V, the algorithm uses all APs currently in range, typically 3–6 in the experimental setup of Section VI.
IV.
RSSI-BASED DISTANCE ESTIMATION
A. Log-Distance
Path-Loss Model
In an indoor environment, the relationship between received signal power and the distance between a transmitter and receiver is commonly modeled using the log-distance path-loss model [13], [14]:
Here d is the actual distance between the mobile device and the AP, d0 is a reference distance (typically 1 m), RSSI(d0) is the RSSI measured at d0, and n is the path-loss exponent, which reflects the signal attenuation of the propagation environment (typical values range from about 2, for an open office, to above 4, for cluttered spaces divided by multiple walls). Xσ represents shadow fading: an additive, zero-mean Gaussian random process whose variance depends on location. The site-specific reference value RSSI(d0) and exponent n were obtained by fitting (1) to RSSI samples collected at multiple known distances from the APs; the calibration results are shown in Fig. 2.
Fig. 2. Measured RSSI samples and the fitted log-distance path-loss
model.
Inverting (1) gives the distance estimate
corresponding to an observed RSSI value:
B. RSSI Smoothing via Kalman Filtering
Because the shadow-fading term Xσ in (1) can span several decibels between consecutive samples, directly inverting raw RSSI produces range estimates with unacceptably high variance. Since the true RSSI of a stationary or slowly moving device changes little over the sub-second timescale between successive beacons, a scalar Kalman filter can track it well without requiring a full motion model. Treating the (unknown) RSSI as the state x, the prediction step is
Q is the process-noise variance, chosen close to zero to reflect the assumption that the true RSSI does not change appreciably across the filtering window. R is the measurement-noise variance, estimated from the sample variance of raw RSSI captured during calibration. The filtered estimate x̂k|k is then substituted for RSSI in (2) prior to ranging. As shown empirically in Section VII, this reduces the standard deviation of the RSSI stream by nearly a factor of three (from ∼3 dB to ∼1 dB), which translates directly into a proportional decrease in range error via the sensitivity relationship in Section V-B.
V.
POSITIONING ALGORITHM: WEIGHTED MULTILATERATION
Fig. 3. Trilateration using range estimates from three access points.
B. Variance-Aware
Weighting
Because more than three APs are typically in range, (7) is over-determined; we solve it via weighted least squares so that low-quality range estimates — arising from weak or highly variable RSSI — contribute little to the final position:
where W = diag(w1, …, wN−1) and each weight is the inverse variance of the corresponding range estimate,
Equation (10) shows that range uncertainty grows linearly with estimated distance, so the weighting favors nearer, more confident APs over farther ones with the same RSSI noise. APs whose current RSSI noise exceeds a fixed threshold (indicating a very noisy or intermittently blocked link) are excluded from A and b, providing a simple mechanism for rejecting severe NLOS conditions.
VI.
EXPERIMENTAL SETUP
The test was performed on a 20 m × 15 m office floor
with drywall partitions, glass-walled meeting rooms, and typical office
furniture. Six 802.11ac dual-band access points were mounted at a height of 2.7
m, and their positions were surveyed relative to a common origin using a laser
measure. RSSI values from all visible APs were collected roughly every 500 ms
using an off-the-shelf Android smartphone, via its built-in Wi-Fi scan feature,
held at typical chest height. Forty test points were pre-defined on a 1.5 m
grid across the floor; at each point, 30 s of AP RSSI data were logged while
ground-truth coordinates were recorded independently. A disjoint subset of
points was used to calibrate the path-loss model (Section IV-A), and the
remaining points were reserved for evaluating positioning accuracy, with no
overlap between the two sets.
Table I summarizes the key testbed parameters, along with the three methods compared in Section VII: the proposed WLS multilateration over Kalman-filtered RSSI, basic trilateration over unfiltered RSSI, and a standard kNN fingerprinting method used as a reference baseline.
TABLE I: Experimental Parameters
VII.
RESULTS AND DISCUSSION
A. Overall Positioning
Accuracy
Table II reports the mean, median, and 90th-percentile
positioning error (PPE) of the proposed pipeline against the baselines from
Section VI, averaged over all test points. Fig. 4 shows the results as
empirical cumulative distribution functions (CDFs) of per-point PPE.
Fig. 4. CDF of positioning error for the proposed method versus
baselines.
The proposed pipeline improves mean positioning
accuracy by approximately 34% relative to unfiltered trilateration and by
approximately 17% relative to fingerprinting; its 90th-percentile error of 2.8
m is close to the 3 m target. Kalman filtering accounts for over half of the
improvement over raw trilateration: by reducing the RSSI standard deviation
from about 3 dB to about 1 dB, it scales the range-estimate uncertainty down by
nearly a factor of three, as implied by the sensitivity relationship in (10),
which in turn sharpens the multilateration solution. The variance-weighted
approach in (8)–(9) contributes an additional benefit by de-emphasizing APs
affected by NLOS conditions or intermittent links, an effect most visible at
test points near the edge of AP coverage.
B.
Effect of the Number of Access Points
Restricting the positioning engine to the three strongest APs at each test point — rather than all APs currently in range — increased the mean error of the proposed approach from 1.9 m to about 2.6 m, showing that additional, independent range estimates continue to help beyond the three-anchor geometric minimum. The incremental benefit of additional anchors diminishes beyond about 5–6 APs in range, consistent with the diminishing returns reported for weighted multilateration in [9] and [10].
C. Comparison with
the Literature and Limitations
The error metrics obtained here are broadly consistent
with published RSSI-based indoor positioning results: fingerprinting systems
typically report median errors of 1–3 m at the cost of a dedicated radio-map
survey [1], [2], [6]; weighted-trilateration-plus-Kalman systems using BLE have
reported 90th-percentile errors around 1.8 m under favorable, clutter-free
conditions [10]; and specialized UWB anchor systems can achieve sub-30 cm
accuracy but rely on dedicated infrastructure outside the scope of this work
[5]. AP-based positioning occupies an intermediate position between these
approaches, trading some accuracy relative to dedicated-anchor systems for zero
additional infrastructure cost, since it reuses APs already deployed for data
networking.
Several limitations affect the achievable accuracy of
the proposed pipeline. Severe multipath and NLOS conditions — for example, near
metal cabinets or glass partitions — occasionally produce range estimates
inconsistent with the log-distance model even after filtering (Fig. 4), forming
the long tail of the error distribution. Body shadowing, which depends on how
the device is carried, was not modeled explicitly and adds to the noise
captured by the shadow-fading term X in (1). Finally, the path-loss exponent n
was calibrated as a single, site-wide value (Table I) rather than per room or
per AP; a finer-grained calibration could likely reduce error further but was
outside the scope of this study.
Conclusion
This paper has presented an indoor positioning system that estimates a mobile user’s location from RSSIs reported by existing Wi-Fi access points, requiring neither dedicated ranging infrastructure nor an offline radio-map survey. By combining a site-calibrated log-distance path-loss model, a scalar Kalman filter for RSSI smoothing, and a variance-aware weighted least-squares multilateration algorithm, the system achieves a mean positioning error below 1.9 m and a 90th-percentile error below 3 m on a six-AP office testbed. It outperforms both unfiltered trilateration and a conventional fingerprinting approach evaluated on the same data, while requiring far less deployment overhead than fingerprinting or dedicated-anchor systems such as UWB. Several avenues could further improve accuracy and robustness. First, replacing the single, site-wide path-loss exponent with a per-room or per-AP parameter — adapted online via recursive regression or a lightweight neural network — would reduce residual model mismatch and further improve accuracy, as suggested by the discussion in Section VII-C. Second, fusing AP-based RSSI ranging with inertial measurements (e.g., pedestrian dead reckoning from the device’s built-in IMU) via an extended or unscented Kalman filter could improve both trajectory smoothness and robustness to transient NLOS errors. Third, incorporating RSSI from both the 2.4 GHz and 5 GHz bands, or round-trip-time measurements from 802.11mc-capable APs, would provide an additional, largely uncorrelated ranging source, helping the weighted multilateration converge more reliably and further reducing error. Fourth, a systematic ablation study — comparing unfiltered/unweighted trilateration, Kalman-only, weighting-only, and the full combined pipeline under identical conditions — would quantify precisely how much of the accuracy gain is attributable to RSSI smoothing versus variance-aware weighting, complementing the qualitative attribution given in Section VII-A. Beyond these directions, extending the algorithm to three dimensions and validating it on a larger testbed using crowdsourced rather than manually surveyed ground truth would improve its practicality for commercial deployment in large spaces.
References
[1] P. Bahl and V. N. Padmanabhan, “RADAR:
An in-building RF-based user location and tracking system,” in Proc. IEEE
INFOCOM 2000, Tel Aviv, Israel, Mar. 2000, vol. 2, pp. 775–784.
[2] M. Youssef and A. Agrawala, “The
Horus WLAN location determination system,” in Proc. 3rd Int. Conf. Mobile
Systems, Applications, and Services (MobiSys), 2005, pp. 205–218.
[3] H. Liu, H. Darabi, P. Banerjee, and
J. Liu, “Survey of wireless indoor positioning techniques and systems,” IEEE
Trans. Syst., Man, Cybern. C, Appl. Rev., vol. 37, no. 6, pp. 1067–1080, Nov.
2007.
[4] N. B. Priyantha, A. Chakraborty,
and H. Balakrishnan, “The Cricket location-support system,” in Proc. 6th Annual
Int. Conf. Mobile Computing and Networking (MobiCom), 2000, pp. 32–43.
[5] Y. Gu, A. C. C. Lo, and I. G.
Niemegeers, “A survey of indoor positioning systems for wireless personal
networks,” IEEE Commun. Surveys Tuts., vol. 11, no. 1, pp. 13–32, 1st Quarter
2009.
[6] T. Yang, A. Cabani, and H. Chafouk,
“A survey of recent indoor localization scenarios and methodologies,” Sensors,
vol. 21, no. 23, art. 8086, Dec. 2021.
[7] D. J. Suroso, M. Arifin, and P.
Cherntanomwong, “Distance-based indoor localization system utilizing general
path loss model and RSSI,” J. Robotics and Control, vol. 1, no. 6, pp. 199–205,
Nov. 2020.
[8] M. Phunthawornwong, E. Pengwang,
and R. Silapunt, “Indoor location estimation of wireless devices using the
log-distance path loss model,” in Proc. IEEE Region 10 Conf. (TENCON), 2018,
pp. 499–502.
[9] B. Yang, L. Guo, R. Guo, M. Zhao,
and T. Zhao, “A novel trilateration algorithm for RSSI-based indoor
localization,” IEEE Sensors J., vol. 20, no. 14, pp. 8164–8172, Jul. 2020.
[10] V. Cantón Paterna, A. Calveras
Augé, J. Paradells Aspas, and M. A. Pérez Bullones, “A Bluetooth Low Energy
indoor positioning system with channel diversity, weighted trilateration and
Kalman filtering,” Sensors, vol. 17, no. 12, art. 2927, Dec. 2017.
[11] C. S. Mouhammad, A. Allam, M.
Abdel-Raouf, E. Shenouda, and M. Elsabrouty, “BLE indoor localization based on
improved RSSI and trilateration,” in Proc. 7th Int. Japan-Africa Conf.
Electronics, Communications and Computations (JAC-ECC), 2019, pp. 17–21.
[12] R. E. Kalman, “A new approach to
linear filtering and prediction problems,” J. Basic Eng., vol. 82, no. 1, pp.
35–45, 1960.
[13] T. S. Rappaport, Wireless
Communications: Principles and Practice, 2nd ed. Upper Saddle River, NJ, USA:
Prentice Hall, 2002.
[14] IEEE Standard for Information
Technology—Telecommunications and Information Exchange between Systems—Local
and Metropolitan Area Networks—Specific Requirements—Part 11: Wireless LAN MAC
and PHY Specifications, IEEE Std 802.11-2016, 2016.