1. Field of the Invention
This invention relates generally to voltage reference circuits, and more specifically to a bandgap voltage reference circuit.
2. Related Art
A system-on-chip (SoC) may include a voltage regulator. The voltage regulator remains activated when all other circuits of the SoC are off. The voltage regulator may include a voltage reference circuit. A voltage reference circuit is a circuit that outputs a fixed DC voltage that does not change with temperature or changes within a limited range, i.e., a few millivolts above and below a given value. When the SoC is powered by a battery, it is particularly important that the power consumed by the voltage regulator, including the power consumed by the voltage reference circuit, be low.
A bandgap voltage reference circuit is a voltage reference circuit that outputs a fixed DC voltage at or near the bandgap of the semiconductor substrate on which the circuit resides. A bandgap voltage reference circuit, or bandgap voltage reference, may include a proportional-to-absolute-temperature (PTAT) circuit and a complementary-to-absolute-temperature (CTAT) device. The PTAT circuit produces a voltage that increases linearly with temperature. The CTAT device produces a voltage that decreases linearly with temperature. It is well known that VBE, the voltage across a forward-biased base-emitter junction of a bipolar junction transistor (BJT), exhibits nearly a CTAT behavior. The bandgap voltage reference includes means to properly combine the voltage produced by the PTAT circuit and the voltage produced by the CTAT device. The bandgap voltage reference cancels the negative temperature dependence of the CTAT device with the positive temperature dependence of the PTAT circuit to produce an output Vout that does not change with temperature.
The PTAT circuit includes a thermal voltage generator that generates a thermal voltage φt=kT/q, where T is the temperature measured in degrees Kelvin, and q is the magnitude of the electrical charge on an electron (1.602×10−19 Coulombs). The Boltzmann's constant, k, can be expressed as 1.3806×10−23 Joules/degree Kelvin. The thermal voltage φt varies directly proportionately, or increases, with increasing temperature. The thermal voltage φt is approximately 25.85 mV at room temperature (approximately 300° K). At room temperature, the thermal voltage φt changes at a rate of approximately 0.085 mV/° C.
Because the thermal voltage φt extrapolates to 0V at 0° K and because VBE extrapolates to the bandgap voltage at 0° K (if all its nonlinear terms are ignored), their sum is approximately equal to the bandgap voltage.
The CTAT voltage VBE that the CTAT device produces varies indirectly proportionately, or decreases, with increasing temperature at a rate of approximately −2.4 mVPC, for a very low current density, i.e., in the range of a few nanoamperes (nA) per square micron.
The PTAT circuit amplifies the thermal voltage φt by an appropriate constant χ to produce a voltage χφt such that a rate of increase of the PTAT voltage χφt produced by the PTAT circuit compensates for a rate of decrease of the CTAT voltage VBE produced by the CTAT device.
The output Vout of the bandgap voltage reference can be expressed as:
V
out
=V
BE+χφt
such that Vout has a zero temperature coefficient (ZTC). Therefore, the value of χ is chosen such that, at room temperature (300° K),
(δVout/δT)|IT=300° K=(δVBE/δT)|T=300° K+(χδφt/δT)IT=300° K=0
After substituting the aforesaid rate of decrease of VBE and rate of increase of φt into the preceding equation, it is found that χ≈28.235 under the conditions stated.
Using the Advance Compact Model (ACM) for a metal oxide semiconductor field effect transistor (MOSFET), the inversion level if of a MOSFET transistor is defined as if=I/Is, where I is the drain current in the transistor, and Is is the normalization current. The normalization current Is is equal to ISQS, where ISQ is the sheet specific current that is defined by certain process parameters and S is the aspect ratio of the transistor. The aspect ratio S of a MOSFET transistor is the ratio of channel width W to channel length L. Furthermore,
I
SQ
=nμC′
ox(φt2/2)
where μ is the mobility of the carriers in the channel, n is the subthreshold slope factor, C′ox is the oxide capacitance per unit area of the gate, and φt is the thermal voltage. Weak inversion, moderate inversion and strong inversion describe different operational modes of a MOSFET. Weak inversion occurs when a transistor is dominated by a diffusion current, moderate inversion is when a transistor has both a diffusion current and a drift current, and strong inversion is when a transistor is dominated by a drift current. In a MOSFET, weak inversion occurs when a thinner channel is formed in the transistor. When there is no channel, the transistor is at cut-off. As a rule of thumb, a transistor that has an inversion level of less than one is said to be in weak inversion. A transistor that has an inversion level of about 1-100 is said to be in moderate inversion. A transistor that has an inversion level of greater than 100 is said to be in strong inversion.
The present invention is illustrated by way of example and is not limited by the accompanying figures, in which like references indicate similar elements. Elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale.
The bandgap voltage reference 200 includes a PTAT voltage generator 205. In one embodiment, the PTAT voltage generator 205 comprises a plurality of SCMs 201-204 operating in moderate inversion. The SCMs 201-204 are appropriate for low power applications because they can be biased with a very small amount of current, i.e., in the range of 5 nA. Advantageously, the SCMs 201-204 do not include any resistors, and, therefore, they occupy less area than PTAT circuits that include resistors occupy. In one embodiment, the PTAT voltage generator 205 comprises four (4) SCMs 201-204. Each SCM 201-204 comprises a transistor M1 and a transistor M2 connected in a self-cascode MOSFET configuration. In the embodiment shown in
Similarly, SCMs 202-204 comprise transistors 221 and 222, transistors 231 and 232, and transistors 241 and 242, respectively, each pair of transistors connected in a self-cascode MOSFET configuration. For example, in SCM 202, the drain of transistor 222 is coupled to a PTAT current source 254. In the embodiments shown in
Each SCM 201-204 contributes with a PTAT voltage Vx1, Vx2, Vx3 and Vx4, respectively, at the drain of transistor 211, 221, 231 and 241, respectively. For example, Vx1 of SCM 201 is the drain-to-source voltage (VDS) of transistor 211. It can be shown that Vx1 is as follows:
where αi may be different for each SCM, and where:
where S2 and S1 are aspect ratios of transistors M1 and M2, respectively; M, N, P, Q and R are minor ratios; and β is the current gain of a bipolar transistor that provides a CTAT voltage.
It can be shown that Vx4 of SCM4204 is VDS of transistor 241 of SCM4 plus Vx3 plus Vx2 plus Vx1. The output Vy of the PTAT voltage generator 205 appears at a node 280. Therefore, the voltage generated by the PTAT voltage generator 205 at node 280 is:
V
y
=V
x1
+V
x2
+V
x3
+V
x4.
The bandgap voltage reference 200 includes a CTAT device 260 that provides the CTAT voltage. In one embodiment, the CTAT device 260 is a bipolar transistor. In one embodiment, the bipolar transistor is a PNP bipolar transistor and the CTAT voltage is its emitter-to-base voltage (VEB). The SCMs 201-204 compensate for variation with temperature of VEB of the CTAT device 260. The number of SCMs needed to compensate for variation of VEB with temperature depends on current density and process. To have a good trade-off between area and current consumption, the PTAT voltage generator 205 should comprise at least two SCMs. As the value of VEB increases, more SCMs may be needed. For example, when VEB=0.72V, as many as five (5) SCMs may be needed. On the other hand, when VEB=0.55V, as few as three (3) SCMs may be needed. For any given VEB, the output voltage VEB of the bandgap voltage reference 200 increases as the number of SCMs increases. In the embodiment shown in
The bandgap voltage reference 200 also includes current mirrors 253-257 that bias the cascade of SCMs 201-204 and the CTAT device 260. In the embodiments shown in
A simple voltage addition operation is obtained by coupling Vy, the voltage generated by the PTAT voltage generator 205, in series with VEB, the CTAT voltage of the CTAT device 260. In the embodiment shown in
In another embodiment, the CTAT device 260 comprises two bipolar transistors (not shown) connected in a Darlington configuration, and the output voltage Vout in such embodiment is approximately twice the bandgap voltage. In still another embodiment, the CTAT device 260 is a diode (not shown) with its anode terminal coupled to the output node 265 and its cathode terminal coupled to node 280. In one such embodiment where a diode is used instead of the bipolar transistor for the CTAT device 260, the bandgap voltage is approximately 1.285V and the voltage across the diode is approximately 0.64V, when the bandgap voltage reference 200 is fabricated using a 90 nm process. In yet another embodiment, the CTAT device 260 comprises two diodes (not shown) connected in series, and the output voltage Vout in such embodiment is approximately twice the bandgap voltage.
The bandgap voltage reference 200 includes means for trimming the output voltage Vout in response to a not-well-compensated behavior over temperature. The means for trimming includes a plurality of current mirrors and a trim controller 270. In the embodiment shown in
The SCMs 201-204 do not operate in strong inversion because if they did operate in strong inversion the area that each SCM occupies would be much larger, and the number of SCMs needed would be the same as if they were operating in moderate inversion; therefore, the area that such a PTAT voltage generator occupies would be disadvantageously larger. The SCMs 201-204 do not operate in weak inversion because if they did operate in weak inversion the PTAT voltage Vx1, Vx2, Vx3 and Vx4 that each SCM contributes would be much smaller and a greater number of SCMs would be needed than the number of SCMs needed if they were operating in moderate inversion. Furthermore, the slightly smaller area occupied by SCMs that operate in weak inversion would not offset the greater number of SCMs needed; therefore, the area that such a PTAT voltage generator occupies would be disadvantageously larger. Consequently, the SCMs 201-204 should operate in moderate inversion, rather than in strong inversion, to save area.
The PTAT voltage generator 205 generates an approximate output voltage:
Vy=χφt
However, because the embodiment shown in
V
y
=V
x1
+V
x2
+V
x3
+V
x4
Therefore, it is more accurate to say that the PTAT voltage generator 205 generates an output voltage of
V
y=χ1φt+φ2φt+χ3φt+χ4φt Equation (1)
In a bandgap voltage reference 200 that uses a BJT for the CTAT device 260 and that is fabricated with a 0.18 micron process, wherein Vout≈1.43V, VEB≈0.715V and Vy≈0.715V, and wherein it is assumed that x=28, the PTAT voltage generator 205 generates an output voltage of 28φt. However, in the embodiment shown in
V
y=28φt=7φt+7φt+7φt+7φt
because the current through transistor M1 of each SCM 201-204 is different.
However, because the SCMs 201-204 are identical, but have a decreasing amount of current through them from SCM1201 to SCM4204, it is expected that the value of χ should decrease from SCM1 to SCM4. Therefore, an educated guess may be made for the values of χi, χ2, χ3 and χ4, such that a rough estimate of Equation (1) is as follows:
V
y=28φt=8.0φt+7.5φt+6.5φt+6.0φt
However, more accurate values for χ1, χ2, χ3 and χ4 can be calculated as follows.
For each SCM 201-204, assuming zero trim current, the α parameter is given by:
Therefore, for M=N=P=Q=1, R=3, β=3, and S2/S1=8, the above four equations become:
Therefore, with φt=26 mV and if2=1 (for moderate inversion):
Then, from Equation (1), Vy is equal to:
Vy=716 mV.
Because, in SCM1201, transistor M2 is in the saturation region and transistor M1 is in the triode region:
ID2≈IF2=IS2if2=IsQS2if2=MIref
I
D1
=I
F1
−I
R1
=I
R1
=I
S1(if1−ir1)=ISQS1(if1−ir1)=(M+N+P+Q+R/β)Iref
Because VP1=VP2=Vp and VD1=VS2, then ir1=if2. Thus:
A general method of designing the bandgap voltage reference 200 comprises the following steps. Decide whether to use a BJT or a diode for the CTAT device 260. After selecting a BJT or a diode, and determining a current budget for the CTAT device 260, simulate the CTAT device 260 and apply a current to the bandgap voltage reference 200 that is near the budgeted current. Estimate the current density of the CTAT device 260. Assuming that a BJT was selected as the CTAT device 260, determine the variation of VEB per degree change of temperature. Estimate a value of the constant χ needed by the PTAT voltage generator 205 to compensate for the CTAT voltage of the CTAT device 260. The constant χ is a function of the aspect ratios of transistors M1 and M2 of the SCMs (assuming that each SCM is identical), the mirror ratios of the current mirrors, and β of the BJT.
Decide on the number of SCMs that are to be used in the PTAT voltage generator 205. A smaller number of SCMs means that the Vx of each SCM should be larger. A larger Vx for each SCM means that the mirror ratio of the current source coupled to each SCM should be increased and/or the α parameter should be increased. From the number of SCMs, estimate Vx1 to Vxn of the PTAT voltage generator 205 such that the sum of VEB of the CTAT device 260 and Vy of the PTAT voltage generator is approximately the bandgap voltage.
Next, plot the logarithm of the current through transistor M1 versus the gate-to-source voltage (VGS) of transistor M1 to determine the operating conditions under which transistor M1 would be in moderate to strong inversion. A transistor operates in weak inversion if the current varies linearly with VGS in the logarithm scale. Once the current attains a knee on the plot and does not vary linearly with VGS in the logarithm scale, a transistor operates in moderate inversion. For example, such a plot may show that a maximum aspect ratio (S=W/L) to be in moderate inversion is 0.1 for 20 nA. However, a maximum aspect ratio of 0.01 to 0.05 should be selected to have a sufficient design margin. Repeat this step for transistor M2. Now, S1 and S2 can be estimated.
Assuming that it has been decided that the number of SCMs is four (4); then, make educated guesses for initial values of the minor ratios of the current minors, and for the inversion factors and the aspect ratios of transistors M1 and M2; then, iteratively make changes thereto during simulation. More specifically, estimate a value for the parameter α, as follows. First, scale the size of transistor M1 versus transistor M2 of each SCM 201-204, i.e., decide on an aspect ratio S1 of transistor M1 and an aspect ratio S2 of transistor M2 that will place transistors M1 and M2 in moderate inversion, given a particular mirror current entering the SCM. By “size” it is meant maximum values of aspect ratios S1 and S2, below which values transistors M1 and M2 will be in moderate to strong inversion. Note that the ACM equations shown herein are valid for MOSFETs from weak to strong inversion. The values for channel width and channel length depend upon the process. It is easier to estimate the parameter α than the inversion factor because α depends on only the current minor ratios and the sizes of transistors M1 and M2. Whereas, the inversion factor depends on the drain current ID, the aspect ratio S and the sheet specific current ISQ.
Nevertheless, by using estimates of the above variables and by using the equations
estimates are obtained for the inversion factor if2 for transistor M1 and if2 for transistor M2.
The minor ratios M, N, P, Q and R are estimated based on the budgeted current. It is assumed that the budgeted current is less than 100 nA. From the estimated mirror ratios M, N, P, Q and R, and from S1, S2 and β, the parameter α for each SCM 201-204 can be determined. From α and the current through each SCM 201-204, the inversion factor can be determined. From a for each SCM 201-204 and the inversion factor, Vx1, Vx2, Vx3 and Vx4 for each SCM can be determined.
Next, an estimate for Vx1 of SCM1201 is determined as follows. Assume that a current of 5 nA is entering the drain of transistor M2 of SCM1201. (A current of 5 nA assumes that the minor ratio “a:1” of the current mirror coupled to SCM1 is 1:1, that is, a=M=1.) Further, assume that 20 nA enters the drain of transistor M2 of SCM1201. (This 20 nA value is a sum of the current entering the CTAT device 260 divided by (3 of the BJT, and the currents entering SCM2202, SCM3203 and SCM4204. Also, this 20 nA value assumes that there is no trim current.) The parameter α1 for SCM1 can now be determined. In a similar manner, the parameters α2, α3, and α4 for SCM2202, SCM3203 and SCM4204, respectively, are determined. From αi, α2, α3 and α4, initial values Vx1, Vx2, Vx3 and Vx4 are determined through simulation.
If it is found that Vx4 is less than VEB, the values for α1, α2, α3 and α4 are iteratively increased. The values for α1, α2, α3 and α4 can be increased by decreasing S1 alone, or by increasing S2 alone, but not by too much because then transistor M2 would be entering the weak inversion mode. The values for α1, α2, α3 and α4 can also be increased by both decreasing S1 and increasing S2. Alternatively, the values for α1, α2, α3 and α4 can be increased by increasing the current entering the drain of each SCM 201-204, but this is a less desirable adjustment because it increases power consumption. The current entering an SCM 201-204 affects the inversion factor. Therefore, Vx1, Vx2, Vx3 and Vx4 should be re-measured after each design iteration. Such iterations continue until a favorable trade-off between area and power consumption is found for the PTAT voltage generator 205. At the end of the design process, the operation regions of all transistors are checked to be sure each transistor is working as desired (moderate/strong inversion and saturation/triode region).
The embodiment of the bandgap voltage reference 200 shown in
The bandgap voltage reference 200 does not require an operational amplifier, any feedback, any array of resistors, or any array of bipolar devices. Advantageously, the bandgap voltage reference 200 may use just one bipolar device, such CTAT device 260.
The bandgap voltage reference 200 provides an accurate nanowatt-range voltage reference with the following features: bandgap-approach based; high accuracy (approximately ±2.5% untrimmed and approximately ±0.7% trimmed); accurately compensated over a wide temperature range (−40° C. to 130° C.); supply voltage (VDD) tracking below minimum operation voltage (approximately 1.5V); area-effective (resistor-less approach); standard CMOS process compatible; and robust architecture (to support fab-to-fab transference and low spread over process).
A bandgap voltage reference unit comprises the PTAT current source 100 and the bandgap voltage reference 200. The bandgap voltage reference unit has low power consumption (65 nA typical), which is the power consumption of the PTAT current source 100 plus the power consumption of the bandgap voltage reference 200. The bandgap voltage reference unit implements an area-effective, low-power, voltage reference for analog circuits such as regulators, analog-to-digital converters, comparators and oscillators for microcontrollers (MCUs) applications.
Although the invention has been described with respect to specific conductivity types or polarity of potentials, skilled artisans appreciated that conductivity types and polarities of potentials may be reversed.
It should be understood that all circuitry described herein may be implemented in hardware, in software or in firmware, or in any combination of the three. It should be understood that all circuitry described herein may be implemented entirely in silicon or another semiconductor material. Alternatively, all circuitry described herein may be implemented, in part, in silicon or another semiconductor material, and, in part, by software code representation of silicon or another semiconductor material.
The specification and figures are to be regarded in an illustrative rather than a restrictive sense, and all such modifications are intended to be included within the scope of the present invention. Any benefits, advantages or solutions to problems described herein with regard to specific embodiments are not intended to be construed as a critical, required or essential feature or element of any or all the claims. Unless stated otherwise, terms such as “first” and “second” are used to arbitrarily distinguish between the elements such terms describe. Thus, these terms are not necessarily intended to indicate temporal or other prioritization of such elements. Note that the term “couple” has been used to denote that one or more additional elements may be interposed between two elements that are coupled.
Although the invention is described herein with reference to specific embodiments, various modifications and changes can be made without departing from the scope of the present invention as set forth in the claims below.