Skip to Content
  • Article
  • Open Access

27 November 2026

24 Pages

Relative Localization and Following Control of a Lead Vehicle Using Tightly Coupled Dual-UWB/Gyroscope Fusion

,
,
and
1
College of Transportation Engineering, Nanjing University of Industry Technology, Nanjing 210023, China
2
Jiangsu Autonomous Driving Technology Innovation and Application Engineering Research Center, Nanjing 210023, China
*
Author to whom correspondence should be addressed.

Abstract

Relative localization between two vehicles requires infrastructure-free sensing on the leader and a small sensing payload on the follower. This paper uses two transverse ultra-wideband (UWB) anchors and one chassis gyroscope in a five-state tightly coupled extended Kalman filter (TC-EKF) that estimates relative position, relative velocity, and residual Z-axis gyroscope bias. A revised observability analysis distinguishes instantaneous measurement sensitivity from observability of the dynamic system. The two ranges have zero direct sensitivity to bias, and the linearized range-only system retains a one-dimensional unobservable bias–tangential-velocity subspace even during turning. The stationary zero-rate measurement is therefore the enabling observation that raises the observability rank to five. Five independent bench resets at injected biases of 1 and 3 deg/s gave first-entry settling times of 0.046–0.207 s and final errors within 1.29%. A same-frame ablation against a four-state filter without bias estimation showed that the removed bias reappears as a range-dependent phantom velocity: the fitted coefficient was 0.01670 against π / 180 = 0.01745, with R2 = 0.952. In closed-loop track tests, the proposed estimator achieved median path-following errors of 43.9 mm without occlusion and 45.2 mm with occlusion. Recording-level medians, interquartile ranges, and Mann–Whitney tests are now reported; the advantage over the loose EKF-IMU is significant in the 10–20 cm/s subset but not over all speeds. The estimator alone occupies 4.4% of the 10 ms control period, while the complete framework occupies 10.9% with telemetry and 6.6% without it on an 80 MHz Cortex-M0+. Static camera noise was 0.9 mm RMS, but timing and transformation residuals limit the resolution of small algorithm differences. The occlusion trials are retained as a comparative condition, not as evidence of outage robustness.

1. Introduction

Indoor localization is a key enabling technology for the Internet of Things, autonomous robotics, and next-generation wireless systems. Among the available technologies, inertial measurement units (IMUs) provide accurate short-term dead reckoning but suffer from rapidly accumulating drift due to accelerometer bias, whereas ultra-wideband (UWB) ranging is insensitive to illumination and directly measures inter-node distance but is degraded by multipath and non-line-of-sight (NLOS) propagation [1]. The complementary error characteristics of these two sensors make their fusion a widely adopted route to robust indoor positioning.
Kalman-type filters remain the workhorse of UWB/IMU fusion. Feng et al. [2] integrated IMU and UWB measurements through the extended Kalman filter (EKF) and unscented Kalman filter (UKF), and analyzed the relationship between base-station geometry and dilution of precision (DOP) for station deployment. Krishnaveni et al. [3] compared UKF and EKF performance for indoor tracking with UWB/IMU, and Venkata Krishnaveni et al. [4] coupled IMU and UWB through the EKF for 2-D/3-D position estimation. Hashim et al. [5] moved beyond Kalman-type filters by proposing a nonlinear stochastic complementary filter posed on the special Euclidean group SE2(3), which guarantees the semi-global uniform ultimate boundedness of the estimation error and avoids Euler-angle singularities. To cope with large noise variations and unknown measurement statistics, Ji et al. [6] combined the Levenberg–Marquardt solver with an adaptive fading cubature Kalman filter, improving NLOS accuracy by 25.2% over the EKF. Wei et al. [7] further proposed a Gaussian-adaptive UKF that prefilters UWB ranges and updates the measurement noise covariance online. Li et al. [8] introduced the maximum correntropy criterion with adaptive kernel bandwidth to handle non-Gaussian outliers in a tightly coupled UWB/IMU UKF. Zou et al. [9] preprocessed raw UWB ranges with a one-dimensional Kalman filter before tight EKF fusion, reporting a 46.15% accuracy improvement over conventional tight coupling.
NLOS compensation is a central theme in UWB fusion. Yang et al. [10] introduced a virtual inertial point and an environmental factor derived from IMU acceleration, scaling down NLOS measurements by a LOS/NLOS range ratio and then smoothing with a Kalman filter; NLOS accuracy improved by nearly 80%. Chen et al. [11] comprehensively evaluated the impact of NLOS error, base-station geometry, station count, and UWB update rate on tight vs. loose integration, and showed that tight coupling is markedly less sensitive to geometric degradation. Sun et al. [12] proposed a two-stage NLOS detector that switches between an adaptive EKF and a tightly coupled factor graph according to the number of available LOS ranges, achieving 0.227 m average error in mixed environments. An adaptive IMU/UWB fusion scheme [13] used a support vector machine to classify LOS/NLOS channels and applied different EKF variants accordingly. Zhang et al. [14] distinguished spatial occlusion from human occlusion and optimized NLOS ranges through IMU-projected virtual positions and prior map constraints. Sui et al. [15] found that UWB occlusion severity increases as the signal incident horizontal angle decreases below 167°, and incorporated this dynamic NLOS angle discrimination with map constraints into a tightly integrated UWB/MEMS-IMU filter.
Parallel work has demonstrated low-cost hardware implementations and multi-sensor extensions. Zhang et al. [16] integrated the DWM1000 UWB module with an MPU9250 MEMS IMU in a wearable device, achieving 7.58 cm average error through Mahony attitude estimation and Kalman time-domain compensation. Zhong et al. [17] developed UI-MoCap, a compact circular UWB-IMU circuit that provides centimeter-level 3-D positioning while simultaneously transmitting IMU data over UWB pulses. Liu et al. [18] built a portable system on a Raspberry Pi with the DWM1001 and BNO055, showing that KF fusion reduces the UWB-only error from 50 cm to 13.7 cm under dynamic testing. Sun et al. [19] proposed a two-stage scheme for simultaneous anchor calibration and localization using UWB–IMU–odometer fusion without anchor-to-anchor communication. Zhou et al. [20] integrated wheel odometry with a three-axis gyroscope for nonholonomic ground robots and derived the observability conditions, showing that at least three anchors are required for ToA-only positioning. Nguyen et al. [21] incorporated single UWB ranges into a monocular visual-inertial system in a range-focused manner to reduce long-term drift. Muthineni et al. [22] used a two-stage cascaded deep neural network to handle asynchronous UWB and IMU measurements on an industrial AGV, achieving below −10 cm mean absolute error. Beyond positioning, Ntanis et al. [23] demonstrated that IMU and UWB sensors can also be fused for clinical gait parameter extraction such as the Timed Up and Go test.
Closer to the present setting are studies that estimate a target’s position relative to a moving platform rather than a global pose. Nguyen et al. [24] fused UWB ranges with inter-agent communication to localize a target in the frame of a moving robot; Ichekhlef et al. [25] applied a kinematic EKF to relative UWB localization of multi-robot systems; and Shalaby et al. [26] showed that attitude-coupled range measurements make the relative position observable in multi-agent formation control. On the inertial side, Goudar et al. [27] analyzed the observability of UWB-aided inertial navigation together with the sensor extrinsics calibration it requires. Ranging hardware and geometry for the same problem have also been optimized; Liu and Nian [28] tuned UWB ranging and filtering for AGV following, Yoon and Kim [29] calibrated collaborative-robot location errors with mobile anchors, Lyu et al. [30] estimated drift-free four-degree-of-freedom pose while minimizing the number of UWB devices, and Lian et al. [31] obtained full-coverage three-dimensional positioning with a rotating dual-anchor platform. These studies establish the target-relative formulation and the value of geometric diversity. The present work instead separates range-only observability from the stationary zero-rate bias measurement, isolates the additional bias state in a controlled four-state ablation, and evaluates the estimator within a closed following loop on a microcontroller without floating-point hardware.
Three questions follow from this gap. First, how should the follower’s own yaw rotation be compensated between UWB updates, when the only inertial sensor is a single gyroscope whose bias drifts? Second, is that residual bias observable from ranges at all, and under what anchor geometry? Third, can the estimator and the following controller share one 10 ms control period on a Cortex-M0+ without an FPU? The contribution of this paper is organized around these three questions.
The main contributions of this paper are as follows:
(1) A five-state tightly coupled EKF for the dual-transverse-anchor configuration, together with an explicit identifiability analysis. Instantaneous Jacobians and the multi-step observability matrix are distinguished. Range-only fusion is shown to possess a structural bias–tangential-velocity null direction. The stationary zero-rate measurement, rather than vehicle turning alone, restores rank five. Five convergence experiments and a same-frame four-state ablation quantify the resulting bias and velocity effects;
(2) The mechanisms required once tracking leaves nominal operation, each with its activation condition—first-frame trilateration, per-anchor Mahalanobis gating, zero-rate bias refinement inhibited while the chassis rotates, prediction-only propagation during outages, and bounded divergence recovery. The zero-rate branch is identified as the enabling bias observation, while the untested outage and recovery mechanisms are not credited with robustness;
(3) An implementation and closed-loop evaluation on an 80 MHz Cortex-M0+ without an FPU. The estimator occupies 4.4% of the 10 ms control period. The measured complete framework occupies 10.9% with telemetry and 6.6% without it. The evaluation covers three speeds and two propagation conditions, reports recording-level distributions and significance tests, and keeps estimator error, closed-loop path error, reference uncertainty, and computational scope distinct.

