主要的Content

E3XX接收器

接收数据USRPE3XX无线电硬件

  • 图书馆:
  • Communications Toolbox Support Package for USRP Embedded Series Radio / E3xx

  • E3XX接收器block

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.

For transmitting a radio signal over the air, pass the signal generated in Simulink to a transmitter block. The transmitter block forwards the signal to the radio hardware. For receiving a radio signal over the air, use a receiver block. The receiver block forwards the signal received from the radio hardware for post processing in Simulink.

Ports

Input

expand all

外部RF中心频率,指定为非负有有限标量。有效的中心频率范围从70 MHz到6 GHz。

依赖性

To enable this port, set the中心频率参数为Input port

Data Types:double

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

输出

expand all

从无线电硬件收到的输出信号,作为复杂矩阵返回。矩阵中的列数取决于使用的通道数,如频道映射范围。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表示该块尚未从无线电硬件中收到数据。

依赖性

为了启用此端口,先进的tab, updateData timeout (sec)以外的其他值Inf

Data Types:Boolean

数据不连续标志,作为以下值之一返回:

  • 1一世ndicates the presence of overflow resulting in noncontiguous data.

  • 0表示没有溢出。

您可以将此端口用作诊断工具来确定E3XX接收器块的实时操作。如果您的模型不是实时运行的,请增加框架大小以实现或实现实时性能。另外,您可以降低基带采样率。

依赖性

为了启用此端口,主要的选项卡,选择启用溢出指​​示器的输出端口范围。

Data Types:Boolean

参数

expand all

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地址,指定为虚量表。

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地址因此。

中心频率的来源,指定为以下选项之一:

  • 对话- 通过使用中心频率(Hz)范围。

  • Input port- 通过使用中心频率输入端口。

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— For signals with rapidly changing power levels.

  • 对话- 通过使用增益(DB)范围。

  • Input port- 通过使用gain输入端口。

在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 output mapping, specified as a scalar or a 1-by-2 vector:

  • 1- 仅使用频道1。

  • 2- 仅使用频道2。

  • [1 2]- 两个渠道都在使用。

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

选择输出数据类型,作为以下选项之一:

  • 一世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.

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.

选择此参数以启用overflow在主机里迪奥硬件数据传输期间输出端口。

当您选择此参数时,块会产生一组连续的帧。此设置可以帮助模拟无法实时运行的模型。启用爆发模式时,请使用Frames in burst范围。有关如何使用此参数的更多信息,请参见Burst Mode

连续突发中的帧数,指定为正整数。

依赖性

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)不平衡补偿。

When you select this parameter, the block applies an RF direct current (DC) blocking filter.

当您选择此参数时,该块将应用一个基带DC阻止过滤器。

When you select this parameter, you can change the sample time of the block, by using the采样时间范围。有关更多信息,请参阅SDR Receiver Sample Times

块的样品时间,指定为正标量。默认值对应于Samples per frame除以基带样品率(Hz)。Consider changing the default value only when deploying a hardware-software co-design implementation.

依赖性

To enable this parameter, select the覆盖自动样品时间范围。

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

内置的自我测试回环模式,指定为以下选项之一:

  • 禁用- 禁用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.

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, specified as one of these options:

  • PRBS- 使用板的伪随机二进制序列(PRB)发电机。

  • 语气- 使用板的音调生成器。要设置音调频率和音调,请使用音频频率(Hz)音水平(DB)参数分别。

依赖性

要启用此参数,请设置Test signal injection参数为音调注入TX或者语气Inject Rx

Bist音频频率,指定为Fs/32,,,,FS/16,,,,FS*3/32, 或者Fs/8

依赖性

要启用此参数,请设置信号发生器模式参数为语气

Bist语调级别,指定为0,,,,-6,,,,-12, 或者-18

依赖性

要启用此参数,请设置信号发生器模式参数为语气

版本历史记录

在R2019b中引入