The present invention relates to circuits designed to provide an output signal proportional to a function of a plurality of inputs. More specifically, it relates to a circuit whose output current is proportional to the lesser of two input currents.
There are a number of circuits and techniques for implementing minimum and maximum functions. One example, as seen in
Y=min(X1, X2)
This prior art circuit uses voltages rather than currents as its signals. This has the disadvantage of not interfacing to current-mode circuitry, such as Gilbert translinear circuits, without the addition of resistors. The op-amps are large, and consume significant amounts of current. The present invention comprises an improved circuit to implement the minimum function. It uses currents for both its input and output variables. The circuit is small and uses minimal current beyond that required to represent its input quantities.
The present invention achieves technical advantages as a circuit designed to implement the minimum function using a current-mode solution. More specifically, an exemplary embodiment of the present invention is implemented using a four-transistor MOS circuit that selects the smaller of two input currents. An exemplary embodiment of the present invention will output the minimum of two input signals, either the input current or the reference current, with less than three percent (3%) error. The circuit of the present invention is much smaller than conventional circuits that implement the minimum function, such as an op-amp implementation, and consumes minimal current beyond that representing the two inputs.
For a more complete understanding of the present invention, reference is made to the following detailed description taken in conjunction with the accompanying drawings wherein:
The numerous innovative teachings of the present invention will be described with particular reference to an exemplary embodiment. However, it should be understood that this exemplary embodiment-provides only one example of the many advantageous uses and innovative teachings herein. In general, statements made in the specification of the present application do not necessarily delimit any of the various claimed inventions. Moreover, some statements may apply to some inventive features, but not to others. Throughout the drawings, it is noted that the same reference numerals or letters will be used to designate like or equivalent elements having the same function. Detailed descriptions of known functions and constructions unnecessarily obscuring the subject matter of the present invention have been omitted for clarity.
As exemplified in
The behavior of transistors 101, 102, 103 and 104 can be explained in terms of the Shichman-Hodges equations (see D. A. Hodges and H. G. Jackson, Analysis and Design of Digital Integrated Circuits (McGraw-Hill, NY: 1983), p. 51):
Equation [1] describes the linear region of operation, and equation [2] describes the saturation region of operation. The transconductance k can be described in terms of a process transductance k′ as:
Rearranging equation [2] gives a formula for Vgs in saturation:
Referring to the circuit of
Since Id101=Id102=Iref this simplifies to
Now voltage V111−V112 is imposed across transistors 103 and 104, biasing them into conduction. Presuming that both transistors are in saturation,
Since Id103=Id104=ILOAD, this simplifies to:
Setting [6] equal to [8] gives:
Now, Vt101 and Vt103 are threshold voltages of NMOS transistors on a common die and are thus substantially equal. Similarly, Vt102 and Vt104 are substantially equal. Further substituting in equation [3] and assigning process transductances of kn′ and kp′ to NMOS and PMOS transistors, respectively, the following is obtained:
Extracting Iref and ILOAD,
If
then equation [11] reduces to:
Iref=ILOAD [12]
Now, the conditions that lead to equation [12] will apply if the drain voltage of transistor 104 is sufficiently low to allow saturation. This will occur if Iin is larger than Id104, as current source Iin will then draw node 113 down until diode 107 is biased into reverse conduction. This will not occur if Iin is less than Id104, as node 113 will move up until transistor 104 is forced back into triode, thus forcing a redistribution of Vgs's between transistors 103 and 104. The nature of this redistribution need not be analyzed in detail since now Id104=Iin and thus ILOAD=Iin.
Combining the above statements:
ILOAD=Iref if Iin>Iref [139]
ILOAD=Iin if Iin≦Iref [136]
These can be further simplified to:
ILOAD=min(Iin, Iref) [14]
This analysis can be generalized to a case where
and
where N is any arbitrary positive number.
From equation [11],
ILOAD=NIref [17]
This case then gives the minimum function
ILOAD=min(Iin, NIref) [18]
The circuit of
The circuits of
In some cases, the circuit of
The present invention has a number advantages over conventional circuits implementing the minimum function, such as the operational amplifier circuit of FIG. 1. One of the advantages of the circuit of the present invention is that it operates on low current. The circuit requires only the currents representing the input quantities, Iref and Iin. Since no additional current is required, the circuit consumes the absolute minimum amount of current consistent with a current-mode implementation. Secondly, it is a simple circuit, having approximately five (5) components in it. And thirdly, the accuracy of the circuit is not limited by the voltage developed across the load. Assuming no losses due to hot carrier injection or junction leakage, when Iin<Iref, the output current ILOAD will exactly track the input current Iin, regardless of any mismatches in the MOS transistors.
The exemplary embodiment of the present invention addresses many of the shortcomings of the prior art. The present invention may be described herein in terms of various functional components. It should be appreciated that such functional components may be realized by any number of hardware or structural components configured to perform the specified functions. For example, the present invention may employ various integrated components which are comprised of various electrical devices, such as resistors, transistors, capacitors, diodes and the like whose values may be suitably configured for various intended purposes. Additionally, the various components may be implemented in alternate ways, such as, for example, the changing of transistor devices from PMOS to NMOS transistors, or by the omission of the diode. These alternatives can be suitably selected depending upon the particular application or in consideration of any number of factors associated with the operation of the system. Such general applications that may be appreciated by those skilled in the art in light of the present disclosure are not described in detail herein. Further, it should be noted that while various components may be suitably coupled or connected to other components within the exemplary circuit, such connections and couplings can be realized either by direct connection between components, or by connection through other components and devices located there between. These and other changes or modifications are intended to be included within the scope of the present invention, as expressed in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5446397 | Yotsuyanagi | Aug 1995 | A |
6133764 | Griffith et al. | Oct 2000 | A |
6198312 | Floyd | Mar 2001 | B1 |
6492845 | Ge et al. | Dec 2002 | B1 |
Number | Date | Country | |
---|---|---|---|
20040246029 A1 | Dec 2004 | US |