electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

plotting SNR


Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog Circuit Design -> plotting SNR
Author Message
cjupiter



Joined: 10 May 2004
Posts: 45


Post27 Oct 2004 20:11   

plotting SNR


Does anybody know how I could plot the SNR or SNDR of a sigma delta converter using spice. Im using B2 Spice A/D Pro.

I am also open to any suggestions of how to plot useful results for a sigma delta modulator.

Thanks for any help! Very Happy
Back to top
borodenkov



Joined: 02 Mar 2004
Posts: 129
Helped: 11


Post28 Oct 2004 0:27   

plotting SNR


Well, personally I used Matlab for it. It should be possible to do it with SPICE signal postproscessing as well, but for me Matlab is more convenient..

The idea is - you make transient simulations in SPICE, then sample the output voltage(s) during the correct clock phase and print them to file then load the data in Matlab. After that round voltages to be exactly 0 or 1 since it's a digital signal now, window it (I used Hanning window), make fft and and calculate PSD. To calculate SNR find the noise signal (substract the input signal from the output) and get the ratio. You can look in some available Matlab files (e.g. Schreier's package) for math..


Last edited by borodenkov on 28 Oct 2004 3:42; edited 1 time in total
Back to top
andy2000a



Joined: 18 Jul 2001
Posts: 767
Helped: 7


Post28 Oct 2004 3:41   

Re: plotting SNR


in A/D convert design need know ENOB for bit resolution , we use .fft
(not .four)

but you need ideal D/A

your A/D -> digital code -> ideal D/A -> ( option) Low pass filer

and you .fft analysis D/A out put signal
if input is 100kHz then you can get 100KHz signal from D/A

ideal D/A you can use hspice behavior element make it ..
Back to top
Google
AdSense
Google Adsense




Post28 Oct 2004 3:41   

Ads




Back to top
gingerjiang



Joined: 01 Mar 2006
Posts: 212
Helped: 11


Post07 Feb 2007 10:42   

Re: plotting SNR


you can refer to jacob baker's book - "CMOS Mixed-Signal Circuit Design", and there is a detailed explanation.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog Circuit Design -> plotting SNR
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
mimo channels implementation.........plotting ber snr plot (1)
plotting gm in spectre (9)
Plotting in cadence (18)
plotting in cadence (3)
Plotting gm in HSPICE... (4)
Plotting in IE3D (5)
Plotting in matlab... (1)
Plotting CV in SPICE (5)
Plotting in Virtuoso (5)
Plotting a pcb layout (5)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS