This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SIMPLELINK-CC2640R2-SDK: How to estimate the angle of AoA, θ, in function, RTLSCtrl_estimateAngle?

Part Number: SIMPLELINK-CC2640R2-SDK
I am confusing that why “RTLSCtrl_estimateAngle” can estimate θ? The average value of two phase difference values (the red color) can got θ? The antenna distance, d, is not applied.
Why not calculate θ by arcsin(), the third step “Covert the phase difference into Angle of Arrival” in following link?

AoA_Sample RTLSCtrl_estimateAngle(const AoA_AntennaResult *antA1Result, const AoA_AntennaResult *antA2Result)
{
      // Calculate AoA for each antenna array
    const int16_t AoA_A1 = ((antA1Result->pairAngle[0] + antA1Result->pairAngle[1]) / 2) + 45 + antA1Result->channelOffset[antA1Result->ch];
    const int16_t AoA_A2 = ((antA2Result->pairAngle[0] + antA2Result->pairAngle[1]) / 2) - 45 - antA2Result->channelOffset[antA2Result->ch];
}

 
  • Hi,

    In our example, we did not continue on step three. The reason is simply because by step 2 we already have linear result from +/-90 degree, therefore all we need is to have a look up table to do the fine tuning. This save computation time/current consumption compared to doing another arcsin function.

    We already tried to do arcsin, but the result is pretty much the same as adding gain and offset after step two mentioned in the SimpleLink Academy.
    You can find our result here:
    dev.ti.com/.../