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.

IWR1843BOOST: Doppler delete

Part Number: IWR1843BOOST

Hi team,

The program is PA_18XX. If the Doppler dimension FFT is not used, is it possible to convert real and imaginary parts directly to floating-point numbers by making the following changes? There were as many as 145 detection points when running CFAR, compared to a dozen. 

The RadarDopplerProcessRun function is changed. The original function was as follows: 

uint8_t radarDopplerProcessRun(void *handle, cplx16_t * pDataIn, float *pDataOut)
{
    radarProcessInstance_t *processInst = (radarProcessInstance_t *)handle;
	int32_t i,j;
	float *tempDataOut;
	tempDataOut=pDataOut;

	for (j = 0; j < processInst->nRxAnt; j++)//虚拟天线个数
	{
	    //按照天线维度将(虚拟天线*多普勒仓)数据展开
		processInst->dopplerInput->dopplerProcInput[j]	=	(void * )&pDataIn[j * processInst->fftSize2D];
	}
	
	/*输入标志,指示调用模块仅用于重新生成 2DFFT 输出目的。*/
	processInst->dopplerInput->reGen2DFFTout4AoAFlag = 0;
	/*输入标志,用于启用TDM MIMO的多普勒补偿(如果设置为1),
	 * 并且如果reGen2DFFTout4AoAFlag设置为1*/
	processInst->dopplerInput->dopplerComp4TDMMimo = 0;

	processInst->dopplerProcErrorCode = RADARDEMO_dopplerProc_run(
						processInst->dopplerFFInstance,
						processInst->dopplerInput,
						pDataOut);
	return((uint8_t)processInst->dopplerProcErrorCode);
}

The changed function is as follows: 

uint8_t radarDopplerProcessRun(void *handle, cplx16_t * pDataIn, float *pDataOut)
{
    radarProcessInstance_t *processInst = (radarProcessInstance_t *)handle;
    int32_t i,j;
    float *tempDataOut;
    tempDataOut=pDataOut;

    for (j = 0; j < processInst->nRxAnt; j++)//虚拟天线个数
    {
        pDataOut=tempDataOut;//累加四个天线的数据,并转换为float
        for( i = 0; i <((int32_t)processInst->fftSize2D - 1); i++)
        {
           *pDataOut += (float)pDataIn[j * processInst->fftSize2D].real;
           pDataOut++;
           *pDataOut += (float)pDataIn[j * processInst->fftSize2D].imag;
           pDataOut++;
           pDataIn++;
        }
    }
    return;
}

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hi Cherry, 

    Can you please let me know the software versions that are currently installed (SDK, toolbox, etc...) as well as the example software that is being used here?

    Best Regards,

    Josh

  • Hi Josh,

    Thanks for your support.

    The software version is sdk3.5.0.4, the example software PA_18xx.

    The application is to improve the detection accuracy of static object distance by removing part of the velocity latitude FFT algorithm for PA_18xx and using the range index detected by the cfar of the distance latitude for the ZoomFFt coarse index for high-precision level measurements. 

    Thanks and regards,

    Cherry

  • Hi Cherry, 

    Thank you for this information. I am not familiar with the PA_18xx example software. Can you please let me know where this was obtained (Radar Toolbox, etc...)?

    Thanks,

    Josh

  • Hi Josh,

    Can you please let me know where this was obtained (Radar Toolbox, etc...)?

    mmwave_automotive_toolbox_3_2_0\labs\lab0008_automated_parking

    Thanks and regards,

    Cherry

  • Hi Cherry, 

    I understand now that this is an example from the automotive toolbox. I have assigned this thread to a team member who supports automotive applications. Please allow another day for a response. Your patience is appreciated. 

    Best Regards,

    Josh

  • HI,

    Our support team can provide limited support for this demo. Unfortunately the developer of this demo is no longer available for support.

    It should not be a problem to convert the output of the range fft to floating point. However one will need to make sure that the CFAR processing is also processing floating point format.

    Thank you

    Cesar

  • Hi Cesar,

    Thank you for the information.

    The input to the ZOOMFFT algorithm requires a float of the raw data; the input to the CFAR algorithm is a chirp of 12 (3 * 4) antennas accumulated into a chirp, forming a two-dimensional float array of chirp-count * number of samples.

    If the customer wants to use the range index from the cfar for ZOFFT, do they have to guarantee that the ZOFFT input is also the chirp of the 12 antennas accumulated and converted to float? Or just as before, using the accumulation of multiple chirps from one antenna as input? 

    Thanks and regards,

    Cherry

  • Hi,

    Could the customer send a block diagram where the Zoom FFT is applied so we better understand?

    thank you

    Cesar