tl/h/8716 a new, low-cost, sampled-data, 10-bit cmos a/d converter an-276 national semiconductor application note 276 sing w. chin july 1981 a new, low-cost, sampled-data, 10-bit cmos a/d converter ``if it's not low cost, it's not creative'' cost is the single most important factor in the success of any new product. the current emphasis on digital ap- proaches to build electronic systems and the success of microprocessors have created new, high-volume markets for low cost a/d converters. without this stimulation in the marketplace, converter products would not have been se- lected as monolithic components, due to the relatively low volume usage of the traditional products. the challenge to- day, therefore, is to find new design solutions which will reduce costs of a/ds without sacrificing the performance specifications. how many bits are needed? the question of how many bits are needed in the a/d con- verter for a particular system is not always easy to answer. this is further complicated because of the distinction which must first be made between resolution and accuracy. for example, your digital bathroom scale may have graduations which indicate each pound over a range which extends from zero to 300 pounds maximum. this means you are capable of ``resolving'' one pound over this complete dynamic range or ``span.'' the next question is, ``what do i really weigh, say, on my doctor's scale?'' you may find that his scale indicates you are actually three pounds heavier than your scale indicates: this is the accuracy problem. a 10-bit a/d is capable of resolving 2 10 , or 1024, minimum voltage levels over the range from 0 to v ref volts. to put this into the physical world we live in, this degree of resolu- tion is capable of differentiating each single sheet of paper, which is only 0.004 inches (4 mils) thick in a stack of paper 4 inches high. in any stack of paper up to this maximum limit, a 10-bit a/d could be used in an electronic system which would sound an alarm if a sheet was added to or removed from the stack. (for simplicity, this assumes we have a per- fect height transducer and perfect analog signal condition- ing circuitry between this transducer and the input to the a/d.) if the a/d converter has an accuracy of g 1 least significant bit (lsb), this could be expressed as g 1/1024 or g 0.1% of full-scale. 10 bits presents design problem an a/d converter which provides every possible analog voltage as a tap on a resistor ladder would require 2 10 ,or 1024 resistors. a ladder expansion technique has been pre- viously developed which has greatly reduced the number of resistors. this technique has been used to provide an 8-bit a/d (the adc0804 family) which uses a theoretical mini- mum of only 7 resistors. (in practice, extra resistors are typi- cally used to improve matching by making use of unit resis- tors.) this 8-bit a/d design was the starting point for developing this 10-bit converter. a new idea, which is key to the 10-bit design, is a novel way to, in effect, use the previous 8-bit circuit four times to increase the resolution to 10 bits 2 . this was achieved by adding 2 msbs to the 8-bit design. we will first review the 8-bit a/d operation as a basis for under- standing the new 10-bit design. the basic 8-bit design the essential part of the adc0804 8-bit a/d family is a novel, multiple input, voltage comparator. this circuit allows a new feature for a comparator: multiple, differential volt- ages can be accepted as simultaneous inputs to the com- parator, and each differential input can be weighted by scal- ing the size of the associated input capacitor. the traditional op amp summing circuit, figure 1 , is similar, but accepts single-ended voltage inputs, and first converts each input voltage to an input current by making use of a scaled or weighted input resistor. these input currents are then alge- braically summed at the ``virtual ground'' or summing junc- tion (the ( b ) input of an op amp which has the ( a ) input grounded). the current surplus (or deficiency) is supplied through the feedback resistor to produce the output voltage. tl/h/8716 1 figure 1. the traditional op amp summing circuit 2 this design concept was proposed and implemented by john connolly. c 1995 national semiconductor corporation rrd-b30m115/printed in u. s. a.
a more useful voltage comparator results from a sampled- data approach, which involves switches and capacitors. now, input voltages are converted to input charges by the use of input capacitors, and the resulting charges are then algebraically added at a ``charge summing'' node. a multiple, differential input, sampled-data comparator is shown in figure 2 with the switches in the zeroing cycle. the input-output short, which is accomplished with sw5 around the inverting gain block (provided by a logic invert- er), causes this stage to bias at a fixed dc voltage. for example, a standard cmos inverter will bias at approxi- mately one half of the power supply voltage. notice that at this time the input switches, sw2 and sw4, are precharging the input capacitors with the ( b ) input voltages of the differ- ential inputs. these input capacitors will serve as storage elements to remember both of the ( b ) input voltages and the biasing voltage of the gain stage. these zeroing switches are then opened. the gain stage is now active and will respond to any deviations in the input voltage. an input voltage results when the switches sw1 and sw3 are subsequently both closed. as shown in the figure, d v1 is positive, which inputs a charge, q1, propor- tional to the value of c1, (q1 e d v1c1). if d v2 is negative, a charge, q2, will be removed from the charge summing node. if the charges q1 and q2 are balanced, there is no net change in the input voltage of the inverting gain block. these switches are dynamically cycled by a clock and the system is zeroed prior to each measuring interval. this is the same operating mode as has been used years ago by the auto-zeroed or chopper-stabilized op amps. a sufficient number of these stages are capacitor-coupled to provide an adequate overall gain for the comparator. making an 8-bit a/d this sampled-data comparator was made the heart of an 8- bit a/d converter, as shown in figure 3 . the comparator now has four differential voltage inputs; one for the analog inputs and three for the dac. the first 4 msbs of the 8-bit a/d are supplied by the dac switches, s1 and s2. as shown, the positions of s1 and s2 correspond to the digital code, ``10 00,'' for the first 4 bits of the 8-bit word. this should input v ref /2 from the dac. note that s1 is select- ing */4 v ref and s2 is selecting (/4 v ref , and these voltages are the first differential pair which is sampled by sw1 and sw2 at the start of a successive approximation search. this provides ( */4 v ref b (/4 v ref )or (/2 v ref as required from the dac. the differential input feature of this comparator has allowed an unusual resistor ladder to be used for the dac. notice that the top three resistors (each labeled ``r'') have (/4 v ref across them and the lower resistors (each labeled ``r/4'') have (/16 v ref across them. the comparator, therefore, al- lows the increased resolution of the s2 selected voltages to be ``fitted into'' each section of the upper or s1 selected voltages. in this way, the first 4 bits of this differential dac, or ``ddac,'' are realized. this same 4-bit trick is used again via the left side decoding switches, s3 and s4. these same voltage values provide charge which is reduced in significance by 16:1, making the input capacitor for this section a factor of 16 smaller. this now provides the least significant 4-bit group. the additional capacitor, c, and the lowermost two resistors (labeled ``r/8'') supply a (/2 lsb overall dac offset voltage. this is used in a/ds to center the natural g (/2 lsb quantization uncertainty of the a/d about the integer lsb values of ana- log input voltage. (this is (/2 lsb voltage is added to the analog input to cause the 00 hex to 01 hex code change of the a/d to occur at any analog input voltage value of only (/2 lsb.) if we are to use this basic 8-bit design for a 10-bit converter, we must make these 8 bits the least significant of the 10-bit data word. this can easily be done by again scaling the capacitor sizes. further, 2 additional msbs must be added: here is where another trick comes in. a novel way of adding 2 msbs the 2 msbs of the dac will control 2 2 , or 4, voltages. if these are chosen as v ref , ground, (/3 v ref and )/3 v ref we have an unusually beneficial situation. notice that the differential voltage input feature of the sampled-data com- parator allows picking up the two intermediate voltages ( (/3 and )/3 v ref ) from a resistor divider with only one tap, as shown in figure 4 . these odd voltage values ( (/3 and )/3 v ref ) from this 2 msb dac are ``cleaned up'' simply by scaling the size of the input capacitor which is used for this dac section by a factor of */4 . this will, therefore, provide the (/4 v ref increments 0, (/4 v ref , )/4 v ref and */4 v ref , which are necessary for the 2 msbs. now the basic 8-bit circuit can be used a total of 4 times, with each referenced to one of these (/4 v ref values. this will cover the analog input voltage range of 0 to v ref with 10 bits of resolution, as shown in figure 5 . * switches are shown in the ``zeroing'' cycle tl/h/8716 2 figure 2. a multiple, differential input sampled-data comparator or charge summing circuit 2
tl/h/8716 3 figure 3. basic dac ladder of 8-bit a/d converter tl/h/8716 4 s1 (msb) s2 (2nd bit) v dac 000 01 (/3 v ref 10 )/3 v ref 11v ref figure 4. providing the 2 msbs of a 10-bit a/d tl/h/8716 5 figure 5. how the 2 msbs extend the 8-bit circuit to 10 bits 3
this 2 resistor ladder will produce linearity errors in only 2 of the segments of the overall a/d transfer characteristic, be- cause there will be no errors in the first segment (2 msbs e 0), because v dac for this code is 0v. similarly, if we assume that the input capacitors ratio properly, there will be no lin- earity errors in the last segment, because the full v ref is sampled (then is weighed to produce */4 v ref as compared to the analog input voltage, via c in ). any mismatch between the c in of the analog differential input voltage and the c in of the dacs will cause a full-scale error, not a linearity error. the two end segments are therefore both free of linearity errors and an additional benefit is that any error in the exact value of the tap voltage o n a 2 resistor divider has the natu- ral characteristic that the error is the same magnitude on the (/3 v ref and )/3 v ref voltages, and is simply of opposite sign. thus, a linearity trim must provide a single magnitude of correcting charge, then this same charge is introduced into the comparator summing mode in one polarity for the ``01'' 2 msb code, and then the opposite polarity for the ``10'' code (a correcting charge is not used for the ``00'' or ``11'' codes). the adc1001, a 10-bit a/d in keeping with the similarity to the previous 8-bit a/d, a 10- bit product was designed to fit in the same 20 pin (0.3 wide) package and to use the same pinouts. now a custom- er can easily interchange from an 8 to a 10-bit a/d. this allows for a range of performance variation in his end prod- ucts while using the same pc board. the problem of getting the 10-bit output of the a/d onto an 8-bit data bus is handled by reading two 8-bit bytes. the data is left-justified and transferred, most significant byte first. this allows a single read cycle to pick up a valid 8-bit representation (the 8 msbs) and can save time if this is all the resolution that is required on a particular analog chan- nel. a second read cycle will pick up the 2 lsbs of the 10-bit data word. the 6 lsb positions are set to zero in this sec- ond byte. an internal byte counter keeps track of the byte sequencing so multiple, double-read cycles can be made, if desired. the problem of properly biasin ga5v dc reference circuit when operating from only a single 5 v dc power supply volt- age was handled on the 8-bit part by reducing the operating reference voltage for the internal dac to only 2.5 v dc . this can be designed to still provide a 5v full-scale for the a/d by simply doubling the sizes of all of the dac input capaci- tors to the comparator. this technique was also used for this 10-bit product. the reference voltage can also be fur- ther reduced in magnitude to increase the analog resolution over a reduced analog input voltage span, if desired. a basic diagram of the dac and the comparator input sec- tion of the 10-bit a/d are shown in figure 6 . a simplified schematic representation has been used for the 8 lsb sec- tion. this has been shown in more detail in figure 3 without the v ref reduction to v ref /2. to understand the scaling shown for the input capacitors, keep in mind that it is the input charge which is balanced. this means that a maximum differential analog input voltage of 5v would produce an input charge o f 5 x 32c or 160c tl/h/8716 6 figure 6. the dac and comparator input section 4
coulombs. if the dac were forced to a ``11 0000 0000'' or 300 hex code, the voltage, which is output from the 2 msb section, would be v ref /2. this is converted to an input charge via the 48c capacitor, so this charge, q300 hex , be- comes: q300 hex e v ref 2 c 48c and as v ref /2 e 2.5v then q300 hex e 2.5 (48)c or q300 hex e 120c which ratios to the analog full-scale charge, q afs as q300 hex q afs e 120c 160c e */4 fs which is the proper weight for the 300 hex code. similarly, the ``00 1000 0000'' or 080 hex code should re- quire (/8 (v ref ) at the analog input (neglecting the effects of the (/2 lsb offset voltage shift) to balance. this is the output of the 8 lsb section with a binary code of ``1000 0000'' input to this dac section. the charge from the analog input, q a , which corresponds to an analog input voltage of (/8 v ref , is given by: q a e (/8 (v ref ) (32c) the output voltage of the 8-bit dac section for 080 hex code is (/2 (v ref )/2, so the charge input by this dac, q dac , is given by q dac e (/2 (v ref ) 2 (16c), and this ratios to the analog input change, q a1 ,as q dac q a e (/2 (v ref /2) (16c) (/8 (v ref ) (32c) e 1 as expected. the 4 lsb grouping of this 8-bit dac uses an input capacitor (/16 smaller in value to properly reduce the significance of the last 4 bits. full-scale trim full-scale (or ``gain'') errors are trimmed by introducing an additional correcting charge into the summing node of the comparator. this is done in steps; for example, no full-scale correction is used on the first (/4 of the analog input voltage range (near zero). the next range receives (/3 of the total fs correcting charge, then )/3 , and finally the full charge is introduced in the last section. this sequencing of the fs trim is achieved by dynamically altering the input capaci- tance from no capacitance to c/2, to c/4, and finally to 3c/4. this is the reason for the extra input capacitor and the added switches, which are shown in the fs trim section of figure 6 . applications the standard applications of the 8-bit adc0804 series * can now easily be extended to 10 bits by simply plugging in the new adc1001 10-bit part. in addition, a 24 pin product (adc1021) is also available, which brings all 10 bits out for a 16-bit data bus application. the zero offsetting (by introducing a dc shifting voltage into the v in( b ) pin) can be used to accommodate analog input voltages which do not swing to ground. the v ref /2 input voltage can also be reduced to accommodate a reduced span of analog input voltages. finally, system designers can use the same pc board for either an 8-bit or a 10-bit product to take advantage of the standard pinouts used for these a/d converters. conclusions the multiple, input, sampled-data voltage comparator al- lows many benefits in both the design and application flexi- bility of monolithic a/d converters. this revolutionary con- cept has reduced the die size of a/ds, allows many product benefits, and appears to be the optimum solution for the realization of a low cost, high performance, monolithic a/d converter line. * for further details see data sheet. 5
an-276 a new, low-cost, sampled-data, 10-bit cmos a/d converter 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 of national semiconductor corporation. as used herein: 1. life support devices or systems are devices or 2. a critical component is any component of a life systems which, (a) are intended for surgical implant support device or system whose failure to perform can into the body, or (b) support or sustain life, and whose be reasonably expected to cause the failure of the life failure to perform, when properly used in accordance support device or system, or to affect its safety or with instructions for use provided in the labeling, can effectiveness. be reasonably expected to result in a significant injury to the user. national semiconductor national semiconductor national semiconductor national semiconductor corporation europe hong kong ltd. japan ltd. 1111 west bardin road fax: ( a 49) 0-180-530 85 86 13th floor, straight block, tel: 81-043-299-2309 arlington, tx 76017 email: cnjwge @ tevm2.nsc.com ocean centre, 5 canton rd. fax: 81-043-299-2408 tel: 1(800) 272-9959 deutsch tel: ( a 49) 0-180-530 85 85 tsimshatsui, kowloon fax: 1(800) 737-7018 english tel: ( a 49) 0-180-532 78 32 hong kong fran 3 ais tel: ( a 49) 0-180-532 93 58 tel: (852) 2737-1600 italiano tel: ( a 49) 0-180-534 16 80 fax: (852) 2736-9960 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.
|