Skip to main content
. 2020 Feb 20;20(4):1155. doi: 10.3390/s20041155
Algorithm 1. Iterative positioning algorithm in Step 2
Input: TOA measurements ρi, iN; anchor positions p(j), ji, i; initial unknowns x0 = [xc|0, yc|0, yc|0, δt0, ψ0]T; maximum iterative number iter; convergence threshold thr > 0; known height h, rolling angle φ, pitch angle θ and the vectors from the antenna i to reference point c expressed in frame b lcib, iN; damping coefficient μ > 0; adjustment coefficient λ > 1.
Iteration:
  for q = 1: iter
    Calculate the position of each antenna:
    p^i=fi(xc|q1, yc|q1, ψq1), iN.
    Calculate residual: δρij=ρijp(j)p^iδtq1, iN, ,ji, i.
    Calculate uij and wij according to (23) and (41), respectively.
    Form H and δz according to (42).
    Calculate Q according to (46).
    Calculate unknown incremental: δxq =Q1HTδz.
    Update unknown estimate: xq=xq1+δxq.
     if ‖δxq‖ < thr
      exit;
     else if ‖δxq‖ < ‖δxq−1
      μ=μλ;
      else
      μ = μλ.
      end if
     end if
   end for
Output: x q