Search
2026 Volume 18
Article Contents
ORIGINAL RESEARCH ARTICLE   Open Access    

Enhanced indoor UAV UWB localization algorithm based on outlier removal and an improved iterative ensemble Kalman filter

More Information
  • This paper presents a robust two-dimensional indoor UAV localization framework based on ultra-wideband (UWB) ranging. The method is designed for unreliable indoor ranging conditions, where abnormal measurements caused by multipath propagation, non-line-of-sight effects, and dynamic occlusion may degrade conventional filtering methods. The proposed framework consists of a local-Tukey-reweighting-based multi-channel outlier removal module and an improved iterative ensemble Kalman filter (IEnKF) backend. The front-end module suppresses anchor-dependent abnormal ranges before state estimation, while the backend improves recursive localization robustness through innovation-driven process covariance adaptation, channel-aware measurement covariance construction, and damped iterative ensemble analysis. Experiments with a four-anchor indoor UWB setup show that the proposed method reduces the reference-point RMSE from the best competing baseline result of 0.1588 to 0.1451 m, while achieving better trajectory consistency than the representative baseline filtering methods. The results indicate that the proposed framework provides a lightweight and effective solution for robust planar indoor UAV localization under unreliable UWB ranging conditions.
  • 加载中
  • [1] Hsu LT, Gu Y, Kamijo S. 2015. NLOS correction/exclusion for GNSS measurement using RAIM and city building models. Sensors 15(7):17329−17349 doi: 10.3390/s150717329

    CrossRef   Google Scholar

    [2] Davidson P, Piché R. 2017. A survey of selected indoor positioning methods for smartphones. IEEE Communications Surveys & Tutorials 19(2):1347−1370 doi: 10.1109/COMST.2016.2637663

    CrossRef   Google Scholar

    [3] Morgan AA. 2024. On the accuracy of BLE indoor localization systems: an assessment survey. Computers and Electrical Engineering 118:109455 doi: 10.1016/j.compeleceng.2024.109455

    CrossRef   Google Scholar

    [4] Scaramuzza D, Fraundorfer F. 2011. Visual odometry [tutorial]. IEEE Robotics & Automation Magazine 18(4):80−92 doi: 10.1109/MRA.2011.943233

    CrossRef   Google Scholar

    [5] Hrishikeshavan V, Chopra I. 2017. Refined lightweight inertial navigation system for micro air vehicle applications. International Journal of Micro Air Vehicles 9(2):124−135 doi: 10.1177/1756829316682534

    CrossRef   Google Scholar

    [6] Liu J, Zhang L, Xu J, Shi J. 2024. Dynamic feasible region-based IMU/UWB fusion method for indoor positioning. IEEE Sensors Journal 24(13):21447−21457 doi: 10.1109/JSEN.2024.3398789

    CrossRef   Google Scholar

    [7] An X, Zhao S, Cui X, Liu G, Lu M. 2022. Robust vehicle positioning based on multi-epoch and multi-antenna TOAs in harsh environments. IEEE Transactions on Intelligent Transportation Systems 23(11):21074−21089 doi: 10.1109/TITS.2022.3190023

    CrossRef   Google Scholar

    [8] Pak JM, Ahn CK, Shi P, Shmaliy YS, Lim MT. 2017. Distributed hybrid particle/FIR filtering for mitigating NLOS effects in TOA-based localization using wireless sensor networks. IEEE Transactions on Industrial Electronics 64(6):5182−5191 doi: 10.1109/TIE.2016.2608897

    CrossRef   Google Scholar

    [9] Wang F, Tang H, Chen J. 2023. Survey on NLOS identification and error mitigation for UWB indoor positioning. Electronics 12(7):1678 doi: 10.3390/electronics12071678

    CrossRef   Google Scholar

    [10] Vilà-Valls J, Closas P. 2017. NLOS mitigation in indoor localization by marginalized Monte Carlo Gaussian smoothing. EURASIP Journal on Advances in Signal Processing 2017(1):62 doi: 10.1186/s13634-017-0498-4

    CrossRef   Google Scholar

    [11] Türkler L, Akkan LÖ. 2025. Noise reduction techniques for sensor data: comparative analysis of Kalman, butterworth, savitzky-golay, Median, and moving average filters for UWB-based position estimation. Celal Bayar Ü niversitesi Fen Bilimleri Dergisi [Celal Bayar University Journal of Science] 21(4):146−159 doi: 10.18466/cbayarfbe.1682594

    CrossRef   Google Scholar

    [12] Liu J, Gao Z, Li Y, Lv S, Liu J, et al. 2024. Ranging offset calibration and moving average filter enhanced reliable UWB positioning in classic user environments. Remote Sensing 16(14):2511 doi: 10.3390/rs16142511

    CrossRef   Google Scholar

    [13] Jiang C, Chen S, Chen Y, Liu D, Bo Y. 2020. An UWB channel impulse response de-noising method for NLOS/LOS classification boosting. IEEE Communications Letters 24(11):2513−2517 doi: 10.1109/LCOMM.2020.3009659

    CrossRef   Google Scholar

    [14] Nguyen DTA, Lee HG, Jeong ER, Lee HL, Joung J. 2020. Deep learning-based localization for UWB systems. Electronics 9(10):1712 doi: 10.3390/electronics9101712

    CrossRef   Google Scholar

    [15] Luo Q, Yang K, Yan X, Li J, Wang C, et al. 2022. An improved trilateration positioning algorithm with anchor node combination and K-means clustering. Sensors 22(16):6085 doi: 10.3390/s22166085

    CrossRef   Google Scholar

    [16] He S, Dong X, Lu WS. 2017. Localization algorithms for asynchronous time difference of arrival positioning systems. EURASIP Journal on Wireless Communications and Networking 2017(1):64 doi: 10.1186/s13638-017-0851-1

    CrossRef   Google Scholar

    [17] Chan YT, Ho KC. 1994. A simple and efficient estimator for hyperbolic location. IEEE Transactions on Signal Processing 42(8):1905−1915 doi: 10.1109/78.301830

    CrossRef   Google Scholar

    [18] Xie C, Fang X, Yang X. 2024. Improved Kalman filtering algorithm based on levenberg–marquart algorithm in ultra-wideband indoor positioning. Sensors 24(22):7213 doi: 10.3390/s24227213

    CrossRef   Google Scholar

    [19] Li B, Hao Z, Dang X. 2019. An indoor location algorithm based on Kalman filter fusion of ultra-wide band and inertial measurement unit. AIP Advances 9(8):085210 doi: 10.1063/1.5117341

    CrossRef   Google Scholar

    [20] Liu Z, Zhan J, Ju T, Cao Z, Yang B, et al. 2024. TDOA based extended Kalman filter fusion approach for UAV localization in GPS-denied environment. 2024 4th International Conference on Artificial Intelligence, Robotics, and Communication (ICAIRC), 27−29 December, 2024, Xiamen, China. USA: IEEE. pp. 664−669 doi: 10.1109/icairc64177.2024.10900332
    [21] Evensen G. 2003. The Ensemble Kalman Filter: theoretical formulation and practical implementation. Ocean Dynamics 53(4):343−367 doi: 10.1007/s10236-003-0036-9

    CrossRef   Google Scholar

    [22] Sakov P, Haussaire JM, Bocquet M. 2018. An iterative ensemble Kalman filter in the presence of additive model error. Quarterly Journal of the Royal Meteorological Society 144(713):1297−1309 doi: 10.1002/qj.3213

    CrossRef   Google Scholar

    [23] Berry T, Sauer T. 2013. Adaptive ensemble Kalman filtering of non-linear systems. Tellus A: Dynamic Meteorology and Oceanography 65(1):20331 doi: 10.3402/tellusa.v65i0.20331

    CrossRef   Google Scholar

    [24] Raanes PN, Bocquet M, Carrassi A. 2019. Adaptive covariance inflation in the ensemble Kalman filter by Gaussian scale mixtures. Quarterly Journal of the Royal Meteorological Society 145(718):53−75 doi: 10.1002/qj.3386

    CrossRef   Google Scholar

    [25] Tao Y, Kang J, Yau SST. 2023. Maximum correntropy ensemble Kalman filter. 2023 62nd IEEE Conference on Decision and Control (CDC), 13−15 December, 2023, Singapore, Singapore. USA: IEEE. pp. 8659−8664 doi: 10.1109/cdc49753.2023.10384142
    [26] Zhao M, Zhang T, Wang D. 2022. A novel UWB positioning method based on a maximum-correntropy unscented Kalman filter. Applied Sciences 12(24):12735 doi: 10.3390/app122412735

    CrossRef   Google Scholar

    [27] Dong J, Lian Z, Xu J, Yue Z. 2023. UWB localization based on improved robust adaptive cubature Kalman filter. Sensors 23(5):2669 doi: 10.3390/s23052669

    CrossRef   Google Scholar

    [28] Zhao W, Goudar A, Schoellig AP. 2022. Finding the right place: sensor placement for UWB time difference of arrival localization in cluttered indoor environments. IEEE Robotics and Automation Letters 7(3):6075−6082 doi: 10.1109/lra.2022.3165181

    CrossRef   Google Scholar

    [29] Zhao W, Panerati J, Schoellig AP. 2021. Learning-based bias correction for time difference of arrival ultra-wideband localization of resource-constrained mobile robots. IEEE Robotics and Automation Letters 6(2):3639−3646 doi: 10.1109/LRA.2021.3064199

    CrossRef   Google Scholar

    [30] Li J, Bi Y, Li K, Wang K, Lin F, et al. 2018. Accurate 3D localization for MAV swarms by UWB and IMU fusion. 2018 IEEE 14th International Conference on Control and Automation (ICCA), 12−15 June, 2018, Anchorage, AK. USA: IEEE. pp. 100−105 doi: 10.1109/ICCA.2018.8444329
  • Cite this article

    Wang S, Cai Q, Lin F, Li J, Yang Q, et al. 2026. Enhanced indoor UAV UWB localization algorithm based on outlier removal and an improved iterative ensemble Kalman filter. International Journal of Micro Air Vehicles 18: e011 doi: 10.48130/mav-0026-0011
    Wang S, Cai Q, Lin F, Li J, Yang Q, et al. 2026. Enhanced indoor UAV UWB localization algorithm based on outlier removal and an improved iterative ensemble Kalman filter. International Journal of Micro Air Vehicles 18: e011 doi: 10.48130/mav-0026-0011

