数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN1798 数据表(PDF) 7 Page - STMicroelectronics

部件名 AN1798
功能描述  This application note describes
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN1798 数据表(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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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