UWB positioning can hold centimeter-level error in open areas, yet when a worker walks behind a shelf, a corner, or a piece of equipment, the trajectory may suddenly jump by a segment; with IMU dead reckoning alone, the track looks smooth for a short time but drifts more as the walk goes on. The two technologies fail in different ways, and the value of fusion is to let each one cover the segment where the other fails.
1. Two Positioning Technologies, Two Failure Modes
In UWB vs IMU positioning for GNSS-denied sites, UWB positioning technology can achieve high-precision positioning by virtue of its high time resolution, strong multipath resolution and other characteristics, so it has attracted much attention in personnel positioning technology. The IMU-based positioning scheme, by virtue of its advantages of not requiring infrastructure to be built in advance and not being limited by the environment, has become a scheme that other wireless signal positioning technologies cannot easily replace.
For the UWB-based personnel positioning scheme, because each ranging and position solution is independent, it will not affect its own positioning effect in the adjacent ranging results, so the UWB-based positioning solution does not produce accumulated error. However, in an NLOS environment, obstacles will interfere with the transmission of UWB signals and cause positioning accuracy to decrease. The IMU-based personnel positioning scheme does not need to pre-lay infrastructure similar to UWB base stations, can complete position estimation independently, and IMU-based personnel positioning is not disturbed by the NLOS environment. However, the IMU positioning result uses recursive calculation and depends on the previous moment’s positioning result and the current displacement increment, so the error has an accumulating nature.
In the open path propagation process, there are no interfering signals or obstacles between UWB devices, and extremely accurate position estimation can be achieved. However, in actual application environments there may be obstacles or certain signal interference sources. The error sources of UWB in actual positioning systems are analyzed below:
(1) Non-line-of-sight error; in a line-of-sight environment, the signal transmitting and receiving ends are not blocked, the signal propagates along a straight line, and TOA-based ranging has high accuracy and can achieve precise positioning. But in an NLOS scenario, the direct path of the signal is blocked, forcing the signal to propagate by non-straight methods such as reflection and diffraction. This propagation mode weakens the strength of the direct signal; in extreme cases, strong blocking by an obstacle may prevent the receiving end from obtaining a valid signal, causing positioning to fail.
(2) Multipath effect; during signal propagation, affected by obstacles such as building walls and indoor facilities, multiple propagation paths are formed through reflection and refraction. These signals, which carry the same information but have different delays and phases, superimpose at the receiving end, causing signal amplitude fading and ultimately interfering with the positioning result.
(3) Clock bias; clock bias is a key challenge in UWB positioning. Because there are independent clock sources and controllers between devices, bias will still occur even after initial synchronization. Positioning accuracy depends highly on the accuracy of the signal transmission and reception timestamps. The propagation speed of electromagnetic waves is extremely fast, and a time bias of 1 ns can cause a ranging error of 30 cm, significantly reducing positioning accuracy. Therefore, the positioning system must adopt an effective time synchronization compensation mechanism.

2. IMU Alone: Accurate in the Short Term, Biased in the Long Term
In an indoor positioning system using IMU, Pedestrian Dead Reckoning (PDR) is the core algorithm and is used to estimate the pedestrian’s motion trajectory. Through the data measured by the inertial measurement unit, combined with the regularity of a person’s walking, the person’s step frequency information, step length information and heading angle information can be obtained. After an initial position is given, the algorithm multiplies the step length information by the sine and cosine of the heading angle to obtain the displacement components after walking, and uses the displacement components to solve the position.
The error of PDR accumulates along the recursive chain; to make IMU-only positioning last longer, the first thing is to identify a “step” accurately.
3. Gait Detection: Dividing a Step into Stance and Swing
When a person walks, a single step can be regarded as a complete gait cycle. Taking the motion state of a single leg as the observation, the cycle includes four stages: heel lift, toe off the ground, heel strike, and the sole fully touching the ground. The stance phase accounts for about 30% of the entire gait cycle.
During walking, the movement of the lower limbs causes the stance phase and swing phase to alternate regularly. When the IMU collects data, the acceleration amplitude on the corresponding three-axis accelerometer of the IMU also shows a periodic oscillation pattern. Therefore, this characteristic can be used to compare the data statistic with the detection threshold and determine the phase of the gait cycle at a certain moment.
The sliding-window single acceleration threshold gait detection directly relies on the acceleration signal for gait statistics; its advantage is that it is simple and easy to implement. However, the actually collected acceleration data usually contains a large amount of noise and non-ideal factors; although the data is processed by a sliding window, false detection and missed detection of gait phases are still unavoidable. Moreover, because its detection threshold is set to a fixed value, the method is not universal across the population.
Based on the above considerations, a sliding-window clustering-analysis adaptive gait detection can be adopted. The method contains two parameters, a detection threshold and a correction threshold, and the detection process is divided into two stages: coarse division and fine division. In the coarse division stage, the gait phase is preliminarily divided according to the detection threshold; the adaptive correction threshold is used for a finer division of the gait phase. The role of the fine division is to optimize the result of the coarse division and avoid false detection and missed detection of gait phases caused by measurement errors.

