EasyManua.ls Logo

ST STM32

ST STM32
49 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
How to get the best ADC accuracy AN2834
28/49 DocID15067 Rev 3
3.2.6 Analog source resistance calculation
Let us assume that the maximum error allowed is equal to 1/2 LSB. We will calculate the
maximum source resistance allowed.
V
c
is the voltage across the internal C
ADC
capacitor (refer to Figure 15).
Then we have:
Error V
AIN
V
c
1
2
---
LSB==
Figure 25. Worst case error: V
AIN
= V
REF+
Let t
s
be the sampling time.
t
s
= T
S
/f
ADC
, where T
s
is the sampling time evaluated by cycles (1)
For a given t
s
, the error corresponding to V
AIN
= V
REF+
is greater than the error
corresponding to V
AIN
< V
REF+
because the C
ADC
capacitor takes more time to charge from
0 V to V
AIN
when V
AIN
= V
REF+
than it takes when V
AIN
< V
REF+
(refer to Figure 25). So
V
AIN
= V
REF+
is the worst case to be taken into account in the demonstration of the
maximum source resistance.
Error V
REF+
V
REF+
1e
t
s
R
max
C
ADC
--------------------------------
⎝⎠
⎜⎟
⎜⎟
⎜⎟
⎜⎟
⎛⎞
1
2
---
V
REF+
2
N
------------------ -
==
where:
R
max
= (R
AIN
+ R
ADC
)max(2)
N is the ADC resolution (in our case N = 12)
This gives:
. Thus:
R
max
t
s
C
ADC
2
N1+
()ln
-------------------------------------------- -
=
(3)
DLE
9
$,1
 9
5()
9
$,1
9
5()
(UURU9
$,1
 9
5()
!(UURU9
$,1
9
5()

9
9
F
W
(UURU9
$,1
9
5()

W
V
(UURU9
$,1
9
5()


Table of Contents

Other manuals for ST STM32

Related product manuals