NG Toolset开发笔记--5GNR Resource Grid(5)
6/4~6/7号基本完成PUSCH需求分析,篇幅很长(refer to 38.211/38.212/38.213/38.214/38.331):
PUSCH Requirement Analysis Part I
PUSCH/DMRS/PTRS端口号starting with 0
SRS端口号starting with 1000
PUCCH/DMRS端口号starting with 2000
PRACH端口号starting with 4000
第一步:scrambling
For cw q=0, bit sequence is scrambled into
bits, and scrambling sequence is initialized with
。
n_ID配置:如果RNTI为C-RNTI,则n_ID = dataScramblingIdentityPUSCH;否则,n_ID = n_PCI。
加扰算法中x/y的说明(38.212 5.3.3.1节和5.3.3.2节,分别对应1bit和2bits HARQ-ACK):
第二步:modulation
The scrambled bits is modulated into
symbols。
BPSK is only supported when transform-precoding(PUSCH-tp) is enabled.
第三步:layer mapping
The modulated symbols are mapped onto upto to 4 layers,, with each layer:
,
, where v is the layer number, and
is number of symbols per layer.
第四步:transform percoding
如果PUSCH-tp = disabled, then
否则,如果PUSCH-tp = enabled, v =1(there is only one layer), map into
at first:
如果高层未配置PTRS,则将平均分成个set,每个set对应1个OFDM symbol,并且有
。
如果高层配置了PTRS,则将分割成set,每个set对应1个OFDM symbol,并且set
的symbol长度为
(即扣除PTRS开销)。Set
映射为
,其中
。
l 为PTRS组数
l 为PTRS每组sample数目
l 是ofdm symbol
中PTRS sample的位置(假设symbol
中包含PTRS)
l = 1 如果OFDM symbol
中包含PTRS,否则,
= 0
An example PTRS mapping with M_PUSCH_sc = 36:
5GNR的transform precoding方案与LTE相同。
5GNR:
LTE: