Adaptive Kalman Filter-Based UWB Location Tracking with Optimized DS-TWR in Workshop Non-Line-of-Sight Environments
Abstract
1. Introduction
2. DS-TWR Ranging Algorithm
2.1. Principle of DS-TWR Ranging
2.2. Optimized DS-TWR Ranging Algorithm
3. Adaptive Kalman Filter (AKF) Algorithm
3.1. Principle of Improved Adaptive Kalman Filter Algorithm
3.2. Localization Algorithm
4. Experiments and Evaluations
4.1. Experimental Environment Setup
4.2. Point-to-Point Ranging Experiment
4.3. Adaptive Kalman Filtering–Based Ranging and Positioning Experiment
4.4. Adaptive Kalman Filtering–Based Dynamic Positioning Experiment
Statistical Reliability and Real-Time Performance
5. Conclusions
- By simplifying the message exchange process between nodes, the optimized DS-TWR algorithm effectively reduces node energy consumption and shortens ranging time, thereby improving system energy efficiency and response speed.
- Under NLOS conditions, the adaptive Kalman filtering algorithm is capable of dynamically evaluating the impact of obstruction on the observation noise covariance and adaptively adjusting the filter gain [26]. This mechanism effectively eliminates invalid positioning information and significantly improves positioning accuracy.
- Experimental results in both indoor LOS and workshop NLOS environments demonstrate that the proposed optimization methods exhibit stable performance in both static and dynamic positioning, verifying their practical applicability and potential for deployment in industrial environments.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| UWB | Ultra-Wideband |
| DS-TWR | Double-Sided Two-Way Ranging |
| LOS | Line-of-Sight |
| NLOS | Non-Line-of-Sight |
| AKF | Adaptive Kalman Filter |
| ToF | Time of Flight |
| MAD | mean absolute deviation |
| MAE | Mean Absolute Error |
| MSE | Mean Squared Error |
| RMSE | Root Mean Square Error |
References
- Al-Okby, M.F.R.; Junginger, S.; Roddelkopf, T.; Thurow, K. UWB-Based Real-Time Indoor Positioning Systems: A Comprehensive Review. Appl. Sci. 2024, 14, 11005. [Google Scholar] [CrossRef] [Scilit]
- Cao, S.H. Research Progress of Indoor Location Technology and System. Comput. Syst. Appl. 2013, 22, 1–5. [Google Scholar]
- Zhang, Z.M.; Wang, C.Q. Application and Development of Indoor Positioning System Based on UWB. Microcontrollers Embed. Syst. Appl. 2021, 21, 76–80. [Google Scholar]
- Pala, S.; Jayan, S.; Kurup, D.G. An accurate UWB based localization system using modified leading edge detection algorithm. Ad Hoc Netw. 2020, 97, 102017. [Google Scholar] [CrossRef] [Scilit]
- Tao, Y.K.; Wang, X.; Zhang, L.; Bao, X.Y.; Xue, H.T.; Yue, H.Y.; Feng, H.Y.; Yang, D.P. Fault Diagnosis of In-Wheel Motors Used in Electric Vehicles: State of the Art, Challenges, and Future Directions. Machines 2025, 13, 711. [Google Scholar] [CrossRef] [Scilit]
- Yang, Y.J. Research and Implementation of the Outdoor UWB Accurate Location System. Master’s Thesis, Hebei University of Science and Technology, Hebei, China, 2015. [Google Scholar]
- Lyu, Y.; Wei, M.; Li, S.; Wang, D. A fusion positioning system with environmental-adaptive algorithm: IPSO-IAUKF fusion of UWB and IMU for NLOS noise mitigation. Meas. Sens. 2025, 38, 101864. [Google Scholar] [CrossRef] [Scilit]
- Pei, Y.; Chen, R.Z.; Li, D.R.; Xiao, X.W.; Zheng, X.Y. FCN-Attention: A deep learning UWB NLOS/LOS classification algorithm using fully convolution neural network with self-attention mechanism. Geo-Spat. Inf. Sci. 2024, 27, 1162–1181. [Google Scholar] [CrossRef] [Scilit]
- Kim, H. Double-Sided Two-Way Ranging Algorithm to Reduce Ranging Time. IEEE Commun. Lett. 2009, 13, 486–488. [Google Scholar] [CrossRef] [Scilit]
- Wang, Q.; Li, Z.H.; Zhang, H.; Yang, Y.; Meng, X.L. An Indoor UWB NLOS Correction Positioning Method Based on Anchor LOS/NLOS Map. IEEE Sens. J. 2023, 23, 30739–30750. [Google Scholar] [CrossRef] [Scilit]
- Li, X.Y.; Tan, Y.; Dang, Y.X.; Xu, J.X.; Tian, S.P. Design and implementation of a layered time slot MAC protocol for high-density single-anchor UWB positioning systems using DS-TWR. Ad Hoc Netw. 2025, 178, 103980. [Google Scholar] [CrossRef] [Scilit]
- Yan, W. Hardware Design and Implementation of Underground Target Precise Positioning Platform Based on UWB. Master’s Thesis, China University of Mining and Technology, Beijing, China, 2020. [Google Scholar]
- van Herbruggen, B.; Gerwen, J.V.V.; Luchie, S.; Durodié, Y.; Vanderborght, B.; Aernouts, M.; Munteanu, A.; Fontaine, J.; de Poorter, E. Selecting and Combining UWB Localization Algorithms: Insights and Recommendations From a Multi-Metric Benchmark. IEEE Access 2024, 12, 16881–16901. [Google Scholar] [CrossRef] [Scilit]
- Feng, H.; Tao, Y.K.; Feng, J.B.; Zhang, Y.L.; Xue, H.T.; Wang, T.S.; Xu, X.; Chen, P. Fault-Tolerant Collaborative Control of Four-Wheel-Drive Electric Vehicle for One or More In-Wheel Motors’ Faults. Sensors 2025, 25, 1540. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wei, Z.H.; Lang, Y.X.; Yang, F.; Zhao, S.; Destech Publicat, I. A TOF Localization Algorithm Based on Improved Double-sided Two Way Ranging. In Proceedings of the 2018 International Conference on Computer Science and Software Engineering (CSSE 2018), Gothenburg, Sweden, 27 May–3 June 2018; pp. 307–315. [Google Scholar]
- Tao, S. Research on Optimization of SDS-TWR and Fusion of Location Algorithm in Indoor Position Based on UWB. Master’s Thesis, Central China Normal University, Wuhan, China, 2016. [Google Scholar]
- Lv, H.H.; Liu, M.J.; Liu, P.; Chang, K.; Li, M.L.; Piao, C.H. Kalman Filter-Based High-Accuracy Indoor Positioning With NLoS Error Mitigation and Multi-Motion Model Switching. IEEE Trans. Veh. Technol. 2025, 74, 12673–12688. [Google Scholar] [CrossRef] [Scilit]
- Tao, Y.K.; Ge, C.; Feng, H.; Xue, H.T.; Yao, M.Y.; Tang, H.H.; Liao, Z.Q.; Chen, P. A novel approach for adaptively separating and extracting compound fault features of the in-wheel motor bearing. ISA Trans. 2025, 159, 337–351. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Wang, S.L.; Chen, L.; Wang, Y.T.; Zhou, H.; Guerrero, J.M. Adaptive Kalman filter and self-designed early stopping strategy optimized convolutional neural network for state of energy estimation of lithium-ion battery in complex temperature environment. J. Energy Storage 2024, 83, 110750. [Google Scholar] [CrossRef] [Scilit]
- Zhu, J.W.; Ouyang, X.P.; Jiang, Z.K.; Xu, Y.L.; Xue, H.T.; Yue, H.Y.; Feng, H.Y. In-Wheel Motor Fault Diagnosis Method Based on Two-Stream 2DCNNs with DCBA Module. Sensors 2025, 25, 4617. [Google Scholar] [CrossRef] [Scilit]
- Fan, Y.; Chen, Q.X.; Ni, L.H. Indoor Positioning System of UWB Robot Based on DWM1000 Module. Microcontroller Embed. Syst. Appl. 2018, 18, 48–50+54. [Google Scholar]
- Zhang, Y.S. Design of UWB Indoor Positioning System Based on DWM1000. Master’s Thesis, Harbin Engineering University, Harbin, China, 2018. [Google Scholar]
- Yang, H.; Shen, W.W.; Li, C.H.; Yang, P.; Chang, Z.C. Research on UWB Indoor Positioning Technology Based on Kalman Filter. Internet Things Technol. 2023, 13, 46–50. [Google Scholar]
- Jiang, R.; Tang, L.Q.; Wang, X.M.; Zhang, L.; Xu, Y.Y.; Li, D.P. An Adaptive Kalman Filter Combination Positioning Method Integrating UWB and GPS. IEEE Trans. Veh. Technol. 2024, 73, 18222–18236. [Google Scholar] [CrossRef] [Scilit]
- Sun, J.; Sun, W.; Zheng, J.; Chen, Z.Y.; Tang, C.J.; Zhang, X. A Novel UWB/IMU/Odometer-Based Robot Localization System in LOS/NLOS Mixed Environments. IEEE Trans. Instrum. Meas. 2024, 73, 7502913. [Google Scholar] [CrossRef] [Scilit]
- Jiang, Z.; Xue, H.; Yue, H.; Bao, X.; Zhu, J.; Wang, X.; Zhang, L. A Review of Artificial Intelligence-Driven Active Vibration and Noise Control. Machines 2025, 13, 946. [Google Scholar] [CrossRef] [Scilit]












