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.

AWR1843: Understanding of minRange and maxRange in range configuration

Expert 2050 points
Part Number: AWR1843

Our customized AWR1843 radar device uses automotive lab demo 0007_mrr with both USRR and MRR mode, there are presettings for minimum range and maximum range as below for USRR mode and MRR mode respectively.

dss_main.c

void MmwDemo_populateMRR(MmwDemo_DSS_DataPathObj* obj, uint16_t subframeIndx)
{
    ...
    obj->minRange = (uint16_t) (0.5f * (1 << obj->xyzOutputQFormat));
    obj->maxRange = (uint16_t) ROUND_TO_INT32(obj->rangeResolution*SUBFRAME_MRR_NUM_CMPLX_ADC_SAMPLES * (0.9f) * (1 << obj->xyzOutputQFormat));
    ...
}

void MmwDemo_populateUSRR(MmwDemo_DSS_DataPathObj* obj, uint16_t subframeIndx)
{
    ...
    obj->minRange = (uint16_t) (0.10f * (1U << obj->xyzOutputQFormat));
    obj->maxRange = (uint16_t) ROUND_TO_INT32(obj->rangeResolution*SUBFRAME_USRR_NUM_CMPLX_ADC_SAMPLES * (0.9f) * (1U << obj->xyzOutputQFormat));
    ...
}

According to the settings in the code, I guess the minRange for USRR is 0.1meter and minRange for MRR is 0.5meter.

1) Is it correct?

I could not figure out the maxRange value for MRR and USRR.  But from the minRange and maxRange settings, it seems USRR and MRR have large range overlapped.

2) Do USRR and MRR have large overlapped range? 

3) How the lab demo processes the duplicated detected objects in the overlapped range?

Thanks

  • Hi,

    The max ranges will depend on the configurations used in "\mmwave_automotive_toolbox_3_3_0\labs\lab0007_medium_range_radar\src\common\mrr_config_consts.h"

    Out of the box we provide the optimal max ranges for both USRR (max range ~30m) and MRR (max range ~120m)

    It is important to understand that each subframe, USRR and MRR, is processed independantly: there is ADC data generated and processed for each type of subframe.

    So, overlapped ranges should not be an issue.

    In the GUI the detected points for each sub-frame are displayed in different colors

    thank you

    Cesar

  • Thanks. what do obj->minRange and obj->maxRange mean in the code of dss_main.c? Are they the stright line distance between the radar device and the detected objects? 

  • Hi Lei,

    This is used in the function rangeBasedPruning. This function takes the detection listed produced by CFAR, and prunes out certain entries in the list. If the detected object is outside of minRange<->maxRange, it will be removed by this function.

    You can have a look at the source code implementation of rangeBasedPruning to see exactly how these thresholds are used.

    Regards,

    Aayush