Journal of Jilin University(Engineering and Technology Edition) ›› 2026, Vol. 56 ›› Issue (3): 860-868.doi: 10.13229/j.cnki.jdxbgxb.20240931

Previous Articles    

Two⁃stage indoor bluetooth localization method based on MWKNN⁃PF

Ning ZHOU1,2,3(),Shao-gang LEI3,Dong-sheng ZHAO3,Dun WU2   

  1. 1.School of Civil Engineering and Architecture,NingboTech University,Ningbo 315100,China
    2.Popsmart Technology (Zhejiang) Co. ,Ltd. ,Ningbo 315100,China
    3.School of Environment and Spatial Informatics,China University of Mining and Technology,Xuzhou 221116,China
  • Received:2024-08-25 Online:2026-03-01 Published:2026-03-31

Abstract:

To address the issues of the high computational load for fingerprint matching and the dependence of positioning accuracy on the fixed K valuein the weighted K-nearest neighbor (WKNN) algorithm for bluetooth pedestrian localization, a modified WKNN (MWKNN) algorithm is proposed for the initial localization of the target. To further enhance positioning accuracy, a particle filtering algorithm is introduced, using the initial localization resultsfrom the MWKNN algorithm as measurement values to update the particles,and ultimately achieves precise target localization. Experimental results indicate that the proposed MWKNN-PF algorithm improves positioning accuracy by 41.8% and reduces computation time by 59.6%. This algorithm provides more accurate and real-time indoor pedestrian localization for related applications.

Key words: indoor localization, bluetooth fingerprint, K-means clustering, weighted K-nearest neighbor, particle filtering

CLC Number: 

  • TP393

Fig.1

MWKNN-PF algorithm flow chart"

Fig.2

Indoor localization test scenario"

Fig. 3

Localization trajectories of four algorithms"

Table 1

Localization results of four algorithms"

定位精度WKNNMWKNNMWKNN-PF文献[1]算法
均方根误差/m1.6651.2910.9691.109
最大误差/m2.9852.6622.0062.295
最小误差/m0.2720.1130.0970.034
时间/s1.2380.4360.5021.326

Fig.4

Cumulative distribution function of localization error"

Fig.5

Localization accuracy of the MWKNN-PF algorithm under different parameters"