2. System Configuration

Lead–Follower Vehicle Configuration

The experimental platform consists of two scaled differential-drive electric vehicles. The leader vehicle carries a single UWB tag, while the follower vehicle has two UWB anchors mounted transversely at its rear with a calibrated baseline L   =   400   mm . A relative coordinate frame is attached to the follower: the x-axis is lateral, the y-axis is longitudinal, the origin is at the first anchor, and the second anchor is at L ,   0 . The leader tag position in this frame is p   =   p x ,   p y T , expressed in millimeters. The two UWB range measurements are
d 0 = p x 2 + p y 2 + n 0
d 1 = p x − L 2 + p y 2 + n 1
where n 0 and n 1 are the UWB range noises.
Three reference points are kept distinct throughout. The estimation origin is anchor 0, and the estimated quantity is the leader tag position p; the camera reference, in contrast, reports the centers of the two augmented-reality markers, which sit above the vehicle bodies and are offset from anchor 0 and from the tag by fixed lever arms. Those offsets are absorbed by the rigid transformation of Equation (16), so the evaluation of Section 6 compares the estimated tag position with the marker-derived reference after that transformation. The quantities used by the controller are defined directly in the estimation frame; df = py is the forward distance and dl = px the lateral deviation. Because the desired gap d* is specified in the same anchor-to-tag convention, all six estimators are commanded to the same physical gap.
Figure 1 illustrates the overall system architecture. The leader vehicle carries only a UWB tag. The follower vehicle is equipped with two transverse UWB anchors and an MPU6050 gyroscope (InvenSense, San Jose, CA, USA). Two UWB ranges are reported to the MSPM0G3507 controller (Texas Instruments, Dallas, TX, USA) at approximately 14.7 Hz over UART, while the gyro yaw rate drives the prediction step at 100 Hz. The TC-EKF fuses both measurements on the controller and outputs the leader tag’s lateral position, longitudinal distance, and relative velocity relative to the follower for closed-loop control. An overhead camera covers the entire test area and detects AR markers on both vehicles for offline evaluation only.
Figure 1. The overall system architecture.

3. Relative State Estimation

Two fusion architectures are commonly used for dual-UWB ranging. In a loosely coupled scheme, geometric trilateration first converts the two ranges into a tag position, which is then smoothed by a Kalman filter. In a tightly coupled scheme, raw ranges directly serve as filter measurements without an intermediate solving step (Figure 2). The key distinction is that in loose coupling, trilateration is a feed-forward process that can amplify noise when ranging noise is large or when geometric dilution of precision (DOP) is poor, leaving the filter to passively smooth an already contaminated position estimate. In tight coupling, the EKF simultaneously uses both ranges and gyro predictions to compute the optimal estimate at each update, allowing outliers to be rejected by the Mahalanobis gate before they corrupt the state. Furthermore, the relative position between UWB updates is propagated by gyro yaw rate rather than drifting freely. This paper adopts the tightly coupled architecture.
Figure 2. Two fusion architectures commonly used for dual-UWB ranging.

3.1. State Vector and Coordinate Frame

The relative coordinate frame is attached to the follower vehicle; the x-axis points laterally (positive right), the y-axis points longitudinally (positive forward), and the origin is at the first UWB anchor. The leader tag position p   =   p x ,   p y T is the quantity to be estimated. The state vector is five-dimensional,
x = p x ,   p y ,   v x ,   v y ,   b g T
where p x and p y are the lateral and longitudinal positions of the leader tag in the follower frame (mm); v x and v y are the corresponding relative velocities (mm/s); and b g is the residual Z-axis gyro bias (deg/s), i.e., the bias remaining after initial stationary calibration. Including the residual bias as a filter state rather than subtracting it before measurement fusion is necessary because the vehicle is in motion during TWR update cycles, and the initial calibration value cannot fully compensate for temperature drift and installation misalignment.

3.2. Prediction Model

The bias-corrected yaw rate is ω z   =   ω z m   −   b g . The rotation angle over one sampling interval is Δ θ   =   s g   ·   ω z   ·   Δ t , where s g = +1 throughout; the yaw rate is positive for a counter-clockwise turn seen from above, so a fixed point appears to rotate clockwise in the follower frame, that is, through R(−Δθ). Since the follower frame rotates with the vehicle, the relative position vector must be rotated accordingly,
p x k + 1 = c o s Δ θ   p x k + s i n Δ θ   p y k + Δ t   v x k
p y k + 1 = − s i n Δ θ   p x k + c o s Δ θ   p y k + Δ t   v y k
v x k + 1 = v x k ,     v y k + 1 = v y k ,     b g k + 1 = b g k
The rotation terms (cos/sin) compensate for the apparent rotation of the relative position due to follower yaw; the Δt·v terms are position updates under the constant-velocity model. Velocity and bias propagate as random walks. The covariance prediction is P k + 1 −   =   F k   P k +   F k T   +   Q , where the Jacobian F is
F = c s Δ t 0 f 04 − s c 0 Δ t f 14 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1
where c   =   c o s Δ θ ,   s   =   s i n Δ θ ,   f 04   =   s g   Δ t   s   p x   −   c   p y ,   f 14   =   s g   Δ t   c   p x   +   s   p y . The f04 and f14 terms are the partial derivatives of position with respect to bias; their presence generates cross-covariance between position states and bias during the prediction step. When the yaw rate is in deg/s, a π/180 conversion factor is applied. The process noise Q is diagonal, corresponding to position, velocity, and bias random walks, respectively. Two simplifications of the propagation are deliberate. Velocity is carried in the follower frame and is propagated without the Coriolis term that a rotating frame would introduce; the omitted term is of order |ωz| Δt |v|, which at 30 cm/s and 0.6 rad/s amounts to 1.8 mm/s per step, below the 10 mm/s standard deviation implied by Q_VEL, so it is left to the process noise that the filter already assumes. The bias is likewise propagated as a constant, since its variation within one control period is far below the resolution of the state.

3.3. UWB Measurement Model

