calculating snr in delsig toolbox

Status
Not open for further replies.

sona_

Junior Member level 1
Joined
Nov 23, 2014
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
139
hello
i was simulating of a first order adc using code given in book of richard scherier. for calculating SNR he uses (page 265)
snr = calculateSNR(spec(1:ceil(Nfft/(2*OSR))+1), tone_bin)...
where spec is spec = fft(v.*ds_hann(Nfft))/(Nfft*(nLev-1)/4);
well i don't understand this.if i calculate my SNR using the standard formulae of
(3.3L+1.6)log(OSR)+quantizer bits+1.6log(2L+1)-1.6L where L is the order i get completely different results.
thanx i
 

also as i calculate snr from the above code ideally the complete range of snr for different OSR of the second order sigma delta modulator should be high as compare to the ist order sigma delta modulator.but m getting lesser SNRs for 2nd order than ist orders
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…