Electronic Science and Technology ›› 2019, Vol. 32 ›› Issue (5): 49-54.doi: 10.16180/j.cnki.issn1007-7820.2019.05.010

Previous Articles     Next Articles

Indoor Location Algorithm Based on WiFi-geomagnetism

ZHANG Yurun,WU Fei,MAO Wankui   

  1. School of Electronic and Electrical Engineering,Shanghai University of Engineering Science,Shanghai 201600,China
  • Received:2018-05-17 Online:2019-05-15 Published:2019-05-06
  • Supported by:
    National Natural Science Foundation of China(61272097);Shanghai Municipal Science and Technology Commission Key Project(18511101600)


For the problem that the single fingerprint location results were large errors and drifting in indoor environment, an improved algorithm of geomagnetic and WiFi fingerprint system was proposed. First, the larger matching area was divided into smaller sub-regions with more distinctive features by K-means clustering method. In the online phase, Wi-Fi fingerprints were used to coarsely locate small areas, and then a further fine-match positioning was performed through the geomagnetic fingerprint positioning system. Experimental results showed that the integration of algorithm reduced the searching area, and greatly reduced the problem of mis-matching. In the experiment, the average positioning error was only 2.17 m, and the maximum positioning error was 3.61 m. Compared with the single fingerprint positioning system, the performance was greatly improved, which proved that the positioning method had certain feasibility and advancement.

Key words: indoor location, WiFi, geomagnetic field, fingerprint, K-means clustering, magnetic matching

CLC Number: 

  • TN92