Skip to main content
. 2018 Jun 4;18(6):1818. doi: 10.3390/s18061818
Algorithm 1
  • Input: 

    (1) The coordinates of N special APs:   (axi,ayi)|i=0(N1)

    (2) The boundary of localization space S;

  • Output: 

    Location sequence of all divided regions constitutes location sequence table;

  • 1:

    Use CSI measurement to get effective CSI value between ordinary AP and all special APs;

  • 2:

    for each i[0,n1] do

  • 3:

        Collect CSI data between ordinary AP and all special APs;

  • 4:

        Denoise CSI data by using Butterworth filtering to filter out the high frequency noise;

  • 5:

        Filter out time delay based on the time-domain LOS path identification method;

  • 6:

    end for

  • 7:

    Estimate the distance and calculate the location sequence of ordinary AP;

  • 8:

    Calculate the Kendall coefficient τ between the ordinary AP location sequence and the sequence in the location sequence table by using Equation (6);

  • 9:

    for each i[0,n1] do

      τmax = τ0;

      τmax = max(τmax,τi);

  • 10:

    end for

      return τmax;

  • 11:

    Choose the centroid represented by the location sequence that has the τmax with the ordinary AP as its location estimate.