ADC10154/ADC10158 10-Bit Plus Sign 4 µs ADCs with 4- or 8-Channel MUX, Track/Hold and Reference General Description Features The ADC10154 and ADC10158 are CMOS 10-bit plus sign successive approximation A/D converters with versatile analog input multiplexers, track/hold function and a 2.5V band-gap reference. The 4-channel or 8-channel multiplexers can be software configured for single-ended, differential or pseudo-differential modes of operation. The input track/hold is implemented using a capacitive array and sampled-data comparator. Resolution can be programmed to be 8-bit, 8-bit plus sign, 10-bit or 10-bit plus sign. Lower-resolution conversions can be performed faster. The variable resolution output data word is read in two bytes, and can be formatted left justified or right justified, high byte first. n 4- or 8- channel configurable multiplexer n Analog input track/hold function n 0V to 5V analog input range with single +5V power supply n −5V to +5V analog input voltage range with ± 5V supplies n Fully tested in unipolar (single +5V supply) and bipolar (dual ± 5V supplies) operation n Programmable resolution/speed and output data format n Ratiometric or Absolute voltage reference operation n No zero or full scale adjustment required n No missing codes over temperature n Easy microprocessor interface Key Specifications Applications n n n n n n n n n Process control n Instrumentation n Test equipment Resolution Integral linearity error Unipolar power dissipation Conversion time (10-bit + sign) Conversion time (8-bit) Sampling rate (10-bit + sign) Sampling rate (8-bit) Band-gap reference 10-bit plus sign ± 1 LSB (max) 33 mW (max) 4.4 µs (max) 3.2 µs (max) 166 kHz 207 kHz 2.5V ± 2.0% (max) ADC10158 Simplified Block Diagram DS011225-1 TRI-STATE ® is a registered trademark of National Semiconductor Corporation. © 1999 National Semiconductor Corporation DS011225 www.national.com ADC10154/ADC10158 10-Bit Plus Sign 4 µs ADCs with 4- or 8-Channel MUX, Track/Hold and Reference November 1999 ADC10154/ADC10158 Connection Diagrams Dual-in-Line and SO Packages Dual-in-Line and SO Packages DS011225-2 DS011225-3 Top View Order Number ADC10154 NS Package Number M24B Top View Order Number ADC10158 NS Package Numbers M28B or N28B Pin Descriptions AV+ This is the positive analog supply. This pin should be bypassed with a 0.1 µF ceramic capacitor and a 10 µF tantalum capacitor to the system analog ground. DV+ This is the positive digital supply. This supply pin also needs to be bypassed with 0.1 µF ceramic and 10 µF tantalum capacitors to the system digital ground. AV+ and DV+ should be bypassed separately and tied to same power supply. This is the digital ground. All logic levels are referred to this ground. DGND V− This is the negative analog supply. For unipolar operation this pin may be tied to the system analog ground or to a negative supply source. It should not go above DGND by more than 50 mV. When bipolar operation is required, the voltage on this pin will limit the analog input’s negative voltage level. In bipolar operation this supply pin needs to be bypassed with 0.1 µF ceramic and 10 µF tantalum capacitors to the system analog ground. VREF+, VREF− These are the positive and negative reference inputs. The voltage difference between VREF+ and VREF− will set the analog input voltage span. VREFOut This is the internal band-gap voltage reference output. For proper operation of the voltage reference, this pin needs to be bypassed with a 330 µF tantalum or electrolytic capacitor. CS This is the chip select input. When a logic low is applied to this pin the WR and RD pins are enabled. www.national.com RD This is the read control input. When a logic low is applied to this pin the digital outputs are enabled and the INT output is reset high. WR This is the write control input. The rising edge of the signal applied to this pin selects the multiplexer channel and initiates a conversion. INT This is the interrupt output. A logic low at this output indicates the completion of a conversion. CLK This is the clock input. The clock frequency directly controls the duration of the conversion time (for example, in the 10-bit bipolar mode tC = 22/fCLK) and the acquisition time (tA = 6/fCLK). DB0(MA0) These are the digital data inputs/outputs. DB0 –DB7 (L/R) is the least significant bit of the digital output word; DB7 is the most significant bit in the digital output word (see the Output Data Configuration table). MA0 through MA4 are the digital inputs for the multiplexer channel selection (see the Multiplexer Addressing tables). U/S (Unsigned/Signed), 8/10, (8/10-bit resolution) and L/R (Left/Right justification) are the digital input bits that set the A/D’s output word format and resolution (see the Output Data Configuration table). The conversion time is modified by the chosen resolution (see Electrical AC Characteristics table). The lower the resolution, the faster the conversion will be. CH0–CH7 These are the analog input multiplexer channels. They can be configured as single-ended inputs, differential input pairs, or pseudo-differential inputs (see the Multiplexer Addressing tables for the input polarity assignments). 2 Storage Temperature Ceramic DIP Packages Plastic DIP and SO Packages Positive Supply Voltage (V+ = AV+ = DV+) Negative Supply Voltage (V ) Total Supply Voltage (V+ − V−) Total Reference Voltage (VREF+ − VREF−) Voltage at Inputs and Outputs Input Current at Any Pin (Note 4) Package Input Current (Note 4) Package Dissipation at TA = 25˚C (Note 5) ESD Susceptibility (Note 6) Soldering Information N Packages (10 Sec) J Packages (10 Sec) SO Package (Note 7): Vapor Phase (60 Sec) Infrared (15 Sec) Operating Ratings (Notes 2, 3) Temperature Range ADC10154CIWM, ADC10158CIN, ADC10158CIWM Positive Supply Voltage (V+ = AV+ = DV+) Unipolar Negative Supply Voltage (V−) Bipolar Negative Supply Voltage (V−) V+ − V− VREF+ VREF− VREF (VREF+ − VREF−) 6.5V −6.5V 13V − −65˚C to +150˚C −40˚C to +150˚C 6.6V V− − 0.3V to V+ + 0.3V ± 5 mA ± 20 mA 500 mW 2000V 260˚C 300˚C 215˚C 220˚C TMIN ≤ TA ≤ TMAX −40˚C ≤ TA ≤ +85˚C 4.5 VDC to 5.5 VDC DGND AV+ + 0.05 VDC AV+ + 0.05 VDC −4.5V to −5.5V 11V to V− − 0.05 VDC to V− − 0.05 VDC 0.5 VDC to V+ Electrical Characteristics The following specifications apply for V+ = AV+ = DV+ = + 5.0 VDC, VREF+ = 5.000 VDC, VREF− = GND, V− = GND for unipolar operation or V− = −5.0 VDC for bipolar operation, and fCLK = 5.0 MHz unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25˚C. (Notes 8, 9, 12) Symbol Parameter Conditions Typical (Note 10) CIN and CIWM Suffixes Units (Limit) Limits (Note 11) UNIPOLAR CONVERTER AND MULTIPLEXER STATIC CHARACTERISTICS Resolution 10 + Sign Unipolar Integral Linearity Error Unipolar Full-Scale Error VREF+ = 2.5V VREF+ = 5.0V VREF+ = 2.5V ± 0.5 Unipolar Offset Error Unipolar Power Supply Sensitivity VREF+ = 4.5V Error (Note 13) LSB (Max) ± 1.5 LSB (Max) ±2 LSB (Max) ± 2.5 LSB (Max) ±1 ±1 LSB (Max) LSB ±1 VREF+ = 2.5V VREF+ = 5.0V V+ = +5V ± 10% Unipolar Total Unadjusted ±1 ± 0.5 VREF+ = 5.0V VREF+ = 2.5V VREF+ = 5.0V Full-Scale Error Integral Linearity Error LSB ± 1.5 ± 0.25 ± 0.25 ± 0.25 Offset Error Bits LSB LSB LSB (Max) LSB BIPOLAR CONVERTER AND MULTIPLEXER STATIC CHARACTERISTICS Resolution Bipolar Integral 10 + Sign Bits VREF+ = 5.0V ±1 LSB (Max) VREF+ = 5.0V ± 1.25 LSB (Max) Linearity Error Bipolar Full-Scale Error 3 www.national.com ADC10154/ADC10158 Absolute Maximum Ratings (Notes 1, 3) If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications. ADC10154/ADC10158 Electrical Characteristics (Continued) The following specifications apply for V+ = AV+ = DV+ = + 5.0 VDC, VREF+ = 5.000 VDC, VREF− = GND, V− = GND for unipolar operation or V− = −5.0 VDC for bipolar operation, and fCLK = 5.0 MHz unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25˚C. (Notes 8, 9, 12) Symbol Parameter Conditions Typical (Note 10) CIN and CIWM Suffixes Units (Limit) Limits (Note 11) BIPOLAR CONVERTER AND MULTIPLEXER STATIC CHARACTERISTICS Bipolar Negative Full-Scale VREF+ = 5.0V Error with Positive-Full ± 1.25 LSB (Max) ± 2.5 ±3 LSB (Max) Scale Adjusted VREF+ = 5.0V VREF+ = 5.0V Bipolar Offset Error Bipolar Total Unadjusted LSB (Max) Error (Note 13) Bipolar Power Supply Sensitivity Offset Error Full-Scale Error V+ = +5V ± 10% VREF+ = 4.5V Integral Linearity Error Offset Error Full-Scale Error V− = −5V ± 10% VREF+ = 4.5V Integral Linearity Error ± 0.5 ± 0.5 ± 0.25 ± 0.25 ± 0.25 ± 0.25 ± 2.5 ± 1.5 LSB (Max) ± 0.75 ± 0.75 LSB (Max) LSB (Max) LSB LSB (Max) LSB UNIPOLAR AND BIPOLAR CONVERTER AND MULTIPLEXER STATIC CHARACTERISTICS Missing Codes 0 VIN+ = VIN− = VIN where DC Common Mode Error (Note 14) Bipolar Unipolar RREF Reference Input Resistance CREF Reference Input Capacitance VAI Analog Input Voltage CAI +5.0V ≥ VIN ≥ −5.0V +5.0V ≥ VIN ≥ 0V Current (Note 15) ± 0.75 ± 0.5 LSB (Max) 7 4.5 kΩ (Max) 9.5 kΩ (Max) (V++0.05) V (Max) (V−−0.05) V (Min) LSB (Max) 70 Analog Input Capacitance Off Channel Leakage ± 0.25 ± 0.25 pF 30 pF On Channel = 5V Off Channel = 0V −400 −1000 nA (Max) On Channel = 0V Off Channel = 5V 400 1000 nA (Max) Electrical Characteristics The following specifications apply for V+ = AV+ = DV+ = + 5.0 VDC, VREF+ = 5.000 VDC, VREF− = GND, V− = GND for unipolar operation or V− = −5.0 VDC for bipolar operation, and fCLK = 5.0 MHz unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25˚C. (Notes 8, 9, 12) Symbol Parameter Conditions Typical (Note 10) DYNAMIC CONVERTER AND MULTIPLEXER CHARACTERISTICS S/(N+D) Unipolar Signal-to-Noise+ fIN = 10 kHz, VIN = 4.85 Vp–p Distortion Ratio fIN = 150 kHz, VIN = 4.85 Vp-p S/(N+D) Bipolar Signal-to-Noise+ Distortion Ratio www.national.com fIN = 10 kHz, VIN = ± 4.85V fIN = 150 kHz, VIN = ± 4.85V 4 Limits (Note 11) Units (Limit) 60 dB 58 dB 60 dB 58 dB (Continued) Symbol Parameter Conditions Typical (Note 10) DYNAMIC CONVERTER AND MULTIPLEXER CHARACTERISTICS −3 dB Unipolar Full VIN = 4.85 Vp–p Limits (Note 11) Units (Limit) 200 kHz 200 kHz Power Bandwidth VIN = ± 4.85V −3 dB Bipolar Full Power Bandwidth REFERENCE CHARACTERISTICS (Unipolar Operation V− = GND Only) VREFOut Reference Output Voltage ∆VREF/∆t VREFOut Temperature Coefficient ∆VREF/∆IL Load Regulation Sourcing Sinking Line Regulation ISC Short Circuit Current ∆VREF/∆t Long-Term Stability tSU Start-Up Time 2.5 ± 1% 2.5 ± 2% V (Max) 0.003 0.1 %/mA (Max) 0 mA ≥ IL ≥ −1 mA 0.2 0.6 %/mA (Max) 4.5V ≤ V+ ≤ 5.5V VREFOut = 0V 0.5 6 mV (Max) 14 25 40 0 mA ≤ IL ≤ +4 mA CL = 330 µF ppm/˚C mA (Max) 200 ppm/1 kHr 20 ms DIGITAL AND DC CHARACTERISTICS VIN(1) Logical “1” Input Voltage VIN(0) Logical “0” Input Voltage IIN(1) Logical “1” Input Current IIN(0) Logical “0” Input Current VOUT(1) Logical “1” Output Voltage V+ = 5.5V V+ = 4.5V VIN = 5.0V VIN = 0V V+ = 4.5V: 2.0 V (Min) 0.8 V (Max) 0.005 2.5 µA (Max) −0.005 −2.5 µA (Max) IOUT = −360 µA IOUT = −10 µA VOUT(0) Logical “0” Output Voltage IOUT TRI-STATE ® Output Current +ISC Output Short Circuit Source Current −ISC Output Short Circuit V+ = 4.5V IOUT = 1.6 mA VOUT = 0V 2.4 V (Min) 4.25 V (Min) 0.4 V (Max) −0.01 −3 µA (Max) VOUT = 5V VOUT = 0V VOUT = DV+ 0.01 3 µA (Max) −40 −10 mA (Min) 30 10 mA (Min) CS = HIGH CS = HIGH, fCLK = 0 Hz CS = HIGH 0.75 2 CS = HIGH, fCLK = 0 Hz CS = HIGH CS = HIGH, fCLK = 0 Hz VREF+ = 5V 3 Sink Current DI+ AI+ I− IREF Digital Supply Current Analog Supply Current Negative Supply Current Reference Input Current 5 0.15 3 3.5 4.5 mA (Max) mA (Max) 4.5 3.5 0.7 mA (Max) mA (Max) mA (Max) mA (Max) 1.1 mA (Max) www.national.com ADC10154/ADC10158 Electrical Characteristics The following specifications apply for V+ = AV+ = DV+ = + 5.0 VDC, VREF+ = 5.000 VDC, VREF− = GND, V− = GND for unipolar operation or V− = −5.0 VDC for bipolar operation, and fCLK = 5.0 MHz unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25˚C. (Notes 8, 9, 12) ADC10154/ADC10158 Electrical Characteristics The following specifications apply for V+ = AV+ = DV+ = + 5.0 VDC, VREF+ = 5.000 VDC, VREF− = GND, V− = GND for unipolar operation or V− = −5.0 VDC for bipolar operation, and fCLK = 5.0 MHz unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25˚C. (Note 16) Symbol Parameter Conditions (Note 10) Typical Limits (Note 11) Units (Limit) 8 5.0 MHz (Max) AC CHARACTERISTICS fCLK Clock Frequency 10 Clock Duty Cycle tC Conversion 8-Bit Unipolar Mode Time % (Max) 16 1/fCLK 3.2 µs (Max) 18 1/fCLK fCLK = 5.0 MHz 3.6 µs (Max) 20 1/fCLK fCLK = 5.0 MHz 4.0 µs (Max) 22 1/fCLK fCLK = 5.0 MHz 4.4 µs (Max) 6 1/fCLK fCLK = 5.0 MHz 1.2 µs 0 5 ns (Min) 0 5 ns (Min) 0 5 ns (Min) 0 5 ns (Min) 0 5 ns (Min) 25 50 ns (Min) 5 ns (Max) 10-Bit Unipolar Mode 10-Bit Bipolar Mode tCR % (Min) 80 fCLK = 5.0 MHz 8-Bit Bipolar Mode tA kHz (Min) 20 Acquisition Time Delay between Falling Edge of CS and Falling Edge of RD tRC Delay betwee Rising Edge RD and Rising Edge of CS tCW Delay between Falling Edge of CS and Falling Edge of WR tWC Delay between Rising Edge of WR and Rising Edge of CS tRW Delay between Falling Edge of RD and Falling Edge of WR tW(WR) WR Pulse Width tWS WR High to CLK÷2 Low Set-Up Time tDS Data Set-Up Time 6 15 ns (Max) tDH Data Hold Time 0 5 ns (Max) Delay from Rising Edge 0 5 ns (Min) CL = 100 pF 25 45 ns (Max) CL = 100 pF 25 40 ns (Max) tWR of WR to Rising Edge RD tACC Access Time (Delay from Falling Edge of RD to Output Data Valid) tWI, tRI Delay from Falling Edge of WR or RD to Reset of INT tINTL t1H, t0H Delay from Falling Edge of CLK÷2 to Falling Edge of INT TRI-STATE Control (Delay from 40 CL = 10 pF, RL = 1 kΩ ns 20 35 ns (Max) 25 50 ns (Min) 20 50 ns (Min) Rising Edge of RD to Hi-Z State) tRR Delay between Successive RD Pulses tP Delay between Last Rising Edge of RD and the Next Falling Edge of WR CIN Capacitance of Logic Inputs 5 pF COUT Capacitance of Logic Outputs 5 pF Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. www.national.com 6 (Continued) Note 2: Operating Ratings indicate conditions for which the device is functional, but do not guarantee specific performance limits. For guaranteed specifications and test conditions, see the Electrical Characteristics. The guaranteed specifications apply only for the test conditions listed. Some performance characteristics may degrade when the device is not operated under the listed test conditions. Note 3: All voltages are measured with respect to GND, unless otherwise specified. Note 4: When the input voltage (VIN) at any pin exceeds the power supplies (VIN < V− or VIN > AV+ or DV+), the current at that pin should be limited to 5 mA. The 20 mA maximum package input current rating limits the number of pins that can safely exceed the power supplies with an input current of 5 mA to four. Note 5: The maximum power dissipation must be derated at elevated temperatures and is dictated by TJmax, θJA and the ambient temperature, TA. The maximum allowable power dissipation at any temperature is PD = (TJmax − TA)/θJA or the number given in the Absolute Maximum Ratings, whichever is lower. For this device, TJmax = 150˚C. The typical thermal resistance (θJA) of these parts when board mounted follow: ADC10154 with BIN and CIN suffixes 65˚C/W, ADC10154 with BIJ, CIJ and CMJ suffixes 49˚C/W, ADC10154 with BIWM and CIWM suffixes 72˚C/W, ADC10158 with BIN and CIN suffixes 59˚C/W, ADC10158 with BIJ, CIJ, and CMJ suffixes 46˚C/W, ADC10158 with BIWM and CIWM suffixes 68˚C/W. Note 6: Human body model, 100 pF capacitor discharged through a 1.5 kΩ resistor. Note 7: See AN-450 “Surface Mounting Methods and Their Effect on Product Reliability” or the section titled “Surface Mount” found in any post-1986 National Semiconductor Linear Data Book for other methods of soldering surface mount devices. Note 8: Two on-chip diodes are tied to each analog input as shown below. They will forward-conduct for analog input voltages one diode drop below V− supply or one diode drop greater than V+ supply. Be careful during testing at low V+ levels (4.5V), as high level analog inputs (5V) can cause an input diode to conduct, especially at elevated temperatures, which will cause errors for analog inputs near full-scale. The specification allows 50 mV forward bias of either diode; this means that as long as the analog VIN does not exceed the supply voltage by more than 50 mV, the output code will be correct. Exceeding this range on an unselected channel will corrupt the reading of a selected channel. This means that if AV+ and DV+ are minimum (4.5 VDC) and V− is a maximum (−4.5 VDC) full scale must be ≤ ± 4.55 VDC. DS011225-4 + Note 9: A diode exists between AV and DV+ as shown below. DS011225-5 To guarantee accuracy, it is required that the AV+ and DV+ be connected together to a power supply with separate bypass filter at each V+ pin. Note 10: Typicals are at TJ = TA = 25˚C and represent most likely parametric norm. Note 11: Tested limits are guaranteed to National’s AOQL (Average Outgoing Quality Level). Note 12: One LSB is referenced to 10 bits of resolution. Note 13: Total unadjusted error includes offset, full-scale, linearity, multiplexer, and hold step errors. Note 14: For DC Common Mode Error the only specification that is measured is offset error. Note 15: Channel leakage current is measured after the channel selection. Note 16: All the timing specifications are tested at the TTL logic levels, VIL = 0.8V for a falling edge and VIH = 2.0V for a rising. 7 www.national.com ADC10154/ADC10158 Electrical Characteristics ADC10154/ADC10158 Electrical Characteristics (Continued) DS011225-6 FIGURE 1. Transfer Characteristic DS011225-7 FIGURE 2. Simplified Error Curve vs Output Code Ordering Information Industrial −40˚C ≤ TA ≤ 85˚C ADC10154CIWM www.national.com Package M24B ADC10158CIN N28B ADC10158CIWM M28B 8 ADC10154/ADC10158 Typical Converter Performance Characteristics Total Positive Supply Current (DI+ + AI+) vs Temperature Total Positive Power Supply Current (DI+ + AI+) vs Clock Frequency Offset Error vs Temperature DS011225-29 DS011225-27 DS011225-28 Offset Error vs Reference Voltage Linearity Error vs Temperature Linearity Error vs Reference Voltage DS011225-30 Linearity Error vs Clock Frequency DS011225-31 Spectral Response with 50 kHz Sine Wave DS011225-32 10-Bit Unsigned Signal-to-Noise + THD Ratio vs Input Signal Level DS011225-34 DS011225-33 DS011225-35 9 www.national.com ADC10154/ADC10158 Typical Reference Performance Characteristics Load Regulation Line Regulation (3 Typical Parts) Output Drift vs Temperature (3 Typical Parts) DS011225-36 DS011225-37 DS011225-38 Available Output Current vs Supply Voltage DS011225-39 Leakage Current Test Circuit DS011225-10 www.national.com 10 ADC10154/ADC10158 TRI-STATE Test Circuits and Waveforms DS011225-12 DS011225-11 DS011225-14 DS011225-13 Timing Diagrams DS011225-15 DIAGRAM 1. Starting a Conversion with New MUX Channel and Output Configuration 11 www.national.com ADC10154/ADC10158 Timing Diagrams (Continued) DS011225-16 DIAGRAM 2. Starting a Conversion without Changing the MUX Channel or Output Configuration DS011225-17 DIAGRAM 3. Reading the Conversion Result www.national.com 12 TABLE 1. ADC10154 and ADC10158 Output Data Configuration Output Data Format Resolution Control Input Data Bus Output Assignment Data 8/10 U/S L/R 10-Bits + Sign Right-Justified 10-Bits + Sign L Left-Justified 10-Bits L Right-Justified 10-Bits L L L Left-Justified L H H L H 8-Bits + Sign Right-Justified H L L 8-Bits + Sign Left-Justified H L H 8-Bits Right-Justified 8-Bits H Left-Justified H H L H DB6 DB5 DB4 DB3 DB2 Sign Sign Sign Sign Sign MSB 8 7 6 5 4 3 2 LSB 9 8 7 6 5 4 First Byte Read Sign MSB L H DB7 Sign H DB1 DB0 9 First Byte Read Second Byte Read 3 2 LSB L L L L L Second Byte Read L L L L L L MSB 9 First Byte Read 8 7 6 5 4 3 2 LSB MSB 9 8 7 6 5 4 3 2 LSB L L L L L L Sign Sign Sign Sign Sign Sign Sign Sign First Byte Read MSB 7 Second Byte Read Second Byte Read First Byte Read Second Byte Read 6 5 4 3 2 LSB Sign MSB 7 6 5 4 3 2 First Byte Read LSB L L L L L L L Second Byte Read L L L L L L L L First Byte Read MSB 7 6 5 4 3 2 LSB Second Byte Read MSB 7 6 5 4 3 2 LSB First Byte Read L L L L L L L L Second Byte Read TABLE 2. ADC10158 Multiplexer Addressing MUX Address CS WR RD MA4 MA3 MA2 MA1 MA0 Channel Number CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7 X L L L L L H + − X L L L H L H − + X L L H L L H + − X L L H H L H − + X L H L L L X L H L H X L H H L X L H H H L H L L L H L L H L L + − L H − + L H + − L H − + L L H L H L H L H L L H H L H H L L H H L L L L H H L H L H L H H H L L H + − + − + H − + H L H H H H L H H H L L L L H H H L L H L H H H L H L L H H H L H H L H H H L L L H H H L H L H H H H H L L H X X X X X L L Single-Ended − + − + − + + − − + − + H L − + − + H L MUX Mode Differential H L VREF− − + Pseudo-Differential − + − + − Previous Channel Configuration 13 www.national.com ADC10154/ADC10158 Multiplexer Addressing and Output Data Configuration Tables ADC10154/ADC10158 Multiplexer Addressing and Output Data Configuration Tables (Continued) TABLE 3. ADC10154 Multiplexer Addressing MUX Address CS WR RD MA4 MA3 MA2 MA1 MA0 X X L L L L X X L L H L X X L H L L H X X L H H L H X L H L L L H X L H L H L X L H H L L L L CH1 H + − H − + L H H H L H H H L L L H X H H L H L X H H H L L X X X X X L L + − − + − − − + − + − Previous Channel Configuration 14 Single-Ended − + L MUX Mode − + H VREF− Differential + H L CH3 + H X CH2 + H X www.national.com Channel Number CH0 Pseudo-Differential DS011225-18 15 www.national.com ADC10154/ADC10158 Detailed Block Diagram ADC10154/ADC10158 1.0 Functional Description ately after the acquisition period the input signal is held and the actual conversion begins. The number of clocks required for a conversion is given in the following table: The ADC10154 and ADC10158 use successive approximation to digitize an analog input voltage. Additional logic has been incorporated in the devices to allow for the programmability of the resolution, conversion time and digital output format. A capacitive array and a resistive ladder structure are used in the DAC portion of the A/D converters. The structure of the DAC allows a very simple switching scheme to provide a very versatile analog input multiplexer. Also, inherent in this structure is a sample/hold. A 2.5V CMOS band-gap reference is also provided on the ADC10154 and ADC10158. Conversion Type 1.1 DIGITAL INTERFACE CLK÷2 CLK Cycles Cycles (N) 8-Bit 8 16 8-Bit + Sign 9 18 10-Bit 10 20 10-Bit + Sign 11 22 Since the CLK ÷2 signal is internal to the ADC, it is initially impossible to know which falling edge of CLK corresponds to the falling edge of CLK÷2. For the first conversion, the rising edge of WR should occur at least tWS ns before any falling edge of CLK. If this edge happens to be on the rising edge of CLK÷2, this will add 2 CLK cycles to the total conversion time. The phase of the CLK÷2 signal can be determined at the end of the first conversion, when INT goes low. INT always goes low on the falling edge of the CLK÷2 signal. From the first falling edge of INT onward, every other falling edge of CLK will correspond to the falling edge of CLK÷2. With the phase of CLK ÷2 now known, the conversion time can be minimized by taking WR high at least tWS ns before the falling edge of CLK÷2. Upon completion of the conversion, INT goes low to signal the A/D conversion result is ready to be read. Taking CS and RD low will enable the digital output buffer and put byte 1 of the conversion result on DB0 through DB7. The falling edge of RD resets the INT output high. Taking CS and RD low a second time will put byte 2 of the conversion result on DB7–DB0. Table 1 defines the DB0–DB7 assignment for different Control Input Data. The second read does not have to be completed before a new conversion is started. Taking CS, WR and RD low simultaneously will start a conversion without changing the multiplexer channel assignment or output configuration and resolution. The timing diagram in Figure 3 shows the sequence of events that implement this function. Refer to Diagrams 1, 2, and 3 in the Timing Diagrams section for the timing constraints that must be met. The ADC10154 and ADC10158 have eight digital outputs (DB0–DB8) and can be easily interfaced to an 8-bit data bus. Taking CS and WR low simultaneously will strobe the data word on the data-bus into the input latch. This word will be decoded to determine the multiplexer channel selection, the A/D conversion resolution and the output data format. The following table shows the input word data-bit assignment. DS011225-44 DB0 through DB4 are assigned to the multiplexer address data bits zero through four (MA0–MA4). Tables 2, 3 describe the multiplexer address assignment. DB5 selects unsigned or signed (U/S) operation. DB6 selects 8- or 10-bit resolution. DB7 selects left or right justification of the output data. Refer to Table 1 for the effect the Control Input Data has on the digital output word. The conversion process is started by the rising edge of WR, which sets the “start conversion” bit inside the ADC. If this bit is set, the converter will start acquiring the input voltage on the next falling edge of the internal CLK÷2 signal. The acquisition period is 3 CLK÷2 periods, or 6 CLK periods. Immedi- DS011225-19 FIGURE 3. Starting a Conversion without Updating the Channel Configuration, Resolution, or Data Format www.national.com 16 the digital output. This information is then manipulated by the Digital Output decoder to the programmed format. The reformatted data is then available to be strobed onto the data bus (DB0–DB7) via the digital output buffers by taking CS and RD low. (Continued) Digital Interface Hints: • Reads and writes can be completely asynchronous to CLK. • In addition to the timing indicated in Diagrams 1–3, CS can be tied low permanently or taken low for entire conversions, eliminating all the CS guardbands (tCR, tRC, tCW, tWC). • If CS is used as shown in Diagrams 1–-3, the CS guardbands (tCR, tRC, tCW, tWC) between CS and the RD and WR signals can safely be ignored as long as the following two conditions are met: 1) When initiating a write, CS and WR must be simultaneously low for at least tW(WR) ns (see Diagram 1). The “start” conversion” bit will be set on the rising edge of WR or CS, whichever is first. 2) When reading data, understand that data will not be valid until tACC ns after both CS and RD go low. The output data will enter TRI-STATE t1H ns or t0H ns after either CS or RD goes high (see Diagrams 2 and 3). 2.0 Applications Information 2.1 MULTIPLEXER CONFIGURATION The design of these converters utilizes a sampled-data comparator structure which allows a differential analog input to be converted by the successive approximation routine. The actual voltage converted is always the difference between an assigned “+” input terminal and a “−” input terminal. The polarity of each input terminal or pair of input terminals being converted indicates which line the converter expects to be the most positive. If the assigned “+” input is less than the “−” input the converter responds with an all zeros output code when configured for unsigned operation. When configured for signed operation the A/D responds with the appropriate output digital code. A unique input multiplexing scheme has been utilized to provide multiple analog channels. The input channels can be software configured into three modes: differential, single-ended, or pseudo-differential. Figure 4 shows the three modes using the 4-channel MUX of the ADC10154. The eight inputs of the ADC10158 can also be configured in any of the three modes. The single-ended mode has CH0–CH3 assigned as the positive input with the negative input being the VREF− of the device. In the differential mode, the ADC10154 channel inputs are grouped in pairs, CH0 with CH1 and CH2 with CH3. The polarity assignment of each channel in the pair is interchangeable. Finally, in the pseudo-differential mode CH0–CH2 are positive inputs referred to CH3 which is now a pseudo-ground. This pseudo-ground input can be set to any potential within the input common-mode range of the converter. The analog signal conditioning required in transducer-based data acquisition systems is significantly simplified with this type of input flexibility. One converter package can now handle ground-referred inputs and true differential inputs as well as signals referred to a specific voltage. The analog input voltages for each channel can range from 50 mV below V− (typically ground for unipolar operation or −5V for bipolar operation) to 50 mV above V+ = DV+ = AV+ (typically 5V) without degrading conversion accuracy. If the voltage on an unselected channel exceeds these limits it may corrupt the reading of the selected channel. 1.2 ARCHITECTURE Before a conversion is started, during the analog input sampling period, the sampled data comparator is zeroed. As the comparator is being zeroed the channel assigned to be the positive input is connected to the A/D’s input capacitor. (See the Digital Interface section for a description of the assignment procedure.) This charges the input 32C capacitor of the DAC to the positive analog input voltage. The switches shown in the DAC portion of the detailed block diagram are set for this zeroing/acquisition period. The voltage at the input and output of the comparator are at equilibrium at this point in time. When the conversion is started the comparator feedback switches are opened and the 32C input capacitor is then switched to the assigned negative input voltage. When the comparator feedback switch opens a fixed amount of charge is trapped on the common plates of the capacitors. The voltage at the input of the comparator moves away from equilibrium when the 32C capacitor is switched to the assigned negative input voltage, causing the output of the comparator to go high (“1”) or low (“0”). The SAR next goes through an algorithm, controlled by the output state of the comparator, that redistributes the charge on the capacitor array by switching the voltage on one side of the capacitors in the array. The objective of the SAR algorithm is to return the voltage at the input of the comparator as close as possible to equilibrium. The switch position information at the completion of the successive approximation routine is a direct representation of 17 www.national.com ADC10154/ADC10158 1.0 Functional Description ADC10154/ADC10158 2.0 Applications Information (Continued) 4 Single-Ended 2 Differential DS011225-41 DS011225-40 3 Pseudo-Differential 2 Single Ended and 1 Differential DS011225-42 DS011225-43 FIGURE 4. Analog Input Multiplexer Options The 2.5V reference output is referred to the negative supply pin (V−). Therefore, the voltage at VREFOut will always be 2.5V greater than the voltage applied to V−. Applying this voltage to VREF+ with VREF− tied to V− will yield an analog voltage span of 2.5V. In bipolar operation the voltage at VREFOut will be at −2.5V when V− is tied to −5V. For the single-ended multiplexer mode the analog input voltage range will be from −5V to −2.5V. The pseudo-differential and differential multiplexer modes allow for more flexibility in the analog input voltage range since the “zero” reference voltage is set by the actual voltage applied to the assigned negative input pin. The drawback of using the internal reference in the bipolar mode is that any noise on the −5V tied to the V− pin will affect the conversion result. The bandgap reference is specified and tested in unipolar operation with V− tied to the system ground. In a ratiometric system (Figure 5 (a)), the analog input voltage is proportional to the voltage used for the A/D reference. This voltage may also be the system power supply, so VREF+ can also be tied to AV+. This technique relaxes the stablity requirements of the system reference as the analog input and A/D reference move together maintaining the same output code for a given input condition. 2.2 REFERENCE CONSIDERATIONS The voltage difference between the VREF+ and VREF− inputs defines the analog input voltage span (the difference between VIN(Max) and VIN(Min)) over which the 2n (where n is the programmed resolution) possible output codes apply. In the pseudo-differential and differential modes the actual voltage applied to VREF+ and VREF− can lie anywhere between the AV+ and V−. Only the difference voltage is of importance. When using the single-ended multiplexer mode the voltage at VREF− has a dual function. It simultaneously determines the “zero” reference voltage and, with VREF+, the analog voltage span. The value of the voltage on the VREF+ or VREF− inputs can be anywhere between AV+ + 50 mV and V− − 50 mV, so long as VREF+ is greater than VREF−. The ADC10154 and ADC10158 can be used in either ratiometric applications or in systems requiring absolute accuracy. The reference pins must be connected to a voltage source capable of driving the minimum reference input resistance of 4.5 kΩ. The internal 2.5V bandgap reference in the ADC10154 and ADC10158 is available as an output on the VREFOut pin. To ensure optimum performance this output needs to be bypassed to ground with 330 µF aluminum electrolytic or tantalum capacitor. The reference output is unstable with capacitive loads greater than 100 pF and less than 100 µF. Any capacitive loads ≤100 pF or ≥100 µF will not cause the reference to oscillate. Lower output noise can be obtained by increasing the output capacitance. The 330 µF capacitor will yield a typical noise floor of 200 nVrms/ . www.national.com For absolute accuracy (Figure 5 (b)), where the analog input varies between very specific voltage limits, the reference pin can be biased with a time- and temperature-stable voltage source that has excellent initial accuracy. The LM4040 and LM185 references are suitable for use with the ADC10154 and ADC10158. 18 ADC10154/ADC10158 2.0 Applications Information (Continued) DS011225-21 a. Ratiometric Using the Internal Reference DS011225-22 b. Absolute Using a 4.096V Span FIGURE 5. Different Reference Configurations The minimum value of VREF (VREF = VREF+ − VREF−) can be quite small (see Typical Performance Characteristics) to allow direct conversion of transducer outputs providing less than a 5V output span. Particular care must be taken with regard to noise pickup, circuit layout and system error voltage sources when operating with a reduced span due to the increased sensitivity of the converter (1 LSB equals VREF/2n). the acquisition time (tA). The negative input needs to be stable during the complete conversion sequence because it is sampled before each decision in the SAR sequence. Therefore, any AC common-mode signal present on the analog inputs will not be completely cancelled and will cause some conversion errors. For a sinusoid common-mode signal this error is: Verror(Max) = VPEAK (2πfCM)(tC) 2.3 THE ANALOG INPUTS Due to the sampling nature of the analog inputs, at the clock edges short duration spikes of current will be seen on the selected assigned negative input. Input bypass capacitors should not be used if the source resistance is greater than 1 kΩ since they will average the AC current and cause an effective DC current to flow through the analog input source resistance. An op amp RC active lowpass filter can provide both impedance buffering and noise filtering should a high impedance signal source be required. Bypass capacitors may be used when the source impedance is very low without any degradation in performance. In a true differential input stage, a signal that is common to both “+” and “−” inputs is cancelled. For the ADC10154 and ADC10158, the positive input of a selected channel pair is only sampled once before the start of a conversion during where fCM is the frequency of the common-mode signal, VPEAK is its peak voltage value, and tC is the A/D’s maximum conversion time (tC = 22/fCLK for 10-bit plus sign resolution). For example, for a 60 Hz common-mode signal to generate a 1⁄4 LSB error (1.24 mV) with a 4.5 µs conversion time, its peak value would have to be approximately 731 mV. 2.4 OPTIONAL ADJUSTMENTS 2.4.1 Zero Error The zero error of the A/D converter relates to the location of the first riser of the transfer function (see Figure 1) and can be measured by grounding the minus input and applying a small magnitude positive or negative voltage to the plus input. Zero error is the difference between actual DC input voltage which is necessary to just cause an output digital 19 www.national.com ADC10154/ADC10158 2.0 Applications Information analog input voltage. Any change in the analog voltage on a selected positive input before or after the acquisition window will not effect the A/D conversion result. In the simplest case, the array’s acquisition time is determined by the RON (9 kΩ) of the multiplexer switches, the stray input capacitance CS1 (3.5 pF) and the total array (CL) and stray (CS2) capacitance (CL + CS2 = 48 pF). For a large source resistance the analog input can be modeled as an RC network as shown in Figure 6. The values shown yield an acquisition time of about 1.1 µs for 10-bit unipolar or 10-bit plus sign bipolar accuracy with a zero-to-full-scale change in the input voltage. External source resistance and capacitance will lengthen the acquisition time and should be accounted for. Slowing the clock will lengthen the acquisition time, thereby allowing a larger external source resistance. (Continued) code transition from 000 0000 0000 to 000 0000 0001 (10-bits plus sign) and the ideal 1⁄2 LSB value (1⁄2 LSB = 2.44 mV for VREF = + 5.000V and 10-bit plus sign resolution). The zero error of the A/D does not require adjustment. If the minimum analog input voltage value, VIN(Min), is not ground, the effetive “zero” voltage can be adjusted to a convenient value. The converter can be made to output an all zeros digital code for this minimum input voltage by biasing any minus input to VIN(Min). This is useful for either the differential or pseudo-differential input channel configurations. 2.4.2 Full-Scale The full-scale adjustment can be made by applying a differential input voltage which is 11⁄2 LSB down from the desired analog full-scale voltage range and then adjusting the VREF voltage (VREF = VREF+ − VREF−) for a digital output code changing from 011 1111 1110 to 011 1111 1111. In bipolar signed operation this only adjusts the positive full scale error. The negative full-scale error will be as specified in the Electrical Characteristics after a positive full-scale adjustment. 2.4.3 Adjusting for an Arbitrary Analog Input Voltage Range If the analog zero voltage of the A/D is shifted away from ground (for example, to accommodate an analog input signal which does not go to ground), this new zero reference should be properly adjusted first. A plus input voltage which equals this desired zero reference plus 1⁄2 LSB (where the LSB is calculated for the desired analog span, using 1 LSB = analog span/2n, n being the programmed resolution) is applied to selected plus input and the zero reference voltage at the corresponding minus input should then be adjusted to just obtain the 000HEX to 001HEX code transition. The full-scale adjustment should be made [with the proper minus input voltage applied] by forcing a voltage to the plus input which is given by: DS011225-23 FIGURE 6. Analog Input Model The curve “Signal to Noise Ratio vs. Output Frequency” (Figure 7) gives an indication of the usable bandwidth of the ADC10154/ADC10158. The signal-to-noise ratio of an ideal A/D is the ratio of the RMS value of the full scale input signal amplitude to the value of the total error amplitude (including noise) caused by the transfer function of the A/D. An ideal 10-bit plus sign A/D converter with a total unadjusted error of 0 LSB would have a signal-to-noise ratio of about 68 dB, which can be derived from the equation: S/N = 6.02(n) + 1.76 where S/N is in dB and n is the number of bits. Figure 3 shows the signal-to-noise ratio vs. input frequency of a typical ADC10154/ADC10158 with 1⁄2 LSB total unadjusted error. The dotted lines show signal-to-noise ratios for an ideal (noiseless) 10-bit A/D with 0 LSB error and an A/D with a 1 LSB error. where VMAX equals the high end of the ananlog input range, VMIN equals the low end (the offset zero) of the analog range and n equals the programmed resolution. Both VMAX and VMIN are ground referred. The VREF (VREF = VREF+ − VREF−) voltage is then adjusted to provide a code change from 3FEHEX to 3FFHEX. Note, when using a pseudo-differential or differential multiplexer mode where VREF+ and VREF− are placed within the V+ and V− range, the individual values of VREF+ and VREF− do not matter, only the difference sets the analog input voltage span. This completes the adjustment procedure. SNR vs Input Frequency 2.5 INPUT SAMPLE-AND-HOLD The ADC10154/8’s sample/hold capacitor is implemented in the capacitor array. After the channel address is loaded, the array is switched to sample the selected positive analog input. The rising edge of WR loads the multiplexer addressing information. The sampling period for the assigned positive input is maintained for the duration of the acquisition time (tA), i.e., approximately 6 to 8 clock cycles after the rising edge of WR. FIGURE 7. ADC10154/ADC10158 Signal-to-Noise Ratio vs Input Frequency An acquisition window of 6 clock cycles is available to allow the voltage on the capacitor array to settle to the positive The sample-and-hold error specifications are included in the error and timing specifications of the A/D. The hold step and www.national.com DS011225-24 20 A/D’s maximum conversion time specification. The hold droop rate can be thought of as being zero since an unlimited amount of time can pass between a conversion and the reading of data. The data is lost after a new conversion has been completed. (Continued) gain error sample/hold specs are included in the ADC10154/ ADC10158’s total unadjusted, linearity, gain and offset error specifications, while the hold settling time is included in the Protecting the Analog Inputs DS011225-25 Diodes are 1N914. The protection diodes should be able to withstand the output current of the op amp under current limit. Zero-Shift and Span-Adjust for Signed or Unsigned, Unipolar, Single-Ended Multiplexer Assignment, Analog Input Range of 2V ≤ VIN ≤ 4.5V DS011225-26 *1% resistors 21 www.national.com ADC10154/ADC10158 2.0 Applications Information ADC10154/ADC10158 Physical Dimensions inches (millimeters) unless otherwise noted Dual-In-Line Package (M) Order Number ADC10154CIWM NS Package Number M24B Dual-In-Line Package (M) Order Number ADC10158CIWM NS Package Number M28B www.national.com 22 inches (millimeters) unless otherwise noted (Continued) Dual-In-Line Package (N) Order Number ADC10158BIN or ADC10158CIN NS Package Number N28B LIFE SUPPORT POLICY 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 AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein: 1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. National Semiconductor Corporation Americas Tel: 1-800-272-9959 Fax: 1-800-737-7018 Email: [email protected] www.national.com National Semiconductor Europe Fax: +49 (0) 1 80-530 85 86 Email: [email protected] Deutsch Tel: +49 (0) 1 80-530 85 85 English Tel: +49 (0) 1 80-532 78 32 Français Tel: +49 (0) 1 80-532 93 58 Italiano Tel: +49 (0) 1 80-534 16 80 2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness. National Semiconductor Asia Pacific Customer Response Group Tel: 65-2544466 Fax: 65-2504466 Email: [email protected] National Semiconductor Japan Ltd. Tel: 81-3-5639-7560 Fax: 81-3-5639-7507 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. ADC10154/ADC10158 10-Bit Plus Sign 4 µs ADCs with 4- or 8-Channel MUX, Track/Hold and Reference Physical Dimensions