1. Field of the Invention
One embodiment of the invention generally relates to fabrication of analog integrated circuit. In particular, one embodiment the invention relates to trimming of analog current references, which is typically performed during test of an integrated circuit.
2. Description of the Related Art
Unlike digital circuits, analog circuits frequently use adjustment or trimming procedures. One such analog circuit is a current reference. Current references are frequently used in analog integrated circuits. These current references can be either current sources or current sinks. In practice, current references can be relatively difficult to implement. For example, a current reference should be of relatively high precision when used as a reference for a digital-to-analog converter (DAC). Otherwise, the analog output of the DAC can become degraded.
In one conventional current reference, the reference current is generated by mirroring an initial reference current. Due to the relatively large variability from die to die of resistors, the initial reference current is trimmed by trimming the resistors. However, these resistor trims can affect other biases, thus requiring further trimming in mirroring references. These other trimming operations can require additional components, such as trimming DACs and extra mirrors for each current reference. The additional circuits can increase die area, cost, and power consumption. In addition, the additional trimming procedures, often requiring trimming of each current reference, can be relatively time consuming, which adds to production test time and cost. The additional expense becomes particularly acute when relatively many current references are present. For example, it is not uncommon to have 32 current references on an integrated circuit for references or biasing of other circuits.
These drawings and the associated description herein are provided to illustrate specific embodiments of the invention and are not intended to be limiting.
In one embodiment, a reference current is generated by a current mirror circuit. A feedback circuit is used to generate a reference gate voltage. The current (“feedback current”) passing through a feedback circuit transistor is held constant by operation of a feedback loop. In one embodiment, the feedback circuit uses an operational amplifier to generate a control voltage for control of the feedback circuit transistor. Rather than trimming a resistor to trim feedback the current passing through the feedback circuit transistor, the size of the feedback circuit transistor is trimmed, and the feedback current remains relatively constant. While the feedback current remains constant, the control voltage for the gate of the feedback circuit transistor varies with the change in area; this control voltage is applied to current reference transistors to vary their currents. Advantageously, relatively fewer trimming operations can be used, which can reduce test time and reduce associated costs with adjusting reference currents.
Another advantage of the technique is that other mirrored currents which are desirably relatively constant (not adjusted) are efficiently provided. For example, a way to generate voltage references is by passing a relatively constant current through a resistor ladder. This current is preferably maintained constant and does not change when the adjustable reference currents are trimmed. Because the trimming of the feedback current is performed by adjusting a transistor size, proportional adjustments to transistor size can be implemented for those transistors providing currents for voltage references, and relatively little, if any, further trimming is needed. In one embodiment, no further trimming is necessary. This can speed up production and save cost.
Although particular embodiments are described herein, other embodiments of the invention, including embodiments that do not provide all of the benefits and features set forth herein, will be apparent to those of ordinary skill in the art. In addition, while illustrated in the context of current sources implemented with PMOS transistors, the principles and advantages described herein are also applicable to current sinks implemented with NMOS transistors.
In the illustrated embodiment of
The operation of the feedback circuit or loop will be described first. The voltage reference 102 provides a reference voltage Vref to an inverting input of the operational amplifier 104. The voltage reference 102 can be, for example, a band-gap voltage reference. The reference voltage Vref is constant.
An output of the operational amplifier is a control voltage Vamp and is coupled to a gate of the feedback circuit transistor MPfb. As will be explained in greater detail below, the control voltage Vamp applied to the gate of the feedback circuit transistor MPfb is also applied to the current reference transistors MP0, MP1, . . . MPn for control. The control voltage Vamp controls the gate voltage of the feedback circuit transistor MPfb and thereby controls a drain current from the drain terminal of the feedback circuit transistor MPfb. The drain current is represented in the schematic as a feedback circuit current Ifb flowing through the feedback circuit resistor Rfb. Leakage current flowing into or out of the positive input of the operational amplifier 104 is negligible and can be ignored.
The feedback circuit current Ifb establishes a feedback voltage Vfb generated by the voltage drop across the feedback circuit resistor Rfb. This feedback voltage Vfb is applied to the positive input of the operational amplifier 104. It should be noted that there is phase inversion from the gate to the drain of the feedback circuit transistor MPfb so that the inputs of the operational amplifier 104 are effectively inverted. When the feedback loop is closed, the operational amplifier 104 maintains an output voltage Vamp such that the feedback voltage Vfb is about equal to the reference voltage Vref. Accordingly, the feedback circuit current Ifb flowing through feedback circuit transistor MPfb is also constant. Thus, a constant current feedback control circuit or loop is formed by the voltage reference 102, operational amplifier 104, resistant Vamp and feedback Vfb generated by Ifb and Rfb.
While the feedback circuit current Ifb is constant in a given die when the feedback loop is closed, the particular amount of the feedback circuit current Ifb can vary significantly from die to die because, for example, the feedback circuit resistor Rfb can vary from die to die. Typically, with state of the art processing, resistors implemented in integrated circuits exhibit die to die variability of about 20%. Because the current reference transistors MP0, MP1, . . . MPn are mirrored from the feedback circuit transistor MPfb, the reference currents Iref0, Iref1, . . . Irefn of the current reference transistors MP0, MP1, . . . MPn also vary from die to die and are trimmed as described in the following. Rather than trim the feedback circuit current Ifb by trimming the feedback circuit resistor Rfb, the feedback circuit transistor MPfb is trimmed.
When the feedback circuit transistor MPfb is trimmed, the operation of the feedback loop continues to maintain the feedback current constant Ifb by appropriate control of the gate voltage Vamp applied to the feedback circuit transistor MPfb. However, the control voltage Vamp also controls the current reference transistors MP0, MP1, . . . MPn and the change in the control voltage Vamp acts to trim the reference currents Iref0, Iref1, . . . Irefn. Accordingly, scaling the width-to-length ratio (W/L) of the feedback circuit transistor MPfb relative to the width-to length ratio (W/L) of a circuit reference transistor MP0 also scales the relative circuit, i.e., Ifb versus Iref0. In one embodiment, to a first-order approximation, the scaling of current is about linear with the scaling of relative width-to-length (W/L) ratios. However, as will be described later in connection with
The trimming of the feedback circuit transistor MPfb can be accomplished in a variety of ways. In one embodiment illustrated in
The number of fingers activated for the feedback circuit transistor MPfb effectively determines the width-to-length ratio of the feedback circuit transistor MPfb. Additional switches (transistors) can be placed in series with at least some of the fingers to provide adjustment of the number of fingers selected. The selected configuration can be stored in ROM. Typically, these switches are placed in series with the drains of the fingers. For example, the fingers for adjustment can be arranged in groups of 1, 2, 4, and 8 effective fingers of equal size (though in other arrangements they can vary in size) as illustrated in
It will be appreciated by the skilled practitioner that the illustrated process can be modified in a variety of ways. For example, in another embodiment, various portions of the illustrated process can be combined, can be rearranged in an alternate sequence, can be removed, and the like.
The process begins by using feedback control 210 to control a voltage of a gate of a feedback circuit transistor for constant current. For example, with reference to
The process advances to use the control voltage 220 from the feedback control for the feedback circuit transistor to control current for a current reference transistor. The control voltage can be the control voltage Vamp (
The process advances to adjust a width-to-length ratio (W/L) 230 of the feedback circuit transistor to trim the reference current of the current reference transistor. An advantage of the process is that outputs of multiple current reference transistors can be trimmed with only a trim to a feedback circuit transistor. Another advantage, to be described in connection with
The voltage references Vr1, Vr2, . . . Vr(n-1) are generated by passing current through a resistor ladder R1, R2, . . . Rn, and accessing voltage from the taps or nodes between resistors. In the illustrated embodiment, two voltage reference transistors MPv1, MPv2 are shown. However, the number can vary in a very broad range and can be one or more. The voltage reference transistors MPv1, MPv2 should be of the same type, i.e., PMOS or NMOS, as the feedback circuit transistor MPfb.
As indicated by the dashed box and the arrow, the width-to-length ratios (W/L) are trimmed for the feedback circuit transistor MPfb, the first voltage reference transistor MPv1 and the second voltage reference transistor MPv2. The gates of first voltage reference transistor MPv1 and the second voltage reference transistor MPv2 are also coupled to the same control voltage as the gate of the feedback circuit transistor, and the sources of the transistors are all tied to the same potential (VDD). Drains of the first voltage reference transistor MPv1, and the second voltage reference transistor MPv2 are coupled to resistor ladders. The trimming techniques described earlier in connection with
The resistor ladder R1, R2, . . . Rn is part of the same integrated circuit as the feedback circuit resistor Rfb. A second resistor ladder for a current reference Ivref for the voltage reference transistor MPv2 is not shown. While the resistors of the resistor ladder R1, R2, . . . Rn and the feedback circuit resistor Rfb typically vary considerably from die to die, they are on the same die and vary proportionally. Accordingly, the values of the resistances tend to track each other, and relatively little, if any, trimming of the resistor ladder R1, R2, . . . Rn is needed. In one embodiment, only a single resistor of the resistor ladder R1, R2, . . . Rn is trimmed. Preferably, the trimmed resistor is the top-most resistor R1. In one embodiment, the resistor ladder R1, R2, . . . Rn is trimmed before any of the transistors are trimmed. For example, in one embodiment, a resistor is trimmed by a resistor trimming apparatus, such as a laser trimmer.
The trimming of the feedback circuit transistor MPfb affects the control voltage applied to the transistors MPfb, MPv1, MPv2. However, provided that the voltage reference transistors MPv1, MPv2 are also trimmed in size proportionally with the trimming of the feedback circuit transistor MPfb, the current provided by each of voltage reference transistor MPv1 and voltage reference transistor MPv2 for their respective resistor ladders should remain about the same. For example, in one embodiment, the fingers of transistors of an integrated circuit have the same length (L), and the inclusion or exclusion of various fingers changes the width (W) of the transistor. In one embodiment, this is accomplished by selectively activating fingers for the particular transistor. A preferred scaling between the feedback circuit transistor MPfb and a voltage reference transistor MPv1 should be known due to the designed values of the feedback circuit resistance Rfb and the voltage ladder R1, R2 . . . Rn, which vary from die-to-die, but vary together on the same die. Accordingly, the predetermined relationship in width-to-length (W/L) ratios (ratio of ratios) should exist before trimming for the feedback circuit transistor MPfb and the voltage reference transistor MPv1. After trimming, this ratio of width-to-length ratios (W/L) should be preserved such that the reference currents passing through the voltage reference ladders remains relatively constant. Advantageously, the voltage reference transistors do not need to be re-trimmed after the trimming of the current reference transistors MP0, MP1, . . . MPn.
The illustrated test apparatus 400 includes a current monitoring circuit 402, a voltage monitoring circuit 404, a resistor trimming apparatus 406, a selection circuit 408, and a lookup table 410. The current monitoring circuit 402 can be used to measure the current from a current reference, such as a current source. In one embodiment, the currents from multiple current references are aggregated for measurement, and the measurement is compensated for the aggregation. In one embodiment, the measurement of the current is provided as an input to the selection circuit 408, which can, for example, program a ROM of the DUT 420 to permanently configure selected which fingers of a transistor are activated. A lookup table 410 can provide reference information, such as provide a predetermined map of the number of transistors to activate given an initial measurement from the current monitoring circuit 402. Of course, the determination of how many fingers to activate can also be made iteratively.
A voltage monitoring circuit 404 measures the voltage references, such as references Vr1, Vr2, . . . Vr(n-1) from a resistor ladder R1, R2, . . . , Rn (
One embodiment is a method of trimming a current reference transistor providing a reference current for an integrated circuit, wherein the method includes: using feedback control to generate a control voltage for a gate of a feedback circuit transistor of the integrated circuit such that current passing through the feedback circuit transistor is substantially constant; using the control voltage for the gate of the feedback circuit transistor to control a gate of the current reference transistor of the integrated circuit, wherein a source of the feedback circuit transistor and a source of the current reference transistor are tied to a same voltage potential; and adjusting a width-to-length ratio (W/L) of the feedback circuit transistor to trim the reference current flowing through the current reference transistor.
One embodiment is an integrated circuit including: a current reference transistor having a gate, a source, and a drain; a feedback circuit transistor having a gate, a source, and a drain, wherein the gate of the feedback circuit transistor is operatively coupled to the gate of the current reference transistor, wherein the source of the feedback circuit transistor is operatively coupled to the source of the current reference transistor, wherein a number of activated fingers of the feedback circuit transistor is selectable such that a width-to-length ratio (W/L) of the feedback circuit transistor is scalable; and a feedback circuit configured to generate a control voltage for the gate of the feedback circuit transistor, wherein the feedback circuit is configured to maintain a substantially constant current through the feedback circuit transistor.
One embodiment is an apparatus for trimming an integrated circuit, wherein the apparatus includes: a current monitoring circuit configured to monitor a current of a first transistor of the integrated circuit; and a selection circuit configured to select a number of fingers of a second transistor to adjust a current flowing through the first transistor.
One embodiment is a method of configuring a current reference of an integrated circuit, wherein the method includes: monitoring a current of a first transistor of the integrated circuit; and selecting a number of fingers of a second transistor to adjust a current flowing through the first transistor.
Various embodiments have been described above. Although described with reference to these specific embodiments, the descriptions are intended to be illustrative and are not intended to be limiting. Various modifications and applications may occur to those skilled in the art without departing from the true spirit and scope of the invention as defined in the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5867001 | Lagerquist et al. | Feb 1999 | A |
6069511 | Mohan | May 2000 | A |
6151186 | O'Farrell | Nov 2000 | A |
6184723 | Frechette et al. | Feb 2001 | B1 |
6501299 | Kim et al. | Dec 2002 | B2 |
6605979 | Archer | Aug 2003 | B1 |
6690228 | Chen et al. | Feb 2004 | B1 |
6747475 | Yuffe et al. | Jun 2004 | B2 |
6864741 | Marsh et al. | Mar 2005 | B2 |
6956413 | Bailey | Oct 2005 | B2 |
7019581 | Potanin et al. | Mar 2006 | B1 |
7119527 | Fernald | Oct 2006 | B2 |
7142044 | Sano | Nov 2006 | B2 |
7167041 | Khalid | Jan 2007 | B2 |
7193454 | Marinca | Mar 2007 | B1 |
7208998 | Abel | Apr 2007 | B2 |
7215180 | Nagata et al. | May 2007 | B2 |
7218168 | Rahman | May 2007 | B1 |
7265608 | Lu et al. | Sep 2007 | B1 |
7271755 | Mulder et al. | Sep 2007 | B2 |
20050068092 | Sano | Mar 2005 | A1 |
20060103453 | Pisasale et al. | May 2006 | A1 |
20060132223 | Cherek | Jun 2006 | A1 |
20060202738 | Gatta et al. | Sep 2006 | A1 |
20060226893 | Abel | Oct 2006 | A1 |
20060238235 | Wey et al. | Oct 2006 | A1 |
20060267110 | Chen | Nov 2006 | A1 |
20070052472 | Lin et al. | Mar 2007 | A1 |
20070103227 | Khalid | May 2007 | A1 |
20070115045 | Nagata et al. | May 2007 | A1 |
Number | Date | Country |
---|---|---|
2336960 | Mar 1999 | GB |
WO 9015378 | Dec 1990 | WO |
Number | Date | Country | |
---|---|---|---|
20080297234 A1 | Dec 2008 | US |