Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

TULIP Trilateration Algorithm

minRTT = propagation delay + extra delay (due to extra circular routes , congestion and router delays)

?delta(T) measured= ?delta(t + ?t0  ) + delta(t0)  

(Pseudo-distance)

PD = ?delta(T) measured . ?alpha

(Actual distance)

D = ?t . ?delta(T) . alpha

PD = (?t + ?t0). ?delta(T) + delta(T0)). alpha

PD = D + ?t0 .  ? delta(T0) .c  .................................(1)

D = actual distance from the landmark.

C = speed of light

? alpha = X(c) i.e. Speed of digital info in fiber optic cable

X = factor of c with which digital info travels in fiber optic cable.

?t delta(T) = actual propagation delay along the greater circle router/paths.

?t0 delta(T0) = the extra delay causing overestimation.

PD = pseudo distance

Graphically,
Image Removed Image Added
 
 H: host
L1: Landmark 1
L2: landmark 2
L3: landmark 3
 
Using distance farmula:
D1= sqrt(XL1- XH Xh)² ^2 + (YL1 - YH)² ^2    ............................................. (2)
FROM (1) & (2)

PD1= (sqrt(XL1 - XH )² ^2 + (YL1 - YH)^2) ²  +   ?t0 .  ?    delta(T0) . alpha       .................... (A)
Similarly for other 2 landmarks:
PD2=   ?¯  (sqrt(XL2 - XH )² ^2 + (YL2 - YH)^2) ²  +   ?delta(t0) . ?     alpha     .................... (B)
PD3=    ?¯ (sqrt(XL3 - XH )² ^2 + (YL3 - YH)^2) ²  +   ?delta(t0) . ?   alpha    .....................(C)
We need to linearize (A), (B) & (C) to solve them

...

                        f(x0) . ( x- x0)        f ' (x0) . (x - x0)

  f( x ) = f (x0) + ---- ----------  + --------------------

...

 f ( x ) = f (x0) + f(x0)(x - x0)

 put (x-x0) =  delta(x)  ?x 

f ( x ) = f (x0) + f' (x0) delta ( x ) .......................(3)

Hence to compute the original value of X an arbitrary value x0 is required, this is done by simple trilateration  

 We know that:

 H x  Hx = X est + delta (error)( x )

 Hy  H y = Y est + delta (thumbs up)( y )

 Also

 Est Di =  (Lhi - Xest) + (Hy - Yest) .......................(4)

...

                       d(EstDi) EstDi . delta ( x )          d(EstDi) . delta(thumbs up)( y )
 

 PDi = Est Di + ---- ----------      +         ----------------- 

...

                           (Xest - Xli)                   (Yest - Yi)

  ODi = Est Di +  ------------. delta ( x )  + ---------------- delta ( y) + c. delta(toTo)
                             dX                                  dY

 Now we need to solve ( x , y , delta(to))
Image Added

Solution from (4) is put in eq(D) to get new estimations.

Hx,Hy becomes the new estimated position

Reference

http://www.ece.cmu.edu/research/publications/2003/CMU-ECE-2003-038.pdf