| Distance (cm) | Rang (cm) | Standard Deviation (σ) | MAD |
|---|---|---|---|
| 500 | 19 | 5.021 | 4.693 |
| 700 | 19 | 3.986 | 3.075 |
| 1000 | 20 | 5.529 | 4.458 |
| Distance Measurement Algorithm | MAE | MSE | RMSE |
|---|---|---|---|
| No filtering | 7.927 | 87.534 | 15.467 |
| Standard Kalman filtering | 4.032 | 17.658 | 4.373 |
| Adaptive Kalman filtering | 3.409 | 15.823 | 4.195 |
| Distance Measurement Algorithm | MAE | MSE | RMSE |
|---|---|---|---|
| No filtering | 14.982 | 125.278 | 17.421 |
| Standard Kalman filtering | 8.294 | 34.523 | 9.354 |
| Adaptive Kalman filtering | 3.783 | 16.231 | 3.925 |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wu, J.; Xiong, Y.; Li, W.; Xia, W. Adaptive Kalman Filter-Based UWB Location Tracking with Optimized DS-TWR in Workshop Non-Line-of-Sight Environments. Sensors 2025, 25, 7682. https://doi.org/10.3390/s25247682
Wu J, Xiong Y, Li W, Xia W. Adaptive Kalman Filter-Based UWB Location Tracking with Optimized DS-TWR in Workshop Non-Line-of-Sight Environments. Sensors. 2025; 25(24):7682. https://doi.org/10.3390/s25247682
Chicago/Turabian StyleWu, Jian, Yijing Xiong, Wenyang Li, and Wenwei Xia. 2025. "Adaptive Kalman Filter-Based UWB Location Tracking with Optimized DS-TWR in Workshop Non-Line-of-Sight Environments" Sensors 25, no. 24: 7682. https://doi.org/10.3390/s25247682
APA StyleWu, J., Xiong, Y., Li, W., & Xia, W. (2025). Adaptive Kalman Filter-Based UWB Location Tracking with Optimized DS-TWR in Workshop Non-Line-of-Sight Environments. Sensors, 25(24), 7682. https://doi.org/10.3390/s25247682

