TI中文支持网
TI专业的中文技术问题搜集分享网站

新人想请教一下如何解析dca1000和iwr1443采集的数据,我现在已经采集了.bin文件但是不知道怎么用matlab运行那段代码解析出来这个.bin文件

还有一个问题就是DCA1000里边的SW2.5,是放在哪一边,这个我看DCA1000使用手册里边正好没有SW2.5这一项,不确定放在哪一边。至于解析.bin文件不明白的是我matlab运行那行代码,就会报错,我只是把filename换成了我的bin文件名,不明白怎么来解析。

Chris Meng:

你好,

数据解析请参考下面文档,里面有相关maltab代码。
Mmwave Radar Device ADC Raw Data Capture (SWRA581B)

关于DCA1000EVM的SW2.5的设置介绍,请参考DCA1000EVM Data Capture Card User guide(SPRUIJ4A)里Table 6. Switch2.5 Functionality Information的相关内容。

ming wang2:

回复 Chris Meng:

您好我想请问一下SWRA581B,这个文档里边的代码是一个函数,然后我直接用matlab运行之后发现出错,应该怎么使用这个matlab代码才能解析数据。谢谢您啦

Chris Meng:

回复 ming wang2:

你好,

请根据错误提示做相应修改。代码本身应该没有什么问题,可能代码放到pdf文件后回车/换行等有不太对的地方,你可以看看。

ming wang2:

回复 Chris Meng:

 您好,我这个报错不明白是什么意思。给您添麻烦啦

Chris Meng:

回复 ming wang2:

你好,

你遇到的错误信息看不到。

我尝试了一下,代码里有我之前提到的换行的一些小错误。我修改后上传给你参考一下。

readDCA1000.7z

ming wang2:

回复 Chris Meng:

谢谢您,是我换成文件名以后没有加引号,现在解析出来啦,输出的是一堆复数格式,我想做的是毫米波近程成像,看那篇文章的数据格式是rawData3D is an nSample × nVertical × nHorizontal 3-D data matrix. 我想问一下我应该怎么得到那种三维的数据格式进行成像。给您添麻烦了,非常抱歉。

Chris Meng:

回复 ming wang2:

你好,

请参考Mmwave Radar Device ADC Raw Data Capture (SWRA581B)里面的下面相关内容:
9.1 DCA1000 With xWR12xx and xWR14xx MATLAB Example
。。。
Row 1 contains all of the data from the first receiver, row 2 from the second receiver, row 3 from the third
receiver, and row 4 from the fourth receiver. In cases where certain receivers are disabled, the
corresponding rows will be populated with zeros. Each row will contain a number of columns equal to the
number of ADC samples per chirp multiplied by the total number of chirps. The columns are organized by
chirps. For example, if there are 256 ADC samples and a total of 1280 chirps (128 chirps/frame x 10
frames), each row will contain 327680 columns. The first 256 columns correspond to the first chirp, the
next 256 columns to the second chirp, and so on. The first 32768 columns correspond to the chirps of the
first frame, and so on. The data can then be processed as the user desires.

赞(0)
未经允许不得转载:TI中文支持网 » 新人想请教一下如何解析dca1000和iwr1443采集的数据,我现在已经采集了.bin文件但是不知道怎么用matlab运行那段代码解析出来这个.bin文件
分享到: 更多 (0)