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.

Q about testing ADC in simulation level

Status
Not open for further replies.

yushen_yang

Newbie level 6
Joined
Nov 8, 2005
Messages
11
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,281
Activity points
1,386
Hi All,

For testing 10bits ADC in simulation level, I extract data from Hspice and import the data into Matlab to do FFT. Suppose my input is 2.11MHz and sampling rate is 10MHz, I use matlab codes to DAC in order to get the ideal analog output and then test SNR, ENOB, THD.

The problem is should I add a low pass filter before doing FFT?
Thx in advances.

YuShen
 

hi,

you sould not add a low pass filter, since it changes the received signal and then you can not evaluate the features of your ADC.

yours.
 

Hi yang,
That much theory I know is that, if use a ideal DAC...u don't need to use LPF....for ur case , as u are doing it in MATLAB, the DAC is definitely IDEAL.....

sankudey
 

Hi.
I agree with others. If you do the D/A conversion in MATLAB so you should not use LPF. But I just want to mention a few things:
If fs is samplinf freq and fin is input frequency:
fin = (N/M) * fs
and GSD(M,N) = 1
in this case you don't have to use windowing and then get FFT. You just get FFT, halve it, find the main bin and the rest is noise plus distortion (but ofcourse in your case it's just distortion. because HSpice can't calculate noise power unless you have modeled it somehow.)

Regards,
EZT
 

Hi EZT,
What u mentioned is correct. ALthough I am not aquinted with HSPICE, I think the noise model u are talking about is correct for all simulator. But I have a confusion here.
-->WHAT THE NOISE ARE U TALKING ABOUT?
If it is the noise from device, then perhaps u r right. But probably the concerned noise is the QUANTISATION NOISE, which straightway comes from the (Vin-Vout), as is the case for ADC.

Please rectify me if I am wrong.

One more question I have here. Once the spectrum is got, how to calculate the SNR,SINAD,ENOB etc. I got some theoritical explanations of the same but not very confirmed of the same and yet not have done in hand. Thus it would be of great help if u gve some light on the matter and also give some good reference on the same.

Regards
sankudey
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top