Algorithm for Adaptive Filtering of Distance Measurements via Wi-Fi FTM

Abstract


Distance measurement using the Fine Time Measurement (FTM) protocol, which is part of Wi-Fi specifications, presents significant limitations due to multipath. This work proposes an asymmetric adaptive filter to improve FTM measurements, taking into account intrinsic characteristics of this protocol. The developed algorithm implements a filter with parameters adjusted considering the target velocity and FTM’s tendency to overestimate distances. Experiments demonstrated that the method reduces the average measurement error by up to 50% when compared to pure FTM. Its low computational complexity makes it especially suitable for implementation in embedded systems. The results indicate that the solution is effective for real-time distance measurement applications using Wi-Fi, including in low-cost hardware.

Keywords: ESP32, Adaptive Filter, FTM, IoT, Indoor Positioning, Wi-Fi

References

802.11, I. (2016). IEEE Standard for Information technology—Telecommunications and information exchange between systems Local and metropolitan area networks—Specific requirements - Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications. IEEE Std 802.11-2016 (Revision of IEEE Std 802.11-2012), pages 1–3534. Conference Name: IEEE Std 802.11-2016 (Revision of IEEE Std 802.11-2012).

Au, E. (2016). The Latest Progress on IEEE 802.11mc and IEEE 802.11ai [Standards]. IEEE Vehicular Technology Magazine, 11(3):19–21. Conference Name: IEEE Vehicular Technology Magazine.

Barral, V. (2021). ESP32S2 FTM Measurements.

Barral Vales, V., Fernández, O. C., Domínguez-Bolaño, T., Escudero, C. J., and García-Naya, J. A. (2022). Fine Time Measurement for the Internet of Things: A Practical Approach Using ESP32. IEEE Internet of Things Journal, 9(19):18305–18318. Conference Name: IEEE Internet of Things Journal.

ESP-IDF, E. (2024). ESP-IDF Programming Guide - ESP32 -—ESP-IDF Programming Guide v5.3.2 documentation.

Farahsari, P. S., Farahzadi, A., Rezazadeh, J., and Bagheri, A. (2022). A Survey on Indoor Positioning Systems for IoT-Based Applications. IEEE Internet of Things Journal, 9(10):7680–7699. Conference Name: IEEE Internet of Things Journal.

github, E.-I. (2024). espressif/esp-idf. original-date: 2016-08-17T10:40:35Z.

Hashem, O., Harras, K. A., and Youssef, M. (2021). Accurate indoor positioning using IEEE 802.11mc round trip time. Pervasive and Mobile Computing, 75:101416.

Jiokeng, K., Jakllari, G., Tchana, A., and Beylot, A.-L. (2020). When FTM Discovered MUSIC: Accurate WiFi-based Ranging in the Presence of Multipath. In IEEE INFOCOM 2020 - IEEE Conference on Computer Communications, pages 1857–1866. ISSN: 2641-9874.

Tadayon, N., Rahman, M. T., Han, S., Valaee, S., and Yu, W. (2019). Decimeter Ranging With Channel State Information. IEEE Transactions on Wireless Communications, 18(7):3453–3468. Conference Name: IEEE Transactions on Wireless Communications.

Voggu, A. R., Vazhayil, V., and Rao, M. (2021). Decimeter Level Indoor Localisation with a Single WiFi Router using CSI Fingerprinting. In 2021 IEEE Wireless Communications and Networking Conference (WCNC), pages 1–5. ISSN: 1558-2612.
Published
2025-05-19
STENNER, Marcos; SILVA, Edelberto Franco; VIEIRA, Alex B.; PEIXOTO, Rodrigo Mendes; ZANCANELLA, Michael; OKWU, Emmanuel. Algorithm for Adaptive Filtering of Distance Measurements via Wi-Fi FTM. In: BRAZILIAN SYMPOSIUM ON COMPUTER NETWORKS AND DISTRIBUTED SYSTEMS (SBRC), 43. , 2025, Natal/RN. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2025 . p. 98-111. ISSN 2177-9384. DOI: https://doi.org/10.5753/sbrc.2025.5836.

Most read articles by the same author(s)

1 2 3 4 > >>