Abstract
Ultra-wideband (UWB) technology offers considerable advantages for indoor positioning. However, its accuracy significantly decreases in non-line-of-sight environments, particularly in dynamic scenarios with frequent human movements. To address this challenge, this study proposed a temporal convolutional network with a channel attention module (TCN-CAM) to enhance positioning performance. The TCN architecture, employing causal and dilated convolutions, effectively mitigates the vanishing gradient problem commonly encountered in neural networks and improves the model’s capacity to capture long-range dependencies in time-series data. Concurrently, CAM enhances model adaptability by emphasizing salient features under complex conditions. Simulation and field experiments demonstrated that the TCN-CAM algorithm achieved high positioning accuracy and stability with a mean error of only 3.32 cm. Compared with LSTM-AM, CNN-CAM, and conventional TCN algorithms, the proposed method improved positioning accuracy by 76.12%, 25.06%, and 19.42%, respectively, thereby significantly enhancing the robustness and performance of UWB-based positioning systems.
Similar content being viewed by others
Data availability
These were computer-generated and gathered in the experimental area; they are not yet accessible to the general public or the Internet. If necessary, they can be acquired from the corresponding author.
References
Yao, L. et al. GNSS/UWB/INS indoor and outdoor seamless positioning algorithm based on federal filtering. Meas. Sci. Technol. 35 https://doi.org/10.1088/1361-6501/ad03ba (2024).
Tian, Y. et al. Application of a long short-term memory neural network algorithm fused with Kalman filter in UWB indoor positioning. Sci. Rep. 14 https://doi.org/10.1038/s41598-024-52464-y (2024).
Jin, R. et al. Toward practical lightweight passive human tracking using WiFi sensing. Ieee Internet Things J. 10, 13769–13783. https://doi.org/10.1109/jiot.2023.3262960 (2023).
Song, K. & Paik, J. H. Bluetooth AoA based positioning scheme using angle and distance validation test. J. Broadcast. Eng. 26, 790–798. https://doi.org/10.5909/jbe.2021.26.6.790 (2021).
Qi, M., Xue, B. & Wang, W. Calibration and compensation of anchor positions for UWB indoor localization. IEEE Sens. J. 24, 689–699. https://doi.org/10.1109/jsen.2023.3329535 (2024).
Yang, S. et al. 5G indoor positioning error correction based on 5G-PECNN. Sensors 24 https://doi.org/10.3390/s24061949 (2024).
Liu, Z. et al. Low-Cost, and Large-Scale indoor positioning system based on audio Dual-Chirp signals. IEEE Trans. Veh. Technol. 72, 1159–1168. https://doi.org/10.1109/tvt.2022.3205960 (2023). Precise.
Kim, D. H., Farhad, A. & Pyun, J. Y. UWB positioning system based on LSTM classification with mitigated NLOS effects. IEEE Internet Things J. 10, 1822–1835. https://doi.org/10.1109/jiot.2022.3209735 (2023).
Efremova, E. V., Kuzmin, L. V. & Itskov, V. V. Measuring Received Signal Strength of UWB Chaotic Radio Pulses for Ranging and Positioning. Electronics 12, (2023). https://doi.org/10.3390/electronics12214425
Margiani, T. et al. Angle of arrival and centimeter distance Estimation on a smart UWB sensor node. IEEE Trans. Instrum. Meas. 72 https://doi.org/10.1109/tim.2023.3282289 (2023).
Deng, W., Li, J., Tang, Y. & Zhang, X. Low-Complexity joint angle of arrival and time of arrival Estimation of multipath signal in UWB system. Sensors 23 https://doi.org/10.3390/s23146363 (2023).
Zhao, W., Goudar, A., Qiao, X. & Schoellig, A. P. UTIL: an ultra-wideband time-difference-of-arrival indoor localization dataset. Int. J. Robot. Res. https://doi.org/10.1177/02783649241230640 (2024).
Wang, P. et al. Application of the least Squares-Adaptive vector projection iteration algorithm to Ultra-Wideband positioning. IEEE Sens. J. 24 https://doi.org/10.1109/JSEN.2024.3461155 (2024).
Dong, J., Lian, Z., Xu, J. & Yue, Z. UWB localization based on improved robust adaptive Cubature Kalman filter. Sensors 23 https://doi.org/10.3390/s23052669 (2023).
Xin, J., Gao, K., Shan, M., Yan, B. & Liu, D. A bayesian filtering approach for error mitigation in Ultra-Wideband ranging. Sensors 19 https://doi.org/10.3390/s19030440 (2019).
Li, S. & Wu, J. Research on NLOS error suppression in UWB based on RICT algorithm. Measurement 244 https://doi.org/10.1016/j.measurement.2024.116463 (2025).
Lu, J., Ma, G. & Zhang, G. Fuzzy machine learning: A comprehensive framework and systematic review. IEEE Trans. Fuzzy Syst. 32, 3861–3878. https://doi.org/10.1109/tfuzz.2024.3387429 (2024).
Cho, H. et al. Machine learning and health science research: tutorial. J. Med. Internet. Res. 26 https://doi.org/10.2196/50890 (2024).
Alzoubi, Y. I., Mishra, A. & Topcu, A. E. Research trends in deep learning and machine learning for cloud computing security. Artif. Intell. Rev. 57 https://doi.org/10.1007/s10462-024-10776-5 (2024).
Thang Van, N., Jeong, Y., Shin, H. & Win, M. Z. Machine learning for wideband localization. IEEE J. Sel. Areas Commun. 33, 1357–1380. https://doi.org/10.1109/jsac.2015.2430191 (2015).
Sang, C. L. et al. Identification of NLOS and Multi-Path conditions in UWB localization using machine learning methods. Appl. Sciences-Basel. 10 https://doi.org/10.3390/app10113980 (2020).
Barral, V., Escudero, C. J., Garcia-Naya, J. A. & Suarez-Casal, P. Environmental Cross-Validation of NLOS machine learning Classification/Mitigation with Low-Cost UWB positioning systems. Sensors 19 https://doi.org/10.3390/s19245438 (2019).
Tian, Y. et al. The application of gated recurrent unit algorithm with fused attention mechanism in UWB indoor localization. Measurement 234 https://doi.org/10.1016/j.measurement.2024.114835 (2024).
Hapsari, G. I., Munadi, R., Erfianto, B. & Irawati, I. D. Future research and trends in Ultra-Wideband indoor Tag localization. IEEE Access. 1–1. https://doi.org/10.1109/access.2024.3399476 (2024).
Pei, Y., Chen, R., Li, D., Xiao, X. & Zheng, X. FCN-Attention: A deep learning UWB NLOS/LOS classification algorithm using fully Convolution neural network with self-attention mechanism. Geo-Spatial Inform. Sci. 27, 1162–1181. https://doi.org/10.1080/10095020.2023.2178334 (2024).
Jiang, C. et al. UWB NLOS/LOS classification using deep learning method. IEEE Commun. Lett. 24, 2226–2230. https://doi.org/10.1109/lcomm.2020.2999904 (2020).
Wu, Y., He, X., Mo, L. & Wang, Q. Self-Attention-Assisted TinyML with effective representation for UWB NLOS identification. Ieee Internet Things J. 11, 25471–25480. https://doi.org/10.1109/jiot.2024.3349462 (2024).
Zhang, J. et al. Research on None-Line-of-Sight/Line-of-Sight identification method based on convolutional neural Network-Channel attention module. Sensors 23 https://doi.org/10.3390/s23208552 (2023).
Wei, J. et al. NLOS identification using parallel deep learning model and time-frequency information in UWB-based positioning system. Measurement 195 https://doi.org/10.1016/j.measurement.2022.111191 (2022).
Joung, J., Jung, S., Chung, S. & Jeong, E. R. CNN-based Tx-Rx distance Estimation for UWB system localisation. Electron. Lett. 55, 938–. https://doi.org/10.1049/el.2019.1084 (2019).
Wu, X. et al. RNNtcs: A test case selection method for recurrent neural networks. Knowl. Based Syst. 279 https://doi.org/10.1016/j.knosys.2023.110955 (2023).
Zarzycki, K. & Lawrynczuk, M. Advanced predictive control for GRU and LSTM networks. Inf. Sci. 616, 229–254. https://doi.org/10.1016/j.ins.2022.10.078 (2022).
Kharakhashyan, A. & Maltseva, O. Comparison of the forecast accuracy of total electron content for bidirectional and Temporal convolutional neural networks in European region. Remote Sens. 15 https://doi.org/10.3390/rs15123069 (2023).
Wang, Y. et al. An attention mechanism module with Spatial perception and channel information interaction. Complex. Intell. Syst. 10, 5427–5444. https://doi.org/10.1007/s40747-024-01445-9 (2024).
Funding
This research was funded by the Fundamental Research Funds for the Universities of Henan Province (Grant Number NSFRF230405), Doctoral Scientific Fund Project of Henan Polytechnic University (Grant Number B2017-10), Henan Polytechnic University Funding Plan for Young Backbone Teachers (Grant Number 2022XQG-08), Henan Province Science and Technology Research Projects (Grant Number: 242102320070), National Natural Science Foundation of China (Grant Number 42374029), and Henan Polytechnic University Surveying and Mapping Science and Technology “Double First-Class” Discipline Creation Project (Grant Number: CHXKYXBS05).
Author information
Authors and Affiliations
Contributions
Conceptualization, L.H. and Z.L.; methodology, L.H.; software, C.Z.; validation, L.H., Y.T., and H.C.; formal analysis, L.H.; investigation, H.C.; resources, Z.L.; data curation, Z.L.; writing—original draft preparation, L.H.; writing—review and editing, Y.T. and M.A.; visualization, Y.T.; supervision, Z.L.; project administration, H.C.; funding acquisition, Z.L. All authors have read and agreed to the published version of the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Informed consent
All subjects and/or their legal guardian(s) for both study participation and publication of identifying information or images in an online open-access publication (when applicable).
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
He, L., Lian, Z., Núñez-Andrés, M.A. et al. Application of a temporal convolutional network algorithm fused with channel attention module for UWB indoor positioning. Sci Rep (2026). https://doi.org/10.1038/s41598-026-35802-0
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-35802-0


