Hello, everyone, and welcome to the video training on the radar programming model.
大家好,欢迎参加雷达编程模块的视频培训
The training is intended for the software system and test engineers who are working on mmWave radar.
本培训面向使用毫米波雷达的软件系统和测试工程师
Here, I believe that you have the basic understanding of the FMCW radar, and if not, I would strongly recommend that you go over the training materials on the FMCW.
在此,我相信大家已经基本了解了FMCW雷达,如果还不了解,我强烈建议大家重温有关FMCW的培训材料
So let’s start.
那么,我们开始吧
The goal of this training is to understand how to program TI mmWave wave devices.
本培训的目的是了解如何对TI的毫米波器件进行编程
And this training will focus mainly on the mmWave wave front end or the radar section.
本次培训主要重点介绍毫米波前端或雷达部分
We’ll touch upon the basics of the FMCW signal, and we’ll see how using the software framework, which we call mmWaveLink, we can program the front end.
我们将介绍FMCW信 的基本知识,并了解如何使用软件框架,我们称之为mmWaveLink,我们可以对前端进行编程。
This is the high-level block diagram of TI mmWave SDK.
这是TI毫米波SDK的高级方框图
In this training, we’ll focus on two key blocks.
在本次培训中,我们将重点介绍两个主要块
MmWave front end– this is what we intend to program.
mmWave前端:这是我们进行编程的部分
And how we program is using the mmWaveLink framework.
编程将使用mmWaveLink框架来完成
MmWave front end is a closed system which controls the RF and the analog hardware block in the mmWave devices and is also responsible for the mmWave radar operations.
mmWave前端是一个封装系统,它控制毫米波器件中的射频和模拟硬件块,还负责毫米波雷达的运行
All its antenna blocks and operations can be configured using the messages coming over the main box.
可以使用通过邮箱传入的消息来配置其所有天线块和运行
The mmWaveLink framework provides APIs which generate these messages and also handles the communication with the mmWave front end.
mmWaveLink框架提供生成这些消息的API,同时还处理与毫米波前端的通信
So you can view mmWaveLink as a driver for the mmWave front end.
所以,您可以将mmWaveLink视为毫米波前端的驱动程序
And as the name suggests, it’s a link between the application and the mmWave front end.
顾名思义,它是应用程序和毫米波前端之间的链路
It runs on the Cortex R4F or the DSP and provides the low-level APIs to control the mmWave front end.
它在Cortex R4F或DSP上运行并提供用于控制毫米波前端的低级API
mmWaveLink framework– it’s platform independent and OS agnostic, which basically means that it can be ported to any external microcontroller which provides a basic communication interface, such as SBI, and basic OS routines, though the framework is also capable of running in a single threaded environment, as well.
mmWaveLink框架:它独立于平台,并且操作系统是不可知的,这基本上意味着它可以移植到提供诸如SBI等基本通信接口和基本操作系统例程的任何外部控制器上,但此框架也能够在单一线程的环境中运行
To summarize, the mmWave front end is common across all TI mmWave devices and so is the mmWaveLink framework.
总之,毫米波前端在所有TI毫米波器件之间是通用的,mmWaveLink框架也是如此
This is the snapshot of some of the APIs in the mmWaveLink framework which we’ll go over in this trading today.
这是mmWaveLink框架中的一些API的快照,在今天的活动中,我们将详细介绍这些API
Broadly, there are two sets of APIs– Device Manager APIs, which allow the application to control the mmWave front end, does the basic initialization and the handshake with the front end.
概括地说,有两组API,设备管理API,这些API允许应用程序控制毫米波雷达前端、执行基本初始化和与前端握手
The Sensor Control APIs allow the application to mmWave front end as per their use case.
传感器控制API允许应用程序按照其用例控制毫米波前端
Before going into the Sensor Control APIs, let’s first understand some of the key blocks within the mmWave front end which we intend to program.
在详细介绍传感器控制API之前,我们首先了解一下毫米波前端中我们要进行编程地一些主要块
At the very high level, the mmWave front end has these core blocks.
在非常高地级别,毫米波前端有这些核心块
The first one is the chirp sequencer or the radar timing engine.
第一个块是线性调频脉冲序列发生器或雷达计时引擎
This block is responsible for the construction of the FMCW chirps on a frame and controls the VCO to generate these signals.
这个块负责在帧上构建FMCW线性调频脉冲,并控制VCO以生成这些信
The Rx and the Tx channel define how many receiver and how many transmit channels needs to be enabled.
Rx和Tx通道定义需要启用多少个接收通道和多少个发射通道
It also defines how multiples of the mmWave front end can be cascaded together for an imaging radar.
它还定义可以为成像雷达将多少重毫米波前端级联在一起
Rx analog chain defines how the received signal is mixed with the transmit signal and how different LNAs and different filters can be programmed.
Rx模拟链定义接收信 与发射信 如何混合记忆如何对不同的LNA和不同的滤波器进行编程
And finally, the ADC and digital front end defines how the IF data is sampled for further processing in the DSP or in the hardware accelerator.
最后,ADC和数据前端定义如何采集IF数据的样本以便在DSP或硬件加速器中进一步处理
The same ADC data can be sent to an external processor over a high speed interface such as the LVDS or CSI2.
相同的ADC数据可以通过LVDS或CSI2等高速接口发送到外部处理器
For a moment, let’s go back to the basics of the FMCW.
稍等片刻,让我们回头看一下FMCW的基本知识。
The FMCW stands for the frequency modulated continuous wave.
FMCW表示频率调制连续波
At a very unique level, the FMCW signal can be viewed as a frequency ramp, or we call it a chirp.
在一个非常独特的级别,可以将FMCW信 视为频率斜升,或者我们称其为线性调频脉冲
A chirp is a signal which starts at a certain frequency and whose frequency increases over time.
线性调频脉冲是以特定频率开始,并且其频率随着时间而提高的信
The first diagram that you see here, where the x-axis is the time and y-axis is the amplitude, it’s a sine wave whose frequency increases over time.
您在此处看到的第一张图中,x轴是时间,y轴是幅度,它是一个正弦波,频率随着时间而提高
And the same ramp is shown in the second diagram, where the x-axis is, again, time, but the y-axis is the frequency.
第二张图中显示了同样的斜升,其x轴同样是时间,但y轴是频率
And as you see, these chirps start at a certain frequency– and whose frequency increases over time.
正如您看到的那样,这些线性调频脉冲以特定的斜率开始,并且其频率随着时间而提高
The rate of change of the frequency is called the frequency slope or the ramp slope.
频率的变化率称为频率斜率或斜坡斜率
Let’s also see the other key aspects of the FMCW chirp.
让我们也看一下FMCW线性调频脉冲的其他主要特点
The ramp time defines the time between the ramp start to the ramp end.
斜坡时间定义斜坡开始到斜坡结束之间的时间
And along with the frequency slope, it basically defines what is the chirp bandwidth.
连同频率斜率一起,它基本上定义线性调频脉冲带宽
Chirp bandwidth is the multiplication of the ramp time and the frequency slope.
线性调频脉冲带宽是斜坡时间和斜率的乘积
The other key parameter is the idle time, which defines the time between the two consecutive chirps.
另一个关键参数是空闲时间,它定义两个线性调频脉冲之间的时间
So the ramp start to the ramp end is the ramp time.
因此斜坡开始到斜坡结束就是斜坡时间
And the ramp end to the start of the next ramp is the idle time.
斜坡结束到下一个斜坡的开始时间就是空闲时间
ADC valid time and the ADC sampling time defines at what point of time in the chirps you want to sample the data to be processed by the DSP or the hardware accelerator.
ADC有效时间和ADC采样时间定义您要在线性调频脉冲中的什么时间点采集要由DSP或硬件加速器进行处理的数据样本
And similarly, the Tx start time defines at what point of time you want to start your transmitters.
同样,Tx开始时间定义您要在什么时间点启动您的发送器
Now let’s see how these chirp characteristics impact key parameters such as the range resolution, the IF bandwidth, and the maximum range of the objects.
现在,让我们看一看这些线性调频脉冲特性如何影响关键参数,例如距离分辨率、IF带宽和物体的最大距离
So as you remember, the range resolution is equal to c by 2B, where B is the bandwidth of the chirp.
正如您所记住的那样,距离分辨率等于c乘以2B,其中B线性调频脉冲的带宽
So for a bandwidth of 4 gigahertz, you will get a resolution of about 4 centimeters, wherein the IF bandwidth depends on chirp slope and maximum range.
因此,对于4GHz的带宽,分辨率大约为4厘米,最大距离dmax与斜率成反比
So for a given IF bandwidth, the maximum range, dmax, is inversely proportional to slope.
因此,对于给定的IF带宽,最大距离dmax与斜率成反比
Let’s understand this with the help of an example.
让我们借助一个示例来了解这一点
Let’s define two chirps, A1 and A2.
假设定义两个线性调频脉冲A1和A2
Both start at the same frequency– 77 gigahertz.
两者都已相同的频率77GHz开始
The chirp A1 has a slope of 68 megahertz per microsecond.
线性调频脉冲A1的斜率为每秒68MHz
And at a ramp time of about 58 microseconds, you get a bandwidth of about 4 gigahertz, which basically means that the A1 will give you a range resolution of about 4 centimeters, whereas the A2 has the same ramp time, but the slope is half of A1, which means that the A2 has a bandwidth of 2 gigahertz.
在大约58微秒的斜坡时间,您得到大约4GHz的带宽,这基本上意味着A1将会为您提供大约4里面的距离分辨率,而A2具有相同的斜坡时间,但斜率为A1的一半,这意味着A2的带宽为2GHz
So you will get a range resolution of about 8 centimeters.
因此,您将大约得到8cm的距离分辨率
But for a given IF bandwidth, since the A2 has half the slope of A1, the dmax, or the maximum range of the objects that you will see with A2, will be twice that of the A1.
但对于给定的IF带宽,由于A2的斜率是A1的一半,因此对A2来说,物体的dmax或最大距离将是A1的两倍
Having understood the basics of FMCW chirps, now let’s understand how a larger FMCW signal, which we call FMCW frame, can be constructed using these chirps.
了解了FMCW线性调频脉冲的基本知识后,现在让我们了解一下如何使用这些调频脉冲构建更大的FMCW信 ,我们将其称为FMCW帧
An FMCW frame is, essentially, a sequence of chirps and how this sequence is repeated over time.
FMCW帧本质上是一系列线性调频脉冲以及此序列随时间的重复方式
Here are a few examples of FMCW frame.
下面是FMCW帧的几个示例
In the first frame, we have only one chirp that is repeated several times to create a larger FMCW frame, whereas in the second frame, we define two chirps, maybe with a different slope, and those are repeated multiple times to create a larger frame.
在第一个帧中,只有一个线性调频脉冲,该线性调频脉冲重复了若干次,形成了一个更大的FMCW帧,而在第二个帧中,我们定义了两个线性调频脉冲,它们可能具有不同斜率,并且重复了很多次,形成了一个更大的帧
Similarly, you can define up to 512 unique chirps and then sequence them together to create an FMCW frame.
同样,您可以定义多达512个独特的线性调频脉冲,然后将其序列化在一起以形成一个FMCW帧
Once the frame is constructed, we need to define how this sequence is repeated.
构建了该帧后,我们需要定义此序列的重复方式
So you define the frame periodicity and the number of frames that needs to be transmitted.
因此您定义了帧周期和需要传输的帧数
Now let’s understand how this frame periodicity and the sequence impacts the velocity resolution.
现在让我们了解一下这个帧周期和序列如何影响速度分辨率
So as you remember, the velocity resolution is equal to lambda by 2Tf.
正如您所记住的那样,速度分辨率等于lambda除以2Tf
So the velocity resolution can be improved by increasing the frame time.
因此可以通过提高帧时间来改善速度分辨率
Typically, a frame time of 5 milliseconds will give you a velocity resolution of 1.5 kilometers per hour.
通常,5ms的帧时间将会得到每小时1.5公里的速度分辨率
And this can be improved by increasing the frame time.
并且可以通过提高帧时间来改善此结果
But increasing the frame time could also mean increasing the number of chirps, which will mean more processing and eventually more power consumption, so that needs to be taken into account.
但提高帧时间可能也意味着提高线性调频脉冲数,因而需要进行更多处理,最终导致功耗增加,因此需要考虑这一点
To summarize– FMCW frame and chirps are essential for the FMCW radar operations, and how this needs to be defined depends primarily on the end application use case, such as what are the key targets for the range resolution, the maximum range, velocity resolution, and other key parameters.
总之,FMCW帧和线性调频脉冲对于FMCW雷达的运行至关重要,需要如何定义它们主要取决于最终应用的用例,例如,距离分辨率,最大距离,速度分辨率和其他关键参数的主要目标是什么。
Now let’s understand how a chirp is constructed within the mmWave front end device.
现在,让我了解一下如何在毫米波雷达前端器件中构建线性调频脉冲
Before that, let’s introduce another term which we call the chirp profile.
在此之前,让我们介绍另一个术语,我们称之为线性调频脉冲配置文件
A profile is, essentially, a template which contains the course information about the chirp.
配置文件本质上是一个模板,它包含有关线性调频脉冲的过程信息
So a profile contains parameters such as the start frequency, the slope of the chirp, the idle time, the ADC start time, and so on.
因此,配置文件包含诸如开始频率、线性调频脉冲斜率、空闲时间、ADC开始开始时间等参数
You can define up to four such profiles.
您可以定义多达四个这样的配置文件
Once the profile is defined, you need to define a unique chirp.
定义了配置文件后,您需要定义一个独特的线性调频脉冲
To define a chirp, you first associate that chirp with a particular profile, which means that that chirp will inherit all the information that is contained in the profile.
要定义线性调频脉冲,您首先要将该线性调频脉冲与特定的配置文件相关联,这就意味着该线性调频脉冲将会继承该配置文件中包含的所有信息
On top of the course information from the profile, you can add a small detail to some of these parameters, such as the start frequency, the slope, the ADC start time, and the idle time, which means that you can further fine tune the information which is contained in the profile.
在配置文件中的过程信息之上,您可以为其中的一些参数添加小细节,例如开始频率,斜率,ADC开始时间和空闲时间,这意味着您可以进一步微调配置文件中的包含的信息
Also, you can define for each chirp which transmit channel is to be used, and for each of these transmit channels, what is the phase modulation.
您还可以为每个线性调频脉冲定义使用哪个发射通道,并为其中的每个发射通道定义采用何种相位调制
To summarize, to define a chirp, you first define a profile, which contains the course information.
总之,要定义线性调频脉冲,您首先要定义包含过程信息的配置文件
And then you define a chirp by associating it with a particular profile, and then you can further fine tune these parameters.
然后通过将线性调频脉冲与特定配置文件相关联来定义线性调频脉冲,并可以进一步微调这些参数
The mmWave front end and the APIs allow you to program the chirps and the profile up front so that you can program the FMCW frame.
通过毫米波前端和API,您可以预先对线性调频脉冲和配置文件进行编程,以便可以对FMCW帧进行编程
Let’s now take an example and understand how, using the mmWaveLink framework, a particular chirp can be constructed and programmed in the mmWave front end.
现在让我们通过一个示例来了解如何在毫米波前端中使用mmWaveLink框架构建特定的线性调频脉冲并对其进行编程
In this example, we have a chirp which starts at a frequency of 77 gigahertz with a ramp time of 58 microseconds, a slope of 68 megahertz per microsecond, and there are other key parameters.
在本示例中,我们有一个线性调频脉冲,其开始频率为77GHz,斜坡时间为58秒,斜率为每微秒68MH在,并且还有其他关键参数
So to define a chirp, first we need to define a profile, as we discussed.
因此,要定义一个线性调频脉冲,我们首先需要像前面讨论那样定义一个剖面
So this is the snapshot of a c structure within the mmWaveLink framework.
那么,这是mmWaveLink框架内c结构的快照
So we first define a profile with a profile ID as 0, and then we fill the other key parameters that we discussed earlier.
我们首先定义一个配置文件ID为0的配置文件,然后填充我们前面讨论的其他关键参数
So we define the start frequency, idle time, ADC start time, and the ramp time.
我们定义开始频率、空闲时间、ADC开始时间和斜坡时间
For example, the idle time has a resolution of 10 nanoseconds, so to program idle time of 7 microseconds, we need to program this value as 700.
例如,空闲时间的分辨率为10纳秒,因此,要空闲时间编程为7微秒,我们需要将此值编程为700
Similarly, we can program the other key parameters.
同样我们可以对其他关键参数进行编程
Let’s also see what are the other key parameters in the profile structure.
让我们也看一下配置文件结构中还有其他哪些关键参数
Tx Output Power Backoff allows you to program whether you want to transmit at full power.
Tx输出功率退让可以让您确定是否要以全功率进行反射
Or you can allow some backoff from the maximum power.
或者您可以在最大功率的基础上实施一些退让
The HPF Corner Frequency allows you to program what is the cutoff frequency for the high-pass filter so that you can filter out reflections from a closer object, such as the packaging around the device.
HFP转角频率可以让您确定高通滤波器的截止频率,以便可以消除较近的物体产生的反射,例如器件周围包装产生的反射
The Rx Gain allows you to configure what is the overall gain in the Rx analog chain.
Rx增益允许您配置R下、模拟链中的总增益
Once all these parameters are defined using the profile structure, you need to pass that structure using the mmWaveLink API.
使用配置文件结构定义了这些参数数后,您需要使用mmWaveLink API传递该结构
In this case, the API is rlSetProfileConfig, and you pass this profile structure in that API.
在本例中,API是rlSetProfileConfig,您在该API中传递这个剖面结构
Once you call this API, the mmWaveLink framework will construct a message, and it will send it to the mmWave front end to program the profile.
调用这个API后,mmWaveLink框架将会构造一条消息,并将其发送到毫米波前端以对配置文件进行编程
Now let’s program two chirps using the mmWaveLink framework.
现在,让我们使用mmWaveLink框架对这两个线性调频脉冲进行编程
This is the c structure in the mmWaveLink framework, which contains the chirp information.
这是mmWaveLink框架中的c结构,其中包含线性调频脉冲信息
To define a chirp, we need to define the start and the end index.
要定义一个线性调频脉冲,我们需要定义开始和结束索引
In this example, it is 0, which means that we intend to program only one chirp.
在本例中,它为0,表示我们只对一个线性调频脉冲进行编程
And as we discussed, we need to associate that chirp with a particular profile, so we associate with the profile 0, which we just programed using the ProfileConfig API.
正如我们讨论过的,我们需要将该线性调频脉冲与特定的配置文件相关联,因此我们与刚才使用的ProfileConfig API进行编程的配置文件0关联
Then we can add a small detail to the key parameters.
然后,我们可以为关键参数添加小细节
And finally, we need to configure on which transmit channel the chirp needs to be transmitted.
最后,我们需要配置将在哪个发射通道上传输该线性调频脉冲
So in this example, we transmit on the Tx 0, so we program this value as 1.
那么在本示例中,我们在Tx0上进行传输,因此为我们将该值编程为1
Similarly, we define the second chirp with the start and the end index as 1.
同样,我们定义第二个线性调频脉冲,将其开始索引和结束索引定义为1
And instead of transmitting on Tx 0, we transmit the chirp to Tx 2.
我们将该线性调频脉冲传输到Tx2,而不是在Tx0传输
So we program the Tx enabled as 4.
因此我们将Tx启用为4
Once the chirp is defined, we need to call the API, the rlSetChirpConfig, which will send the message to the mmWave front end to configure these two chirps.
定义了线性调频脉冲后,我们需要调用API,即rlSetChirpConfig,它会向毫米波前端发送消息以便配置这两个线性调频脉冲
Now let’s construct an FMCW frame using these two chirps.
现在让我们使用这两个线性调频脉冲构建一个FMCW帧
This is the c structures which contain the frame configuration.
这是包含帧配置的c结构
In this example, we first include the two chirps that we defined using the ChirpConfiguration API– so the chirp 0 and the chirp 1.
在此示例中,我们首先包括两个我们用ChirpConfiguration API定义的线性调频脉冲,即线性调频脉冲0和线性调频脉冲1
And then we repeat them 32 times to create a frame.
然后我们将其重复32次以形成一个帧
And as we discussed, we need to define how the frame needs to be repeated over time.
正如我们讨论的,我们需要定义该帧随时间的重复方式
So we define the frame periodicity and the number of frames.
因此我们定义了帧周期和帧数
You can set it to 0 if you want to transmit the frame infinitely.
如果您要无限地传输该帧,可以将设置为0
The triggerSelect parameters allow you to program what is the trigger type for the transmission.
通过对triggerSelect参数,您可以对传输地触发器类型进行编程
So it could be a software-based triggering using the API, or you can also allow the transmission of frame using a hardware signal, which we call a the SYNC_IN.
那么,它可以是使用API地基于软件的触发,或者您也可以使用硬件信 进行帧传输,我们称之为SYNC_IN
The frame trigger delay allows you to program what is the delay between the hardware signal and the actual transmission of the chirps.
通过帧触发延迟,您可以对硬件信 和实际传输线性调频买成之间的延迟进行编程
Once you have filled all the parameters, you need to call the API rlSetFrameConfig, which will configure the frame in the mmWave front end.
填充了所有参数之后,您需要调用API rlSetFrameConfig,它将会在毫米波前端中配置该帧
Now let’s understand how to program the other key blocks in the mmWave front end.
现在让我们了解一下如何在毫米波前端中对其他关键块进行编程
Let’s start with the channel configuration.
我们首先从通道配置开始
Using channel configuration, we can configure how many receivers and the transmit channel that needs to be enabled in the mmWave front end.
使用通道配置,我们可以配置需要在毫米波前端中启用多少个接收器和发射通道
For example, in 1243 and 1443, you can configure up to four receiver channels and three transmit channels, whereas in 1642, you can enable up to 4 receiver channels and 2 transmit channels.
例如,在1243和1443中,您可以配置多达4个接收通道和3个发射通道,而在1642中,您可以启用多达4个接收通道和2个发射通道
And as we know, the mmWave front end can be cascaded to create a large antenna array for the imaging radar.
我们知道,毫米波前端可以进行级联,为成像雷达形成大的天线阵列
So you can configure whether the front end is a multi chirp master or if it’s a slave.
因此,您可以配置前端是多线性调频脉冲主器件还是从属器件
In the cascading configuration, one of the devices is usually a master, which generates the LO signal, and the other’s a slave, which is receiving the high frequency LO signal for the frame transmission.
在级联配置,其中一个器件是主器件生成LO信 ,而其他器件是从属器件,接收高频LO信 以进行帧传输
So all this can be configured using the channel configuration API.
所有这一切都可以使用配置通道API进行配置
Let’s now configure the ADC and the digital front end using the mmWaveLink API.
现在让我们使用mmWaveLink API配置ADC和数字前端
The ADC configuration allows us to configure the output of the mmWave front end.
通过ADC配置,我们可以配置毫米波前端的输出
So we can configure the size of the ADC samples, such as 12 bits, 14 bits, or 16 bits, and we can also configure what is the format of the output data.
因此,我们可以配置ADC样本的大小,例如12位,14位或16位,并且我们还可以配置输出数据的格式
So we can configure it as a real data or the complex data.
因此,我们可以将其配置为实数数据或复数数据
In case of the complex 1x, the front end filters out the image band, whereas in the case of complex 2x, both the image band and the [n band is sent out.
如果使复数1x,前端会滤除图像频带,而如果是复数2x,则会同时发送图像频带和[内br> Since in the case of the complex 1x, the image band is filtered out, and since the image band contains the interference information, the mmWave front end can also construct this information in the form of a separate packet, which we call the chirp quality, or CQ.
由于在复数1x的情况下图像频率会被滤除,并且由于图像频带包含干扰信息,因此毫米波前端还能够以单独的数据包形式构建此信息,我们将此称为线性调频脉冲质量或CQ
So the front end can be configured to receive the CQ data, as well.
因此,可以将前端配置为也配置为接收CQ数据
With this, we have come to the end of the mmWave front end configuration.
这样我们就完成了毫米波前端的配置
Once all the configuration is done, we can use these two APIs to start and stop the transmission of the FMCW frame.
所有配置都完成以后,我们可以使用这两个API来开始和停止FMCW帧的传输
In case of 1243, the ADC and the other data also needs to be sent out to an external processor for further processing.
如果是1243,则也需要将ADC和其他数据发送到外部处理器以便进一步处理
The diagram here shows different blocks in the data path module.
此处的图显示了数据路径模块中的不同块
As you see, the digital front end generates three types of data.
您可以看到,数字前端生成三种类型的数据
One is the raw ADC data from each of the Rx channels.
一种类型是来自每个Rx通道的原始ADC数据
Along with that, it also generates chirp profile.
与该数据一起,还将生成线性调频脉冲配置文件
Chirp profile contains the information whether the ADC data belongs to which of these configured profiles.
线性调频脉冲配置文件包含有关ADC数据属于所配置的哪个配置文件的信息
It also contains the chirp number, as well.
它还包含线性调频脉冲数
So this can be used by the receiver for the bookkeeping and for the processing of the ADC data.
因此,接收器可以使用此信息对ADC数据进行簿记和处理
And as we discussed, the chirp quality contains the interference, ADC saturation, and other key parameters for the quality of the ADC data.
正如我们讨论过的,线性调频脉冲质量包含适用于ADC数据质量的干扰、ADC饱和以及其他关键的参数
So in this session, we’ll talk about how to configure these data path modules to send the data out to an external processor.
因此在本次课程中,我们将讨论如何配置这些数据路径模块以便将数据发送到外部处理器
So let’s start with the data path configuration.
那么,我们首先讨论数据路径配置
First thing that we need to configure is what is the interface for the data transfer.
我们需要配置的第一个事项是数据传输接口
So the mmWave front end supports two high speed interfaces– the CSI2 or the LVDS.
毫米波前端支持两个高速接口:CSI2或LVDS
Along with this interface selection, we also need to configure what is the type of data that needs to be transmitted out, so whether you want to send only the ADC data, or you also want to send the CP and the CQ data, and in case you want to send all of them, then in what order you want to send the data.
连通这个接口选择一起,我们还需要配置需要需要发送的数据类型,即您要是只发送ADC数据,还是要连同发送CP和CQ数据,如何您想要发送所有这些数据,则您想要以什么顺序发送数据
The front end also allows you to transmit this data in two different packets.
前端还允许您在两个不同的数据包中发送此数据
So you can send packet 0 and packet 1, which contains either the ADC data or the CP_CQ data.
因此,您可以发送数据包0和数据包1,其中包含ADC数据或者CP_CQ数据
So this helps in the [etter management of the ADC and the CP_CQ data in the receiver with less [assing overhead.
因此,这有助于在接收器中[地理ADC和CP_CQ数据并降低[销
For example, in case of CSI2, the packet 0, which contains the ADC data, is sent on a virtual channel 0, whereas the packet 1, which contains the CP and CQ data, can be sent out on the virtual channel 1.
例如,在CSI2的情况下,包含ADC数据的数据包0在虚拟通道0上发送,而包含CP和CQ数据的数据包1可以在虚拟通道1上发送
So this will help in receiving the data on the receiver and [assing it easily.
因此,这将有助于在接收器上接收数据并轻松[据
The next thing that we need to configure is the data rate for the high speed interface.
我们需要配置的下一项内容是高速接口的数据速率
So these are the data rates that are supported by the device for the high speed interface, such as the CSI2 and the LVDS.
那么,这些是器件对高速接口而支持的数据速率,例如CSI2和LVDS
And these are the data rates for per lane.
这些是每个通道的数据速率
When configuring the data rate, we also need to be aware of what is the configuration for the mmWave front end.
在配置数据速率时,我们还需要知道毫米波前端的配置
So based on the number of samples and based on the ramp duration, the front end will generate the data, which will be moved to the ADC buffer, which is a ping pong buffer.
前端将会根据样本数并基于斜坡持续时间生成数据,并将该数据移动到ADC缓冲器,这是一个乒乓缓冲器
While the data from the ping is getting transmitted out, the data rate should be sufficient that before the next chirp, data is received on the ping before the data is completely sent out.
在发送乒缓冲器中的数据时,数据速率应足够高,以便在数据完全发送前,乒缓冲器能够在下一个线性调频脉冲之前收到数据
These are the configurations which were done for the mmWave front end.
这些是为毫米波前端所完成的配置
The same needs to be configured for the data path, as well.
还是要对数据路径完成相同的配置
Along with this configuration, we can also configure whether the I-data and the Q-data needs to be strapped in the case of the complex sample.
除了此配置外,我们还可以配置在复数采样情况下是否需要捆绑I数据和Q数据
Also, we can configure whether we need to transmit the data in the interleaved fashion or in the non-interleaved mode.
此外,我们可以配置是以交错模式还是以非交错模式发送数据
In the case of the interleaved mode, the sample 0 from all the receivers is stored together and sent out, whereas in the case of non-interleaved mode, the samples from 1 receivers are stored together and sent out followed by all the samples from the [ther receiver channel.
在使用交错模式的情况下,来自所有接收器的样本0将存储在一起并发送,而在使用非交错模式的情况下,来自1个接收器的样本存储在一起并发送,随后发送来自[收器通道的所有样本
And finally, we need to configure how many lanes we need to enable to send the data out on this interface.
最后,我们需要配置需要启用多少个通道以便在此接口上发送数据
So we can enable lane 0 and lane 1 or lane 0 and lane 2.
那么,我们可以启用通道0和通道1或通道0和通道2
Or we can enable all the lanes using this API.
我们也可以启用使用此API的所有通道
With this, we have come to the end of the training session on the radar programming model.
这样,我们便完成了关于雷达编程模块的培训课程
To summarize, in order to program a TI mmWave device, we first need to initialize the device and the front end using the Device Manager APIs.
总之,为了对TI毫米波器件编程,我们首先需要使用器件管理器API初始化器件和前端
Then we need to use the Sensor Control APIs to program the mmWave front end and the antenna blocks.
然后,我们需要使用传感器控制API对毫米波前端和天线编程
In case of 1243, since the ADC data needs to be sent out to an external processor, we also need to configure the high speed interface, such as a CSI2 or LVDS.
如果是1243,由于需要将ADC数据发送到外部处理,我们还需要配置高速接口,例如CSI2或LVDS
And once all the configuration is done, we can use the SensorStart API to start the frame.
所有配置都完成后,我们可以使用SensorStart API启动该帧
The source code and the Doxygen document for the mmWaveLink framework is part of the mmWave SDK and gives you in-depth details of each of the APIs that we discussed.
mmWaveLink框架代码和Doxgen文档是mmWave SDK的一部分,深入细致地介绍了我们讨论的每个API
So with this, I hope the training was helpful and gave you enough insights into how to program a TI mmWave device.
对此,我希望这次培训对您有所帮助,并让你深入了解了如何对TI毫米波器件编程
I sincerely thank you for watching this training video.
真诚地感谢您观看本培训视频
Thanks a lot.
谢谢
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!