modeling downlink control information -凯发k8网页登录
this example describes the downlink control information (dci) processing for the 5g new radio communications system. starting from a random dci message, it models the message encoding followed by the physical downlink control channel (pdcch) processing on the transmit end. corresponding receiver components recover the transmitted control information elements.
system parameters
set parameters for a ue-specific search space.
rng(211); % set rng state for repeatability nid = 23; % pdcch-dmrs-scramblingid rnti = 100; % c-rnti for pdcch in a ue-specific search space k = 64; % number of dci message bits e = 288; % number of bits for pdcch resources
dci encoding
the dci message bits based on a downlink format are encoded using the function, which includes the stages of crc attachment, polar encoding and rate matching.
dcibits = randi([0 1],k,1,'int8');
dcicw = nrdciencode(dcibits,rnti,e);
pdcch symbol generation
the encoded dci bits (a codeword) are mapped onto the physical downlink control channel (pdcch) using the function which generates the scrambled, qpsk-modulated symbols. the scrambling accounts for the user-specific parameters.
sym = nrpdcch(dcicw,nid,rnti);
for nr, the pdcch symbols are then mapped to the resource elements of an ofdm grid which also has pdsch, pbch and other reference signal elements. these are followed by ofdm modulation and transmission over a channel. for simplicity, we directly pass the pdcch symbols over an awgn channel next.
the following schematic depicts the components used in the example for dci processing.
channel
the pdcch symbols are transmitted over an awgn channel with a specified snr, accounting for the coding rate and qpsk modulation.
ebno = 3; % in db bps = 2; % bits per symbol, 2 for qpsk esno = ebno 10*log10(bps); snrdb = esno 10*log10(k/e); rxsym = awgn(sym,snrdb,'measured');
pdcch decoding
the received symbols are demodulated with known user-specific parameters and channel noise variance using the function. the soft output is the log-likelihood ratio for each bit in the codeword.
noisevar = 10.^(-snrdb/10); % assumes unit signal power
rxcw = nrpdcchdecode(rxsym,nid,rnti,noisevar);
dci decoding
an instance of the received pdcch codeword is then decoded by the function. this includes the stages of rate recovery, polar decoding and crc decoding to recover the transmitted information bits.
listlen = 8; % polar decoding list length
[decdcibits,mask] = nrdcidecode(rxcw,k,listlen,rnti);
isequal(mask,0)
ans = logical
1
isequal(decdcibits,dcibits)
ans = logical
1
for a known recipient, the c-rnti information aids decoding. the output mask value of 0 indicates no errors in the transmission. for the chosen system parameters, the decoded information matches the transmitted information bits.
see also
functions
- | | |