4. Step Length Is Not a Constant: Correcting Swing Velocity with Stance Velocity
In the pedestrian dead reckoning algorithm based on IMU positioning, step length is a necessary parameter for executing the algorithm. The calculation result of step length during walking directly affects the accuracy of the walker’s final position. In previous step-length research, scholars first proposed a constant model based on the principle that the step length is basically unchanged most of the time during walking. This method is simple and easy to implement, but it has unavoidable shortcomings. When a person walks, the actions are complex and the road conditions change, and these all affect the step length. In addition, because of differences in height and habits, pedestrians’ step lengths cannot be uniform. Therefore, using a fixed step length for dead reckoning is unrealistic.
According to inertial navigation theory, the person’s foot is in a stationary state during the stance phase, and the motion velocity should theoretically be zero. However, due to the inherent accumulated error of the inertial navigation system, the calculated velocity is usually not equal to zero and may have a relatively large deviation; this deviation also exists in the swing phase. Therefore, based on the ZUPT (zero velocity update) method, a step-length calculation method that uses the stance-phase velocity to correct the swing-phase velocity is proposed.
This method requires the gait detection link to accurately provide the step-start and stand-still time points. Through these time points, the stance phase and swing phase in the gait cycle can be distinguished, and the duration of each phase can be recorded.
With the step-length calculation method that uses the stance-phase velocity to correct the swing-phase velocity, the error is significantly lower than that of step-length calculation without velocity correction. The algorithm can control the step-length calculation error within 6.0%, and such an error is acceptable in an IMU personnel positioning system.

5. UWB/IMU Fusion: Loose Coupling, Tight Coupling and Filters
In UWB/IMU sensor fusion, a loosely coupled combined positioning system can use the advantages of the sensors to complement each other and achieve a better effect than a single positioning technology. According to different data fusion methods, combined systems are divided into two modes: loose coupling and tight coupling. Loose coupling takes the independent output results of UWB and IMU in the system as input for fusion. The obtained UWB position coordinates and the step length, step frequency and heading parameters solved by the IMU are used as independent data input to the filter for fusion, so as to provide more stable and accurate positioning. The tight coupling mode performs data fusion at the system observation data level, uses UWB ranging data to correct the IMU integration error in real time, and each positioning system assists the other at the observation stage to correct the positioning result, completing the correction before the positioning solution. Compared with tight coupling, the loose coupling positioning method is relatively simple to implement, concise in calculation, and more universal.
Kalman filtering is a classic linear filtering algorithm; its idea is to gradually weaken the influence of noise through the iterative process of prediction, measurement and calibration, and to achieve optimal estimation of a linear system. However, in personnel positioning scenarios, because the measurement noise does not conform to a Gaussian distribution, KF cannot obtain an optimal estimate. For the nonlinear personnel positioning model, the EKF algorithm is introduced. This algorithm approximates the nonlinear function as a linear model through first-order Taylor expansion, and then uses the KF framework for state estimation.
EKF realizes linearization by performing a local Taylor series expansion on the nonlinear model, and this process may introduce linearization error. When the nonlinear characteristics of the system are significant, retaining only the first-order term of the model will cause the filtering accuracy to decrease. In contrast, UKF uses the unscented transform technique to capture the characteristics of the nonlinear transformation through a set of Sigma points, without linearizing the model, effectively avoiding linearization error.

6. Field Test: Where the Error Finally Lands
During the experiment, the person’s walking trajectory was a square with a side length of 600 cm.
The UWB trajectory had a relatively good performance throughout the entire travel process, and the overall positioning accuracy was high. However, at the turn of the base station located at (600, 600), and when walking from (0, 600) toward (600, 600), there were relatively larger errors than at other positions. The reason was that the experimenter’s body or the display cabinet on the walking path shielded the UWB signal. The IMU trajectory had higher positioning accuracy than UWB positioning at the beginning of the person’s walk, and the positioning result was highly consistent with the person’s walking trajectory. But as time extended, the accuracy of the IMU positioning result began to decrease, and the maximum deviation even reached 92.3 cm. This shows that the IMU has the advantage of high short-term positioning accuracy and can complete positioning independently, while also revealing the shortcoming that the error of the IMU positioning scheme accumulates over time. The positioning result after EKF fusion came from the UWB/IMU positioning scheme based on EKF fusion; this scheme fully exploited the advantages of both during positioning and was closer to the real walking trajectory than a single device.
The IMU performed best in short-term positioning, with the smallest error value among the three schemes, but over the entire walking process, the IMU average error was significantly higher than the other two schemes. UWB error became larger when affected by NLOS propagation, while the error after EKF fusion remained at a low level overall. The EKF fusion positioning scheme had the smallest average error. The positioning accuracy of EKF fusion improved by 67.2% compared with IMU and by 19.1% compared with UWB.
In the straight-line travel stage from the starting point (0, 0) to the first turn (0, 600), and the straight segment returning to the origin at the third turn (600, 0), it was highly consistent with the actual trajectory. However, during the walk from the second turn (600, 600) to the third turn (600, 0), the UKF trajectory scheme showed a relatively obvious divergence phenomenon.

7. Putting the Scheme onto DAISCH Six-Axis IMUs
DAISCH’s six-axis IMU modules and inertial smart sensors output three-axis angular velocity and three-axis acceleration, and do not contain a magnetometer. When used in this kind of UWB/IMU fusion, the IMU should be rigidly fixed on the instep or waist, and the timestamps of the UWB tag and the IMU should be aligned first; gait detection, ZUPT and the filter run on the host computer or main controller, and the IMU is only responsible for providing raw inertial data stably and with low latency. For GNSS denied navigation projects, users who already have an integrated navigation system can treat the UWB position as an external observation and feed it into the filter in the same way as a GNSS observation.

