Datasheet

1998-2013 Microchip Technology Inc. DS30289C-page 183
PIC17C7XX
16.1 A/D Acquisition Requirements
For the A/D converter 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-3. The
source impedance (R
S) and the internal sampling
switch (R
SS) impedance directly affect the time
required to charge the capacitor C
HOLD. The sampling
switch (R
SS) impedance varies over the device voltage
(V
DD), Figure 16-3. The maximum recommended
impedance for analog sources is 10 k. As the
impedance is decreased, the acquisition time may be
decreased. After the analog input channel is selected
(changed) this 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 (1024 steps for the A/D). The
1/2 LSb error is the maximum error allowed for the A/D
to meet its specified resolution.
Example 16-1 shows the calculation of the minimum
required acquisition time (T
ACQ). This is based on the
following application system assumptions.
C
HOLD = 120 pF
Rs = 10 k
Conversion Error 1/2 LSb
V
DD = 5V Rss = 7 k
(see graph in Figure 16-3)
Temperature = 50C (system max.)
V
HOLD =0V @ time = 0
EQUATION 16-1: ACQUISITION TIME
EQUATION 16-2: A/D MINIMUM CHARGING TIME
EXAMPLE 16-1: CALCULATING THE MINIMUM REQUIRED ACQUISITION TIME
TACQ = Amplifier Settling Time +
Holding Capacitor Charging Time +
Temperature Coefficient
=TAMP + TC + TCOFF
V
HOLD = (VREF - (VREF/2048)) • (1 - e
(-Tc/CHOLD(RIC + RSS + RS))
)
or
TC = -(120 pF)(1 k + RSS + RS) ln(1/2047)
T
ACQ =TAMP + TC + TCOFF
Temperature coefficient is only required for temperatures > 25C.
TACQ =2 s + Tc + [(Temp - 25C)(0.05 s/C)]
T
C =-CHOLD (RIC + RSS + RS) ln(1/2047)
-120 pF (1 k + 7 k + 10 k) ln(0.0004885)
-120 pF (18 k) ln(0.0004885)
-2.16 s (-7.6241)
16.47 s
T
ACQ =2 s + 16.47 s + [(50×C - 25C)(0.05 sC)]
18.447 s + 1.25 s
19.72 s
Note 1: The reference voltage (VREF) has no effect on the equation since it cancels itself out.
2: The charge holding capacitor (C
HOLD) is not discharged after each conversion.
3: The maximum recommended impedance for analog sources is 10 k. This is required to meet the pin
leakage specification.
4: After a conversion has completed, a 2.0 T
AD delay must complete before acquisition can begin again.
During this time, the holding capacitor is not connected to the selected A/D input channel.