E3XX接收器
接收数据USRPE3XX无线电硬件
- 图书馆:
Communications Toolbox Support Package for USRP Embedded Series Radio / E3xx
Description
E3XX接收器块从USRP™E3XX无线电硬件接收数据。
这block supports these radio hardware devices:
USRPE310
USRPE312
您可以使用E3XX接收器块来模拟和开发各种软件定义的无线电(SDR)应用程序。该图显示了Simulink中传输和接收无线电信号的概念概述金宝app®使用通信工具箱™支持包金宝appfor USRP Embedded Series Radio. Simulink interacts with the E3xx Receiver block to receive signals from the radio hardware.
Ports
Input
中心频率
- 外部RF中心频率
非负有限标量
外部RF中心频率,指定为非负有有限标量。有效的中心频率范围从70 MHz到6 GHz。
依赖性
To enable this port, set the中心频率参数为Input port
。
Data Types:double
gain
- 外部收益
数字标量|1 by-2数字向量
External gain, specified as a numeric scalar or a 1-by-2 numeric vector. The valid gain range is from –10 dB to 73 dB and depends on the center frequency. An incompatible gain and center frequency combination returns an error from the radio hardware. For the acceptable minimum and maximum gain values per center frequency, check the manufacturer's specification.
根据频道映射参数配置。
For a single channel, specify the gain as a scalar.
对于使用相同增益值的两个通道,将增益指定为标量。该块通过标量扩展应用增益。
对于使用不同增益值的两个通道,将增益指定为1 x-2矢量。这一世向量的元素应用于一世由频道映射范围。
依赖性
To enable this port, set the收益来源参数为Input port
。
Data Types:double
输出
data
— Output signal
complex matrix
从无线电硬件收到的输出信号,作为复杂矩阵返回。矩阵中的列数取决于使用的通道数,如频道映射范围。Each column corresponds to a channel of complex data received on one channel.
此端口支持这些数据类金宝app型的复杂值:
16位签名的整数 - 复杂的值是板上的原始16位I和Q样品。AD9361 RF芯片的ADC的12位值将扩展到16位。
单精度浮点 - 将复杂值缩放到[–1,1]的范围。该块从董事会收到的签名扩展的16位得出该值。
双精度浮点 - 将复杂值缩放到[–1,1]的范围。该块从董事会收到的签名扩展的16位得出该值。
要指定数据类型,请使用输出data type范围。
要符合数据接收,请使用数据有效port. The first valid data frame can contain transient values, resulting in packets containing undefined data.
Data Types:一世nt16
|单身的
|double
复杂的数字支持:金宝appYes
数据有效
- 有效的数据指示器
1
|0
有效的数据指标,作为以下值之一返回:
1
表明该块已从无线电硬件接收到数据。0
表示该块尚未从无线电硬件中收到数据。
依赖性
为了启用此端口,先进的tab, updateData timeout (sec)以外的其他值Inf
。
Data Types:Boolean
overflow
- 数据不连续标志
1
|0
数据不连续标志,作为以下值之一返回:
1
一世ndicates the presence of overflow resulting in noncontiguous data.0
表示没有溢出。
您可以将此端口用作诊断工具来确定E3XX接收器块的实时操作。如果您的模型不是实时运行的,请增加框架大小以实现或实现实时性能。另外,您可以降低基带采样率。
依赖性
为了启用此端口,主要的选项卡,选择启用溢出指示器的输出端口范围。
Data Types:Boolean
参数
E3XX接收器块最多支持两个通道,以从E3XX无金宝app线电硬件接收数据。使用频道映射参数为一世ndicate whether to use a single channel or two channels. For each channel in the output signal,data,,,,you can set the增益(DB)参数独立,或者您可以将相同的设置应用于所有通道。所有其他参数值都应用于使用的每个通道。
To check connectivity between the block and the radio hardware, and to synchronize radio settings between them, on the主要的选项卡,单击信息。
设置块参数值时,E3XX接收器块首先检查值是否具有正确的数据类型。如果值通过这些检查,则无线电硬件的值仍然可以超出范围。在这种情况下,无线电硬件将实际值设置为尽可能接近指定值的实际值。下一个下一步将块与无线电硬件同步时信息,一个对话框显示实际值。
如果将参数列为可调,则可以在模拟过程中更改其值。
主要的Tab无线电IP地址
- 无线电硬件的IP地址
192.168.3.2
(默认)|点缀的表达
无线电硬件的IP地址,指定为虚量表。
This parameter must match the physical IP address of the radio hardware assigned during hardware setup. For more information, seeGuided Host-Radio Hardware Setup。If you configure the radio hardware with an IP address other than the default, update无线电IP地址因此。
中心频率
- 中心频率来源
对话
(默认)|Input port
中心频率的来源,指定为以下选项之一:
对话
- 通过使用中心频率(Hz)范围。Input port
- 通过使用中心频率输入端口。
中心频率(Hz)
— RF center frequency in Hz
2.4e9
(默认)|非负标量
RF center frequency in Hz, specified as a nonnegative scalar. The valid range for center frequency is 70 MHz to 6 GHz.
可调:Yes
依赖性
要启用此参数,请设置中心频率参数为对话
。
Data Types:double
收益来源
- 选择收益来源
AGC缓慢攻击
(默认)|AGC Fast Attack
|对话
|Input port
AGC缓慢攻击
- 对于功率水平缓慢变化的信号。AGC Fast Attack
— For signals with rapidly changing power levels.对话
- 通过使用增益(DB)范围。Input port
- 通过使用gain输入端口。
增益(DB)
— Gain
10
(默认)|数字标量|1 by-2数字向量
在DB中获得的增益,指定为数字标量或1 by-2数字向量。有效增益范围从–10 dB到73 dB,取决于中心频率。不兼容的增益和中心频率组合返回无线电硬件的错误。对于每个中心频率可接受的最小值和最大增益值,请检查制造商的规范。
根据频道映射参数配置。
For a single channel, specify the gain as a scalar.
对于使用相同增益值的两个通道,将增益指定为标量。该块通过标量扩展应用增益。
对于使用不同增益值的两个通道,将增益指定为1 x-2矢量。这一世向量的元素应用于一世由频道映射范围。
可调:Yes
依赖性
要启用此参数,请设置收益来源参数为对话
。
Data Types:double
Channel Mapping
— Channel output mapping
1
(默认)|2
|[1 2]
Channel output mapping, specified as a scalar or a 1-by-2 vector:
1
- 仅使用频道1。2
- 仅使用频道2。[1 2]
- 两个渠道都在使用。
基带样品率(Hz)
— Baseband sampling rate in Hz
1E6
(默认)|positive scalar
Baseband sampling rate in Hz, specified as a positive scalar. The valid range of this parameter is 520.834 kHz to 30.72 MHz.
笔记
To synchronize the block with the radio hardware, on the菜单选项卡,单击信息。如果指定的速率和实际费率不匹配很小,请验证计算率是否接近您实际想要的值。
Data Types:double
输出data type
- 数据端口上的复杂数据类型
一世nt16
(默认)|单身的
|double
选择输出数据类型,作为以下选项之一:
一世nt16
— Integer values are the raw 16-bit I and Q samples from the board. The 12-bit value from the ADC of the AD9361 RF chip is sign-extended to 16 bits.单身的
— Single-precision floating point values are scaled to the range of [–1, 1]. The block derives this value from the sign-extended 16 bits received from the board.double
— Double-precision floating point values are scaled to the range of [–1, 1]. The block derives this value from the sign-extended 16 bits received from the board.
Samples per frame
- 每帧样本数量
20000
(默认)|正整数
number of samples per frame, specified as a positive integer. In single-channel mode, the number of samples per frame must be even. When streaming to the host, using large frame sizes can give more efficient performance. To determine real-time operation of the object, use theoverflowoutput port.
启用溢出指示器的输出端口
— Enable overflow control signal
在
(默认)|离开
选择此参数以启用overflow在主机里迪奥硬件数据传输期间输出端口。
启用爆发模式
- 启用爆发模式
离开
(默认)|在
当您选择此参数时,块会产生一组连续的帧。此设置可以帮助模拟无法实时运行的模型。启用爆发模式时,请使用Frames in burst范围。有关如何使用此参数的更多信息,请参见Burst Mode。
Frames in burst
- 连续爆发中的帧数
1
(默认)|正整数
连续突发中的帧数,指定为正整数。
依赖性
To enable this parameter, select the启用爆发模式范围。
Data Types:double
使用自定义过滤器
- 启用自定义过滤器
离开
(默认)|在
选择此参数时,过滤器链使用自定义过滤器设计而不是默认过滤器设计。例如,如果默认过滤器的增益或带宽特性无法满足应用程序的要求,则可以设计满足特定要求的自定义过滤器。如果E3XX接收器块尚未应用自定义过滤器设计,请单击Launch filter wizard打开ADI过滤器向导。向导使您可以为模拟设备设计自定义过滤器®AD9361 RF chip based on the基带样品率(Hz)范围。You can adjust and optimize the settings for calculating the analog filters, interpolation and decimation filters, and FIR coefficients. When you finish with the wizard, to apply the custom filter design to the block, click申请在the block mask.
笔记
使用ADI滤波器向导将自定义过滤器应用于E3XX接收器块时,使用自定义过滤器自动选择。要在默认和自定义过滤器设计之间切换,请清除或选择使用自定义过滤器,,,,respectively. Then click申请在the block mask.
有关更多信息,请参阅基带采样率和过滤链。
绕过用户逻辑
- 启用绕过用户逻辑
离开
(默认)|在
选择此参数以启用radio hardware data path to bypass the algorithm generated and programmed during FPGA targeting or hardware-software co-design. For more information, seeFPGA定位工作流程和硬件软件共同设计Workflow。
启用正交校正
- 正交校正
在
(默认)|离开
当您选择此参数时,该块将应用相间和正交(IQ)不平衡补偿。
启用RF DC校正
- RF DC校正
在
(默认)|离开
When you select this parameter, the block applies an RF direct current (DC) blocking filter.
Enable baseband DC correction
- 基带DC校正
在
(默认)|离开
当您选择此参数时,该块将应用一个基带DC阻止过滤器。
覆盖自动样品时间
- 更改块的样本时间
离开
(默认)|在
When you select this parameter, you can change the sample time of the block, by using the采样时间范围。有关更多信息,请参阅SDR Receiver Sample Times。
采样时间
- 块的样本时间
0.02
(默认)|positive scalar
块的样品时间,指定为正标量。默认值对应于Samples per frame除以基带样品率(Hz)。Consider changing the default value only when deploying a hardware-software co-design implementation.
依赖性
To enable this parameter, select the覆盖自动样品时间范围。
Data timeout (sec)
— Timeout for I/O operations in seconds
Inf
(默认)|非负标量
I/O操作以几秒钟为单位的超时,指定为以下选项之一:
Inf
- 块无限期地等待完成I/O操作。n在negative scalar,n- 街区等待nseconds to complete I/O operations. Zero seconds corresponds to a non-blocking setup.
Data Types:double
Loopback
- 内置的自我测试(BIST)回环模式
禁用
(默认)|数字TX->数字RX
|RF RX-> RF TX
内置的自我测试回环模式,指定为以下选项之一:
禁用
- 禁用BIST环。数字TX->数字RX
— Enable digital signals to loop back within the device. The signals bypass the RF stage.RF RX-> RF TX
— Enable incoming receiver RF signals to loop back to the RF transmitter port. The signals bypass the FPGA.
Test signal injection
— BIST signal injection mode
禁用
(默认)|音调注入TX
|语气Inject Rx
BIST信号注入模式,指定为以下值之一:
禁用
- 禁用BIST信号注入。音调注入TX
— Enable BIST signal injection to transmit path.语气Inject Rx
- 使BIST信号注入能够接收路径。
When you enable BIST signal injection, you can set the source of BIST signal generation with the信号发生器模式范围。
信号发生器模式
— Source of BIST signal generation
PRBS
(默认)|语气
Source of BIST signal generation, specified as one of these options:
PRBS
- 使用板的伪随机二进制序列(PRB)发电机。语气
- 使用板的音调生成器。要设置音调频率和音调,请使用音频频率(Hz)和音水平(DB)参数分别。
依赖性
要启用此参数,请设置Test signal injection参数为音调注入TX
或者语气Inject Rx
。
音频频率(Hz)
- 剑语频率
Fs/32
(默认)|FS/16
|FS*3/32
|Fs/8
Bist音频频率,指定为Fs/32
,,,,FS/16
,,,,FS*3/32
, 或者Fs/8
。
依赖性
要启用此参数,请设置信号发生器模式参数为语气
。
音水平(DB)
— BIST tone level
0
(默认)|-6
|-12
|-18
Bist语调级别,指定为0
,,,,-6
,,,,-12
, 或者-18
。
依赖性
要启用此参数,请设置信号发生器模式参数为语气
。
版本历史记录
MATLAB Command
您单击了与此MATLAB命令相对应的链接:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
您还可以从以下列表中选择一个网站:
如何获得最佳网站性能
选择中国网站(中文或英语)以获得最佳场地性能。其他Mathworks乡村网站未针对您所在的访问进行优化。
美洲
- América Latina(Español)
- 加拿大(English)
- 美国(English)