main content

waveform generation -凯发k8网页登录

this example shows how to generate standards-compliant wlan waveforms. the ieee® 802.11™ standards define a physical layer protocol data unit (ppdu) as the transmission unit at the physical layer. for a detailed description of the ppdu field structures for each transmission format, see .

generate wlan waveforms

generate he su waveform

specify information bits to transmit.

bits = [1 0 0 1 1];

parameterize the transmission by creating a high-efficiency single-user (he su) configuration object with default property values.

cfghesu = wlanhesuconfig;

specify an oversampling factor for fast-fourier-transform-based oversampling.

osf = 2;

generate an he su waveform, as defined in [1], for the specified bits and transmission parameters. the waveform comprises four packets with 15 microseconds of idle time between them.

waveformhesu = wlanwaveformgenerator(bits,cfghesu, ...
    numpackets=4,idletime=15e-6, ...
    oversamplingfactor=osf);

plot the he su waveform, scaling the x-axis relative to the channel bandwidth.

fshesu = wlansamplerate(cfghesu.channelbandwidth);
time = (0:length(waveformhesu)-1)/fshesu;
plot(time,abs(waveformhesu))
xlabel ("time (seconds)")
ylabel("magnitude")

figure contains an axes object. the axes object with xlabel time (seconds), ylabel magnitude contains an object of type line.

generate he mu waveform

parameterize the transmission by creating an he multi-user (he mu) configuration object.

cfghemu = wlanhemuconfig(192);

generate an he mu waveform, as defined in [1], comprising three packets with 30 microseconds of idle time between packets for the specified bits and transmission parameters.

waveformhemu = wlanwaveformgenerator(bits,cfghemu, ...
    numpackets=3,idletime=30e-6);

plot the he mu waveform, scaling the x-axis relative to the channel bandwidth.

fshemu = wlansamplerate(cfghemu.channelbandwidth);
time = (0:length(waveformhemu)-1)/fshemu;
plot(time,abs(waveformhemu))
xlabel ("time (seconds)")
ylabel("magnitude")

figure contains an axes object. the axes object with xlabel time (seconds), ylabel magnitude contains an object of type line.

generate wur waveform

parameterize the transmission by creating a wake-up radio (wur) configuration object.

cfgwur = wlanwurconfig(channelbandwidth="cbw40",numusers=2);

generate a single-packet wur waveform, as defined in [2], for the specified bits and transmission parameters.

waveformwur = wlanwaveformgenerator(bits,cfgwur);

plot the wur waveform, scaling the x-axis relative to the channel bandwidth.

fswur = wlansamplerate(cfgwur.channelbandwidth);
time = (0:length(waveformwur)-1)/fswur;
plot(time,abs(waveformwur))
xlabel ("time (seconds)")
ylabel("magnitude")

figure contains an axes object. the axes object with xlabel time (seconds), ylabel magnitude contains an object of type line.

generate vht waveform

parameterize the transmission by creating a vht configuration object with default property values.

cfgvht = wlanvhtconfig;

generate a vht waveform, as defined in [3], for the specified bits and transmission parameters. the waveform comprises five packets with 20 microseconds of idle time between them.

waveformvht = wlanwaveformgenerator(bits,cfgvht, ...
    numpackets=5,idletime=20e-6);

plot the vht waveform, scaling the x-axis relative to the channel bandwidth.

fsvht = wlansamplerate(cfgvht.channelbandwidth);
time = (0:length(waveformvht)-1)/fsvht;
plot(time,abs(waveformvht))
xlabel ('time (seconds)')
ylabel('magnitude')

figure contains an axes object. the axes object with xlabel time (seconds), ylabel magnitude contains an object of type line.

generate waveforms of individual ppdu fields

you can also create a vht, ht, or non-ht ppdu waveform by generating and concatenating waveforms for individual ppdu fields. for an example of this procedure, see .

this list shows which functions you can use to build a ppdu for each phy format.

  • very high throughput (vht) — , , , , , , , and

  • high throughput (ht) — , , , , , , and

  • non-high-throughput (non-ht) — , , , and

see also

functions

objects

  • | | | | | | | |

related topics

    references

    [1] ieee® std 802.11ax™-2021 (amendment to ieee std 802.11™-2020). “part 11: wireless lan medium access control (mac) and physical layer (phy) specifications. amendment 1: enhancements for high efficiency wlan.” ieee standard for information technology — telecommunications and information exchange between systems. local and metropolitan area networks — specific requirements.

    [2] ieee std 802.11ba™-2021. “part 11: wireless lan medium access control (mac) and physical layer (phy) specifications. amendment 3: wake-up radio operation.” ieee standard for information technology — telecommunications and information exchange between systems. local and metropolitan area networks — specific requirements.

    [3] ieee std 802.11-2020 (revision of ieee std 802.11-2016). “part 11: wireless lan medium access control (mac) and physical layer (phy) specifications.” ieee standard for information technology — telecommunications and information exchange between systems — local and metropolitan area networks — specific requirements.

    网站地图