The measurement vector is z k   =   d 0 k ,   d 1 k T , and the nonlinear measurement function is
h x k = p x 2 + p y 2 p x − L 2 + p y 2
The measurement residual is r k   =   z k   −   h x k − , and the measurement Jacobian is
H = p x h 0 p y h 0 0 0 0 p x − L h 1 p y h 1 0 0 0
where h 0 is the predicted range to anchor 0 and h 1 is the predicted range to anchor 1. Following the standard EKF procedure, the innovation covariance is S = HP−Hᵀ + R, the Kalman gain is K = P−HᵀS−1, and the state update is x k +   =   x k −   +   K k r k . The covariance is updated using the Joseph form P+ = (I − KH)P−(I − KH)ᵀ + KRKᵀ, which is numerically more robust than the standard form and maintains positive semi-definiteness even when K is approximate. The two ranges of a pair are acquired sequentially, with one exchange interval of about 34 ms between them. Because that interval corresponds to about 10 mm of relative displacement at 30 cm/s, and the ranging standard deviation is 20 mm, the pair is applied as a single two-dimensional update at the timestamp of the frame, and the timing error is absorbed by the ranging covariance reported in Section 5.3.
The measurement function h does not depend on bg, and the fifth column of H is zero, so no range frame corrects the bias directly. Prediction can generate cross-covariance between position and bias, but nonzero cross-covariance is not itself evidence of observability. Section 3.5 therefore evaluates the multi-step observability matrix rather than inferring information from the filter recursion. It shows that the range-only model retains a bias–velocity null direction and that the stationary zero-rate measurement in Section 3.4 supplies the independent information required for bias convergence.

3.4. Initialization and Robustness Mechanisms

(1) First-frame trilateration initialization. When both ranges d 0 and d 1 are first available, the initial position is solved analytically from the known baseline L: p x   =   d 0 2   −   d 1 2   +   L 2 2 L , p y   =   d 0 2   −   p x 2 . This avoids multi-frame convergence from a zero prior and yields a reliable position from the very first UWB sample. In the implementation the radicand d02 − px2 is clamped at zero before the square root, so the initialization cannot return a non-real value; when clamping occurs the resulting error is absorbed by the initial covariance.
(2) Mahalanobis outlier gating. Because the two anchors are polled sequentially, gating is applied to each scalar innovation rather than to the two-dimensional vector. For each anchor the squared Mahalanobis distance D k 2   =   r k T S k − 1 r k is compared with the fixed threshold γ = 20, and that anchor’s range is rejected for the frame when it exceeds this value. A one-dimensional normalized innovation at this threshold has a tail probability below 10−5, so the gate is deliberately conservative; it removes gross multipath spikes while admitting the ordinary ranging noise that the filter is meant to smooth. Because S is taken from the innovation covariance rather than fixed in advance, the gate widens automatically when the filter is uncertain, just after an outage or a reset, and tightens again after convergence. When only one of the two ranges survives the gate the update is performed with the surviving range alone, and the frame is rejected outright only when both are gated.
(3) Dead-reckoning hold. When UWB measurements are temporarily interrupted (tag unresponsive or multipath timeout), the filter propagates the relative state using only IMU yaw rate, maintaining continuous position output while inflating the covariance to reflect growing uncertainty. After 25 consecutive prediction cycles (approximately 250 ms) without UWB update, the filter is flagged as degraded.
(4) Zero-rate bias refinement. When the measured wheel speed is below 2 cm/s and the yaw rate remains under 50 mrad/s, the stationary gyro sample is treated as a direct observation of the residual bias, zb = gz,raw = bg + νb. The estimate is refined recursively at 100 Hz, bg ← bg + α(gz,raw − bg), with α = 0.02 and Rb = 0.25 (deg/s)2; it is never hard-assigned from one sample. Both gates are required: a differential-drive vehicle can rotate in place at nearly zero translational speed, and admitting that motion would absorb true yaw into the bias. The refinement starts only after calibration and does not reset position or velocity. The driver first removes the mean of 1000 stationary samples collected after a 1.5 s settle; the filter state tracks the residual thereafter. Section 3.5 shows that this branch is not merely a tuning aid; it supplies the measurement that makes the bias state observable.
(5) Divergence recovery. When the predicted position exceeds physical bounds (|px − L/2| > 2500 mm, py > 9000 mm, or py < −200 mm), the position is reset to 500 mm ahead of the baseline midpoint, velocities are zeroed, the converged bias estimate is retained, and the covariance is reset to trigger fresh trilateration initialization. These bounds describe open-field failure modes. On the 6 m track used here, with the tag in view of both anchors, the predicted position cannot reach them, so the branch was never exercised in the experiments of Section 6; it is reported as an implementation safeguard rather than as a tested behavior.
Figure 3 summarizes the complete TC-EKF operating flow. Each prediction step is driven by the MPU6050 yaw rate; after bias correction, the relative position vector is rotated. When a UWB measurement frame arrives, Mahalanobis gating is performed first, outliers are discarded, and valid measurements enter the Kalman update. If the updated position exceeds physical bounds, divergence reset is triggered while retaining the converged bias estimate. The zero-rate refinement runs at every prediction cycle, independently of the UWB stream, but only while the speed and yaw-rate gates both indicate a stationary chassis.
Figure 3. Flowchart diagram of the proposed TC-EKF algorithm.

3.5. Observability of the Residual Gyro Bias

The analysis uses the linearized discrete-time pair (F,H) around the current estimate. The bias is modeled as a slowly varying random walk; scale-factor and misalignment errors are neglected, range errors are zero-mean with R = 400 mm2, and no velocity or direct bias measurement is included in the two UWB ranges. Instantaneously, ∂h/∂bg = 0 and rank(H) = 2. This establishes zero measurement sensitivity, but does not by itself establish system unobservability, because an unmeasured state can in principle be recovered through the transition over several steps. The discrete-time local observability matrix is therefore required:
O = [H; HF; HF2; HF3; HF4],  rank(O) = 4 < 5.
δx = [0, 0, −δb(π/180)py, +δb(π/180)px, δb]ᵀ.
Equation (10) was evaluated for heading rates of 0, 3, 10, and 30 deg/s, px = 0–400 mm, and py = 300–900 mm. The rank remained four at every tested operating point, with the smallest singular value numerically zero. Equation (11) gives the corresponding null direction: a constant bias and a tangential velocity of magnitude |δb|(π/180)r generate the same range history in the adopted model. The computed null vectors matched this direction within 0.3°, and the bias-to-velocity ratio matched 1/((π/180)r) to five significant figures. Turning therefore does not remove this structural deficiency. This is a local observability result for the linearized model, not a claim that every possible nonlinear estimator or additional sensor would be unobservable.
When the stationary gates hold, the additional measurement zb = bg + νb has Jacobian Hz = [0 0 0 0 1]. Stacking this row with the range-only observability matrix increases the rank from four to five; the reported singular-value ratio was 4.7 × 10−3. The zero-rate measurement is thus the enabling observation for the fifth state, while UWB ranges continue to estimate position and velocity. The same null direction predicts the ablation outcome; removing the bias state relocates the bias-induced component into a phantom tangential velocity of magnitude Δb(π/180)r. Section 6.2 tests that prediction experimentally and restricts the conclusion to the stationary bench regime in which the zero-rate measurement is valid.

4. Following Control Architecture

The estimator provides the forward distance d f , lateral deviation d l , lateral velocity v l , and distance velocity v f . These signals are first smoothed with first-order low-pass filters; the lateral deviation with a coefficient of 0.4 and the lateral velocity with 0.3 , which suppress measurement jitter without introducing appreciable phase lag at the steering bandwidth. The controller is decomposed into two decoupled loops. The distance loop commands the longitudinal target speed so as to regulate the gap to a desired value d ∗ , while the steering loop commands the yaw rate so as to drive the lateral deviation to zero. Decoupling is justified because the longitudinal actuator acts primarily on the forward gap and the steering actuator primarily on the lateral offset, with the slow lateral dynamics having little effect on the distance loop.

