NBIOT PSS信号的产生如下,是由正交的ZC序列和一个正交的时域扩展序列S(l),时间方向上占据11个符号,前三个符合空下来,其原因是在inband模式下避开LTE的PDCCH信道,但是在standalone模式下是一种浪费,在频域上占据11个子载波。
MATLAB实现:
clc,clear,close all;
% refere 3GPP 36.211 10.2.7 10.2.8
% sl generate
Sl_Code = [1,1,1,1,-1,-1,1,1,1,-1,1];
% zc sequen generate
root_index_u = 5;
zc_seq = exp(-1i*pi*root_index_u*(0:10).*(1:11)/11);
zc_seq_add0 = [zeros(1,58), zc_seq, zeros(1,59)];
zc_seq_add0_shift = fftshift(zc_seq_add0);
zc_seq_add0_shift_ifft = ifft(zc_seq_add0_shift)*sqrt(128)*2;
pss_signal_cp9 = [zc_seq_add0_shift_ifft(end-8:end), zc_seq_add0_shift_ifft];
pss_signal_cp10 = [zc_seq_add0_shift_ifft(end-9:end), zc_seq_add0_shift_ifft];
pss_signal_cp9 = pss_signal_cp9 .* exp(1i*2*pi*(7.5e3)*(-9:127)/1.92e6); % according to 3gpp shift 7.5k
pss_signal_cp10 = pss_signal_cp10 .* exp(1i*2*pi*(7.5e3)*(-10:127)/1.92e6);
d_l_n = [];
for n=1:11
if n ~= 5
d_l_n = [d_l_n pss_signal_cp9*Sl_Code(n)];
else
d_l_n = [d_l_n pss_signal_cp10*Sl_Code(n)];
end
end
figure;plot(real(d_l_n));
欢迎关注微信订阅号:nb_lte_5g ,每天更新,手把手教你学习通信