首页 > 微波/射频 > RFIC设计学习交流 > 产生snr vs input amplitude(dbfs)图 疑问

产生snr vs input amplitude(dbfs)图 疑问

录入:edatop.com    阅读:
用sdtoolbox产生snr vs input amplitude(dbfs)图的时候 ,snr由的toolbox仿真得到, input amplitude(dbfs) 如何得到,是用输入信号的幅度/参考电压吗?

图中Y轴的值如何理解

for Ampl=0.1:0.05:Vref
Vzero=zeros(1,8);
t0=clock;
fd=1;
yy1=zeros(1,N);
open_system('ONE_PATH')
options=simset('InitialState', zeros(1,5), 'RelTol', 1e-3, 'MaxStep', 2*Ts);
sim('ONE_PATH', (N+Ntransient)/Fs, options);
%**************************************************************************************%
%**************Calculates SNR and PSD of the bit-stream and of the signal**************%
%**************************************************************************************%
yy1=Output(2+Ntransient:1+N+Ntransient)';
ptot=zeros(1,N);
[snr,ptot,psigdB,pnoisedB]=calcSNR(yy1(1:N),f,fBL,fBH,w,N);
Rbit=(snr-1.76)/6.02;

s1=sprintf('   SNR(dB)=%1.3f',snr);
s2=sprintf('   Simulation time =%1.3f min',etime(clock,t0)/60);
disp(s1)
disp(s2)
VrefOUT=[VrefOUT;Vref];
SNROUT=[SNROUT;snr];
AmplOUT=[AmplOUT;Ampl];
Vref
    end
end
ALLOUT=[VrefOUT,AmplOUT,SNROUT];
csvwrite('outputdata',ALLOUT);
ALLOUT

请问全差分输入2.5+1,2.5+(-1)的sin信号 vref 0,5 dbfs 是怎么算的,

看你电路的fullscale是多少,输入信号除掉这个值就行了。
简单的说就是2.5+2.5, 2.5-2.5的最大sin wave会对应到0dbfs
其馀的以此类推

申明:网友回复良莠不齐,仅供参考。如需专业解答,请学习本站推出的微波射频专业培训课程

上一篇:请教:TSMC工艺参数
下一篇:设计高速I/O需要的基础知识

射频和天线工程师培训课程详情>>

  网站地图