create waveforms using wireless waveform generator app -凯发k8网页登录

main content

create waveforms using wireless waveform generator app

the wireless waveform generator app is an interactive tool for creating, impairing, visualizing, and exporting modulated waveforms.

start the app. on the apps tab in the matlab® toolstrip, under signal processing and communications, click the app icon wireless waveform generator app icon. you can also start the app by entering wirelesswaveformgenerator at the matlab command prompt.

wireless waveform generator app display of 16qam waveform with iq imbalance and rrc filtering.

these are the typical workflows when using the wireless waveform generator app.

  • generate a waveform.

    • select the desired waveform type from the options available in the waveform type section. adjust the configuration parameters in the waveform pane. for more information, see waveform type.

    • select impairments in the generation section to open the impairments pane. adjust the configuration parameters in the impairments pane. for more information, see add impairments.

    • to perform signal generation, click generate. after generation, the waveform is displayed. you can adjust the waveform, filtering, and impairment configurations and then regenerate the waveform.

    • the default visualization plots vary based on the waveform type selected. additional visualization options can be opened by selecting them from visualize in the generation section.

  • after generating a waveform you can

    • export the waveform to a file by selecting the desired options from export in the export section. for more information, see export waveform.

    • transmit the waveform by selecting and configuring the desired sdr or lab test instrument from transmitter type in the transmitter tab. for more information, see transmit using sdr and transmit using lab test instrument.

  • you can save the current session, open a previously saved session, or open a new session by selecting the desired option in the file section. for more information, see waveform generator session.

waveform type

to generate the various available waveforms, the wireless waveform generator app uses communications toolbox™ features. the supported waveform types include:

  • ofdm — the app uses the system object™ to generate this type of waveform.

  • qam — the app uses the function to generate this type of waveform.

  • psk — the app uses the function to generate this type of waveform.

  • sinewave — the app uses the system object to generate this type of waveform.

  • 5g — if you have the 5g toolbox™, you can also generate 5g nr waveforms using features in the 5g toolbox. for more information, see the 5g waveform generator (5g toolbox) app reference page.

  • lte — if you have the lte toolbox™ you can also generate lte modulated waveforms using features in the lte toolbox. for more information, see the (lte toolbox) app reference page.

  • wlan — if you have the wlan toolbox™ you can also generate 802.11™ modulated waveforms using features in the wlan toolbox. for more information, see the (wlan toolbox) app reference page.

  • bluetooth® — if you have the bluetooth toolbox you can also generate bluetooth modulated waveforms using features in the bluetooth toolbox.

  • fmcw, linear fm, rectangular, and phased coded — if you have the phased array system toolbox™ you can also generate radar waveforms using features in the phased array system toolbox.

  • zigbee® and uwb (ieee® 802.15.4a/z) — if you have download the add-on you can also generate zigbee and uwb modulated waveforms using features in the add-on.

by default, generated waveforms have no filtering applied. to apply filtering to the waveform, select the desired filter option from the filtering parameter on the waveform pane. the available filter options vary based on the waveform type you select.

add impairments

you can add these impairments to the waveform that you generate.

  • awgn — the app uses the function to impair the waveform.

  • phase offset — the app impairs the waveform by applying the specified phase offset as y = xejφ, where φ is the phase offset in radians.

  • frequency offset — the app uses the system object to impair the waveform.

  • phase noise — the app uses the system object to impair the waveform.

  • dc offset — the app impairs the waveform by applying the specified dc offset as y = x dcoff, where dcoff is the complex dc offset in volts.

  • iq imbalance — the app uses the function to impair the waveform.

  • memoryless cubic nonlinearity — the app uses the system object to impair the waveform.

visualization options

you can use these plot types to visualize waveforms that you generate.

  • spectrum analyzer — the app plots the waveform in the frequency domain.

  • ofdm grid — for ofdm waveforms, the app plots the resource allocation of data and control channels.

  • time scope — the app plots the inphase and quadrature (iq) waveform samples in the time domain.

  • constellation diagram — the app plots the constellation points of the modulation symbols. for the ofdm waveform type, the constellation diagram displays the signal before ofdm modulation.

export waveform

you can export the waveform to a runnable matlab script or simulink® block, to your workspace, or to a signal file.

  • 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, see .

  • waveforms exported to the workspace are saved as a structure containing these fields:

    • type — this field is a character vector indicating the waveform type.

    • config — this field is a structure or object containing fields that specify the configured waveform type.

    • fs — this field is the signal sample rate in hertz.

    • waveform — the field is the complex waveform samples output as an ns-by-1 column vector or an ns-by-nt matrix. ns is the number of time-domain samples, and nt is the number of transmit antennas.

  • waveforms exported to a signal file can be saved as a .mat or .bb file.

    • mat-files are binary matlab files that store workspace variables. for more information, see .

    • the app uses the system object to save .bb files.

transmit signals at full radio device rates

generate waveforms that you can transmit at full radio device rates using wireless testbench software and a supported radio. download and install the add-on associated with your connected radio. if you have wireless testbench, then the wireless waveform generator app can transmit your waveform at full device rates. for a list of radios that support full device rates, see supported radio devices (wireless testbench).

select the appropriate radio icon, wireless waveform generator radios for transmission of high-bandwidth signals. from transmitter type in the transmitter tab, and have the radio connected to your computer.

wireless waveform generator app display of transmit toolbar.

transmit using sdr

generate a waveform that you can transmit using supported sdr hardware. download and install the add-on associated with your connected sdr, and then the wireless waveform generator app can transmit waveforms by using the sdr. for more information, see supported hardware – software-defined radio.

select the appropriate sdr icon, wireless waveform generator sdrs for transmission of signals from transmitter type in the transmitter tab, and have the sdr connected to your computer.

wireless waveform generator app display of transmit toolbar

transmit using lab test instrument

generate a waveform that you can transmit using your lab test instrument. the wireless waveform generator app can transmit using the (instrument control toolbox) function with instruments that support tcp/ip interface and use either the agrfsiggen, rsrfsiggen, agrfsiggen_scpi, or rsrfsiggen_scpi driver. for more information, see the (instrument control toolbox) topic. this feature requires instrument control toolbox.

select the wireless waveform generator instrument transmission icon from transmitter type in the transmitter tab, and have your supported lab test instrument connected to your computer.

wireless waveform generator app display of transmit toolbar

waveform generator session

you can save the current session, open a previously saved session, or open a new session by selecting the desired option in the file section. when you save a waveform generator session, the session configuration is saved as a .mat file. for more information, see .

see also

apps

functions

  • (instrument control toolbox)

blocks

related topics

  • (instrument control toolbox)
网站地图