Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1798 Datasheet(PDF) 11 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) 11 Page - STMicroelectronics

Back Button 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 AN1798 Datasheet HTML 12Page - STMicroelectronics AN1798 Datasheet HTML 13Page - STMicroelectronics AN1798 Datasheet HTML 14Page - STMicroelectronics AN1798 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 16 page
background image
AN1798
Calibration and linearization technique
11/16
Example of results with this software:
The software determine the averages of the two voltage levels (0 and 2.5 V) which are
applied to Channel 0 and Channel 1 respectively and these results are shown in the
debugger:
ADC_Min: 0x963 (0 V) = 2403 decimal (average value)
ADC_Max: 0x66E (2.5 V) = 1646 decimal (average value)
Then, the software determines their unsigned values:
Unsigned_Min (0 V) = 0x800 - ((~0x963 & 0xFFF) + 1)
= 0x165
= 357 decimal
Unsigned_Max (2.5 V) = 0x800 + 0x66E
= 0xE6E
= 3694 decimal
Then the software determines the sweep of conversion:
Sweep = Unsigned_Max - Unsigned_Min
= 0xE6E - 0x165
= 0xD09
= 3337 decimal
Finally it determines the gain G and the quantum q:
G = 3337 / 2.5 V = 1334.8 Volt -1
q = 2.5V/3337 = 749 µV
For example a voltage level = 1.60 V is applied to Channel 0, we get:
Conversion_Result = 0x124
Unsigned_Result = 0x800 + 0x124 = 0x924
The calibrated conversion result after subtracting the offset is:
Calibrated_Result_Data = Unsigned_Result - Unsigned_Min
= 0x9C0 - 0x165
= 0x85B
= 2139 decimal
It is possible also to determine the applied voltage value in Channel 0 by multiplying this
result by the quantum:
Calibrated_Result_Volt = 2139 * 749 µV = 1602111µV ~ 1.60 V
Ideally 1.60V converted value is: 1334.8 * 1.60 = 2136
The accuracy of conversion is: 2136 / 2139 = 99.8%



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