Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help regarding SNR of CT sigma delta

Status
Not open for further replies.

vrs007

Member level 1
Member level 1
Joined
Dec 20, 2005
Messages
35
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,288
Activity points
1,499
snr ct



That is the paper I am trying to implement,without the half-delay i.e z^(-1/2)...I donno why my SNR stays constant at around 27 dB...I have attached the CT simulink file and the code used to calculate SNR...can anyone please chk it...


**broken link removed**

Code:
clc;
out1=simout';
N=8192*4; 
fs=640e6; 
y=out1(1:N);
w=hann(N);
y_w=y.*w';
fft_y=fft(y_w);
fft_y(N/2+1:N)=[];
amp_y=(abs(fft_y)./N)*sqrt(2);
y_db=20*log10(amp_y);
f=0:fs/N:((fs/2)-fs/N);
figure(1),
plot(f,y_db);
figure(2),
plot(amp_y);
signal_bin=[778:780];
noise_bin=[1:777 781:1024];
s=norm(abs(fft_y(signal_bin)));
n=norm(abs(fft_y(noise_bin)));
sdb=20*log10(s);
ndb=20*log10(n);
snr=20*log10(s/n);
disp(snr);disp(sdb);disp(ndb);

The main problem is my fundamental signal freq...it is not at 0dB

Spectrum from paper...and my spectrum...pl chk the peak...its not 0 dB
**broken link removed**
**broken link removed**
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top