
14. A/D Converter
page 212
9
2
3
f
o
7
0
2
,
5
1
.
b
e
F
0
.
2
.
v
e
R
0
2
0
-
2
0
2
0
B
9
0
J
E
R
)
T
6
2
/
C
6
1
M
,
B
6
2
/
C
6
1
M
,
A
6
2
/
C
6
1
M
(
p
u
o
r
G
A
6
2
/
C
6
1
M
14.5 Output Impedance of Sensor under A/D Conversion
To carry out A/D conversion properly, charging the internal capacitor C shown in Figure 14.5.1 has to be
completed within a specified period of time. T (sampling time) as the specified time. Let output imped-
ance of sensor equivalent circuit be R0, microcomputer’s internal resistance be R, precision (error) of
the A/D converter be X, and the A/D converter’s resolution be Y (Y is 1024 in the 10-bit mode, and 256
in the 8-bit mode).
VC is generally VC = VIN{1-e c(R0+R)
}
And when t = T,
VC=VIN-
VIN=VIN(1-
)
e c(R0+R)
=
-
T = ln
Hence,
R0 = -
- R
Figure 14.5.1 shows analog input pin and externalsensor equivalent circuit. When the difference be-
tween VIN and VC becomes 0.1LSB, we find impedance R0 when voltage between pins. VC changes
from 0 to VIN-(0.1/1024) VIN in timer T. (0.1/1024) means that A/D precision drop due to insufficient
capacitor chage is held to 0.1LSB at time of A/D conversion in the 10-bit mode. Actual error however is
the value of absolute precision added to 0.1LSB. When f(XIN) = 10MHz, T=0.3
s in the A/D conversion
mode with sample & hold. Output inpedance R0 for sufficiently charging capacitor C within time T is
determined as follows.
T = 0.3
s, R = 7.8k, C = 1.5pF, X = 0.1, and Y = 1024. Hence,
R0 = -
- 7.8 X 103
13.9 X 103
Thus, the allowable output impedance of the sensor circuit capable of thoroughly driving the A/D con-
verter turns out of be approximately 13.9k
.
Figure 14.5.1 Analog Input Pin and External Sensor Equivalent Circuit
1
T
t
C(R0+R)
1
X
Y
X
Y
X
Y
X
Y
T
Cln
X
Y
1.5X10-12ln
0.1
1024
0.3X10-6
R0
R (7.8k
)
C (1.5pF)
VIN
VC
Sampling time
Sample-and-hold function enabled:
Sample-and-hold function disabled:
3
φAD
Microcomputer
Sensor equivalent
circuit
2
φAD
(1)
NOTES:
1. Reference value