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.

DCA1000EVM: IWR6843AOPEVM + ICBOOST+DCA1000 通过mmwavestudio设置采集帧数较大时,原始数据处理问题

Part Number: DCA1000EVM
Other Parts Discussed in Thread: IWR6843AOP

用IWR6843AOP EVM +ICBoost+DCA1000采集原始数据,通过mmwave studio 设置采集的帧数很大时,获取到的原始数据有bin文件(按照顺序排列),点击PostProc按钮后是可以看到每一帧经过处理后的数据如(1DFFT 2DFFT 等),那想通过matlab自己进行原始数据分析的话,bin文件应该选择哪一个。先说明一下,如果帧数少的情况下,数据都能对应的上,已经验证过了。不存在操作上的原因。现在将adc_data.bin文件通过matlab处理,显示的是之前一次采集的数据,而非本次采集的数据,因为帧数对应不上。而将adc_data_o.bin和adc_data_1.bin单独处理的话(按照原有的matlab程序会报错,显示数据转大小转换问题),mmwaveStudio是可以处理的,那我应该怎么处理adc_data_o.bin和adc_data_1.bin。步骤是怎么样的,matlab才可以处理原始数据,并且数据对应上。

参考文档  《Mmwave Radar Device ADC Raw Data Capture》

  • 请参考mmwave_studio_02_01_00_00\mmWaveStudio\MatlabExamples\singlechip_raw_data_reader_example,是读取多个文件的。

  • 按照您提供的路径找到的Matlab代码,进行了测试和验证,用rawDataReader 函数 最终可生成adcRawdata 和radarCube 两个.mat文件。radarcube结构体中包含如下图1所示。radarCube.data 数据如4所示,256x4x128我理解的是 numChirps X numRxChan  X numadcSamples ;我随机挑选一帧中一个chirp数据,对其进行了1D FFT 但是目标距离上对应不上(与mmwave studio 中postProc中的1D FFT),想问下是什么原因,附上matlab代码(100帧中第10个chirp)

    test_data = radarCube.data{100};

    channel1_data = test_data(10,1,:);
    channel2_data = test_data(10,2,:);
    channel3_data = test_data(10,3,:);
    channel4_data = test_data(10,4,:);

    channel1 = reshape(channel1_data,1,128);
    channel2 = reshape(channel2_data,1,128);
    channel3 = reshape(channel3_data,1,128);
    channel4 = reshape(channel4_data,1,128);

    N = 128;      %N-FFT

    fft_channel1 = fft(channel1,N)./N;
    fft_channel2 = fft(channel2,N)./N;
    fft_channel3 = fft(channel3,N)./N;
    fft_channel4 = fft(channel4,N)./N;


    abs_channel1 = abs(fft_channel1);
    abs_channel2 = abs(fft_channel2);
    abs_channel3 = abs(fft_channel3);
    abs_channel4 = abs(fft_channel4);

    figure;
    plot(abs_channel1);

    figure;
    plot(abs_channel2);

    figure;
    plot(abs_channel3);

    figure;
    plot(abs_channel4);

                   图1

                

                      图2                                                                                                                    图3

                                  图4

  • 你好,

    adc解析要和配置相关。所以你参考singlechip_raw_data_reader_example修改的matlab代码,是否有考虑都这一点。如果有,你解析出来的第一个adc_data.bin里的数据处理结果是否正确。

    采集到的多文件合并处理就可以了,请参考下面的论坛讨论:

    https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1018335/awr6843-adc_data-bin