Block OFDM Modulator Modulates the signal in the frequency domain using the orthogonal frequency division multiplexing (OFDM) method. The output is a basic representation of the OFDM-modulated signal.
The unit has one output port and one or two input ports, depending on the parameter status Pilot input port.
Ports
Output
# OUT_1
—
OFDM-Modulated broadband output signal
the matrix
Details
OFDM is a modulated broadband signal returned as a matrix on .
— the length of the cyclic prefix for all characters;
— the length of the cyclic prefix, determined by the parameter Cyclic prefix length;
If Cyclic prefix length is a scalar, ;
If Cyclic prefix length is a vector of strings, .
— the number of subcarriers determined by the parameter FFT length.
— the number of characters defined by the parameter Number of OFDM symbols.
— the number of transmitting antennas, determined by the parameter Number of transmit antennas.
The input broadband signal, specified as an array on on .
— the amount of subcarrier data such that ;
— the number of subcarriers determined by the parameter FFT length;
— the number of subcarriers in the left protective strip, determined by the first element of the parameter Number of guard bands;
— the number of subcarriers in the right protective strip, determined by the second element of the parameter Number of guard bands;
— the number of subcarriers in zero DC, given as 0 or 1 by selecting a parameter Insert DC null;
— the number of pilot subcarriers in each symbol;
If the input port Pilot is selected, size(Pilot subcarrier indices, 1);
If the input port Pilot is not selected, for the calculation ;
— the number of subcarriers used for custom zeros. To use custom zeros, you must specify Pilot subcarrier indices in the form of a three-dimensional array.
— the number of characters defined by the parameter Number of OFDM symbols.
— the number of receiving antennas, determined by the parameter Number of transmit antennas.
The number of FFT points specified as a positive integer scalar.
Parameter value FFT length must be greater than or equal to 8 and is equivalent to the number of subcarriers.
Default value
64
Program usage name
FFTLength
Tunable
No
Evaluatable
Yes
#Number of guard bands —
the number of subcarriers allocated to the left and right protective strips
Vector of real numbers
Details
The number of subcarriers allocated for the left and right protective strips, specified as an integer vector of size 2 × 1.
The number of subcarriers of the left and right protective strips , must be within , where — the total number of subcarriers in the OFDM signal, determined by the parameter FFT length.
Default value
[6; 5]
Program usage name
NumberOfGuardBands
Tunable
No
Evaluatable
Yes
#Insert DC null —
exclude or enable a zero-frequency subcarrier
Logical
Details
Select this option to remove the zero-frequency subcarrier. The zero DC subcarrier is located in the center of the frequency band and has an index value:
If the value is even number;
If the value is the odd one.
— this is the total number of subcarriers in the OFDM signal, determined by the parameter FFT length.
Default value
false (switched off)
Program usage name
InsertDCnull
Tunable
No
Evaluatable
No
#Pilot input port —
introduction of pilot subcarriers
Logical
Details
Select this option to add a port for entering pilot subcarriers.
If unchecked, the input port IN_1 may contain embedded information about pilot subcarriers, but the block does not assign pilot subcarrier indexes.
If the box is checked, the block assigns subcarriers specified by the parameter Pilot subcarrier indices, for pilot signal modulation on the input port Pilot.
Default value
false (switched off)
Program usage name
PilotInputPort
Tunable
No
Evaluatable
No
#Pilot subcarrier indices —
location indexes of pilot subcarriers
Array of real numbers
Details
The location indexes of the pilot subcarriers, specified as a vector of columns, a matrix, or a three-dimensional array with integer values of elements in the range
where
— the total number of subcarriers in the OFDM signal, determined by the parameter FFT length;
and — the left and right protective strips specified by the parameter value Number of guard bands.
Pilot carrier indexes you can assign the same or different subcarriers for each symbol and for all transmitting antennas .
If the pilot indexes are the same for each symbol and the transmitting antenna, the parameter has the dimension .
If the pilot indexes differ in characters, the parameter has the dimension .
If the received signal is assigned a single symbol on several transmitting antennas, then the parameter has the dimension .
If the indexes differ in the number of characters and transmitting antennas, the parameter has the dimension .
To minimize interference between transmissions to more than one transmitting antenna, the pilot indexes per symbol must be mutually different for all antennas.
Dependencies
To use this option, check the box Pilot input port.
Default value
[12; 26; 40; 54]
Program usage name
PilotSubcarrierIndices
Tunable
No
Evaluatable
Yes
#Cyclic prefix length —
length of the cyclic prefix
Scalar / vector of real numbers
Details
The length of the cyclic prefix for each OFDM character, specified as a positive integer scalar or a string vector containing the number of OFDM character elements. When specifying the length of the cyclic prefix as:
scalar — the length of the cyclic prefix is the same for all characters across all antennas;
vector string — the length of the cyclic prefix may vary between characters, but it does not vary between antennas.
Default value
16
Program usage name
CyclicPrefixLength
Tunable
No
Evaluatable
Yes
#Apply raised cosine windowing between OFDM symbols —
applying the raised cosine window function between OFDM characters
Logical
Details
Select this option to apply the raised cosine window function between OFDM characters.
To reduce the power of out-of-band subcarriers caused by spectral overgrowth, use window separation.
Default value
false (switched off)
Program usage name
Windowing
Tunable
No
Evaluatable
No
#Window length —
the length of the window function with the raised cosine
Real number
Details
The length of the raised cosine window function, specified as a positive integer scalar.
This value must be less than or equal to the minimum length of the cyclic prefix specified in the parameter. Cyclic prefix length. For example, in a four-character configuration with a cyclic prefix length 12, 14, 16 and 18 parameter value Window length must be less than or equal to 12.
Dependencies
To use this option, check the box Apply raised cosine windowing between OFDM symbols.
Default value
1
Program usage name
WindowLength
Tunable
No
Evaluatable
Yes
#Oversampling factor —
oversampling coefficient
Real number
Details
The oversampling coefficient, set as a positive scalar. The oversampling coefficient must satisfy these constraints.:
Composition Oversampling factor on FFT length must be an integer number.;
Composition Oversampling factor on Cyclic prefix length it must be an integer.
If Oversampling factor set as an irrational number, specify a fractional value. For example, when FFT length12 and Oversampling factor4/3 their product is equal to an integer 16. However, the rounding 4/3 before 1.333 during installation Oversampling factor results in a non-integer product 15.9960, which leads to an error.
Default value
1
Program usage name
OversamplingFactor
Tunable
No
Evaluatable
Yes
#Number of OFDM symbols —
number of OFDM characters
Real number
Details
The number of OFDM symbols in the time-frequency grid, specified as a positive integer scalar.
Default value
1
Program usage name
NumberOfOFDMSymbols
Tunable
No
Evaluatable
Yes
#Number of transmit antennas —
number of transmitting antennas
Real number
Details
The number of transmitting antennas for transmitting the OFDM-modulated signal, set as a positive integer scalar, less than or equal to 64.
Default value
1
Program usage name
NumberOfTransmitAntennas
Tunable
No
Evaluatable
Yes
Algorithms
Orthogonal frequency division multiplexing
Details
OFDM belongs to the class of multi-channel modulation schemes. Due to the fact that several carriers can be transmitted simultaneously during operation, noise does not affect OFDM to the same extent as with single-band modulation.
OFDM divides the high-speed data stream into low-speed subcarriages by decomposing the transmission frequency band into a number of adjacent individually modulated subcarriers. This set of parallel and orthogonal subcarriers carries the data stream, occupying almost the same bandwidth as the broadband channel. By using narrow orthogonal subcarriers, the OFDM signal becomes resistant to fading in the frequency-selective channel and eliminates interference from neighboring subcarriers. Inter-character interference (ISI) is reduced because subcreams with a lower data rate have a character duration longer than the delay spread in the channel.
This image shows the representation of orthogonal subcarriers in the frequency domain in the OFDM waveform.
The transmitter applies the inverse Fast Fourier Transform (OBFT) to characters at a time. Usually, the output of the OBF is the sum of orthogonal sinusoids:
where
— data symbols;
— OFDM character time.
Data Symbols They are usually complex and can be from any digital modulation alphabet (for example, QPSK, 16-QAM, 64-QAM, etc.).
The implementation of the discrete Fourier transform normalizes the output of the FFT to . For more information, see the section Discrete Fourier transform of a vector in the function description ifft.
The distance between subcarriers is , which ensures the orthogonality of subcarriers during each character period:
The OFDM modulator consists of a series-parallel conversion followed by a bank of integrated modulators, individually corresponding to each subcarrier OFDM.
Subcarrier distribution, guard bands and guard intervals
Details
Individual OFDM subcarriers are allocated as subcarriers of data, pilot or null.
As shown here, subcarriers are designated as subcarriers of data, DC, pilot, or protective band.
Subcarriers of data transmit user data.
The pilot subcarriers are designed to evaluate the channel.
Zero-frequency subcarriers do not transmit any data. Subcarriers without data provide zero frequency of the central subcarrier and serve as buffers between OFDM resource blocks.
The subcarrier of the zero frequency is the center of the frequency band with the index
If the value is even number,
If the value is odd number,
where — this is the total number of subcarriers in the OFDM signal.
The protection bands serve as a buffer between adjacent signals in adjacent frequency bands to reduce interference caused by spectral leakage.
Zero-frequency subcarriers allow you to simulate protective bands and the location of zero subcarriers for specific standards, such as various 802.11, LTE, WiMAX formats, or for custom distributions. The location of the zero subcarriers can be determined by assigning a vector of zero subcarrier indexes.
Similar to guard bands, guard intervals protect the integrity of transmitted signals in OFDM by reducing inter-character interference.
The purpose of protective intervals is similar to the purpose of protective strips. You can simulate guard intervals to ensure time separation between OFDM symbols. Guard intervals help to maintain inter-character orthogonality after the signal passes through channels with time variance. Guard intervals are created using cyclic prefixes. Inserting a cyclic prefix copies the last OFDM as the first part of the OFDM symbol.
OFDM benefits from using cyclic prefix insertion as long as the time variance does not exceed the duration of the cyclic prefix.
Inserting a cyclic prefix results in a fractional decrease in user data throughput, since the cyclic prefix takes up bandwidth that could have been used for data transmission.
Window function for OFDM with raised cosine
Details
The window function for OFDM with a raised cosine applies the methods described in [3] to limit spectral expansion by creating a smooth transition between the last sample of one character and the first sample of the next character.
Although the cyclic prefix creates a protective period in the time domain to maintain orthogonality, the OFDM symbol rarely begins with the same amplitude and phase as at the end of the previous OFDM symbol, which causes spectral expansion and, consequently, signal bandwidth expansion due to intermodulation distortion. To limit this spectral expansion, you can create a smooth transition between the last character sample and the first sample of the next character using a cyclic suffix and a window function with an elevated cosine.
To create a cyclic suffix, the operation adds the first samples this character is added to the end of this character. However, to comply with the IEEE® 802.11g standard, for example, an operation cannot arbitrarily lengthen a character. Instead, the cyclic suffix should overlap in time and effectively be combined with the cyclic prefix of the next character. The operation applies two mathematically inverse window functions in this overlapping segment. The first window function with a raised cosine is applied to the cyclic suffix of the symbol and decreases from 1 before 0 for the duration of its action. The second window function with a raised cosine is applied to the cyclic prefix of the symbol and increases from 0 before 1 for the duration of its action. This process ensures a smooth transition from one character to another.
Window function with raised cosine in the time domain , it can be expressed as
where
— the length of the OFDM symbol, including the guard interval;
— the length of the window function.
The length of the cyclic suffix is adjusted by setting the length of the window function, while the length of the suffix is set in the range from 1 up to the minimum length of the cyclic prefix. Although the installation of windows improves spectral recovery, this is due to a decrease in resistance to multipath fading due to a decrease in redundancy in the protective band due to a change in the values of the protective band samples to smooth the intersymbol transition.
These figures show the application of a window function with a raised cosine.
Literature
Dahlman, E., S. Parkvall, and J. Skold. 4G LTE/LTE-Advanced for Mobile Broadband. London: Elsevier Ltd., 2011.
Andrews, J. G., A. Ghosh, and R. Muhamed, Fundamentals of WiMAX, Upper Saddle River, NJ: Prentice Hall, 2007.