ADC0817
ADC0817
December 1994
Block Diagram
TL/H/5277 – 1
Electrical Characteristics
Converter Specifications: VCC e 5 VDC e VREF( a ), VREF(b) e GND, VIN e VCOMPARATOR IN,TMINsTMAX and fCLK e 640 kHz
unless otherwise stated.
Symbol Parameter Conditions Min Typ Max Units
ADC0816
Total Unadjusted Error 25§ C g (/2 LSB
(Note 5) TMIN to TMAX g */4 LSB
ADC0817
Total Unadjusted Error 0§ C to 70§ C g1 LSB
(Note 5) TMIN to TMAX g 1(/4 LSB
Input Resistance From Ref( a ) to Ref(b) 1.0 4.5 kX
Analog Input Voltage Range (Note 4)V( a ) or V(b) GNDb0.10 VCC a 0.10 VDC
VREF( a ) Voltage, Top of Ladder Measured at Ref( a ) VCC VCC a 0.1 V
VREF( a ) a VREF(b)
Voltage, Center of Ladder VCC/2b0.1 VCC/2 VCC/2 a 0.1 V
2
VREF(b) Voltage, Bottom of Ladder Measured at Ref(b) b 0.1 0 V
Comparator Input Current fc e 640 kHz, (Note 6) b2 g 0.5 2 mA
Electrical Characteristics
Digital Levels and DC Specifications: ADC0816CCJ, ADC0816CCN, ADC0817CCNÐ4.75VsVCCs5.25V, b40§ CsTAs a 85§ C
unless otherwise noted.
Symbol Parameter Conditions Min Typ Max Units
ANALOG MULTIPLEXER
RON Analog Multiplexer ON (Any Selected Channel)
Resistance TA e 25§ C, RL e 10k 1.5 3 kX
TA e 85§ C 6 kX
TA e 125§ C 9 kX
DRON DON Resistance Between Any (Any Selected Channel) 75 X
2 Channels RL e 10k
IOFF a OFF Channel Leakage Current VCC e 5V, VIN e 5V,
TA e 25§ C 10 200 nA
TMIN to TMAX 1.0 mA
IOFF(b) OFF Channel Leakage Current VCC e 5V, VIN e 0,
TA e 25§ C b 200 nA
TMIN to TMax b 1.0 mA
CONTROL INPUTS
VIN(1) Logical ‘‘1’’ Input Voltage VCCb1.5 V
VIN(0) Logical ‘‘0’’ Input Voltage 1.5 V
2
Electrical Characteristics (Continued)
Digital Levels and DC Specifications: ADC0816CCJ, ADC0816CCN, ADC0817CCNÐ4.75VsVCC s5.25V, b40§ CsTAs a 85§ C
unless otherwise noted.
Electrical Characteristics
Timing Specifications: VCC e VREF( a ) e 5V, VREF(b) e GND, tr e tf e 20 ns and TA e 25§ C unless otherwise noted.
3
Functional Description
Multiplexer: The device contains a 16-channel single-end- Additional single-ended analog signals can be multiplexed
ed analog signal multiplexer. A particular input channel is to the A/D converter by disabling all the multiplexer inputs
selected by using the address decoder. Table 1 shows the using the expansion control. The additional external signals
input states for the address line and the expansion control are connected to the comparator input and the device
line to select any channel. The address is latched into the ground. Additional signal conditioning (i.e., prescaling, sam-
decoder on the low-to-high transition of the address latch ple and hold, instrumentation amplification, etc.) may also
enable signal. be added between the analog input signal and the compara-
TABLE 1 tor input.
Selected Address Line Expansion CONVERTER CHARACTERISTICS
Analog Channel D C B A Control The Converter
IN0 L L L L H The heart of this single chip data acquisition system is its 8-
bit analog-to-digital converter. The converter is designed to
IN1 L L L H H
give fast, accurate, and repeatable conversions over a wide
IN2 L L H L H
range of temperatures. The converter is partitioned into 3
IN3 L L H H H major sections: the 256R ladder network, the successive
IN4 L H L L H approximation register, and the comparator. The converter’s
IN5 L H L H H digital outputs are positive true.
IN6 L H H L H The 256R ladder network approach (Figure 1) was chosen
IN7 L H H H H over the conventional R/2R ladder because of its inherent
IN8 H L L L H monotonicity, which guarantees no missing digital codes.
IN9 H L L H H Monotonicity is particularly important in closed loop feed-
IN10 H L H L H back control systems. A non-monotonic relationship can
IN11 H L H H H cause oscillations that will be catastrophic for the system.
Additionally, the 256R network does not cause load varia-
IN12 H H L L H
tions on the reference voltage.
IN13 H H L H H
The bottom resistor and the top resistor of the ladder net-
IN14 H H H L H
work in Figure 1 are not the same value as the remainder of
IN15 H H H H H the network. The difference in these resistors causes the
All Channels OFF X X X X L output characteristic to be symmetrical with the zero and
X e don’t care full-scale points of the transfer curve. The first output tran-
sition occurs when the analog signal has reached a (/2 LSB
and succeeding output transitions occur every 1 LSB later
up to full-scale.
TL/H/5277 – 2
FIGURE 1. Resistor Ladder and Switch Tree
4
TL/H/5277 – 3 TL/H/5277 – 4
FIGURE 2. 3-Bit A/D Transfer Curve FIGURE 3. 3-Bit A/D Absolute Accuracy Curve
TL/H/5277 – 5
FIGURE 4. Typical Error Curve
Timing Diagram
TL/H/5277 – 7
FIGURE 5
5
The successive approximation register (SAR) performs 8 it- The most important section of the A/D converter is the
erations to approximate the input voltage. For any SAR type comparator. It is this section which is responsible for the
converter, n-iterations are required for an n-bit converter. ulimate accuracy of the entire converter. It is also the com-
Figure 2 shows a typical example of a 3-bit converter. In the parator drift which has the greatest influence on the repeat-
ADC0816, ADC0817, the approximation technique is ex- ability of the device. A chopper-stabilized comparator pro-
tended to 8 bits using the 256R network. vides the most effective method of satisfying all the convert-
The A/D converter’s successive approximation register er requirements.
(SAR) is reset on the positive edge of the start conversion The chopper-stabilized comparator converts the DC input
(SC) pulse. The conversion is begun on the falling edge of signal into an AC signal. This signal is then fed through a
the start conversion pulse. A conversion in process will be high gain AC amplifier and has the DC level restored. This
interrupted by receipt of a new start conversion pulse. Con- technique limits the drift component of the amplifier since
tinuous conversion may be accomplished by tying the end- the drift is a DC component which is not passed by the AC
of-conversion (EOC) output to the SC input. If used in this amplifier. This makes the entire A/D converter extremely
mode, an external start conversion pulse should be applied insensitive to temperature, long term drift and input offset
after power up. End-of-conversion will go low between 0 errors.
and 8 clock pulses after the rising edge of start conversion. Figure 4 shows a typical error curve for the ADC0816 as
measured using the procedures outlined in AN-179.
Connection Diagram
Dual-In-Package
TL/H/5277 – 6
Order Number ADC0816CCN, ADC0817CCN,
ADC0816CCJ or ADC0816CJ
See NS Package Number J40A or N40A
6
Typical Performance Characteristics
TL/H/5277 – 8
FIGURE 6. Comparator IIN vs VIN FIGURE 7. Multiplexer RON vs VIN
(VCC e VREF e 5V) (VCC e VREF e 5V)
TL/H/5277 – 9
TL/H/5277 – 10
FIGURE 8
7
Applications Information
OPERATION
1.0 RATIOMETRIC CONVERSION Ratiometric transducers such as potentiometers, strain
The ADC0816, ADC0817 is designed as a complete Data gauges, thermistor bridges, pressure transducers, etc., are
Acquisition System (DAS) for ratiometric conversion sys- suitable for measuring proportional relationships; however,
tems. In ratiometric systems, the physical variable being many types of measurements must be referred to an abso-
measured is expressed as a percentage of full-scale which lute standard such as voltage or current. This means a sys-
is not necessarily related to an absolute standard. The volt- tem reference must be used which relates the full-scale
age input to the ADC0816 is expressed by the equation voltage to the standard volt. For example, if VCC e VREF e
5.12V, then the full-scale range is divided into 256 standard
VIN DX
e steps. The smallest standard step is 1 LSB which is then 20
VfsbVZ DMAXbDMIN (1) mV.
VIN e Input voltage into the ADC0816 2.0 RESISTOR LADDER LIMITATIONS
Vfs e Full-scale voltage The voltages from the resistor ladder are compared to the
VZ e Zero voltage selected input 8 times in a conversion. These voltages are
DX e Data point being measured coupled to the comparator via an analog switch tree which
DMAX e Maximum data limit is referenced to the supply. The voltages at the top, center
and bottom of the ladder must be controlled to maintain
DMIN e Minimum data limit proper operation.
The top of the ladder, Ref( a ), should not be more positive
A good example of a ratiometric transducer is a potentiome- than the supply, and the bottom of the ladder, Ref(b),
ter used as a position sensor. The position of the wiper is should not be more negative than ground. The center of the
directly proportional to the output voltage which is a ratio of ladder voltage must also be near the center of the supply
the full-scale voltage across it. Since the data is represent- because the analog switch tree changes from N-channel
ed as a proportion of full-scale, reference requirements are switches to P-channel switches These limitations are auto-
greatly reduced, eliminating a large source of error and cost maticaly satisfied in ratiometric systems and can be easily
for many applications. A major advantage of the ADC0816, met in ground referenced systems.
ADC0817 is that the input voltage range is equal to the sup- Figure 10 shows a ground referenced system with a sepa-
ply range so the transducers can be connected directly rate supply and reference. In this system, the supply must
across the supply and their outputs connected directly into be trimmed to match the reference voltage. For instance, if
the multiplexer inputs, (Figure 9 ). a 5.12V reference is used, the supply should be adjusted to
the same voltage within 0.1V.
TL/H/5277 – 11
FIGURE 9. Ratiometric Conversion System
8
Applications Information (Continued)
The ADC0816 needs less than a milliamp of supply current The top and bottom ladder voltages cannot exceed VCC
so developing the supply from the reference is readily ac- and ground, respectively, but they can be symmetrically less
complished. In Figure 11 a ground references system is than VCC and greater than ground. The center of the ladder
shown which generates the supply from the reference. The voltage should always be near the center of the supply. The
buffer shown can be an op amp of sufficient drive to supply sensitivity of the converter can be increased, (i.e., size of
the millliamp of supply current and the desired bus drive, or the LSB steps decreased) by using a symmetrical reference
if a capacitive bus is driven by the outputs a large capacitor system. In Figure 13 , a 2.5V reference is symmetrically cen-
will supply the transient supply current as seen in Figure 12 . tered about VCC/2 since the same current flows in identical
The LM301 is overcompensated to insure stability when resistors. This system with a 2.5V reference allows the LSB
loaded by the 10 mF output capacitor. to be half the size of the LSB in a 5V reference system.
TL/H/5277 – 12
FIGURE 10. Ground Referenced
Conversion System Using Trimmed Supply
TL/H/5277 – 13
FIGURE 11. Ground Referenced Conversion System with
Reference Generating VCC Supply
9
Applications Information (Continued)
TL/H/5277 – 14
FIGURE 12. Typical Reference and Supply Circuit
TL/H/5277 – 15
FIGURE 13. Symmetrically Centered Reference
3.0 CONVERTER EQUATIONS
The transition between adjacent codes N and N a 1 is The output code N for an arbitrary input are the integers
given by: within the range:
Ð (V Ð 256 ( (
N 1 VINbVREF(b)
VIN e REF( a ) b VREF(b)) a g VTUE a VREF(b) (2) Ne c 256 g Absolute Accuracy (4)
512
VREF( a )bVREF(b)
The center of an output code N is given by:
where: VIN e Voltage at comparator input
Ð (V Ð 256 ( (
N
VIN e REF( a ) b VREF(b)) g VTUE a VREF(b) (3) VREF e Voltage at Ref( a )
VREF e Voltage at Ref(b)
VTUE e Total unadjusted error voltage (typically
VREF( a ) d 512)
10
Applications Information (Continued)
4.0 ANALOG COMPARATOR INPUTS If no filter capacitors are used at the analog or comparator
The dynamic comparator input current is caused by the peri- inputs and the signal source impedances are low, the com-
odic switching of on-chip stray capacitances These are con- parator input current should not introduce converter errors,
nected alternately to the output of the resistor ladder/switch as the transient created by the capacitance discharge will
tree network and to the comparator input as part of the die out before the comparator output is strobed.
operation of the chopper stabilized comparator. If input filter capacitors are desired for noise reduction and
The average value of the comparator input current varies signal conditioning they will tend to average out the dynamic
directly with clock frequency and with VIN as shown in Fig- comparator input current. It will then take on the character-
ure 6 . istics of a DC bias current whose effect can be predicted
conventionally. See AN-258 for further discussion.
Typical Application
TL/H/5277 – 16
*Address latches needed for 8085 and SC/MP interfacing the ADC0816, 17 to a microprocessor
Ordering Information
TEMPERATURE RANGE b 40§ C to a 85§ C
11
12
Physical Dimensions inches (millimeters)
13
ADC0816/ADC0817 8-Bit mP Compatible A/D Converters with 16-Channel Multiplexer
Physical Dimensions inches (millimeters) (Continued)
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL
SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or 2. A critical component is any component of a life
systems which, (a) are intended for surgical implant support device or system whose failure to perform can
into the body, or (b) support or sustain life, and whose be reasonably expected to cause the failure of the life
failure to perform, when properly used in accordance support device or system, or to affect its safety or
with instructions for use provided in the labeling, can effectiveness.
be reasonably expected to result in a significant injury
to the user.
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.