Skip to main content
. 2019 Dec 15;19(24):5544. doi: 10.3390/s19245544
Algorithm 1 Three-Dimensional Empirical AoA Localization
Input: AoA readings at fixed reader nodes, three-dimensional location of N’ readers, phase error profile
Output: Estimated three-dimensional location F^ of a tag Tk
  • 1. 

    A tag broadcasts its unique identifiers

  • 2. 

    N readers receive the signals from the tags (N⊆N′)

  • 3. 

    Each reader Rn reports the measured AoA θh and θv to a central database

  • 4. 

    Map θh and θv to their corresponding AoA error εh and εv

  • 5. 

    If N≥2

  • 6. 

    For n = 1 to N

  • 7. 

    Compute mn,v and mn,h

  • 8. 

    Compute the vectors d→n,1 and d→n,2

  • 9. 

    End for

  • 10

    Else

  • 11

    Tag cannot be localized by one reader

  • 12

    End If

  • 13

    For I = 1 to (N2)

  • 14

    Compute min |PQ→|

  • 15

    Compute estimated location F^i,k

  • 16

    End For

  • 17

    For I = 1 to (N2)

  • 18

    Compute Ψi,k′, Θi,k′

  • 19

    Compute wi,k

  • 20

    End For

  • 21

    Compute F^k