802.11ad transmitter spectral emission mask testing -凯发k8网页登录
this example shows how to perform pulse shaping and spectrum emission mask testing on an ieee® 802.11ad™ waveform.
introduction
ieee 802.11ad [ 1 ] standard, commonly referred to as directional multi-gigabit (dmg), provides data throughput up to 7 gbps using the 60 ghz industrial, scientific, and medical (ism) frequency band. the dmg standard supports three phy types:
a control phy using mcs 0
a single carrier (sc) phy using mcs 1 to mcs 12 and low power sc phy using mcs 25 to mcs 32
an ofdm phy using mcs 13 to mcs 24.
dmg defines four 2.16 ghz wide operating channels, typically in the 57-66 ghz band. the spectral mask test, as demonstrated in this example, ensures a transmission in one channel does not cause substantial interference in adjacent channels. the dmg channelization is shown in the figure below.
the sc dmg phy uses single-carrier (sc) modulation for low cost, short range applications. this example shows how pulse shaping and spectrum mask measurements can be performed on an sc dmg modulated waveform. the waveform is generated using wlan toolbox™, but a waveform captured with a spectrum analyzer could also be used. the transmitter spectrum mask and required spectral flatness for dmg configuration is specified in ieee 802.11ad [ 1 ], section 20.3.2.
this example generates five dmg sc packets, each separated by a one microsecond gap. random data is used in each packet and pi/2-16qam modulation is used. to meet the spectral mask requirements, the baseband waveform is upsampled and filtered to reduce the out-of-band emissions. a high power amplifier (hpa) model is used to introduce inband distortion and spectral regrowth. the spectral emission mask measurement is performed on the upsampled waveform after the hpa modeling. the test schematic is illustrated in the following diagram:
dmg, single carrier packet configuration
in this example, an ieee 802.11ad waveform consisting of multiple dmg sc packets is generated. the dmg sc waveform properties are specified in a configuration object. the object is configured for an mcs index of 5, with no traininglength
fields appended to the packets. per the test requirement (specified in ieee 802.11ad section 21.3.2), the psdulength
is set to 20000 for the packet to ensure that the transmit spectral mask is measured on a dmg packet longer than 10 microseconds.
cfgdmg = wlandmgconfig; % dmg packet configuration cfgdmg.mcs = 5; % sc phy with pi/2-bpsk modulation cfgdmg.psdulength = 20000; % length in bytes
baseband waveform generation
the waveform generator can be configured to generate one or more packets with idle time between each packet. in this example, is configured to generate five packets filled with random payload data. each packet is separated by a one microsecond idle period in between and a random scrambler seed is used to generate each packet.
% set random stream for repeatability of results s = rng(98765); % generate a multi-packet waveform idletime = 1e-6; % one microsecond idle time between packets numpackets = 5; % generate five packets % create random bits for all payload data; psdulength is in bytes psdu = randi([0 1],cfgdmg.psdulength*8*numpackets,1); % override the scramblerinitialization property of the dmg configuration % object by specifying the scrambler initialization genwaveform = wlanwaveformgenerator(psdu,cfgdmg,... 'idletime',idletime, ... 'numpackets',numpackets, ... 'scramblerinitialization',randi([1 127],numpackets,1)); % get the sampling rate of the waveform fs = wlansamplerate(cfgdmg); disp(['baseband sampling rate: ' num2str(fs/1e6) ' msps']);
baseband sampling rate: 1760 msps
oversampling and filtering
spectral filtering is used to reduce the out-of-band spectral emissions due to the spread spectrum characteristics of the transmitted waveform and spectral regrowth caused by the hpa in an rf chain. the waveform must be oversampled to model the effect of the hpa on the waveform and view the out-of-band spectral emissions. in this example, the waveform is oversampled and filtered through a raised cosine filter using . to meet the spectral mask requirements, the raised cosine filter is truncated to the duration of eight symbols and the roll-off factor is set to 0.5.
% define the pulse shaping filter characteristics nsym = 8; % filter span in symbol durations beta = 0.5; % roll-off factor osps = 4; % output samples per symbol % create raised cosine transmit filter system object rcosflt = comm.raisedcosinetransmitfilter(... 'shape','normal', ... 'rollofffactor',beta, ... 'filterspaninsymbols',nsym, ... 'outputsamplespersymbol',osps); % filter transmit signal for pulse shaping filterwaveform = rcosflt([genwaveform; zeros(nsym/2,1)]); % plot the magnitude and phase response of the pulse shaping filter h = fvtool(rcosflt,'analysis','freq'); h.fs = osps*fs; % set sampling rate h.normalizedfrequency = 'off'; % plot responses against frequency
high power amplifier modeling
within an rf chain, the hpa is a necessary component but it introduces nonlinear behavior in the form of inband distortion and spectral regrowth. the rapp model, described in [ 2 ], can be used to model an 802.11ad power amplifier. the rapp model causes am/am distortion and is modeled with . the hpa is backed-off to operate below the saturation point to reduce distortion.
hpabackoff = 0.5; % power amplifier backoff in db % create and configure a memoryless nonlinearity to model hpa nonlinearity = comm.memorylessnonlinearity; nonlinearity.method = 'rapp model'; nonlinearity.smoothness = 0.81; % smoothness factor nonlinearity.lineargain = 20*log10(4.65) - hpabackoff; % small signal gain nonlinearity.outputsaturationlevel = 0.58; % saturation level % apply the model txwaveform = nonlinearity(filterwaveform);
transmit spectrum emission mask measurement
ieee 802.11ad [ 1 ], section 20.3.2, specifies the transmit spectral mask that all dmg waveforms must adhere to and describes the packet characteristics. according to the test definition, packets should have no training fields appended and be greater than 10 microseconds in duration.
dbrlimits = [-30 -30 -22 -17 0 0 -17 -22 -30 -30]; flimits = [-inf -3.06 -2.7 -1.2 -0.94 0.94 1.2 2.7 3.06 inf] * 1e3; rbw = 1e6; % resolution bandwidth in hz vbw = 300e3; % video bandwidth in hz
use the helper function helperspectralmasktest
to generate a plot that overlays the required spectral mask with the measured psd. it checks the transmitted psd levels to be within the specified mask levels and displays a pass/fail status after the test.
helperspectralmasktest(txwaveform,fs,osps,dbrlimits,flimits,rbw,vbw);
% restore default stream
rng(s);
spectrum mask passed
conclusion and further exploration
the transmit spectral mask for a dmg sc waveform in the 60 ghz band for a 2.16 ghz channel bandwidth is shown in this example. it also illustrates that the spectrum of the transmitted signal satisfies regulatory restrictions by falling within the spectral mask after pulse shaping. a similar result can be generated for dmg control and ofdm phys.
the hpa model and the spectral filtering affect the out-of-band emissions in the spectral mask plot. for single carrier and control phy, you can try using different pulse shaping filter parameters and/or decrease or increase the smoothness factor.
for information on other transmitter measurements like modulation accuracy and spectral flatness, refer to the following examples:
selected bibliography
ieee std 802.11™-2020. ieee standard for information technology - telecommunications and information exchange between systems - local and metropolitan area networks - specific requirements - part 11: wireless lan medium access control (mac) and physical layer (phy) specifications.
eldad perahia, et. al. tgad evaluation methodology, ieee 802.11-09/0296r16