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

X  

AN3137 Datasheet(PDF) 19 Page - STMicroelectronics

Part # AN3137
Description  Analog-to-digital converter on STM8L and STM8AL devices
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3137 Datasheet(HTML) 19 Page - STMicroelectronics

Back Button AN3137 Datasheet HTML 15Page - STMicroelectronics AN3137 Datasheet HTML 16Page - STMicroelectronics AN3137 Datasheet HTML 17Page - STMicroelectronics AN3137 Datasheet HTML 18Page - STMicroelectronics AN3137 Datasheet HTML 19Page - STMicroelectronics AN3137 Datasheet HTML 20Page - STMicroelectronics AN3137 Datasheet HTML 21Page - STMicroelectronics AN3137 Datasheet HTML 22Page - STMicroelectronics AN3137 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 42 page
background image
AN3137
ADC errors
Doc ID 16983 Rev 3
19/42
If the ADC converter has a 12-bit resolution (n=12) then the maximum precision is 1/2 LSB
level (0.5/4096 from full range). So the acceptable error caused by charging Csamp through
all resistors is 0.5/4096 (during tS sampling time = 4 to 384 cycles of fADC clock). Then the
maximum resistor value Rmax=Rext+Rsw+Rmpx is obtained from the following equation:
error
U
c
U
i
–
()
U
i
-----------------------
=
e
t
S
f
ADC
-----------
R
max
C
samp
⋅
------------------------------------
–
0.5
n
--------
=
=
R
max
t
S
f
ADC
C
samp
0.5
n
--------
ln
⋅⋅
----------------------------------------------------------
–
=
For worst case: fADC = 16 MHz, 12-bit resolution (n = 12) required and sampling time = 4
clocks (tS = 4), the maximum serial resistor is:
R
max
4
16
10
6
⋅
()
16
10
12
–
⋅
()
0.5
4096
-------------
ln
⋅⋅
-----------------------------------------------------------------------------------------------
–
=
1.7k
Ω
≅
and the maximum external resistor is:
R
ext
R
max
R
sw
R
mpx
+
()
–
1.7k
Ω cca.1.2kΩ
()
–
500
Ω
≅
≅
=
The external parasitic PCB and package capacitance must also be taken into account.
Therefore the maximum resistance of external signal source Rext is lower, and in practice
Rext < 500 Ω is suggested.
In case of longer sampling times and reduced number of ADC clocks, better results can be
obtained: for instance, sampling time can be extended to 384 cycles (instead of 4 cycles),
which offers an allowed resistance higher than 50 k
Ω (@ 16 MHz ADC clock). It is possible
to further increase the allowed external resistance by decreasing the ADC clock frequency
or selecting a lower resolution. Refer to the datasheet of your device to obtain the exact
values of the RC parameters.
3.5.2
ADC reference voltage source
One of the biggest potential sources of errors in an ADC is the reference voltage. It is
important to look at three reference voltage specifications: temperature drift, voltage noise,
long term stability.
3.5.3
Temperature influence
Temperature has a big effect on ADC precision. Mainly two specifications are important:
offset drift and gain drift. These errors can be compensated in microcontroller firmware. One
method is to fully characterize the offset and gain drift and provide a lookup table in memory
to correct measurement due to temperature change. The ADC in each MCU device must
then be compensated individually - therefore this calibration takes additional cost and time.
The second method is to recalibrate the ADC when the temperature change reaches given
values.



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 41 42


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