Figures(10)  /  Tables(9)

Article Metrics

Article views(107) PDF downloads(27)

ORIGINAL RESEARCH ARTICLE   Open Access    

Enhanced indoor UAV UWB localization algorithm based on outlier removal and an improved iterative ensemble Kalman filter

International Journal of Micro Air Vehicles  18 Article number: e011  (2026)  |  Cite this article

Abstract: This paper presents a robust two-dimensional indoor UAV localization framework based on ultra-wideband (UWB) ranging. The method is designed for unreliable indoor ranging conditions, where abnormal measurements caused by multipath propagation, non-line-of-sight effects, and dynamic occlusion may degrade conventional filtering methods. The proposed framework consists of a local-Tukey-reweighting-based multi-channel outlier removal module and an improved iterative ensemble Kalman filter (IEnKF) backend. The front-end module suppresses anchor-dependent abnormal ranges before state estimation, while the backend improves recursive localization robustness through innovation-driven process covariance adaptation, channel-aware measurement covariance construction, and damped iterative ensemble analysis. Experiments with a four-anchor indoor UWB setup show that the proposed method reduces the reference-point RMSE from the best competing baseline result of 0.1588 to 0.1451 m, while achieving better trajectory consistency than the representative baseline filtering methods. The results indicate that the proposed framework provides a lightweight and effective solution for robust planar indoor UAV localization under unreliable UWB ranging conditions.

    • Indoor inspection, warehouse automation, and autonomous aerial robotics have created increasing demand for localization methods that can operate without stable GNSS support. In urban canyons and indoor spaces, GNSS signals are often unavailable or severely degraded because of multipath reflections, signal blockage, and NLOS conditions[1]. In such scenarios, UAVs cannot rely on satellite positioning to obtain stable and accurate position information, which creates a critical challenge for autonomous navigation, hovering control, inspection, and cooperative operation. To overcome this limitation, various indoor positioning technologies have been developed, including WiFi[2], Bluetooth Low Energy[3], visual odometry[4], and pure inertial navigation[5]. Nevertheless, these methods still involve trade-offs among localization accuracy, spatial coverage, environmental dependence, and real-time responsiveness. By contrast, UWB ranging offers subnanosecond pulse intervals and picosecond-level time resolution, enabling centimeter-level ranging precision and supporting high-efficiency positioning sensor networks[6]. Therefore, UWB has become a promising technology for indoor UAV localization.

      In a typical indoor UWB deployment, anchors are installed at known positions, while the UAV carries an onboard UWB tag. By measuring the propagation time or time difference of wireless pulses between the anchors and the tag, the UAV position can be estimated using trilateration or TOA/TDOA-based localization algorithms[7]. In general, at least three anchors are required for two-dimensional localization, and four or more anchors are commonly used to improve geometric robustness and localization reliability. However, practical indoor UWB signals are easily affected by attenuation, reflection, and multipath propagation. These effects may introduce decimeter- or even meter-level ranging errors and generate abnormal observations that significantly degrade localization accuracy[8]. Moreover, many classical localization methods are derived under Gaussian-noise assumptions and have limited adaptability to complex and time-varying indoor channel conditions[9]. Therefore, improving the robustness and accuracy of UWB-based indoor UAV localization remains an important research problem.

      To improve UWB localization reliability, outlier removal is usually required before recursive state estimation because the final positioning result is directly affected by the quality of the ranging measurements. Existing outlier suppression methods can generally be divided into classical filtering-based approaches and machine-learning-based approaches. Traditional filters, such as Gaussian smoothing[10], median filtering[11], and moving average filtering[12], perform basic anomaly suppression by smoothing the raw range sequence or discarding samples that exceed predefined thresholds. However, these methods usually rely on relatively strong statistical assumptions and can be ineffective when the measurements contain bursty, clustered, or irregular outliers. In such cases, they may either fail to remove severe abnormal observations or mistakenly reject valid measurements. Recent studies have also explored deep-learning-based solutions. For example, Jiang et al.[13] employed a convolutional neural network to classify and denoise channel impulse responses, and Nguyen et al.[14] investigated deep-learning-based UWB localization. Although these methods are promising, they typically require substantial computational resources, which limits their deployment on UAV platforms and embedded systems with strict onboard processing constraints.

      Ranging-level outlier suppression improves the input quality of UWB localization, but it does not by itself solve the complete state-estimation problem. After preprocessing, the localization backend still has to transform nonlinear multi-anchor range observations into a temporally consistent UAV state estimate while coping with residual abnormal measurements, channel-dependent uncertainty, and time-varying motion disturbances. Correspondingly, the development of UWB localization algorithms has gradually evolved from pure geometric solvers toward more robust state-estimation frameworks. The classical trilateration method is intuitive and easy to implement, but it is highly sensitive to ranging noise and anchor geometry[15]. Linearized or differential least-squares methods reduce computational complexity, but they neglect higher-order nonlinear error terms and may become unreliable under poor geometric configurations or strong noise contamination[16]. Chan & Ho's two-stage closed-form method provides an efficient weighted least-squares initial estimate[17], and the Levenberg–Marquardt variant can further reduce residual errors through iterative refinement[18]. However, these static localization approaches mainly rely on instantaneous measurements and cannot exploit motion continuity for recursive prediction and smoothing.

      Kalman-filter-based methods address this temporal estimation requirement by combining motion models and ranging observations in a recursive prediction-and-update framework[19,20]. Among them, the ensemble Kalman filter (EnKF) provides a sample-based approximation of the state distribution and avoids explicit Jacobian linearization, which makes it attractive for nonlinear state-estimation problems such as range-based UWB localization[21]. However, the standard EnKF still depends on fixed process and measurement covariance settings, and its performance can be affected by finite ensemble sampling errors, residual ranging outliers, and strong nonlinear measurement responses. These limitations become more evident in indoor UWB localization, where different anchor channels may exhibit nonuniform reliability due to NLOS propagation, multipath reflection, and dynamic occlusion.

      To improve the robustness of ensemble-based nonlinear filtering, iterative EnKF and adaptive EnKF variants have been investigated in recent studies. Sakov et al.[22] generalized the iterative ensemble Kalman filter to imperfect-model cases with additive model error, showing that iterative ensemble analysis can improve nonlinear filtering performance. Berry & Sauer[23] developed an adaptive EnKF framework for nonlinear systems, in which covariance adaptation is used to compensate for model and observation uncertainty. Raanes et al.[24] further studied adaptive covariance inflation in the EnKF and discussed its role in mitigating sampling and model-error effects. In addition, Tao et al.[25] proposed a maximum-correntropy ensemble Kalman filter to reduce the influence of non-Gaussian observation noise and large outliers. These studies provide important foundations for robust and adaptive ensemble filtering, but they are generally formulated as generic state-estimation methods and do not explicitly exploit the multi-anchor, channel-dependent abnormal ranging characteristics of indoor UWB localization.

      For UWB positioning, recent robust and adaptive Kalman-filter-based methods have also been reported. For example, Zhao et al.[26] combined unscented Kalman filtering with a maximum-correntropy criterion to reduce the influence of non-Gaussian UWB ranging errors, while Dong et al.[27] introduced a robust adaptive cubature Kalman filter to handle dynamic NLOS conditions, model mismatch, and measurement outliers. These methods demonstrate the necessity of robust/adaptive filtering for UWB localization. However, most existing methods mainly improve the backend filtering update, robust cost function, or covariance adaptation strategy. In contrast, the present study focuses on a UWB-specific two-stage robustness design: multi-channel range-level outlier suppression is first used to improve measurement reliability, and an improved IEnKF backend is then used to jointly perform innovation-driven process covariance adaptation, channel-aware measurement covariance construction, and damped iterative ensemble analysis. Therefore, the proposed method differs from generic 'Robust EnKF + Adaptive Covariance' strategies by jointly addressing measurement-level outlier suppression, anchor-dependent ranging reliability, time-varying motion uncertainty, and nonlinear range-update stability within a lightweight indoor UAV UWB localization pipeline.

      To address the sensitivity of indoor UWB localization to abnormal measurements in non-stationary environments, as well as the performance degradation of conventional filters under time-varying disturbances, this paper proposes an indoor UWB localization algorithm that tightly integrates multi-channel UWB outlier removal with an improved iterative ensemble Kalman filter. The contribution boundary of this study is the design and validation of a robust UWB-only localization pipeline for planar indoor UAV motion; the work does not claim to solve full three-dimensional multi-sensor navigation. The main contributions are summarized as follows:

      1. A multi-channel UWB outlier removal strategy based on local Tukey reweighting is developed to address bursty, clustered, and channel-dependent abnormal ranging observations before state estimation. This front-end module improves the reliability of the range inputs supplied to the localization backend.

      2. An improved IEnKF-based backend is developed for multi-anchor UWB localization. Different from generic robust EnKF or adaptive covariance inflation methods, the proposed backend jointly incorporates innovation-driven adaptive process covariance adjustment, channel-aware measurement covariance construction, and damped iterative ensemble analysis. The adaptive process covariance responds to time-varying motion uncertainty, the channel-aware measurement covariance represents nonuniform ranging reliability across anchors, and the damped iterative update improves numerical stability under nonlinear UWB range observations.

      3. A systematic experimental evaluation is provided to delineate the contribution of the proposed pipeline, including comparisons with EKF, UKF, EnKF, MCC-UKF, and RA-CKF, module-level and component-level ablation studies, and parameter sensitivity analysis. This evaluation verifies not only the overall accuracy improvement but also the necessity and relative influence of the front-end and back-end mechanisms.

      The remainder of this paper is organized as follows. The problem formulation and the proposed localization method, including the front-end outlier removal strategy and the backend improved iterative ensemble Kalman filter, are presented first. The experimental settings and performance evaluation results are then reported, followed by a discussion of the advantages, practical applicability, and limitations of the proposed method. Finally, the conclusions and future work are presented.

    • Figure 1 illustrates the overall structure of the proposed robust indoor UWB localization framework. Following the style of a modular localization pipeline, the framework consists of two coordinated components: a multi-channel UWB outlier removal module for improving range reliability and an IEnKF localization backend for robust recursive state estimation.

      Figure 1. 

      Structure of the proposed robust indoor UWB localization framework.

    • To support recursive state estimation for indoor UAV localization, the UAV is modeled as a point mass in a two-dimensional Cartesian coordinate system. Considering that low-speed indoor flight is generally smooth over short sampling intervals but may still exhibit local acceleration variations, a constant-acceleration model is adopted to describe its state evolution. Because the present experiments focus on horizontal indoor localization, only planar motion in the $ x $$ y $ plane is considered.

      We define the state vector at time step $ k $ as:

      $ \begin{aligned} {\boldsymbol{x}}_k = [x_k,\, y_k,\, v_{x,k},\, v_{y,k},\, a_{x,k},\, a_{y,k}]^{T}, \end{aligned} $ (1)

      where, $ x_k $ and $ y_k $ denote the horizontal position of the UAV, $ (v_{x,k}, v_{y,k}) $ denote the velocity components, and $ (a_{x,k}, a_{y,k}) $ denote the acceleration components along the two coordinate axes.

      Let the sampling interval be $ \Delta t $. Under the two-dimensional constant-acceleration model, the discrete-time state equation is written as:

      $ \begin{aligned} {\boldsymbol{x}}_{k+1} = {\boldsymbol{A}}{\boldsymbol{x}}_k + {\boldsymbol{\eta}}_k, \qquad {\boldsymbol{\eta}}_k \sim {\cal{N}}({\boldsymbol{0}}, {\boldsymbol{Q}}_k), \end{aligned} $ (2)

      where, $ {\boldsymbol{\eta}}_k $ denotes the discrete process noise and $ {\boldsymbol{Q}}_k $ is the corresponding process-noise covariance matrix. The state transition matrix is given by:

      $ \begin{aligned} {\boldsymbol{A}}= \begin{bmatrix} 1 & 0 & \Delta t & 0 & \dfrac{\Delta t^2}{2} & 0 \\ 0 & 1 & 0 & \Delta t & 0 & \dfrac{\Delta t^2}{2} \\ 0 & 0 & 1 & 0 & \Delta t & 0 \\ 0 & 0 & 0 & 1 & 0 & \Delta t \\ 0 & 0 & 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 \end{bmatrix}, \end{aligned} $ (3)

      which assumes that the UAV acceleration remains approximately constant within each sampling interval, while unmodeled motion variations are absorbed into the process noise.

    • Assume that $ m $ UWB anchors are deployed at known positions

      $ {\boldsymbol{p}}_i = \begin{bmatrix} x_i & y_i \end{bmatrix}^{T}, \qquad i = 1,2,\ldots,m. $

      At time step $ k $, the range measurement from the $ i $th anchor to the UAV is modeled as:

      $ \begin{aligned} z_{k,i} = \sqrt{(x_k-x_i)^2 + (y_k-y_i)^2} + v_{k,i}, \end{aligned} $ (4)

      where, $ v_{k,i} $ denotes the measurement noise associated with the $ i $th anchor at time step $ k $.

      By stacking all anchor-wise ranging observations, the UWB measurement vector can be written as:

      $ \begin{aligned} {\boldsymbol{z}}_k = \begin{bmatrix} z_{k,1} & z_{k,2} & \cdots & z_{k,m} \end{bmatrix}^{T}. \end{aligned} $ (5)

      Accordingly, the nonlinear measurement model is expressed as:

      $ \begin{aligned} {\boldsymbol{z}}_k = {\boldsymbol{h}}({\boldsymbol{x}}_k) + {\boldsymbol{v}}_k, \qquad {\boldsymbol{v}}_k \sim {\cal{N}}({\boldsymbol{0}},{\boldsymbol{R}}_k), \end{aligned} $ (6)

      where,

      $ \begin{aligned} {\boldsymbol{h}}({\boldsymbol{x}}_k)= \begin{bmatrix} \sqrt{(x_k-x_1)^2 + (y_k-y_1)^2}\\ \sqrt{(x_k-x_2)^2 + (y_k-y_2)^2}\\ \vdots\\ \sqrt{(x_k-x_m)^2 + (y_k-y_m)^2} \end{bmatrix}, \end{aligned} $ (7)

      and $ {\boldsymbol{R}}_k $ denotes the measurement-noise covariance matrix.

      The initial two-dimensional position $ \hat{{\boldsymbol{p}}}_0=[\hat{x}_0,\hat{y}_0]^{T} $ is estimated from the first valid multi-anchor UWB ranging measurements using nonlinear least-squares multilateration:

      $ \begin{aligned} \hat{{\boldsymbol{p}}}_0 = \arg\min_{{\boldsymbol{p}}} \sum_{i=1}^{m} \left( z_{0,i} - \|{\boldsymbol{p}}-{\boldsymbol{p}}_i\|_2 \right)^2. \end{aligned} $ (8)

      The initial velocity and acceleration components are set to zero, and the initial covariance matrix is assigned as a diagonal matrix with relatively large entries to reflect initialization uncertainty.

    • Indoor UWB ranging observations are often affected by NLOS propagation, multipath interference, transient occlusion, and short-term environmental disturbances. These degradations may appear as isolated spikes, abnormal segments, or range jumps. Therefore, before recursive localization, local Tukey reweighting is used to improve the reliability of the range inputs supplied to the IEnKF backend.

      Let the raw UWB ranging observations collected from $ m $ anchors over $ N $ sampling instants be organized into the matrix:

      $ \begin{aligned} {\boldsymbol{D}}= \begin{bmatrix} d_{1,1} & d_{1,2} & \cdots & d_{1,m}\\ d_{2,1} & d_{2,2} & \cdots & d_{2,m}\\ \vdots & \vdots & \ddots & \vdots \\ d_{N,1} & d_{N,2} & \cdots & d_{N,m} \end{bmatrix} \in \mathbb{R}^{N\times m}, \end{aligned} $ (9)

      where, $ d_{k,i} $ denotes the ranging observation from anchor $ i $ at sampling instant $ k $, with $ i=1,2,\ldots,m $ and $ k=1,2,\ldots,N $.

      For each anchor channel, a local median baseline is constructed within a sliding temporal window:

      $ \begin{aligned} b_{k,i} = \operatorname{median} \left({\cal{N}}_{k,i}\right), \end{aligned} $ (10)

      where, $ {\cal{N}}_{k,i} $ denotes the neighborhood samples of anchor/channel $ i $ within a window centered at time index $ k $.

      The local fluctuation scale is estimated by the median absolute deviation:

      $ \begin{aligned} \sigma_{k,i} = 1.4826\cdot \operatorname{median}_{q\in{\cal{N}}_{k,i}} \left( |d_{q,i}-b_{k,i}| \right). \end{aligned} $ (11)

      A small lower bound is imposed on $ \sigma_{k,i} $ in implementation to avoid numerical instability.

      Based on the local baseline and scale estimate, the normalized residual is defined as:

      $ \begin{aligned} r_{k,i} = \dfrac{d_{k,i}-b_{k,i}}{\sigma_{k,i}}. \end{aligned} $ (12)

      A Tukey-type reliability weight is introduced as:

      $ \begin{aligned} w_{k,i}= \begin{cases} \left(1-\left(\dfrac{|r_{k,i}|}{c_{{\rm{T}}}}\right)^2\right)^2, & |r_{k,i}|\le c_{{\rm{T}}},\\ 0, & |r_{k,i}| \gt c_{{\rm{T}}}, \end{cases} \end{aligned} $ (13)

      where, $ c_{{\rm{T}}} $ is the Tukey cutoff parameter. Samples with large normalized residuals are assigned lower reliability weights, and severe local deviations are therefore prevented from dominating the subsequent range reconstruction.

      To incorporate cross-channel consistency, a multi-channel abnormality indicator is defined as:

      $ \begin{aligned} n_k = \sum_{i=1}^{m} \mathbb{I} \left(|r_{k,i}| \gt \tau_s\right), \end{aligned} $ (14)

      where, $ \tau_s $ is a soft threshold and $ \mathbb{I}(\cdot) $ is the indicator function. The final outlier decision for anchor/channel $ i $ at sampling instant $ k $ is given by:

      $ \begin{aligned} {\cal{O}}_{k,i} = \Bigl(|r_{k,i}| \gt \tau_s\Bigr) \;\lor\; \Bigl(n_k\ge\tau_m \;\land\; |r_{k,i}| \gt \tau_r\Bigr), \end{aligned} $ (15)

      where, $ \tau_m $ denotes the minimum number of simultaneously abnormal channels required to activate the multi-channel consistency rule, and $ \tau_r $ is a relaxed residual threshold under this condition.

      To avoid removing physically plausible short-term range variations, a local trend check is introduced after residual-based screening. Let:

      $ \begin{aligned} \Delta d_{k,i}^-=d_{k,i}-d_{k-1,i}, \qquad \Delta d_{k,i}^+=d_{k+1,i}-d_{k,i}, \end{aligned} $ (16)

      and

      $ \begin{aligned} \Delta b_{k,i}^-=b_{k,i}-b_{k-1,i}, \qquad \Delta b_{k,i}^+=b_{k+1,i}-b_{k,i}. \end{aligned} $ (17)

      A suspicious sample is retained if its local variation trend remains consistent with that of the baseline within a prescribed tolerance. This step reduces the probability of removing valid samples during normal UAV motion.

      For a confirmed abnormal segment, local interpolation based on neighboring valid samples is used for reconstruction. Let $ [s,e] $ denote a contiguous abnormal segment in anchor/channel $ i $. The reconstructed value is written as:

      $ \begin{aligned} \hat{d}_{k,i}={\cal{I}}_{i}(k), \qquad k\in[s,e], \end{aligned} $ (18)

      where, $ {\cal{I}}_{i}(k) $ denotes the interpolation result. The reconstructed value is then blended with the local median baseline:

      $ \begin{aligned} d_{k,i}^{{\rm{clean}}} = \eta\,\hat{d}_{k,i} + (1-\eta)\,b_{k,i}, \end{aligned} $ (19)

      where, $ \eta\in(0,1) $ is the blending coefficient. The resulting cleaned measurements are assembled into the corrected observation vector and used as the input to the subsequent adaptive IEnKF localization backend. The complete preprocessing workflow is summarized in Fig. 2.

      Figure 2. 

      Workflow of the proposed UWB outlier removal algorithm.

      Because the centered window, forward-difference trend check, and segment-wise interpolation require future samples, the front-end module in this study is implemented as an offline or short-latency preprocessing procedure rather than a strictly causal online algorithm. For real-time deployment, it can be adapted using a backward sliding window and prediction-based or last-valid-sample replacement, while the backend IEnKF remains recursive and can operate online once preprocessed measurements are available.

    • After front-end outlier removal, the cleaned UWB ranging measurements are processed by the proposed IEnKF backend. The backend is designed to address three practical difficulties in indoor UWB localization: time-varying motion uncertainty, channel-dependent measurement inconsistency, and nonlinear range observation updates. Accordingly, it incorporates three coupled mechanisms, namely innovation-driven adaptive process covariance adjustment, channel-aware adaptive measurement covariance construction, and damped iterative ensemble analysis.

      Based on the constant-acceleration motion model in Eq. (2) and the nonlinear UWB observation model in Eq. (6), the localization problem is written in the unified state-space form:

      $ \begin{aligned} {\boldsymbol{x}}_{k+1} = {\boldsymbol{f}}({\boldsymbol{x}}_{k}) + {\boldsymbol{\eta}}_{k}, \qquad {\boldsymbol{z}}_{k} = {\boldsymbol{h}}({\boldsymbol{x}}_{k}) + {\boldsymbol{v}}_{k}, \end{aligned} $ (20)

      where, $ {\boldsymbol{x}}_{k} $ denotes the system state, $ {\boldsymbol{z}}_{k} $ denotes the UWB measurement vector, $ {\boldsymbol{f}}(\cdot) $ is the state transition function, and $ {\boldsymbol{h}}(\cdot) $ is the nonlinear observation function. The process noise and measurement noise are modeled as zero-mean Gaussian variables with covariances $ {\boldsymbol{Q}}_{k} $ and $ {\boldsymbol{R}}_{k} $, respectively. This Gaussian model is used as a nominal second-order approximation for recursive covariance-based filtering, not as a strict statistical description of the raw UWB ranging errors. The front-end Tukey reweighting module is introduced because the raw measurements may contain heavy-tailed outliers, clustered abnormal samples, NLOS disturbance, multipath effects, and transient occlusion. After front-end Tukey reweighting, severe outliers are suppressed or reconstructed, but the residual UWB errors are not assumed to become perfectly Gaussian. Thus, after Tukey preprocessing, the Gaussian assumption remains a tractable nominal approximation for the ensemble Kalman update. The adaptive $ {\boldsymbol{Q}}_{k} $ and channel-aware $ {\boldsymbol{R}}_{k} $ are further introduced to absorb residual non-Gaussian disturbances, channel-dependent uncertainty, and motion-model mismatch within a covariance-based filtering framework.

      Let the ensemble size be $ M $, and let the posterior ensemble at time step $ k-1 $ be:

      $ \left\{ {\boldsymbol{x}}_{k-1|k-1}^{(i)} \right\}_{i=1}^{M}. $

      The forecast ensemble at time step $ k $ is generated as:

      $ \begin{aligned} {\boldsymbol{x}}_{k|k-1}^{(i)} = {\boldsymbol{f}} \left({\boldsymbol{x}}_{k-1|k-1}^{(i)}\right) + {\boldsymbol{\eta}}_{k}^{(i)}, \qquad {\boldsymbol{\eta}}_{k}^{(i)}\sim{\cal{N}}({\boldsymbol{0}},{\boldsymbol{Q}}_k), \end{aligned} $ (21)

      where, $ {\boldsymbol{Q}}_k $ is adaptively adjusted according to the recent innovation level. This prediction step provides the prior ensemble used for both uncertainty adaptation and iterative measurement correction.

      To reflect time-varying motion uncertainty, the process covariance at time step $ k $ is modulated using the innovation information from the previous update. Let $ {\boldsymbol{\nu}}_{k-1} $ denote the innovation at time step $ k-1 $, and let $ {\boldsymbol{S}}_{k-1} $ denote the corresponding innovation covariance approximation. The normalized innovation energy is defined as:

      $ \begin{aligned} \phi_{k-1} = \dfrac{1}{m} {\boldsymbol{\nu}}_{k-1}^{T} \left( {\boldsymbol{S}}_{k-1}+\epsilon{\boldsymbol{I}} \right)^{-1} {\boldsymbol{\nu}}_{k-1}, \end{aligned} $ (22)

      where, the observation dimension is equal to the number of UWB anchors, $ m $, and $ \epsilon>0 $ is a small constant for numerical stability. A larger normalized innovation energy indicates a stronger mismatch between the motion prediction and the actual UWB observations. Based on this quantity, an adaptive scaling factor is introduced to adjust the nominal process covariance:

      $ \begin{aligned} {\boldsymbol{Q}}_k = s_{Q,k}{\boldsymbol{Q}}_{{\rm{base}}}, \qquad s_{Q,k} = \min \left( s_{Q,\max}, \,1+\kappa_Q\sqrt{\max(\phi_{k-1},0)} \right). \end{aligned} $ (23)

      Here, $ {\boldsymbol{Q}}_{{\rm{base}}} $ denotes the nominal process covariance, $ \kappa_Q $ controls the adaptation strength, and $ s_{Q,\max} $ limits excessive covariance inflation. This design allows the filter to increase process uncertainty during disturbed or mismatched motion segments while maintaining a conservative covariance level during stable motion. The innovation-driven scaling of $ {\boldsymbol{Q}}_k $ is used as a bounded adaptive heuristic, rather than a formal stability-guaranteeing mechanism. The upper bound $ s_{Q,\max} $ prevents unrestricted process-covariance inflation, and the regularization term $ \epsilon{\boldsymbol{I}} $ in Eq. (22) reduces the risk of numerical singularity in the innovation-energy calculation. The backend also employs channel-aware measurement covariance clipping and damped iterative ensemble updates to limit the influence of unreliable measurements and avoid excessive correction in a single nonlinear update. These mechanisms improve numerical stability and robustness in practice, but they do not constitute a rigorous proof of global filter stability.

      For each forecast ensemble member, the corresponding predicted observation is:

      $ \begin{aligned} {\boldsymbol{y}}_{k|k-1}^{(i)} = {\boldsymbol{h}} \left({\boldsymbol{x}}_{k|k-1}^{(i)}\right), \end{aligned} $ (24)

      and the forecast means in the state space and observation space are:

      $ \begin{aligned} \bar{{\boldsymbol{x}}}_{k|k-1} = \dfrac{1}{M}\sum_{i=1}^{M}{\boldsymbol{x}}_{k|k-1}^{(i)}, \qquad \bar{{\boldsymbol{y}}}_{k|k-1} = \dfrac{1}{M}\sum_{i=1}^{M}{\boldsymbol{y}}_{k|k-1}^{(i)}. \end{aligned} $ (25)

      The innovation vector is then defined as:

      $ \begin{aligned} {\boldsymbol{\nu}}_k = {\boldsymbol{z}}_{k}^{{\rm{clean}}} - \bar{{\boldsymbol{y}}}_{k|k-1}, \end{aligned} $ (26)

      where, $ {\boldsymbol{z}}_{k}^{{\rm{clean}}} $ denotes the cleaned UWB measurement vector after front-end preprocessing.

      The predicted observation covariance is estimated from the ensemble as:

      $ \begin{aligned} {\boldsymbol{P}}_{yy,k}^- = \dfrac{1}{M-1} {\boldsymbol{Y}}_{k|k-1}^{\prime} {\boldsymbol{Y}}_{k|k-1}^{\prime T} + \epsilon{\boldsymbol{I}}, \end{aligned} $ (27)

      where, $ {\boldsymbol{Y}}_{k|k-1}^{\prime} $ denotes the centered predicted observation ensemble.

      To account for channel-dependent measurement inconsistency, a channel-wise normalized innovation is first constructed from the innovation vector and the diagonal entries of $ {\boldsymbol{P}}_{yy,k}^{-} $:

      $ \begin{aligned} \hat{r}_{k,j} = \dfrac{\nu_{k,j}} {\sqrt{\max \left([{\boldsymbol{P}}_{yy,k}^-]_{jj},\,\epsilon\right)}}, \qquad j=1,\ldots,m. \end{aligned} $ (28)

      A channel-aware reliability scaling factor is then defined as:

      $ \begin{aligned} g_{k,j} = \begin{cases} 1, & |\hat{r}_{k,j}| \le \tau_{{\rm{soft}}},\\ 1 + \alpha_1 \dfrac{|\hat{r}_{k,j}|-\tau_{{\rm{soft}}}} {\tau_{{\rm{hard}}}-\tau_{{\rm{soft}}}}, & \tau_{{\rm{soft}}} \lt |\hat{r}_{k,j}| \le \tau_{{\rm{hard}}},\\ \min \left(g_{\max},\, \alpha_2 + \beta_2\bigl(|\hat{r}_{k,j}|-\tau_{{\rm{hard}}}\bigr)\right), & |\hat{r}_{k,j}| \gt \tau_{{\rm{hard}}}, \end{cases} \end{aligned} $ (29)

      where, $ \tau_{{\rm{soft}}} $ and $ \tau_{{\rm{hard}}} $ denote the soft and hard normalized-innovation thresholds, respectively, and $ g_{\max} $ restricts the maximum channel inflation. The parameters $ \alpha_1 $, $ \alpha_2 $, and $ \beta_2 $ are empirical shape parameters of the channel-wise measurement-noise inflation function. Specifically, $ \alpha_1 $ controls the slope in the transition region between the soft and hard normalized-innovation thresholds, $ \alpha_2 $ denotes the initial inflation level once the hard threshold is exceeded, and $ \beta_2 $ controls the additional linear growth beyond the hard threshold. In this study, $ \alpha_1=1.2 $, $ \alpha_2=2.2 $, $ \beta_2=0.5 $, $ \tau_{{\rm{soft}}}=2.5 $, $ \tau_{{\rm{hard}}}=5.0 $, and $ g_{\max}=4.0 $ are used in all experiments.

      To further reflect the overall mismatch level between the cleaned measurements and the forecasted observations, the normalized innovation squared is computed as:

      $ \begin{aligned} {\rm{NIS}}_k = {\boldsymbol{\nu}}_k^{T} \left( {\boldsymbol{P}}_{yy,k}^- + {\boldsymbol{R}}_{{\rm{base}}} + \epsilon{\boldsymbol{I}} \right)^{-1} {\boldsymbol{\nu}}_k, \end{aligned} $ (30)

      where, $ {\boldsymbol{R}}_{{\rm{base}}} $ denotes the nominal measurement covariance. This quantity serves as a conservative global mismatch indicator by combining the ensemble-predicted observation dispersion with the nominal measurement uncertainty. Based on $ {\rm{NIS}}_k $, a global inflation factor is introduced as:

      $ \begin{aligned} \gamma_k = \max \left( 1,\, \dfrac{{\rm{NIS}}_k}{m} \right). \end{aligned} $ (31)

      The adaptive channel variance is then constructed as:

      $ \begin{aligned} \tilde{r}_{k,j} = \gamma_k\, g_{k,j}\,[{\boldsymbol{R}}_{{\rm{base}}}]_{jj}, \qquad j=1,\ldots,m, \end{aligned} $ (32)

      and the final adaptive measurement covariance is expressed as:

      $ \begin{aligned} {\boldsymbol{R}}_k = \operatorname{diag} \left( \operatorname{clip}(\tilde{{\boldsymbol{r}}}_k,\, r_{\min},\,r_{\max}) \right), \end{aligned} $ (33)

      where, $ \tilde{{\boldsymbol{r}}}_k=[\tilde{r}_{k,1},\ldots,\tilde{r}_{k,m}]^{T} $, and $ \operatorname{clip}(\cdot) $ denotes element-wise truncation within predefined bounds. Thus, both local channel abnormality and global innovation inconsistency are incorporated into the adaptive measurement uncertainty model.

      Starting from the forecast ensemble, the posterior estimate is refined through damped iterative analysis. This iterative update is introduced to reduce linearization-related degradation under nonlinear UWB range observations while avoiding excessive correction in a single update step. Let:

      $ {\boldsymbol{x}}_{k}^{(i,0)}={\boldsymbol{x}}_{k|k-1}^{(i)}, $

      and let $ L $ denote the number of inner iterations. At the $ \ell $th iteration, the predicted observation is:

      $ \begin{aligned} {\boldsymbol{y}}_{k}^{(i,\ell-1)} = {\boldsymbol{h}} \left({\boldsymbol{x}}_{k}^{(i,\ell-1)}\right). \end{aligned} $ (34)

      Using the centered state and observation ensembles, the sample cross-covariance and the observation covariance used in the iterative update are computed as:

      $ \begin{aligned} {\boldsymbol{P}}_{xy,k}^{(\ell)} = \dfrac{1}{M-1} {\boldsymbol{X}}_{k}^{\prime(\ell-1)} {\boldsymbol{Y}}_{k}^{\prime(\ell-1)T}, \end{aligned} $ (35)
      $ \begin{aligned} {\boldsymbol{P}}_{yy,k}^{(\ell)} = \dfrac{1}{M-1} {\boldsymbol{Y}}_{k}^{\prime(\ell-1)} {\boldsymbol{Y}}_{k}^{\prime(\ell-1)T} + {\boldsymbol{R}}_k, \end{aligned} $ (36)

      where, $ {\boldsymbol{X}}_{k}^{\prime(\ell-1)} $ and $ {\boldsymbol{Y}}_{k}^{\prime(\ell-1)} $ denote the centered state and observation ensembles, respectively. The corresponding Kalman gain is:

      $ \begin{aligned} {\boldsymbol{K}}_{k}^{(\ell)} = {\boldsymbol{P}}_{xy,k}^{(\ell)} \left( {\boldsymbol{P}}_{yy,k}^{(\ell)} \right)^{-1}. \end{aligned} $ (37)

      To preserve the stochastic ensemble Kalman filter formulation, a perturbed observation is generated for each ensemble member:

      $ \begin{aligned} {\boldsymbol{z}}_{k}^{(i)} = {\boldsymbol{z}}_{k}^{{\rm{clean}}} + {\boldsymbol{\xi}}_{k}^{(i)}, \qquad {\boldsymbol{\xi}}_{k}^{(i)}\sim{\cal{N}}({\boldsymbol{0}},{\boldsymbol{R}}_k). \end{aligned} $ (38)

      The ensemble is then updated through a damped iterative analysis step:

      $ \begin{aligned} {\boldsymbol{x}}_{k}^{(i,\ell)} = {\boldsymbol{x}}_{k}^{(i,\ell-1)} + \mu_{\ell} {\boldsymbol{K}}_{k}^{(\ell)} \left( {\boldsymbol{z}}_{k}^{(i)}-{\boldsymbol{y}}_{k}^{(i,\ell-1)} \right), \end{aligned} $ (39)

      where, $ \mu_{\ell}\in(0,1] $ is the damping coefficient at the $ \ell $th inner iteration. The damping mechanism prevents overcorrection and improves numerical stability under nonlinear UWB observation updates. The proposed iterative analysis is implemented as a controlled finite-step refinement rather than an unconstrained optimization process. In implementation, the number of inner iterations is fixed and small, and the damping coefficients are monotonically reduced, so the correction magnitude becomes more conservative in later iterations. Because the channel-aware measurement covariance is inflated and clipped when unreliable anchor channels are detected, the corresponding Kalman gain is also limited. These safeguards help avoid oscillatory or overly aggressive updates caused by residual abnormal measurements. The damped update therefore improves practical update stability and numerical convergence behavior, while not serving as a formal proof of asymptotic convergence to the exact nonlinear posterior.

      After $ L $ inner iterations, the posterior state estimate is obtained from the final ensemble mean:

      $ \begin{aligned} \hat{{\boldsymbol{x}}}_{k|k} = \dfrac{1}{M}\sum_{i=1}^{M}{\boldsymbol{x}}_{k}^{(i,L)}. \end{aligned} $ (40)

      Figure 3 summarizes the improved IEnKF backend, including innovation-based covariance adaptation, channel-aware measurement weighting, and damped iterative ensemble analysis.

      Figure 3. 

      Workflow of the proposed improved iterative ensemble Kalman filter backend.

      Algorithm 1 summarizes the main procedure of the proposed IEnKF for indoor UWB localization. Unless otherwise stated, the main fixed filter parameters were kept the same across all repeated experiments:

      Table 1.  Improved IEnKF for indoor UWB localization

      Input: Previous posterior ensemble $ \{{\boldsymbol{x}}_{k-1|k-1}^{(i)}\}_{i=1}^{M} $, cleaned UWB measurement $ {\boldsymbol{z}}_{k}^{{\rm{clean}}} $, state transition function $ {\boldsymbol{f}}(\cdot) $, measurement function $ {\boldsymbol{h}}(\cdot) $
      Output: Posterior state estimate $ \hat{{\boldsymbol{x}}}_{k|k} $
      1: Adapt $ {\boldsymbol{Q}}_k $ using the previous innovation statistics and the bounded scaling rule
      2: for $ i = 1 $ to $ M $ do
      3: Draw process noise $ {\boldsymbol{\eta}}_{k}^{(i)} \sim {\cal{N}}({\boldsymbol{0}}, {\boldsymbol{Q}}_k) $
      4: Predict ensemble member:
      ${\boldsymbol{x}}_{k|k-1}^{(i)} = {\boldsymbol{f}} \left({\boldsymbol{x}}_{k-1|k-1}^{(i)}\right) + {\boldsymbol{\eta}}_{k}^{(i)} $
      5: end for
      6: Compute forecast ensemble mean $ \bar{{\boldsymbol{x}}}_{k|k-1} $
      7: Compute predicted measurements $ {\boldsymbol{y}}_{k|k-1}^{(i)} = {\boldsymbol{h}}({\boldsymbol{x}}_{k|k-1}^{(i)}) $
      8: Compute innovation and residual statistics using $ {\boldsymbol{z}}_{k}^{{\rm{clean}}}-\bar{{\boldsymbol{y}}}_{k|k-1} $ and the ensemble-predicted observation dispersion
      9: Construct channel-aware $ {\boldsymbol{R}}_k $ using residual statistics and gating rules
      10: Initialize the iterative analysis with $ {\boldsymbol{x}}_{k}^{(i,0)} = {\boldsymbol{x}}_{k|k-1}^{(i)} $
      11: for $ \ell = 1 $ to $ L $ do
      12: Propagate the current ensemble through the nonlinear measurement function
      13: Compute the sample cross-covariance and innovation covariance
      14: Compute the Kalman gain $ {\boldsymbol{K}}_{k}^{(\ell)} $
      15: Perform the damped ensemble update with damping factor $ \mu_{\ell} $
      16: end for
      17: Compute the posterior state estimate:
      $\hat{{\boldsymbol{x}}}_{k|k} = \dfrac{1}{M}\sum\limits_{i=1}^{M}{\boldsymbol{x}}_{k}^{(i,L)} $

      ● ensemble size: $ M=100 $;

      ● number of inner iterations: $ L=3 $;

      ● base process covariance: $ {\boldsymbol{Q}}_{{\rm{base}}}={\rm{diag}}(0.01,0.01,0.01, 0.01, 0.01,0.01) $;

      ● base measurement covariance: $ {\boldsymbol{R}}_{{\rm{base}}}={\rm{diag}}(0.50,0.50,0.50, 0.50) $;

      ● damping-factor sequence: $ [0.72,0.50,0.32] $.

      The selection and robustness of the main empirical parameters are further examined through the parameter sensitivity analysis.

    • Localization performance was evaluated using both time-aligned reference-point-based statistics and trajectory-level path-deviation analysis. Sixteen predefined reference points were distributed along the rectangular experimental trajectory. For the $ j $th reference point, the corresponding sampling instant is denoted by $ t_j^{{\rm{ref}}} $. For each localization method, the estimated position with the timestamp closest to $ t_j^{{\rm{ref}}} $ is selected for error calculation. The same set of reference-point sampling instants is used for all compared methods to avoid method-dependent temporal alignment differences.

      The extracted estimated position and the corresponding predefined reference position are denoted by $ \hat{{\boldsymbol{p}}}_{j}^{{\rm{ref}}}=[\hat{x}_{j},\,\hat{y}_{j}]^{T} $ and $ {\boldsymbol{p}}_{j}^{{\rm{ref}}}=[x_{j}^{{\rm{ref}}},\,y_{j}^{{\rm{ref}}}]^{T} $, respectively. The corresponding localization error is defined as:

      $ \begin{aligned} e_{j}^{{\rm{ref}}} = \left\| \hat{{\boldsymbol{p}}}_{j}^{{\rm{ref}}} - {\boldsymbol{p}}_{j}^{{\rm{ref}}} \right\|_{2}, \qquad j=1,\ldots,16. \end{aligned} $ (41)

      The overall reference-point localization accuracy is then quantified by:

      $ \begin{aligned} {\rm{RMSE}} = \sqrt{ \dfrac{1}{16} \sum_{j=1}^{16} \left(e_{j}^{{\rm{ref}}}\right)^{2} }, \qquad {\rm{MAE}} = \dfrac{1}{16} \sum_{j=1}^{16} e_{j}^{{\rm{ref}}}. \end{aligned} $ (42)

      Furthermore, the cumulative distribution function of the 16 reference-point errors is used to compare the error distribution of different methods. A steeper cumulative curve indicates stronger error concentration within a smaller range. This evaluation should be interpreted as a discrete reference-point-based assessment that complements the trajectory-level comparison.

    • This section presents the experimental evaluation of the proposed indoor two-dimensional UWB localization framework. To establish a clear connection between the algorithm design and the achieved localization performance, the experiments include a ranging-level assessment of the multi-channel UWB outlier removal module, localization comparison with representative filtering methods, ablation analysis of the proposed components, controlled robustness analyses under anchor-channel removal and synthetic ranging disturbances, and parameter sensitivity analysis.

      The indoor UWB experimental configuration is shown in Fig. 4 and summarized in Table 1. To evaluate the proposed localization method, an indoor UWB system consisting of four fixed anchors and one mobile tag was established using Nooploop LinkTrack UWB modules, with the mobile tag mounted on the UAV platform. The target position was estimated from tag-to-anchor ranging measurements. The anchors were deployed around the experimental area to form an approximately rectangular observation region, within which the UAV moved along a predefined rectangular path. Repeated trials were conducted under identical conditions to examine the stability and repeatability of the proposed method.

      Figure 4. 

      Experimental setup of the indoor UWB localization test, including four fixed anchors, the UAV-mounted mobile tag, reference points, and the data acquisition computer.

      Table 1.  Main experimental setup of the indoor UWB localization test.

      Item Value
      UWB device Nooploop LinkTrack UWB modules
      Number of UWB anchors 4
      Anchor coordinates $ {\rm{A0:}}\;(0,0)\; {\rm{m}} \quad {\rm{~A}} 1:(0,8.55)\; {\rm{m}}$
      ${\rm{A2:}}\;(6.35,8.38)\; {\rm{m}} \quad {\rm{~A}} 3:(6.34,0) \;{\rm{m}} $
      Sampling rate 10 Hz (0.1 s sampling interval)

      Since no external high-precision ground-truth system was available in the experiment, localization performance was evaluated using predefined reference points and the predefined rectangular path rather than a continuous absolute ground-truth trajectory. Specifically, 16 fixed reference points were defined along the predefined rectangular path. These points are sparse benchmark positions for repeatable quantitative comparison, not dense continuous ground truth. They are distributed along the four sides of the rectangular path and include both straight-line segments and corner regions, covering positions relatively close to anchors, positions farther from anchors, and turning regions where the motion state changes more noticeably. When the UAV passed the corresponding locations, the estimated position was compared with the associated reference point, and the resulting deviation was regarded as the positioning error at that point. Based on the errors at these 16 reference points, RMSE and MAE were computed as quantitative evaluation metrics. In addition, the two-dimensional estimated trajectories were compared with the predefined rectangular path to evaluate trajectory consistency. Therefore, the trajectory-level quantitative results reported below should be interpreted as path-deviation statistics rather than errors with respect to a dense external ground-truth trajectory.

      The absence of an external high-precision ground-truth system also means that systematic biases may affect the interpretation of absolute localization accuracy. In the present UWB setup, possible systematic bias sources include anchor-coordinate surveying errors, fixed UWB ranging offsets, hardware calibration residuals, antenna installation offsets, reference-point marking errors, and nearest-sample time-alignment errors when the UAV passes predefined reference locations. These biases may introduce a common position shift, local deformation, or geometry-dependent error in the estimated trajectory. For example, anchor-coordinate errors and fixed range offsets can propagate through the range-based localization geometry and appear as position-domain biases. Therefore, the reported RMSE and MAE values should be interpreted as reference-point and path-deviation statistics under the same experimental configuration, rather than as a complete characterization of absolute positioning accuracy with respect to an external high-precision ground-truth trajectory. Since all compared methods use the same anchor coordinates, UWB measurements, reference points, and evaluation procedure, the comparative performance improvement remains meaningful, while the absolute error values may still contain common systematic-bias components.

    • To mitigate the adverse influence of abnormal ranging observations on subsequent localization, the proposed multi-channel UWB outlier removal method was first evaluated at the ranging level. This preprocessing procedure aims to identify and suppress spike noise, local abrupt changes, and short-duration abnormal fluctuations in the raw UWB measurements, thereby improving the consistency of the ranging inputs used for state estimation.

      Figure 5 shows the front-end preprocessing result for one representative experimental run. In this figure, the raw UWB ranging sequences from the four anchor channels are compared with the corresponding preprocessed sequences, and the samples identified as abnormal ranges by the proposed multi-channel outlier removal module are highlighted in red. This visual comparison illustrates how spike-like disturbances and short-duration abnormal fluctuations are suppressed before the cleaned UWB measurements are supplied to the backend localization filter.

      Figure 5. 

      UWB range measurements before and after multi-channel outlier removal in one representative experimental run.

      Since manually annotated outlier ground truth was not available in the experiment, the detection accuracy of the front-end module could not be directly computed. Instead, the preprocessing performance was quantitatively evaluated using the detected outlier count, detected outlier ratio, and the reduction of UWB ranging residual statistics before and after preprocessing. The results averaged over four experimental runs are shown in Table 2.

      Table 2.  UWB ranging residual statistics before and after front-end preprocessing over four experimental runs.

      Channel Raw
      STD (m)
      Cleaned
      STD (m)
      Detected
      outlier ratio (%)
      Detected
      outlier count
      Anchor 1 0.1708 0.0594 0.68 10
      Anchor 2 0.3682 0.0942 1.84 27
      Anchor 3 0.4718 0.2308 2.23 33
      Anchor 4 0.1353 0.0669 1.20 18

      In Table 2, the ranging residual is computed with respect to the local median baseline generated by the sliding-window median operation in the front-end outlier removal module. For each UWB channel, it is defined as the difference between the ranging observation and the corresponding local median baseline, and the raw and preprocessed sequences are evaluated using the same residual definition. This local-median-based residual provides a channel-wise measure of short-term inconsistency around the local ranging trend, and is therefore used to quantify whether the front-end preprocessing suppresses abnormal local fluctuations. The results show that preprocessing reduces the ranging residual standard deviation for all four anchors, from $ 0.1708 $$ 0.4718 $ m before preprocessing to $ 0.0594 $$ 0.2308 $ m after preprocessing. The largest reductions are observed for Anchor 2 and Anchor 3, which also have relatively higher detected outlier ratios. These results indicate that local abnormal fluctuations are effectively suppressed and cleaner inputs are provided for subsequent state estimation.

    • To evaluate the effectiveness of the proposed method in indoor two-dimensional UWB localization, comparative experiments were conducted using the same dataset and the same four-anchor ranging conditions. The compared methods include the extended Kalman filter (EKF), unscented Kalman filter (UKF), ensemble Kalman filter (EnKF), maximum correntropy criterion-based unscented Kalman filter (MCC-UKF), robust adaptive cubature Kalman filter (RA-CKF), and the proposed IEnKF. These methods were selected because they represent conventional, ensemble-based, robust, and adaptive filtering paradigms for nonlinear UWB state estimation, while MCC-UKF and RA-CKF were included as representative robust/adaptive baselines for non-Gaussian ranging errors, NLOS disturbance, and measurement outliers.

      The EKF, UKF, EnKF, MCC-UKF, and RA-CKF methods were implemented as filtering baselines that directly use the raw UWB ranging measurements without the proposed front-end outlier removal module. In contrast, the proposed method first applies the multi-channel UWB outlier removal module and then performs localization using the improved iterative ensemble Kalman filter, thereby combining measurement preprocessing and robust recursive state estimation within a unified framework. Therefore, the following comparison mainly evaluates the overall performance of the proposed pipeline against conventional, robust, and adaptive filtering baselines under the same four-anchor UWB dataset. The original localization output provided by the Nooploop system is also included in the trajectory comparison in Fig. 6 as an auxiliary qualitative reference, but it is not used as a filtering baseline in the quantitative tables.

      Figure 6. 

      Two-dimensional trajectory comparison of different localization methods in two representative experimental runs. (a) Representative run 1. (b) Representative run 2.

      Localization performance was evaluated from both qualitative and quantitative perspectives. The qualitative analysis focused on the consistency of the two-dimensional estimated trajectories, whereas the quantitative analysis was based on the positioning errors at the 16 predefined reference points and the corresponding RMSE and MAE values.

      Figure 6 shows two representative experimental runs. In both runs, the proposed framework follows the predefined rectangular path more consistently than the original Nooploop output and the baseline filters.

      Figure 7a shows representative path-deviation results, Fig. 7b shows reference-point positioning errors, and Table 3 summarizes the trajectory-level path-deviation accuracy and reference-point localization accuracy of the compared methods.

      Figure 7. 

      Trajectory-to-reference-path deviation and reference-point positioning error comparison of different filtering methods in one representative experimental run. (a) Trajectory-to-reference-path deviation. (b) Reference-point positioning error.

      Table 3.  Overall reference-point/path-deviation performance comparison of different methods over four experimental runs.

      Method Path RMSE (m) Path MAE (m) Ref. RMSE (m) Ref. MAE (m)
      EKF 0.3549 0.2642 0.2312 0.2028
      UKF 0.3323 0.2182 0.1901 0.1511
      EnKF 0.3463 0.2295 0.1860 0.1492
      MCC-UKF 0.2404 0.1847 0.1588 0.1336
      RA-CKF 0.2215 0.1822 0.1762 0.1439
      Proposed IEnKF 0.1888 0.1586 0.1451 0.1243

      As shown in Table 3, the proposed IEnKF obtains the best path-deviation and reference-point metrics among the compared filtering methods, indicating improved trajectory consistency and reference-point localization accuracy under the same four-anchor UWB dataset. Figure 7b further shows smaller and more balanced reference-point errors for the proposed framework in the representative run.

      Figure 8 further shows that the proposed framework concentrates more reference-point errors within a smaller range, supporting the reference-point accuracy trend in Table 3.

      Figure 8. 

      CDF curves of reference-point positioning errors for different filtering methods in one representative experimental run.

      To further analyze the computational efficiency and embedded implementation feasibility of the proposed method, the algorithmic complexity of the IEnKF backend was examined. In the present two-dimensional UWB localization formulation, the state vector consists of horizontal position, velocity, and acceleration components, namely $ {\boldsymbol{x}}_k=[x_k,y_k,v_{x,k},v_{y,k},a_{x,k},a_{y,k}]^T $, so the state dimension is $ n=6 $. The measurement vector is composed of four anchor-to-tag UWB ranges, so the measurement dimension is $ m=4 $. The adopted IEnKF configuration uses an ensemble size of $ M=100 $ and a fixed inner iteration number of $ L=3 $. For one filtering update, the main computational cost comes from ensemble prediction, nonlinear UWB range-observation propagation, sample covariance calculation, channel-aware measurement covariance construction, and damped iterative ensemble analysis. The dominant computational complexity can be expressed as

      $ O\left(Mn^2 + Mm + L\left[M(nm+m^2)+m^3\right]\right). $

      Under the adopted setting of $ n=6 $, $ m=4 $, $ M=100 $, and $ L=3 $, the computational burden mainly scales linearly with the ensemble size and the number of inner iterations. Moreover, the matrix inversion in the Kalman-type update is only performed on a $ 4\times4 $ observation covariance matrix. Therefore, although the proposed IEnKF is computationally heavier than conventional EKF, UKF, EnKF, MCC-UKF, and RA-CKF baselines, its computation remains low-dimensional and lightweight. From an embedded implementation perspective, the proposed filtering backend is suitable for STM32H743-class microcontrollers with a 480 MHz ARM Cortex-M7 core. Since the UWB system used in this study operates at 10 Hz, corresponding to a 100 ms sampling interval, the computational scale of the proposed filter is compatible with the real-time requirement of the UWB localization system. In addition, the proposed method does not require GPU acceleration, image feature extraction, or neural-network inference, which makes it suitable for resource-constrained indoor UAV platforms.

    • To further examine whether the observed performance gain is solely associated with front-end outlier removal, an additional comparison among backend filters was conducted under the same cleaned UWB measurements. In this experiment, EKF, UKF, EnKF, and the proposed method all used the same preprocessed ranging data as input, so that the influence of measurement quality was controlled and the comparison mainly reflected the difference in backend filtering capability.

      As shown in Table 4, under the same cleaned measurement input, the proposed method still achieves the lowest RMSE and MAE among all compared methods. This suggests that the performance improvement of the proposed framework is associated not only with the improvement in front-end observation quality but also with the robustness of the backend filtering strategy.

      Table 4.  Reference-point localization errors of different backend filters under the same cleaned UWB measurements over four experimental runs.

      Method RMSE (m) MAE (m)
      Cleaned + EKF 0.2359 0.2036
      Cleaned + UKF 0.1765 0.1439
      Cleaned + EnKF 0.1713 0.1391
      Proposed IEnKF 0.1451 0.1243

      Figure 9 shows that, under the same cleaned measurements, the proposed backend still provides better trajectory consistency and smaller reference-point errors.

      Figure 9. 

      Backend filter comparison under the same cleaned UWB measurements in one representative experimental run. (a) Two-dimensional trajectory comparison. (b) Reference-point positioning errors.

      Although the above comparisons demonstrate the overall advantage of the proposed framework over the baseline methods, they do not explicitly distinguish the respective contributions of the front-end multi-channel UWB outlier removal and the back-end improved iterative ensemble Kalman filtering. To further clarify their roles in the final performance, an ablation study was conducted.

      Specifically, four configurations were considered: Raw + EnKF, Cleaned + EnKF, Raw + IEnKF, and Cleaned + IEnKF. Here, 'Raw' and 'Cleaned' indicate whether the ranging data were directly used or first preprocessed by the proposed multi-channel UWB outlier removal module, while 'EnKF' and 'IEnKF' denote the standard ensemble Kalman filtering backend and the improved iterative ensemble Kalman filtering backend, respectively.

      Table 5 shows that both front-end preprocessing and the improved iterative backend contribute to the final performance. Cleaned + IEnKF achieves the best result, indicating complementary benefits from measurement refinement and robust recursive filtering.

      Table 5.  Ablation results of different front-end and backend configurations over four experimental runs.

      Method RMSE (m) MAE (m)
      Raw + EnKF 0.1860 0.1492
      Cleaned + EnKF 0.1713 0.1391
      Raw + IEnKF 0.1708 0.1442
      Cleaned + IEnKF 0.1451 0.1243

      A component-level ablation study was further conducted using the same cleaned UWB measurements.

      The baseline EnKF uses none of the three proposed backend mechanisms.

      The remaining variants remove adaptive $ {\boldsymbol{Q}} $, channel-aware $ {\boldsymbol{R}} $, or damping one at a time.

      As shown in Table 6, the full proposed backend achieves the best overall performance, with the lowest RMSE, MAE, and maximum error. Removing the channel-aware measurement covariance causes the largest degradation, increasing the RMSE from 0.1451 to 0.1682 m and the maximum error from 0.2820 to 0.3792 m. This indicates that accurately representing channel-dependent UWB measurement uncertainty is the most influential backend component in the tested indoor environment. Removing the adaptive process covariance or the damping strategy also degrades the results, although their effects are smaller. These results show that all three backend mechanisms contribute to the final performance, while the channel-aware measurement covariance plays the dominant role in improving robustness against nonuniform ranging disturbances.

      Table 6.  Component-level ablation results of the proposed backend mechanisms over four experimental runs.

      Method Adap. Q Ch.-aware R Damped RMSE MAE MAX
      EnKF × × × 0.1713 0.1391 0.3770
      IEnKF × × 0.1625 0.1316 0.3570
      Proposed w/o adaptive Q × 0.1502 0.1260 0.2862
      Proposed w/o Ch.-aware R × 0.1682 0.1355 0.3792
      Proposed w/o damping × 0.1503 0.1269 0.2905
      Full proposed 0.1451 0.1243 0.2820

      Figure 10 illustrates the same trend in a representative run: Cleaned + IEnKF stays closest to the expected path and has the most favorable error distribution. Overall, the ablation results show that front-end outlier removal and backend iterative filtering provide complementary improvements.

      Figure 10. 

      Ablation comparison of different front-end and back-end configurations in one representative experimental run. (a) Two-dimensional trajectory comparison. (b) Reference-point positioning error distribution.

    • To further examine the robustness of the proposed framework beyond the original four-anchor evaluation, additional controlled analyses were conducted based on the existing four repeated UWB experimental runs. These analyses were performed in post-processing rather than through newly collected physical LOS/NLOS flight trials. Specifically, anchor-configuration robustness was evaluated by selectively removing one anchor channel from the recorded four-anchor measurements, and disturbed-ranging robustness was evaluated by injecting synthetic NLOS-like positive ranging biases and dynamic-occlusion-like burst disturbances into the recorded UWB ranging sequences. Therefore, the added results should be interpreted as controlled data-level stress tests for robustness evaluation, not as newly collected real NLOS or physical occlusion experiments.

      First, the influence of anchor availability and anchor geometry was evaluated by selectively removing one anchor channel from the recorded four-anchor measurements during post-processing. This analysis emulates anchor-channel removal or degraded anchor availability while keeping the original trajectory and recorded measurements unchanged. Second, to examine robustness against NLOS-like and occlusion-like ranging degradation, synthetic disturbances were introduced into the recorded UWB ranging sequences. The synthetic NLOS cases were generated by adding positive ranging biases to randomly selected measurements with different disturbance ratios, while the dynamic occlusion case was generated by introducing burst-type disturbance segments. The same perturbed ranging sequences were used for all compared methods to ensure a fair comparison. The results of these controlled robustness analyses are summarized in Table 7.

      Table 7.  Controlled post-processing robustness analysis under anchor-channel removal and synthetic ranging disturbances.

      (a) Proposed IEnKF under different anchor configurations
      Anchor configuration RMSE (m) MAE (m) MAX (m)
      A0-A1-A2-A3 0.1451 0.1243 0.2820
      A1-A2-A3 0.1679 0.1379 0.4002
      A0-A2-A3 0.2309 0.1714 0.6389
      A0-A1-A3 0.2082 0.1705 0.4525
      A0-A1-A2 0.1594 0.1320 0.3355
      (b) RMSE under synthetic NLOS and dynamic occlusion stress tests
      Stress case EKF UKF EnKF MCC-UKF RA-CKF Proposed IEnKF
      Original 0.2312 0.1901 0.1860 0.1588 0.1762 0.1451
      5% NLOS bias 0.2367 0.2041 0.2074 0.1694 0.1937 0.1589
      10% NLOS bias 0.2294 0.2071 0.2089 0.1747 0.1985 0.1575
      15% NLOS bias 0.2325 0.2095 0.2132 0.1842 0.2074 0.1687
      Dynamic occlusion 0.2301 0.2116 0.2157 0.1737 0.2009 0.1620

      As shown in Table 7, the original four-anchor configuration achieves the best overall accuracy, with an RMSE of 0.1451 m and an MAE of 0.1243 m. After one anchor channel is removed, the localization performance varies with the retained anchor geometry. The A1-A2-A3 and A0-A1-A2 configurations still maintain relatively small RMSE values of 0.1679 and 0.1594 m, respectively, whereas the A0-A2-A3 and A0-A1-A3 configurations show larger errors. The proposed method can still provide valid estimates under all tested three-anchor configurations, although the accuracy clearly depends on the retained anchor geometry. In the synthetic disturbance tests, the proposed IEnKF achieves the lowest RMSE under all tested stress cases. Under 5%, 10%, and 15% synthetic NLOS bias conditions, its RMSE remains within 0.1575–0.1687 m, and it obtains the lowest RMSE of 0.1620 m under the dynamic occlusion stress test. These results provide supplementary evidence that the combination of front-end outlier suppression and backend adaptive iterative filtering improves robustness against synthetic NLOS-like positive bias and dynamic-occlusion-like burst disturbance.

    • A compact parameter sensitivity analysis was conducted to examine whether the performance improvement depends on a single carefully tuned parameter setting. During each test, only one parameter was varied while the remaining parameters were fixed at their recommended values. The tested front-end parameters include the Tukey cutoff values $ 2.5/3.0/3.5/4.0 $ and window sizes $ 5/7/9/11 $, and the tested backend parameters include ensemble sizes $ 30/50/80/100/120 $, iteration numbers $ 1/2/3/4/5 $, $ {\boldsymbol{Q}} $ scaling bounds $ 2/3/4/5 $, and $ {\boldsymbol{R}} $ clipping bounds $ 1.5/2.5/3.5/4.5 $.

      As shown in Table 8, the recommended values are Tukey cutoff $ 2.5 $, window size $ 7 $, ensemble size $ 100 $, iteration number $ 3 $, $ {\boldsymbol{Q}} $ scaling bound $ 2 $, and $ {\boldsymbol{R}} $ clipping bound $ 1.5 $. The 'Avg. best RMSE' values in this table are obtained from one-factor sensitivity sweeps and may therefore be slightly lower than the main comparison result under the fixed reported configuration; they are used to characterize local parameter sensitivity rather than to redefine the baseline performance reported in Table 3. The corresponding RMSE variation ranges are $ 0.0022 $, $ 0.0030 $, $ 0.0098 $, $ 0.0201 $, $ 0.0000 $, and $ 0.0118 $ m, respectively. The Tukey cutoff, window size, ensemble size, $ {\boldsymbol{Q}} $ scaling bound, and $ {\boldsymbol{R}} $ clipping bound exhibit low sensitivity, whereas the iteration number shows medium sensitivity. These results indicate that the reported improvement is not caused by a single carefully tuned parameter setting. In practical use, the recommended parameters provide a balanced configuration between localization accuracy, robustness, and computational cost.

      Table 8.  Parameter sensitivity results of the proposed localization framework.

      ParameterTested valuesRecommended valueAvg. best RMSE (m)Avg. RMSE range (m)Sensitivity
      Tukey cutoff2.5/3.0/3.5/4.02.50.14570.0022Low
      Window size5/7/9/1170.14460.0030Low
      Ensemble size30/50/80/100/1201000.14150.0098Low
      Iteration number1/2/3/4/530.14070.0201Medium
      Q scaling bound2/3/4/520.14600.0000Low
      R clipping bound1.5/2.5/3.5/4.51.50.14240.0118Low
    • The present study shows that indoor UWB localization performance can be improved by jointly addressing measurement reliability and recursive estimation robustness. These two aspects are closely coupled because corrupted ranging observations caused by multipath propagation, transient occlusion, NLOS propagation, and channel inconsistency can directly degrade subsequent state estimation[8,9]. By combining multi-channel outlier removal with adaptive iterative ensemble filtering, the proposed framework improves both the quality of the observations entering the filter and the robustness of the recursive update. Under the same indoor UWB conditions, it achieves better trajectory consistency and reference-point positioning accuracy than the comparison methods. The lower RMSE and MAE indicate more accurate and stable localization at representative evaluation locations, while the cumulative error distribution shows that more positioning errors are concentrated within a smaller range. These findings support a joint front-end observation-quality and backend filter-robustness design for disturbance-prone indoor UAV applications. They are also consistent with recent robust UWB filtering studies, in which maximum-correntropy-based UKF and robust adaptive CKF strategies were introduced to reduce the influence of non-Gaussian ranging errors, NLOS effects, model mismatch, and measurement outliers[26,27]. Compared with these backend-oriented methods, the proposed framework further emphasizes the joint design of front-end channel-wise range correction and backend adaptive iterative ensemble filtering.

      The Gaussian-noise formulation in the state-space model is used as a nominal covariance-based approximation for recursive filtering, not as a strict statistical assumption for raw UWB ranging errors. The front-end Tukey module suppresses or reconstructs severe abnormal measurements, after which the residual errors may be more compatible with a covariance-based update but are still not assumed to be perfectly Gaussian. Similar covariance-based robust and adaptive ensemble filtering ideas have been used to improve nonlinear filtering performance under model error, sampling uncertainty, and non-Gaussian observation disturbances[2225]. In the present implementation, residual non-Gaussian effects, channel-dependent uncertainty, and motion-model mismatch are handled through adaptive $ {\boldsymbol{Q}}_k $, channel-aware $ {\boldsymbol{R}}_k $, covariance clipping, small regularization terms, fixed small iteration numbers, and damped iterative updates. These mechanisms improve practical robustness and numerical stability by limiting unrestricted covariance growth and excessive nonlinear correction, while leaving formal global stability and asymptotic convergence analysis as an open theoretical issue.

      The two-dimensional formulation defines the practical scope of the present work. The study focuses on horizontal localization because reliable pure-UWB height estimation remains challenging in many indoor deployments, especially when anchors are mounted at similar heights or near surrounding walls. Such geometry can produce weak vertical observability and make altitude estimates more sensitive to ranging noise, NLOS propagation, and multipath disturbance than horizontal estimates. The experiments were therefore conducted along a predefined planar path, with available reference positions defined on the ground plane. This setting does not demonstrate full three-dimensional flight, such as takeoff, landing, altitude changes, obstacle-avoidance maneuvers, or aggressive vertical motion. Nevertheless, two-dimensional UWB localization remains relevant for fixed-height indoor inspection, warehouse aisle patrol, inventory scanning, horizontal-layer mapping, and station-keeping at known working heights, where altitude stabilization can be handled by barometers, laser rangefinders, visual odometry, lidar, or IMU-assisted height estimation.

      Extending the present formulation to three-dimensional localization is conceptually feasible but requires several engineering changes. The state-space model should include vertical position, velocity, and acceleration components so that the filter can estimate the $ x $-, $ y $-, and $ z $-direction motions jointly, and the UWB observation model should be extended from the current planar range equation to a 3D Euclidean range equation that includes both anchor height and UAV altitude. Reliable 3D UWB localization also requires suitable anchor deployment and sufficient vertical observability, with non-coplanar anchors and adequate height diversity. If the anchors are nearly coplanar, the vertical component may remain weakly observable, and the altitude error may be amplified even when the horizontal position can be estimated reasonably well. Additional anchors may also be required to improve geometric dilution, maintain redundancy under NLOS blockage, and stabilize adaptive covariance estimation. This requirement is consistent with recent UWB sensor-placement studies, which show that both radio geometry and obstacle-induced NLOS bias affect localization quality, and that optimized UWB radio placement can substantially improve localization accuracy in both 2D and 3D settings[28].

      The evaluation protocol also affects the interpretation of the quantitative results. Because no external high-precision reference system was available, the predefined reference points and rectangular path provide a repeatable basis for comparative reference-point and path-deviation evaluation, rather than dense external ground truth. The reported errors may include systematic components from anchor-coordinate surveying errors, fixed ranging offsets, hardware installation offsets, reference-point marking uncertainty, and nearest-sample time-alignment errors. The proposed framework can reduce abnormal ranging fluctuations, channel-dependent disturbances, and time-varying inconsistencies, but it does not calibrate all absolute systematic biases in the experimental setup. This reading is consistent with previous UWB localization studies showing that commercially available UWB radios may suffer from measurement bias and outliers, and that bias correction or robust filtering is often required for reliable deployment on resource-constrained mobile robots[29].

      The added anchor-channel removal and synthetic ranging-disturbance analyses broaden the evaluation as controlled post-processing stress tests based on the existing dataset. They provide repeatable degraded-ranging comparisons, but they are not newly collected physical LOS/NLOS or dynamic-occlusion experiments. The main limitations are therefore the planar UWB-only formulation, the absence of external high-precision ground truth, the use of a rectangular trajectory and predefined reference points, and validation in one indoor environment with a fixed four-anchor deployment. Further development should include cross-environment validation under different indoor layouts, more diverse trajectory types, high-precision motion-capture or other external reference systems, multi-height and non-coplanar anchor deployment optimization, full 3D localization with UWB/IMU fusion[30], integration of complementary altitude-related sensors, and physical LOS/NLOS and dynamic-occlusion tests under different disturbance conditions.

    • This paper proposes a robust indoor UAV UWB localization framework that combines multi-channel UWB outlier removal with an improved iterative ensemble Kalman filter. By integrating local-Tukey-reweighting-based preprocessing with adaptive and iterative ensemble filtering, the proposed method improves both measurement reliability and estimation robustness under unreliable indoor UWB ranging conditions and controlled synthetic disturbance tests. Experimental results in a four-anchor indoor UWB setup demonstrate that the proposed framework outperforms EKF, UKF, standard EnKF, MCC-UKF, and RA-CKF in terms of trajectory consistency, reference-point positioning accuracy, and the RMSE and MAE computed from predefined reference-point errors. Overall, the proposed framework provides a practical solution for two-dimensional UAV localization in GNSS-denied indoor environments with unreliable ranging conditions. Future work should examine broader validation, full 3D extension with non-coplanar anchors, physical LOS/NLOS or occlusion conditions, and high-precision external reference systems.

      • The authors confirm their contribution to the paper as follows: study conception and design: Wang S, Lin F, Cai Q, Song N; data collection: Wang S, Li J, Yang Q; analysis and interpretation of results, draft manuscript preparation: Wang S, Lin F. All authors reviewed the results and approved the final version of the manuscript.

      • The datasets generated and/or analyzed during the current study are not publicly available because the related research project is still ongoing, but are available from the corresponding author upon reasonable request.

      • The authors declare that they have no conflict of interest.

    Figure (10)  Table (9) References (30)
  • About this article
    Cite this article
    Wang S, Cai Q, Lin F, Li J, Yang Q, et al. 2026. Enhanced indoor UAV UWB localization algorithm based on outlier removal and an improved iterative ensemble Kalman filter. International Journal of Micro Air Vehicles 18: e011 doi: 10.48130/mav-0026-0011
    Wang S, Cai Q, Lin F, Li J, Yang Q, et al. 2026. Enhanced indoor UAV UWB localization algorithm based on outlier removal and an improved iterative ensemble Kalman filter. International Journal of Micro Air Vehicles 18: e011 doi: 10.48130/mav-0026-0011

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return