西安电子科技大学学报 ›› 2019, Vol. 46 ›› Issue (5): 41-47.doi: 10.19665/j.issn1001-2400.2019.05.006

• • 上一篇    下一篇

WiFi指纹定位中改进的加权k近邻算法

王博远1,刘学林1,蔚保国2,3,贾瑞才2,3,甘兴利2,3,黄璐2,3   

  1. 1. 哈尔滨工程大学 信息与通信工程学院,黑龙江 哈尔滨 150001
    2. 中国电子科技集团公司第五十四研究所,河北 石家庄 050081
    3. 卫星导航系统与装备技术国家重点实验室,河北 石家庄 050081
  • 收稿日期:2019-04-13 出版日期:2019-10-20 发布日期:2019-10-30
  • 作者简介:王博远(1992—),男,哈尔滨工程大学博士研究生,E-mail:boyuan@hrbeu.edu.cn.
  • 基金资助:
    :国家重点研发计划(2016YFB0502100);:国家重点研发计划(2016YFB0502103);中央高校基础科研基金(HEUCF180801)

Improved weighted k-nearest neighbor algorithm for WiFi fingerprint positioning

WANG Boyuan1,LIU Xuelin1,YU Baoguo2,3,JIA Ruicai2,3,GAN Xingli2,3,HUANG Lu2,3   

  1. 1. College of Information and Communication Engineering, Harbin Engineering Univ.,Harbin 150001, China
    2. The 54th Research Institute of China Electronics Technology Group Corporation, Shijiazhuang 050081, China
    3. State Key Laboratory of Satellite Navigation System and Equipment Technology, Shijiazhuang 050081, China
  • Received:2019-04-13 Online:2019-10-20 Published:2019-10-30

摘要:

针对WiFi指纹定位中传统的信号欧氏距离不能很好地反映各位置点间物理距离的问题,提出了改进的加权k近邻定位算法。首先,在信号距离的计算中引入接收信号强度的方差;然后,根据接收信号强度和物理距离之间的非线性关系引入加权系数,设计了一种信号加权欧氏距离;最后,利用信号加权欧氏距离进行指纹匹配和位置估计,改进了加权k近邻算法。在真实环境下的实验结果表明,信号加权欧氏距离能够更准确地衡量各点之间的物理距离并选择更合理的最近邻参考点。与现有的加权k近邻算法相比,改进的加权k近邻算法能够明显地提高WiFi指纹定位的精度。

关键词: 室内定位, 指纹定位, 加权欧氏距离, 加权k近邻

Abstract:

In WiFi fingerprint positioning, the traditional Euclidean distance of signals cannot well reflect the physical distance between position points. To solve this problem, the weighted k-nearest neighbor positioning algorithm is improved. First, the variance of received signal strength is introduced into the calculation of the signal distance, and a weighted Euclidean distance of signals is designed according to the nonlinear relationship between received signal strength and physical distance. Finally, the weighted Euclidean distance of signals is used for the fingerprint matching and the position estimation, and an improved weighted k-nearest neighbor algorithm is proposed. Experimental results in real environment show that the weighted Euclidean distance of signals can be used to measure the physical distance between points more accurately and select more reasonable nearest neighbor reference points. Compared with the existing weighted k-nearest neighbor algorithms, the improved weighted k-nearest neighbor algorithm can significantly improve the accuracy of WiFi fingerprint positioning.

Key words: indoor positioning, fingerprint positioning, weighted Euclidean distance, weighted k-nearest neighbor

中图分类号: 

  • TN96
Baidu
map