微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > RFIC设计学习交流 > 产生snr vs input amplitude(dbfs)图 疑问

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

时间:10-02 整理:3721RD 点击:
用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
其馀的以此类推

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top