The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Mar 28th, 2024, 7:18pm
Pages: 1
Send Topic Print
power spectral density simulation of DSM used in fractional PLL (Read 8763 times)
lwzunique
Community Member
***
Offline



Posts: 38

power spectral density simulation of DSM used in fractional PLL
Jan 18th, 2017, 2:54am
 
I use the dsm model provided by cadence pllMMLib:SDM_MASH_3rd_111_macro. and run trans analysis,and then do psd to the output of the decimal output, range is -3 to 4. but the spectral is wrong?

the psd setting is as in the picture.

the frequency of the input clk is 16.384Mhz.
Back to top
 

QQ20170118185333.jpg
View Profile   IP Logged
lwzunique
Community Member
***
Offline



Posts: 38

Re: power spectral density simulation of DSM used in fractional PLL
Reply #1 - Jan 18th, 2017, 3:02am
 
the psd setting is as in the picture.
Back to top
 

QQ20170118190021.jpg
View Profile   IP Logged
cheap_salary
Senior Member
****
Offline



Posts: 162

Re: power spectral density simulation of DSM used in fractional PLL
Reply #2 - Jan 18th, 2017, 3:51am
 
lwzunique wrote on Jan 18th, 2017, 2:54am:
I use the dsm model provided by cadence pllMMLib:SDM_MASH_3rd_111_macro.
and run trans analysis,and then do psd to the output of the decimal output, range is -3 to 4.
but the spectral is wrong?
Plot it x-axis as log scale.
And apply Hanning window.

Did you confirm validity of output sequence of "pllMMLib/SDM_MASH_3rd_111_macro" ?

I don't use "pllMMLib/SDM_MASH_3rd_111_macro".
See http://www.designers-guide.org/Forum/YaBB.pl?num=1361756819/3#3
Back to top
 
 
View Profile   IP Logged
lwzunique
Community Member
***
Offline



Posts: 38

Re: power spectral density simulation of DSM used in fractional PLL
Reply #3 - Jan 18th, 2017, 5:55pm
 
cheap_salary wrote on Jan 18th, 2017, 3:51am:
lwzunique wrote on Jan 18th, 2017, 2:54am:
I use the dsm model provided by cadence pllMMLib:SDM_MASH_3rd_111_macro.
and run trans analysis,and then do psd to the output of the decimal output, range is -3 to 4.
but the spectral is wrong?
Plot it x-axis as log scale.
And apply Hanning window.

Did you confirm validity of output sequence of "pllMMLib/SDM_MASH_3rd_111_macro" ?

I don't use "pllMMLib/SDM_MASH_3rd_111_macro".
See http://www.designers-guide.org/Forum/YaBB.pl?num=1361756819/3#3

the output sequence of "pllMMLib/SDM_MASH_3rd_111_macro"  is -3 to 4, and its average value is the input fractional data, I think it is valid.

and when do psd to the decimal output, I also made it simple at every delatN number(I mean each decimal number in the psd time range.) hanning widow is also adopted. but the result, the shape of the psd curve not like you showed in this topic:http://www.designers-guide.org/Forum/YaBB.pl?num=1361756819/3#3, and the magnitude of the psd is also not in accordance with that in:http://literature.cdn.keysight.com/litweb/pdf/5989-9471EN.pdf, and have great difference with the result I got with simulink.

in cadence spectre simulation, my input clock's T is 50ns, so begin at 75ns and end at 3276.875u, there will be 65536 simples. I show it in the picture.

my question is:
1.why my curve shape is not like yours?
2.why the magnitude of the curves are so different from each other?
3.when do PSD, we should also apply dB10 to PSD function, right?
4.why should we choose hanning window, and if the window size surpass 1024, the psd result will be wrong, why?
Back to top
 

sdm.png
View Profile   IP Logged
lwzunique
Community Member
***
Offline



Posts: 38

Re: power spectral density simulation of DSM used in fractional PLL
Reply #4 - Jan 18th, 2017, 6:41pm
 
I changed the clock to 1MHz and BIT to 20 as you did in:http://www.designers-guide.org/Forum/YaBB.pl?num=1361756819/3#3
but in my simulation the order is mash111 not mash1111. the result is more like.

another question: let make it question 5: what do the smooth factors mean, it doesn't work when I changed the value?
Back to top
 

