Rank: 213 based on 286 downloads (last 30 days) and 1 file submitted
photo

Richard Schreier

E-mail
Company/University
Analog Devices, Inc.
Lat/Long
43.40000152587891, 79.23999786376953

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Richard
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Dec 2011 Screenshot Delta Sigma Toolbox High-level design and simulation of delta-sigma modulators Author: Richard Schreier dac, adc, deltasigma, data converter, sigmadelta, electronics 286 87
  • 4.58065
4.6 | 63 ratings
Comments and Ratings on Richard's Files View all
Updated File Comment by Comments Rating
20 Mar 2013 Delta Sigma Toolbox High-level design and simulation of delta-sigma modulators Author: Richard Schreier ding

Dear Richard Schreier,
I am a new man in deltasigma, so I follow your book" Understanding Delta-Sigma Data Converters by Schreier and Temes (ISBN 0-471-46585-2)" step by step, and I meet a problem "figure 8.4" and "figure 8.5" in page "265" and "266".
In your book, the SNR without window is "SNR = 76.4 dB @ OSR = 64",the SNR with window is "SNR = 119.2 dB @ OSR = 64".
But to my simulation, the result is "SNR = 86.1 dB @ OSR = 64" without window, "SNR = 85.7 dB @ OSR = 64" with window.
this is my code:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear;
clc;
close all;

%synthesizeNTF
OSR= 64;
H= synthesizeNTF(5, OSR, 1);
nLev= 3;
Nfft= 2^ 13;
tone_bin= 57;
t= [0: Nfft- 1];
u= 0.5* (nLev- 1)* sin(2* pi* tone_bin/ Nfft* t);
v= simulateDSM(u, H, nLev);
n= 1: 150;
stairs(t(n), u(n), 'g');
hold on;
stairs(t(n), v(n), 'b');

%NTF simulation, SQNR cal and spectral estimation without window
spec = fft(v)/(Nfft*(nLev-1)/2);
snr = calculateSNR(spec(1:ceil(Nfft/(2*OSR))+1),tone_bin);
NBW = 1/Nfft;
f = linspace(0,0.5,Nfft/2+1); %this may be ahead?
Sqq = 4*(evalTF(H,exp(2i*pi*f))/(nLev-1)).^2/3;
figure; %add a new figure
plot(f,dbv(spec(1:Nfft/2+1)),'b')
hold on;
plot(f,dbp(Sqq*NBW),'m','Linewidth',1);
s= sprintf('SNR= %4.1fdB @ OSR= %2.0f\n', snr, OSR);
text(0.05, -20, s);

%NTF simulation, SQNR cal and spectral estimation without window
spec = fft(v.*(hann(Nfft)'))/(Nfft*(nLev-1)/4); %convert hann(Nfft) to vector matrix
snr = calculateSNR(spec(1:ceil(Nfft/(2*OSR))+1),tone_bin);
NBW = 1.5/Nfft;
f = linspace(0,0.5,Nfft/2+1); %this may be ahead?
Sqq = 4*(evalTF(H,exp(2i*pi*f))/(nLev-1)).^2/3;
figure; %add a new figure
plot(f,dbv(spec(1:Nfft/2+1)),'b')
hold on;
plot(f,dbp(Sqq*NBW),'m','Linewidth',1);
s= sprintf('SNR= %4.1fdB @ OSR= %2.0f\n', snr, OSR);
text(0.05, -20, s);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I use matlab r2011b for windows 64bit;

30 Oct 2012 Delta Sigma Toolbox High-level design and simulation of delta-sigma modulators Author: Richard Schreier jha, pankaj

I am trying to implement a SDM using delsig toolbox. The following are the commands I try to run, along with the errors.

H = synthesizeChebyshevNTF(2,12.5,1,1.5,0);
>> stf = zpk([],[],1,1) ;
>> [a g b c] = realizeNTF(H,'CRFFD',stf)
Error using /
Matrix dimensions must agree.

Error in realizeNTF (line 246)
a = -real(zL1/T);

Can you suggest me how to rectify the error???

10 Jun 2012 Delta Sigma Toolbox High-level design and simulation of delta-sigma modulators Author: Richard Schreier Maxim

Possible bug in function quantize() (file simulateDSM.c).
In saturate code:
if( vv > nLevels )
vv = nLevels-1;
else if( vv < -nLevels )
vv = 1-nLevels;

May be correctly:

if( vv > (nLevels -1))
vv = nLevels-1;
else if( vv < (1-nLevels) )
vv = 1-nLevels;

Regards,
Maxim

24 May 2012 Delta Sigma Toolbox High-level design and simulation of delta-sigma modulators Author: Richard Schreier macau

good thanks

02 Apr 2012 Delta Sigma Toolbox High-level design and simulation of delta-sigma modulators Author: Richard Schreier Li, Zhao

To the folks having trouble compiling the Mex files on Windows with 64-bit Matlab (bizet74 perhaps?), you will need to define the '__STDC__' symbol. For example, to compile simulateDSM.c, you would do 'mex -D__STDC__
simulateDSM.c'

Regards,

Zhao

Top Tags Applied by Richard
adc, dac, data converter, delsig, delta sigma
Files Tagged by Richard
Updated   File Tags Downloads
(last 30 days)
Comments Rating
29 Dec 2011 Screenshot Delta Sigma Toolbox High-level design and simulation of delta-sigma modulators Author: Richard Schreier dac, adc, deltasigma, data converter, sigmadelta, electronics 286 87
  • 4.58065
4.6 | 63 ratings

Contact us