Offset voltages may be introduced into a circuit as a result of component variations arising from non-ideal manufacturing processes. Such offset voltages may affect normal circuit operation. Thus, there is a need to cancel or compensate for offset voltages.
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process, an apparatus, a system, a composition of matter, a computer readable medium such as a computer readable storage medium or a computer network wherein program instructions are sent over optical or communication links. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. A component such as a processor or a memory described as being configured to perform a task includes both a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. In general, the order of the steps of disclosed processes may be altered within the scope of the invention.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
An offset compensation scheme using a digital-to-analog converter (DAC) is disclosed. In some embodiments, a DAC is coupled to a circuit having an undesired current or voltage offset and is configured to at least in part compensate for the undesired current or voltage offset. For example, in some embodiments, the DAC injects current or voltage into the circuit that shifts a current or voltage of the circuit by an amount equal or similar in magnitude but opposite in polarity to a shift in the current or voltage of the circuit caused by the undesired current or voltage offset.
Accuracy of the effective reference voltages is needed in order for an ADC to behave linearly. However, the accuracy of reference voltages may be compromised due to offset voltages arising from component variations, such as MOSFET threshold and/or mobility mismatches, random variations of resistors and/or capacitors, etc., that result from non-ideal manufacturing processes. Such a problem is especially pronounced when an ADC is realized in CMOS processes since in such cases the resulting net offset voltages tend to be relatively large compared to the LSB size of the ADC due to the use of relatively small transistors to achieve high speeds. Shifts in reference voltages from their ideal values may result from offset voltages contributed by any component and/or stage of an ADC. In some cases, offset voltages primarily occur in the preamplifier and/or latch. Because the reference ladder can be realized using relatively well matched components, e.g., using resistors and/or capacitors, in some cases, the reference ladder contributes relatively small amounts of offset voltages. The latches, on the other hand, could contribute significantly to the overall offset voltages due to, for example, their small sizes (for high speed and low power) and relatively low gain in the preamplifier array which may not provide enough offset attenuation.
For each slice, the various built-in offset voltages that arise throughout the slice can be referred back to the input stage and be represented by a single cumulative input offset voltage (Vos). This offset voltage (Vos) appears to be effectively added to the ideal reference voltage (Vref) associated with the slice. For example, instead of Vref, Vref-Vos effectively appears at the preamplifier input of the slice. This shift in Vref from its ideal value due to Vos may cause a corresponding shift in an associated decision (transition) boundary and may cause the transfer code associated with the slice to shift from an ideal value. Thus, in order for an ADC to properly operate, the offset voltage Vos may need to at least in part be compensated for. An offset cancellation scheme may be employed to compensate for or at least mitigate the offset voltage Vos. For example, the effect of Vos can be (mostly) cancelled if another offset voltage of the same or nearly the same magnitude but opposite polarity is cascaded with Vos.
In one technique for offset compensation, the reference voltage associated with a slice is selectable from a range of values.
In the offset compensation scheme depicted in
An improved scheme for offset compensation is disclosed in detail herein that not only mitigates or cancels the effect of offset voltages but that can be compactly realized and that provides a scalable trade-off between cancellation range and resolution.
ΔVout=Vop−Vom=gm·R·(Vin−Vref) (Equation 1)
In Equation 1, gm is the transconductance of the input differential pair M1 and M2, and R is the load resistance value (e.g., R1=R2=R/2). The preamplifier provides some gain and shields the inputs (Vin and Vref) from being kicked by the switching noise from the latch stage. The preamplifier also provides a way to convert the DC common mode voltages so that, for example, the inputs and the output can be separately optimized.
The built-in offset voltage of the slice can be referred to the input of the preamplifier and is represented in the given example by Vos. Although depicted in
Vos
The offset voltage Vos effectively shifts the slice reference voltage Vref from its ideal value and may cause the ADC to behave nonlinearly.
In some embodiments, offset compensation is achieved using a DAC, such as DAC 402 of
ΔVout=Vop−Vom=R·(Ia−Ib)=R·ΔIDAC (Equation 3)
Thus, the preamplifier output differential voltage can be shifted in different (positive and negative) directions by varying the magnitudes of Ia and Ib. In this example, the shift in the output differential voltage of the preamplifier is positive when Ia is greater than Ib and is negative when Ia is less than Ib. The maximum positive shift occurs when Ia is a maximum and Ib is zero, the maximum negative shift occurs when Ia is zero and Ib is a maximum, and no shift occurs if Ia and Ib are equal. Thus, the DAC provides a way to change the output voltage of the preamplifier.
The effect of the input referred built-in offset voltage Vos can be cancelled if the shift or offset in the output voltage by the DAC as given by Equation 3 is equal in magnitude but opposite in sign to the output offset voltage resulting from Vos, i.e. Vos
R·ΔIDAC+gm·R·Vos=0 (Equation 4)
which simplifies to:
ΔIDAC=−gm·Vos (Equation 5)
If Equation 5 is satisfied by the delta DAC current, ΔIDAC, the input referred built-in offset voltage Vos is completely cancelled. In some cases, in a real realization, the exact cancellation of Vos may not be possible due to the finite step size of resolution achievable with the DAC.
In some embodiments, the DAC is designed so that the relationship between its outputs and its reference current is given by Equation 6:
ΔIDAC=kDAC·Iref (Equation 6)
In Equation 6, kDAC is the DAC gain. In some embodiments, the gain kDAC is variable over a prescribed range. In some embodiments, the reference current of the DAC, Iref, is forced as described by Equation 7 to:
Iref=k1·gm·Vref1 (Equation 7)
In Equation 7, k1 is a constant, gm is the transconductance of the preamplifier input differential pair M1 and M2, and Vref1 is a reference voltage. The Iref bias circuit (e.g., 304 of
In some embodiments, Vref1 is designed to have the same dependency as the ADC LSB voltage (set by the reference ladder), e.g., both are scaled versions of the bandgap voltage. In such cases, Vos
The offset cancellation range of the DAC is given by Equation 9:
VCANCEL
In Equation 9, kDAC
Switches S1 and S2 in
DAC 402 can be implemented using any appropriate technique. In some embodiments, the DAC is implemented in NMOS. In such cases, the DAC can be controlled directly by the potentially lower voltage logic gates without any level shifters, and the overall layout of such a DAC can be made very compact.
As described herein, a DAC can be employed to compensate for offset voltages. The layout of such a DAC can be made very compact. The offset cancellation range and cancellation resolution can easily be traded. Although described in detail with respect to an ADC, the techniques disclosed herein may be similarly employed to compensate for offset voltages in an amplifier or any other circuit in which offsets are desired to be cancelled. Although using a DAC for offset compensation is described, any other appropriate circuit configuration for injecting current and/or voltage to cancel an offset can be similarly employed.
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
This application is a continuation of co-pending U.S. patent application Ser. No. 12/383,259 entitled OFFSET COMPENSATION SCHEME USING A DAC filed Mar. 19, 2009 which is incorporated herein by reference for all purposes, which is a continuation of U.S. patent application Ser. No. 11/787,141, which has issued as U.S. Pat. No. 7,528,752, entitled OFFSET COMPENSATION SCHEME USING A DAC filed Apr. 13, 2007 which is incorporated herein by reference for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
4237387 | Devendorf et al. | Dec 1980 | A |
4972141 | Rozman et al. | Nov 1990 | A |
5525985 | Schlotterer et al. | Jun 1996 | A |
5606320 | Kleks | Feb 1997 | A |
5774733 | Nolan et al. | Jun 1998 | A |
6118395 | Kim | Sep 2000 | A |
6211747 | Trichet et al. | Apr 2001 | B1 |
6411233 | Sutardja | Jun 2002 | B1 |
6459335 | Darmawaskita et al. | Oct 2002 | B1 |
6556154 | Gorecki et al. | Apr 2003 | B1 |
7129871 | Venes et al. | Oct 2006 | B1 |
7362246 | Park et al. | Apr 2008 | B2 |
7456766 | Keehr | Nov 2008 | B2 |
7527752 | Yoon et al. | May 2009 | B2 |
7554380 | Embabi et al. | Jun 2009 | B2 |
7848045 | Li et al. | Dec 2010 | B1 |
20100117876 | Cao et al. | May 2010 | A1 |
Number | Date | Country | |
---|---|---|---|
20110115659 A1 | May 2011 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12383259 | Mar 2009 | US |
Child | 12939965 | US | |
Parent | 11787141 | Apr 2007 | US |
Child | 12383259 | US |