你好,
1.在TM的cfarCfg 4 60 18 16 8 4 0 63 63 0 1 中每一位的含义是什么?
在之前的提问中(e2echina.ti.com/.../608966
比如您建议修改第二个参数 60 ,其单位或者说物理含义是什么呢?
2.TM这个demo中是否有默认近场校正?因为在cfg文件中是没有nearFieldCfg参数配置的
谢谢
你好,
1.在TM的cfarCfg 4 60 18 16 8 4 0 63 63 0 1 中每一位的含义是什么?
在之前的提问中(e2echina.ti.com/.../608966
比如您建议修改第二个参数 60 ,其单位或者说物理含义是什么呢?
2.TM这个demo中是否有默认近场校正?因为在cfg文件中是没有nearFieldCfg参数配置的
谢谢
你好,
这个参数是CFAR算法的参数。建议你看看下面论坛讨论:
以及相关CFAR算法的源代码:
\mmwave_industrial_toolbox_3_6_2\labs\lab0013_traffic_monitoring_16xx\src\common\radarProcess.c
else if (config->cfarConfig.cfarMethod == 4)
{
cfarConfig->cfarType = RADARDEMO_DETECTIONCFAR_CASOCFAR;
cfarConfig->enableSecondPassSearch = 1;
\mmwave_industrial_toolbox_3_6_2\labs\lab0013_traffic_monitoring_16xx\src\common\modules\detection\CFAR\src\RADARDEMO_detectionCFAR.c
else if (((RADARDEMO_detectionCFAR_Type)detectionCFARInst->cfarType == RADARDEMO_DETECTIONCFAR_CASOCFAR)
|| ((RADARDEMO_detectionCFAR_Type)detectionCFARInst->cfarType == RADARDEMO_DETECTIONCFAR_CACCCFAR)
|| ((RADARDEMO_detectionCFAR_Type)detectionCFARInst->cfarType == RADARDEMO_DETECTIONCFAR_CAGOCFAR)
|| ((RADARDEMO_detectionCFAR_Type)detectionCFARInst->cfarType == RADARDEMO_DETECTIONCFAR_CAVGCFAR)
)
{
estOutput->numObjDetected = RADARDEMO_detectionCFAR_CAAll(
detectionCFARInput,
detectionCFARInst,
estOutput->rangeInd,
estOutput->dopplerInd,
estOutput->rangeEst,
estOutput->dopplerEst,
estOutput->rangeVar,
estOutput->dopplerVar,
estOutput->snrEst,
estOutput->noise);
\mmwave_industrial_toolbox_3_6_2\labs\lab0013_traffic_monitoring_16xx\src\common\modules\detection\CFAR\src\RADARDEMO_detectionCFAR_priv.c
int32_t RADARDEMO_detectionCFAR_CAAll(
…
/* first detectionCFARInst->guardSizeRange + detectionCFARInst->searchWinSizeRange samples starting from detectionCFARInst->leftSkipSize*/
for (k = (int32_t)detectionCFARInst->leftSkipSize + guardSize; k < (int32_t) detectionCFARInst->leftSkipSize + totalWinSize; k+=2 )
{
f2temp1 = _mem8_f2(&powerPtr[k]);
leftWinPower += (double)_hif2(f2temp1);
leftWinPower += (double)_lof2(f2temp1);
}
如果你对CASO CFAR算法不熟悉,建议先在网上搜索一下相关内容。