我怎样才能操纵/控制?RS
您通常从所需的脉率。然后,每个符号的样本数为,其中是采样率,。得到的信号带宽将为,其中是您选择使用的脉冲中的多余带宽。RSfsTSfsTS=1/RSB=(1+β)RS/2β
在其他情况下,您有所需的带宽。在这种情况下,脉率由确定。采样率再次取决于您想要的每个符号的样本数。BRS=2B/(1+β)
如果您使用高阶或正交调制,则每个脉冲将传输位,其中是允许的脉冲幅度数。然后,,其中是比特率。上面的其他方程保持不变。k=2MMRS=Rb/kRb
我的计算出了什么问题?
您在带宽公式中错过了 =0)的速率位每秒,您需要。使用多余的带宽,您需要,这与您的结果一致。1/2RS=106βB=500 kHz0.35B=500×1.35=675 kHz
为了完整起见,这里有一些 Matlab 代码和结果图:
b = randi([0,1],10000,1); % generate bits
a = 2*b-1; % generate pulse amplitudes
Rs = 1; % define the pulse rate
Ts = 1/Rs;
fs = 4; % define the sampling frequency
beta = 0.35; % define the EBW
p = rcosdesign(beta, 20, Ts*fs); % raised cosine pulse with 4 sps and 0.35 EBW
% Now we upsample the amplitudes by a factor fs.
a_up = upsample(a,fs);
% The transmitted signal is the convolution of a_up with p
s = conv(p,a_up);
% Let's see the spectrum of s:
S = fft(s);
L = length(s);
P2 = abs(S/L);
P1 = P2(1:L/2+1);
P1(2:end-1) = 2*P1(2:end-1);
f = fs*(0:(L/2))/L;
plot(f,P1);
% Plot a line at the bandwidth
hold on; plot([0.675, 0.675], [0,0.02],'r'); hold off;