4.1. Distance Loop

The distance command combines velocity feedforward with proportional correction. The feedforward term lets the follower match the leader’s observed speed before an error accumulates, while the proportional term acts on the gap error once it exceeds a deadband Δ d = 2 cm,
v t = F f v f + K p , d d f − d ∗ , d f − d ∗ > Δ d , F f v f , d f − d ∗ ≤ Δ d ,
with F f = 0.70 and K p , d = 12 mm/s per centimeter. The deadband prevents the drive from chattering around the target gap and the feedforward-only command within the band keeps the follower moving smoothly with the leader. The target speed is saturated to the actuator envelope,
− 150 mm / s ≤ v t ≤ 450 mm / s ,
where the forward limit reflects the safe operating speed and the reverse limit is smaller because the follower should retreat only enough to restore a lost gap.

4.2. Steering Loop

The steering command uses a proportional term on the filtered lateral deviation together with a damping term on the filtered lateral velocity,
σ = K p , s d ^ l + K d , s v ^ l , d l > Δ s , 0 , d l ≤ Δ s ,
with K p , s = 3.0 , K d , s = 0.3 , and a steering deadband Δ s = 2 cm. The derivative term provides damping that suppresses oscillatory weaving, and the deadband prevents the steering actuator from responding to residual noise when the follower is already aligned. The steering signal is saturated to ± 100 and converted to a yaw-rate command,
ω z = c s σ ,     c s = 6.29 ,
with σ ≤ 100 . The yaw rate and longitudinal speed are then mapped to the two driven wheels through the differential-drive kinematics. With the axle width A P B = 159 mm, the left and right wheel speeds are
v L = v t − ω z A P B 2 ,     v R = v t + ω z A P B 2 ,
where ω z is expressed in consistent angular units. Each wheel speed is closed by an inner proportional–integral–derivative loop with gains K p = 0.8 , K i = 0.10 , and K d = 0.5 , so the outer loops command velocities rather than raw motor duties.

5. Experimental Setup

5.1. Hardware Platform

The follower vehicle is a scaled differential-drive electric vehicle built around a WHEELTEC TI MSPM0G3507 modular controller (WHEELTEC, Ningbo, China). The MSPM0G3507 runs at 80 MHz without an FPU and executes the tightly coupled EKF, closed-loop speed and steering control, and the UWB communication stack. Two BP-TWR-50 UWB ranging modules are mounted transversely on the follower (calibrated baseline L = 400 mm); each module integrates a Decawave DWM1000 transceiver (Qorvo, Greensboro, NC, USA) and an STM32F103C8T6 microcontroller (Shenzhen, China), runs standard TWR firmware, and reports range measurements over UART. An MPU6050-class six-axis IMU mounted on the chassis provides yaw rate. The leader vehicle is another scaled differential-drive vehicle carrying a single BP-TWR-50 tag. An AR marker is attached to the top of each vehicle; the overhead camera detects both markers to reconstruct trajectories. The tag polls the two anchors alternately; each poll-response-final exchange takes approximately 34 ms, so the two ranges of a pair are separated by one exchange interval, and the rate at which complete pairs reach the controller is approximately 14.7 Hz. Figure 4 shows the two vehicles: the follower on the left carries the two transverse anchors and the controller board, and the leader on the right carries only the tag and its marker, which is what keeps the leader-side hardware minimal.
Figure 4. Following vehicle (left) and leader vehicle (right).
The TC-EKF is implemented in single-precision software floating point on the MSPM0G3507 at a fixed 80 MHz clock, without dynamic frequency scaling or sleep during following. Execution time was measured from maximum observed call durations in an unoptimized −O0 build; prediction requires 360 μs per call at 100 Hz and the UWB update 540 μs per call at 14.7 Hz, giving 3.60% + 0.79% = 4.39% CPU for the estimator alone (approximately 4.4%). The control interrupt additionally includes encoder acquisition (6 μs), four motor PID evaluations (26 μs), and the MPU6050 read (160 μs); with prediction, its worst-case occupancy is 552 μs per 10,000 μs period, or 5.52%.
Flash and static RAM were read from the linker map with unused sections garbage-collected. The estimator group occupies 5988 B of Flash and 320 B of static RAM; its update-step peak stack is approximately 400 B. The full firmware occupies 72,132 B of the 128 KB Flash (55.0%) and 8808 B of the 32 KB SRAM (26.9%). Stack sizing was bounded from the function frames, with a 0xA5 high-water-mark procedure available for on-target confirmation.
The 4.4% figure does not include acquisition, control, state handling, or telemetry. Adding output conversion, the control law, state machine, UART reception, formatting, and blocking telemetry gives a main-loop subtotal of 5.34%; together with the control interrupt, the complete measured framework is 10.86% (approximately 10.9%) with telemetry and 6.6% without it. Thus the earlier 4.4% claim is now explicitly restricted to the estimator, and the worst-case complete estimation-and-control load is reported separately.

5.2. Camera-Based Trajectory Reference

The overhead reference uses a K230 processing module and a GC2093 sensor; the evaluation stream is 320 × 240 grayscale with TAG36H11 AprilTags. Camera intrinsics and radial/tangential distortion coefficients were obtained with an OpenCV chessboard calibration, giving an RMS reprojection error below 0.5 pixel. Undistorted tag corners are mapped to ground coordinates by a homography estimated from four fixed reference tags and updated with an EWMA when reference tags are visible. The tag position is the mean of its four transformed corners. The measured ground sampling distance is 1.7 mm/pixel. A 500-frame stationary-tag test gave 0.9 mm RMS position noise, which includes residual distortion, homography fitting, and communication quantization. This static repeatability value is not treated as a bound on every systematic transformation error.
p c = R c u   p u + t c u
where Rcu is the 2D rotation matrix and tcu the translation vector. Camera data are used only for offline evaluation and do not enter the online control loop. The residual error of this transformation is not quantified in this study, and Section 7 states what that implies for the resolution of the comparison.
Time alignment of the camera reference
The on-board sensor stream and the camera stream share a common clock but run at different rates. Each on-board sample is matched to the nearest camera frame and linearly interpolated to the on-board timestamp. Table 1 reports the measured alignment distribution. At nominal speeds of 10, 20, and 30 cm/s, the median 25 ms offset corresponds to displacements of 2.5, 5.0, and 7.5 mm; the 44 ms 90th percentile corresponds to 4.4, 8.8, and 13.2 mm. These values describe timing-equivalent displacement, not independent random noise to be added to the 0.9 mm static RMS. Homography residuals, lever-arm transformation, and interpolation error are not fully characterized. Consequently, the camera is a practical comparative reference rather than uncertainty-certified ground truth, and sub-millimeter or few-millimeter algorithm differences are not interpreted as established rankings.
Table 1. Time-alignment statistics of the camera reference.

5.3. Experimental Scenario

