1. Field of the Invention
The present invention relates generally to the electrical circuitry, and more particularly to digital to analog current generator (IDAC).
2. Description of the Related Art
Current generators historically have employed two different types of electrical circuit designs. The first is a simple current mirror circuit such as that shown in
Another solution employed for current generator circuit uses a feedback amplifier.
Control of the current in the design of
It would be advantageous to provide a precision current generator that can be used in advanced applications, such as MRAM applications, where the output current is precisely controlled and thus decreases the risk of producing uncontrolled or unpredictable variations in output current, thereby resulting in lower circuit currents, efficient use of power, and generally improved performance.
According to a first aspect of the present design, there is provided a digital current source used to mirror a reference current using a digitally controlled analog current source. The digitally controlled analog current source multiplies a current from a master mirror transistor producing an output current that is a digitally controlled multiple of the reference current. The circuit comprises a plurality of one bit current mirror cells. Each one bit current mirror cell comprises a mirror transistor receiving an analog gate voltage from a master mirror transistor and providing a drain voltage, an operational amplifier configured to maintain the drain voltage for the mirror transistor equivalent to the analog gate voltage, and a switch configured to receive one control bit, the switch enabling current mirroring when the mirror voltage is substantially equivalent to the master mirror voltage. The digital current source further includes a common line summing element employed to receive and compile currents from each of the one bit current mirror cells.
According to a second aspect of the present design, there is provided a single bit precision current mirror cell. The single bit precision current mirror cell is configured to receive a master transistor voltage and a digital control value. The single bit current mirror cell includes a transistor configured to receive the master transistor voltage and provide a mirror gate voltage and an operational amplifier configured to receive the master transistor voltage and mirror gate voltage and maintain the master transistor voltage substantially equivalent to the mirror gate voltage using feedback. The single bit precision current mirror cell further receives the digital control value and employs the operational amplifier to and provide an analog cell current output substantially mirroring a digital derivative of a reference current value.
These and other objects and advantages of all aspects of the present invention will become apparent to those skilled in the art after having read the following detailed disclosure of the preferred embodiments illustrated in the following drawings.
The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which:
The present invention is a set of one bit precision current mirror cells or current source blocks employing feedback amplifiers and switching components. The present design may employ CMOS circuits, offering both low voltage and high voltage transistors. The present design thus includes a plurality of switched precision current sources, or current circuits, controlled by a digital control word to form a digital to analog controlled current source. The present design uses a master and slave voltage arrangement between a reference voltage and all of the switched precision current sources.
The mth-bit one bit precision current mirror cell 304m comprises feedback amplifier 306, where the positive gate is connected to the line 310 from master mirror transistor 302. Binary weighted mirror transistor 307 receives signal from line 310 and produces Vm′, a voltage similar to but possibly not identical to voltage Vm produced at the master mirror transistor 302. Vm′, called the drain voltage, is received at the negative gate of feedback amplifier 306. Select switch 308 also known as a switch transistor or simply switch, may receive bit m from N-bit register 305 when bit m is selected or forms part of the control word. Analog control transistor 309 receives gate control from feedback amplifier 306 and controls the drain voltage of transistor 307 to be as close as possible to the voltage Vm on line 310. Controlling the gate-to-drain voltage on transistor 307 to be approximately equal to zero to cause the terminal voltages on the mirror transistor 307 to be substantially identical to the terminal voltages on the master mirror transistor 302 for accurate current mirror operation.
The drain current from transistor 307 flows into output line 311 and combines the output with other output currents. Vdc voltage is a power supply common to both the source of the master mirror transistor 302 and each mirror transistor 307 in each one bit current mirror cell. In other words, the gate-to-source control voltage Vm out of master mirror transistor 302 is passed to each one bit current mirror cell in the current mirror arrangement and controls the drain current when the one bit current mirror cell is selected using the control word from N-bit register 305. In the arrangement shown, resistor 315 receives lout as the sum of the currents from the selected one bit current mirror cells.
The purpose of the one bit current mirror cell arrangement shown in the embodiment of
For example, if the arrangement provides four bits, those bits may be represented by multiples of 8, 4, 2, and 1. If the expected current range is 0 microamps to 1.5 milliamps, this 1.5 milliamp range may be divided into 15 steps (8+4+2+1) of 100 microamps apiece. The reference current is set at 100 microamps and the relative size of the mirror transistors in the one-bit current mirror cells 304 (1 through 4) will be 1×, 2×, 4×, and 8× multiples of the master mirror transistor 302. Thus in operation, if the desired output current is 300 microamps, binary control of 0011 is needed. The N-bit register 305 provides a control word of 0011, and thus triggers the select switch for the third and fourth one bit precision current mirror cell. Thus, in this example the four one bit current mirrors presented would represent the bit-8, bit-4, bit-2, and bit-1 values, and the third and fourth current mirror, representing the bit-2 and bit-1 current mirror, would be provided control signals and voltage matched and current mirrored. Only the third and fourth one bit current mirror cell thus operate. The result would be an Iout of 300 microamps as the sum of the output current of 200 microamps from the third one-bit current mirror plus the output current 100 microamps from the fourth one-bit current mirror.
The current design may comprise a CMOS current mirror, typically a state of the art CMOS circuit offering both low voltage and high voltage transistors, wherein the design includes external reference current, an N-bit register, and N one-bit precision current mirror cells. One CMOS circuit that may be employed comprises 0.13 u CMOS technology with 3.3V and 1.0V transistors. The N-bit register 305 may be a conventional data register known to those skilled in the art having an ability to store an N-bit digital control word. The N-bit register 305 applies the N-bit control word to select switch 308 in the corresponding one bit precision current mirror cell to connect the output line 311, also called the common line or summing line, with the Vdc power supply through mirror transistor 307. Summing may be provided by an element other than the output line 311. The net output current, lout, represents the sum of the currents passing through the selected mirror transistor cells, and is equal to:
Iout=Σ(I_msb, . . . , I—m, . . . I_lsb) (1)
The feedback amplifier 306 and the analog control transistor 309 operate to maintain the drain voltage Vm′ of mirror transistor 307 to replicate or be as precisely equivalent as possible to the mirror gate voltage Vm. In operation, when Vm′ is equal to Vm, the drain current of the selected mirror transistor cell, such as mth-bit one bit precision current mirror cell 304m, may closely replicate the drain current of the master mirror transistor 302 multiplied by a scale factor M.
Thus the present design includes a feedback control circuit in each one bit precision current mirror cell for the purpose of asserting the condition of Vm′ equal to Vm as a precondition for a precision current mirror. The circuitry thus matches voltage and mirrors the current and matching the current when the voltages are matched. The feedback loop in the present design in this arrangement comprises the voltage of the master mirror transistor 302. The feedback loop provided tends to eliminate voltage drops associated with the mirror transistor 307.
In an advanced setting, such as an MRAM setting, write currents typically are controlled with a high degree of accuracy. In a typical MRAM setting, the values of output voltage Vout at operational output current lout are typically in the range of less than one volt. CMOS circuits can provide low voltage and high voltage transistors, and control of current within a very narrow range can be achieved.
In the present design, each one bit precision current mirror cell can employ a feedback circuit due to the advantages provided by CMOS technology. Individual cell control provides precise activation of each current source and a resultant high precision total current. High voltage and low voltage transistors in CMOS technology provides for Nchannel control and switch transistors instead of Pchannel transistors. Nchannel transistors require less area for implementation and voltage headroom required by Nchannel transistors can be provided by the high voltage CMOS circuits. In such a CMOS implementation, a wide range of output voltages for a wide range of currents can be provided, in addition to the voltage headroom required for the Nchannel transistors.
Regarding power use and consumption, the select switch 308 is provided within the feedback loop and does not consume power or operate when its one bit current source block is not selected by the control word provided by the N-bit register 305.
Thus in one embodiment of the current design, there is provided a digital current source used to mirror a reference current using a digitally controlled analog current source. The digitally controlled analog current source multiplies a current from a master mirror transistor producing an output current that is a digitally controlled multiple of the reference current. The circuit comprises a plurality of one bit current mirror cells. Each one bit current mirror cell comprises a mirror transistor receiving an analog gate voltage from a master mirror transistor and providing a drain voltage, an operational amplifier configured to maintain the drain voltage for the mirror transistor equivalent to the analog gate voltage, and a switch configured to receive one control bit, the switch enabling current mirroring when the mirror voltage is substantially equivalent to the master mirror voltage. The digital current source further includes a common line summing element employed to receive and compile currents from each of the one bit current mirror cells.
According to a second embodiment of the present design, a single bit precision current mirror cell is provided. The single bit precision current mirror cell is configured to receive a master transistor voltage and a digital control value. The single bit precision current mirror cell operates in association with an analog current source. The single bit current mirror cell includes a transistor configured to receive the master transistor voltage and provide a mirror gate voltage and a feedback amplifier configured to receive the master transistor voltage and mirror gate voltage and maintain the master transistor voltage substantially equivalent to the mirror gate voltage using feedback. The single bit precision current mirror cell further receives the digital control value and employs the feedback amplifier to provide an analog cell current output substantially mirroring a digital derivative of an analog current value provided by the analog current source. Digital derivative in this context may represent a digitized current range in accordance with operation of the N-bit register 305 discussed above.
A flowchart 400 of a further embodiment of the design is provided in
As differentiated from previous designs, the present design affords the opportunity to mirror current by selecting only those digital components of the desired current and operating circuitry necessary to mirror the desired current rather than mirroring all current and directing excess current to ground. The present design is thus more efficient in that the present design can provide current mirroring using less current and less power than previously required.
While the aforementioned and illustrated devices and methods for mirroring current for use in advanced applications, such as MRAM applications, has been described in connection with exemplary embodiments, those skilled in the art will understand that many modifications in light of these teachings are possible, and this application is intended to cover any variation thereof. Accordingly, any and all modifications, variations, or equivalent arrangements which may occur to those skilled in the art, should be considered to be within the scope of the present invention as defined in the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5283579 | Tasdighi et al. | Feb 1994 | A |
5548288 | Lueng | Aug 1996 | A |
6246351 | Yilmaz | Jun 2001 | B1 |
6583744 | Bright | Jun 2003 | B2 |
6664909 | Hyde et al. | Dec 2003 | B1 |
6703956 | Mueller et al. | Mar 2004 | B1 |
6833801 | Ostrem et al. | Dec 2004 | B1 |
6927719 | Siniscalchi | Aug 2005 | B1 |
7030799 | Lee et al. | Apr 2006 | B2 |
7227483 | Seo | Jun 2007 | B2 |
7369076 | Chung et al. | May 2008 | B1 |
20020063644 | Clara et al. | May 2002 | A1 |
Number | Date | Country | |
---|---|---|---|
20070096713 A1 | May 2007 | US |