The invention relates to voltage reference circuits, specifically to first order temperature compensated bandgap reference circuits.
Many analog and digital circuits rely on an internal reference voltage to produce and reproduce accurate signals. For example, the conversion accuracy of signals from analog to digital and digital to analog, in precision analog to digital converters (ADCs) and digital to analog converters (DACs), directly depends on the accuracy of the internal reference voltage. To be effective, the internal reference voltage must remain unchanged even with variations in temperature, supply voltage, or other conditions or variations associated with the circuit.
One way to obtain a reference voltage is to use the bandgap energy characteristics of a semiconductor. Bandgap energy is the energy difference between the bottom of the conduction band and the top of the valance band of a semiconductor. Though varying with temperature, the bandgap energy is a physical constant when extrapolated to a temperature of zero Kelvin (absolute zero). Consequently, basing a reference voltage on the bandgap energy can provide a consistent reference voltage (Vbandgap) with low sensitivity to temperature and supply voltage. One way to obtain the bandgap voltage is to measure the voltage across a forward biased semiconductor p-n junction device such as a transistor. Measuring the forward biased semiconductor p-n voltage measures the bandgap energy of the semiconductor and provides a stable reference voltage. In conventional bandgap circuits, components such as transistors and resistors must be matched to very close tolerances to achieve a stable reference voltage. If these components are not matched to the required tolerances, the reference voltage may vary considerably with changing conditions such as temperature.
A bandgap circuit includes a current mirror that generates a proportional to absolute temperature current at an output node that outputs the bandgap reference voltage. A first current path including a first resistor is coupled between the output node and a first bipolar transistor. The second current path including a second resistor is coupled between the output node and a second bipolar transistor. The first current path is parallel to the second current path. The circuit outputs a bandgap reference voltage.
The FET 120 source is coupled to a bipolar transistor 102 emitter via resistor 110. The bipolar transistor 102 base and collector are coupled to Gnd. The FET 121 source is coupled to a bipolar transistor 101 emitter, and the bipolar transistor 101 base and collector are coupled to Gnd.
As shown in
In the bandgap circuit 100, the bandgap reference voltage VBG is measured at junction 170. The bandgap circuit 100 includes multiple current paths IN3 and IN4, which comprise a proportional to absolute temperature current IPTAT output by the current mirror FET 132. Proportional to absolute temperature (PTAT) currents vary as a linear function of absolute temperature. For example, in circuit 100, IPTAT, IN3 and IN4, are proportional to absolute temperature currents that vary as a linear function of absolute temperature. As shown, current IPTAT flows into junction 170, and current paths IN3 and IN4 flow out of junction 170. Thus, IPTAT=IN3+IN4. Current IN3 flows through a first current path including resistor 111, while current IN4 flows through a second current path including resistor 112. Current IN3 combines with current IN1, flowing through resistor 110, to form current I1, flowing through bipolar transistor 102. Current IN4 combines with current IN2 to form current I2, flowing through bipolar transistor 101.
The following describes how the bandgap reference voltage VBG, measured at junction 170 in circuit 100, is calculated. As shown in
IN1=IN2=Vt/R110,
where Vt is the voltage drop across the resistor 110 and R110 is the resistance across resistor 110.
The current IPTAT is a multiple of current IN1 since FETs 130, 131, 132 are current mirror transistors. As configured, the size of FET 132 is 2M times the size of FETs 130 or 131, where M is an arbitrary constant. The fact that FET 132 is 2M times the size of FETs 130 or 131 magnifies the current IPTAT by a factor of 2M. Thus, IPTAT/IN1=2M, or IPTAT=2M×IN1. For simplicity and initial design purposes, resistors 111 and 112 are of the same resistance, and the currents IN3 and IN4 are the same, in which case, IN3=IN4=M×IN1. However, currents IN3 and IN4 may not be equal if bipolar transistors 102 and 101 are different in size. In other words, if bipolar transistors 102 and 101 are different sizes, the base to emitter voltage VBE of bipolar transistors 102 and 101 is not equal to each other, thus currents IN3 and IN4 will be different.
Based on the above, current I1, through bipolar transistor 102, can be calculated by the following formula:
I1=IN1+IN3=IN1+M×IN1=(1+M)IN1.
Current I2, through bipolar transistor 101, can be calculated by the following formula:
I2=IN2+IN4=IN1+M×IN1=(1+M)IN1=I1.
The currents I1 and I2 may not be the same if currents IN3 and IN4 are different due to the size difference between bipolar transistors 102 and 101. The size difference between bipolar transistors 102 and 101 results in a difference between the base to emitter voltage VBE of bipolar transistors 102 and 101. Consequently, the currents I1 and I2 are not equal to each other. The difference in currents I1 and I2 is compensated by adjusting the resistor 110 from an initial design value.
The base to emitter voltage VBE102 across the bipolar transistor 102 and the base to emitter voltage VBE101 across the bipolar transistor 101 can be calculated based on the following formulas:
VBE102=VT×ln(I1/nls), and
VBE101=VT×ln(I2/Is),
where VT is the thermal voltage and Is is the bipolar transistor saturation current, a constant. The thermal voltage VT is calculated based on the following formula:
VT=k×T/q,
where k is Boltzmann's constant (1.3805×10−23 J/° K), T is the temperature in degrees Kelvin, and q is the electrical charge of an electron (1.6021×10−19 C).
Therefore, the voltage across the resistor Vt, 110 is:
Vt=VT×ln(n),
where n is the ratio of the bipolar transistor 102 emitter area and the bipolar transistor 101 emitter area. Therefore, as indicated above, the voltage Vt across resistor 110 is proportional to the thermal voltage VT.
As shown above, the PTAT current IPTAT at the FET 132 is:
IPTAT=2M×IN1.
Since IN1=Vt/R110 and Vt=VTln(n), then IPTAT can be calculated by the following:
IPTAT=2M×(VT/R110)×ln(n).
The bandgap reference voltage VBG can be calculated by adding the voltage drop across resistor 111 with the voltage drop VBE102 across bipolar transistor 102 or by adding the voltage drop across resistor 112 with the voltage drop VBE101 across bipolar transistor 101. The voltage drop across resistor 111 is VR111=IN3×R111, where R111 is the resistance of resistor 111 and IN3 is the current flowing through resistor 111. The voltage drop across resistor 112 is VR112=IN4×R112, where R112 is the resistance of resistor 112 and IN4 is the current flowing through resistor 112. Therefore, the bandgap reference voltage VBG can be calculated by the following:
VBG=VBE102+IN3×R111=VBE101+IN3×R112.
Assuming that the current IPTAT is evenly divided between resistors 111 and 112, then IN3=IPTAT/2 and IN4=IPTAT/2. Thus, the bandgap reference voltage VBG can also be represented by the following:
VBG=VBE102+IPTAP/2×R111=VBE101+IPTAP/2×R112.
As described herein, the bandgap reference circuit 100 provides a single bandgap reference voltage VBG using multiple proportional to absolute temperature current paths IN3 and IN4.
If only a single current path is used, such as IN4, it is very important to match the resistors 112 and 110 to have the required ratio needed to achieve a stable bandgap reference voltage. For example, any mismatch between the resistors 112 and 110, in a single current path bandgap circuit (not shown), may cause increased variation of bandgap reference voltage with temperature, which is undesirable.
In the case of a single current path bandgap circuit, assuming the variation in the bandgap reference voltage with temperature is ΔV. However, using the bandgap reference circuit 100 of
In embodiments of the bandgap circuit 100, three, four or more current paths may be used to provide a stable bandgap reference voltage.
The FET 320 source is coupled to bipolar transistor 302 emitter via resistor 310. The bipolar transistor 302 base and collector are coupled to Gnd. The FET 321 source is coupled to bipolar transistor 301 emitter, and the bipolar transistor 301 base and collector are coupled to Gnd.
As shown in
The FET 330 gate and drain are also coupled to FET 333 gate and capacitor 341. The FET 333 gate is coupled to FET 333 drain via capacitor 341. The FET 333 source and substrate are coupled to Vcc. The FET 333 drain is coupled to bipolar transistor 301 emitter via resistor 312. The capacitor 341 is used for frequency compensation of the bandgap circuit.
In the bandgap circuit 300, a first bandgap reference voltage VBG1 is measured at junction 370, while a second bandgap reference voltage VBG2 is measured at junction 371. The bandgap circuit 300 includes a first proportional to absolute temperature (PTAT) current path IPTAT1 flowing into and out of junction 370. The bandgap circuit 300 also includes a second PTAT current path IPTAT2 flowing into and out of junction 371. Current IPTAT1 flows through first current path including resistor 311, while current IPTAT2 flows through second current path including resistor 312. Current IPTAT1 combines with current IN1, flowing through resistor 311, to form current I1, flowing through bipolar transistor 302. Current IPTAT2 combines with current IN2, flowing out of the drain of FET 321, to form current I2, flowing through bipolar transistor 301. Current IN1 is based on the FETs 320, 321, 330 and 331 together with bipolar transistors 302 and 301 and the resistor 310. The FETs 332 and 333 will mirror the current IN1 with the multiplication factor of M.
The voltage across the resistor Vt, 310 is:
Vt=VT×ln(n),
where n is the ratio of the bipolar transistor 302 emitter area and the bipolar transistor 301 emitter area.
For simplicity, the sizes of FETs 332 and 333 are the same. The size of FET 332 is M times the size of FETs 330 or 331, magnifying the current IPTAT1 by a factor of M. Therefore, the current IPTAT1, at FET 332, is:
IPTAT1=M×IN1=M×(VT/R310)×ln(n),
where R310 is the resistance of resistor 310.
Due to current mirror of the FETs, 330, 331, 332, 333, the current IPTAT2 at FET 333 is:
IPTAT2=M×IN1=M×(VT/R310)×ln(n)=IPTAT1
Therefore, the current IPTAT2 is the same as the current IPTAT1.
The first bandgap reference voltage VBG1 can be calculated by adding the voltage drop across resistor 311 with the voltage drop across bipolar transistor 302. The voltage drop across bipolar transistor 302 is the base-emitter voltage VBE302 of bipolar transistor 302. The second bandgap reference voltage VBG2 can be calculated by adding the voltage drop across resistor 312 with the voltage drop across bipolar transistor 301. The voltage drop across bipolar transistor 301 is the base-emitter voltage VBE301 of bipolar transistor 301. The voltage drop across resistor 311 is VR311=IPTAT1×R311, where R311 is the resistance of resistor 311. The voltage drop across resistor 312 is VR312=IPTAT2×R312, where R312 is the resistance of resistor 312. Thus, the bandgap reference voltage VBG1 and VBG2 can be represented as:
VBG1=VBE302+IPTAP1×R311=VBE302+M×(VT/R310)×ln(n)×R311, and
VBG2=VBE301+IPTAP2×R312=VBE301+M×(VT/R310)×ln(n)×R312.
In the above equations for calculating VBG1 and VBG2, n is a ratio of bipolar transistor 302 emitter area and bipolar transistor 301 emitter area, VT is the thermal voltage, M is a ratio of FET current mirror 332 and FET current mirror 333, and R310 is the resistance of resistor 310.
The bandgap reference circuit 300 provides multiple bandgap reference voltages VBG1 and VBG2 using multiple proportional to absolute temperature current paths IPTAT1 and IPTAT2. The multiple bandgap reference voltages VBG1 and VBG2 can be used to provide independent internal reference voltages for various circuit applications.