Study on the UWB location algorithm in the NLOS environment

At present, people spend most of their time indoors, so it is necessary to study high-precision positioning. Ultra wide band (UWB) can obtain the ranging accuracy with centimeter-level error. However, since the indoor environment is more complex than the outdoor environment, positioning errors tend to be generated during the UWB positioning due to the influence of non-line of sight (NLOS). Therefore, this paper investigates how to identify the NLOS environment and reduce the NLOS error. This paper proposes a method to determine the line of sight (LOS) environment credibility and uses it to determine the NLOS environment. The data with NLOS error is determined according to the standard deviation of the residual between the square of the predicted ranging value and the square of the measured ranging value. Then the data with NLOS error is compensated by complementary filtering. Finally, the compensated measurement data and the optimal estimation of the state at the previous moment are imported into the Kalman filter (KF) to determine the optimal estimation at the current moment.