An absolute-value analog-to-digital converter containing a chain of matched main absolute-value differential amplifiers (A.sub.1 -A.sub.N) has a gain control for regulating the gain of each main amplifier utilizing an auxiliary absolute-value differential amplifier (A.sub.GC) matched to the main amplifiers. An offset control in the converter drives the offsets of the amplifiers toward zero by using a further absolute-value differential amplifier (A.sub.OC) matched to the other amplifiers. The gain and offset control are implemented with suitable feedback circuitry.
Description
FIELD OF THE INVENTION This invention relates generally to analog-to-digital (A/D) converters suitable for semiconductor integrated circuits and particularly to such A/D converters employing absolute-value conversion techniques. BACKGROUND ART A/D converters using absolute-value algorithms achieve high conversion speed because clocking is generally not necessary. Referring to FIG. 1, it illustrates a conventional absolute-value converter in which an analog voltage signal V.sub.I is converted into an N-bit digital signal represented as bits 1, 2, . . . J, . . . N-1 and N. Bit 1 is the most significant bit (MSB), while bit N is the least significant bit (LSB). In this converter, an input circuit 10 operates on analog voltage V.sub.I to produce an analog input signal V.sub.I1 which is supplied to the first amplifier A.sub.1 in a chain of N-1 main absolute-value differential amplifiers A.sub.1, A.sub.2, . . . A.sub.J, . . . and A.sub.N-1. Upon receiving a mainline input signal V.sub.IJ and a reference input signal, each amplifier A.sub.J amplifies the absolute value of their voltage difference to produce an output signal V.sub.OJ which is supplied as the mainline input V.sub.IJ+1 to the next amplifier A.sub.J+1. This procedure is followed with all of outputs V.sub.OJ except output V.sub.ON-1 which is supplied as mainline input V.sub.IN to a buffer 12 that receives a reference input but may not be an absolute-value differential amplifier. A set of N comparators C.sub.1, . . . C.sub.J, . . . C.sub.N-1, and C.sub.N corresponding respectively to amplifiers A.sub.1, . . . A.sub.J, . . . and A.sub.N-1 and buffer 12 generates the digital signal. In particular, each comparator C.sub.J generates bit J using the inputs to corresponding amplifier A.sub.J or buffer 12. Typically, comparator C.sub.J does not directly compare these inputs but instead compares a pair of intermediate signals V.sub.YJ and V.sub.ZJ generated from the inputs. The generation of signals V.sub.YJ and V.sub.ZJ is represented by the dashed lines within each amplifier A.sub.J or buffer 12. In a common absolute-value converter, each amplifier A.sub.J has an optimum gain of precisely 2. Mainline inputs V.sub.I1 -V.sub.IN all vary over the same voltage range from a lower end-point level V.sub.L to an upper end-point level V.sub.U, both of which are normally fixed. The reference inputs to amplifiers A.sub.1 -A.sub.N-1 and buffer 12 are all at the mid-range level (V.sub.U +V.sub.L)/2. Neglecting any gain error or offset in output V.sub.OJ from its nominal value, output V.sub.OJ is given by the transfer function 2.vertline.V.sub.IJ -(V.sub.U +V.sub.L)/2.vertline.+V.sub.L for each amplifier A.sub.J. Setting V.sub.IJ as either V.sub.L or V.sub.U yields V.sub.U as the maximum V.sub.OJ output, while entering (V.sub.U +V.sub.L)/2 into this transfer function yields V.sub.L as the minimum V.sub.OJ output. These extreme V.sub.OJ values are precisely the necessary voltage range for the next input V.sub.IJ+1. Offsets and gain errors resulting, for example, from temperature variation and manufacturing imprecision can cause errors in the digital signal. Some prior absolute-value A/D converters have used complicated precision amplifier cells to overcome this problem. These cells occupy a relatively large area which makes this solution undesirable. In addition, conversion speed is limited because large amounts of feedback are needed. Another solution suggested by G. J. J. Vos in "een snelle 8-bits analoog/digitaalomzetter", Polytechnisch Tijdschrift, Elektrotechnick/Elektronica, Vol. 35, Feb. 1980, pp. 112-118, is to regulate amplifiers A.sub.1 -A.sub.N-1 with an open-loop control system represented as item 14 in FIG. 1. As the Vos control system is understood, it basically attempts to force the offset of each amplifier A.sub.J to zero. Incidental to this offset control, the Vos system also appears to provide some gain regulation. Although Vos is a step forward, its open-loop control is still relatively imprecise. FIG. 2 shows the basic bipolar circuit that Vos uses for each amplifier A.sub.J. Inputs V.sub.IJ and (V.sub.U +V.sub.L)/2 are supplied respectively to the bases of a pair of NPN transistors Q1.sub.A and Q1.sub.B whose emitters are coupled to each other through a pair of resistors R1.sub.A and R1.sub.B separated by a node 16. Transistors Q1.sub.A and Q1.sub.B amplify the voltage difference between their bases. Their collectors supply the amplified difference to the bases of a pair of NPN transistors Q2.sub.A and Q2.sub.B, respectively, whose emitters which are tied together at a node 18 provide the absolute value of the amplified difference to one end of resistor R.sub.A. Output V.sub.OJ is taken at the other end of resistor R.sub.A. The collectors of transistors Q2.sub.A and Q2.sub.B are cross-coupled to their bases through a pair of resistors R2.sub.B and R2.sub.A, respectively, and to a source of a high supply voltage V.sub.CC through a pair of resistors R3.sub.B and R3.sub.A, respectively. The purpose of the cross-coupling is to cause output V.sub.OJ to vary linearly with mainline input V.sub.IJ when it is near the reference input. A current source consisting of an NPN transistor Q3 and a resistor R.sub.G connected together between node 16 and a source of a low supply voltage V.sub.EE provides the operating current for transistors Q1.sub.A and Q1.sub.B. Likewise, a current source consisting of an NPN transistor Q4 and a resistor R.sub.B connected together between the V.sub.EE supply and resistor R.sub.A provides the operating current for transistors Q2.sub.A and Q2.sub.B. Control system 14 drives the bases of transistors Q3 and Q4 in an effort to reduce the offset to as low a value as possible, preferably zero. As pointed out above, system 14 also incidentally appears to affect amplifier gain. This general type of absolute-value differential amplifier is particularly suitable for absolute-value D/A converters because of its overall simplicity and its capability for good input-to-output linearity. DISCLOSURE OF THE INVENTION In accordance with the invention, an absolute-value A/D converter employing a chain of matched main absolute-value differential amplifiers has a gain-control system that regulates the gain of each main amplifier by utilizing an auxiliary absolute-value differential amplifier matched to the main amplifiers. An offset-control system in the converter causes the offsets of the amplifiers to closely approach zero through the use of a further absolute-value differential amplifier matched to the other amplifiers. More particularly, the present device converts an analog signal into a digital signal. Each of the main amplifiers, designated sequentially as the first amplifier through the last amplifier, produces an output signal by amplifying the absolute value of the voltage difference between a mainline input signal and a reference input signal. The analog signal is the mainline signal to the first amplifier. The output signal of each amplifier except the last amplifier is the mainline signal to the next amplifier. A comparing circuit generates the digital signal by determining whether the mainline signal to each amplifier exceeds its reference signal. In the gain-control system, the auxiliary amplifier produces an auxiliary output signal from a pair of input signals. A gain-control feedback circuit responsive to the voltage difference between the auxiliary output signal and a signal substantially the same as the auxiliary output signal when the gain of the auxiliary amplifier is at a desired gain generates a gain-control signal. This signal controls a path back to the auxiliary amplifier to cause its gain to stabilize very near the desired gain. The gain-control signal also controls similar paths to the main amplifiers. Because the auxiliary amplifier is matched to the main amplifiers, their gains stabilize very near the desired gain. In the offset-control system, the further amplifier produces a further output signal from a pair of substantially equal input signals. The further output signal thus differs from an end-point level (typically V.sub.L) by no more than an offset. An offset-control feedback circuit responsive to the voltage difference between the further output signal and a signal at the end-point level generates an offset-control signal. This signal controls at least one path back to the offset-control system to drive the offset toward zero. Because of the amplifier matching, the offsets of the other amplifiers are likewise driven toward zero. An important feature of the invention is the use of a switch in each main amplifier so as to enable it to be switchably operated as a latch that assumes one of a pair of binary logic states depending on whether its mainline signal exceeds its reference signal. When operated in the latch mode, each main amplifier provides at least one signal, and normally a pair of complementary signals, corresponding to the assumed logic state and representing a bit portion of the digital signal. This feature is achieved by configuring each main amplifier generally as in Vos with a pair of cross-coupled bipolar transistors that are used temporarily for data storage. Thus, the invention takes advantage of this cross-coupling not only to improve input-to-output linearity but also to provide a storage function in generating the digital signal. The conversion speed of the present A/D converter is enhanced because it is very simple. In contrast to the prior art, the present invention provides accurate gain/offset control with a greatly reduced component count. This significantly improves reliability. Moreover, A/D operation is largely insensitive to manufacturing imprecision or temperature variation.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a prior art absolute-value A/D converter in which each absolute-value differential amplifier has a desired gain of two. FIG. 2 is a circuit diagram of a prior art absolute-value differential amplifier employable in the converter of FIG. 1. FIG. 3 is a block diagram of an absolute-value A/D converter in accordance with the invention in which each absolute-value differential amplifier has a desired gain of two and in which gain/offset control is achieved with a composite feedback system. FIG. 4 is a circuit diagram of an absolute-value differential amplifier and associated linearity control suitable for the converter of FIG. 3 as well as FIG. 6 or 7. FIG. 5 is a graph of amplifier output-to-input voltage that results from using the linearity control of FIG. 4. FIG. 6 is a block diagram of an A/D converter in accordance with the invention in which each absolute-value differential amplifier has a desired gain of two and in which largely separate feedback circuits provide gain and offset control. FIG. 7 is a block diagram of an A/D converter in accordance with the invention in which each absolute-value differential amplifier has a desired gain different from two and in which gain/offset control is achieved with a composite feedback system. Like reference symbols are employed in the drawings and the description of the preferred embodiments to represent the same or very similar item or items.
DESCRIPTION OF THE PREFERRED EMBODIMENTS Turning to the drawings, FIG. 3 shows an absolute-value A/D converter for converting analog voltage signal V.sub.I into a digital signal represented by bits 1-N. A sample-and-hold/level shift circuit 20 operates on analog signal V.sub.I to produce analog signal V.sub.I1 which is the actual signal converted into the digital signal. Circuit 20 may be conventional in design but is preferably a sample-and-hold circuit with associated level shift as disclosed in co-filed U.S. patent application Ser. No. 468,754. "Impedance Buffer with Reduced Settling Time", the contents of which are incorporated by reference herein. Ser. No. 468,754 is now U.S. Pat. No. 4,542,305. This converter contains N main absolute-value gain-of-2 differential amplifiers A.sub.1, . . . A.sub.J, . . . A.sub.N-1, and A.sub.N and corresponding comparators C.sub.1, . . . C.sub.J, . . . C.sub.N-1, and C.sub.N which provide the N bits of the digital signal. Amplifiers A.sub.1 -A.sub.N are powered by the V.sub.CC supply and matched to one another. "Matched" here means configurationally the same (except perhaps for minor items which do not affect the pertinent operation) and subjected to substantially the same temperature variation. Matched items are usually, though not necessarily, substantially the same in a topographical sense--e.g., laid out the same on a semiconductor wafer and oriented in the same direction. Analog signal V.sub.I1 is the mainline input to amplifier A.sub.1. Each amplifier A.sub.J generates its output signal V.sub.OJ by amplifying the absolute value of the voltage difference between its mainline input signal V.sub.IJ and its reference input signal. Each input V.sub.IJ is in the range of V.sub.L to V.sub.U, of which both vary slightly here. The reference inputs to amplifiers A.sub.L -A.sub.N are all (V.sub.U +V.sub.L)/2 which likewise varies slightly. Except for amplifier A.sub.N, output V.sub.OJ of each amplifier A.sub.J is input V.sub.IJ+1 to next amplifier A.sub.J+1. As to amplifier A.sub.N, its output V.sub.ON is not employed in the A/D conversion but may be used as a circuit test point. Each amplifier A.sub.J consists of a differential amplifying portion D.sub.J and an absolute-value buffer portion B.sub.J, both shown in dashed lines. Differential portion D.sub.J whose nominal gain is slightly over 2 amplifies the voltage difference between inputs V.sub.IJ and (V.sub.U +V.sub.L)/2 to generate a pair of signals V.sub.AJ and V.sub.BJ. Buffer BJ whose nominal gain is slightly under 1 generates output V.sub.OJ by determining the absolute value of the voltage difference between signals V.sub.AJ and V.sub.BJ. Comparator C.sub.J generates bit J by comparing them to determine which is greater. The transfer function (V.sub.OJ) for each amplifier A.sub.J is G.vertline..DELTA.V.sub.IJ .vertline.+V.sub.L +V.sub.OS. The gain G, which is substantially the same for all amplifiers A.sub.L -A.sub.N since they are matched, is the sum of the desired gain of 2 and a gain error .DELTA.G. V.sub.IJ is the difference between V.sub.IJ and (V.sub.U +V.sub.L)/2. The voltage offset VOS, which is virtually the same for all amplifiers A.sub.1-A.sub.N because of the matching, is ideally zero. The A/D converter of FIG. 3 contains a composite feedback system consisting of a gain-control system that causes the gain of each amplifier A.sub.J to stabilize very near the desired gain of 2 and an offset-control system that drives the offset V.sub.OS of each amplifier very close to zero. The principal components of the composite system include an auxiliary absolute-value differential amplifier A.sub.GC and a further absolute-value differential amplifier A.sub.OC. Both are powered by the V.sub.CC supply and matched to main amplifiers A.sub.1 -A.sub.N. Because of the matching, amplifiers A.sub.GC and A.sub.OC have virtually the same gain and offset as amplifiers A.sub.1 -A.sub.N. As a result, amplifiers A.sub.GC and A.sub.OC have the same transfer function. Likewise, each amplifier A.sub.GC or A.sub.OC contains a differential portion D.sub.GC or D.sub.OC and a buffer portion B.sub.GC or B.sub.OC corresponding respectively to portions D.sub.J and B.sub.J in amplifier A.sub.J. In the gain-control system, amplifier A.sub.GC generates an auxiliary output voltage signal V.sub.OGC in response to a pair of input signals which differ by (V.sub.U -V.sub.L)/2--i.e., half of the V.sub.L -to-V.sub.U voltage range. Preferably these input signals are at the V.sub.U and (V.sub.U +V.sub.L)/2 levels. Output V.sub.OGC is supplied principally to the inverting input of an operational amplifier E.sub.GC and also to an impedance matching circuit 22. The combination of amplifier E.sub.GC and circuit 22 has substantially the same input impedance as amplifier A.sub.J so that the output V.sub.OGC effectively "sees" amplifier A.sub.J. Signal V.sub.U is also supplied as a baseline signal to the non-inverting input of amplifier E.sub.GC. Responsive to the voltage difference between signals V.sub.U and V.sub.OGC, amplifier E.sub.GC generates a gain-control (error) signal V.sub.EGC which is fed back to the gain-control input terminal of differential portion D.sub.GC in amplifier A.sub.GC. Control voltage V.sub.EGC is also supplied to the gain-control input terminals of differential portions D.sub.1 -D.sub.N and D.sub.OC in amplifiers A.sub.1 -A.sub.N and A.sub.OC. The gain control works in the following manner. Assume that gain error .DELTA.G is non-zero, while offset V.sub.OS is zero. Since the input difference to amplifier A.sub.GC is (V.sub.U -V.sub.L)/2, output V.sub.OGC is V.sub.U +.DELTA.G(V.sub.U -V.sub.L)/2. Accordingly, the input voltage difference to amplifier E.sub.GC is -.DELTA.G(V.sub.U -V.sub.L)/2 which causes control voltage V.sub.EGC to drop below its nominal value if .DELTA.G is positive and to rise above its nominal value if .DELTA.G is negative. By virtue of the feedback loop to amplifier A.sub.GC, a decrease in control signal V.sub.EGC below its nominal value causes the gain of amplifier A.sub.GC to decrease, and vice versa. Its gain thereby stabilizes very close to the desired gain of 2. Because amplifiers A.sub.1 -A.sub.N and A.sub.OC are matched to amplifier A.sub.GC and receive control signal V.sub.EGC, their gains also stabilize very near 2. Signal V.sub.U is supplied from the upper end of a voltage divider 24 whose lower end supplies end-point signal V.sub.L and is coupled through a current source I.sub.R to the V.sub.EE supply. Divider 24 consists of resistors R.sub.U and R.sub.L whose resistances are the same. A low-current signal (V.sub.U +V.sub.L)/2 is provided from the mid-point of divider 24 to the non-inverting input of an operational amplifier 26 whose output is fed back to its inverting input so that amplifier 26 has a closed-loop gain of 1. The output of amplifier 26 is voltage (V.sub.U +V.sub.L)/2 which is at a sufficiently high current level to drive the A.sub.1 -A.sub.N, A.sub.GC, and A.sub.OC inputs that are at (V.sub.U +V.sub.L)/2. Moving on to the offset-control system, amplifier A.sub.OC receives a pair of input signals at the same value. So as to most closely duplicate the average condition in amplifier A.sub.1 utilized in generating the most significant bit, this value is preferably (V.sub.U +V.sub.L)/2. As a result, amplifier A.sub.OC generates a further output voltage signal V.sub.OOC that equals V.sub.L +V.sub.OS. Output V.sub.OOC is supplied to the non-inverting input of an operational amplifier E.sub.OC and also to an impedance matching circuit 28. The combination of amplifier E.sub.OC and circuit 28 duplicates the input impedance of amplifier A.sub.J, causing output VOOC to effectively "see" amplifier A.sub.J. End point V.sub.L is supplied from divider 24 to the inverting input of amplifier E.sub.OC. Consequently, the input voltage difference to amplifier E.sub.OC is offset V.sub.OS. Responsive to this difference, amplifier E.sub.OC generates an offset-control (error) signal which is baseline voltage V.sub.U at the top of divider 24 here. In this way, amplifier E.sub.OC also provides the supply voltage for divider 24. The offset control works in the following way. Amplifier E.sub.OC causes voltage V.sub.U to rise above its nominal level when offset V.sub.OS is positive, and vice versa. The voltage at each point on divider 24 changes by the same amount. In particular, signals V.sub.L and (V.sub.U +V.sub.L)/2 each change by this amount. Assuming output V.sub.OOC to be constant, adjustment of voltage V.sub.L resulting from its feedback to amplifier E.sub.OC regulates offset V.sub.OS. This occurs because amplifier E.sub.OC can tolerate only an extremely small input voltage difference. V.sub.OOC which equals V.sub.L +V.sub.OS then equates to signal V.sub.L. Accordingly, end point V.sub.L appropriately adjusts to force offset V.sub.OS toward zero. Since amplifiers A.sub.1 -A.sub.N and A.sub.GC are matched to amplifier A.sub.OC, their offsets likewise closely approach zero. In fact, output V.sub.OOC does vary. Its variance is regulated in a manner that causes voltage (V.sub.U +V.sub.L)/2 to reach a value suitable for the operation of amplifiers A.sub.1 -A.sub.N. Amplifiers A.sub.GC and E.sub.GC are involved here. Excluding any gain change, output V.sub.OGC does not change when signal V.sub.U changes since the difference between signals V.sub.U and (V.sub.U +V.sub.L)/2 is constant. The input voltage difference to amplifier E.sub.GC then increases to raise control signal V.sub.EGC when offset V.sub.OS is positive, and vice versa. In turn, the change in voltage V.sub.EGC which is fed back to the gain-control input of amplifier A.sub.OC causes the V.sub.L term in output V.sub.OOC to change. In response, amplifier E.sub.OC and divider 24 provide signal (V.sub.U +V.sub.L)/2 at an acceptable level. This converter also contains a linearity control 30 which generates a linearity-control voltage signal V.sub.LC that is supplied to the current-control inputs of buffers B.sub.1 -B.sub.N, B.sub.GC, and B.sub.OC in amplifiers A.sub.1 -A.sub.N, A.sub.GC, and A.sub.OC. Control voltage V.sub.LC is suitably adjusted so as to induce a linear relationship between output V.sub.OJ or V.sub.OGC and the absolute value of the input voltage difference to each amplifier A.sub.J or A.sub.GC. FIG. 4 shows the circuitry for a cell containing each main amplifier A.sub.J and its associated comparator C.sub.J plus the circuitry for linearity control 30 employed in FIG. 3. The circuitry employed for amplifier A.sub.J is also employed for amplifiers A.sub.GC and A.sub.OC. For convenience, they are laid out in an integrated circuit in cells identical to the A.sub.J cell. That is, the portion of the circuitry not used for the absolute-value differential amplifying function in the A.sub.GC and A.sub.GC cells is also laid out but is inactive. Unless otherwise indicated, the transistors shown in FIG. 4 are all NPN bipolar transistors having the same emitter area. Amplifier A.sub.J contains transistors Q1.sub.A and Q1.sub.B as the active part of differential portion D.sub.J, resistors R1.sub.A and R1.sub.B which have the same resistance R.sub.1, transistors Q2.sub.A and Q2.sub.B as the active part of buffer B.sub.J, resistors R2.sub.A and R2.sub.B which have the same resistance R.sub.2, resistors R3.sub.A and R3.sub.B which have the same resistance R.sub.3, the current source formed by transistor Q3 and resistor R.sub.G, and the current source formed by transistor Q4 and resistor R.sub.B. These elements are connected as shown in FIG. 4 and also as described above for FIG. 2. (Resistor R.sub.A is absent in FIG. 4.) Voltages V.sub.AJ and V.sub.BJ are respectively supplied from the Q1.sub.A and Q1.sub.B collectors. Voltage V.sub.EGC is supplied to the base of transistor Q3 to control the gain current I.sub.G for differential portion D.sub.J. The gain is approximately (R.sub.2 +R.sub.3)/2(R.sub.1 +kT/qIG) where k is Boltzmann's constant, T is the device temperature, and q is the electronic charge. Voltage V.sub.LC is supplied to the base of transistor Q4 to control the buffer current I.sub.B for buffer B.sub.J. As previously mentioned, the cross-coupling of transistors Q2.sub.A and Q2.sub.B improves the linearity between output V.sub.OJ and mainline input V.sub.IJ when it is near reference input (V.sub.U +V.sub.L)/2. Buffer current I.sub.B may be expressed as CkT/qR.sub.3 where C is a constant. The linearity is best when C is in the range of 1.5-1.7 and is very near 1.6. Linearity control 30 regulates current I.sub.B so as to bring it very close to the optimum value. Circuit 30 contains transistors Q5 and Q6 whose bases are coupled together through a node 32. The Q5 emitter area differs from and is normally greater than the Q6 emitter area by a factor M.sub.C which is optimally 5. Although transistor Q5 is represented as having multiple emitters, it is normally laid out as a group of parallel transistors each having the same emitter area as transistor Q6. A resistor R4 having a resistance R.sub.4 is coupled between the V.sub.EE supply and the Q5 emitter. Resistors R5.sub.C and R5.sub.D having the same resistance R5 as resistor R.sub.B are connected between the V.sub.EE supply and the Q5 and Q6 emitters, respectively, resistors R4 and R5.sub.C being in series. Resistors R6.sub.C and R6.sub.D having the same resistance R.sub.6 are connected between the V.sub.CC supply and the Q5 and Q6 collectors, respectively. An operational amplifier E.sub.LC supplies control voltage V.sub.LC at node 32 to drive the Q5 and Q6 bases. The inputs of amplifier E.sub.LC are connected to the Q5 and Q6 collectors. The E.sub.LC input connections could be reversed from those shown. A resistor R7 is connected between node 32 and the Q5 base to compensate for base resistance mismatch due to the different areas of transistors Q5 and Q6. Inasmuch as amplifier F.sub.LC can tolerate only a very small input voltage difference for control 30 to be stable, the Q5 and Q6 collector voltages are virtually the same. As a result, the collector-emitter currents through transistors Q5 and Q6 are virtually the same. Since their saturation currents differ by the ratio M.sub.C, the Q6 current turns out to be approximately (kT/qR.sub.4)1nM.sub.C which has the same temperature dependence as buffer current I.sub.B. In general the Q4 emitter area to the Q6 emitter area may differ from unity by a factor M.sub.B. As a result I.sub.B is (kT/qR.sub.4)M.sub.B 1nM.sub.C. Thus, by setting (R.sub.3 /R.sub.4)M.sub.B 1nM.sub.C equal to C, voltage V.sub.LC is at precisely the value that causes buffer current I.sub.B to vary linearly with temperature T. In the preferred embodiment, R.sub.3 and R.sub.4 are the same. M.sub.B is 1, while M.sub.C is 5. Accordingly, C is 1n5 or about 1.61. FIG. 5 illustrates hcw linearity control 30 interacts with the cross-coupling of transistors Q2.sub.A and Q2.sub.B to provide the proper amount of positive feedback for causing V.sub.OJ to vary linearly with .vertline.V.sub.IJ -(V.sub.U +V.sub.L)/2.vertline.. Curve 34 which rounds off near the point at which input V.sub.IJ equals the reference input represents the case where there is insufficient or no feedback. Curve 36 which forms a cusp represents the situation where there is too much feedback. Curve 38 represents the case in which there is precisely the proper amount of feedback. Returning to FIG. 4, each amplifier A.sub.J also serves as part of associated comparator C.sub.J. This is accomplished with a corresponding switch S.sub.J containing transistors Q7.sub.H and Q7.sub.S connected between the Q3 collector and nodes 16 and 18, respectively. A voltage V.sub.H drives the base of transistor Q7.sub.H. A complementary voltage V.sub.S drives the base of transistor Q7.sub.S. When amplifier A.sub.J is being operated in its absolute-value amplification mode, signal V.sub.H is at a suitable high voltage to turn on transistor Q7.sub.H, whereas opposite signal V.sub.S is at a sufficiently low voltage to turn off transistor Q7.sub.S. The Q3 current source then supplies current I.sub.G through transistor Q7.sub.H to differential portion D.sub.J, while the Q4 current source similarly supplies current I.sub.B to buffer B.sub.J. Amplifier A.sub.J is switched to its comparing mode by dropping voltage V.sub.H to the low voltage to turn off transistor Q7.sub.H. This cuts off the operating current to transistors Q1.sub.A and Q1.sub.B. They turn off to prevent inputs V.sub.IJ and (V.sub.U +V.sub.L)/2 from affecting transistors Q2.sub.A and Q2.sub.B. At the same time, signal V.sub.S is raised to the high voltage to turn on transistor Q7.sub.S. This enables the current from the Q3 current source to switch to transistors Q2.sub.A and Q2.sub.B so as to further amplify the amplified voltage difference at their bases. Transistors Q2.sub.A and Q2.sub.B latch in either a binary "0" logic state or a binary "1" logic state depending on whether mainline signal V.sub.IJ exceeded reference signal (V.sub.U +V.sub.L)/2 or not just before signal V.sub.S went high. Signals V.sub.AJ and V.sub.BJ now serve as complementary signals representative of the A.sub. J logic state. Each comparator C.sub.J preferably also includes a corresponding comparing amplifier F.sub.J for amplifying the voltage difference between signals V.sub.AJ and V.sub.BJ when amplifier A.sub.J is being operated as a latch. Comparing amplifier F.sub.J converts this amplified voltage difference into a current output signal I.sub.OJ that represents bit J of the digital signal. Amplifier F.sub.J also provides a current output signal I.sub.OJ complementary to output I.sub.OJ. When amplifier A.sub.J is in its amplifying mode, switch S.sub.J causes amplifier F.sub.J to latch signals I.sub.OJ and I.sub.OJ. Amplifier F.sub.J contains a pair of differential-input transistors Q8.sub.E and Q8.sub.F interconnected through a node 40, a pair of cross-coupled storage transistors Q9.sub.E and Q9.sub.F interconnected through a node 42, resistors R8.sub.E and R8.sub.F having the same resistance R.sub.8, a current source formed by a transistor Q10 and a series resistor R9, a pair of output transistors Q11.sub.E and Q11.sub.F, and a current source formed by a transistor Q12 and a series resistor R.sub.10, all connected as shown in FIG. 4. A voltage such as voltage V.sub.LC drives the Q10 current source. A bias voltage V.sub.B drives the Q12 current source. Switch S.sub.J in comparator C.sub.J further includes a pair of transistors Q13.sub.H and Q13.sub.S whose bases respectively receive signals V.sub.H and V.sub.S. Transistors Q13.sub.H and Q13.sub.S are connected between the Q10 collector and nodes 42 and 40, respectively, as shown in FIG. 4. When amplifier A.sub.J is being operated as a latch, signal V.sub.S is high to turn on transistor Q13.sub.S and enable transistors Q8.sub.E and Q8.sub.F to amplify the voltage difference between signals V.sub.AJ and V.sub.BJ. The Q8.sub.E and Q8.sub.F collectors drive transistors Q11.sub.E and Q11.sub.F so as to turn one of them on and the other off depending on whether voltage VA.sub.J exceeds voltage V.sub.BJ or not. Output I.sub.OJ is at a "0" if transistor Q11.sub.E is turned on, and vice versa. Likewise, output I.sub.OJ is at a "1" if transistor Q11.sub.F is turned off, and vice versa. At the same time, signal V.sub.H is low so as to turn off transistor Q13.sub.H. This turns off transistors Q9.sub.E and Q9.sub.F. Transistor Q13.sub.S turns off when signal V.sub.S goes low. This turns off transistors Q8.sub.E and Q8.sub.F to prevent voltages V.sub.AJ and V.sub.BJ from affecting amplifier F.sub.J. Simultaneously, transistor Q13.sub.H goes on as signal V.sub.H goes high. This turns on transistors Q9.sub.E and Q9.sub.F. Because they are cross-coupled, they latch at either a "0" or "1" depending on whether voltage V.sub.AJ exceeded voltage V.sub.BJ or not when signal V.sub.H went high. The Q9.sub.F and Q9.sub.E collectors then drive transistors Q11.sub.E and Q11.sub.F to force them to continue to provide the data bit and its complement to outputs I.sub.OJ and I.sub.OJ. Switch S.sub.J is preferably operated in coordination with sample-and-hold/level shift circuit 20. When signal V.sub.H is high, circuit 20 holds input V.sub.I1 at the current value. At this time, amplifiers A.sub.1 -A.sub.N are in their amplifying mode while amplifiers F.sub.1 -F.sub.N are operating as latches to provide the digital signal of the prior sampling. When signal V.sub.H goes low, circuit 20 allows analog signal V.sub.I to be sampled. Amplifiers A.sub.1 -A.sub.N then latch while amplifiers F.sub.1 -F.sub.N receive and amplify their data bits to provide the digital signal. When signal V.sub.H goes high again, amplifiers F.sub.1 -F.sub.N latch to continue providing the same digital signal. Preferably, N is 8. Voltages V.sub.CC and V.sub.EE are 5 and -5 volts, respectively. Bias voltage V.sub.B is -4 volts. Resistors R.sub.U and R.sub.L are each 250 ohms. Current source I.sub.R is 1 milliampere. R.sub.1, R.sub.2, R.sub.3 =R.sub.4, R.sub.6, and R.sub.8 are 200, 800, 118, 2,000, and 200 ohms, respectively. Resistor R.sub.B which equals R.sub.5 is 1,000 ohms. Resistors R.sub.G, R7, R9, and R10 are each 500 ohms. Each operational amplifier E.sub.GC, E.sub.OC, 26, or E.sub.LC is conventional in design and has an open-loop gain greater than 10,000. FIG. 6 shows another A/D converter having a feedback control system for causing the gains of matched amplifiers A.sub.1 -A.sub.N to closely approach 2 and for making their offsets very small. Each amplifier A.sub.J and its associated comparator C.sub.J are preferably configured and operable the same as described for FIGS. 3 and 4. The control system of FIG. 6 again utilizes amplifiers A.sub.GC and A.sub.OC which are matched to amplifiers A.sub.1 -A.sub.N and are internally configured and operable the same as amplifier A.sub.J. This control system also contains amplifiers E.sub.GC and E.sub.OC which operate between the V.sub.EE and V.sub.CC supplies. The converter of FIG. 6 contains linearity control 30 configured and operable the same as in FIGS. 3 and 4. For simplicity, circuits 20, 22, and 28 are not shown in FIG. 6 although they are employed in this converter. In FIG. 6, voltages V.sub.L, (V.sub.U +V.sub.L)/2, and V.sub.U are fixed values preferably generated from an external voltage divider (not shown). Signal (V.sub.U +V.sub.L)/2 is again provided as the reference input to each amplifier A.sub.J, as one of the inputs to amplifier A.sub.GC, and as both inputs to amplifier A.sub.OC. The other input to amplifier A.sub.GC is again signal V.sub.U. The gain-control system here is largely separate from the offset-control system. In the gain control, amplifiers A.sub.GC and E.sub.GC function in the same manner as described for FIG. 3. In the offset control, amplifier A.sub.OC again provides output V.sub.OOC at a value of V.sub.L +V.sub.OS. In response to output V.sub.OOC and end point V.sub.L supplied respectively to the inverting and non-inverting inputs of amplifier E.sub.OC, it generates an offset-control (error) signal V.sub.EOC which is fed back to the supply voltage input of amplifier A.sub.OC. If offset V.sub.OS is positive, supply voltage V.sub.EOC decreases. This forces offset V.sub.OS downward toward zero. The reverse occurs if V.sub.OS is negative. Control signal V.sub.EOC is provided as the supply voltage to amplifiers A.sub.1 -A.sub.N and A.sub.GC and thereby forces their offsets toward zero because of the matching. More particularly, if V.sub.EOC and V.sub.OOC are respectively substituted for V.sub.CC and V.sub.OJ in FIG. 4, V.sub.OOC equals V.sub.EOC -K, where K is a constant since the inputs to amplifier A.sub.OC are balanced. Accordingly, V.sub.EOC -V.sub.OS is equal to V.sub.L +K. Since V.sub.L is also constant here, decreasing output V.sub.OOC decreases offset V.sub.OS, and vice versa. FIG. 7 illustrates another absolute-value A/D converter having a composite feedback system for gain/offset control generally of the type described for FIG. 3. The principal difference is that this converter uses a different absolute-value algorithm. The prime notation is employed in FIG. 7 to indicate elements that differ in some way from those of FIG. 3. The elements operating the same as in FIG. 3 are largely not discussed here. A chain of matched absolute-value differential amplifiers A.sub.1 '-A.sub.N ' performs the A/D conversion in combination with corresponding comparators C.sub.1 -C.sub.N. The gain/offset control system utilizes absolute-value differential amplifiers A.sub.GC ' and A.sub.OC ' matched to amplifiers A.sub.1 '-A.sub.N '. Each amplifier A.sub.J ', A.sub.GC ', or A.sub.OC is internally configured and basically operable the same as respective amplifier A.sub.J, A.sub.GC, or A.sub.OC of FIGS. 3 and 4. Amplifiers A.sub.1 '-A.sub.N ', A.sub.GC ', and A.sub.OC all have the same gain. Linearity control 30 operates the same as in FIGS. 3 and 4. Circuits 20, 22, and 28 are also incorporated in this converter although not shown in FIG. 7. The desired gain for each amplifier A.sub.J ', A.sub.GC ', or A.sub.OC ' is different from 2. This is done by changing the values given above for some of the absolute-value amplifier resistors shown in FIG. 4. Each main amplifier A.sub.J ' receives a reference input signal V.sub.RJ normally different from that supplied to each other main amplifier A.sub.J '. Each reference input V.sub.RJ is provided from the lower end of a resistor R.sub.J ' in a set of upper resistors R.sub.1 '-R.sub.N ' in a voltage divider 44 also including a lower resistor R.sub.0 '. Signal V.sub.U is supplied to the upper end of divider 44 while its lower end provides signal V.sub.L and is coupled through a current source I.sub.R ' to the V.sub.EE supply. Auxiliary amplifier A.sub.GC ' receives a pair of input signals from different points on divider 44, while further amplifier A.sub.OC ' receives a pair of input signals at the same value provided from a point on divider 44. For example, this D/A converter might use an absolute-value algorithm in which amplifiers A.sub.1 '-A.sub.N ', A.sub.GC ', and A.sub.OC ' all have a desired gain of 1. (Although "buffers" might perhaps be a better description here for elements A.sub.1 '-A.sub.N ', A.sub.GC ' and A.sub.OC ', they are still referred to categorically as "amplifiers" in semiconductor language.) In this case, each input V.sub.RJ is V.sub.L +(V.sub.U -V.sub.L)/2.sup.J. The resistance of each resistor R.sub.J ' in divider 44 is 2.sup.N-J times that of resistor R.sub.0 '. The gain-control system in FIG. 7 operates in the same manner as in FIG. 3. The same type of feedback path to the gain-control input of amplifier A.sub.GC ' forces its gain toward the desired gain. Branches of this path to the gain-control inputs of amplifiers A.sub.1 '-A.sub.N ' and A.sub.OC ' then force their gains toward the desired gain as a result of the amplifier matching. The offset-control system of FIG. 7 also operates in the same manner as in FIG. 3. Amplifier A.sub.OC again supplies output V.sub.OOC at a value of V.sub.L +V.sub.OS. Responsive to the voltage difference between signals V.sub.OOC and V.sub.L, amplifier E.sub.OC generates voltage V.sub.U at the top of divider 44. Signal V.sub.U differs from its nominal value when offset V.sub.OS is non-zero. This difference is reflected at each point along divider 44, including end point V.sub.L. The V.sub.L feedback to amplifier E.sub.GC causes it to adjust signal V.sub.U (and also signal V.sub.L) to make offset V.sub.OS closely approach zero. The offsets of amplifiers A.sub.1 '-A.sub.N ' and A.sub.GC ' are then driven toward zero because of the matching. The values of reference inputs V.sub.R1 -V.sub.RN suitable for the operation of amplifiers A.sub.1 '-A.sub.N ' are determined by a control path further involving amplifiers A.sub.GC ' and E.sub.GC analogous to that described for FIG. 3. Methods for manufacturing the various elements of the present A/D converters are well known in the semiconductor art. Each of them is preferably fabricated as a monolithic integrated circuit according to conventional processing techniques using PN junction isolation to separate active regions on a semiconductor wafer. The absolute-value amplifiers are all laid out in a row on the wafer so as to be substantially the same topographically. While the invention has been described with reference to particular embodiments, this description is solely for the purpose of illustration and is not to be construed as limiting the scope of the invention claimed below. For example, semiconductor elements of opposite polarity to those described above may be employed to accomplish the same results. Metal-oxide semiconductor elements could be used for part or all of the bipolar circuitry. Thus, various modifications, changes, and applications may be made by those skilled in the art without departing from the true scope and spirit of the invention as defined by the appended claims.
Claims
1. A device for converting an analog signal into a digital signal in which each of a chain of main absolute-value differential amplifiers designated sequentially as the first amplifier through the last amplifier produces an output signal by amplifying the absolute value of the voltage difference between a pair of input signals of which one is a mainline signal and the other is a reference signal, the analog signal is the mainline signal to the first amplifier, the output signal of each amplifier except the last amplifier is the mainline signal to the next amplifier, and comparing means generates the digital signal by determining whether the mainline signal to each amplifier exceeds its reference signal, characterized by a gain-control system comprising:
an auxiliary absolute-value differential amplifier matched to the main amplifiers which are matched to one another for likewise producing an auxiliary output signal from a pair of input signals; and
gain-control feedback means responsive to the voltage difference between the auxiliary output signal and a baseline signal substantially the same as the auxiliary output signal when the gain of the auxiliary amplifier is at a desired gain for generating a gain-control signal that controls a path back to the auxiliary amplifier to cause its gain to stabilize very near the desired gain and controls paths to the main amplifiers to cause their gains to stabilize very near the desired gain.
2. A device as in claim 1 characterized by an offset-control system comprising:
a further absolute-value differential amplifier matched to the other amplifiers for likewise producing a further output signal from a pair of input signals which are substantially equal so that the further output signal differs from an end-point level by no more than an offset; and
offset-control feedback means responsive to the voltage difference between the further output signal and an end-point signal at the end-point level for generating an offset-control signal that controls at least one path back to the offset-control system to force the offset toward zero and thereby forces offsets of the other amplifiers toward zero.
3. A device as in claim 2 characterized in that the feedback means comprise:
an operational amplifier for generating the offset-control signal in response to the further output signal and the end-point signal;
a voltage divider of which one end receives the offset-control signal and the other end provides the end-point signal, the input signals to the auxiliary amplifier and the baseline signal being derived from points on the divider;
an operational amplifier for generating the gain-control signal in response to the auxiliary output signal and the baseline signal; and
means for transmitting the gain-control signal to a gain-control input terminal on each absolute-value amplifier.
4. A device as in claim 3 characterized in that the reference signals are derived from at least one point on the divider.
5. A device as in claim 4 wherein the desired gain is precisely 2, characterized in that the reference signals are all derived from a single point midway along the divider.
6. A device as in claim 2 characterized in that the comparing means comprises:
the main amplifiers; and
switching means for enabling each main amplifier to be switchably operable as a latch that (a) assumes one of a pair of binary logic states depending on whether the mainline signal to that main amplifier exceeds its reference signa1 and (b) provides at least one signal corresponding to the assumed logic state and representing a bit portion of the digital signal.
7. A device as in claim 6 characterized in that:
each main amplifier when it is operated as a latch provides a pair of complementary signals corresponding to its assumed logic state;
the comparing means further includes a plurality of comparing amplifiers corresponding one to one to the main amplifiers, each comparing amplifier operable to (a) compare the complementary signals from the corresponding main amplifier when it is operated as a latch and (b) provide a data bit of digital signal depending on the result of the comparison; and
the switching means further enables each comparing amplifier to be switchably operable as a latch that continues to provide the data bit from that comparing amplifier when the corresponding main amplifier is not operated as a latch.
8. A device as in claim 2 wherein each main amplifier comprises: a pair of first resistors; a first current source coupled to a first voltage supply; a pair of first like-polarity bipolar transistors whose emitters are individually coupled through the first resistors to the first current source and whose bases are individually responsive to the input signals to that main amplifier; a second current source coupled to the first voltage supply; a pair of second resistors; a pair of third resistors; a like-polarity pair of second bipolar transistors whose emitters are coupled to the second current source to supply the output signal from that main amplifier, whose bases are individually coupled to the collectors of the first transistors, and whose collectors are cross-coupled individually through the second resistors to the bases of the second transistors and are individually coupled through the third resistors to a second voltage supply; characterized in that the first current source comprises a like-polarity third bipolar transistor responsive to the gain-control signal.
9. A device as in claim 8 characterized in that the auxiliary and further amplifiers are responsive to the gain-control signal in the same manner as the main amplifiers.
10. A device as in claim 9 characterized in that the comparing means comprises:
the main amplifiers; and
switching means for selectively switching the current from the first current source away from the first transistors to the second transistors so as to enable each main amplifier to be switchably operable as a latch that (a) assumes one of a pair of binary logic states depending on whether the mainline signal to that main amplifier exceeds its reference s:gnal and (b) provides at least one signal corresponding to the assumed logic state and representing a bit portion of the digital signal.
11. A device as in claim 10 characterized in that:
each main amplifier when it is operated as a latch provides a pair of complementary signals corresponding to its assumed logic state;
the comparing means further includes a plurality of comparing amplifiers corresponding one to one to the main amplifiers, each comparing amplifier operable to (a) compare the complementary signals from the corresponding main amplifier when it is operated as a latch and (b) provide a data bit of digital signal depending on the results of the comparison; and
the switching means further enables each comparing amplifier to be switchably operable as a latch that continues to provide the data bit from that comparing amplifier when the corresponding main amplifier is not operated as a latch.
12. A device as in claim 8 characterized by linearity-control means for causing the parameter I.sub.B R.sub.3 q/kT to be in the range of 1.5 to 1.7 where I.sub.B is the current passing through the second transistors from the second current source, R.sub.3 is the resistance of either of the third resistors whose resistances are substantially equal, and T is the temperature of the device.
13. A device as in claim 8 wherein the second current source comprises a like-polarity fourth bipolar transistor emitter-collector coupled between the first voltage supply and the first resistors, characterized by linearity-control means for driving the base of the fourth transistor with a linearity-control signal that tends to induce a linear relationship between the absolute value of the input signals to that main amplifier and its output signal, the linearity-control means comprising:
a fourth resistor;
a fifth like-polarity bipolar transistor whose emitter is coupled through the fourth resistor to the first voltage supply and whose collector is coupled to the second voltage supply;
a sixth like-polarity bipolar transistor whose emitter is coupled to the first voltage supply, whose base is coupled to the base of the fifth transistor, and whose collector is coupled to the second voltage supply; and
means for driving the bases of the fifth and sixth transistors, maintaining their collector-emitter currents largely equal to each other, and supplying the linearity-control signal.
14. A device as in claim 13 characterized in that the parameter (R.sub.3 /R.sub.4)M.sub.B 1nM.sub.C is in the range of 1.5 to 1.7 where R.sub.3 is the resistance of either of the third resistors whose resistances are substantially equal, R.sub.4 is the resistance of the fourth resistor, M.sub.B is the emitter area ratio of the fourth transistor to the sixth transistor, and M.sub.C is the emitter area ratio of the fifth transistor to the sixth transistor.
15. A device as in claim 14 characterized in that the auxiliary and further amplifiers are responsive to the linearity-control signal in the same manner as the main amplifiers.
16. A device as in claim 2 wherein a supply voltage is provided to the absolute-value amplifiers to power them, characterized in that the feedback means comprise:
an operational amplifier for providing the offset-control signal in response to the further output signal and the end-point signal;
means for transmitting the offset-control signal as the supply voltage to each absolute-value amplifier;
an operational amplifier for generating the gain-control signal in response to the auxiliary output signal and the baseline signal; and
means for transmitting the gain-control signal to a gain-control input terminal of each absolute-value amplifier.
Non-Patent Literature Citations (1)
Entry
G. J. J. Vos "Een Snelle 8-bits Analoog/Digitaalomzetter", Polytechnisch Tijdschrift, E, 35, Feb. 1980, pp. 112-118.