The present invention pertains to temperature sensing, in general, and to an improved bandgap circuit, in particular.
To measure temperature, a common method utilizes a sensor to convert the quantity to be measured to a voltage. Common solid state sensors utilize semiconductor diode Vbe, the difference in Vbe at two current densities or delta Vbe, or a MOS threshold to provide a temperature dependent output voltage. The temperature is determined from the voltage measurement. Once the sensor output is converted to a voltage it is compared it to a voltage reference. It is common to utilize a voltage reference having a low temperature coefficient such as a bandgap circuit as the voltage reference. The bandgap voltage reference is about 1.2 volts. An n-bit analog to digital converter divides the bandgap reference down by 2n and determines how many of these small pieces are needed to sum up to the converted voltage. The precision of the A/D output is no better than the precision of the bandgap reference.
Typical plots of the output bandgap voltage with respect to temperature are bowed and are therefore of reduced accuracy.
Prior bandgap voltage curvature correction solutions result in very complicated circuits whose performance is questionable.
In accordance with the principles of the invention, a temperature corrected bandgap circuit is provided which provides a significantly flatter response of the bandgap voltage with respect to temperature.
In accordance with the principles of the invention, a temperature corrected voltage bandgap circuit is provided. The circuit includes first and second diode connected transistors with the area of one transistor being selected to be a predetermined multiple of the area of the other transistor. A first switchable current source is coupled to the one transistor to inject a first current into the emitter of that transistor when its base-emitter voltage is at a first predetermined level. The first current is selected to correct for curvature in the output voltage of the bandgap circuit at one of hotter or colder temperatures.
Further in accordance with the principles of the invention a second current source is coupled to the other transistor to remove a second current from the other transistor emitter. The second current is selected to correct for curvature in the output voltage at the other of said hotter or colder temperatures. The current removal of the second current source is initiated when the base-emitter voltage of the other transistor reaches a predetermined level.
The bandgap circuit, the first current source and the second current source are formed on a single substrate.
The invention will be better understood from a reading of the following detailed description in conjunction with the drawing figures in which like reference designators identify like elements, and in which:
For a bipolar transistor the first order equation for collector current related to Vbe is:
I
c
=AI
s(e(Vbe·q)/kT−1)
where:
T is temperature in Kelvin;
A is an area scale;
Is is dark current for a unit area device (process dependent);
q is charge on the electron; and
K is Boltzman's constant.
In the forward direction, even at very low bias, the (e(Vbe·q)/kT) term over-powers the −1 term. Therefore in the forward direction:
I
c
=I
s(e(Vbe·q)/kT)
, and
V
be=(kT/q)·ln (Ic/AIs)
Two junctions operating at different current densities will have a different Vbe related by the natural logs of their current densities.
From this it can be shown that the slope of Vbe vs. temperature must depend on current density. Vbe has a negative temperature coefficient. However, the difference in Vbe, called the ΔVbe, has a positive temperature coefficient.
ΔVbe=Vbe|1−Vbe|A=(kT/q)·[ln(I1/Is)−ln(I2/AIs)]
For I1=I2 and an area scale of A
ΔVbe=(kT/q)lnA
In the illustrative embodiment of the invention, a bandgap circuit is formed as part of a CMOS device of the type utilizing CMOS N-well process technology.
The most usable bipolar transistors available in the CMOS N-well process is the substrate PNP as shown in
There are several general topologies based on the standard CMOS process and its substrate PNP that can be used to create a bandgap circuit.
Bandgap voltage and slope with respect to temperature or temperature coefficient, TC, are sensitive to certain process and design variables.
With the foregoing in mind, considering all the variables, and making specific assumptions, a closed form for the bandgap voltage is:
Vbandgap=(kT/q)·{ln[((kT/q)·lnA/R1)/Is]}+(1+R2/R1) (kT/q)·lnA
This is of the form Vref=Vbe+m ΔVbe
When m is correctly set, the temperature coefficient of Vref will be near zero. The resulting value of Vref will be near the bandgap voltage of silicon at 0° K., thus the name “bandgap circuit.”
However, Vbe for a bipolar transistor operating at constant current has a slight bow over temperature. The net result is that a plot of bandgap voltage Vref against temperature has a bow as shown by curve 401 in
In accordance with one aspect of the invention, a simple differential amplifier formed by transistors M1, M2 as shown in
Transistor M1 and transistor M2 compare the nearly zero temperature coefficient, TC, voltage V1 (derived from the bandgap) to the Vbe voltage of the unit size bipolar transistor Q2 in the bandgap. By adjusting the value of V1 the threshold temperature where the differential pair M1, M2 begins to switch and steer current provided by transistor M3 into the bandgap is moved. Voltage V1 is selected to begin adding current at the temperature where the bandgap begins to dip, e.g., 40° C. The width/length W/L ratio of transistors M1, M2 will define the amount of differential voltage necessary to switch all of the current from transistor M2 to transistor M1. The current I sets the maximum amount of current that can or will be added to the bandgap.
In accordance with the principles of the invention, by utilizing 3 transistors and 2 resistors the correction threshold, rate (vs. temperature) and amount of curvature (current) correction on the high temperature side can be corrected. The effect of this current injection is shown by curve 601 in
The comparator/current injection structure can be mirrored for curvature correction of the cold temperature side of the bandgap by providing current removal from the larger or A sized transistor Q1 of the bandgap circuit. The effect of such curvature correction on the cold side is shown by curve 701 in
A fully compensated bandgap circuit in accordance with the principles of the invention that provides both hot and cold temperature compensation is shown in
The circuit of
The compensated circuit of
Bandgap circuit 1001 comprising a transistor Q2 and a transistor Q1. The area of transistor Q1 is selected to be a predetermined multiple A of the area of transistor Q2. First and second serially connected resistors R1, R2 are connected between an output node Vbandgap and the emitter of transistor Q2. A third resistor is connected in series between output node Vref and the emitter of transistor Q1. A differential input amplifier AMP has a first input coupled to a first circuit node disposed between resistors R1, R2; and a second input coupled to a second node disposed between resistor R3 and the emitter of transistor Q1. Amplifier AMP has its output coupled to the output node Vbandgap.
A first switchable current source 1003 is coupled to said transistor Q2 to inject a first current into the emitter of transistor Q2. The current Iinj1 is selected to correct for one of hotter or colder temperatures, more specifically, in the illustrative embodiment, the current Iinj1 is injected at higher temperatures when the base emitter voltage across transistor Q2 to a first predetermined voltage Vset. The voltage Vset is determined by a resistance network formed by resistors R4, R5, R6.
A second switchable current source 1005 is coupled to transistor Q1 to remove a second current Iinj2 into the emitter of transistor Q1. The second current Iinj2 is selected to correct for the other of the hotter or colder temperatures, and more specifically for colder temperatures.
Bandgap circuit 1001, and switchable current injection circuits 1003, 1005 are formed on a single common substrate 1007.
The resistors R4, R5, and R6 are trimmable resistors and are utilized to select the voltages at which the current sources inject current from switchable current injection circuits 1003, 1005 into bandgap circuit 1001.
The invention has been described in terms of illustrative embodiments. It is not intended that the scope of the invention be limited in any way to the specific embodiments shown and described. It is intended that the invention be limited in scope only by the claims appended hereto, giving such claims the broadest interpretation and scope that they are entitled to under the law. It will be apparent to those skilled in the art that various changes and modifications can be made without departing from the spirit or scope of the invention. It is intended that all such changes and modifications are encompassed in the invention as claimed.
This application is a continuation of U.S. application Ser. No. 13/157,761, filed on Jun. 10, 2011, which is a continuation of U.S. application Ser. No. 12/749,337, filed on Mar. 29, 2010, now U.S. Pat. No. 7,960,961, which is a continuation of U.S. application Ser. No. 11/446,036, filed on Jun. 2, 2006, now U.S. Pat. No. 7,688,054, which applications are incorporated by reference herein in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 13157761 | Jun 2011 | US |
Child | 13863169 | US | |
Parent | 12749337 | Mar 2010 | US |
Child | 13157761 | US | |
Parent | 11446036 | Jun 2006 | US |
Child | 12749337 | US |