Prev: .mdl to m-file
Next: Help converting code to MEX file
From: Prashant Sandhi on 15 Feb 2010 06:45 Dear Freinds, I have these data and I would like to know if ADC that is present in the simulink 'Idealized ADC quantizer' is good enough to use. Analog input Vin=0.144 volts (DC signal) n=12 bit = 2^12=4096 Basic formula of ADC is = (2^n * Vin)/Vmax Reference voltage Vmax=10volts (This Vmax is give when I double click the 'Idealized ADC quantizer') The out put I get is '59'. I would like to understand what is the Digital value represents as. I dont understand how I can substitute Vin value after Analog-to-Digital conversion which is '59'. How can I have an eqivalent value obtained 59 = 0.144 volts into this below equation. I am not suppose to substitute 0.144 below but I heard I have to make signal processing so as to obtain its equivalent value and substitute in this below formula, but how?. y = ((0.297/(Vin+Vin)-1)*(10000+1000000); Any explanation will be appriciated. Sandhi
|
Pages: 1 Prev: .mdl to m-file Next: Help converting code to MEX file |