Skip to main content
. 2020 Oct 20;20(20):5928. doi: 10.3390/s20205928
Algorithm 3 Recursive clock parameter estimator
  • 1:

    Previous time records:{xN,yN}={C1(tN),C2(tN)}

    Previous sum parameter:Φ

    Input:{xN+1,yN+1}={C1(tN+1),C2(tN+1)}

    Output:τ^12, α^12

    Parameters:λ

  • 2:

    Update the sum parameter ΦλΦ+(xN+1xN)2yN+1yN

  • 3:

    Update the clock skew α^12α^12+xN+1xNΦ1α^12xN+1xNyN+1yN

  • 4:

    Calculate the time-offset τ^12yN+1α^12xN+1

  • 5:

    Save the time records {xN,yN}{xN+1,yN+1}

  • 6:

    returnα^12 and τ^12