[1] 沈天盛, 陈文莹, 朱彬斌, 等. 基于改进WKNN的蓝牙室内定位方法[J]. 现代电子技术, 2023, 46(10): 11-16.
Shen Tian-sheng, Chen Wen-ying, Zhu Bin-bin, et al. Method of bluetooth indoor positioning based on improved WKNN[J]. Modern Electronics Technique, 2023, 46(10): 11-16.
[2] 孙大洋, 王雪莹, 韩双雪, 等. 虚拟锚点高维坐标的非视距识别及定位优化[J]. 吉林大学学报:工学版, 2021, 51(6): 2207-2215.
Sun Da-yang, Wang Xue-ying, Han Shuang-xue, et al. Non⁃line⁃of⁃sight identification and optimization based on virtual coordinates of anchors[J]. Journal of Jilin University(Engineering and Technology Edition), 2021, 51(6): 2207-2215.
[3] 杨海峰, 张勇波, 黄裕梁, 等. 基于空间特征分区和前点约束的WKNN室内定位方法[J]. 软件学报, 2019, 30(11): 3427-3439.
Yang Hai-feng, Zhang Yong-bo, Huang Yu-liang, et al. WKNN indoor positioning algorithm based on spatial characteristics partition and former location restriction[J]. Journal of Software, 2019, 30(11): 3427-3439.
[4] Li X, Dai Z, He L. A K-nearest neighbor indoor fingerprint location method based on coarse positioning circular domain and the highest similarity threshold[J]. Measurement Science and Technology, 2022, 34(1): 015108.
[5] Chen B, Ma J, Zhang L, et al. An improved weighted KNN fingerprint positioning algorithm[J]. Wireless Networks, 2024, 30: 6011-6022.
[6] 王轩, 陈国良, 曹晓祥, 等. 自适应K值及指纹库扩充的WLAN室内定位方法[J]. 测绘科学, 2020, 45(7): 26-32.
Wang Xuan, Chen Guo-liang, Cao Xiao-xiang, et al. Research on WLAN indoor positioning method based on adaptive K value fingerprint database expansion[J]. Science of Surveying and Mapping, 2020, 45(7): 26-32.
[7] 梁哲豪, 石磊, 唐杰, 等. 室内可见光指纹定位系统中改进的加权K最近邻算法[J]. 激光与光电子学进展, 2022, 59(17):123-127.
Liang Zhe-hao, Shi Lei, Tang Jie, et al. Improved weighted K nearest neighbor algorithm for indoor visible light fingerprint positioning system[J]. Laser & Optoelectronics Progress, 2022, 59(17): 123-127.
[8] 顾亚雄, 钟文. 混合滤波与改进贝叶斯相融合的室内可见光指纹定位方法[J]. 测绘通报, 2023(6): 104-109, 128.
Gu Ya-xiong, Zhong Wen. Indoor visible light fingerprint location method based on GF-KF and improved-Bayes[J]. Bulletin of Surveying and Mapping, 2023(6): 104-109, 128.
[9] Yang X, Wu Z, Zhang Q. Bluetooth indoor localization with Gaussian-Bernoulli restricted boltzmann machine plus liquid state machine[J]. IEEE Transactions on Instrumentation and Measurement, 2022, 71: 1000208.
[10] Philips D, Salami E, Ramiah H, et al. Location accuracy optimization in bluetooth low energy (BLE) 5.1-based indoor positioning system (IPS)—a machine learning approach[J]. IEEE Access, 2023, 11: 140186-140201.
[11] Liu Y, Wu C, Kong X, et al. A tightly-coupled method for indoor vehicle navigation based on smartphone IMU and BLE[J]. IEEE Transactions on Instrumentation and Measurement, 2024, 73: 8509612.
[12] Xia H, Zuo J, Liu S, et al. Indoor localization on smartphones using built-in sensors and map constraints[J].IEEE Transactions on Instrumentation and Measurement, 2019, 68(4): 1189-1198.
[13] Zhang J, Yu B, Ge Y, et al. An effective GNSS/PDR fusion positioning algorithm on smartphones for challenging scenarios[J]. Sensors, 2024, 24:1452.
[1] Qiu-zhan ZHOU,Xin-meng LI,Hao-qing-zi SHEN,Hui-nan WU,Yuan-yuan LI,Jing RONG,Chun-hua HU,Ping-ping LIU. Non-intrusive load decomposition of unbalanced data based on attention mechanism [J]. Journal of Jilin University(Engineering and Technology Edition), 2026, 56(1): 239-246.
[2] Xiao-qiang SHAO,Bo MA,Ze-hui HAN,Yong-de YANG,Ze-wen YUAN,Xin LI. CSI Passive indoor fingerprint positioning method based on improved weighted K⁃nearest neighbor algorithm [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(7): 2444-2454.
[3] Gui-zhen CHEN,Hui-ting CHENG,Cai-hua ZHU,Yu-ran LI,Yan LI. A risk evaluation method for urban intersections considering drivers' physiological information [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(5): 1277-1284.
[4] Ning WANG,Fan-ming LIU. Application of constrained optimization⁃based adaptive fading memory square root mixed⁃order cubature particle filtering in SINS/GNSS integrated navigation [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(12): 3660-3672.
[5] Xiao-yu YI,Mian-zhu YI. Network book resource recommendation based on deep fusion of interest information [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(12): 3614-3619.
[6] De-lin LI,Jun-xian CHEN,Yong-gang WANG,Lu WANG,Zhao-qing SHEN. Identification of driving behavior on steep sharp curves based on latent class model [J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(12): 3526-3533.
[7] Rong-han YAO,Wen-tao XU,Wei-wei GUO. Drivers' takeover behavior and intention recognition based on factor and long short⁃term memory [J]. Journal of Jilin University(Engineering and Technology Edition), 2023, 53(3): 758-771.
[8] Fu LIU, Mei-jing QUAN, Ke WANG, Yun LIU, Bing KANG, Zhi-wu HAN, Tao HOU. Indoor positioning method based on location fingerprinting of imitating mechanism of scorpion vibration source [J]. Journal of Jilin University(Engineering and Technology Edition), 2019, 49(6): 2076-2082.
[9] KONG Yun-bo, FENG Xin-xi, LU Chuan-guo, LIU Zhen-tao. Quasi-Monte Carlo particle filter algorithm based on sigma point H [J]. 吉林大学学报(工学版), 2014, 44(6): 1831-1837.
[10] DAI Lian-jun, TANG Tao, CAI Bai-gen. Cycle slip detection for BeiDou satellite based on adaptive particle filtering [J]. 吉林大学学报(工学版), 2013, 43(04): 1146-1152.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] LI Shoutao, LI Yuanchun. Autonomous Mobile Robot Control Algorithm Based on Hierarchical Fuzzy Behaviors in Unknown Environments[J]. 吉林大学学报(工学版), 2005, 35(04): 391 -397 .
[2] Li Hong-ying; Shi Wei-guang;Gan Shu-cai. Electromagnetic properties and microwave absorbing property
of Z type hexaferrite Ba3-xLaxCo2Fe24O41
[J]. 吉林大学学报(工学版), 2006, 36(06): 856 -0860 .
[3] Zhang Quan-fa,Li Ming-zhe,Sun Gang,Ge Xin . Comparison between flexible and rigid blank-holding in multi-point forming[J]. 吉林大学学报(工学版), 2007, 37(01): 25 -30 .
[4] Yang Shu-kai, Song Chuan-xue, An Xiao-juan, Cai Zhang-lin . Analyzing effects of suspension bushing elasticity
on vehicle yaw response character with virtual prototype method
[J]. 吉林大学学报(工学版), 2007, 37(05): 994 -0999 .
[5] . [J]. 吉林大学学报(工学版), 2007, 37(06): 1284 -1287 .
[6] Che Xiang-jiu,Liu Da-you,Wang Zheng-xuan . Construction of joining surface with G1 continuity for two NURBS surfaces[J]. 吉林大学学报(工学版), 2007, 37(04): 838 -841 .
[7] Liu Han-bing, Jiao Yu-ling, Liang Chun-yu,Qin Wei-jun . Effect of shape function on computing precision in meshless methods[J]. 吉林大学学报(工学版), 2007, 37(03): 715 -0720 .
[8] Li Yue-ying,Liu Yong-bing,Chen Hua . Surface hardening and tribological properties of a cam materials[J]. 吉林大学学报(工学版), 2007, 37(05): 1064 -1068 .
[9] Zhang He-sheng, Zhang Yi, Wen Hui-min, Hu Dong-cheng . Estimation approaches of average link travel time using GPS data[J]. 吉林大学学报(工学版), 2007, 37(03): 533 -0537 .
[10] Nie Jian-jun,Du Fa-rong,Gao Feng . Finite time thermodynamics of real combined power cycle operating
between internal combustion engine and Stirling engine with heat leak
[J]. 吉林大学学报(工学版), 2007, 37(03): 518 -0523 .