Part Number Hot Search : 
C4245 BUZ16 RXXP12D BUL62A MICON TA1286A PFZ180A 14014
Product Description
Full Text Search
 

To Download ADC-0802 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  6-5 semiconductor features ? 80c48 and 80c80/85 bus compatible - no interfacing logic required ? conversion time < 100 m s ? easy interface to most microprocessors ? will operate in a stand alone mode ? differential analog voltage inputs ? works with bandgap voltage references ? ttl compatible inputs and outputs ? on-chip clock generator ? 0v to 5v analog voltage input range (single + 5v supply) ? no zero-adjust required description the adc0802 family are cmos 8-bit, successive-approxi- mation a/d converters which use a modi?ed potentiometric ladder and are designed to operate with the 8080a control bus via three-state outputs. these converters appear to the processor as memory locations or i/o ports, and hence no interfacing logic is required. the differential analog voltage input has good common- mode-rejection and permits offsetting the analog zero-input- voltage value. in addition, the voltage reference input can be adjusted to allow encoding any smaller analog voltage span to the full 8 bits of resolution. ordering information part number error external conditions temp. range ( o c) package pkg. no adc0802lcn 1 / 2 lsb v ref /2 = 2.500v dc (no adjustments) 0 to 70 20 ld pdip e20.3 adc0802lcd 3 / 4 lsb -40 to 85 20 ld cerdip f20.3 adc0802ld 1 lsb -55 to 125 20 ld cerdip f20.3 adc0803lcn 1 / 2 lsb v ref /2 adjusted for correct full scale reading 0 to 70 20 ld pdip e20.3 adc0803lcd 3 / 4 lsb -40 to 85 20 ld cerdip f20.3 adc0803lcwm 1 lsb -40 to 85 20 ld soic m20.3 adc0803ld 1 lsb -55 to 125 20 ld cerdip f20.3 adc0804lcn 1 lsb v ref /2 = 2.500v dc (no adjustments) 0 to 70 20 ld pdip e20.3 adc0804lcd 1 lsb -40 to 85 20 ld cerdip f20.3 adc0804lcwm 1 lsb -40 to 85 20 ld soic m20.3 pinout adc0802, adc0803, adc0804 (pdip, cerdip) top view typical application schematic 11 12 13 14 15 16 17 18 20 19 10 9 8 7 6 5 4 3 2 1 wr rd cs clk in intr v in (-) v in (+) dgnd v ref /2 agnd v+ or v ref clk r db 0 (lsb) db 1 db 2 db 3 db 4 db 5 db 6 db 7 (msb) 3 2 1 12 11 5 15 14 13 18 17 16 7 6 10 9 8 4 19 20 wr rd cs db 6 db 7 intr db 3 db 4 db 5 db 0 db 1 db 2 clk in clk r v+ v in (-) v in (+) dgnd v ref /2 agnd any m processor 8-bit resolution over any desired analog input voltage range diff inputs 10k 150pf v ref /2 m p bus +5v august 1997 caution: these devices are sensitive to electrostatic discharge. users should follow proper ic handling procedures. copyright ? harris corporation 1997 adc0802, adc0803 adc0804 8-bit, microprocessor- compatible, a/d converters file number 3094.1
6-6 functional diagram 12 11 15 14 13 18 17 16 wr rd cs intr clk osc clk r v+ v in (-) v in (+) dgnd v ref /2 agnd (v ref ) dac v out comp clk gen clks clk a reset start f/f ladder and decoder successive approx. register and latch 8-bit shift register d reset set conv . compl. three-state output latches digital outputs three-state control 1 = output enable dff2 clk a xfer g2 q 8 x 1/f r q intr f/f if reset = 0 d dff1 q d q clk b start conversion msb lsb q 1 = reset shift register 0 = busy and reset state reset read set 3 2 1 5 7 6 10 9 8 4 19 20 clk in msb g1 clk - + lsb input protection for all logic inputs input to internal bv = 30v circuits ? v+ + - adc0802, adc0803, adc0804
6-7 absolute maximum ratings thermal information supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5v voltage at any input . . . . . . . . . . . . . . . . . . . . . . -0.3v to (v + +0.3v) operating conditions temperature range adc0802/03ld. . . . . . . . . . . . . . . . . . . . . . . . . . . -55 o c to 125 o c adc0802/03/04lcd . . . . . . . . . . . . . . . . . . . . . . . . -40 o c to 85 o c adc0802/03/04lcn . . . . . . . . . . . . . . . . . . . . . . . . . .0 o c to 70 o c adc0803/04lcwm . . . . . . . . . . . . . . . . . . . . . . . . -40 o c to 85 o c thermal resistance (typical, note 1) q ja ( o c/w) q jc ( o c/w) pdip package . . . . . . . . . . . . . . . . . . . . . 125 n/a cerdip package . . . . . . . . . . . . . . . . . . 80 20 soic package . . . . . . . . . . . . . . . . . . . . . 120 n/a maximum junction temperature hermetic package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 o c plastic package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 o c maximum storage temperature range . . . . . . . . . .-65 o c to 150 o c maximum lead temperature (soldering, 10s) . . . . . . . . . . . . 300 o c (soic - lead tips only) caution: stresses above those listed in absolute maximum ratings may cause permanent damage to the device. this is a stress o nly rating and operation of the device at these or any other conditions above those indicated in the operational sections of this speci?cation is not im plied. note: 1. q ja is measured with the component mounted on an evaluation pc board in free air. electrical speci?cations (notes 1, 7) parameter test conditions min typ max units converter specifications v+ = 5v, t a = 25 o c and f clk = 640khz, unless otherwise specified total unadjusted error adc0802 v ref /2 = 2.500v - - 1 / 2 lsb adc0803 v ref /2 adjusted for correct full scale reading -- 1 / 2 lsb adc0804 v ref /2 = 2.500v - - 1 lsb v ref /2 input resistance input resistance at pin 9 1.0 1.3 - k w analog input voltage range (note 2) gnd-0.05 - (v+) + 0.05 v dc common-mode rejection over analog input voltage range - 1 / 16 1 / 8 lsb power supply sensitivity v+ = 5v 10% over allowed input voltage range - 1 / 16 1 / 8 lsb converter specifications v+ = 5v, 0 o c to 70 o c and f clk = 640khz, unless otherwise speci?ed total unadjusted error adc0802 v ref /2 = 2.500v - - 1 / 2 lsb adc0803 v ref /2 adjusted for correct full scale reading -- 1 / 2 lsb adc0804 v ref /2 = 2.500v - - 1 lsb v ref /2 input resistance input resistance at pin 9 1.0 1.3 - k w analog input voltage range (note 2) gnd-0.05 - (v+) + 0.05 v dc common-mode rejection over analog input voltage range - 1 / 8 1 / 4 lsb power supply sensitivity v+ = 5v 10% over allowed input voltage range - 1 / 16 1 / 8 lsb converter specifications v+ = 5v, -25 o c to 85 o c and f clk = 640khz, unless otherwise specified total unadjusted error adc0802 v ref /2 = 2.500v - - 3 / 4 lsb adc0803 v ref /2 adjusted for correct full scale reading -- 3 / 4 lsb adc0804 v ref /2 = 2.500v - - 1 lsb v ref /2 input resistance input resistance at pin 9 1.0 1.3 - k w analog input voltage range (note 2) gnd-0.05 - (v+) + 0.05 v dc common-mode rejection over analog input voltage range - 1 / 8 1 / 4 lsb power supply sensitivity v+ = 5v 10% over allowed input voltage range - 1 / 16 1 / 8 lsb adc0802, adc0803, adc0804
6-8 converter specifications v+ = 5v, -55 o c to 125 o c and f clk = 640khz, unless otherwise specified total unadjusted error adc0802 v ref /2 = 2.500v - - 1 lsb adc0803 v ref /2 adjusted for correct full scale reading -- 1 lsb v ref /2 input resistance input resistance at pin 9 1.0 1.3 - k w analog input voltage range (note 2) gnd-0.05 - (v+) + 0.05 v dc common-mode rejection over analog input voltage range - 1 / 8 1 / 4 lsb power supply sensitivity v+ = 5v 10% over allowed input voltage range - 1 / 8 1 / 4 lsb ac timing specifications v+ = 5v, and t a = 25 o c, unless otherwise speci?ed clock frequency, f clk v+ = 6v (note 3) 100 640 1280 khz v+ = 5v 100 640 800 khz clock periods per conversion (note 4), t conv 62 - 73 clocks/conv conversion rate in free-running mode, cr intr tied to wr with cs = 0v, f clk = 640khz - - 8888 conv/s width of wr input (start pulse width), t w(wr)i cs = 0v (note 5) 100 - - ns access time (delay from falling edge of rd to output data valid), t acc c l = 100pf (use bus driver ic for larger c l) - 135 200 ns three-state control (delay from rising edge of rd to hl-z state), t 1h , t 0h c l = 10pf, r l = 10k (see three-state test circuits) - 125 250 ns delay from falling edge of wr to reset of intr, t wi , t ri - 300 450 ns input capacitance of logic control inputs, c in -5-pf three-state output capacitance (data buffers), c out -5-pf dc digital levels and dc specifications v+ = 5v, and t min to t max , unless otherwise specified control inputs (note 6) logic 1 input voltage (except pin 4 clk in), v inh v+ = 5.25v 2.0 - v+ v logic 0 input voltage (except pin 4 clk in), v inl v+ = 4.75v - - 0.8 v clk in (pin 4) positive going threshold voltage, v+ clk 2.7 3.1 3.5 v clk in (pin 4) negative going threshold voltage, v- clk 1.5 1.8 2.1 v clk in (pin 4) hysteresis, v h 0.6 1.3 2.0 v logic 1 input current (all inputs), i inhi v ln = 5v - 0.005 1 ma logic 0 input current (all inputs), i inlo v ln = 0v -1 -0.005 - m a supply current (includes ladder current), i+ f clk = 640khz,t a = 25 o c and cs = hl - 1.3 2.5 ma data outputs and intr logic 0 output voltage, v ol l o = 1.6ma, v+ = 4.75v - - 0.4 v electrical speci?cations (notes 1, 7) (continued) parameter test conditions min typ max units adc0802, adc0803, adc0804
6-9 logic 1 output voltage, v oh l o = -360 m a, v+ = 4.75v 2.4 - - v three-state disabled output leakage (all data buffers) , i lo v out = 0v -3 - - m a v out = 5v - - 3 m a output short circuit current, i source v out short to gnd t a = 25 o c 4.5 6 - ma output short circuit current, i sink v out short to v+ t a = 25 o c 9.0 16 - ma notes: 1. all voltages are measured with respect to gnd, unless otherwise speci?ed. the separate agnd point should always be wired to t he dgnd, being careful to avoid ground loops. 2. for v in(-) 3 v in(+) the digital output code will be 0000 0000. two on-chip diodes are tied to each analog input (see block diagram) which will forward conduct for analog input voltages one diode drop below ground or one diode drop greater than the v+ supply. be car eful, during testing at low v+ levels (4.5v), as high level analog inputs (5v) can cause this input diode to conduct - especially at elevated tem- peratures, and cause errors for analog inputs near full scale. as long as the analog v in does not exceed the supply voltage by more than 50mv, the output code will be correct. to achieve an absolute 0v to 5v input voltage range will therefore require a minimum sup ply volt- age of 4.950v over temperature variations, initial tolerance and loading. 3. with v+ = 6v, the digital logic interfaces are no longer ttl compatible. 4. with an asynchronous start pulse, up to 8 clock periods may be required before the internal clock phases are proper to start the conversion process. 5. the cs input is assumed to bracket the wr strobe input so that timing is dependent on the wr pulse width. an arbitrarily wide pulse width will hold the converter in a reset mode and the start of conversion is initiated by the low to high transition of the wr pulse (see timing diagrams). 6. clk in (pin 4) is the input of a schmitt trigger circuit and is therefore specified separately. 7. none of these a/ds requires a zero-adjust. however, if an all zero code is desired for an analog input other than 0v, or if a narrow full scale span exists (for example: 0.5v to 4v full scale) the v in(-) input can be adjusted to achieve this. see the zero error description in this data sheet. electrical speci?cations (notes 1, 7) (continued) parameter test conditions min typ max units timing waveforms figure 1a. t 1h figure 1b. t 1h , c l = 10pf figure 1c. t 0h figure 1d. t 0h , c l = 10pf figure 1. three-state circuits and waveforms 10k v+ rd cs c l data output rd 2.4v t r 90% 50% 10% t 1h 0.8v data outputs gnd t r = 20ns v oh 90% 10k v+ rd cs c l data output v+ rd 2.4v t r 90% 50% 10% t 0h 0.8v data outputs v oi t r = 20ns v+ 10% adc0802, adc0803, adc0804
6-10 typical performance curves figure 2. logic input threshold voltage vs supply voltage figure 3. delay from falling edge of rd to output data valid vs load capacitance figure 4. clk in schmitt trip levels vs supply voltage figure 5. f clk vs clock capacitor figure 6. full scale error vs f clk figure 7. effect of unadjusted offset error -55 o c to 125 o c 1.8 1.7 1.6 1.5 1.4 1.3 4.75 4.50 5.00 5.25 5.50 v+ supply voltage (v) logic input threshold voltage (v) delay (ns) 500 400 300 200 100 0 load capacitance (pf) 200 400 600 800 1000 clk in threshold voltage (v) 3.5 3.1 2.7 2.3 1.9 1.5 4.50 v+ supply voltage (v) -55 o c to 125 o c v t(-) v t(+) 4.75 5.00 5.25 5.50 1000 clock capacitor (pf) f clk (khz) 100 100 10 1000 r = 10k r = 50k r = 20k full scale error (lsbs) 7 6 5 4 3 2 1 0 f clk (khz) 0 400 800 1200 1600 2000 v+ = 4.5v v+ = 5v v+ = 6v v in(+) = v in(-) = 0v assumes v os = 2mv this shows the need for a zero adjustment if the span is reduced offset error (lsbs) 16 14 12 10 8 6 4 2 v ref /2 (v) 0 0.01 0.1 1.0 5 adc0802, adc0803, adc0804
6-11 figure 8. output current vs temperature figure 9. power supply current vs temperature timing diagrams figure 10a. start conversion figure 10b. output enable and reset intr typical performance curves (continued) output current (ma) 8 7 6 5 4 3 2 -50 t a ambient temperature ( o c) -i sink v out = 0.4v i source v out = 2.4v data output buffers v+ = 5v -25 0 25 50 75 100 125 power supply current (ma) t a ambient temperature ( o c) -50 -25 0 25 50 75 100 125 1.6 1.5 1.4 1.3 1.2 1.1 1.0 f clk = 640khz v+ = 5.5v v+ = 5.0v v+ = 4.5v t wi t w(wr)i 1 to 8 x 1/f clk internal t c cs wr actual internal status of the converter intr (last data read) (last data not read) not busy busy data is valid in output latches intr asserted t vi 1 / 2 f clk valid data valid data intr reset intr cs rd data outputs three-state (hi-z) t ri t acc t 1h , t 0h adc0802, adc0803, adc0804
6-12 understanding a/d error specs a perfect a/d transfer characteristic (staircase wave-form) is shown in figure 11a. the horizontal scale is analog input volt- age and the particular points labeled are in steps of 1 lsb (19.53mv with 2.5v tied to the v ref /2 pin). the digital output codes which correspond to these inputs are shown as d-1, d, and d+1. for the perfect a/d, not only will center-value (a - 1, a, a + 1, . . .) analog inputs produce the correct output digital codes, but also each riser (the transitions between adjacent output codes) will be located 1 / 2 lsb away from each center- value. as shown, the risers are ideal and have no width. correct digital output codes will be provided for a range of analog input voltages which extend 1 / 2 lsb from the ideal center-values. each tread (the range of analog input voltage which provides the same digital output code) is therefore 1 lsb wide. the error curve of figure 11b shows the worst case transfer function for the adc0802. here the speci?cation guarantees that if we apply an analog input equal to the lsb analog volt- age center-value, the a/d will produce the correct digital code. next to each transfer function is shown the corresponding error plot. notice that the error includes the quantization uncertainty of the a/d. for example, the error at point 1 of figure 11a is + 1 / 2 lsb because the digital code appeared 1 / 2 lsb in advance of the center-value of the tread. the error plots always have a constant negative slope and the abrupt upside steps are always 1 lsb in magnitude, unless the device has missing codes. detailed description the functional diagram of the adc0802 series of a/d converters operates on the successive approximation princi- ple (see application notes an016 and an020 for a more detailed description of this principle). analog switches are closed sequentially by successive-approximation logic until the analog differential input voltage [v ln(+) - v ln(-) ] matches a voltage derived from a tapped resistor string across the reference voltage. the most signi?cant bit is tested ?rst and after 8 comparisons (64 clock cycles), an 8-bit binary code (1111 1111 = full scale) is transferred to an output latch. the normal operation proceeds as follows. on the high-to-low transition of the wr input, the internal sar latches and the shift-register stages are reset, and the intr output will be set high. as long as the cs input and wr input remain low, the a/d will remain in a reset state. conversion will start from 1 to 8 clock periods after at least one of these inputs makes a low- to-high transition. after the requisite number of clock pulses to complete the conversion, the intr pin will make a high-to-low transition. this can be used to interrupt a processor, or otherwise signal the availability of a new conversion. a rd operation (with cs low) will clear the intr line high again. transfer function error plot figure 11a. accuracy = 0 lsb; perfect a/d transfer function error plot figure 11b. accuracy = 1 / 2 lsb figure 11. clarifying the error specs of an a/d converter analog input (v in ) digital output code d + 1 d d - 1 a + 1 a a - 1 3 2 1 56 4 3 2 15 6 4 error 0 +1 lsb -1 lsb - 1 / 2 lsb + 1 / 2 lsb * quantization error a analog input (v in ) a + 1 a - 1 analog input (v in ) digital output code d + 1 d d - 1 a + 1 a a - 1 3 2 1 5 6 4 * 0 +1 lsb -1 lsb quantization error 3 2 1 6 4 analog input (v in ) a + 1 a a - 1 error adc0802, adc0803, adc0804
6-13 the device may be operated in the free-running mode by con- necting intr to the wr input with cs = 0. to ensure start-up under all possible conditions, an external wr pulse is required during the ?rst power-up cycle. a conversion-in-process can be interrupted by issuing a second start command. digital operation the converter is started by having cs and wr simultaneously low. this sets the start ?ip-?op (f/f) and the resulting 1 level resets the 8-bit shift register, resets the interrupt (intr) f/f and inputs a 1 to the d ?ip-?op, dff1, which is at the input end of the 8-bit shift register. internal clock signals then trans- fer this 1 to the q output of dff1. the and gate, g1, com- bines this 1 output with a clock signal to provide a reset signal to the start f/f. if the set signal is no longer present (either wr or cs is a 1), the start f/f is reset and the 8-bit shift register then can have the 1 clocked in, which starts the conversion process. if the set signal were to still be present, this reset pulse would have no effect (both outputs of the start f/f would be at a 1 level) and the 8-bit shift register would continue to be held in the reset mode. this allows for asyn- chronous or wide cs and wr signals. after the 1 is clocked through the 8-bit shift register (which completes the sar operation) it appears as the input to dff2. as soon as this 1 is output from the shift register, the and gate, g2, causes the new digital word to transfer to the three-state output latches. when dff2 is subsequently clocked, the q output makes a high-to-low transition which causes the intr f/f to set. an inverting buffer then supplies the intr output signal. when data is to be read, the combination of both cs and rd being low will cause the intr f/f to be reset and the three- state output latches will be enabled to provide the 8-bit digital outputs. digital control inputs the digital control inputs (cs, rd, and wr) meet standard ttl logic voltage levels. these signals are essentially equiva- lent to the standard a/d start and output enable control sig- nals, and are active low to allow an easy interface to microprocessor control busses. for non-microprocessor based applications, the cs input (pin 1) can be grounded and the standard a/d start function obtained by an active low pulse at the wr input (pin 3). the output enable function is achieved by an active low pulse at the rd input (pin 2). analog operation the analog comparisons are performed by a capacitive charge summing circuit. three capacitors (with precise ratioed values) share a common node with the input to an auto- zeroed comparator. the input capacitor is switched between v ln(+) and v ln(-) , while two ratioed reference capacitors are switched between taps on the reference voltage divider string. the net charge corresponds to the weighted difference between the input and the current total value set by the suc- cessive approximation register. a correction is made to offset the comparison by 1 / 2 lsb (see figure 11a). analog differential voltage inputs and common-mode rejection this a/d gains considerable applications ?exibility from the ana- log differential voltage input. the v ln(-) input (pin 7) can be used to automatically subtract a ?xed voltage value from the input reading (tare correction). this is also useful in 4ma - 20ma cur- rent loop conversion. in addition, common-mode noise can be reduced by use of the differential input. the time interval between sampling v in(+) and v ln(-) is 4 1 / 2 clock periods. the maximum error voltage due to this slight time difference between the input voltage samples is given by: where: d v e is the error voltage due to sampling delay, v peak is the peak value of the common-mode voltage, f cm is the common-mode frequency. for example, with a 60hz common-mode frequency, f cm , and a 640khz a/d clock, f clk , keeping this error to 1 / 4 lsb (~5mv) would allow a common-mode voltage, v peak , given by: , or . the allowed range of analog input voltage usually places more severe restrictions on input common-mode voltage levels than this. an analog input voltage with a reduced span and a relatively large zero offset can be easily handled by making use of the differential input (see reference voltage span adjust). analog input current the internal switching action causes displacement currents to ?ow at the analog inputs. the voltage on the on-chip capaci- tance to ground is switched through the analog differential input voltage, resulting in proportional currents entering the v in(+) input and leaving the v in(-) input. these current tran- sients occur at the leading edge of the internal clocks. they rapidly decay and do not inherently cause errors as the on- chip comparator is strobed at the end of the clock period. input bypass capacitors bypass capacitors at the inputs will average these charges and cause a dc current to ?ow through the output resistances of the analog signal sources. this charge pumping action is worse for continuous conversions with the v in(+) input voltage at full scale. for a 640khz clock frequency with the v in(+) input at 5v, this dc current is at a maximum of approximately 5 m a. therefore, bypass capacitors should not be used at the analog inputs or the v ref /2 pin for high resistance sources (>1k w ). if input bypass capacitors are necessary for noise ?ltering and high source resistance is desirable to mini- mize capacitor size, the effects of the voltage drop across this input resistance, due to the average value of the input current, can be compensated by a full scale adjustment while the given source resistor and input bypass capacitor are both in place. this is possible because the average value of the input current is a precise linear function of the differential input voltage at a constant conversion rate. v e max () d v peak () 2 p f cm () 4.5 f clk ------------ = v peak d v e max () f clk () 2 p f cm () 4.5 () ------------------------------------------------- - = v peak 510 3 C () 640 10 3 () 6.28 () 60 () 4.5 () ---------------------------------------------------------- 1.9v @ = adc0802, adc0803, adc0804
6-14 input source resistance large values of source resistance where an input bypass capacitor is not used will not cause errors since the input currents settle out prior to the comparison time. if a low- pass ?lter is required in the system, use a low-value series resistor ( 1k w ) for a passive rc section or add an op amp rc active low-pass ?lter. for low-source-resistance applications ( 1k w ), a 0.1 m f bypass capacitor at the inputs will minimize emi due to the series lead inductance of a long wire. a 100 w series resistor can be used to isolate this capacitor (both the r and c are placed outside the feedback loop) from the output of an op amp, if used. stray pickup the leads to the analog inputs (pins 6 and 7) should be kept as short as possible to minimize stray signal pickup (emi). both emi and undesired digital-clock coupling to these inputs can cause system errors. the source resistance for these inputs should, in general, be kept below 5k w . larger values of source resistance can cause undesired signal pickup. input bypass capacitors, placed from the analog inputs to ground, will eliminate this pickup but can create analog scale errors as these capacitors will average the transient input switching cur- rents of the a/d (see analog input current). this scale error depends on both a large source resistance and the use of an input bypass capacitor. this error can be compensated by a full scale adjustment of the a/d (see full scale adjustment) with the source resistance and input bypass capacitor in place, and the desired conversion rate. reference voltage span adjust for maximum application ?exibility, these a/ds have been designed to accommodate a 5v, 2.5v or an adjusted voltage reference. this has been achieved in the design of the ic as shown in figure 12. notice that the reference voltage for the ic is either 1 / 2 of the voltage which is applied to the v+ supply pin, or is equal to the voltage which is externally forced at the v ref /2 pin. this allows for a pseudo-ratiometric voltage reference using, for the v+ supply, a 5v reference voltage. alternatively, a volt- age less than 2.5v can be applied to the v ref /2 input. the internal gain to the v ref /2 input is 2 to allow this factor of 2 reduction in the reference voltage. such an adjusted reference voltage can accommodate a reduced span or dynamic voltage range of the analog input voltage. if the analog input voltage were to range from 0.5v to 3.5v, instead of 0v to 5v, the span would be 3v. with 0.5v applied to the v ln(-) pin to absorb the offset, the reference voltage can be made equal to 1 / 2 of the 3v span or 1.5v. the a/d now will encode the v ln(+) signal from 0.5v to 3.5v with the 0.5v input corresponding to zero and the 3.5v input corre- sponding to full scale. the full 8 bits of resolution are therefore applied over this reduced analog input voltage range. the req- uisite connections are shown in figure 13. for expanded scale inputs, the circuits of figures 14 and 15 can be used. figure 12. the v reference design on the ic figure 13. offsetting the zero of the adc0802 and performing an input range (span) adjustment figure 14. handling 10v analog input range v+ dgnd v ref /2 agnd (v ref ) r r digital circuits analog circuits 9 810 20 decode 300 to v ref /2 to v in(-) zero shift voltage 0.1 m f 5v - + v ref (5v) fs adj. span/2 icl7611 v in(-) 2r 5v 2r v in 10v r v in(+) (v ref ) v+ 20 10 m f 6 7 + adc0802- adc0804 adc0802, adc0803, adc0804
6-15 reference accuracy requirements the converter can be operated in a pseudo-ratiometric mode or an absolute mode. in ratiometric converter applications, the magnitude of the reference voltage is a factor in both the output of the source transducer and the output of the a/d converter and therefore cancels out in the ?nal digital output code. in absolute conversion applications, both the initial value and the temperature stability of the reference voltage are important accuracy factors in the operation of the a/d converter. for v ref /2 voltages of 2.5v nominal value, initial errors of 10mv will cause conversion errors of 1 lsb due to the gain of 2 of the v ref /2 input. in reduced span applica- tions, the initial value and the stability of the v ref /2 input voltage become even more important. for example, if the span is reduced to 2.5v, the analog input lsb voltage value is correspondingly reduced from 20mv (5v span) to 10mv and 1 lsb at the v ref /2 input becomes 5mv. as can be seen, this reduces the allowed initial tolerance of the refer- ence voltage and requires correspondingly less absolute change with temperature variations. note that spans smaller than 2.5v place even tighter requirements on the initial accu- racy and stability of the reference source. in general, the reference voltage will require an initial adjustment. errors due to an improper value of reference voltage appear as full scale errors in the a/d transfer func- tion. ic voltage regulators may be used for references if the ambient temperature changes are not excessive. zero error the zero of the a/d does not require adjustment. if the minimum analog input voltage value, v ln(mln) , is not ground, a zero offset can be done. the converter can be made to output 0000 0000 digital code for this minimum input voltage by bias- ing the a/d v in(-) input at this v ln(mln) value (see applications section). this utilizes the differential mode operation of the a/d. the zero error of the a/d converter relates to the location of the ?rst riser of the transfer function and can be measured by grounding the v in(-) input and applying a small magnitude positive voltage to the v in(+) input. zero error is the difference between the actual dc input voltage which is necessary to just cause an output digital code transition from 0000 0000 to 0000 0001 and the ideal 1 / 2 lsb value ( 1 / 2 lsb = 9.8mv for v ref /2 = 2.500v). full scale adjust the full scale adjustment can be made by applying a differential input voltage which is 1 1 / 2 lsb down from the desired analog full scale voltage range and then adjusting the magnitude of the v ref /2 input (pin 9) for a digital output code which is just changing from 1111 1110 to 1111 1111. when offsetting the zero and using a span-adjusted v ref /2 voltage, the full scale adjustment is made by inputting v mln to the v in(-) input of the a/d and applying a voltage to the v in(+) input which is given by: , where: v max = the high end of the analog input range, and v min = the low end (the offset zero) of the analog range. (both are ground referenced.) clocking option the clock for the a/d can be derived from an external source such as the cpu clock or an external rc network can be added to provide self-clocking. the clk in (pin 4) makes use of a schmitt trigger as shown in figure 16. heavy capacitive or dc loading of the clk r pin should be avoided as this will disturb normal converter operation. loads less than 50pf, such as driving up to 7 a/d converter clock inputs from a single clk r pin of 1 converter, are allowed. for larger clock line loading, a cmos or low power ttl buffer or pnp input logic should be used to minimize the loading on the clk r pin (do not use a standard ttl buffer). restart during a conversion if the a/d is restarted ( cs and wr go low and return high) during a conversion, the converter is reset and a new con- version is started. the output data latch is not updated if the conversion in progress is not completed. the data from the previous conversion remain in this latch. continuous conversions in this application, the cs input is grounded and the wr input is tied to the intr output. this wr and intr node should be momentarily forced to logic low following a power- up cycle to insure circuit operation. see figure 17 for details. figure 15. handling 5v analog input range v in(-) r 5v v in 5v r v in(+) (v ref ) v+ 20 10 m f 6 7 + adc0802- adc0804 v in + () f sadj v max 1.5 v max v min C () 256 ----------------------------------------- C = clk r 4 clk in clk adc0802- adc0804 f clk @ 19 r c 1 1.1 rc r @ 10k w figure 16. self-clocking the a/d adc0802, adc0803, adc0804
6-16 driving the data bus this cmos a/d, like mos microprocessors and memories, will require a bus driver when the total capacitance of the data bus gets large. other circuitry, which is tied to the data bus, will add to the total capacitive loading, even in three- state (high-impedance mode). back plane busing also greatly adds to the stray capacitance of the data bus. there are some alternatives available to the designer to han- dle this problem. basically, the capacitive loading of the data bus slows down the response time, even though dc speci?- cations are still met. for systems operating with a relatively slow cpu clock frequency, more time is available in which to establish proper logic levels on the bus and therefore higher capacitive loads can be driven (see typical performance curves). at higher cpu clock frequencies time can be extended for i/o reads (and/or writes) by inserting wait states (8080) or using clock-extending circuits (6800). finally, if time is short and capacitive loading is high, external bus drivers must be used. these can be three-state buffers (low power schottky is recommended, such as the 74ls240 series) or special higher-drive-current products which are designed as bus drivers. high-current bipolar bus drivers with pnp inputs are recommended. power supplies noise spikes on the v+ supply line can cause conversion errors as the comparator will respond to this noise. a low-inductance tantalum ?lter capacitor should be used close to the converter v+ pin, and values of 1 m f or greater are recommended. if an unregulated voltage is available in the system, a separate 5v voltage regulator for the converter (and other analog circuitry) will greatly reduce digital noise on the v+ supply. an lcl7663 can be used to regulate such a supply from an input as low as 5.2v. wiring and hook-up precautions standard digital wire-wrap sockets are not satisfactory for breadboarding with this a/d converter. sockets on pc boards can be used. all logic signal wires and leads should be grouped and kept as far away as possible from the analog signal leads. exposed leads to the analog inputs can cause undesired digital noise and hum pickup; therefore, shielded leads may be necessary in many applications. a single-point analog ground should be used which is separate from the logic ground points. the power supply bypass capaci- tor and the self-clocking capacitor (if used) should both be returned to digital ground. any v ref /2 bypass capacitors, ana- log input ?lter capacitors, or input signal shielding should be returned to the analog ground point. a test for proper grounding is to measure the zero error of the a/d converter. zero errors in excess of 1 / 4 lsb can usually be traced to improper board layout and wiring (see zero error for measurement). further information can be found in application note an018. testing the a/d converter there are many degrees of complexity associated with testing an a/d converter. one of the simplest tests is to apply a known analog input voltage to the converter and use leds to display the resulting digital output code as shown in figure 18. for ease of testing, the v ref /2 (pin 9) should be supplied with 2.560v and a v+ supply voltage of 5.12v should be used. this provides an lsb value of 20mv. if a full scale adjustment is to be made, an analog input volt- age of 5.090v (5.120 - 1 1 / 2 lsb) should be applied to the v in(+) pin with the v in(-) pin grounded. the value of the v ref /2 input voltage should be adjusted until the digital out- put code is just changing from 1111 1110 to 1111 1111. this value of v ref /2 should then be used for all the tests. the digital-output led display can be decoded by dividing the 8 bits into 2 hex characters, one with the 4 most-signi?cant bits (ms) and one with the 4 least-signi?cant bits (ls). the output is then interpreted as a sum of fractions times the full scale voltage: . for example, for an output led display of 1011 0110, the ms character is hex b (decimal 11) and the ls character is hex (and decimal) 6, so: . 11 12 13 14 15 16 17 18 20 19 10 9 8 7 6 5 4 3 2 1 adc0802 - adc0804 wr rd cs intr clk in v in (-) v in (+) dgnd v ref /2 agnd db 1 db 0 db 4 db 3 db 2 db 7 db 6 db 5 clk r v+ 10k 5v (v ref ) 10 m f + data start analog inputs 150pf outputs n.o. msb lsb figure 17. free-running connection v out ms 16 -------- - ls 256 --------- - + ? ?? 5.12 () v = start v in (+) dgnd 2.560v agnd 10 m f 150pf n.o. 0.1 m f 0.1 m f tantalum 5.120v 5v 1.3k w leds (8) (8) msb lsb 10k w v ref /2 + 11 12 13 14 15 16 17 18 20 19 10 9 8 7 6 5 4 3 2 1 adc0802- adc0804 figure 18. basic tester for the a/d v out 11 16 ------ 6 256 --------- - + ? ?? 5.12 () 3.64v == adc0802, adc0803, adc0804
6-17 figures 19 and 20 show more sophisticated test circuits. typical applications interfacing 8080/85 or z-80 microprocessors this converter has been designed to directly interface with 8080/85 or z-80 microprocessors. the three-state output capability of the a/d eliminates the need for a peripheral interface device, although address decoding is still required to generate the appropriate cs for the converter. the a/d can be mapped into memory space (using standard mem- ory-address decoding for cs and the memr and memw strobes) or it can be controlled as an i/o device by using the i/or and i/o w strobes and decoding the address bits a0 ? a7 (or address bits a8 ? a15, since they will contain the same 8-bit address information) to obtain the cs input. using the i/o space provides 256 additional addresses and may allow a simpler 8-bit address decoder, but the data can only be input to the accumulator. to make use of the addi- tional memory reference instructions, the a/d should be mapped into memory space. see an020 for more discus- sion of memory-mapped vs i/o-mapped interfaces. an example of an a/d in i/o space is shown in figure 21. the standard control-bus signals of the 8080 ( cs, rd and wr) can be directly wired to the digital control inputs of the a/d, since the bus timing requirements, to allow both starting the converter, and outputting the data onto the data bus, are met. a bus driver should be used for larger microprocessor systems where the data bus leaves the pc board and/or must drive capacitive loads larger than 100pf. it is useful to note that in systems where the a/d converter is 1 of 8 or fewer i/o-mapped devices, no address-decoding circuitry is necessary. each of the 8 address bits (a0 to a7) can be directly used as cs inputs, one for each i/o device. interfacing the z-80 and 8085 the z-80 and 8085 control buses are slightly different from that of the 8080. general rd and wr strobes are provided and separate memory request, mreq, and i/o request, iorq, signals have to be combined with the generalized strobes to provide the appropriate signals. an advantage of operating the a/d in i/o space with the z-80 is that the cpu will automatically insert one wait state (the rd and wr strobes are extended one clock period) to allow more time for the i/o devices to respond. logic to map the a/d in i/o space is shown in figure 22. by using mreq in place of iorq, a memory-mapped con?guration results. additional i/o advantages exist as software dma routines are available and use can be made of the output data transfer which exists on the upper 8 address lines (a8 to a15) during i/o input instructions. for example, mux channel selection for the a/d can be accomplished with this operating mode. the 8085 also provides a generalized rd and wr strobe, with an io/ m line to distinguish i/o and memory requests. the circuit of figure 22 can again be used, with io/ m in place of iorq for a memory-mapped interface, and an extra inverter (or the logic equivalent) to provide io/m for an i/o-mapped connection. interfacing 6800 microprocessor derivatives (6502, etc.) the control bus for the 6800 microprocessor derivatives does not use the rd and wr strobe signals. instead it employs a single r/w line and additional timing, if needed, can be derived from the f 2 clock. all i/o devices are memory-mapped in the 6800 system, and a special signal, vma, indicates that the cur- rent address is valid. figure 23 shows an interface schematic where the a/d is memory-mapped in the 6800 system. for sim- plicity, the cs decoding is shown using 1 / 2 dm8092. note that in many 6800 systems, an already decoded 4/5 line is brought out to the common bus at pin 21. this can be tied directly to the cs pin of the a/d, provided that no other devices are addressed at hex addr: 4xxx or 5xxx. in figure 24 the adc0802 series is interfaced to the mc6800 microprocessor through (the arbitrarily chosen) port b of the mc6820 or mc6821 peripheral interface adapter (pla). here the cs pin of the a/d is grounded since the pla is already memory-mapped in the mc6800 system and no cs decoding is necessary. also notice that the a/d output data lines are con- nected to the microprocessor bus under program control through the pla and therefore the a/d rd pin can be grounded. application notes analog inputs a r b r r r c 100r - + a2 8-bit a/d under test 10-bit dac v analog output 100x analog - + a1 error voltage figure 19. a/d tester with analog error output. this circuit can be used to generate error plots of figure 11. a/d under test 10-bit dac digital v analog inputs digital outputs figure 20. basic digital a/d tester note # description answerfax doc. # an016 selecting a/d converters 9016 an018 dos and donts of applying a/d converters 9018 an020 a cookbook approach to high speed data acquisition and microprocessor interfacing 9020 an030 the icl7104 - a binary output a/d converter for microprocessors 9030 adc0802, adc0803, adc0804
6-18 note: pin numbers for 8228 system controller: others are 8080a. figure 21. adc0802 to 8080a cpu interface 11 12 13 14 15 16 17 18 20 19 10 9 8 7 6 5 4 3 2 1 adc0802 - adc0804 wr rd cs intr clk in v in (-) v in (+) dgnd v ref /2 agnd db 1 db 0 db 4 db 3 db 2 db 7 db 6 db 5 clk r v+ 10k 5v 10 m f + analog inputs 150pf msb lsb db 1 (16) (note) db 0 (13) (note) db 4 (5) (note) db 3 (9) (note) db 2 (11) (note) db 7 (7) (note) db 6 (20) (note) db 5 (18) (note) 5v ad 15 (36) ad 14 (39) ad 13 (38) ad 12 (37) ad 11 (40) ad 10 (1) 8131 bus comparator int (14) i/o rd (25) (note) i/o wr (27) (note) t 5 t 4 t 3 t 2 t 1 t 0 b 5 b 4 b 3 b 2 b 1 b 0 v+ out adc0802, adc0803, adc0804
6-19 figure 22. mapping the a/d as an i/o device for use with the z-80 cpu figure 23. adc0802 to mc6800 cpu interface figure 24. adc0802 to mc6820 pia interface wr rd iorq rd wr 74c32 adc0802- adc0804 3 2 11 12 13 14 15 16 17 18 20 19 10 9 8 7 6 5 4 3 2 1 adc0802 - adc0804 wr rd cs intr clk in v in (-) v in (+) dgnd v ref /2 agnd db 1 db 0 db 4 db 3 db 2 db 7 db 6 db 5 clk r v+ 10k 5v (8) 10 m f + analog inputs 150pf msb lsb d 1 (32) [29] d 0 (33) [31] d 4 (29) [32] d 3 (30) [h] d 2 (31) [k] d 7 (26) [j] d 6 (27) [l] d 5 (28) [30] a 12 (22) [34] a 13 (23) [n] a 14 (24) [m] a 15 (25) [33] vma (5) [f] irq (4) ? [d] ?? r/w (34) [6] 1 2 3 4 5 6 1 / 2 dm8092 a b c 1 2 3 ? numbers in parentheses refer to mc6800 cpu pinout. ?? numbers or letters in brackets refer to standard mc6800 system common bus code. 11 12 13 14 15 16 17 18 20 19 10 9 8 7 6 5 4 3 2 1 adc0802 - adc0804 wr rd cs intr clk in v in (-) v in (+) dgnd v ref /2 agnd db 1 db 0 db 4 db 3 db 2 db 7 db 6 db 5 clk r v+ 10k 5v analog inputs 150pf msb lsb 11 10 14 13 12 17 16 15 pb 1 pb 0 pb 4 pb 3 pb 2 pb 7 pb 6 pb 5 mc6820 (mcs6520) pia cb 2 cb 1 19 18 adc0802, adc0803, adc0804
6-20 die characteristics die dimensions: (101 mils x 93 mils) x 525 m m x 25 m m metallization: type: al thickness: 10k ? 1k ? passivation: type: nitride over silox nitride thickness: 8k ? silox thickness: 7k ? metallization mask layout adc0802, adc0803, adc0804 wr rd cs clk in intr v in (-) v in (+) dgnd v ref /2 agnd v+ or v ref clk r db 0 db 1 db 2 db 3 db 4 db 5 db 6 db 7 (msb) v+ or v ref adc0802, adc0803, adc0804


▲Up To Search▲   

 
Price & Availability of ADC-0802

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X