Experiments are conducted on a circular track consisting of two 1.5 m straight sections connected by two semicircles of radius R = 0.5 m (Figure 5). Three nominal leader speeds are tested: 10, 20, and 30 cm/s. In the unobstructed condition no object is placed between the vehicles. In the occluded condition, foam barriers at the two semicircular ends obstruct the UWB line of sight during parts of corner transit; the overhead camera remains unobstructed. Camera occlusion/interpolation flags indicate AprilTag tracking artifacts, not UWB outages, and frames with either flag are excluded from metric calculations. The remaining quality filters require both vehicles to be detected, speed below 2000 mm/s, positions inside the track bounds, and at least 20 valid frames per recording.
Figure 5. Experimental setup: The test track consists of two 1.5 m straight segments and two semicircular ends with a radius of R = 0.5 m.
Six estimators are compared: the proposed five-state TC-EKF-IMU and its gyroscope-free counterpart TC-EKF; loose four-state EKF-IMU and EKF; and two-state LSKF-IMU and LSKF. Up to six repetitions per speed–condition cell were attempted. After uniform quality control, the recording-level analysis contains 14 TC-EKF-IMU, 26 EKF-IMU, 18 LSKF-IMU, 15 TC-EKF, 20 EKF, and 25 LSKF files across the two conditions. The unit of statistical analysis is the independent recording, not the correlated frames within it. Section 6.3 reports the per-condition sample sizes, medians, interquartile ranges, and recording-level tests.
Filter parameters are as follows: the prediction step runs at 100 Hz (Δt = 10 ms) driven by the MPU6050 yaw rate, and the UWB measurement rate is approximately 14.7 Hz. The ranging noise is R_RANGE = 400 mm2, corresponding to a standard deviation of approximately 20 mm estimated from stationary data; the process noise values are Q_POS = 5.0, Q_VEL = 100.0 and Q_BIAS = 0.0001, the per-step variances of the position, velocity and bias random walks in mm2, (mm/s)2 and (mrad/s)2 respectively. The Mahalanobis threshold is γ = 20 for each scalar anchor innovation. The dead-reckoning hold limit is 25 prediction cycles, approximately 250 ms. The zero-rate refinement uses α = 0.02 below 2 cm/s, and is admitted only when |ωz| < 50 mrad/s; the stationary calibration preceding each trial collects 1000 samples after a 1.5 s settle. Divergence is declared when |px − L/2| > 2500 mm, py > 9000 mm or py < −200 mm, after which the filter resets to 500 mm ahead of the baseline midpoint and reinitializes by trilateration. The desired gap d* is a fixed design constant, shared by all six estimators and not tuned per algorithm. The three process-noise values were set from the sensor characteristics rather than by an automated search: Q_VEL corresponds to a one-step velocity uncertainty of 10 mm/s, which matches the resolution of the wheel-speed loop, and Q_POS to a position uncertainty of about 2 mm, below the ranging scale; no online adaptation of Q was used.

6. Results

6.1. Relative Localization Accuracy

We first compare the on-board relative-position output directly against the camera reference. Table 2 summarizes the error statistics for all six estimators under the two conditions, computed from the same set of logged files after the time alignment described in Section 5.2. For each estimator we report the mean absolute error (MAE), median absolute error (MedAE), root-mean-square error (RMSE) and the signed mean bias. Two of these statistics answer different questions and are kept separate in the following. The RMSE and the mean absolute error are computed on the instantaneous relative-position estimate, and they are dominated by the along-track coordinate, whose error is set by the ranging noise; the median absolute error suppresses the tail of that same coordinate. The path-level metrics of Section 6.6, Section 6.7 and Section 6.8 are computed on the closed-loop paths instead.
Table 2. Per-algorithm validation results against the camera reference (mm).
The proposed TC-EKF-IMU keeps RMSE at 45.4 mm without occlusion and 43.4 mm with occlusion, and its signed bias stays below 1 mm in both conditions. The gyroscope-free TC-EKF is better in the unobstructed condition on MAE (33.0 vs. 38.2 mm), MedAE (22.5 vs. 36.2 mm), and RMSE (41.8 vs. 45.4 mm). Gyroscope integration is therefore not uniformly beneficial. Its clearest advantages occur in closed-loop path accuracy and smoothness and under the occluded condition, whereas short, well-conditioned unobstructed segments can favor the simpler filter because gyro noise and bias introduce an additional error channel. The new four-state ablation in Section 6.2 isolates the bias-state mechanism; these aggregate metrics alone do not.
The signed-bias column is descriptive of the systematic position component and is lowest for the proposed filter. It should not, however, be read as a controlled estimate of the fifth state’s contribution, because the compared estimators also differ in prediction structure and tuning. The controlled evidence is instead provided by the same-frame four-state comparison below.
The two loose two-state filters, LSKF and LSKF-IMU, carry the largest errors, up to 71.1 mm of RMSE and 52.9 mm of MAE, which is consistent with the geometry-amplified noise of the trilateration stage feeding the filter without any inertial prediction between updates.

6.2. Bias Convergence and Four-State Ablation

A stationary bench experiment isolated the fifth state. The unit residual bias after factory-style stationary calibration was too small to resolve reliably with the present geometry, so known offsets Δb = 1.0 or 3.0 deg/s were injected identically into both filters. Five independent power cycles were used. At the start of each convergence burst, the estimated bias was reset to zero and P44 to 1.0; 100 samples were then logged at 50 Hz. The first-entry settling time t99 is the first sample satisfying | b ^ − Δb| < 0.01 Δb. Figure 6 and Table 3 show convergence to within 1.29% of the injected value, with t99 = 0.046–0.207 s and the injected value inside the final ±3σb band in every run. These results validate stationary zero-rate convergence; they do not establish equally fast tracking of arbitrary time-varying bias during motion.
Figure 6. Estimated bias after a known reset for injected biases of (a) 3.0 and (b) 1.0 deg/s. Dashed lines denote the injected values.
Table 3. Bias-convergence results from five independent power cycles.
The ablation used the same code path, UWB frames, initialization, baseline, and noise parameters in both filters. In the four-state variant, biasen = 0 removes the bias state, its covariance row and column, and the corresponding prediction terms; the zero-rate bias update is therefore structurally absent. A record was retained only when both filters accepted the same frame. The dataset contains 2302 paired frames, of which 2022 stationary frames with encoder speed below 0.5 cm/s were used for range-binned analysis. The wheels-turning segments were too short for stable paired estimates and were excluded. The metric is the magnitude of the time-averaged velocity-difference vector, |mean(v4 − v5)|, rather than the mean instantaneous magnitude, which would be dominated by common noise. The range-binned results are listed in Table 4 and plotted in Figure 7 together with the theoretical scaling curve.
Table 4. Range-binned four-state ablation and the predicted phantom velocity.
Figure 7. Four-state ablation: (a) measured range-dependent phantom velocity and theoretical curves; (b) measured vs. predicted values with the pooled fit.
Across the ten run-level bias/range cells, a fit through the origin gave |mean(v4 − v5)| = kΔbr with k = 0.016704, 4.30% below π/180 = 0.017453, and pooled R2 = 0.952. Cell-level measured/theory ratios ranged from 0.807 to 1.248. This is the velocity signature predicted by the unobservable direction in Equation (11). The two filters nevertheless agreed in position to median differences of 0.22 mm at Δb = 1 and 0.89 mm at Δb = 3; large excursions at the higher injection were reset events rather than a steady offset. Accordingly, the benefit is not claimed as uniformly better positioning. Using the steering gains KD/KP = 0.1, the phantom lateral velocity projects to a range-dependent centering offset of 0.06–0.16 cm at Δb = 1 and 0.18–0.46 cm at Δb = 3. These projected offsets lie inside the ±2 cm steering deadband and were not independently measured as closed-loop tracking improvements.

6.3. Recording-Level Statistical Analysis

To avoid treating correlated time samples as independent replicates, each retained recording contributes one CT value. Table 5 reports the median and interquartile range (IQR); these replace the earlier interpretation of pooled metrics as if six repetitions had simply provided one aggregate number. A one-sided Mann–Whitney U test evaluates H1: CT(TC-EKF-IMU) < CT(competitor), with Holm–Bonferroni correction across the five reported comparisons and rank-biserial r as effect size (Table 6). The comparison with EKF-IMU over all speeds is not significant (raw p = 0.1087). A secondary 10–20 cm/s analysis gives Holm-adjusted p = 0.0155 and r = 0.567, but is interpreted as speed-dependent evidence rather than a universal advantage.
Table 5. Recording-level CT distributions after uniform quality control (mm).
Table 6. One-sided recording-level Mann–Whitney comparisons of CT.

