The present application claims the benefit of U.S. Provisional Patent Application No. 62/358,424, filed Jul. 5, 2016, and U.S. Provisional Patent Application No. 62/320,260, filed Apr. 8, 2016, the disclosure of which is incorporated by reference herein in its entirety.
This application relates to providing a reference voltage or current and, more specifically, to systems and methods using current mirroring circuits to provide a reference voltage or current.
A mobile computing device, such as a smart phone, contains a multi-core chip to provide computing power. Examples of processing cores include a Digital Signal Processor (DSP) core, a Graphics Processing Unit (GPU), a Central Processing Unit (CPU), a modem, and a camera core. Each core may include multiple clocks to capture, store, and transmit digital data at the rising and or falling edges of those clocks.
A clock in a digital processing core may be provided in a number of different ways. One example is to use a crystal that emits a known frequency when exposed to a voltage. Another example is a circuit that is based on a ring oscillator, such as a digitally controlled oscillator. A digitally controlled oscillator may include a power supply that uses a stable reference voltage to provide an output power to the oscillator.
Process, voltage, and temperature (PVT) variation may affect the operation of a digitally controlled oscillator. For instance, slight variance in dimensions of a transistor or doping in a transistor may cause that transistor to be either fast or slow compared to its ideal operation. Similarly, some transistors may behave fast or slow as a result of temperature changes. Also, an operating voltage of the device may affect whether transistors behave fast or slow. A given oscillator may include a multitude of transistors that are each potentially affected by some amount of variation. Accordingly, PVT variation may cause undesired effects in a digital oscillator unless effective compensation is applied.
Additionally, some conventional systems may use a current mirror circuit to provide the reference voltage to the oscillator's power supply. While the current mirror circuit may typically be expected to provide a steady reference voltage or current, some current mirror architectures may be better than others. For example, a beta multiplier may be sensitive to supply voltage variations due to channel length differences in their constituent transistors. An example conventional complementary metal oxide semiconductor (CMOS) bandgap reference employs an amplifier to create a more “ideal” current mirror that is insensitive to supply variation. However, the addition of the amplifier may result in higher power use and larger die area. Furthermore, conventional current mirrors do not generally compensate for PVT variation of transistors in downstream components, such as oscillators.
There is currently a need for a design that is capable of providing a reference voltage or current that is precise and may compensate for variation in the transistors of downstream components.
Various embodiments include systems and methods that provide a reference voltage or current using a current mirror design that is relatively supply insensitive and may track process and temperature variation of both P-type metal oxide semiconductor (PMOS) and N-type metal oxide semiconductor (NMOS) devices.
In one embodiment, a current mirroring circuit includes: a first portion having a first resistor and a first transistor, the first transistor having a control terminal coupled to a control terminal of a first diode-connected transistor, and a second portion having a second resistor and a second transistor, the second transistor having a control terminal coupled to a control terminal of a second diode-connected transistor, the first portion being in electrical communication with a first power level and the second portion being in electrical communication with a second power level, the first portion being coupled to the second portion.
In another embodiment, a method includes: mirroring a first current and a second current, wherein a path of the first current between a power source and ground includes a first resistor, a first transistor, and a first diode-connected NMOS and PMOS pair, further wherein a path of the second current between the power source and ground includes a second resistor, a second transistor, and a second diode-connected NMOS and PMOS pair, wherein mirroring includes: maintaining a gate of the first transistor and gates of the second diode-connected NMOS and PMOS pair at a same voltage; maintaining a gate of the second transistor and the first diode-connected NMOS and PMOS pair at a same voltage; and outputting a reference voltage from a node disposed between the first transistor and the first diode-connected NMOS and PMOS pair.
In another embodiment, a semiconductor device includes: a first current path between a power source and ground, wherein the first current path includes in series: a first resistor, a first transistor, and a first diode-connected NMOS and PMOS pair, a second current path between the power source and ground, wherein the second current path includes in series: a second resistor, a second transistor, and a second diode-connected NMOS and PMOS pair, wherein a control terminal of the first transistor and a control terminal of the second diode-connected NMOS and PMOS pair are coupled and wherein a control terminal of the second transistor is coupled to a control terminal of the first diode-connected NMOS and PMOS pair, and a reference voltage output terminal in communication with the first current path and disposed between the first transistor and the first diode-connected NMOS and PMOS pair.
In yet another embodiment, a semiconductor device includes: a first portion having first means for providing a nonlinear voltage drop, the first means for providing a nonlinear voltage drop including a first resistor and having a control terminal coupled to a gate terminal of second means for providing a nonlinear voltage drop, the second means for providing a nonlinear voltage drop including a first non-linear device, and a second portion having third means for providing a nonlinear voltage drop, the third means for providing a nonlinear voltage drop including a second resistor and having a control terminal coupled to a gate terminal of fourth means for providing a nonlinear voltage drop, the fourth means for providing a nonlinear drop including a second non-linear device, the first portion being in electrical communication with a power supply and the second portion being in electrical communication with ground, the first portion being coupled to the second portion.
Various embodiments are directed to circuits and methods to provide a reference voltage or current using a current mirror circuit, exemplified by the circuit of
For instance, one embodiment includes a circuit having a first current path with a degeneration resistor coupled to the power supply voltage, a first transistor in series with the degeneration resistor, and a first NMOS and PMOS pair coupled to ground and in series with the transistor and degeneration resistor. A second current path exists between the power supply and ground as well. The second current path includes a second NMOS and PMOS pair, a second transistor, and another degeneration resistor in series with the second NMOS and PMOS pair and the second transistor. The second NMOS and PMOS pair are gate coupled with the first transistor, and the first NMOS and PMOS pair are gate coupled with the second transistor. Also, the first and second NMOS and PMOS pairs are diode-connected so as to provide nonlinear voltage drops in their respective current paths.
The degeneration resistors provide linear voltage drops, so that they provide higher voltage drops at higher currents, but the higher voltage drops affect the gate-source voltages at the first and second transistors to reduce current. By contrast, the diode-connected NMOS and PMOS pairs provide nonlinear voltage drops in each of the current paths that complement the gate-source voltage effects at the transistors to which they are gate-coupled.
Continuing with the example, the voltage drops and gate coupling of the circuit result in a current mirroring circuit that has a range of stable operating points. An output voltage node of the current mirroring circuit may be coupled to a startup circuit that biases the voltage output node at a desired operating point and turns off as the circuit reaches the operating point. The example current mirroring circuit provides a stable output voltage or output a current, each of which can be used as a reference.
In some embodiments, the NMOS and PMOS pairs may be assumed to be representative of PMOS and NMOS variation affecting transistors in downstream circuits, such as an oscillator. The reference voltage output node may be disposed in the circuit so that its voltage is equal to a sum of gate-source voltages of one of the PMOS and NMOS pairs. Therefore, process variation causing slow transistors in NMOS or PMOS devices may be expected to incrementally raise the reference output voltage, and process variation causing fast transistors in NMOS or PMOS devices may be expected to incrementally lower the reference output voltage. In other words, the level of the reference output voltage may compensate for some amount of process variation. In embodiments where temperature affects transistors at the current mirror device as well as transistors in the oscillator, the reference output voltage may be expected to compensate for temperature affects as well.
Various embodiments may provide advantages over conventional solutions. For instance, some designs discussed herein may be relatively space-efficient while providing effective process and temperature variation compensation. Furthermore, various embodiments may also provide an acceptably stable output reference voltage over a range of supply voltages and consume less power than conventional amplifier-based current mirrors.
Continuing with the example, a reference voltage circuit 102 produces a reference voltage Vref for power supply 104. Power supply 104 generates power supply voltage V0 corresponding to a level of Vref. Specifically, power supply 104 includes a comparator or other appropriate circuitry to match power supply voltage V0 to Vref, by feeding back the value of V0 to an input of power supply 104. It is assumed in this example that the value of Vref is relatively stable so that power supply 104 provides V0 at a substantially constant value as long as Vref stays at a substantially constant value. An example of a power supply includes a low dropout voltage regulator, which generates a DC voltage from another DC voltage. However, the scope of embodiments may include any appropriate power supply.
Oscillator 108 in this example benefits from a substantially stable power supply voltage, as provided by power supply 104. Oscillator 108 receives the power supply voltage V0 as well as a reference clock signal from reference clock circuit 106. In this example, the reference clock signal includes a lower frequency and longer period than does the output clock CLK. Oscillator 108 may be a digitally controlled oscillator (DCO) or other appropriate oscillator. Examples include a ring oscillator circuit, a crystal-based circuit, or other appropriate circuit to produce the periodic signal CLK. Oscillator 108 provides as an output clock signal CLK, which may be used for a variety of different purposes within device 100, such as capturing bits of data, outputting bits of data, manipulating data, and the like. For example, clock CLK may be used as a clock for flip-flops, latches, and other logic gates at a more detailed level of abstraction within the processing circuitry and/or memory circuitry of device 100.
As noted above, oscillator 108 may include one or transistors that are subject to temperature and process variation. The voltage/current relationship of a given transistor depends on its threshold voltage VT. The threshold voltage VT is affected by process and temperature variation. A “fast” transistor has a lower VT, and a “slower” transistor has a higher VT. Generally, as temperature of a device increases, VT decreases. Additionally, variation in the width or length of a feature of the transistor and variation in doping concentrations in different regions of a transistor may affect VT of that transistor.
If oscillator 108 is fabricated using a complementary process, such as CMOS, it may include PMOS transistors and NMOS transistors, both of which are subject to different kinds of process variation. In some instances, variation affecting NMOS devices may be assumed to be uncorrelated to any variation affecting PMOS devices, and vice versa. However, a given PMOS device or given NMOS device in oscillator 108 may be assumed to have similar process and temperature variation characteristics as a given PMOS device or given NMOS device (respectively) at reference voltage circuit 102.
As explained further below, reference voltage circuit 102 is designed to provide a stable Vref and is also designed to provide some amount of variation compensation for devices in oscillator 108.
The circuit of
Portion 1 includes a PMOS transistor in series with a resistor, shown as item 201. Portion 1 also includes a diode connected PMOS transistor (top) and a diode connected NMOS transistor (bottom) in series, shown as item 202. Similarly, Portion 2 includes an NMOS transistor in series with a resistor, shown as item 211 and diode connected PMOS (top) and NMOS (bottom) transistors, shown as item 212. The resistors in items 201, 211 are substantially the same value in this example. Furthermore, the transistor in item 201 has a greater drive strength (e.g., is “bigger”) than either of the transistors in item 202. Assuming that the drive strength ratio of the transistor of item 201 to a transistor of item 202 is 1/X, then the drive strength ratio of the transistor of item 211 to a transistor of item 212 is also 1/X.
Further in this example, items 201 and 212 are in series with each other, as are items 202 and 211. However, in understanding the circuit of
In other words, for the circuit of Portion 2, current I2 would start out larger than current I1, but eventually current I1 would increase and current I2 would begin to decrease. If the circuit of Portion 2 was standing alone, its operation would result in curves similar to the curves 314 in
Focus now shifts to Portion 1 separately, assuming a fixed VDD and sweeping the voltage at nodes 221 and 222. Item 201 behaves similarly to item 211, and item 202 behaves similarly to item 212 so that the current I1 would start larger than the current I2 at a smaller voltage difference between VDD and nodes 221, 222. But as the voltage difference between VDD and the voltages at nodes 221, 222 increases eventually current I2 would increase and current I1 would begin to decrease, thereby resulting in a curve similar to one of the curves 312 in
Of course, neither Portion 1 nor Portion 2 exists by itself. Rather, portions 1 and 2 are coupled as shown in
The reference voltage circuit 102 of
The influence of process and temperature variation upon the reference voltage Vref is apparent from the architecture of reference voltage circuit 102. Specifically, the value of Vref at node 221 is equal to the sum of the gate-source voltages (Vgs) of the NMOS and PMOS pair at item 212. Therefore, an increase in a threshold voltage of either of the transistors in item 212 would result in an increase of Vref. Similarly a decrease in a threshold voltage of either of the transistors in item 212 would result in a decrease of Vref.
The embodiment of
Furthermore, the scope of embodiments is not limited to CMOS devices only. Rather, other embodiments may include transistors using bipolar technology, gallium arsenide technology, or other technology now known or later developed. However, and as explained above, CMOS devices may benefit from the architecture of
Moreover, the architecture of
The resistors in items 201 and 211 may be selected to be an appropriate size, depending on acceptable ranges for current level. The resistors may be fabricated using any appropriate technology, such as use of metal wires, polysilicon structures, transistor devices configured to act as resistive devices, and the like. Various embodiments may include resistors with values chosen to provide desired current levels.
Reference voltage circuit 102 further includes startup section 240. Startup section 240 includes a diode-connected NMOS and PMOS pair 231 and another diode-connected NMOS and PMOS pair 232. In contrast to the NMOS and PMOS pairs in core section 250, the NMOS and PMOS pairs 231, 232 are not gate-coupled to other transistors. NMOS and PMOS pairs 231, 232 in this example form a voltage divider generating a voltage that is coupled to the control terminal (gate) of transistor 233. The source of transistor 233 is coupled to node 221. Startup section 240 injects current during circuit startup at node 221 to bring the core section 250 to its operating point. The values of the transistors within startup section 240 may be selected so that when the core section 250 is at its desired operating point, the gate source voltage (Vgs) of transistor 233 causes transistor 233 to turn off.
The first current path includes a degeneration resistor and a transistor in series, such as shown in item 201 of
The second current path includes a diode-connected NMOS and PMOS pair, shown as item 202 of
The circuit of
At action 410, the current mirroring circuit mirrors a first current and a second current and produces a reference voltage. For instance, in the example of
At action 420, the circuit maintains a gate of a transistor and gates of an NMOS and PMOS pair at a same voltage. For instance, as shown in
At action 430, the circuit maintains the gate of another transistor and gates of another NMOS and PMOS pair at a same voltage. For instance, as shown in
At action 440, the circuit outputs a reference voltage from a node disposed between one of the transistors and one of the NMOS and PMOS pairs. In the example of
Various embodiments may include one or more advantages over conventional processes. At action 440, the value of Vref takes into account process and temperature variation that would affect the threshold voltages of the NMOS and PMOS pair coupled to the Vref output terminal. Process and temperature variation that would be expected to result in a relatively slow transistor would result in a higher Vref, and variation that would be expected to result in a relatively fast transistor would result in a lower Vref. The value of Vref in the circuit 102 accounts for NMOS and PMOS variation courtesy of the NMOS and PMOS transistors at item 212. A downstream circuit, such as a power supply that receives Vref, may then output a power supply voltage that corresponds to a level of Vref, thereby propagating the compensation to a further downstream circuits, such as an oscillator or other circuit. In other words, method 400 may include providing a compensation voltage level from the current mirroring circuit to downstream components.
Nevertheless, various embodiments may differ from that shown in
For instance, if a downstream circuit primarily includes NMOS devices, then compensating for NMOS variation only in the value of Vref may provide acceptable performance. Additionally, when it is known beforehand that variation by a particular type of device, such as PMOS devices, is a dominant type of variation in the design, then compensating for PMOS variation only in the value of Vref may provide acceptable performance. The scope of embodiments may also include using two-terminal diodes instead of diode-connected transistors, where appropriate.
Moreover, the current mirroring circuit of
The scope of embodiments is not limited to the specific method shown in
Additionally, the Vref output terminal in the example of
As those of some skills in this art will by now appreciate and depending on the particular application at hand, many modifications, substitutions and variations can be made in and to the materials, apparatus, configurations and methods of use of the devices of the present disclosure without departing from the spirit and scope thereof. In light of this, the scope of the present disclosure should not be limited to that of the particular embodiments illustrated and described herein, as they are merely by way of some examples thereof, but rather, should be fully commensurate with that of the claims appended hereafter and their functional equivalents.
Number | Date | Country | |
---|---|---|---|
62358424 | Jul 2016 | US | |
62320260 | Apr 2016 | US |