Main Content

Constellation Diagram

在智商平面中显示和分析输入信号

  • 李brary:
  • Communications Toolbox / Comm Sinks

    通信工具箱HDL支持/通讯下沉万博1manbetx

  • Constellation Diagram block

Description

The Constellation Diagram block displays real- and complex-valued floating- and fixed-point signals in the IQ plane. Use this block to perform qualitative and quantitative analysis on modulated single-carrier signals. Specifically, the IQ-plane displays the in-phase and quadrature components of modulated signals on the real and imaginary axis of an xy-plot.

Constellation diagram displaying QSPK,16-QAM, and 8-DPSK signals, and signal quality measurements.

在“星座图”窗口中,您可以:

  • 在单个星座图上输入和绘制多个信号。要为每个输入信号定义一个参考星座,请使用Reference Constellationparameter.

  • Select signals in the legend to toggle visibility of individual channels. To display the legend, use theLegendparameter on thePlot标签。对于多通道信号,将输入指定为矩阵,其矩阵列中定义的单个信号。

  • Display calculated error vector magnitude (EVM) and modulation error ratio (MER) measurements for individual signals. To view and configure the measurements, selectEVM/MER上theMeasurements标签。When multiple signals are input, you can select which signal to use for measurements in theChannelsection.

Ports

Input

expand all

信号,指定为单独的参数Nsym-by-1 column vectors orNsym-by-Nchannelmatrices.Nsym是符号的数量,并且Nchannel是个number of input signal channels. Signals can have different data types and dimensions.

You must specifyN输入端口,其中N是个Number of input ports参数值。You can visualize up to 20 individual or collective signal channels in the constellation diagram. For example, if you create a two-channel signal for every input, then you can define up to 10 input ports.

Example:[-1 + 1i; -1 - 1i; 1 + 1i; 1 - 1i]指定四符号输入信号。

数据类型:double
Complex Number Support:Yes

Parameters

expand all

Plot

在里面Plottab, you can adjust settings of the constellation diagram configuration, simulate the model, take a snapshot of the plot, copy the display, and print the figure. Parameters unique to the constellation diagram scope are described.

Plottab, clickSettings打开配置图设置窗口。此窗口包括参数小节,以配置数据和轴,标签以及颜色和样式。星座图独有的参数在此页面上描述。

指定示波器块上的输入端口的数量作为整数[1,20]。

输入信号通道的总数不能超过20。当您指定多通道输入信号时,输入信号通道的总数会限制输入端口的最大数量。

指定用于表示每个符号为正整数的样品数量。信号在绘制该参数的值之前被信号降采样。

Specify the number of samples to skip before plotting points as a nonnegative integer less than the每个符号样本参数值。此值指定在每个符号样本is greater than 1.

Specify the maximum number of symbols to display by selectingInput frame length或者specifying a positive integer. To specify a positive integer, select and then replace带有您所需的价值。Use this parameter to limit the maximum number of symbols that the constellation diagram displays when you input long signals. The block plots the most recently received symbols.

Plottab orMeasurementstab, clickReference Constellation,打开参考星座窗口。此窗口包括用于配置每个输入端口的参考星座的参数。

Select this parameter to show reference constellations on the plot.

Configure the reference constellation parameters for the specified input port.

每个输入端口都有其自己的参考星座。对于多通道输入信号,该块为该输入端口中的所有信号应用了单个参考星座。

Specify the reference constellation by selectingCustom,BPSK,QPSK,8-PSK,16 Qam,64-QAM, 或者256-QAM. To specify a custom value, first selectCustom. Then in the自定义值参数,用符号值的自定义向量替换条目。

每个输入端口都有其自己的参考星座。对于多通道输入信号,该块为该输入端口中的所有信号应用了单个参考星座。

EVM/MER测量使用指定的参考星座来计算调制输入信号的信号质量。有关信号质量测量的更多信息,请参见EVM和MERMeasurements.

Specify the reference constellation for an input as a vector that defines symbol values for the custom modulation scheme.

依赖性

To enable this parameter, set theReference constellation参数为自定义参考星座.

数据类型:char|double
Complex Number Support:Yes

通过选择该块用于星座图的归一化方法平均功率,Minimum distance, 或者峰值功率.

依赖性

To enable this parameter, set theReference constellation参数为16 Qam,64-QAM, 或者256-QAM.

Specify the average power of the reference constellation as a positive scalar. The average power is referenced to a one-ohm load. Units are in watts.

依赖性

To enable this parameter, set theReference constellation参数为BPSK,QPSK,8-PSK,16 Qam,64-QAM, 或者256-QAM.

Specify the phase offset of the reference constellation as a scalar. Units are in radians.

依赖性

To enable this parameter, set theReference constellation参数为BPSK,QPSK,8-PSK,16 Qam,64-QAM, 或者256-QAM.

  • The default value is0forBPSK,16 Qam,64-QAM, and256-QAM.

  • The default value ispi/4for8-PSK.

  • The default value ispi/8forQPSK.

Plottab, clickLegend要切换传说的显示。图例中列出的名称是模型中指定的输入端口的信号的名称。在模型使用输入信号运行之前,该图例不会显示。

在里面scope legend, click a signal name to toggle the signal visibility in the scope.

Plottab, clickTrajectoryto toggle the display of the trajectory. Select this parameter to display the trajectory between constellation points for the plotted signals.

Measurements

在里面Measurements选项卡,您可以选择活动频道,配置信号质量测量结果,然后切换Measurementspane.

有关信号质量测量的更多信息,请参见EVM和MERMeasurements.

Channel

从输入通道列表中选择活动输入通道以进行测量。点击EVM/MERto display the signal quality measurements for the active channel.

输入信号通道的总数不能超过20。当您指定多通道输入信号时,输入信号通道的总数将限制该的最大允许值Number of input portsparameter.

Measurements

Specify the duration of the EVM and MER measurement in symbols by selectingCurrent Display, 或者所有显示或者by specifying a positive integer. To specify a positive integer, select and then replace带有您所需的价值。该值必须是范围内的正值[1,Symbols to display). The block computes measurements after the number of input data samples exceeds the measurement interval.

Specify the normalization method that the block uses for the EVM normalization by selectingAverage constellation power或者Peak constellation power.

Plottab orMeasurementstab, clickReference Constellation,打开参考星座窗口。此窗口包括用于配置每个输入端口的参考星座的参数。有关参数说明,请参阅Reference Constellation参数Plotsection.

Measurementstab, clickEVM/MERto toggle display the signal quality measurements pane. For more information, seeEVM和MERMeasurements.

Block Characteristics

数据类型

Boolean|double|enumerated|固定点|integer|单身的

直接进料

Multidimensional Signals

Variable-Size Signals

yes

Zero-Crossing Detection

More About

expand all

Extended Capabilities

Version History

Introduced in R2013b