6.4. Performance Metrics and Composite Scoring

Five complementary metrics characterize following accuracy, stability and comfort. Their definitions and weights are given in Table 7; each metric is first normalized to a 0–100 scale on which 100 denotes the best performer.
Table 7. Metric definitions and the weights used in the composite score.
The speed correlation is intrinsically higher-is-better, while the other four are lower-is-better and are inverted before normalization. The weighted composite is then formed as follows.
Score = 0.35·CT + 0.25·DCV + 0.25·SC + 0.10·RD + 0.05·R2, where the asterisk marks a lower-is-better metric after inversion to the 0–100 scale. Two properties of this index have to be kept in view. Each metric is normalized by its own minimum and maximum over the six estimators, so 100 marks the best estimator on that metric within this comparison and not a physical performance level; percentage differences between composite scores are therefore not meaningful, and the weights of Table 7 are a design choice for which no sensitivity analysis is reported here. The composite orders six candidates evaluated on one track, and it does not generalize beyond them.

6.5. Average-Lap Trajectory Comparison

Figure 8 shows the average-lap trajectories of the six estimators against the leader reference for every speed and condition. The laps were aligned by their start point and averaged over the repeated circuits, so each trace represents a mean path rather than a single noisy lap. The black dashed line is the leader, and the colored traces are the estimator outputs, using the color scheme in the legend. The six traces overlap within roughly one line width at the scale of the panel, so the figure supports a qualitative reading of the lap shape; the per-condition values of Table 8, Table 9, Table 10, Table 11 and Table 12 carry the numerical comparison and are used in the text wherever a difference between estimators is asserted.
Figure 8. Average-lap trajectories of the six estimators across three speeds and two conditions.
Table 8. Path-following error CT (mm; lower is better).
Table 9. Gap stability DCV (%; lower is better) and median gap Dist (mm).
Table 10. Speed-match deviation RD (%; lower is better) and speed correlation SC (r; higher is better).
Table 11. Follower roughness R2 (lower is better).
Table 12. Composite score under each condition and the mean of the two conditions (higher is better).
On the two straights every estimator stays close to the reference, because little body rotation is involved and the geometry remains well conditioned. The differences concentrate on the semicircular ends, where the follower yaws continuously and the tag sits in tighter geometry. The two tight, gyroscope-aided filters follow the reference through both straights and curves and do not show the outward displacement seen in the higher-bias variants. The gyroscope-free tight filter is close on the clear laps but widens under occlusion, the geometric counterpart of its RMSE rising from 41.8 to 51.0 mm in Table 2. The loose two-step traces fan out around the curves, in line with the geometry-dependent noise of the trilateration stage.
The LSKF trace (orange) drifts outward on the upper straight and through the curves, most clearly at 20 and 30 cm/s. This matches its combined results, the worst of the set for CT (91.0 mm) and DCV (24.1%).
The TC-EKF (grey) and EKF (green) traces show larger frame-to-frame jitter over parts of the lap, consistent with their roughness in Table 11, which reaches 305.9 mm for the gyroscope-free tight filter against 112.6 mm for the proposed one.
The TC-EKF-IMU (red) and EKF-IMU (blue) traces lie closest to the reference and move smoothly into and out of the curves, agreeing with their lower roughness (119.2 and 130.4).
Under occlusion the TC-EKF-IMU trace keeps approximately the same shape as on the clear laps, consistent with its occlusion CT of 45.2 mm and its gap coefficient of variation of 19.6%. At the scale of the panel the remaining differences cannot be resolved, so this observation is qualitative only.

6.6. Path-Following Accuracy (CT)

The CT values are listed in Table 8 and are shown as grouped bars in Figure 9. Under clear line of sight the proposed estimator reaches a recording-level median of 43.9 mm (IQR 35.3–60.1 mm), compared with 59.5 mm (IQR 51.6–98.1 mm) for EKF-IMU. Under occlusion the corresponding values are 45.2 and 45.1 mm. The 0.1 mm occluded difference is not a defensible ordering, particularly given the reference uncertainty in Section 5.2. The recording-level tests in Table 6 support lower CT than LSKF-IMU, TC-EKF, EKF, and LSKF over all speeds; the advantage over EKF-IMU is supported only in the 10–20 cm/s subset, not in the all-speed comparison. CT remains a closed-loop path-level metric rather than a direct measure of estimator accuracy alone.
Figure 9. Path-following error CT under the two conditions (mm).
The comparison between the two tight filters associates gyroscope integration with lower closed-loop CT and roughness, but it does not by itself separate gyro rotation compensation from bias estimation. Section 6.2 supplies that separation with a four-state filter using the same gyro and UWB frames. The results support a specific conclusion: bias estimation removes a predictable range-dependent phantom velocity in the stationary ablation, while the magnitude of its independent contribution to full-vehicle tracking remains condition-dependent.

6.7. Gap Stability and Speed Matching

The gap and speed metrics explain where the path accuracy comes from. Table 9 reports the gap stability. The proposed estimator has the smallest coefficient of variation in both conditions, 15.6% without occlusion and 19.6% with it, so the following gap is held most steadily. Its median inter-car distance also stays within the operating range shared by the other methods, 742.5 and 718 mm. Figure 10 shows the two DCV series side by side, and the proposed filter has the shortest bar in both groups. Because d* is common to the six estimators, this column reflects how well each estimator supports the controller rather than a difference in the commanded gap.
Figure 10. Gap stability DCV under the two conditions (%).
The speed-match deviation in Table 10 tells a consistent story. The proposed estimator has a small mean speed bias, 5.5% without occlusion and 7.4% with it, and sits among the lowest values in the clear condition, so it does not systematically over- or under-drive. The speed correlation is moderate for every algorithm, about 0.28–0.46, which is expected because follower speed is a closed-loop response to the leader rather than a copy of it; the proposed filter remains in the upper part of this range (0.353 and 0.380), indicating a coherent response. Figure 11 presents the same RD values as grouped bars.
Figure 11. Speed-match deviation RD under the two conditions (%).

6.8. Trajectory Smoothness

Accuracy should not be bought with jerky motion, which is uncomfortable and excites the actuator. The roughness R2, the RMS second difference of the follower position coordinate, is given in Table 11. The proposed filter gives 112.6 without occlusion and 125.9 under it, the lowest among the tight and EKF family and well below the gyroscope-free TC-EKF (305.9 and 307.1). The two-step and non-IMU filters are markedly rougher, consistent with the geometry-amplified noise of the trilateration stage feeding directly into the steering command. Figure 12 plots the same roughness values; the two bars of the gyroscope-free TC-EKF dominate the axis and set the rest of the field apart visually.
Figure 12. Follower roughness R2 under the two conditions.
One metric is genuinely won by another estimator. The LSKF-IMU reaches 97.1 for occlusion roughness, and it also leads the occlusion speed deviation (4.4%) and speed correlation (0.463). These are the terms that lift its per-condition score slightly above the proposed filter, as discussed next. The proposed filter is still smoother on the clear laps and within about 30% of the best occlusion value, while its path error is 30.7% below the LSKF-IMU.

6.9. Occlusion Trials, Metric Trade-Offs, and Composite Ranking

