Main Content

5G Waveform Generator

Create, impair, visualize, and export 5G NR waveforms

Description

The5G Waveform Generatorapp enables you to create, impair, visualize, and export 5G NR waveforms.

The app provides these capabilities by using theWireless Waveform Generatorapp configured for5G NRwaveform generation.Using the app, you can:

  • 生成NR上行和下行载波waveforms.

  • Generate NR test models (NR-TM) for FR1, as defined in TS 38.141-1 Section 4.9.2[1].

  • Generate NR-TM for FR2, as defined in TS 38.141-2 Section 4.9.2[2].

  • 生成NR下行固定参考陈nel (FRC) waveforms, as defined in TS 38.101-1 Annex A.3[3].

  • Generate NR uplink FRC waveforms, as defined in TS 38.104 Annex A[4].

  • Export theNRwaveform to your workspace or to a.mator a.bbfile.

  • ExportNRwaveform generation parameters to a runnable MATLAB®script or a Simulink®block.

    • Use the exported script to generate your waveform without the app from the command line.

    • Use the exported block as a waveform source in a Simulink model. For more information, seeWaveform From Wireless Waveform Generator App.

  • Visualize theNR waveform in spectrum analyzer, channel view, OFDM grid, resource element (RE) mapping (only downlink and uplink), and complementary cumulative distribution function (CCDF) plots. The app instantly updates the OFDM grid and the channel view plots to reflect the current waveform configuration. The OFDM grid also highlights the conflicts across channels and signals.

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

  • GenerateanNRwaveform that you can transmit using a connected software defined radio (SDR) or lab test instrument.

    • To transmit a waveform by using an SDR, you must connect one of the supported SDRs (ADALM-Pluto, USRP™, USRP embedded series, and Xilinx®Zynq-based radios) to your computer and have the associated add-on installed. For more information, seeTransmit Using SDR.

    • To transmit a waveform by using lab test instrument, you must connect one of the instruments supported by therfsiggen(Instrument Control Toolbox)function to your computer. Use of therfsiggenfunction requiresInstrument Control Toolbox.

To create, impair, visualize, and export waveforms other thanNRwaveforms, you must reconfigure the app. For a full list of features, see theWireless Waveform Generator应用程序。

For more information, seeUse Wireless Waveform Generator App.

Open the 5G Waveform Generator App

MATLAB Toolstrip: On theAppstab, underSignal Processing and Communications, click the app icon.

MATLAB Command Prompt: EnternrWaveformGenerator.This command opens theWireless Waveform Generatorappconfigured for 5G waveform generation.

Examples

expand all

This example shows how to generate standard-compliant NR uplink and downlink carrier waveforms, NR test models (NR-TM), and NR uplink and downlink fixed reference channel (FRC) waveforms by using the5G Waveform Generator应用程序。The example also discusses waveform exporting and transferring options available in the app.

Open 5G Waveform Generator App

On theAppstab of the MATLAB® toolstrip, underSignal Processing and Communications, click the5G Waveform Generatorapp icon. This app opens theWireless Waveform Generatorapp configured for 5G waveform generation.

Select 5G NR Waveform

In theWaveform Typesection on the app toolstrip, click the waveform you want to generate. Select one of these waveforms.

  • 5G Downlink

  • 5G Uplink

  • 5G Test Models

  • 5G Downlink FRC

  • 5G Uplink FRC

Generate 5G NR Waveform

Depending on the selected waveform, the app presents specific tabs where you can set the parameters of the selected waveform. On the app toolstrip, in theGenerationsection, you can add impairments and set visualization tools applicable for the selected waveform. To visualize the waveform on the selected visualization tools, clickGenerate.

For example, this figure shows the visualization results of a 5G NR downlink waveform using default parameters.

Export Generated Waveform to MATLAB Workspace or File

To export the generated waveform, on the app toolstrip, in theExportsection, selectExport to WorkspaceorExport to File. You can export the waveform as a structure to the MATLAB workspace or a MAT-file (.mat). You can also export the waveform to a baseband file (.bb).

Export Waveform Configuration Parameters to MATLAB Script

To export waveform configuration parameters as a MATLAB script, on the app toolstrip, in theExportsection, selectExport to MATLAB Script. You can run the exported MATLAB script to generate the waveform wihout the app.

Export Waveform Configuration Parameters to Simulink

To export waveform configuration parameters as a Simulink block, on the app toolstrip, in theExportsection, selectExport to Simulink. You can use the exported block to generate the waveform in a Simulink model without the app.

Transmit 5G NR Waveform

To transmit the generated waveform, on the app toolstrip, click on theTransmittertab and set up the instruments. You can use all the instruments supported by therfsiggen(Instrument Control Toolbox)function. This feature requiresInstrument Control Toolbox.

References

[1]3GPP TS 38.141-1. “NR; Base Station (BS) conformance testing Part 1: Conducted conformance testing.”3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

[2]3GPP TS 38.141-2. “NR; Base Station (BS) conformance testing Part 2: Radiated conformance testing.”3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

[3]3GPP TS 38.101-1. “NR; User Equipment (UE) radio transmission and reception; Part 1: Range 1 Standalone.”3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

[4]3GPP TS 38.104. “NR; Base Station (BS) radio transmission and reception.”3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

Version History

Introduced in R2020a