Calculating Angle and Range using CTE data from direction_finding_connectionless sample code

I have the direction_finding_connectionless_rx and direction_finding_connectionless_tx sample code running on a pair of nRF52833 development kits and the PCA20054 antenna array, but I don't see where any range or direction calculations would be performed or output. So my questions would be:

1. Is the expectation for the evaluation process that the end user implement these calculations on their own?

2. Does Nordic offer sample code for any algorithms that could be used?

  • Hi

    Nordic will not provide the direction finding algorithm I'm afraid, and users are indeed expected to implement this themselves. The raw IQ data that is transmitted must be converted into vector form to be reviewed properly. We don't have have any specific sample code showing this, but you can check out this page for information on the various formulas used to translate IQ data between polar and rectangular form.

    Please note that with one antenna array the range estimate will be hard to get, as you'll only get the angle well with one array, and to get distance as well we recommend multiple antenna arrays so you can triangulate the exact location of transmitting devices.

    Please note that we do have third parties that deliver the full package of beacon, antenna array, software as well as the direction finding algorithm like what U-Blox does with the XPLR AOA kits: https://www.u-blox.com/en/product/xplr-aoa-3-kit 

    Best regards,

    Simon

Related