The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 31st, 2024, 7:19pm
Pages: 1
Send Topic Print
DNL and INL in incremental ADC (Read 2512 times)
singh
Community Member
***
Offline



Posts: 57

DNL and INL in incremental ADC
Dec 28th, 2011, 4:39am
 
i have plotted output Vs input function for 2nd order ADC without missing any codes.
I just swept my DC input from 0 to 3 V and got my output codes for 14 bit ADC.

Now i wanted to plot DNL(in LSB) and INL(in LSB) plots with respect to input of ADC. for that i referred the code at below mentioned link.
http://inst.eecs.berkeley.edu/~n247/matlab_files/inldnl.m

now my doubt is
1) it asks 'input argument' as output of ADC,
% compute histogram
[counts,centers] = hist(x, min(x):delta:max(x));

but it gives DNl values in huge range like 5000 max and minimum 0..which is weird !!


2) it plots graph between DNL(in lSB) Vs bins but i need to plot it against input voltage...how to change that becoz while plotting the DNL values have more values then input?

3) in the following line of code,
title(sprintf('DNL and INL of %.1g Bit converter (from histogram testing)', ...
     log2(N)));

why it always gives wrong value of converter resolution becoz N is based on length of DNL and DNL is based on counts ehich is very very high due to min(x):LSB:max(x) line in code? now how to rectify it in the given code ?
please help me regarding this

thanks in advance..
Back to top
« Last Edit: Dec 28th, 2011, 5:58am by singh »  

plot.png
View Profile   IP Logged
ywguo
Community Fellow
*****
Offline



Posts: 943
Shanghai, PRC
Re: DNL and INL in incremental ADC
Reply #1 - Dec 30th, 2011, 7:26am
 
Hi Singh,

Did you feed a linear ramp signal on ADC input?
Would u pls provide a plot for the output code vs time/cycle?
Can attach the sampled data file?

Yawei
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.