Input: The number of iterations L, the stop threshold δ of EM algorithm, the recorded magnetic field data Y = {y}t=1:T, initial sensor parameters
, initial prior distribution
and initial noise covariances
. Hf = 0. |
1: |
for
n = 1 : L
do
|
2: |
Run URTSS with Y and
to estimate
; |
3: |
Update
to
with respect to
, Y and Xn−1 according to (9)–(13); |
4: |
if
Hf = 0 then
|
5: |
Update
to
by computing {Gn, bn} with respect to Rn, Hn−1, Y and Xn−1 according to (15); |
6: |
else
|
7: |
Update
to
by alternately optimizing {G, b} and H based on curvilinear search according to (15), (17), (18) and (20). |
8: |
end if
|
9: |
Compute the J(n) = [E(log(L)]n with respect to
, Y and Xn−1 according to (8); |
10: |
if
n > 1, Hf = 1 and
then
|
11: |
break, end;
|
12: |
end if
|
13: |
if
n > 1, Hf = 0 and
then
|
14: |
break or Hf = 1 (optional), end;
|
15: |
end if
|
16: |
end for |
Output: The optimized {Ωs, Ωp, Ωc} and X. |