DIFFERENTIAL PAIR WITH CONSTANT OFFSET

Abstract
A bias current is generated for an unbalanced differential pair that is proportional to the transconductance gain of the differential pair. When the transconductance gain varies (e.g., due to temperature variations), the bias current varies in proportion thereby maintaining a constant offset voltage. In some implementations, a voltage to current converter circuit generates the bias current from a constant reference voltage that is independent of temperature and voltage supply variations (e.g., a bandgap reference voltage).
Description
TECHNICAL FIELD

This subject matter is generally related to electronics, and more particularly to compensating variations in unbalanced differential pairs.


BACKGROUND

An ideal operational amplifier amplifies the difference in voltages applied to its two input terminals. If the input voltages are equal, then the ideal output voltage of the amplifier is zero. In practical operational amplifiers, however, the output is often not zero due to an unbalanced differential pair in the operational amplifier. This non-zero output can be modeled as an offset voltage. If the offset voltage is constant over the operational range of the amplifier then compensation can be accomplished using another voltage of the same magnitude and opposite polarity. The offset voltage, however, depends on transconductance gain of the differential pair, and the transconductance gain can vary with changes in temperature. This can result in an offset voltage that is not constant.


SUMMARY

A bias current is generated for an unbalanced differential pair that is proportional to the transconductance gain of the differential pair. When the transconductance gain varies (e.g., due to temperature variations), the bias current varies in proportion thereby maintaining a constant offset voltage. In some implementations, a voltage to current converter circuit generates the bias current from a constant reference voltage that is independent of temperature and voltage supply variations (e.g., a bandgap reference voltage).


The disclosed implementations provide a fully integrated solution for a constant offset comparator, which can be manufactured at low cost, and which can potentially work at a low voltage supply (e.g., 1.2 volts).





DESCRIPTION OF DRAWINGS


FIG. 1 is a schematic diagram of an example unbalanced differential pair.



FIG. 2 illustrates an example compensation technique using bias current.



FIG. 3 illustrates a principal of bias current generation.



FIG. 4 is a schematic diagram of an example circuit for generating a bias current for compensating variations in an unbalanced differential pair.



FIG. 5 is a flow diagram of a process for compensating variations in an unbalanced differential pair.





DETAILED DESCRIPTION


FIG. 1 is a schematic diagram of an example unbalanced differential pair 100. In some implementations the differential pair 100 includes a pair of metal-oxide-semiconductor field-effect transistor (MOSFET) transistors 102, 104 (N1, N2) having their source terminals connected to a bias current source (Ibias). In the example shown, the transistors 102, 104 are n-channel MOSFET transistors.


The gate terminals of the transistors 102, 104 are connected to input voltages Vi1, Vi2, which can be the non-inverting and inverting inputs, respectively, of an operational amplifier. The transistors 102, 104 have transconductance gains β1 and β2, respectively. The transconductance gains are not equal (β1≠β2) in the unbalanced differential pair 100, resulting in a non-zero output voltage.


The transconductance gain β of a transistor is given by the relation below:










β
=

κ
·

W
L



,




[
1
]







where κ is a transconductance parameter, W is the channel width and L is the channel length of the transistor.


The offset of the differential pair 100 is given by the relation below:










os
=


Δ






V
gs


=




2

Ibias


β
1



+

V
t

-



2

Ibias


β
2



-

V
t




,




[
2
]







where ΔVgs, is the difference between the gate-to-source voltages of the NMOSFET transistors 102, 104, Vt is a threshold voltage of the NMOSFET transistors 102, 104 and β1 β2, are the transconductance gains of NMOSFET transistors 102, 104. The offset voltage, os, of [2] may not always be constant because transconductance gains β1, β2 can vary as a function of temperature. To obtain a constant offset voltage, os, the bias current Ibias should be proportional to the transconductance β of the differential pair. For a NMOSFET transistor, Ibias is given by the relations






Ibias
=


β
2

·



(


V
gs

-

V
t


)

2

.






To make this current only proportional to β, a Vgs equals to Vbg+Vt is imposed









Ibias
=



β
2

·


(


V
bg

+

V
t

-

V
t


)

2


=


β
2

·

V
bg
2







[
3
]







For example, assuming that





β2=K·β1=β,  [4]


Combining [3], [4] and [2] gives,






os=ΔVgs=V
bg·(√{square root over (K)}−1)=const.  [5]


As can be observed from [5], os is a function of a constant bandgap voltage, Vbg, and K, where K is a ratio of β2 to β1 and is also constant. Thus, as temperature varies, Vbg and K remain substantially constant, resulting in the offset voltage remaining substantially constant.



FIG. 2 illustrates an example compensation technique using bias current. An operational amplifier 200 includes non-inverting and inverting input terminals 204, 206 for receiving input voltages Vi1, Vi2, respectively. The output terminal 210 of the operational amplifier 200, provides a voltage output, Vout, which is often non-zero. This non-zero voltage output can be modeled as an offset voltage placed across the input terminals 204, 206. To maintain a constant offset voltage os, a bias current source 208 (Ibias), should be proportional to the transconductance gain, β.



FIG. 3 is a block diagram illustrating a process 300 of bias current generation for compensating an unbalanced differential pair. In some implementations, a process 300 can include summing a bandgap voltage or other constant voltage and a threshold voltage of a transistor device (302) and converting the resulting voltage into a bias current (304). The resulting bias current is given by










Ibias
=


β
2

·

V
bg
2



,




[
6
]







where β is the transconductance gain and Vbg is the bandgap voltage. As can be observed from [3], the Ibias is only proportional to β because the square of bandgap voltage is constant. The generation of Ibias is described below in reference to FIG. 4.



