Wireless Waveform Generator

Create, impair, visualize, and export modulated waveforms

Description

The Wireless Waveform Generator app enables you to create, impair, visualize, and export modulated waveforms.

Using the app, you can:

  • Generate custom OFDM, QAM, and PSK modulated waveforms.

  • Generate sine wave test waveforms.

  • Generate NR test models (NR-TM) and NR uplink and downlink fixed reference channel (FRC) waveforms. This feature requires 5G Toolbox.

  • Generate LTE modulated waveforms. This feature requires the LTE Toolbox.

  • Generate WLAN (802.11™) modulated waveforms. This feature requires the WLAN Toolbox.

  • Generate Bluetooth modulated waveforms. This feature requires the Communications Toolbox™ Library for the Bluetooth® Protocol. To download this library, go to Get Add-Ons (MATLAB).

  • Distort the waveform by adding RF impairments, such as AWGN, phase offset, frequency offset, DC offset, IQ imbalance, and memoryless cubic nonlinearity.

  • Visualize the waveform in constellation diagram, spectrum analyzer, OFDM grid, and time scope plots.

  • Export the waveform to your workspace as a structure, to a .mat or a .bb file, or to a runnable MATLAB® script.

    Note

    You can use the MATLAB script to reproduce your waveform outside of the Wireless Waveform Generator app.

  • Generate a waveform that you can transmit using a connected lab test instrument. The app can transmit using instruments supported by the rfsiggen function. Use of the transmit feature in the app requires Instrument Control Toolbox.

For more information, see Using Wireless Waveform Generator App.

Open the Wireless Waveform Generator App

MATLAB Toolstrip

On the Apps tab, under Signal Processing and Communications, click the app icon.

MATLAB Command Prompt

At the command prompt, enter wirelessWaveformGenerator.

Examples

expand all

Open the Wireless Waveform Generator app and generate the default waveform by clicking Generate. The displayed waveform is an OFDM waveform with QPSK-modulated symbols.

Click Insert DC null and increase the Guard band subcarriers to [20;19]. Click Generate again. The plotted waveform changes to reflect the updated configuration.

Open the Wireless Waveform Generator app and configure a 16-QAM waveform. Specify a phase imbalance of 11.25 degrees (pi/16 radians) and an amplitude imbalance of 1.5 dB. Click Generate to generate the waveform.

Select the Filtering parameter and apply root raised cosine filtering. Click Generate again to generate a waveform using the current configuration. The plotted waveform changes to reflect the updated configuration.

This example shows how to use the 5G Waveform Generator app to generate NR test models (NR-TM) and NR uplink and downlink fixed reference channel (FRC) waveforms.

Open 5G Waveform Generator App

On the Apps tab of the MATLAB® toolstrip, under Signal Processing and Communications, click the 5G Waveform Generator app icon. This app opens the Wireless Waveform Generator app configured for 5G waveform generation.

Select 5G NR Waveform

In the Waveform Type section on the app toolstrip, click the waveform you want to generate. You can select any of these waveforms.

  • 5G Downlink FRC

  • 5G Uplink FRC

  • 5G Test Models

Generate 5G NR Waveform

In the left pane of the app, on the Waveform tab, you can set the parameters of the selected waveform. On the app toolstrip, in the Generation section, you can add impairments and set visualization tools. To visualize the waveform, click Generate. You can export the generated waveform to the MATLAB workspace as a structure in a .mat or .bb file.

For example, this picture shows the visualization results of a downlink FRC waveform using default parameters.

Transmit 5G NR Waveform

This feature requires Instrument Control Toolbox. To transmit the generated waveform, on the app toolstrip, click on the Transmitter tab and set up the instruments. You can use all the instruments supported by the rfsiggen function.

Open the Wireless Waveform Generator app and configure to generate LTE E-TM Test Model waveforms. Using this feature of the app requires the LTE Toolbox™.

In the Waveform Type section, select Test Model (E-TM) waveforms, specified in TS 36.141, Sec. 6. To display an LTE E-TM Test Model 1.1 frame with a 1.4 MHz channel bandwidth, click Generate.

Configure the app to generate an LTE E-TM Test Model 3.1b frame with a channel bandwidth of 5 MHz. To visualize the waveform, click Generate.

Open the Wireless Waveform Generator app and configure a Bluetooth low energy (BLE) waveform. To use the BLE feature, the app requires Communications Toolbox Library for the Bluetooth Protocol . In the Waveform Type section, click Bluetooth Low Energy. Change the bit source to User-defined and enter the input bits. Specify the value of Samples per symbol as 32. Click Generate to generate the BLE waveform. The plotted waveform is a BLE waveform with GMSK-modulated samples. Change the visible plots by clicking Visualize and then selecting one or more options between Constellation Diagram, Time Scope and Eye Diagram.

Open Wireless Waveform Generator and configure an HE extended-range (ER) SU PPDU. Using this feature of the app requires the WLAN Toolbox™.

In the Waveform Type section, select 802.11ax. Configure the app to generate an HE ER SU PPDU with two packets, specifying a delay of 50 microseconds between packets. Specify two transmit antennas, and a nominal packet padding of eight microseconds. Click Visualize and configure to select Time Scope only. To generate the waveform, click Generate.

Related Examples

See Also

Apps

Introduced in R2018b