Distance measurement from IQ samples and error estimation

Hello and thank you for your help.

I am working on a project that uses distance measurement (DM) on nRF52840 DKs. I have a few questions regarding the implementation of DM.

1. I found that the source code for the conversion of IQ samples to DM readings is not available publically. Can I check how this code works? In particular, when is a measurement considered a timeout (nan value on UART terminal) and does it have to do with the quality of IQ samples or the number of samples received within a timeframe? I tried to find the source code on the nrfconnect GitHub, but if there is somewhere else I should look, please let me know as well, thank you.

2. I found that some conditions such as large concerete structures in the line of sight of the DKs performing DM cause the measurement to be quite inaccurate (16.5m measurement from a mean of 50 readings for an actual distance of 8.0m), but the quality of the reading is still marked as "ok". Is there any way that has already been developed to estimate the confidence level of DM that accounts for such conditions?

I'm currently working on the nRF52840 DKs, using nRFConnect SDK v2.2.99. The code I am running is the sample code for distance measurements modified to output high precision results only.

Thank you.

Related