VOLTAGE COMPARATOR WITH CONTROLLED OUTPUT CURRENT PROPORTIONAL TO DIFFERENCE VOLTAGE

Abstract: A voltage comparator produces a current output as a function of the differential input voltage. Three transfer functions are detailed. In the linear transfer mode the output varies linearly in the transition region and swings between zero and a well-defined current value. In a truncated response mode, the output is zero for zero differential input voltage, remains at zero for one input voltage polarity, and rises for the other polarity input linearly to a well-defined current value. In the folded response mode the output current is zero for zero differential input and rises linearly in the transition region to a well-defined current value for either polarity of differential input. While a CMOS form of construction is preferred, bipolar construction is also shown.

Description: VOLTAGE COMPARATOR WITH CONTROLLED OUTPUT CURRENT PROPORTIONAL TO DIFFERENCE VOLTAGE Background of the Invention A voltage comparator is useful as a sense amplifier which produces an output current that is related to the differential voltage input. United States patent 4,656,374, which issued on April 7, 1987, and is assigned to the assignee of the present invention, discloses such a circuit which was useful in static memory devices. The teaching in this patent is incorporated herein by reference. Basically, such a circuit produces an output current which flows when the noninverting input voltage rises above the voltage on the inverting input. Thus, it is essentially digital in operation. By employing a relatively high gain comparator the region of linear response is made small in relation to the d-c potentials normally applied to the input terminals. Generally speaking, the shape of the voltage to current transfer function is not controlled and the output current is made large with respect to a subsequent digital input threshold. Summary of the Invention It is an object of the invention to provide a voltage comparator circuit which provides a controlled current output and has a predetermined voltage to current transfer function. It is a further object of the invention to provide a voltage comparator circuit which can be configured to produce an output current that has a linear, truncated or folded voltage-to-current transfer function and produces a well defined current output. These and other objects are achieved in a circuit configured as follows. While CMOS construction is preferred, the well known bipolar equivalent can be employed. A small, but well defined current is employed to create both N and P channel transistor bias lines. The P channel bias is slightly over a threshold below the + V DD supply and the N channel bias is slightly over a threshold above ground (or the negative V DD rail). A differential input stage is operated at a suitable tail current and its output applied to a coupling transistor which is biased to pass a current that is related to the circuit differential input. The coupling transistor drives a current mirror output stage which therefore produces a current output proportional to the differential input. Since the input stage is operated at a well defined tail current the maximum output current is well defined at a level that is determined by the current mirror gain. Thus, the output current is well defined for input extremes and is linear in the transition region. A truncated transfer characteristic is achieved by employing symmetrical input stage loads and includes a second coupling transistor. The coupling transistor outputs are subtractively combined and applied to the current mirror output stage. Thus, at zero differential input, the output is zero {truncated). For one input polarity the output remains at zero and for the other input polarity the output rises linearly to the well defined maximum current value. A folded response is achieved by subtracting the coupling transistor currents and mirroring the results individually to a pair of output transistors. Thus, at zero differential input, where the coupling transistor currents are equal, the output will be zero. For either polarity of differential input the output current will rise linearly to the well defined maximum current value. Brief Description of the Drawing Figure 1 is a schematic diagram of a comparator circuit which has a linear response. Figure 2 is a graph showing the response of the circuit of figure 1. Figure 3 is a schematic diagram of a comparator circuit which has a truncated response. Figure 4 is a graph showing the response of the circuit of figure 3. Figure 5 is a schematic diagram of a comparator circuit having a folded response. Figure 6 is a graph showing the response of the circuit of figure 5. Figure 7 is a schematic diagram of a bipolar transistor version of the figure 1 circuit. Description of the Invention With reference to figure 1, a CMOS comparator circuit is operated from a V DD power supply connected + to terminal 10 and - to ground terminal 11. It is to be understood that while figure 1 is a CMOS implementation, bipolar transistors could be employed as shown in figure 2. This capability will be explained in greater detail subsequently. The small numbers adjacent to the transistor sources denote the relative size of the transistors. The heart of the circuit is the input stage composed of P channel transistors 12 and 13 which are operated differentially by means of a tail current source P channel transistor 14 which applies a constant current to the commonly connected sources. Transistors 12 and 13 are matched and have a relatively short and wide channel. This results in a substantial transconductance. Terminal 17 constitutes the circuit output terminal. Inverting input terminal 15 is connected to the gate of transistor 12 and noninverting input, terminal 16 is connected to the gate of transistor 13. An N channel transistor bias source is created at node 18 by passing a controlled current 21 from constant current source 19 through N channel transistor 20 which has its gate connected to its drain. If N channel transistor 21 matches transistor 20, 21 will also flow in it and consequently 21 will flow in P channel transistor 22, which has its gate connected to its drain. Accordingly, a P channel bias source is developed at node 23, which is operated at slightly over a V τ below + V DD . This bias source causes 21 tail current to flow in transistor 14. Node 23 is connected to the gate of P channel transistor 30, which thereby acts a current source to mirror a current I into node 27. This current value is present because transistor 30 is one- half of the size of transistor 22. N channel transistors 28 and 29, each of which have their gates connected to their drains, will conduct I and thereby bias node 27 at slightly over two thresholds above ground. The gate of N channel coupling transistor 25 is connected to node 27. When input terminal 15 is pulled negative, with respect to terminal 16, the tail current of the input stage will be shifted into transistor 12. In other words, the tail current will flow to ground. As this bias is increased, at some point, conduction in transistor 13 will cease. Here N channel load transistor 24 will pull the source of transistor 25 down, thereby increasing its conduction to where 21 will flow in both transistors 25 and 26. Thus, transistor 31, being 5 times the size of transistor 26 and connected thereto as a current mirror, will source 101 to output terminal 17. This constitutes the upper current limit in the figure 2 graph. Conversely, when input terminal 15 rises above terminal 16, the tail current will predominate in transistor 13. At some point, such a shift in input will result in 21 flowing in transistor 13. This will pull the source of transistor 25 up so as to turn it off. In other words, transistor 13 satisfies the conduction in transistor 24 and no current is sunk out of transistor 25. Accordingly, the current sourced by transistor 31 goes to zero. This constitutes the zero current limiting shown in the figure 2 graph. In between the upper and lower current limits of the circuit, the change in output current, as a function of differential input bias, is linear. As can be seen, the zero bias condition is precisely one-half of the maximum current. Figure 3 is a comparator circuit configuration that has a truncated transfer response shown in figure 4. Where the components function the same as those of figure 1, the same numerals are employed. Elements 10 through 31 are connected in manner of figure 1. However, N channel load transistor 32 has been added as a load element for input transistor 12. The drain of transistor 32 is connected to the source of N-channel coupling transistor 33. The gate of transistor 33 is connected to node 27 which is maintained at two N channel thresholds above ground, as described above. The drain of transistor 33 is connected to the drain of P channel transistor 34, which has its gate returned to its drain and its emitter connected to + V DD . Transistor 34 forms a unity gain current mirror with P-channel transistor 35, which has its source and drain connected in parallel with transistor 26. When input terminals 15 and 16 are at the same potential (zero differential input), a current, I, will flow in each of input transistors 12 and 13. Since each of transistors 24 and 32 are biased to conduct 21, a current I must flow in each of transistors 25 and 33. This current flowing in transistor 34 will be reflected by the transistor 35 current mirror action so that I will flow into transistor 25 thereby supplying a balanced current. This means that zero current will flow in transistor 26 and hence zero current will flow in transistor 31. This set of conditions establishes the zero intercept of the graph of figure 4. As the differential bias between terminals 15 and 16 is made more positive, the circuit -A- output will remain at zero. For example, if 21 were to flow in transistor 13 the source of transistor 25 will be pulled up so as to turn it off and no current will flow into transistor 26. In the other side of the circuit, transistor 32 will pull 21 through transistors 33 and 34 and this, in turn, will turn transistor 35 on so as to pull the gate and drain of transistor 26 up so as to insure zero conduction in transistors 26 and 31. On the other hand, as the differential input acts to increase conduction in transistor 12, another action takes place. For the condition where the 21 tail current flows entirely in transistor 12, the source of transistor 33 will be pulled up so as to turn it off and no current will flow in transistors 34 and 35. Conduction in transistor 24 will pull the source of transistor 25 down so as to turn it on thereby producing a 21 conduction in transistors 25 and 26. This current is reflected in the transistors 26 and 31 as 101 at output terminal 17. This defines the upper or maximum current in the graph of figure 4. The two intercepts, shown in figure 4, represent the extreme states of the output current and the transition region is linear. That is, the 51 portion of the curve is half-way between the two intercepts. Figure 5 shows a schematic diagram of a CMOS comparator circuit having the folded response of figure 6. Again, where the components are the same as those of figures 1 and 3, the same numerals are employed. One additional difference is that the circuit of figure 5 sinks the current shown in figure 6 rather than sourcing it. If a current source is required, an additional current mirror stage will be included. Components 10 through 16, 18 through 30 and 32, function as do the same elements of figures 1 and 3. The main difference lies in a series of current mirrors that act to drive the pair of output transistors. N channel transistor 40 has its output coupled in parallel with N channel transistor 41 so that their combined conduction comprises the circuit output at terminal 17'. At the zero differential input condition, where the input transistor 12 and 13 conduction is equalized, a current I will flow in each. Since transistors 24 and 32 are each biased to sink 2J, N channel transistors 25 and 44 will each pass a current I. Note that both transistors 25 and 44 have their gates connected to bias node 27 (two thresholds above ground). Transistor 26 is connected as a current mirror with P channel transistors 37 and 38 while transistor 45 is connected as a current mirror with P channel transistors 46 and 47. Thus, each of transistors 37, 38, 46 and 47 will conduct a current I. The current in transistor 38 flows in N channel transistor 43, which is coupled as a current mirror to N channel transistor 50. Thus, transistor 50 will conduct the current passed by transistor 46 and in doing so will pull the gate of transistor 41 low and thus turn it off. Similarly, transistor 42, which is connected as a current mirror to transistor to transistor 48, will conduct the current flowing out of transistor 37 and in so doing will pull the gate of transistor 40 low thereby turning it off. Thus, for the zero differential input bias, both output transistors 40 and 41 are off. For the input condition shown in the left hand portion of the graph of figure 6, the conduction in transistor 12 will dominate so that transistor 13 is off. Conduction in transistor 12 will pull the source of transistor 44 up so as to turn it off. Since transistor 24 is biased to conduct 21, it will pull the source of transistor 25 down so that the 21 will flow therein. Since transistor 44 is off, transistors 45 through 49 will also be off. Conversely, since transistor 25 is conducting 21, transistors 26, 37-39 and 43 will each conduct 21. Since transistor 40 is coupled as a current mirror to transistor 39 and is five times larger, 101 will flow in transistor 40. In the transition region to the left of zero bias, in the curve of figure 6, the shift between zero and 101 is linear. When the input bias changes in the other direction and the terminal 15 potential exceeds that of terminal 16, the conduction of transistor 12 falls as the conduction in transistor 13 rises. In the extreme state, transistor 12 is off and the action of transistor 32 forces 21 to flow in transistor 44. Thus, 21 will flow in transistors 45 through 49. Transistor 42, which tries to mirror the current flowing in transistor 47, will pull the gate of transistor 40 low so as to turn it off. However, transistor 49, which is coupled to transistor 41 as a current miorror, will reflect the 21 flowing in transistor 46 into transistor 41 at a current gain of 5. Thus, 101 will flow in transistor 41. In the transition region to the right of zero bias, in the curve of figure 6, the shift between zero and 101 is linear. While the above circuits are of CMOS construction, and this form is preferred for practicing the invention, bipolar transistors can be employed. Figure 7 shows a bipolar transistor form of the figure 1 circuit configuration. The P channel transistors have been replaced with PNP transistors and the N channel transistors have been replaced with NPN transistors. The letters adjacemt to the emitters denote relative emitter areas where such considerations are critical. In operation, the circuit of figure 7 performs substantially the same as the circuit of figure 1. Functionally, the bipolar transistors operate the same as the MOS transistors. The collectors are equivalent to drains, the emitters are equivalent to sources and the bases equivalent to gates. Where a current is passed through a MOS transistor having itsgate connected to its drain, a V τ (or threshold voltage) is developed. Where a current is passed through a bipolar transistor having its base connected to its collector, a V BF voltage (or one diode drop) is developed. Clearly, figures 3 and 5 could also be equivalently constructed from bipolar elements. The invention has been described and preferred embodiments detailed. When a person skilled in the art reads the foregoing description, alternatives and equivalents, within the spirit and intent of the invention, will be apparent. Accordingly, it is intended that the scope of the invention be limited only by the claims that follow.

