Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN1798 Datasheet(PDF) 7 Page - STMicroelectronics

Part # AN1798
Description  This application note describes
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1798 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button AN1798 Datasheet HTML 3Page - STMicroelectronics AN1798 Datasheet HTML 4Page - STMicroelectronics AN1798 Datasheet HTML 5Page - STMicroelectronics AN1798 Datasheet HTML 6Page - STMicroelectronics AN1798 Datasheet HTML 7Page - STMicroelectronics AN1798 Datasheet HTML 8Page - STMicroelectronics AN1798 Datasheet HTML 9Page - STMicroelectronics AN1798 Datasheet HTML 10Page - STMicroelectronics AN1798 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 16 page
background image
AN1798
Calibration and linearization technique
7/16
3
Calibration and linearization technique
3.1
Principle
ADC calibration is done by software, it consists of a new calculation of the gain, the quantum
and the offset each time the application is executed.
Initially, the you have to obtain the ADC conversion digital result for 0 V and 2.5 V by
applying two stable voltage external sources (0 V and 2.5 V) to the ADC input in order to
calculate the ADC gain and the quantum.
Next, you need to calculate the average of these two values by reading each value n times
and dividing by n to reach the average values.
After that, calculate the unsigned values of ADC_DATA(2.5V) and ADC_DATA(0V) (these
values are two’s complement).
Then, calculate the ADC range or the sweep of conversion in count / volt:
sweep = Unsigned[ADC_DATA(2.5V)] - Unsigned[ADC_DATA(0V)].
Finally, calculate the gain and the quantum:
G = sweep / 2.5 V
q = 2.5 V / sweep
The principle of linearization is to shift the half-lines ‘A’ and ‘B’ respectively down and up to
obtain one segment: ‘C’. Then, subtract the offset as shown in the following figure.
Figure 4.
Linearization
These segments are linearized by software by adding 0x800 if the reading value is positive
(the most significant bit is set to 0). If this value is negative (the most significant bit is set to
1) subtract its two’s complement from 0x800. Then, subtract the offset from this value. The
offset value is equal to Unsigned[ADC_DATA(0V)].
0x800
0xFFF
VCM=1.25V
2.5 V
ADC_DATA(0V)
ADC_DATA(2.5V)
Offset
Vin
ADC_DATA
0x800
0xFFF
VCM=1.25 V
2.5 V
Offset
Vin
ADC_DATA
Final segment
Counts off
Linearize the segments
Subtract the offset
then
subtract the
offset
Offset
Full scale
A
B
C
C



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


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