FIG. 4 is a schematic diagram of an example circuit 400 for generating a bias current, Ibias, for compensating variations in an unbalanced differential pair (e.g., differential pair 100). This figure shows how to generate Vbg+Vt on the gate of the transistor 404. The transistor 402 operates in saturation region. In the example shown, a bandgap reference voltage, Vbg, is used. Circuits for generating bandgap reference voltages that are independent of voltage supply variations and temperature variations are known in the art and will not be described here.


When Vd=0 for transistor 402, for example by connecting the drain and gate terminals of the transistor 402 together as shown, then, Id, in the transistor 402 is a function of Vgs, and Iref sets the value of Vgs. The transistor 402 is sized to give Vgs=Vt. So, the gate of the transistor 404 is equal to







Vt
+

R
·
Iref


=



V
t

+

R
·


V
bg

R



=

Vt
+


V
bg

.







Since





Ibias
=


β
2

·

V
bg
2






and Vbg is constant, the circuit 400 generates a bias current, Ibias, that is proportional to β.



FIG. 5 is a flow diagram of a process 500 for compensating variations in an unbalanced differential pair. The process 500 can be performed using the circuits described in reference to FIGS. 1-4. In some implementations, the process 500 can include generating a constant reference voltage (502). For example, a bandgap reference voltage can be used. Generally, any circuit that can generate a reference voltage that is independent of voltage supply variations and temperature variations can be used. The constant voltage is converted to a current (504). The bias current is applied to the source terminals of the transistors of an unbalanced differential pair (506). The bias current is proportional to the transconductance gains of the transistors of the differential pair. If the transconductance gains vary due to temperature, the bias current varies in proportion resulting in a constant offset voltage. The compensations differential pair can be included in another circuit or device, such as an operational amplifier, as shown in FIG. 2.


While this document contains many specific implementation details, these should not be construed as limitations on the scope what may be claimed, but rather as descriptions of features that may be specific to particular embodiments. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable sub combination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a sub combination or variation of a sub combination.

Claims
  • 1. A differential pair circuit, comprising: a pair of transistors, a first terminal of each transistor configured for coupling to an input voltage, a second terminal of each transistor configured for coupling to a load and a third terminal of each transistor for coupling to a current source; anda current source circuit coupled to the third terminals of the transistors, the current source circuit configured for providing a bias current that varies in proportion to variations in transconductance gain of the transistors.
  • 2. The circuit of claim 1, where the transistors are MOSFET transistors and the first, second and third terminals are gate, drain and source terminals, respectively.
  • 3. The circuit of claim 2, where the current source circuit, further comprises: a reference voltage supply circuit; anda converter circuit coupled to the reference voltage supply, the converter circuit operable for generating the bias current from a reference voltage supply generated by the reference voltage supply circuit.
  • 4. The circuit of claim 3, where the reference voltage supply circuit comprises: a first MOSFET transistor having a gate terminal, a drain terminal and a source terminal, where the drain terminal and gate terminal are configured to have a drain-to-gate voltage of zero; anda resistive element having a first end coupled to the drain terminal of the first MOSFET transistor and a second end coupled to a reference current source, where the resistive element and the reference current source generate a reference voltage supply.
  • 5. The circuit of claim 4, where the reference voltage supply is equal to the sum of a bandgap voltage and a threshold voltage of the first MOSFET transistor.
  • 6. The circuit of claim 3, where the reference voltage supply circuit comprises: a first MOSFET transistor having a gate terminal, a drain terminal and a source terminal, where the drain terminal and gate terminal are configured to have a drain-to-gate voltage of zero; anda reference current source coupled to the drain terminal of the first MOSFET transistor, where the reference current source includes a threshold-referenced or self-biased current source.
  • 7. The circuit of claim 5, where the converter circuit comprises: a second MOSFET transistor having a gate terminal, a drain terminal and a source terminal, where the gate terminal is coupled to the reference supply voltage, the source terminal is coupled to ground voltage, and the drain terminal is coupled to the third terminals of the transistors of the differential pair.
  • 8. The circuit of claim 6, where the converter circuit comprises: a second MOSFET transistor having a gate terminal, a drain terminal and a source terminal, where the gate terminal is coupled to the reference supply voltage, the source terminal is coupled to ground voltage, and the drain terminal is coupled to the third terminals of the transistors of the differential pair.
  • 9. An operational amplifier, comprising: a differential pair; anda current source circuit coupled to the differential pair, the current source circuit configured for providing a bias current to the differential pair that varies in proportion to variations in transconductance gain of the differential pair.
  • 10. The amplifier of claim 9, where the differential pair comprises a pair of MOSFET transistors.
  • 11. The amplifier of claim 9, where the current source circuit, further comprises: a reference voltage supply circuit; anda converter circuit coupled to the reference voltage supply, the converter circuit operable for generating the bias current from a reference voltage supply generated by the reference voltage supply circuit.
  • 12. A method of compensating offset in an operational amplifier, comprising generating a substantially constant reference voltage;converting the reference voltage into a bias current; andapplying the bias current to source terminals of an unbalanced differential pair in the operational amplifier, where the bias current varies in proportion to a transconductance gain of the differential pair.
  • 13. A system for compensating offset of an unbalanced differential pair, comprising: means for generating a substantially constant reference voltage;means converting the reference voltage into a bias current; andmeans for applying the bias current to source terminals of the unbalanced differential pair, where the bias current varies in proportion to a transconductance gain of the differential pair.
  • 14. The system of claim 13, where the differential pair is included in an operational amplifier.