你好,
拿TI提供的高精度测距demo来说,demo中配置DFT resolution is 16384 ,迭代次数是64,也就是说做了64个频率点的DFT,这64点的startFreq和freq increment value
是多少呢?这部分的代码没看明白。
Chris Meng:
你好,
startFreq的配置,请参考demo代码的data_path.c里的MmwDemo_configInterp_HWA函数。
关于slow DFT,我建议看看Radar Hardware Accelerator user gudie里面的Frequency shifter with auto-increment mode(a slow DFT mode)的相关内容。我摘抄了部分供参考:
The increment value is calculated as 2^(14 – FFTSIZE)
and hence the DFT resolution is 16384/2^(14 – FFTSIZE) = 2^FFTSIZE. As an example, if FFTSIZE =
1011b, then the DFT resolution is 2048. This is equivalent to computing DFT points corresponding to
2K size FFT grid. The highest resolution for the DFT would be obtained when FFTSIZE = 1110b (max
allowed value), in which case the DFT resolution is 16384 (corresponding to 16K size FFT grid).
Chris Meng:
回复 user5977184:
你好, slow dft的FFT点数和HWA memory大小没有直接的关系。下面两个帖子也说明了这一点。slow dft速度慢这点你说对了。 e2e.ti.com/…/761460 e2e.ti.com/…/2695674 如果你希望精度更高,可以利用FFT Stitching实现更多点的fft来提高精度。你可以参考老版本toolbox里的demo:mmwave_industrial_toolbox_4_4_1\labs\level_sensing\14xx-4k-fft 以及Radar Hardware Accelerator – Part 2 User's Guide (SWRU527A)里4 FFT Stitching Use-Case Example的相关内容。
Chris Meng:
回复 Chris Meng:
你好,
使用FFT Stitching,最多能做到4096点FFT。
FFT of size 2048 and 4096 can also be accomplished using a two-step FFT stitching process.
TI中文支持网



