Engee documentation

Rectangular QAM Modulator Baseband

Modulation using rectangular quadrature amplitude modulation.

blockType: RectangularQAMModulator

Path in the library:

/Communication Systems/Modulation/Digital Modulation/PAM/QAM/Rectangular QAM Modulator Baseband

Description

Block Rectangular QAM Modulator Baseband modulates the input signal using quadrature amplitude modulation with a constellation on a rectangular grid. The output is a basic representation of the modulated signal.

All power values assume a nominal impedance 1 Om.

Ports

Input

# IN_1 — Input signal
vector | scalar

Details

The input signal is in the form of a scalar or vector with the values of the elements in the range of values , where — modulation order, parameter value M-ary number.

Data types

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

Complex numbers support

I don’t

Output

# OUT_1 — modulated signal
vector | scalar

Details

Rectangular modulated baseband signal.

The output will be of type ComplexF64 in any case, except when for the parameter M-ary number the value is set 2. In this case, the output will be data of the type Float64.

Data types

Float64, ComplexF64

Complex numbers support

Yes

Parameters

Main

# M-ary number — the order of modulation
Integer

Details

The modulation order is set as a positive integer equal to a power of two. The modulation order determines the number of points in the signal constellation.

Default value

16

Program usage name

Modulation_order

Tunable

No

Evaluatable

Yes

# Input type — input data type
Integer | Bit

Details

The input data type is specified as Integer or Bit to specify whether the input signal consists of integers or groups of bits:

  • Integer — the input signal must consist of integers in the range , where — modulation order, parameter value M-ary number;

  • Bit — the input signal must contain binary values, and the number of lines must be an integer multiple of .

Values

Integer | Bit

Default value

Integer

Program usage name

Input_data_type

Tunable

No

Evaluatable

No

# Constellation ordering — the order in which characters are displayed
Gray | Binary

Details

Defines how the block maps each character to a group of output bits or an integer.

Values

Gray | Binary

Default value

Gray

Program usage name

Constellation_order

Tunable

No

Evaluatable

No

# Normalization method — the scaling method for the constellation
Min. distance between symbols | Average power | Peak power

Details

The constellation scaling method, defined as Min. distance between symbols, Average power or Peak power.

Values

Min. distance between symbols | Average power | Peak power

Default value

Min. distance between symbols

Program usage name

Normalization_method

Tunable

No

Evaluatable

No

# Minimum distance — the distance between the two closest points of the constellation
Real number

Details

The distance between the two closest points of the constellation, given as a positive scalar.

Dependencies

To use this parameter, set for the parameter Normalization method meaning Min. distance between symbols.

Default value

2

Program usage name

Min_distance_between_symbols

Tunable

No

Evaluatable

Yes

# Average power, referenced to 1 ohm (watts) — average power

Details

The average power of the symbols in the constellation in watts, given as a positive scalar. The power values assume a nominal impedance 1 Om.

Dependencies

To use this parameter, set for the parameter Normalization method meaning Average power.

Default value

1

Program usage name

Average_power

Tunable

No

Evaluatable

Yes

# Peak power, referenced to 1 ohm (watts) — Maximum power

Details

The maximum power of the symbols in the constellation in watts, given as a positive scalar. The power values assume a nominal impedance 1 Om.

Dependencies

To use this parameter, set for the parameter Normalization method meaning Average power or Peak power.

Default value

1

Program usage name

Peak_power

Tunable

No

Evaluatable

Yes

# Phase offset (rad) — rotation of the signal constellation
Real number

Details

The rotation of the signal constellation, specified as a numeric scalar.

Default value

0

Program usage name

Phase_Offset

Tunable

No

Evaluatable

Yes

Algorithms

Signals with integer values and signals with binary values

Details

If set for the parameter Input type meaning Integer, the block accepts integer values in the range . — this is the modulation order specified by the block parameter M-ary number.

If for the parameter Input type the value is set Bit the block accepts binary values representing integers. The block collects binary-digit signals into groups by the bit where — the number of bits per character, and — the order of modulation.

The length of the input vector must be an integer multiple of . In this configuration, the block accepts a group of and maps it to the character at the output of the block. The block outputs one modulated symbol for each group of bits.

Parameter Constellation ordering specifies how the block assigns binary words to the points of the signal constellation. Such assignments are applied independently to the common-mode and quadrature components of the input signal.:

  • If for the parameter Constellation ordering the value is set Binary the block uses a binary-encoded constellation.

  • If for the parameter Constellation ordering the value is set Gray and even, the block uses a constellation encoded by the Gray code.

  • If for the parameter Constellation ordering the value is set Gray and odd, the block encodes the constellation so that the pairs of closest points differ by one or two bits. The constellation has a cross-shaped shape, and the diagram below shows which pairs of points differ by two bits. The scheme uses , but the general case is assumed.

rectangular qam modulator baseband 1

Since the common-mode and quadrature components are assigned independently, when the Gray code order and binary order are the same.

Constellation size and scaling

Details

The constellation of the signal consists of points where — parameter value M-ary number. it should have the form for some positive integer . The block scales the signal constellation depending on what value is set for the parameter. Normalization method.

Parameter value Normalization method Zoom condition

Min. distance between symbols

The nearest pair of points in the constellation is separated by the value of the parameter Minimum distance.

Average power

The average power of the symbols in the constellation is the value of the parameter Average power, referenced to 1 ohm (watts).

Peak power

The maximum power of the symbols in the constellation is the value of the parameter Average power, referenced to 1 ohm (watts).

Literature

  1. Smith, J. G., «Odd-Bit Quadrature Amplitude-Shift Keying», IEEE Transactions on Communications, Vol. COM-23, March 1975, pp. 385–389.

  2. Proakis, John G. Digital Communications. 4th ed. New York: McGraw Hill, 2001.