A fractional bandgap is a circuit that generates a poly reference current that is nearly constant with temperature and a constant reference voltage that doesn't change much with temperature and supply voltage variations. There are many families of bandgap reference (BGR) circuits, such as Brokaw BGR, sub-bandgap BGR, and all-MOSFET BGR. The main advantage of a fractional BGR is its ability to generate multiple values of reference voltages and reference currents with poly or constant behavior across temperatures. Other types either generate one constant value of 1.2V reference voltage or generate PTAT/CTAT reference current. The main challenge of BGR is accuracy, power, and area consumption tradeoff.
The current mirrors (115) mirror the overall summation of the PTAT and CTAT currents, generated through the BG core (105), to produce a poly current that is inversely proportional to the core resistor resistance. The current mirrors (115) are comprised of PMOS devices, among which M1 (160) and M2 (165) are the main core mirrors with the same size, while the device (M3, 170) mirrors the same current flowing through M1 (160) and M2 (165) or a ratio thereof, depending on the mirror's size ratio, to generate a specific poly reference current (Ipoly) inversely proportional to the core resistor resistance (Rcore), wherein: Ipoly≈V/Rcore. Dumping this current in the poly resistor (R3, 120) provides a constant voltage reference (Vref, 180), which is independent of the resistor variation for the case of matching the poly resistor with the core resistor, where: Vref≈V*Rpoly/Rcore. This architecture has the advantage of having a high accuracy due to the high loop gain. The main disadvantages of this technique are the high power and the large area consumption due to the high gain error amplifier with its biasing circuit.
This current flows through the poly resistor (R3, 420) providing a constant voltage reference (Vref, 480), which is independent of the resistor variation for the case of matching the poly resistor with the core resistor, wherein:
This architecture has the advantages of having low power and area consumption due to not having an error amplifier or its biasing circuit, which avoids their current and area consumption. The main disadvantage of this technique is the poor accuracy of the generated reference voltage and current because the mirroring is set by the NMOS mirrors, which is affected by their mismatch.
While these prior art designs for fractional bandgaps each have certain advantages, they also have disadvantages. Therefore, there is still a need for better designs.
In one aspect, embodiments of the invention relate to a system architecture that includes one Bandgap circuit with 2 modes of operation. The bandgap circuit architecture can be any topology such as a traditional bandgap circuit or a fractional bandgap circuit. A bandgap circuit of the invention can generate poly current and voltage references with small variations across the process, supply, and temperature (PVT) corners. A bandgap of the invention shares a startup circuit, a BG core that includes 2 BJTs and PTAT/CTAT resistors, a PMOS current mirror (i.e., a current mirror with PMOS devices), and a poly reference resistor. In addition, bandgap circuit has an error amplifier and a NMOS current mirror (i.e., a current mirror with NMOS devices) for operating in the high-power and low-power modes, respectively. A set of switches are used to control the operations of the two modes. The circuit has one bit to control enabling the error amplifier and isolating the NMOS mirrors to work in the high-power, high-accuracy mode or disabling the error amplifier and connecting the NMOS mirrors to work in the low-power, low-accuracy mode. Having a BG core, a startup circuit, a poly reference resistor, and PMOS mirrors shared between the two modes reduces the power and the area consumption (as compared to the case of duplicating the startup, the BG core, the poly reference resistor, and the PMOS mirrors) by avoiding additional area and power for the case of designing two bandgaps with different accuracy and power specifications. Thus, sharing the sub-cells to achieve two modes with different specifications using switches saves power and area and improves the system efficiency.
In one aspect, an embodiment of the invention relates to a bandgap apparatus that comprises an error amplifier, a bandgap core comprising 2 bipolar junction transistors (BJTs) and core resistors, a poly resistor for reference voltage generation, an NMOS current mirror comprising 2 NMOS devices, a PMOS current mirror comprising PMOS devices, and 4 switches for controlling operation in a first mode (high-power mode) or a second mode (low-power mode), wherein the error amplifier is switched on and the NMOS current mirror is switched off in the first mode, or the error amplifier is switched off and the NMOS current mirror is switched on in the second mode.
In another aspect of the invention relates to a method for reference voltage generation using the bandgap apparatus of the invention. The method comprises the steps of: controlling the 4 switches to operate the bandgap apparatus in the first mode or the second mode, wherein the error amplifier is switched on and the NMOS current mirror is switched off in the first mode, or the error amplifier is switched off and the NMOS current mirror is switched on in the second mode; if the bandgap apparatus operates in the first mode, setting two inputs of the error amplifier to be the same across corners to generate a reference voltage with high-accuracy across corners; if the bandgap apparatus operates in the second mode, setting currents flowing through the 2 NMOS devices of the NMOS current mirror to be the same; generating a first current with the bandgap core, using the 2 BJTs and core resistors in the bandgap core to control the first current to be a PTAT current, a CTAT current, and providing a poly current to the PMOS current mirror; scaling the poly current flowing through the PMOS current mirror to be used as a poly reference current; and generating the reference voltage at the poly resistor using the poly reference current.
Other aspects of the invention will become apparent with the following description and the accompanying drawings.
The appended drawings illustrate several embodiments of the invention and are not to be considered limiting of its scope because the invention may admit to other equally effective embodiments.
Aspects of the present disclosure are shown in the above-identified drawings and are described below. In the description, like or identical reference numerals are used to identify common or similar elements. The drawings are not necessarily to scale and certain features may be shown exaggerated in scale or in schematic in the interest of clarity and conciseness.
Most systems containing a bandgap require an accurate reference voltage and accurate bias current for other blocks; however, these systems may also require low power consumption in some modes, such as powering-up or sleep modes. Conventionally, such systems may require two bandgaps for different modes: a high-accuracy bandgap for accurate current and voltage generation for the normal high-power operation and a low-power bandgap with lower accuracy for the powering-up or sleep modes. Embodiments of the invention relate to system architectures that include one bandgap circuit with 2 modes of operation—i.e., a high-power, high-accuracy mode and a low-power, low-accuracy mode.
The error amplifier (710) is a high-gain amplifier, which may be a 5T-OTA (operational transconductance amplifier), a 2-stage error amplifier, a folded cascade error amplifier, or any other topology that guarantees a high loop gain specification.
The BG core (705) mainly includes 3 resistors and 2 bipolar junction transistors (BJTs). One of the resistors (R1, 725) has a CTAT current and the other two resistors (R2B, 730) and (R2A, 735) have PTAT currents flowing through them. The core BJTs can be NPN or PNP based on the bandgap architecture. The 2 BJTs have a gain ratio of 1×(Q2, 745) to 8×(Q1, 740) or any ratio greater than 1:1, such as 1:4, 1:8, 1:24, etc., based on the matching requirements. The BG core resistors and the reference resistor can be any resistor type, such as poly resistors or metal resistors or any other type. In preferred embodiments, the resistors are the types having lower temperature coefficients such that they have better current and voltage accuracy across temperatures.
The switches (781, 782, 783, and 784) control the operation and the working modes by having either the high-power mode switches ON and the low-power mode switches OFF or the high-power mode switches OFF and the low-power mode switches ON. Using these switches allows the bandgap to operate in two modes without requiring duplicate core circuit, startup circuit, mirrors, or poly resistor. The switches may be any suitable transistor switches, such as bipolar junction transistor switches or MOS (e.g., MOSFET) transistor switches.
In the high-power, high-accuracy mode, the switches (784), (781), (782) are short circuit (ON), while the switch (783) is open circuit (OFF). This connects the error amplifier (710) output to the PMOS mirrors (715) gate and shorts the NMOS mirrors (790) to bypass them and to neglect their effects. This high-power, high-accuracy mode provides the same architecture and operation as those of the high-power, high-accuracy bandgap (100) shown in
Dumping this current in the poly resistor (R3, 720) provides a constant voltage reference (Vref, 780) which is independent of the resistor variation when the poly resistor matches the core resistor, where:
This architecture has the advantage of having high accuracy due to the high loop gain of the error amplifier loop. The main disadvantage is the high power consumption due to the need for the error amplifier and its biasing circuit.
In the low-power, low-accuracy mode, the switches (784), (781), (782) are open circuit (OFF), while the switch (783) is short circuit (ON). This low-power, low-accuracy mode isolates the error amplifier (710) output from the PMOS mirrors (715) gate and connects the NMOS mirrors (790) and the gate-drain connection of the device (M1, 760) to be the main PMOS diode connected mirror. This provides the same architecture and operation as those of the low-power low-accuracy bandgap (400) shown in
This current flows through the poly resistor (R3, 720) providing a constant voltage reference (Vref, 780) that is independent of the resistor variation in case of matching the poly resistor with the core resistor, where:
This architecture has the advantages of having low power consumption due to turning off both the error amplifier and its biasing circuit, which avoids their current consumption. The main disadvantage of this technique is the poor accuracy of the generated reference voltage and current because the mirroring is set by the NMOS mirrors, which are affected by their mismatch.
The main advantages of the novel techniques of the invention include having two different bandgap circuits with different power/accuracy requirements using only one shared core resistors, one core BJTs, one group of PMOS mirrors, and one shared poly reference resistance, and using adaptive switches to enable either the high-power high-accuracy bandgap or the low-power low-accuracy bandgap. Having most of the sub-blocks shared between the two operation modes significantly decreases the power and the area consumption (by 50% of these cells consumption), as compared to using two bandgaps for the two modes with two startup, core, mirrors, and poly resistor cells.
While the example of
The switches control the operation and the working modes by having either the high-power mode switches ON and the low-power mode switches OFF or the high-power mode switches OFF and the low-power mode switches ON, without requiring additional core circuit, startup circuit, mirrors or reference resistor. In the high-power high-accuracy mode, the switches (1184), (1181), (1182) are short circuit (ON) while the switch (1183) is open circuit (OFF). This connects the error amplifier (1110) output to the PMOS mirrors (1115) gate and shorts the NMOS mirrors (1190) to neglect their effect. This provides the same architecture and operation of a high-accuracy traditional bandgap with an error amplifier.
In the low-power low-accuracy mode, the switches (1184), (1181), (1182) are open circuit (OFF) while the switch (1183) is short circuit (ON). This isolates the error amplifier output from the PMOS mirrors (1115) gate and connects the NMOS mirrors (1190) and the gate-drain connection of the device (1160) to be the main PMOS diode connected mirror. This decreases the power consumed in the error amplifier and its biasing circuit and generates the current through the reference resistor through the NMOS mirrors (1190) to generate the reference voltage Vref (1180). The accuracy is lower in this mode as the current mirroring is affected by the mismatch between the NMOS mirrors and the PMOS mirrors.
Advantages of embodiments of the invention include having two different bandgap circuits with different power/accuracy requirements using only one shared core resistors, one core BJTs, one group of PMOS mirrors, and one shared reference resistance Using adaptive switches to control enabling either the high-accuracy or the low-power bandgap. Having most of the sub-blocks shared decreases the power and the area consumption much (by 50% of these cells consumption) compared to using two bandgaps for the two modes with two startup, core, mirrors, and poly resistor cells. This is applied to the fractional bandgap (700) and the traditional bandgap (1100) and can be applicable to other topologies.
Embodiments of the invention have been illustrated with specific examples. One skilled in the art would appreciate that these examples are for illustration and are not intended to limit the scope of the invention because other modifications and variations are possible without departing from the scope of the invention. Therefore, the scope of protection should be limited only by the attached claims.