công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN1711 bảng dữ liệu(PDF) 30 Page - STMicroelectronics

tên linh kiện AN1711
Giải thích chi tiết về linh kiện  SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1711 bảng dữ liệu(HTML) 30 Page - STMicroelectronics

Back Button AN1711 Datasheet HTML 26Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 40 page
background image
30/40
SOFTWARE TECHNIQUES FOR COMPENSATING ST7 ADC ERRORS
00-0x7F and 0x200 to 0x27F: +2
0x80-0xFF and 0x280 to 0x2FF: +1
0x100-0x17F and 0x300 to 0x37F: -1
0x180-0x200 and 0x380-0x3FF: 2
4.2.6 Autocalibration for Offset and Gain errors
Approximate Offset and Gain errors can be calculated by software and external hardware and
these parameters can be used for calibrating the ADC. Use a spare analog channel for calcu-
lating the offset and gain error. Use an external resistor network to get the known voltages
near to ground and VDDA. Do the ADC conversion on this spare ADC channel and calculate
the Offset and Gain error.
Figure 20. Hardware setup for calculating offset and gain errors
Example:
Get the low voltage on AIN2 equivalent to 10LSB and get the voltage on AIN1 as (1023-
10)LSB for a 10-bit ADC. After doing the ADC conversion on AIN2, the digital code received
can be compared to 10LSB and offset error can be calculated. This will be an approximate
value and assumes a straight line transfer curve from the first transition to the 10LSB. Similarly
gain error can be calculated and compensated.
The resistor should be precise with less than 1% tolerance.
Resistance values chosen were R1=R3=100 Ohm, R2=9.8K Ohm.
For VDDA = 5V,
Expected digital output on AIN2 = (100/10K)*1023 = 10 (approx.)
Expected digital output on AIN1 = ((100+9.8K)/10K)* 1023 = 1012.7 = 1013 (approx.)
AIN0
VAIN
ADC
Microcontroller
AIN2
\/\/\/\/\/\/
AIN1
VSSA
VDDA
R1
R2
R3



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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