The foam barriers at the semicircular ends provide partial, geometry-dependent UWB obstruction rather than a controlled full outage. The proposed estimator’s median CT changes from 43.9 to 45.2 mm, whereas four of the six estimators improve numerically under the occluded condition. This nonuniform response prevents a robustness interpretation. Possible explanations include partial single-link blockage, different trajectory or speed distributions, and changed anchor geometry. The original logs do not contain synchronized per-anchor acceptance decisions, rejected-frame counts, or outage start/end timestamps; rejection rates, blocked-frame fractions, outage-duration distributions, and error conditioned on outage duration therefore cannot be reconstructed without inventing data. Camera occlusion/interpolation flags are unrelated to UWB loss and cannot substitute for those measurements. The occlusion results are consequently reported only as recording-level CT distributions, and no claim of validated outage robustness is made.
The per-condition composite ranking has to be read the same way. On the occluded score the LSKF-IMU reaches 0.853 against 0.825 for the proposed estimator, because it leads the three lower-weighted terms, roughness, speed correlation and speed deviation, while being 30.7% worse on the highest-weighted term, path accuracy. Averaging the two per-condition scores, rather than pooling the raw metrics, gives 0.863 for the proposed estimator and 0.740 for the LSKF-IMU. That average is a summary of two relative indices, so it orders the candidates on this track and does not establish a performance advantage beyond it. The defensible statement is that the proposed estimator combines the lowest path error with competitive smoothness and the most stable gap, and that it wins neither every single metric nor every condition.
The composite scores are collected in Table 12 and are read as a relative ordering of the six candidates. Two points stand out. First, the advantage of the proposed filter is largest on the metric with the highest weight, path accuracy; its combined CT of 44.5 mm is 14.9% below the second-ranked EKF-IMU (52.3 mm), 31.7% below the LSKF-IMU (65.2 mm), and 42.3–51.1% below the three non-IMU estimators. Second, the score gap is not carried by one metric; the proposed filter is the only estimator that stays near the top across all five dimensions, while the others trade one dimension against another.

7. Discussion and Limitations

The revised theory and experiments provide a narrower but testable account of the fifth state. Range-only fusion has a structural bias–tangential-velocity null direction, and the stationary zero-rate measurement raises the local observability rank to five. The bench resets verify convergence under that measurement model, while the four-state ablation verifies the predicted velocity signature. The closed-loop results further show that gyroscope integration is most useful for path accuracy and smoothness, not for every instantaneous position metric. In particular, the gyroscope-free TC-EKF performs better without occlusion on MAE, MedAE, and RMSE, whereas the proposed filter has lower closed-loop CT and much lower roughness. This trade-off is consistent with the additional gyro-noise channel in benign geometry and with inertial rotation compensation becoming more useful during turning and degraded ranging.
Several limits remain. The convergence and ablation experiments are stationary bench tests with injected constant biases; moving-target segments were excluded because their paired records were insufficient. Generalization to thermal transients, scale-factor error, vibration, and time-varying bias is therefore not established. The occlusion logs lack per-anchor rejection and outage timestamps, so the proposed gating and dead-reckoning mechanisms are not validated as outage-robustness mechanisms, and the divergence-reset branch was not exercised. Static camera repeatability is 0.9 mm RMS, but homography, lever-arm, interpolation, and timing errors limit the resolution of small differences; the 0.1 mm occluded CT gap is not meaningful. Finally, the recording count after quality control is modest and uneven across algorithms, the EKF-IMU advantage is speed-dependent, and the composite score remains a relative index for one track and one planar two-anchor platform.
The comparison is internal, and deliberately so. The five alternative estimators are ablations of the proposed architecture, which is appropriate for attributing differences to specific components but not for positioning the method against published results. A published baseline would have to be re-implemented on the same hardware and against the same reference, and the closest published work differs in enough respects, being formulated in global rather than relative coordinates, in using three or more fixed anchors, or in relying on inertial units with a full attitude solution, that a direct numerical comparison without a common dataset would not be meaningful.
Further validation should log per-anchor gate decisions and outage intervals, synchronize them with localization error, and include controlled partial and complete outages. Moving four-state/five-state comparisons with independently measured bias trajectories are needed to establish convergence outside the stationary regime. A calibrated reference uncertainty budget should combine homography residuals, lever arms, interpolation, and timing, and additional tracks, geometries, and published baselines should be evaluated before claiming general applicability.

8. Conclusions

This paper presented a five-state tightly coupled EKF for leader–follower relative localization using two transverse UWB anchors and a chassis gyroscope. The principal theoretical conclusion is limited but explicit: the range-only dynamic model has rank four and a bias–tangential-velocity null direction, whereas the stationary zero-rate measurement restores rank five. Five independent injected-bias resets produced final errors within 1.29% and first-entry settling times of 0.046–0.207 s. The same-frame four-state ablation produced the predicted phantom-velocity scaling, with fitted coefficient 0.01670 vs. π/180 = 0.01745 and R2 = 0.952. These results support the additional state under stationary zero-rate conditions, rather than claiming universally superior positioning.
On the scaled vehicles, the proposed estimator reached median closed-loop CT values of 43.9 mm without occlusion and 45.2 mm with occlusion. Recording-level IQRs and Mann–Whitney tests now accompany these values. The all-speed advantage over EKF-IMU is not significant; a significant difference appears only in the 10–20 cm/s subset. The estimator requires 4.4% of the control-period CPU, and the complete measured framework requires 10.9% with telemetry or 6.6% without it. Static camera noise was 0.9 mm RMS, but reference timing and transformation residuals prevent the interpretation of very small algorithm differences.
The occluded trials do not validate rejection or dead-reckoning robustness because per-anchor rejection counts and outage durations were not logged. The experiments are also limited to one track, modest and uneven recording counts, and stationary injected-bias ablation. Claims concerning time-varying bias compensation, outage robustness, and general applicability are therefore deferred to future controlled experiments.

Author Contributions

Conceptualization, P.W. and S.P.; methodology, P.W.; software, P.W. and H.W.; validation, P.W., H.W. and J.L.; formal analysis, P.W.; investigation, P.W. and J.L.; resources, S.P.; data curation, H.W. and J.L.; writing—original draft preparation, P.W.; writing—review and editing, P.W. and S.P.; visualization, H.W.; supervision, S.P.; project administration, S.P.; funding acquisition, S.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Jiangsu Autonomous Driving Technology Innovation and Application Engineering Research Center (Grant No. ZK25-06-01), the Start-Up Fund for New Talented Researchers of Nanjing University of Industry Technology (Grant No. YK24-04-05), and the Basic Science (Natural Science) Research Project of Jiangsu Higher Education Institutions (Grant No. 22KJB210014).

Data Availability Statement

The raw experimental data supporting the findings of this study are available on request from the corresponding author. The data are not publicly available due to ongoing follow-up research based on this dataset.

Acknowledgments