QQ20170119103715.jpg
View Profile   IP Logged
cheap_salary
Senior Member
****
Offline



Posts: 162

Re: power spectral density simulation of DSM used in fractional PLL
Reply #5 - Jan 18th, 2017, 8:11pm
 
lwzunique wrote on Jan 18th, 2017, 6:41pm:
but in my simulation the order is mash111 not mash1111.
Always you don't see anything carefully.

My examples are MASH-11. MASH-111 and MASH-1111.

Definition of FFT is different between MATLAB and Cadence ADE.

Back to top
 
 
View Profile   IP Logged
lwzunique
Community Member
***
Offline



Posts: 38

Re: power spectral density simulation of DSM used in fractional PLL
Reply #6 - Jan 18th, 2017, 8:49pm
 
thank you,@cheap_salary, in the:http://www.designers-guide.org/Forum/YaBB.pl?num=1361756819/3#3,how to get the smoothed-spectrum?
Back to top
 
 
View Profile   IP Logged
cheap_salary
Senior Member
****
Offline



Posts: 162

Re: power spectral density simulation of DSM used in fractional PLL
Reply #7 - Jan 18th, 2017, 8:59pm
 
See delta-sigma toolbox of MATLAB.

I ported "circ_smooth()" to Cadence ADE as Skill function.

https://jp.mathworks.com/matlabcentral/fileexchange/19-delta-sigma-toolbox/conte...
Back to top
 
« Last Edit: Jan 19th, 2017, 4:28am by cheap_salary »  
View Profile   IP Logged
cheap_salary
Senior Member
****
Offline



Posts: 162

Re: power spectral density simulation of DSM used in fractional PLL
Reply #8 - Jan 19th, 2017, 4:22am
 
lwzunique wrote on Jan 18th, 2017, 5:55pm:
the output sequence of "pllMMLib/SDM_MASH_3rd_111_macro" is -3 to 4,
No. It is no more than range of output codes.
You have not confirmed output sequences at all.

lwzunique wrote on Jan 18th, 2017, 5:55pm:
and its average value is the input fractional data, I think it is valid.
Maybe, output sequences are correct.

lwzunique wrote on Jan 18th, 2017, 5:55pm:
and the magnitude of the psd is also not in accordance with that in:http://literature.cdn.keysight.com/litweb/pdf/5989-9471EN.pdf, and have great difference with the result I got with simulink.
Definition of fft() is different between Keysight ADS PostProcessing and MathWorks MATLAB.

Study fft().

Definition of fft() is same between Keysight ADS PostProcessing and Cadence ADE PostProcessing.

lwzunique wrote on Jan 18th, 2017, 5:55pm:
1.why my curve shape is not like yours?
http://www.designers-guide.org/Forum/Attachments/QQ20170119103715.jpg seems reasonable.
This PSD is for delta_N, that is, frequency, so slope is +60dB/dec=2*order*20dB/dec.
PSD for phase is +40dB/dec=2*(order-1)*20dB/dec.
See http://www.designers-guide.org/Forum/YaBB.pl?num=1444923186/6#6

lwzunique wrote on Jan 18th, 2017, 5:55pm:
2.why the magnitude of the curves are so different from each other?
Simply your setting for psd() is not appropriate.

lwzunique wrote on Jan 18th, 2017, 5:55pm:
3.when do PSD, we should also apply dB10 to PSD function, right?
Right.

lwzunique wrote on Jan 18th, 2017, 5:55pm:
4.why should we choose hanning window,
See Appendix-A of the followings.
https://www.amazon.com/Understanding-Delta-Sigma-Converters-Richard-Schreier/dp/...

lwzunique wrote on Jan 18th, 2017, 5:55pm:
and if the window size surpass 1024, the psd result will be wrong, why?
Study psd().
See http://www.designers-guide.org/Forum/YaBB.pl?num=1405235104

lwzunique wrote on Jan 18th, 2017, 6:41pm:
another question: let make it question 5: what do the smooth factors mean, it doesn't work when I changed the value?
I can not understand what you want to mean at all.
Back to top
 
 
View Profile   IP Logged
lwzunique
Community Member
***
Offline



Posts: 38

Re: power spectral density simulation of DSM used in fractional PLL
Reply #9 - Jan 19th, 2017, 4:21pm
 

when doing psd in cadence spectre calculator, there is an option:smoothing factor.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.