DCA1000 Training Video(DCA1000培训视频)

In this video, we will be covering the basics of raw data capture using TI’s mmWave sensors, the DCA1000 capture card, and mmWave Studio.
在这个视频中,我们将涵盖基本的原始数据捕获使用TI的mmWave传感器,DCA1000采集卡和mmWave Studio
We will be covering the requirements, the hardware and driver setup, setting the static IP address, capturing the radar data, and additional information such as the data flow and data file format.
我们将介绍需求、硬件和驱动程序设置、设置静态IP地址、捕获雷达数据和其他信息,如数据流和数据文件格式
For the hardware requirements, we’re going to need a TI mmWave EVM and a 5 volt, 2.5 amp power supply with a micro USB cable.
对于硬件需求,我们将需要一个TI mmWave EVM和一个5伏特,2.5安培电源与一个微型USB电缆
Additionally, we will need the DCA1000 EVM, a 5 volt, 2 amp power supply, micro USB cable, RJ45 ethernet cable, and a 60 pin Samtec cable.
此外,我们还需要一个DCA1000 EVM,一个5伏特,2安培电源,微型USB电缆,RJ45以太网电缆和60针Samtec电缆
For the software, we will need mmWave Studio, Matlab Runtime Engine version 8…5.1, and Code Composer Studio version 7.1 or higher or the XDS Emulation Software Package.
对于软件,我们需要mmWave Studio,Matlab运行时引擎版本8…5.1和Code Composer Studio版本7.1或更高或XDS仿真软件包
Now that we have covered the hardware and software requirements, we can talk about how to connect the mmWave EVM and the DCA1000 to your PC.
现在我们已经讨论了硬件和软件需求,我们可以讨论如何将mmWave EVM和DCA1000连接到您的PC
We want to connect the mmWave EVM and the DCA1000 as shown in the image.
我们想要连接的mmWave EVM和DCA1000,如图所示
First, attach the spacers and L brackets.
首先,连接垫片和L型支架
Next, attach the 60 pin Samtec cable to J3 of the DCA1000 and J1 of the mmWave EVM.
接下来,将60针Samtec电缆连接到DCA1000的J3和mmWave EVM的J1
The connectivity to the PC is established by two micro USB cables and an ethernet cable.
连接到个人电脑建立了两个微型USB电缆和一个以太网电缆
Connect one of the micro USB cables to J8 of the mmWave EVM and your PC and the other to the J1, the radar FTDI port, of the DCA1000 in your PC.
将其中一根微USB线连接到mmWave EVM的J8和您的PC,另一根连接到PC中的DCA1000的雷达FTDI端口J1
Connect an ethernet cable to the ethernet port on J6 of the DCA1000 and the PC.
用以太网电缆连接到DCA1000的J6和PC上的以太网端口
To power on the devices, connect the 5 volt, 2.5 amp power supplies to both the DCA1000 and mmWave EVM and a power source.
要在设备上供电,连接5伏特,2,5安培电源的DCA1000和mmWave EVM和一个电源
Ensure that switch three on the DCA1000 is set to DC jack 5 volt in.
确保DCA1000上的3号开关被设置为5伏的直流插孔
Make sure that the SOP jumpers on the mmWave EVM are set so that SOP0 and SOP1 are closed and SOP2 is open.
确保设置了mmWave EVM上的SOP跳线,以便关闭SOP0和SOP2,打开SOP2
With the devices powered on and connected to a PC, we can now verify that the COM ports are properly detected.
设备通电并连接到PC,我们现在可以验证COM端口是否被正确检测到
Navigate to the Device Manager on your PC and check to see that you see the COM port numbers for the AR DevPack and XDS110, as shown in the image.
导航到PC上的设备管理器,检查是否看到AR DevPack和XDS110的COM端口号,如图所示
Your COM port numbers may differ from the numbers shown in the image.
你的COM端口号可能与图像中显示的数字不同
In some cases, the FTDI drivers need to be installed manually.
在某些情况下,需要手动安装FTDI驱动程序
If the COM ports for the AR DevPack do not appear under the ports, COM, and LPT ports, and you have a yellow Warning icon, right click on AR DevPack port and select the Update Driver Software option.
如果COM端口的AR DevPack没有出现在ports,COM,LPT端口,并且你有一个黄色的警告图标,右键点击AR DevPack端口选择更新驱动选项
Choose the Browse My Computer For Driver Software option and enable the Include Subfolders tick box.
选择浏览我的电脑为驱动程序软件选项和启用包括子文件复选框
Select the FTDI folder in your mmWave Studio Install folder for the FTDI drivers.
在mmWave Studio安装文件夹中选择FTDI驱动程序的FTDI文件夹
You will need to install the drivers for each port individually.
你需要为每个端口分别安装驱动程序
In some cases, you might need to install them twice for each port.
在某些情况下,可能需要为每个端口安装两次
When the drivers have been successfully installed, they will appear in the ports, COM, and LPT tab of Device Manager as shown in the image.
当驱动程序成功安装后,它们将出现在Device Manageer的ports、COM和LPT选项卡中,如图所示
With the DCA1000, the data is transferred over ethernet as UDP packets.
使用DCA1000,数据以UDP数据包的形式通过以太网传输
The FPGA on the DCA1000 has been programmed with the destination address of 1921683330.
DCA1000上的FPGA已经被编程为目的地址192.168.33.30
For this reason, we must configure the target PC to a static IP address that matches the expected destination address of the FPGA in order to receive data from the EVM.
由于这个原因,我们必须将目标PC配置为与FPGA的预期目标地址相匹配的静态地址,以便从EVM接收数据
I will now walk through how to setup the static IP address.
现在我将介绍如何设置静态IP地址
Open your Network and Sharing Center and click on the Change Adapter Settings option.
打开你的网络和共享中心,并单击更改适配器设置选项
Open the Local Area Connection, click on Internet Protocol version 4 TCP IPv4, and select Properties.
打开本地区域连接,单机Intenet协议版本4 TCP IPv4,并选择Properties
Select the Use the Following IP Address option and change the IP address and subnet mask to the values shown on the screen.
选择使用一下IP地址选项,并将IP地址和子网掩码更改为屏幕上显示的值
Once done, click OK and close the Local Area Connection Properties window.
完成后,单击ok并关闭本地区域连接属性窗口
With the static IP address set and the devices successfully connected to the PC, we can now begin to capture some data.
设置了静态IP地址和成功连接到PC的设备后,我们现在可以开始捕获一些数据
Open mmWave Studio in the mmWave Studio Install folder under mmWave Studio, Runtime, mmWave Studio EXC.
在mmWave Studio,Runtime,mmWave Studio EXC下的mmWave Studio安装文件夹中打开mmWave Studio
Before moving any further, we should check that we have the mmWave EVM set to the correct SOP mode.
在进一步移动之前,我们应该检查已将mmWave EVM设置为正确的SOP模式
We want to set the EVM for SOP2, development mode.
我们希望为SOP2开发模式设置EVM
In order to do this, make sure that you have the SOP jumpers connected on SOP0 and SOP1, and removed from SOP2.
为了做到这一点,确保您拥有SOP0和SOP1 SOP跳线连接,且远离SOP2
Once mmWave Studios open, please verify that the FTDI connectivity status is connected.
mmWave Studios打开后,请验证FDTI连接状态是否已连接
If it does not say connected, verify that you have properly installed the FTDI drivers.
如果没有显示连接,请验证是否正确安装了FDTI驱动程序
We will now begin by connecting RS232.
我们现在开始连接RS232
First, select the correct COM port under RS232 options.
首先,在RS232选项下选择正确的COM端口
In my case, this corresponds to COM port 8, which is the application user UR COM port.
在我的例子中,它对应于COM端口8,这是应用程序用于UR COM端口
Once selected, click on Set, followed by Connect.
选择后,单击Set,然后点击连接
If the connection is successful, you should see the RS232 connectivity status changed to connected.
如果连接成功,你将看到RS232连接状态更改为connected
With the UR connected, we can now begin loading the firmware.
与UR连接后,我们现在可以开始加载固件
First, select the appropriate BSS and MSS firmware options.
首先,选择适当的BSS和MSS固件选项
You can do this by going to your mmWave Studio Install folder, selecting the RF Eval firmware folder, and selecting Radar SS for the BSS option, and then choose based on your device.
你可以通过进入你的mmWave Studio安装文件夹,选择RF Eval固件文件夹,选择Radar SS作为BSS选项,然后根据你的设备进行选择
In my case, I’m using the 1642 ES1, so I’ll select that firmware.
在我的例子中,我使用的是1642 ESI,所以我将选择该固件
Do the same thing for the MSS firmware, but under the Master SS folder.
对MSS固件执行相同的操作,但是在主SS文件夹下
Next, load the BSS firmware first, followed by the MSS firmware.
接下来,首先加载BSS固件,然后加载MSS固件
If successful, you should see the BSS firmware version and MSS firmware version appear.
如果成功,您应该会看到BSS固件版本和MSS固件版本
We can now connect Spy and power up the RF subsystem.
我们现在可以连接到Spy并启动RF子系统
First, click on Spy Connect.
首先,点击Spy连接
If the connection is successful, you should see the Spy connectivity status change to connected.
如果连接成功,您应该看到Spy状态更改为connected
If Spy fails to connect, there is a high probability that you have selected the wrong firmware.
如果Spy未能连接,有很高的可能性你选择了错误的固件
Next, click on RF Power Up.
下一步,点击RF电源打开
We can now move to the Static Configuration tab.
现在我们可以移动到静态配置选项卡
In the Static Configuration tab, we can configure the channels, the ADC, and the internal RFLDO.
在静态配置选项卡中,我们可以看看配置通道、ADC和内部RFLDO
First, begin by selecting the desired number of Tx Rx channels and the desired ADC configuration.
首先,选择所需的TXRX通道数量和所需的ADC配置
Once done, click on Set.
完成之后,单机set
If you are supplying the RF power rails of the mmWave device with 1 volt, then you should select the RFLDO Bypass option.
如果您正在为mmWave设备提供1伏的射频电源轨道,那么您应该选择RFLDO旁路选择
In cases where you are supplying 1.3 volts, do not select the RFLDO Bypass option, as this can damage the device.
在提供1.3伏特电压的情况下,不要选择RFLDO旁路选项,因为这会损坏设备
In this case, we will not be selecting the RFLDO Bypass option.
在这种情况下,我们将不选择RFLDO旁路选项
Next, configure your LPADC mode and click Set.
接下来,配置您的LPADC模式并单机Set
Once done, click on RF in it.
一旦完成,点击它的RF
We can now move on to the DataConfig tab.
我们现在可以进入DataConfig选项卡
In the DataConfig tab, we can configure the data path, the clock, and the LVDS lanes.
在DataConfig选项卡中,我们可以配置数据路径、时钟和LVDS线路
With the DCA1000, data will always be captured over four lanes with the 12 and 1443 devices and two lanes with the 1642 devices.
使用DCA1000,数据将始终通过12和1443设备的4个通道和1642设备的2个通道被捕获
For now, we will leave these as default values and click Set for data path configuration, Set for clock configuration, and Set for LVDS lane configuration.
现在,我们将保留这些默认值,并单机Set为数据路径配置,Set为时钟配置,Set为LVDS lane配置
We can now move on to the Sensor Configuration tab.
我们现在可以进入传感器配置选项卡
In the Sensor Configuration tab, we can define the chirp and frame parameters.
在传感器配置选项卡中,我们可以定义chrip和帧参数
We will begin with the Profile section.
我们将从概要文件部分开始
In this section, we can define the RF parameters of the chirp.
在本节中,我们可以定义chrip的射频参数
The device is capable of supporting multiple chirp profiles, with a maximum of four profiles supported.
该设备能够支持多个chrip文件,最多支持四个配置文件
This can be accomplished by changing the profile ID.
这可以通过概要文件ID来实现
In this case, we will use a single chirp profile with an ID of zero, and click on Set.
在本例中,我们将使用一个ID为0的chrip配置文件,然后单机set
The Chirp section allows us to add additional variations to the chirp, as well as specify the sequence of the chirps.
Chrip部分允许我们添加额外的变换到chrip,以及指定Chrip的序列
For example, if we wanted to have a sequence of eight chirps with the first four chirps corresponding to profile ID zero and the next four chirps corresponding the profile ID one, we would begin by setting the first four chirps by specifying the start chirp and the end chirp.
举例来说,如果我们想要一个8序列chrip与前4序列chrip配置文件0和接下来4chrip对应配置文件ID1,我们将开始通过设置前4个chrips来指定开始chrip和结束chrip
In this case, zero to three will correspond to the first four chirps, and click on Set.
在本例中,0到3对应于前4个chrips,然后单机set
We could then change the profile ID to one and specify the start chirp as four and the end chirp as seven and click on Set.
然后,我们可以将配置文件ID更改为1,并将开始chrip指定为4,结束chrip指定为7,然后点击Set
This would create the sequence of eight chirps with four chirps for profile zero and four chirps for profile one.
这将产生8个chrip序列配置文件0有4个序列配置文件1有4个序列
In this case, we will leave the default values corresponding to a single chirp profile with profile ID zero.
在本例中,我们将保留对应于单个chrip配置文件(配置文件ID为0)的默认值
Click on Set to set your chirp config.
点击设置你的chrip配置
Once you have set your profile and your chirps, you can go back and view your previously configured profiles and chirps by selecting Manage Profile and Manage Chirps.
一旦您设置了您的配置文件和chrip,您可以通过选择管理概要文件和管理chrip来返回并查看您以前配置的概要文件和chrip
We can now move onto the Frame section.
我们现在可以移动到帧部分
In the Frame section, we can specify which of the chirps will be used in a frame, as well as the total number of frames, the number of chirp loops per frame, and the frame periodicity.
在帧部分,我们可以指定将在一个帧中使用哪个帧,以及帧的总数,每个帧的chrip循环的数量,以及帧的周期
The frame periodicity will also be used to determine the duty cycle.
帧周期也将用来确定占空比
This can vary based on how much time you need in between your frames to do any processing of data.
这取决于在帧之间进行任何数据处理所需的时间
Additionally, we can add a trigger delay and select the trigger for software trigger or hardware trigger.
此外,我们还可以添加触发延迟,选择软件触发或硬件触发
With a hardware trigger, the frame will be triggered by an external source on the digital sync end pin, which is typically used in Cascade applications.
与硬件触发器,帧将触发一个外部源在数字同步端针,这是典型地使用在级联应用
In our case, we will leave the default values and click Set when you are done configuring your frame.
在我们例子中,我们将保留默认值并完成框架配置后点击set
Be sure that you go in the order of profile, followed by chirp, followed by frame.
一定要按照profile,chrip,frame的顺序
Once you’ve finished configuring your chirps and frames, you can save your configuration by selecting the SaveConfig button.
一定你完成了你的chrip和帧的配置,你可以通过选择SaveConfig按钮来保存你的配置
You can load previously saved configs by selecting the Load Configuration button.
你可以通过选择load Configuration按钮来加载以前保存的配置
We will now move on to setting up the DCA1000.
现在,我们将继续设置DCA1000
Make sure you have the DCA1000 tick box selected, and click Set Up DCA1000.
确保选中了DCA1000复选框,然后单机设置DCA1000
When the window pops up, click on Connect, Reset, and Configure.
当弹出的窗口中,点击连接,重置并配置
You should see the FPGA version appear.
您应该会看到出现了FPGA版本
With the DCA1000 connected, we want to ARM the DCA1000 and trigger the frame.
连接了DCA1000后,我们希望ARM DCA1000并触发帧
Click on DCA1000 ARM and press Trigger Frame.
点击DCA1000ARM并且按下触发框
The data will be captured in a binary file, which we will explain later in this video.
数据将被捕获到一个二进文件中,我们将在本视频的后面进行解释
To view the captured data, you can click on the Post PROC tab.
要查看捕获的数据,可与单击Post PROC选项卡
This will create a new binary file that will be saved in the location specified by the dump file path.
这将创建一个新的二进制文件,该文件将保存在存储文件路径指定的位置
With the post processing utility, we can view the time domain plots, 1D-FFT plots, as well as many other additional plots.
使用后处理工具,我们可以查看时域图,1D-FFT图以及许多其他的图
You can configure the plots by selecting the plot type in the dropdown menu for each of the four plots.
您可以通过在下拉菜单中为四个图形中的每个图形选择图形类型来配置图形
Additionally, you can play the frame data back by clicking on the Play button.
此外,您可以通过单击play按钮来回放帧数据
We will now talk about the data capture flow and data format.
我们现在将讨论数据捕获流和数据格式
The data is captured over ethernet in the form of UDP packets.
数据以UDP数据包的形式通过以太网捕获
The files will be split after one gigabyte of data.
这些文件将在1g的数据之后被分割
So, for example, three gigabytes of data will be stored in three files with the names of adc_data_Raw_0, 1, and 2.
例如,3gb的数据将存储在三个文件中,分别名为adc_data_Raw_0、1和2
The format of the captured file is shown and consists of a sequence number, a data length field, a byte count, and the raw mode data.
捕获文件的格式将显示出来,并由序列号、数据长度字段、字节计数和原始模式数据组成
When you click the Post PROC button in mmWave Studio, the ADC data will be parsed by mmWave Studio.
当您在mmWave Studio中点击Post PROC按钮时,ADC数据将被mmWave Studio解析
It is important to note that only the first set of raw data will be picked.
需要注意的是,只选取第一组原始数据
If you have multiple gigabytes of data stored, you will have to develop your own post-processing utility to process the rest of the files.
如果你有多个字节的数据存储,您将不得不开发自己的后处理工具来处理剩下的文件
Due to that ethernet protocol, the data may not be in order, or some packets may be dropped.
由于以太网协议,数据可能不按顺序,或一些数据包可能被丢弃
mmWave Studio will automatically run a packet reorder and zero fill utility to correctly reorder the packets and add zero fill for any dropped packets before storing the data file.
mmWave Studio会自动运行一个包重新排序和零填充实用程序来正确地重新排列包,并在存储数据文件之前为任何丢失地包添加零填充
If you are noticing a large amount of dropped packets, you may want to try increasing the packet delay in the DCA1000 Connection menu.
如果你注意到大量丢失地数据包,你可能想尝试增加DCA1000连接菜单中地数据包延迟
After the headers have been removed and the data is reordered, the raw ADC data will be written to the file you have specified in mmWave Studio.
在头文件被移除并且数据被重新排序之后,原始ADC数据将被写入您在mmWave Studio中指定的文件中
The data will be stored in a 2’s-complement format.
数据将以2补的格式存储
It will be stored in an interleaved format for the 12 and 1443 devices, and a non-interleaved format for the 1642 devices.
他将为12和1443设备以交错格式存储,为1642设备以非交错格式存储
For detailed information on how the data is organized, I recommend taking a look at the ADC raw data capture app note.
关于数据是如何组织的详细信息,我建议查看ADC原始数据捕获应用程序笔记
In this app note, there is a lot of detail on the DCA1000 data format.
在这个应用程序中,有很多关于DCA1000数据格式的细节
For example, it defines how the data is stored in the file from the start to the end of the file for real data and complex data with the 1443, 1243, and 1642 devices.
例如,它定义了数据如何从文件的开始到文件的结尾存储在文件中,用于1443、1243和1642设备的真实数据和复杂数据
Additionally, there is a section with Matlab code provided that helps with how to interpret the data that is stored.
此外,还有一节提供了Matlab代码,帮助您解释存储的数据
This Matlab code is going to read the binary file and organize the data into an array based on receivers.
这段Matlab代码将读取二进制文件,并根据接收器将数据组织成数组
Each receiver is going to correspond to a given row.
每个接收器对应于给定的行
So row one will contain all of receiver one data, row two will contain all of receiver two data, and so on.
第一行包含所有接收者1的数据,第二行包含所有接收者2的数据,以此类推
This allows for a starting point for developing your own post-processing utilities without having to worry about how to interpret the binary file.
这为开发自己的后处理实用程序提供了一个起点,而不必担心如何解释二进制文件
It is important to note that this code has only been designed to be used after the packet reorder and zero fill utility has been run.
需要注意的是,此代码仅设计为运行包重新排序和零填充实用程序之后使用
This concludes our presentation on data capture using the DCA1000 data capture card.
关于如何使用DCA1000数据捕获卡进行数据捕获的介绍到此结束
For more information, please go to ti.com or ask us a question on our E2E forums.
更多的信息,请访问ti.com或在我们的E2E论坛上提问

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值