Algorithm 1 NLoS BS detection and exclusion. Procedure from 1 to 20 performs the algorithm with all the available BS, while procedure from 22 to 27 performs the algorithm excluding one BS at a time when the computed test statistic with all the available BS exceeds the given threshold |
Input: , , , , , , where
Output:
-
1:
Set to perform GN solution
-
2:
-
3:
Set
-
4:
whiledo
-
5:
-
6:
Compute
-
7:
Compute the pseudo-range error .
-
8:
Compute the UE estimated location :
-
9:
-
10:
end while
-
11:
Compute as in 6, where is from 9
-
12:
Decompose into and through QR factorization
-
13:
Compute the residuals , where from 9
-
14:
Compute the covariance matrix of the range residual vector
-
15:
Perform eigen decomposition of
-
16:
Whiten the range residual vector as
-
17:
Compute the sum of squared residuals:
-
18:
Compute
-
19:
ifthen
-
20:
Use the solution in 9
-
21:
else
-
22:
A bias might be present
-
23:
Create subsets of BS by setting the 1st BS as serving and remove one BS from the rest of BS at a time, , where and
-
24:
For each of the subsets compute following the procedure from 1 to 18
-
25:
Choose with minimum that does not exceeds
-
26:
if found then
-
27:
Use solution computed by the corresponding
-
28:
else
-
29:
Choose the minimum among test statistics computed in 18 and 24
-
30:
Use solution computed by the corresponding group of BSs
-
31:
end if
-
32:
end if
|