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 about digital SDM output quantization noise by fft

Status
Not open for further replies.

hhq414

Member level 1
Joined
Mar 30, 2007
Messages
37
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,529
Hi all,
When I use simulink to simulate a MASH111 SDM for pll, the output are digital for example ...-2,-1,0,1,2,3..., and I want to convert this value to output quantization noise. The code I used to do convertion is as follow:
Fref=1e6
NFFT=8096
SIMOUTave=mean(simout)
y=(simout(1:NFFT)-SIMOUTave).*hanning(NFFT);
Y=fft(y,NFFT)/NFFT;
pyy=Y.*conj(Y);
f = Fref/2*linspace(0,1,NFFT/2+1);
semilogx(f,10*log10(pyy(1:1:NFFT/2+1)));
axis([100 1e6 -250 -90]);
xlabel('frequency');
ylabel('quantization noise')
grid on
And the result is also attached. The blue line represent what I get using the above code, and the red line is by direct calculation(attached).But there is a great differece in power. Is anyone know what is wrong with the above code?
 

The power of your simout signal needs to be scaled to +/- 1 (now you have [-2,3]).
In general, for an sdm, the absolute output power (in simulation) is not important (it is the power of a bitstream). The difference of powers is what really matters!
 

JoannesPaulus said:
The power of your simout signal needs to be scaled to +/- 1 (now you have [-2,3]).
In general, for an sdm, the absolute output power (in simulation) is not important (it is the power of a bitstream). The difference of powers is what really matters!
Hi, JoannesPaulus. If you want to know how much phase noise your SDM contributes to the whole PLL, you should know exactly how much quantization it has. So if anyone know, please help!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top