During the preparation of this manuscript, the authors used Doubao (web version, Seed 2.1) for language polishing and schematic diagram drawing. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Leitch, S.G.; Ahmed, Q.Z.; Bin Abbas, W.B.; Hafeez, M.; Lazaridis, P.I.; Sureephong, P.; Alade, T. On Indoor Localization Using WiFi, BLE, UWB, and IMU Technologies. Sensors 2023, 23, 8598. [Google Scholar] [CrossRef] [Scilit]
  2. Feng, D.; Wang, C.; He, C.; Zhuang, Y.; Xia, X.-G. Kalman-Filter-Based Integration of IMU and UWB for High-Accuracy Indoor Positioning and Navigation. IEEE Internet Things J. 2020, 7, 3133–3146. [Google Scholar] [CrossRef] [Scilit]
  3. Krishnaveni, B.V.; Reddy, K.S.; Reddy, P.R. Indoor tracking by adding IMU and UWB using unscented Kalman filter. Wirel. Pers. Commun. 2022, 123, 3575–3596. [Google Scholar] [CrossRef] [Scilit]
  4. Venkata Krishnaveni, B.; Suresh Reddy, K.; Ramana Reddy, P. Indoor positioning and tracking by coupling IMU and UWB with the extended Kalman filter. IETE J. Res. 2023, 69, 6757–6766. [Google Scholar] [CrossRef] [Scilit]
  5. Hashim, H.A.; Eltoukhy, A.E.E.; Vamvoudakis, K.G. UWB ranging and IMU data fusion: Overview and nonlinear stochastic filter for inertial navigation. IEEE Trans. Intell. Transp. Syst. 2024, 25, 359–369. [Google Scholar] [CrossRef] [Scilit]
  6. Ji, P.; Duan, Z.; Xu, W. A combined UWB/IMU localization method with improved CKF. Sensors 2024, 24, 3165. [Google Scholar] [CrossRef] [Scilit]
  7. Wei, M.; Liu, L.; Li, S.; Wang, D.; Li, W. Gauss-AUKF based UWB/IMU fusion localization approach. Ad Hoc Netw. 2025, 175, 103855. [Google Scholar] [CrossRef] [Scilit]
  8. Li, X.; Ye, J.; Zhang, Z.; Fei, L.; Xia, W.; Wang, B. A Novel Low-Cost UWB/IMU Positioning Method with the Robust Unscented Kalman Filter Based on Maximum Correntropy. IEEE Sens. J. 2024, 24, 29219–29231. [Google Scholar] [CrossRef] [Scilit]
  9. Zou, A.; Hu, W.; Luo, Y.; Jiang, P. An Improved UWB/IMU Tightly Coupled Positioning Algorithm Study. Sensors 2023, 23, 5918. [Google Scholar] [CrossRef] [Scilit]
  10. Yang, X.; Wang, J.; Song, D.; Feng, B.; Ye, H. A Novel NLOS Error Compensation Method Based IMU for UWB Indoor Positioning System. IEEE Sens. J. 2021, 21, 11203–11212. [Google Scholar] [CrossRef] [Scilit]
  11. Chen, L.; Gao, Z.; Xu, Q.; Yang, C.; Li, Y. Comprehensive Evaluation of Robust and Tight Integration of UWB and Low-Cost IMU. IEEE Sens. J. 2023, 23, 26411–26422. [Google Scholar] [CrossRef] [Scilit]
  12. Sun, J.; Sun, W.; Zheng, J.; Chen, Z.; Tang, C.; Zhang, X. A Novel UWB/IMU/Odometer-Based Robot Localization System in LOS/NLOS Mixed Environments. IEEE Trans. Instrum. Meas. 2024, 73, 1–13. [Google Scholar] [CrossRef] [Scilit]
  13. Feng, D.; Peng, J.; Zhuang, Y.; Guo, C.; Zhang, T.; Chu, Y.; Zhou, X.; Xia, X.-G. An Adaptive IMU/UWB Fusion Method for NLOS Indoor Positioning and Navigation. IEEE Internet Things J. 2023, 10, 11414–11428. [Google Scholar] [CrossRef] [Scilit]
  14. Zhang, H.; Wang, Q.; Li, Z.; Mi, J.; Zhang, K. Research on High Precision Positioning Method for Pedestrians in Indoor Complex Environments Based on UWB/IMU. Remote Sens. 2023, 15, 3555. [Google Scholar] [CrossRef] [Scilit]
  15. Sui, X.; Song, J.; Wang, C.; Ding, W.; Gao, S.; Shi, Z. UWB/MEMS IMU integrated positioning method based on NLOS angle discrimination and MAP constraints. Sci. Rep. 2024, 14, 1–17. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Zhang, H.; Zhang, Z.; Gao, N.; Xiao, Y.; Meng, Z.; Li, Z. Cost-Effective Wearable Indoor Localization and Motion Analysis via the Integration of UWB and IMU. Sensors 2020, 20, 344. [Google Scholar] [CrossRef] [Scilit]
  17. Zhong, W.; Zhang, L.; Sun, Z.; Dong, M.; Zhang, M. UI-MoCap: An Integrated UWB-IMU Circuit Enables 3D Positioning and Enhances IMU Data Transmission. IEEE Trans. Neural Syst. Rehabil. Eng. 2024, 32, 1034–1044. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Liu, C.; Kadja, T.; Chodavarapu, V.P. Experimental evaluation of sensor fusion of low-cost UWB and IMU for localization under indoor dynamic testing conditions. Sensors 2022, 22, 8156. [Google Scholar] [CrossRef] [Scilit]
  19. Sun, J.; Sun, W.; Zheng, J.; Fang, X.; Liu, J.; Mian, A. UWB–IMU–Odometer Fusion for Simultaneous Calibration and Localization. IEEE Internet Things J. 2024, 12, 950–963. [Google Scholar] [CrossRef] [Scilit]
  20. Zhou, B.; Fang, H.; Xu, J. UWB-IMU-odometer fusion localization scheme: Observability analysis and experiments. IEEE Sens. J. 2022, 23, 2550–2564. [Google Scholar] [CrossRef] [Scilit]
  21. Nguyen, T.H.; Nguyen, T.M.; Xie, L. Range-focused fusion of camera-IMU-UWB for accurate and drift-reduced localization. IEEE Robot. Autom. Lett. 2021, 6, 1678–1685. [Google Scholar] [CrossRef] [Scilit]
  22. Muthineni, K.; Artemenko, A.; Vidal, J.; Nájar, M.; Catalan, M.; Paradells, J. Deep Learning-Based UWB-IMU Data Fusion for Indoor Positioning in Industrial Scenario. IEEE Open J. Veh. Technol. 2025, 6, 1209–1221. [Google Scholar] [CrossRef] [Scilit]
  23. Ntanis, A.; Kostikis, N.; Tsimperis, I.; Tsiouris, K.; Rigas, G.; Fotiadis, D. Evaluating parameters of the TUG test based on data from IMU and UWB sensors. In Proceedings of the 2022 18th International Conference on Wireless and Mobile Computing, Networking and Communications (WiMob); IEEE: New York, NY, USA, 2022; pp. 142–147. [Google Scholar]
  24. Nguyen, T.-M.; Zaini, A.H.; Wang, C.; Guo, K.; Xie, L. Robust target-relative localization with ultra-wideband ranging and communication. arXiv 2018, arXiv:1802.08953. [Google Scholar]
  25. Ichekhlef, S.; Villemure, T.; Naderi, S.; Ferland, F.; Blondin, M. Relative ultra-wideband based localization of multi-robot systems with kinematic extended Kalman filter. arXiv 2023, arXiv:2303.11443. [Google Scholar]
  26. Shalaby, M.; Cossette, C.C.; Forbes, J.R.; Le Ny, J. Relative position estimation in multi-agent systems using attitude-coupled range measurements. arXiv 2022, arXiv:2207.07993. [Google Scholar]
  27. Goudar, A.; Pereida, K.; Schoellig, A.P. Ultra-wideband aided inertial navigation: Observability analysis and sensor extrinsics calibration. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS); IEEE: New York, NY, USA, 2020. [Google Scholar]
  28. Liu, J.; Nian, M. Kalman filter-based optimization of UWB ranging and its application in AGV following systems. In Proceedings of the 2026 5th Asia Conference on Algorithms, Computing and Machine Learning (CACML); IEEE: New York, NY, USA, 2026; pp. 1–6. [Google Scholar]
  29. Yoon, J.; Kim, S. Collaborative robot location error calibration using range measurements from mobile UWB anchors. Results Eng. 2026, 30, 110567. [Google Scholar] [CrossRef] [Scilit]
  30. Lyu, J.; Yang, S.; Song, T.; He, S. Drift-free 4DoF pose estimation for UAVs: Minimizing UWB devices with IMU integration. IEEE Sens. J. 2026, 26, 17618–17633. [Google Scholar] [CrossRef] [Scilit]
  31. Lian, S.; Wang, J.; Zhang, B.; Meng, W.; Zhang, F. Full-coverage 3-D indoor positioning system based on a rotating dual-ultra-wideband platform. IEEE Trans. Instrum. Meas. 2025, 74, 1–10. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.