Datasheet
PIC16C77X
1999-2013 Microchip Technology Inc. Advance Information DS30275B-page 123
11.6 A/D Sample Requirements
11.6.1 RECOMMENDED SOURCE IMPEDANCE
The maximum recommended impedance for ana-
log sources is 2.5 k. This value is calculated based
on the maximum leakage current of the input pin. The
leakage current is 100 nA max., and the analog input
voltage cannot be vary by more than 1/4 LSb or
250 mV due to leakage. This places a requirement on
the input impedance of 250 V/100 nA = 2.5 k.
11.6.2 SAMPLING TIME CALCULATION
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 11-8. 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), see Figure 11-8. The maximum recom-
mended impedance for analog sources is 2.5 k.
After the analog input channel is selected (changed)
this sampling must be done before the conversion can
be started.
To calculate the minimum sampling time,
Equation 11-6 may be used. This equation assumes
that 1/4 LSb error is used (16384 steps for the A/D).
The 1/4 LSb error is the maximum error allowed for the
A/D to meet its specified resolution.
The C
HOLD is assumed to be 25 pF for the 12-bit
A/D.
FIGURE 11-6: A/D SAMPLING TIME EQUATION
VHOLD =(VREF - VREF/16384) = (VREF) • (1 -e
(-T
C/C (RIC +RSS + RS)
) V
REF(1 - 1/16384) = VREF • (1 -e
(-T
C/C (RIC +RSS + RS)
)
TC = -CHOLD (1k + RSS + RS) In (1/16384)
Figure 11-7 shows the calculation of the minimum time
required to charge C
HOLD. This calculation is based on
the following system assumptions:
C
HOLD = 25 pF
R
S = 2.5 k
1/4 LSb error
V
DD = 5V RSS = 10 k(worst case)
Temp (system Max.) = 50C
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 2.5 k. This is
required to meet the pin leakage specifi-
cation.
4:After a conversion has completed, 2 T
AD
time must be waited before sampling can
begin again. During this time the holding
capacitor is not connected to the selected
A/D input channel.
774.book Page 123 Tuesday, January 29, 2013 12:02 PM