1. Field
Aspects of the present disclosure relate generally to methods for generating a reference voltage and/or current, and more particularly, to a power and area efficient method for generating a reference voltage and/or current.
2. Background
Proportional to absolute temperature (PTAT) voltages and/or currents may be used in integrated circuits for various applications. For example, a PTAT voltage or current may be used to bias an amplifier to compensate for performance variation of the amplifier due to temperature. In another example, a PTAT current or voltage may be used in a temperature sensor to sense temperature in an integrated circuit.
The following presents a simplified summary of one or more embodiments in order to provide a basic understanding of such embodiments. This summary is not an extensive overview of all contemplated embodiments, and is intended to neither identify key or critical elements of all embodiments nor delineate the scope of any or all embodiments. Its sole purpose is to present some concepts of one or more embodiments in a simplified form as a prelude to the more detailed description that is presented later.
According to an aspect, a combined band-gap and proportional to absolute temperature (PTAT) circuit is provided herein. The combined circuit comprises a first bipolar junction transistor (BJT), and a feedback circuit configured to force a first voltage at a first node to be approximately equal to an emitter-base voltage of the first BJT, and to force a second voltage at a second node to be approximately equal to the emitter-base voltage of the first BJT. The combined circuit further comprises a first circuit coupled to the first node, wherein the first circuit is configured to generate a current that is approximately independent of temperature over a temperature range, and a second circuit coupled to the second node, wherein the second circuit is configured to generate a PTAT current.
A second aspect relates to a method for generating a reference. The method comprises generating a current that is approximately temperature independent over a temperature range based on an emitter-base voltage of a first bipolar junction transistor (BJT), and generating a first proportional to absolute temperature (PTAT) current based on the emitter-base voltage of the first BJT.
A third aspect relates to an apparatus for generating a reference. The apparatus comprises means for generating a current that is approximately temperature independent over a temperature range based on an emitter-base voltage of a first bipolar junction transistor (BJT), and means for generating a first proportional to absolute temperature (PTAT) current based on the emitter-base voltage of the first BJT.
To the accomplishment of the foregoing and related ends, the one or more embodiments comprise the features hereinafter fully described and particularly pointed out in the claims. The following description and the annexed drawings set forth in detail certain illustrative aspects of the one or more embodiments. These aspects are indicative, however, of but a few of the various ways in which the principles of various embodiments may be employed and the described embodiments are intended to include all such aspects and their equivalents.
The detailed description set forth below, in connection with the appended drawings, is intended as a description of various configurations and is not intended to represent the only configurations in which the concepts described herein may be practiced. The detailed description includes specific details for the purpose of providing a thorough understanding of the various concepts. However, it will be apparent to those skilled in the art that these concepts may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring such concepts.
Proportional to absolute temperature (PTAT) voltages and/or currents may be used in integrated circuits for various applications. For example, a PTAT current may be used to bias an operational transconductance amplifier (OTA) to reduce variation in the transconductance of the OTA over temperature. The PTAT current does this by varying proportionately over temperature to compensate for changes in the carrier mobility of transistors in the OTA over temperature. In another example, a PTAT current or voltage may be used in a temperature sensor to sense temperature in an integrated circuit.
The PTAT circuit 110 also comprises an operational amplifier 120, a resistor R1, and a cascode current mirror 130. The emitter of the second transistor Q2 is coupled to the inverting input (−) of the operational amplifier 120 at node 127. The resistor R1 is coupled between the emitter of the first transistor Q1 and the non-inverting input (+) of the operational amplifier 120 at node 122.
The cascode current mirror 130 comprises p-type metal-oxide-semiconductor (PMOS) transistors 142, 144, 146, 152, 154 and 156. The source of each of PMOS transistors 142, 144 and 146 is coupled to an upper power-supply rail, and the gate of each of PMOS transistors 142, 144 and 146 is biased by the output of the operational amplifier 120. The source of each of PMOS transistors 152, 154 and 156 is coupled to the drain of a respective one of PMOS transistors 142, 144 and 146, as shown in
In operation, PMOS transistors 142, 144, 152 and 154 provide feedback paths between the output of the operational amplifier 120 and the inputs of the operational amplifier 120. The feedback paths cause the operational amplifier 120 to adjust its output voltage (which biases the gates of PMOS transistors 142 and 144) in a direction that reduces the difference between the voltages at its inputs. As a result, the operational amplifier 120 forces the voltages at its inputs (and hence the voltages at nodes 122 and 127) to be approximately equal.
Since the voltage at node 127 is approximately equal to the base-emitter voltage Vbe2 of the second transistor Q2, the operational amplifier 120 forces the voltage at node 122 to be approximately equal to Vbe2. As a result, the voltage across the resistor R1 is equal to the difference between the base-emitter voltage Vbe2 of the second transistor Q2 and the base-emitter voltage Vbe1 of the first transistor Q1 (denoted “ΔVbe2,1”). The voltage difference ΔVbe2,1 is given by:
ΔVbe2,1=Vt·ln(K) (1)
where Vt is the thermal voltage, and K is the emitter-area ratio between the first and second transistors Q1 and Q2. The thermal voltage Vt is proportional to absolute temperature, and approximately equal to 25 mV at room temperature (300 K). Thus, the voltage difference ΔVbe2,1 is also proportional to absolute temperature. The current through the resistor R1 is equal to:
I
R1
=ΔVbe
2,1
/R
1 (2)
where R1 in equation (2) is the resistance of the resistor R1. Since the voltage difference ΔVbe2,1 is proportional to absolute temperature, the current IR1 flowing through the resistor R1 is also proportional to absolute temperature. This current flows through current branch 160, as shown in
The current mirror 130 mirrors the current IR1 in current branch 160 to current branch 165. The mirrored current in current branch 165 may be approximately equal to the current IR1 in current branch 160 multiplied by a scaling factor, where the scaling factor may be approximately equal to a ratio of the channel width of PMOS transistor 146 over the channel width of PMOS transistor 142. Since the current IR1 flowing through the resistor R1 is proportional to absolute temperature, the mirrored current in current branch 165 is also proportional to absolute temperature. In
Band-gap circuits are commonly used in integrated circuits to provide temperature-independent reference voltages and/or currents. For example, a band-gap circuit may be used to provide a bias voltage or current to an amplifier, an oscillator, or other type of analog circuit, in which the bias voltage or current is approximately constant over a desired temperature range.
The band-gap circuit 210 also comprises an operational amplifier 220, a cascode current mirror 230, and resistors R1, R2 and R3. The emitter of the second transistor Q2 is coupled to the inverting input (−) of the operational amplifier 220 at node 227. Resistor R1 is coupled between the emitter of the first transistor Q1 and the non-inverting input of the operational amplifier 220 at node 222. Resistor R2 is coupled between node 222 and ground, and resistor R3 is coupled between node 227 and ground. Resistors R2 and R3 may have equal resistances. As shown in
The cascode current mirror 230 comprises PMOS transistors 242, 244, 246, 252, 254 and 256. The source of each of PMOS transistors 242, 244 and 246 is coupled to an upper power-supply rail, and the gate of each of PMOS transistors 242, 244 and 246 is biased by the output of the operational amplifier 220. The source of each of PMOS transistors 252, 254 and 256 is coupled to the drain of a respective one of PMOS transistors 242, 244 and 246, as shown in
In operation, PMOS transistors 242, 244, 252 and 254 provide feedback paths between the output of the operational amplifier 220 and the inputs of the operational amplifier 220. The feedback paths cause the operational amplifier 220 to adjust its output voltage (which biases the gates of PMOS transistors 242 and 244) in a direction that reduces the difference between the voltages at its inputs. As a result, the operational amplifier 220 forces the voltages at its inputs (and hence the voltages at nodes 222 and 227) to be approximately equal.
Since the voltage at node 227 is approximately equal to the base-emitter voltage Vbe2 of the second transistor Q2, the operational amplifier 220 forces the voltage at node 222 to be approximately equal to Vbe2. As a result, the voltage across each of resistors R2 and R3 is approximately equal to the base-emitter voltage Vbe2 of the second transistor Q2. The base-emitter voltage Vbe2 is approximately inversely proportional to absolute temperature. As a result, the current flowing through resistor R2 (denoted “IR2”) is a complementary to absolute temperature (CTAT) current (i.e., a current that is inversely proportional to absolute temperature). The voltage across resistor R1 is equal to the difference between the base-emitter voltage Vbe2 of the second transistor Q2 and the base-emitter voltage Vbe1 of the first transistor Q1 (denoted “ΔVbe2,1”). As discussed above, the voltage difference ΔVbe2,1 across resistor R1 is proportional to absolute temperature, causing a PTAT current to flow through resistor R1 (denoted “IR1”).
The CTAT current IR2 flowing through resistor R2 and the PTAT current IR1 flowing through resistor R1 change in opposite directions over temperature. The total current flowing into node 222 (denoted “Itotal”) is approximately equal to the sum of the CTAT current IR2 and the PTAT current IR1. The resistances of resistors R1 and R2 can be selected such that changes in the CTAT current IR2 over temperature approximately cancel out changes in the PTAT current IR1 over temperature. As a result, the total current Itotal (which is the sum of the CTAT current IR2 and the PTAT current IR1) may be approximately temperature independent (i.e., approximately constant) over a temperature range.
The current mirror 230 mirrors the total current Itotal to current branch 265. Since the total current Itotal is approximately temperature independent, the mirrored current in current branch 265 (denoted “Ibg”) is also approximately temperature independent. The current Ibg flows through a resistor R in current branch 265, producing a voltage across the resistor R that is approximately temperature independent. This voltage provides the band-gap voltage Vbg, discussed above. In one example, the resistor R may have an adjustable (tunable) resistance, as shown in
An integrated circuit may include both PTAT circuits and band-gap circuits. Therefore, it may be desirable to combine a PTAT circuit and a band-gap circuit to reduce the number of components in the integrated circuit by allowing the PTAT circuit and band-gap circuit to share components.
In the example in
The band-gap circuit 312 also comprises a first operational amplifier 220, a first cascode current mirror 230, and resistors R1, R2 and R3. The emitter of the second transistor Q2 is coupled to the inverting input (−) of the first operational amplifier 220 at node 227. Resistor R1 is coupled between the emitter of the first transistor Q1 and the non-inverting input (+) of the first operational amplifier 220 at node 222. Resistor R2 is coupled between node 222 and ground, and resistor R3 is coupled between node 227 and ground. Resistors R2 and R3 may have equal resistances.
The first cascode current mirror 230 comprises PMOS transistors 242, 244, 252 and 254. The source of each of PMOS transistors 242 and 244 is coupled to an upper power-supply rail, and the gate of each of PMOS transistors 242 and 244 is biased by the output of the first operational amplifier 220 (denoted “pb_bg”). The source of each of PMOS transistors 252 and 254 is coupled to the drain of a respective one of the PMOS transistors 242 and 244, as shown in
In operation, PMOS transistors 242, 244, 252 and 254 provide feedback paths between the output of the first operational amplifier 220 and the inputs of the first operational amplifier 220. The feedback paths cause the first operational amplifier 220 to adjust its output voltage (which biases the gates of PMOS transistors 242 and 244) in a direction that reduces the difference between the voltages at its inputs. As a result, the first operational amplifier 220 forces the voltages at its inputs (and hence the voltages at nodes 222 and 227) to be approximately equal.
Since the voltage at node 227 is approximately equal to the base-emitter voltage Vbe2 of the second transistor Q2, the operational amplifier 220 forces the voltage at node 222 to be approximately equal to Vbe2. As a result, the voltage across each of resistors R2 and R3 is approximately equal to the base-emitter voltage Vbe2 of the second transistor Q2. As discussed above, this causes a CTAT current IR2 to flow through resistor R2. The voltage across resistor R1 is equal to the difference between the base-emitter voltage Vbe2 of the second transistor Q2 and the base-emitter voltage Vbe1 of the first transistor Q1 (denoted “ΔVbe2,1”). As discussed above, this causes a PTAT current IR1 to flow through resistor R1.
The resistances of resistors R1 and R2 can be selected such that changes in the CTAT current IR2 over temperature approximately cancel out changes in the PTAT current IR1 over temperature. This results in a total current Itotal (which is the sum of the CTAT current IR2 and the PTAT current IR1) that is approximately temperature independent (i.e., approximately constant) over a temperature range.
The current mirror 230 may include additional transistors (not shown in
The PTAT circuit 315 comprises a third bipolar-junction transistor Q3, in which the base and collector of the third transistor Q3 are coupled together. In the example in
The second cascode current mirror 330 comprises PMOS transistors 342, 344, 352 and 354. The source of each of PMOS transistors 342 and 344 is coupled to an upper power-supply rail, and the gate of each of PMOS transistors 342 and 344 is biased by the output of the second operational amplifier 320 (denoted “pb_ptat”). The source of each of PMOS transistors 352 and 354 is coupled to the drain of a respective one of the PMOS transistors 342 and 344, as shown in
In operation, PMOS transistors 342 and 352 provide a negative feedback path between the output of the second operational amplifier 320 and the inverting input the of the second operational amplifier 320. The negative feedback cause the second operational amplifier 220 to adjust its output voltage (which biases the gate of PMOS transistor 342) in a direction that reduces the difference between the voltages at its inputs. As a result, the second operational amplifier 320 forces the voltage at node 325 to be approximately equal to the voltage at node 227 of the band-gap circuit 312.
Since the voltage at node 227 is approximately equal to the base-emitter voltage Vbe2 of the second transistor Q2, the second operational amplifier 320 forces the voltage at node 325 to be approximately equal to Vbe2. As a result, the voltage across resistor R4 in the PTAT circuit 315 is equal to the difference between the base-emitter voltage Vbe2 of the second transistor Q2 and the base-emitter voltage Vbe3 of the third transistor Q3 (denoted “ΔVbe2,3”). The voltage difference ΔVbe2,3 may be given by:
ΔVbe2,3=Vt·ln(M) (3)
where Vt is the thermal voltage, and M is the emitter-area ratio between the third and second transistors Q3 and Q2. As discussed above, the thermal voltage Vt is proportional to absolute temperature. Thus, the voltage difference ΔVbe2,3 is also proportional to absolute temperature. The current flowing through resistor R4 is equal to:
I
R4
=ΔVbe
2,3
/R
4 (4)
where R4 in equation (4) is the resistance of resistor R4. Since the voltage difference ΔVbe2,3 is proportional to absolute temperature, the current IR4 flowing through resistor R4 is also proportional to absolute temperature.
The second current mirror 330 mirrors this current IR4 to current branch 365, resulting in a PTAT current (denoted “Iptat”) flowing through current branch 365. The PTAT current Iptat may be approximately equal to current IR4 multiplied by a scaling factor, where the scaling factor may be approximately equal to a ratio of the channel width of PMOS transistor 344 over the channel width of PMOS transistor 342. The current Iptat flows through a resistor R in current branch 365, producing a voltage across the resistor R that is proportional to absolute temperature. This voltage provides the PTAT voltage Vptat, discussed above. In one example, the resistor R may have an adjustable (tunable) resistance, as shown in
In the example in
In one embodiment, the PTAT current IR4 in the PTAT circuit 315 may be reduced to reduce the power consumption and area of the PTAT circuit 315. For example, the PTAT current IR4 in the PTAT circuit 315 may be made smaller than the PTAT current IR1 in the band-gap circuit 312 by a factor of N. In other words, the PTAT current IR4 in the PTAT circuit 315 may be related to the PTAT current IR1 in the band-gap circuit 312 by the following:
I
R4
=I
R1
/N (5)
where N may be greater than one. This may be accomplished, for example, by scaling the resistance of resistor R4 relative to the resistance of resistor R1 as follows:
where R1 in equation (6) is the resistance of resistor R1, R4 in equation (6) is the resistance of resistor R4, M is the emitter-area ratio between the third and second transistors Q3 and Q2, and K is the emitter-area ratio between the first and second transistors Q1 and Q2. The emitter-area ratio M may be scaled down to reduce the area of the third transistor Q3. This also reduces the resistance (and hence the area) of resistor R4 for a given N and K, as shown in equation (6). Thus, the size of the third transistor Q3 and/or size of resistor R4 may be scaled to achieve good power and/or area efficiency.
The resistors R, R1, R2, R3 and R4 may be integrated on a chip using, for example, polysilicon resistors, metal resistors, etc. In this example, the resistances of the resistors vary from chip to chip due to process variation. However, sensitivity of the reference voltage Vref to process variation in resistance is reduced. This is because the reference voltage Vref is proportional to a ratio of the resistance of resistor R over the resistance of resistor R4. As a result, process variation in the resistance of resistor R tends to cancel out process variation in the resistance of resistor R4. This assumes that resistors R and R4 are integrated on the same chip, and are therefore subject to approximately the same process conditions.
In operation, the first current mirror 230 and the current generation circuit 415 mirror the temperature-independent current Itotal of the band-gap circuit 312 to current branch 465, resulting in a temperature-independent current (denoted “Ibg”) flowing through branch 465. In this respect, the first current mirror 230 and the current generation circuit 415 may collectively be considered a current mirror. The temperature-independent current Ibg may be approximately equal to current Itotal multiplied by a scaling factor, where the scaling factor may be approximately equal to a ratio of the channel width of PMOS transistor 446 over the channel width of PMOS transistor 242. The temperature-independent current Ibg may be combined (summed) with PTAT current Iptat at node 470, and the resulting combined current (denoted “Ic”) may flow through resistor R to produce a reference voltage (denoted “Vref”).
The combined current Ic has a component that is approximately proportional to absolute temperature (i.e., Iptat) and a component that is approximately temperature independent over a temperature range (i.e., Ibg). As a result, the reference voltage Vref also has a component that is approximately proportional to absolute temperature (i.e., Iptat·R) and a component that is approximately temperature independent over a temperature range (i.e., Ibg·R). The component that is proportional to absolute temperature causes the reference voltage Vref to change approximately linearly with temperature. The slope of the change may be adjusted, for example, by adjusting the resistance of resistor R and/or the channel width of PMOS transistor 344 relative to the channel width of PMOS transistor 342. The component that is approximately temperature independent provides a voltage offset to the reference voltage Vref. The voltage offset may be adjusted, for example, by adjusting the resistance of resistor R and/or the channel width of PMOS transistor 446 relative to the channel width of PMOS transistor 242.
Thus, one or both components of the reference voltage Vref may be adjusted so that the reference voltage Vref has a desired linear relationship with temperature. For example, the reference voltage Vref may be used to bias an amplifier to compensate for performance variation of the amplifier due to temperature. In this example, a voltage bias may be determined as a function of temperature, in which the voltage bias compensates for changes in performance of the amplifier due to temperature. After the function is determined, one or both components of the reference voltage Vref may be adjusted to provide a voltage bias that approximates the determined function over a temperature range of interest.
The switched-capacitor resistor 530 may comprise one or more capacitors and a plurality of switches that are switched by complementary clock signals. In this regard,
where Rsc is the equivalent resistance of the switched-capacitor resistor 530, f is the frequency of the complementary clock signals, and C is the capacitance of the capacitor 630. It is to be appreciated that the switched-capacitor resistor 530 is not limited to the exemplary implementation shown in
Referring back to
In operation, the operational amplifier 515 adjusts the gate voltage of PMOS transistor 520 in a direction that reduces the difference between the voltage at node 525 (which is fed back to the first input of the operational amplifier 515) and the reference voltage Vref (which is input to the second input of the operation amplifier 515). Thus, the operational amplifier 515 forces the voltage at node 525 to be approximately equal to the reference voltage Vref, and therefore maintains a voltage at node 525 that is approximately equal to the reference voltage Vref.
The regulated voltage at node 525 (which is approximately equal to the reference voltage Vref) is applied across the switched-capacitor resistor 530. This produces a current Isc approximately equal to:
Isc=Vref/Rsc (8)
where Rsc is the equivalent resistance of the switched-capacitor resistor 530. The current Isc has a component that is proportional to absolute temperature. This is because the reference voltage Vref has a component that is proportional to absolute temperature, as discussed above. Therefore, the current Isc may be used to provide a bias current to an amplifier that changes proportionality with temperature to compensate for changes in performance of the amplifier due to temperature.
The current Isc tracks process variation in capacitance. This is because the equivalent resistance of the switched-capacitor resistor 530 is a function of the capacitance of one or more capacitors in the switched-capacitor resistor 530, and is therefore sensitive to process variation in capacitance. An application for tracking process variation in capacitance will now be described with reference
The OTA 710 may be configured to convert a differential voltage at inputs 720 and 725 into a current at output 715, where the output current is approximately equal to the differential voltage times the transconductance of the OTA 710. In this example, the reference voltage Vref may be adjusted as discussed above so that the bias current Ibias compensates for changes in carrier mobility of transistors in the OTA 710 over temperature. This reduces variation in the transconductance of the OTA 710 over temperature, which reduces power consumption compared to using a constant bias.
In this example, the OTA 710 may drive a load capacitor (not shown) that is integrated on the same chip as the capacitor 630 of the switched-capacitor resistor 530. Since the load capacitor and the capacitor 630 of the switched-capacitor resistor 530 are integrated on the same chip, they are subject to approximately the same process conditions. As a result, the current Isc (which is a function of the capacitance of the capacitor in the switched-capacitor resistor 530) tracks process variation in the capacitance of the load capacitor. The current Isc is mirrored by current mirror 705 to provide the bias current Ibias for the OTA 710. Thus, the bias current Ibias also tracks process variation in the capacitance of the load capacitor, and therefore reduces the effect of the process variation in capacitance on the performance of the OTA 710.
It is to be appreciated that embodiments of the present disclosure are not limited to the exemplary implementations shown in the figures. For example, it is to be appreciated that the band-gap current generation circuit 415 in
In step 810, a current that is approximately temperature independent over a temperature range is generated based an emitter-base voltage of a first bipolar junction transistor (BJT). For example, the temperature-independent current may be generated by applying a first voltage difference across a first resistor (e.g., R1) to generate a PTAT current (e.g., IR1), wherein the first voltage difference is a difference between the emitter-base voltage of the first BJT (e.g., transistor Q2) and an emitter-base voltage of a second BJT (e.g., transistor Q1), and applying the emitter-base voltage of the first BJT across a second resistor (e.g., R2) to generate a complementary to absolute temperature (CTAT) current (e.g., IR2). In this example, changes in the CTAT current over the temperature range approximately cancels out changes in the PTAT current over the temperature range so that the sum of the CTAT and PTAT current produces the temperature-independent current.
In step 820, a first proportional to absolute temperature (PTAT) current is generated based on the emitter-base voltage of the first BJT. For example, the first PTAT current may be generated by applying a second voltage difference across a third resistor (e.g., R4) to generate the first PTAT current, wherein the second voltage difference is a difference between the emitter-base voltage of the first BJT (e.g., transistor Q2) and an emitter-base voltage of a third BJT (e.g., transistor Q3).
The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.