Electronic Components Datasheet Search
  English  ▼

X  

AN1711 Datasheet(PDF) 31 Page - STMicroelectronics

Part # AN1711
Description  SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1711 Datasheet(HTML) 31 Page - STMicroelectronics

Back Button AN1711 Datasheet HTML 27Page - STMicroelectronics AN1711 Datasheet HTML 28Page - STMicroelectronics AN1711 Datasheet HTML 29Page - STMicroelectronics AN1711 Datasheet HTML 30Page - STMicroelectronics AN1711 Datasheet HTML 31Page - STMicroelectronics AN1711 Datasheet HTML 32Page - STMicroelectronics AN1711 Datasheet HTML 33Page - STMicroelectronics AN1711 Datasheet HTML 34Page - STMicroelectronics AN1711 Datasheet HTML 35Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 40 page
background image
31/40
SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS
Offset error (approx.) = Ideal digital value - Actual digital value
Eo approx. = 10-(DIgital code AIN2)
Gain error (approx.) = Actual digital value - Ideal digital value
Eg approx. = (Digital code AIN1)-1013
Please note that the offset error is the difference between first actual transition and first ideal
transition. When the actual digital code for same input voltage is received less than the ex-
pected (ideal) analog input, this means that a higher input voltage will be required to produce
the same digital code. This results in a positive offset error. So we have reversed the polarity
and used the ideal digital value - actual digital value, instead of actual analog value- ideal an-
alog value. This calculation is approximate. The results received thus can be used for cali-
brating the ADC.
Similarly we can calculate the Gain errors.
Mathematic calculations
Assuming the ADC transfer curve is a straight line, we obtain the linear function:
Y= ax+b .........[1]
where Y is the converter output i.e digital code
a is the slope of the transfer curve
x is the input/ actual reading
b is the offset
For the 1st conversion result of an input voltage equivalent to 10LSB:
Y1 = a * x1 + b .... [2]
For the 2nd conversion result of an input voltage equivalent to 1013LSB:
Y2 = a * x2 + b ..... [3]
Subtracting [3] - [2]
Y2-Y1 = a (x2-x1) ......[4]
slope a = (Y2-Y1)/(x2-x1) ....[5]
Putting this value of ‘a’ in the equation [2]
b = Y1- ((Y2-Y1)/(x2-x1)) * x1 .....[6]
as, Y = ax + b
x = (Y-b)/a



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com