The invention discloses a two-stage indoor positioning method and
system based on MWKNN-PF, and relates to the technical field of indoor positioning, and the method comprises the steps: obtaining a positioning region, constructing an
equidistant grid, and obtaining the receiving
signal data of
fingerprint points, and each grid intersection point is a
fingerprint point; obtaining a vector and a
covariance of each
fingerprint point according to the received
signal data, and constructing a
fingerprint database; obtaining a plurality of clusters according to a clustering
algorithm; receiving
signal data is extracted, and a cluster with the
minimum distance is obtained; obtaining the number of adjacent points according to the dynamic selection, and obtaining an initial positioning coordinate according to the weight of the plurality of adjacent points; constructing a prediction model according to the state transition model; the initial positioning result based on the MWKNN
algorithm serves as an actual measurement value, particle filtering is conducted on the target state, the accurate position of the target at the # imgabs0 # moment is obtained, compared with the WKNN
algorithm, the calculation load of fingerprint matching work in the online stage is greatly reduced, and the overall real-time performance is improved by reducing the calculation load.