Datasheet

PIC16(L)F1946/47
DS41414D-page 172 2010-2012 Microchip Technology Inc.
16.5 A/D Acquisition Requirements
For the ADC to meet its specified accuracy, the charge
holding capacitor (C
HOLD) must be allowed to fully
charge to the input channel voltage level. The Analog
Input model is shown in Figure 16-4. The source
impedance (R
S) and the internal sampling switch (RSS)
impedance directly affect the time required to charge
the capacitor C
HOLD. The sampling switch (RSS)
impedance varies over the device voltage (V
DD), refer
to Figure 16-4.
The maximum recommended
impedance for analog sources is 10 k.
As the
source impedance is decreased, the acquisition time
may be decreased. After the analog input channel is
selected (or changed), an A/D acquisition must be
done before the conversion can be started. To calculate
the minimum acquisition time, Equation 16-1 may be
used. This equation assumes that 1/2 LSb error is used
(1,024 steps for the ADC). The 1/2 LSb error is the
maximum error allowed for the ADC to meet its
specified resolution.
EQUATION 16-1: ACQUISITION TIME EXAMPLE
TACQ Amplifier Settling Time Hold Capacitor Charging Time Temperature Coefficient++=
T
AMP TC TCOFF++=
2µs T
C Temperature - 25°C0.05µs/°C++=
TC CHOLD RIC RSS RS++ ln(1/2047)=
VAPPLIED 1e
Tc
RC
---------



VAPPLIED 1
1
2
n1+
1
--------------------------


=
VAPPLIED 1
1
2
n1+
1
--------------------------


VCHOLD=
VAPPLIED 1e
TC
RC
----------



VCHOLD=
;[1] VCHOLD charged to within 1/2 lsb
;[2] V
CHOLD charge response to VAPPLIED
;combining [1] and [2]
The value for T
C can be approximated with the following equations:
Solving for T
C:
Therefore:
Temperature 50°C and external impedance of 10k
5.0V VDD=
Assumptions:
Note: Where n = number of bits of the ADC.
T
ACQ 2µs 1.37µs 50°C- 25°C0.05µs/°C++=
4.62µs=
10pF 1k 7k 10k++4.88 10
4
ln=
1.37µs=