a FEATURES Complete Monolithic 12-Bit A/D Converters with Reference, Clock, and Three-State Output Buffers Industry Standard Pinout High Speed Upgrades for AD574A 8- and 16-Bit Microprocessor Interface 8 s (Max) Conversion Time (AD774B) 15 s (Max) Conversion Time (AD674B) 5 V, 10 V, 0 V-10 V, 0 V-20 V Input Ranges Commercial, Industrial, and Military Temperature Range Grades MIL-STD-883-Compliant Versions Available Complete 12-Bit A/D Converters AD674B*/AD774B* FUNCTIONAL BLOCK DIAGRAM 5V SUPPLY VLOGIC DATA MODE SELECT 12/8 CHIP SELECT CS BYTE ADDRESS/ SHORT CYCLE A0 READ/CONVERT R/C CHIP ENABLE CE 12V/15V SUPPLY VCC 10V REFERENCE REF OUT ANALOG COMMON AC REFERENCE INPUT REF IN -12V/-15V SUPPLY VEE BIPOLAR OFFSET BIPOFF 10V SPAN INPUT 10VIN 20V SPAN INPUT 20VIN 28 1 MSB N Y 3 B B S L T E 2 CONTROL 3 4 5 CLOCK 12 SAR 6 - 7 8 COMP + 10V REF I DAC 9 10 11 I REF 199.95 k + - 12 DAC N 13 14 VOLTAGE DIVIDER A T E VEE O U T P U T B U F F E R S A 26 DB10 25 DB9 24 DB8 N Y B B L E 23 DB7 B 20 DB4 N Y B B L E 19 DB3 C LSB 22 DB6 21 DB5 DIGITAL DATA OUTPUTS 18 DB2 17 DB1 16 DB0 (LSB) 15 AD674B/AD774B STATUS STS 27 DB11 (MSB) DIGITAL COMMON DC PRODUCT DESCRIPTION PRODUCT HIGHLIGHTS The AD674B and AD774B are complete 12-bit successiveapproximation analog-to-digital converters with three-state output buffer circuitry for direct interface to 8- and 16-bit microprocessor busses. A high-precision voltage reference and clock are included on chip, and the circuit requires only power supplies and control signals for operation. 1. Industry Standard Pinout: The AD674B and AD774B use the pinout established by the industry standard AD574A. The AD674B and AD774B are pin-compatible with the industry standard AD574A, but offer faster conversion time and busaccess speed than the AD574A and lower power consumption. The AD674B converts in 15 s (maximum) and the AD774B converts in 8 s (maximum). The monolithic design is implemented using Analog Devices' BiMOS II process allowing high-performance bipolar analog circuitry to be combined on the same die with digital CMOS logic. Offset, linearity, and scaling errors are minimized by active laser trimming of thin-film resistors. Five different grades are available. The J and K grades are specified for operation over the 0C to 70C temperature range. The A and B grades are specified from -40C to +85C, the T grade is specified from -55C to +125C. The J and K grades are available in a 28-lead plastic DIP or 28-lead SOIC. All other grades are available in a 28-lead hermetically sealed ceramic DIP. 2. Analog Operation: The precision, laser-trimmed scaling and bipolar offset resistors provide four calibrated ranges: 0 V to 10 V and 0 V to 20 V unipolar; -5 V to +5 V and -10 V to +10 V bipolar. The AD674B and AD774B operate on +5 V and 12 V or 15 V power supplies. 3. Flexible Digital Interface: On-chip multiple-mode three-state output buffers and interface logic allow direct connection to most microprocessors. The 12 bits of output data can be read either as one 12-bit word or as two 8-bit bytes (one with 8 data bits, the other with 4 data bits and 4 trailing zeros). 4. The internal reference is trimmed to 10.00 V with 1% maximum error and 10 ppm/C typical temperature coefficient. The reference is available externally and can drive up to 2.0 mA beyond the requirements of the converter and bipolar offset resistors. 5. The AD674B and AD774B are available in versions compliant with MIL-STD-883. Refer to the Analog Devices Military Products Databook or current AD674B/AD774B/883B data sheet for detailed specifications. *Protected by U.S. Patent Nos. 4,250,445; 4,808,908; RE30586. REV. C Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 www.analog.com Fax: 781/326-8703 (c) Analog Devices, Inc., 2002 (T to T AD674B/AD774B-SPECIFICATIONS V = +5 V 10%, V = -15 V 10% or -12 V 5%, unless otherwise noted.) MIN LOGIC MAX with VCC = +15 V 10% or +12 V 5%, EE J Grade K Grade Min Typ Max Min Typ Max Model (AD674B or AD774B) A Grade Min Typ Max B Grade Min Typ Max T Grade Min Typ Max Unit RESOLUTION 12 12 12 12 12 Bits LINEARITY ERROR @ 25C TMIN to TMAX 1 1 1/2 1/2 1 1 1/2 1/2 1/2 1 LSB LSB DIFFERENTIAL LINEARITY ERROR (Minimum Resolution for Which No Missing Codes are Guaranteed) 12 12 UNIPOLAR OFFSET 1 @ 25C 1 BIPOLAR OFFSET @ 25C FULL-SCALE CALIBRATION ERROR @ 25C (with Fixed 50 Resistor from REF OUT to REF IN) 12 12 12 Bits 2 2 2 2 2 LSB 6 3 6 3 3 LSB 1, 2 TEMPERATURE RANGE 0.1 0 0.25 70 0.1 0 0.125 70 0.1 0.25 -40 +85 0.1 -40 0.125 +85 0.1 0.125 -55 % of FS +125 C 3 TEMPERATURE DRIFT (Using Internal Reference) Unipolar Bipolar Offset Full-Scale Calibration 2 2 6 1 1 2 2 2 8 1 1 5 1 2 7 LSB LSB LSB POWER SUPPLY REJECTION Max Change in Full-Scale Calibration VCC = +15 V 1.5 V or +12 V 0.6 V VLOGIC = +5 V 0.5 V VEE = -15 V 1.5 V or -12 V 0.6 V 2 1/2 2 1 1/2 1 2 1/2 2 1 1/2 1 1 1/2 1 LSB LSB LSB +5 +10 10 20 V V V V 7 14 k k 5.5 16.5 -11.4 V V V ANALOG INPUT Input Ranges Bipolar Unipolar Input Impedance 10 V Span 20 V Span POWER SUPPLIES Operating Range VLOGIC VCC VEE Operating Current ILOGIC ICC IEE -5 -10 0 0 3 6 4.5 11.4 -16.5 POWER CONSUMPTION INTERNAL REFERENCE VOLTAGE Output Current (Available for External Loads) (External Load Should Not Change During the Conversion) 5 10 9.9 +5 +10 10 20 -5 -10 0 0 7 14 3 6 5 10 5.5 4.5 16.5 11.4 -11.4 -16.5 +5 +10 10 20 -5 -10 0 0 7 14 3 6 5.5 4.5 16.5 11.4 -11.4 -16.5 3.5 3.5 10 7 7 14 3.5 3.5 10 220 175 375 220 375 175 10.0 10.1 9.9 10.0 10.1 2.0 7 7 14 9.9 2.0 +5 +10 10 20 5 7 10 14 5.5 16.5 -11.4 -5 -10 0 0 3 6 5 10 4.5 11.4 -16.5 +5 +10 10 20 -5 -10 0 0 7 14 3 6 5.5 16.5 -11.4 4.5 11.4 -16.5 3.5 7 3.5 7 10 14 3.5 3.5 10 220 375 175 220 375 175 10.0 10.1 2.0 9.9 7 7 14 10.0 10.1 2.0 9.9 5 10 3.5 7 3.5 7 10 14 mA mA mA 220 375 175 mW4 mW5 10.0 10.1 V 2.0 mA NOTES 1 Adjustable to zero. 2 Includes internal voltage reference error. 3 Maximum change from 25C value to the value at TMIN or TMAX. 4 Tested with REF OUT tied to REF IN through 50 resistor, VCC = +16.5 V, VEE = -16.5 V, VLOGIC = +5.5 V, and outputs in high-Z mode. 5 Tested with REF OUT tied to REF IN through 50 resistor, VCC = +12 V, VEE = -12 V, VLOGIC = +5 V, and outputs in high-Z mode. Specifications subject to change without notice. Specifications shown in boldface are tested on all devices at final electrical test at TMIN, 25C, and TMAX. Results from those tests are used to calculate outgoing quality levels. All min and max specifications are guaranteed, although only those shown in boldface are tested. -2- REV. C AD674B/AD774B DIGITAL SPECIFICATIONS (For all grades TMIN to TMAX with VCC = +15 V 10% or +12 V 5%, VLOGIC = +5 V 10%, VEE = -15 V 10% or -12 V 5%, unless otherwise noted.) Parameter LOGIC INPUTS High Level Input Voltage VIH VIL Low Level Input Voltage High Level Input Current IIH IIL Low Level Input Current CIN Input Capacitance LOGIC OUTPUTS High Level Output Voltage VOH Low Level Output Voltage VOL High-Z Leakage Current IOZ COZ High-Z Output Capacitance SWITCHING SPECIFICATIONS Test Conditions Min Max Unit VIN = VLOGIC VIN = 0 V 2.0 -0.5 -10 -10 VLOGIC + 0.5 +0.8 +10 +10 10 V V A A pF 0.4 +10 10 V V A pF IOH = 0.5 mA IOL = 1.6 mA VIN = 0 to VLOGIC Symbol -10 (For all grades TMIN to TMAX with VCC = +15 V 10% or +12 V 5%, VLOGIC = +5 V 10%, VEE = -15 V 10% or -12 V 5%, unless otherwise noted.) tHEC CE CONVERTER START TIMING (Figure 1) Parameter 2.4 J, K, A, B Grades T Grade Min Typ Max Min Typ Max Unit tSSC CS tHSC tSRC tHRC Conversion Time 8-Bit Cycle (AD674B) tC 12-Bit Cycle (AD674B) tC 8-Bit Cycle (AD774B) tC 12-Bit Cycle (AD774B) tC STS Delay from CE tDSC CE Pulsewidth tHEC CS to CE Setup tSSC CS Low During CE High tHSC R/C to CE Setup tSRC R/C LOW During CE High tHRC A0 to CE Setup tSAC A0 Valid During CE High tHAC 6 9 4 6 8 12 5 7.3 10 15 6 8 200 50 50 50 50 50 0 50 6 9 4 6 8 12 5 7.3 10 15 6 8 225 50 50 50 50 50 0 50 s s s s ns ns ns ns ns ns ns ns R/C tHAC A0 tSAC STS tC tDSC DB11 - DB0 HIGH IMPEDANCE Figure 1. Convert Start Timing CE tHSR tSSR CS READ TIMING--FULL CONTROL MODE (Figure 2) R/C Parameter Access Time CL = 100 pF Data Valid After CE Low Output Float Delay CS to CE Setup R/C to CE Setup A0 to CE Setup CS Valid After CE Low R/C High After CE Low A0 Valid After CE Low Symbol tDD1 tHD J, K, A, B Grades T Grade Min Typ Max Min Typ Max Unit 75 5 tHL tSSR tSRR tSAR tHSR tHRR tHAR 150 252 203 75 150 50 0 50 0 0 50 150 252 154 150 50 0 50 0 0 50 ns ns ns ns ns ns ns ns ns ns NOTES 1 tDD is measured with the load circuit of Figure 3a and is defined as the time required for an output to cross 0.4 V or 2.4 V. 2 0C to TMAX. 3 At -40C. 4 At -55C. 5 tHL is defined as the time required for the data lines to change 0.5 V when loaded with the circuit of Figure 3b. Specifications shown in boldface are tested on all devices at final electrical test with worst case supply voltages at TMIN, 25C, and TMAX. Results from those tests are used to calculate outgoing quality levels. All min and max specifications are guaranteed, although only those shown in boldface are tested. Specifications subject to change without notice. A0 tSRR tHRR tHAR tSAR STS DB11 - DB0 tHD HIGH IMPEDANCE tDD HIGH IMPEDANCE DATA VALID tHL Figure 2. Read Cycle Timing 5V 3k DBN DBN 3k 100pF 100pF HIGH-Z TO LOGIC 1 High-Z to Logic 1 HIGH-Z TO LOGIC 0 High-Z to Logic 0 Figure 3a. Load Circuit for Access Time Test 5V 3k DBN DBN 3k 100pF LOGIC 1 TO HIGH-Z Logic 1 to High-Z 100pF LOGIC 0 TO HIGH-Z Logic 0 to High-Z Figure 3b. Load Circuit for Output Float Delay Test REV. C -3- AD674B/AD774B TIMING--STAND ALONE MODE (Figures 4a and 4b) Parameter Symbol Data Access Time Low R/C Pulsewidth STS Delay from R/C Data Valid After R/C Low STS Delay After Data Valid High R/C Pulsewidth tDDR tHRL tDS tHDR tHS tHRH tHRL J, K, A, B Grades T Grade Min Typ Max Min Typ Max Unit 150 50 200 25 30 150 150 50 200 600 225 25 30 200 600 150 R/C tDS ns ns ns ns ns ns STS tC tHS tHDR Specifications subject to change without notice. DB11-DB0 ABSOLUTE MAXIMUM RATINGS* HIGH-Z DATA VALID DATA VALID Flgure 4a. Standalone Mode Timing Low Pulse R/C VCC to Digital Common . . . . . . . . . . . . . . . . . . . 0 to +16.5 V VEE to Digital Common . . . . . . . . . . . . . . . . . . . . 0 to -16.5 V VLOGIC to Digital Common . . . . . . . . . . . . . . . . . . . 0 to +7 V Analog Common to Digital Common . . . . . . . . . . . . . . . 1 V Digital Inputs to Digital Common . . . -0.5 V to VLOGIC +0.5 V Analog Inputs to Analog Common . . . . . . . . . . . . VEE to VCC 20 VIN to Analog Common . . . . . . . . . . . . . . . . . . . . . . 24 V REF OUT . . . . . . . . . . . . . . . . . . Indefinite Short to Common . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Momentary Short to VCC Junction Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . 175C Power Dissipation . . . . . . . . . . . . . . . . . . . . . . . . . . . 825 mW Lead Temperature, Soldering (10 sec) . . . . . . . . . . . . . 300C Storage Temperature . . . . . . . . . . . . . . . . . . -65C to +150C R/C tHRH tDS STS tC tDDR DB11-DB0 HIGH-Z tHDR HIGH-Z DATA VALID tHL *Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Figure 4b. Standalone Mode Timing High Pulse for R/C ORDERING GUIDE Modell Temperature Conversion Time (max) INL (TMIN to TMAX) Package Description Package Option2 AD674BJN AD674BKN AD674BAR AD674BBR AD674BAD AD674BBD AD674BTD AD774BJN AD774BKN AD774BAR AD774BBR AD774BAD AD774BBD AD774BTD 0C to 70C 0C to 70C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -55C to +125C 0C to 70C 0C to 70C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -55C to +125C 15 s 15 s 15 s 15 s 15 s 15 s 15 s 8 s 8 s 8 s 8 s 8 s 8 s 8 s 1 LSB 1/2 LSB 1 LSB 1/2 LSB 1 LSB 1/2 LSB 1 LSB 1 LSB 1/2 LSB 1 LSB 1/2 LSB 1 LSB 1/2 LSB 1 LSB Plastic DIP Plastic DIP Plastic SOIC Plastic SOIC Ceramic DIP Ceramic DIP Ceramic DIP Plastic DIP Plastic DIP Plastic SOIC Plastic SOIC Ceramic DIP Ceramic DIP Ceramic DIP N-28 N-28 R-28 R-28 D-28 D-28 D-28 N-28 N-28 R-28 R-28 D-28 D-28 D-28 NOTES 1 For details on grade and package offerings screened in accordance with MIL-STD-883, refer to the Analog Devices Military Products Databook or the current AD674B/ AD774B/883B data sheet. 2 N = Plastic DIP; D = Hermetic DIP; R = Plastic SOIC. CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the AD674B/AD774B features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. -4- WARNING! ESD SENSITIVE DEVICE REV. C AD674B/AD774B DEFINITION OF SPECIFICATIONS Linearity Error Linearity error refers to the deviation of each individual code from a line drawn from "zero" through "full scale." The point used as "zero" occurs 1/2 LSB (1.22 mV for 10 V span) before the first code transition (all zeroes to only the LSB "on"). "Full scale" is defined as a level 1 1/2 LSB beyond the last code transition (to all ones). The deviation of a code from the true straight line is measured from the middle of each particular code. The K, B, and T grades are guaranteed for maximum nonlinearity of 1/2 LSB. For these grades, this means that an analog value that falls exactly in the center of a given code width will result in the correct digital output code. Values nearer the upper or lower transition of the code width may produce the next upper or lower digital output code. The J and A grades are guaranteed to 1 LSB max error. For these grades, an analog value that falls within a given code width will result in either the correct code for that region or either adjacent one. Note that the linearity error is not user adjustable. Differential Linearity Error (No Missing Codes) A specification that guarantees no missing codes requires that every code combination appear in a monotonic increasing sequence as the analog input level is increased. Thus every code must have a finite width. The AD674B and AD774B guarantee no missing codes to 12-bit resolution, requiring that all 4096 codes must be present over the entire operating temperature ranges. Quantization Uncertainty Analog-to-digital converters exhibit an inherent quantization uncertainty of 1/2 LSB. This uncertainty is a fundamental characteristic of the quantization process and cannot be reduced for a converter of given resolution. Left-Justified Data The output data format is left-justified. This means that the data represents the analog input as a fraction of full scale, ranging from 0 to 4095/4096. This implies a binary point 4095 to the left of the MSB. Full-Scale Calibration Error The last transition (from 1111 1111 1110 to 1111 1111 1111) should occur for an analog value 1 1/2 LSB below the nominal full scale (9.9963 V for 10.000 V full scale). The full-scale calibration error is the deviation of the actual level at the last transition from the ideal level. This error, which is typically 0.05% to 0.1% of full scale, can be trimmed out as shown in Figures 7 and 8. The full-scale calibration error over temperature is given with and without the initial error trimmed out. The temperature coefficients for each grade indicate the maximum change in the full-scale gain from the initial value using the internal 10 V reference. Temperature Drift The temperature drift for full-scale calibration, unipolar offset, and bipolar offset specifies the maximum change from the initial (25C) value to the value at TMIN or TMAX. Unipolar Offset Power Supply Rejection The first transition should occur at a level 1/2 LSB above analog common. Unipolar offset is defined as the deviation of the actual transition from that point. This offset can be adjusted as discussed later. The unipolar offset temperature coefficient specifies the maximum change of the transition point over temperature, with or without external adjustment. The standard specifications assume use of +5.00 V and 15.00 V or 12.00 V supplies. The only effect of power supply error on the performance of the device will be a small change in the full-scale calibration. This will result in a linear change in all low-order codes. The specifications show the maximum fullscale change from the initial value with the supplies at the various limits. Bipolar Offset In the bipolar mode the major carry transition (0111 1111 1111 to 1000 0000 0000) should occur for an analog value 1/2 LSB below analog common. The bipolar offset error and temperature coefficient specify the initial deviation and maximum change in the error over temperature. REV. C Code Width A fundamental quantity for A/D converter specifications is the code width. This is defined as the range of analog input values for which a given digital output code will occur. The nominal value of a code width is equivalent to 1 least significant bit (LSB) of the full-scale range or 2.44 mV out of 10 V for a 12-bit ADC. -5- AD674B/AD774B PIN CONFIGURATION VLOGIC 1 28 STS 27 DB11 (MSB) 12/8 2 CS 3 26 DB10 25 DB9 A0 4 R/C 5 CE 6 AD674B OR AD774B 24 DB8 23 DB7 22 DB6 TOP VIEW REF OUT 8 (Not to Scale) 21 DB5 VCC 7 AGND 9 20 DB4 REF IN 10 19 DB3 VEE 11 18 DB2 BIP OFF 12 17 DB1 10 VIN 13 16 DB0 (LSB) 20 VIN 14 15 DGND PIN FUNCTION DESCRIPTIONS Symbol Pin No. Type* Name and Function AGND A0 9 4 P DI BIP OFF 12 AI CE 6 DI CS 3 DB11-DB8 27-24 DI DO DB7-DB4 23-20 DO DB3-DB0 19-16 DO DGND REF OUT R/C 15 8 5 P AO DI REF IN 10 AI STS 28 DO VCC VEE VLOGIC 7 11 1 P P P 10 VIN 13 AI 20 VIN 14 AI 12/8 2 DI Analog Ground (Common) Byte Address/Short Cycle. If a conversion is started with A0 Active LOW, a full 12-bit conversion cycle is initiated. If A0 is Active HIGH during a convert start, a shorter 8-bit conversion cycle results. During Read (R/C = 1) with 12/8 LOW, A0 = LOW enables the 8 most significant bits, and A0 = HIGH enables DB3-DB0 and sets DB7-DB4 = 0. Bipolar Offset. Connect through a 50 resistor to REF OUT for bipolar operation or to Analog Common for unipolar operation. Chip Enable. Chip Enable is Active HIGH and is used to initiate a convert or read operation. Chip Select. Chip Select is Active LOW. Data Bits 11 through 8. In the 12-bit format (see 12/8 and A0 pins) these pins provide the upper 4 bits of data. In the 8-bit format, they provide the upper 4 bits when A0 is LOW and are disabled when A0 is HIGH. Data Bits 7 through 4. In the 12-bit format these pins provide the middle 4 bits of data. In the 8-bit format they provide the middle 4 bits when A0 is LOW and all zeroes when A0 is HIGH. Data Bits 3 through 0. In both the 12-bit and 8-bit format these pins provide the lower 4 bits of data when A0 is HIGH; they are disabled when A0 is LOW. Digital Ground (Common) 10 V Reference Output Read/Convert. In the full control mode R/C is Active HIGH for a read operation and Active LOW for a convert operation. In the standalone mode, the falling edge of R/C initiates a conversion. Reference Input is connected through a 50 resistor to +10 V Reference for normal operation. Status is Active HIGH when a conversion is in progress and goes LOW when the conversion is completed. +12 V/+15 V Analog Supply -12 V/-15 V Analog Supply 5 V Logic Supply 10 V Span Input, 0 V to +10 V unipolar mode or -5 V to +5 V bipolar mode. When using the 20 V Span, 10 VIN should not be connected. 20 V Span Input, 0 V to +20 V unipolar mode or -10 V to +10 V bipolar mode. When using the 10 V Span, 20 VIN should not be connected. The 12/8 pin determines whether the digital output data is to be organized as two 8-bit words (12/8 LOW) or a single 12-bit word (12/8 HIGH). *Types: AI = Analog Input, AO = Analog Output, DI = Digital Input, DO = Digital Output, P = Power -6- REV. C AD674B/AD774B CIRCUIT OPERATION DRIVING THE ANALOG INPUT The AD674B and AD774B are complete 12-bit monolithic A/D converters that require no external components to provide the complete successive-approximation analog-to-digital conversion function. A block diagram is shown in Figure 5. The AD674B and AD774B are successive-approximation analogto-digital converters. During the conversion cycle, the ADC input current is modulated by the DAC test current at approximately a 1 MHz rate. Thus it is important to recognize that the signal source driving the ADC must be capable of holding a constant output voltage under dynamically changing load conditions. 5V SUPPLY VLOGIC DATA MODE SELECT 12/8 CHIP SELECT CS BYTE ADDRESS/ SHORT CYCLE A0 READ/CONVERT R/C CHIP ENABLE CE 12V/15V SUPPLY VCC 10V REFERENCE REF OUT ANALOG COMMON AC REFERENCE INPUT REF IN -12V/-15V SUPPLY VEE BIPOLAR OFFSET BIPOFF 10V SPAN INPUT 10VIN 20V SPAN INPUT 20VIN 28 1 MSB N Y 3 B B S L T E 2 CONTROL 3 4 5 CLOCK 12 SAR 6 - 7 8 COMP + 10V REF I DAC 9 10 11 I REF 199.95 k + - 12 DAC N 13 14 VOLTAGE DIVIDER A T E VEE O U T P U T B U F F E R S A V+ 25 DB9 24 DB8 23 DB7 B 20 DB4 N Y B B L E FEEDBACK TO AMPLIFIER 26 DB10 N Y B B L E C LSB ADC 22 DB6 21 DB5 DIGITAL DATA OUTPUTS CURRENT LIMITING RESISTORS RIN 19 DB3 18 DB2 17 DB1 V- 16 DB0 (LSB) 15 AD674B/AD774B STATUS STS 27 DB11 (MSB) IIN IS MODULATED BY CHANGES IN TEST CURRENT. AMPLIFIER PULSE LOAD RESPONSE LIMITED BY OPEN-LOOP OUTPUT IMPEDANCE. IDIFF IIN ITEST COMPARATOR ANALOG COMMON DIGITAL COMMON DC CURRENT OUTPUT DAC SAR Figure 6. Op Amp--ADC Interface Figure 5. Block Diagram of AD674B and AD774B When the control section is commanded to initiate a conversion (as described later) it enables the clock and resets the successive-approximation register (SAR) to all zeroes. Once a conversion cycle has begun, it cannot be stopped or restarted and data is not available from the output buffers. The SAR, timed by the clock, will sequence through the conversion cycle and return an end-of-convert flag to the control section. The control section will then disable the clock, bring the output status flag low, and enable control functions to allow data read by external command. During the conversion cycle, the internal 12-bit current output DAC is sequenced by the SAR from the most significant bit (MSB) to least significant bit (LSB) to provide an output current that accurately balances the input signal current through the divider network. The comparator determines whether the addition of each successively weighted bit current causes the DAC current sum to be greater or less than the input current; if the sum is less, the bit is left on; if more, the bit is turned off. After testing all the bits, the SAR contains a 12-bit binary code that accurately represents the input signal to within 1/2 LSB. The temperature-compensated reference provides the primary voltage reference to the DAC and guarantees excellent stability with both time and temperature. The reference is trimmed to 10.00 V 1%; it can supply up to 2.0 mA to an external load in addition to the requirements of the reference input resistor (0.5 mA) and bipolar offset resistor (0.5 mA). Any external load on the reference must remain constant during conversion. The thin-film application resistors are trimmed to match the fullscale output current of the DAC. The input divider network provides a 10 V or 20 V input range. The bipolar offset resistor is grounded for unipolar operation and connected to the 10 V reference for bipolar operation. REV. C The closed-loop output impedance of an op amp is equal to the open-loop output impedance (usually a few hundred ohms) divided by the loop gain at the frequency of interest. It is often assumed that the loop gain of a follower-connected op amp is sufficiently high to reduce the closed-loop output impedance to a negligibly small value, particularly if the signal is low frequency. However, the amplifier driving the ADC must either have sufficient loop gain at 1 MHz to reduce the closed-loop output impedance to a low value or have low open-loop output impedance. This can be accomplished by using a wideband op amp, such as the AD711. If a sample-hold amplifier is required, the monolithic AD585 or AD781 is recommended, with the output buffer driving the AD674B or AD774B input directly. A better alternative is the AD1674, which is a 10 s sampling ADC in the same pinout as the AD574A, AD674A, or AD774B and is functionally equivalent. SUPPLY DECOUPLING AND LAYOUT CONSIDERATION It is critical that the power supplies be filtered, well regulated, and free from high-frequency noise. Use of noisy supplies will cause unstable output codes. Switching power supplies is not recommended for circuits attempting to achieve 12-bit accuracy unless great care is used in filtering any switching spikes present in the output. Few millivolts of noise represent several counts of error in a 12-bit ADC. Decoupling capacitors should be used on all power supply pins; the 5 V supply decoupling capacitor should be connected directly from Pin 1 to Pin 15 (digital common) and the +VCC and -VEE pins should be decoupled directly to analog common (Pin 9). A suitable decoupling capacitor is a 4.7 F tantalum type in parallel with a 0.1 F ceramic disc type. -7- AD674B/AD774B Circuit layout should attempt to locate the ADC, associated analog input circuitry, and interconnections as far as possible from logic circuitry. For this reason, the use of wire-wrap circuit construction is not recommended. Careful printed-circuit layout and manufacturing is preferred. UNIPOLAR CALIBRATION The connections for unipolar ranges are shown in Figure 7. The AD674B or AD774B is trimmed to a nominal 1/2 LSB offset so that the exact analog input for a given code will be in the middle of that code (halfway between the transitions to the codes above and below it). Thus, when properly calibrated, the first transition (from 0000 0000 0000 to 0000 0000 0001) will occur for an input level of +1/2 LSB (1.22 mV for 10 V range). UNIPOLAR RANGE CONNECTIONS FOR THE AD674B AND AD774B The AD674B and AD774B contain all the active components required to perform a complete 12-bit A/D conversion. Thus, for most situations, all that is necessary is connection of the power supplies (+5 V, +12/+15 V, and -12/-15 V), the analog input, and the conversion initiation command, as discussed on the next page. If Pin 12 is connected to Pin 9, the unit will behave in this manner, within specifications. If the offset trim (R1) is used, it should be trimmed as above, although a different offset can be set for a particular system requirement. This circuit will give approximately 15 mV of offset trim range. The full-scale trim is done by applying a signal 1 1/2 LSB below the nominal full scale (9.9963 for a 10 V range). Trim R2 to give the last transition (1111 1111 1110 to 1111 1111 1111). AD674B/AD774B OFFSET R1 -12V/ 100k +12V/ -15V +15V GAIN 100k R2 2 3 4 5 12/8 CS A0 R/C 6 CE 10 REF IN 100 8 REF OUT 100 STS 28 HIGH BITS 24-27 BIPOLAR OPERATION The connections for bipolar ranges are shown in Figure 8. Again, as for the unipolar ranges, if the offset and gain specifications are sufficient, one or both of the trimmers shown can be replaced by a 50 1% fixed resistor. The analog input is applied as for the unipolar ranges. Bipolar calibration is similar to unipolar calibration. First, a signal 1/2 LSB above negative full scale (-4.9988 V for the 5 V range) is applied and R1 is trimmed to give the first transition (0000 0000 0000 to 0000 0000 0001). Then a signal 1 1/2 LSB below positive full scale (+4.9963 V for the 5 V range) is applied and R2 trimmed to give the last transition (1111 1111 1110 to 1111 1111 1111). MIDDLE BITS 20-23 LOW BITS 16-19 12 BIP OFF 0 TO 10V ANALOG INPUTS 0 TO 20V 13 10VIN 14 20VIN 9 ANA COM +5V 1 +15V 7 -15V 11 DIG COM 15 Figure 7. Unipolar Input Connections AD674B/AD774B All of the thin-film application resistors of the AD674B and AD774B are factory trimmed for absolute calibration. Therefore, in many applications, no calibration trimming will be required. The absolute accuracy for each grade is given in the specification tables. For example, if no trims are used, 2 LSB max zero offset error and 0.25% (10 LSB) max full-scale error are guaranteed. If the offset trim is not required, Pin 12 can be connected directly to Pin 9; the two resistors and trimmer for Pin 12 are then not needed. If the full-scale trim is not required, a 50 1% metal film resistor should be connected between Pin 8 and Pin 10. 2 3 4 5 GAIN R2 100 12/8 CS A0 R/C 6 CE 10 REF IN 8 REF OUT OFFSET 100 R1 5V ANALOG INPUTS 10V The analog input is connected between Pins 13 and 9 for a 0 V to 10 V input range, between Pins 14 and 9 for a 0 V to 20 V input range. Input signals beyond the supplies are easily accommodated. For the 10 V span input, the LSB has a nominal value of 2.44 mV; for the 20 V span, 4.88 mV. If a 10.24 V range is desired (nominal 2.5 mV/bit), the gain trimmer (R2) should be replaced by a 50 resistor and a 200 trimmer inserted in series with the analog input to Pin 13 (for a full-scale range of 20.48 V [5 mV/bit] use a 500 trimmer into Pin 14). The gain trim described below is now done with these trimmers. The nominal input impedance into Pin 13 is 5 k, and into Pin 14 is 10 k. STS 28 HIGH BITS 24-27 MIDDLE BITS 20-23 LOW BITS 16-19 12 BIP OFF 13 10VIN 14 20VIN 9 ANA COM +5V 1 +15V 7 -15V 11 DIG COM 15 Figure 8. Bipolar Input Connections GROUNDING CONSIDERATIONS The analog common at Pin 9 is the ground reference point for the internal reference and is thus the "high quality" ground for the ADC; it should be connected directly to the analog reference point of the system. To achieve the high-accuracy performance available from the ADC in an environment of high digital noise content, the analog and digital commons must be connected together at the package. In some situations, the digital common at Pin 15 can be connected to the most convenient ground reference point; digital power return is preferred. -8- REV. C AD674B/AD774B VALUE OF A0 AT LAST CONVERT COMMAND Q D EOC 12 D EN EN EOC 8 START CONVERT R Q S R S SAR RESET Q QB CE HIGH IF CONVERSION IN PROGRESS CS CLK EN R/C STATUS NYBBLE A ENABLE NYBBLE B ENABLE A0 READ NYBBLE C ENABLE 12/8 TO OUTPUT BUFFERS NYBBLE = 0 ENABLE Figure 9. Equivalent Internal Logic Circuitry CONTROL LOGIC The AD674B and AD774B contain on-chip logic to provide conversion initiation and data read operations from signals commonly available in microprocessor systems; this internal logic circuitry is shown in Figure 9. The control signals CE, CS, and R/C control the operation of the converter. The state of R/C when CE and CS are both asserted determines whether a data read (R/C = 1) or a convert (R/C = 0) is in progress. The register control inputs, A0 and 12/8, control conversion length and data format. If a conversion is started with A0 low, a full 12-bit conversion cycle is initiated. If A0 is high during a convert start, a shorter 8-bit conversion cycle results. During data read operations, A0 determines whether the three-state buffers containing the 8 MSBs of the conversion result (A0 = 0) or the 4 LSBs (A0 = 1) are enabled. The 12/8 pin determines whether the output data is to be organized as two 8-bit words (12/8 tied to DIGITAL COMMON) or a single 12-bit word (12/8 tied to VLOGIC). In the 8-bit mode, the byte addressed when A0 is high contains the 4 LSBs from the conversion followed by four trailing zeroes. This organization allows the data lines to be overlapped for direct interface to 8-bit buses without the need for external three-state buffers. An output signal, STS, indicates the status of the converter. STS goes high at the beginning of a conversion and returns low when the conversion cycle is complete. REV. C Table I. Truth Table CE CS R/C 12/8 A0 Operation 0 X 1 1 1 1 1 X X 0 0 1 1 1 X X X X 1 0 0 X 1 0 0 0 0 0 X X 0 1 X 0 1 None None Initiate 12-Bit Conversion Initiate 8-Bit Conversion Enable 12-Bit Parallel Output Enable 8 Most Significant Bits Enable 4 LSBs + 4 Trailing Zeroes The ADC may be operated in one of two modes, the full-control mode and the standalone mode. The full-control mode uses all the control signals and is useful in systems that address decode multiple devices on a single data bus. The standalone mode is useful in systems with dedicated input ports available. In general, the standalone mode is capable of issuing start-convert commands on a more precise basis and therefore produces higher accuracy results. The following sections describe these two modes in more detail. FULL-CONTROL MODE Chip Enable (CE), Chip Select (CS), and Read/Convert (R/C) are used to control Convert or Read modes of operation. Either CE or CS may be used to initiate a conversion. The state of R/C when CE and CS are both asserted determines whether a data Read (R/C = 1) or a Convert (R/C = 0) is in progress. R/C should be LOW before both CE and CS are asserted; if R/C is HIGH, a Read operation will momentarily occur, possibly resulting in system bus contention. -9- AD674B/AD774B STANDALONE MODE GENERAL A/D CONVERTER INTERFACE CONSIDERATIONS "Standalone" mode is useful in systems with dedicated input ports available and thus not requiring full bus interface capability. Standalone mode applications are generally able to issue conversion start commands more precisely than full-control mode, resulting in improved accuracy. CE and 12/8 are wired HIGH, CS and A0 are wired LOW, and conversion is controlled by R/C. The three-state buffers are enabled when R/C is HIGH and a conversion starts when R/C goes LOW. This gives rise to two possible control signals--a high pulse or a low pulse. Operation with a low pulse is shown in Figure 4a. In this case, the outputs are forced into the high impedance state in response to the falling edge of R/C and return to valid logic levels after the conversion cycle is completed. The STS line goes HIGH 200 ns after R/C goes LOW and returns low 600 ns after data is valid. If conversion is initiated by a high pulse as shown in Figure 4b, the data lines are enabled during the time when R/C is HIGH. The falling edge of R/C starts the next conversion, and the data lines return to three-state (and remain three-state) until the next high pulse of R/C. CONVERSION TIMING Once a conversion is started, the STS line goes HIGH. Convert start commands will be ignored until the conversion cycle is complete. The output data buffers can be enabled up to 1.2 s prior to STS going LOW. The STS line will return LOW at the end of the conversion cycle. The register control inputs, A0 and 12/8, control conversion length and data format. If a conversion is started with A0 LOW, a full 12-bit conversion cycle is initiated. If A0 is HIGH during a convert start, a shorter 8-bit conversion cycle results. During data read operations, A0 determines whether the threestate buffers containing the 8 MSBs of the conversion result (A0 = 0) or the 4 LSBs (A0 = 1) are enabled. The 12/8 pin determines whether the output data is to be organized as two 8-bit words (12/8 tied LOW) or a single 12-bit word (12/8 tied HIGH). In the 8-bit mode, the byte addressed when A0 is high contains the 4 LSBs from the conversion followed by four trailing zeroes. This organization allows the data lines to be overlapped for direct interface to 8-bit buses without the need for external three-state buffers. A typical A/D converter interface routine involves several operations. First, a write to the ADC address initiates a conversion. The processor must then wait for the conversion cycle to complete, since most integrated circuit ADCs take longer than one instruction cycle to complete a conversion. Valid data can, of course, only be read after the conversion is complete. The AD674B and AD774B provide an output signal (STS) which indicates when a conversion is in progress. This signal can be polled by the processor by reading it through an external threestate buffer (or other input port). The STS signal can also generate an interrupt upon completion of conversion if the system timing requirements are critical and the processor has other tasks to perform during the ADC conversion cycle. Another possible time-out method is to assume that the ADC will take its maximum conversion time to convert, and insert a sufficient number of "no-op" instructions to ensure that this amount of processor time is consumed. Once conversion is complete, the data can be read. For converters with more data bits than are available on the bus, a choice of data formats is required, and multiple read operations are needed. The AD674B and AD774B include internal logic to permit direct interface to 8-bit and 16-bit data buses, selected by the 12/8 input. In 16-bit bus applications (12/8 high) the data lines (DB11 through DB0) may be connected to either the 12 most significant or 12 least significant bits of the data bus. The remaining 4 bits should be masked in software. The interface to an 8-bit data bus (12/8 low) is done in a left-justified format. The even address (A0 low) contains the 8 MSBs (DB11 through DB4). The odd address (A0 high) contains the 4 LSBs (DB3 through DB0) in the upper half of the byte, followed by four trailing zeroes, thus eliminating bit masking instructions. It is not possible to rearrange the output data lines for right-justified 8-bit bus interface. D7 XXX0 DB11 DB10 (EVEN ADDR) (MSB) XXX1 (ODD ADDR) DB3 DB2 D0 DB9 DB8 DB7 DB6 DB5 DB4 DB1 DB0 (LSB) 0 0 0 0 Figure 10. Data Format for 8-Bit Bus -10- REV. C AD674B/AD774B OUTLINE DIMENSIONS Dimensions shown in inches and (mm). 28-Lead Ceramic DIP Package (D-28) 0.05 (1.27) 0.045 (1.14) 0.050 (12.83) 28 15 30 0.59 + - 0.01 (14.98) 0.085 (2.16) 1.42 (36.07) 1.40 (35.56) 0.017 + - 0.003 (0.43) 0.1 (2.54) 0.08 (2.0) 0.125 MIN (3.17) SEATING PLANE 14 1 o 0.145 + - 0.02 (3.68) 0.095 (2.41) 0.010 + - 0.002 (0.254 + - 0.05) 0.050 + - 0.010 (1.27) 0.6 (15.24) 0.047 + - 0.007 (1.19) 28-Lead Plastic DIP Package (N-28) 1.565 (39.70) 1.380 (35.10) 28 15 0.580 (14.73) 0.485 (12.32) 1 14 PIN 1 0.060 (1.52) 0.015 (0.38) 0.250 (6.35) MAX 0.625 (15.87) 0.600 (15.24) 0.195 (4.95) 0.125 (3.18) 0.150 (3.81) MIN 0.200 (5.05) 0.022 (0.558) 0.100 0.125 (3.18) 0.014 (0.356) (2.54) BSC 0.015 (0.381) 0.008 (0.204) 0.070 SEATING (1.77) PLANE MAX 28-Lead Wide Body SOIC Package (R-28) 0.7125 (18.10) 0.6969 (17.70) 28 15 0.2992 (7.60) 0.2914 (7.40) 1 14 PIN 1 0.0118 (0.30) 0.0040 (0.10) REV. C 0.4193 (10.65) 0.3937 (10.00) 0.1043 (2.65) 0.0926 (2.35) 0.0500 (1.27) BSC 8 0 0.0192 (0.49) SEATING 0.0125 (0.32) 0.0138 (0.35) PLANE 0.0091 (0.23) -11- 0.0291 (0.74) 45 0.0098 (0.25) 0.0500 (1.27) 0.0157 (0.40) AD674B/AD774B Revision History Location Page Data Sheet changed from REV. B to REV. C. PRINTED IN U.S.A. Add 28-Lead Wide Body SOIC Package Drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 C00808-0-4/02(C) Edits to ORDERING GUIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 -12- REV. C