Claims: We claim: 1. A differential comparator circuit for responding to a differential voltage input to produce an output current that is well defined and is a function of said differential input voltage, said circuit comprising: means for developing a controlled current; a pair of input stage transistors connected to operate differentially by means of a tail current based upon said controlled current; a first load transistor coupled into said input stage and biased to pass a current based upon said controlled current; a first coupling transistor connected to said first load transistor and biased to pass a first fraction of said load transistor current wherein said first fraction is a function of said differential input voltage and limited to the range of zero to one; and a current mirror having an input coupled to receive the current passed by said first coupling transistor to provide a circuit output in the form of a current based upon said controlled current. 2. The differential comparator circuit of claim 1, further comprising means for developing transistor biasing nodes based upon said controlled current. 3. The differential comparator circuit of claim 1 wherein said first coupling transistor has a source/emitter connected to said first load transistor and a gate/base connected to a bias source level whereby the output of said coupling transistor is a linear function of said differential input voltage and has a zero differential input response equal to one-half of said controlled current. 4. The differential comparator circuit of claim 3 wherein said bias source for said first coupling transistor is operated at about two times a transistor threshold/V BE above a reference level. 5. The differential comparator circuit of claim 1 further including: a second load transistor coupled to said input stage thereby providing a balanced load configuration for said input stage; a second coupling transistor connected to said second load transistor and biased to pass a second fraction of said controlled current; and means for subtractively combining the currents flowing in said first and second coupling transistors whereby, at zero differential input, the circuit output current is zero and the circuit transfer response is truncated by falling to zero at a balanced input and rising only for one polarity of input differential. 6. The differential comparator circuit of claim 1 further including: a second load transistor coupled to said input stage thereby providing a balanced load configuration for said input stage; a second coupling transistor connected to said second load transistor and biased to pass a second fraction of said controlled current, whereby said first and second fractions add up to said controlled current value; first and second output transistors having their drains/collectors coupled together so that the output current is the sum of the output transistor currents; means for subtracting said second current fraction from the first fraction and applying the difference to said first output transistor; and means for subtracting said first current fraction from die second and applying the difference to said second ouφut transistor whereby, at differential input balance, said ouφut current is zero and the circuit transfer response is folded by falling to zero at balance and rising for either polarity of input.

Inventors: RAPP A KARL, STOIAN LEE L, RAPP, A., KARL, STOIAN, LEE, L.
Applicants: NAT SEMICONDUCTOR CORP, NATIONAL SEMICONDUCTOR CORPORATION
Application year: 1994
Main classification: H03K5
IPC codes: G11C11, H03F3, H03K5