A WiFi Indoor Location Tracking Algorithm Based on Improved Weighted K Nearest Neighbors and Kalman Filter
Authors:
Open Access
- 31 March 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 32907-32918
Abstract
The Weighted K Nearest Neighbor (WKNN) algorithm is a widely adopted lightweight methodology for indoor WiFi positioning based on location fingerprinting. Nonetheless, it suffers from the disadvantage of a fixed K value and susceptibility to incorrect reference point matching. To address this issue, we present a novel algorithm in this paper, referred to as Static Continuous Statistical Characteristics-Soft Range Limited-Self-Adaptive WKNN (SCSC-SRL-SAWKNN). Our algorithm not only takes into account location tracking in the motion state but also exploits the continuous statistical features of extended periods of inactivity to enhance localization. In the motion state, we initially employ the adaptive WKNN (SAWKNN) algorithm to determine the optimal K value, followed by the employment of the Soft Range Limited KNN (SR-KNN) algorithm to identify the correct reference point and ultimately estimate the position. When a prolonged stationary state is detected, we first utilize the moving window method to obtain a more stable position fingerprint (SCSC), and then proceed with the positioning process in the same motion state. Ultimately, we use Kalman filter to generate the location trajectory. Our experimental findings demonstrate that the proposed SCSC-SRL-SAWKNN algorithm outperforms traditional WKNN, SAWKNN, and SRL-KNN techniques in terms of localization accuracy and location trajectory. Specifically, the localization accuracy of our algorithm is 56.7% and 36.6% higher than that of traditional WKNN in the static state and overall situation, respectively.Keywords
Funding Information
- Natural Science Youth Foundation of Hunan Province (2020JJ5144)
- Scientific Research Project of Hunan Education Department (19C0563)
This publication has 38 references indexed in Scilit:
- Exploiting AoA Estimation Accuracy for Indoor Localization: A Weighted AoA-Based ApproachIEEE Wireless Communications Letters, 2018
- APs’ Virtual Positions-Based Reference Point Clustering and Physical Distance-Based Weighting for Indoor Wi-Fi PositioningIEEE Internet of Things Journal, 2018
- Local Positioning System Using Flickering Infrared LEDsSensors, 2017
- WinIPS: WiFi-Based Non-Intrusive Indoor Positioning System With Online Radio Map Construction and AdaptationIEEE Transactions on Wireless Communications, 2017
- Efficient kNN Classification With Different Numbers of Nearest NeighborsIEEE Transactions on Neural Networks and Learning Systems, 2017
- ZIL: An Energy-Efficient Indoor Localization System Using ZigBee Radio to Detect WiFi FingerprintsIEEE Journal on Selected Areas in Communications, 2015
- Fusion of WiFi, Smartphone Sensors and Landmarks Using the Kalman Filter for Indoor LocalizationSensors, 2015
- Localizing WiFi Access Points Using Signal StrengthIEEE Communications Letters, 2010
- Statistical learning theory for location fingerprinting in wireless LANsComputer Networks, 2005
- RADAR: an in-building RF-based user location and tracking system2002