1. Field of the Invention
This invention relates generally to the field of integrated circuit design and, more particularly, to the design of temperature sensor and measurement devices.
2. Description of the Related Art
Many digital systems, especially those that include high-performance, high-speed circuits, are prone to operational variances due to temperature effects. Devices that monitor temperature and voltage are often included as part of such systems in order to maintain the integrity of the system components. Personal computers (PC), signal processors and high-speed graphics adapters, among others, typically benefit from such temperature monitoring circuits. For example, a central processor unit (CPU) that typically “runs hot” as its operating temperature reaches high levels may require a temperature sensor in the PC to insure that it doesn't malfunction or break due to thermal problems.
Often, integrated circuit (IC) solutions designed to measure temperature in a system will monitor the voltage across one or more PN-junctions, for example a diode or multiple diodes at different current densities to extract a temperature value. This method generally involves amplifying (or gaining up) a small voltage generated on the diode(s), and then subtracting voltage from the amplified temperature-dependent voltage in order to center the amplified (gained) value for conversion by an analog-to-digital converter (ADC). In other words, temperature-to-digital conversion for IC-based temperature measuring solutions is often accomplished by measuring a difference in voltage across the terminals of typically identical diodes when different current densities are forced through the PN junctions of the diodes. The resulting change (ΔVBE) in the base-emitter voltage (VBE) between the diodes is generally proportional to temperature. (It should be noted that while VBE generally refers to a voltage across the base-emitter junction of a diode-connected transistor and not a voltage across a simple PN-junction diode, for the sake of simplicity, VBE is used herein to refer to the voltage developed across a PN-junction in general.) More specifically, a relationship between VBE and temperature is defined by the equation
where η is the ideality factor of the PN junction, k is Boltzman's constant, q is the charge of a single electron, T represents absolute temperature, IS represents saturation current and I represents the collector current. A more efficient and precise method of obtaining ΔVBE is to supply the PN junction of a single diode with two separate and different currents in a predetermined ratio. Consequently, ΔVBE may be related to temperature by the equation
where N is a constant representing a pre-selected ratio of the two separate currents that are supplied to the PN junction of the diode.
A typical dynamic range of ΔVBE, however, is small relative to dynamic ranges that are typical of analog-to-digital converters (ADCs). That is, ΔVBE, which is used to measure the PN junction temperature, generally has a small dynamic range, for example on the order of around 60 mV in some systems. Therefore it is generally required to further process ΔVBE in order to match the dynamic range of ADCs. Typically, in order to obtain the desired conversion values at various temperatures, ΔVBE is multiplied by a large gain, and then centered to zero, which can be accomplished by subtracting a fixed voltage.
In general, implementations today perform the temperature signal processing (TSP) in a separate temperature sensor circuit that generates a sufficiently large voltage signal, which is fed into a separate ADC that may have been designed using a number of different topologies. Temperature-to-digital converters (TDC) of such implementations usually contain complex circuits. The yield of these TDCs during the fabrication process may also be low as there are many components that need to be matched for a given process spread.
An example of a typical temperature measurement system, which includes an ADC, is illustrated in
Voltage-temperature relationships characterizing TSP 100 may be described by the following equations:
Vtemp=CT/CI*ΔVBE(T)−CO/CI*Voffset, where
CT/CI=(ADC dynamic range)/(ΔVBE(Tmax)−ΔVBE(Tmin)), and
Voffset=(CT/CI*ΔVBE(Tmax)−(ADC dynamic range))*CI/CO.
Tmax and Tmin represent maximum and minimum diode temperatures, respectively. ADC dynamic range indicates a range of valid voltage values required for proper ADC operation.
Temperature measurement systems that employ diodes feature a variety of types of diodes. Some examples are the Prescott processor diode and the 2N3904 discrete diode. Each type of diode typically has its own ideality factor, which may lead to errors in measurements obtained using a temperature sensor in which a particular diode is configured. This problem generally occurs when temperature measurement systems are designed/trimmed for a single diode ideality factor. When using a diode different from one for which such a temperature measurement system was designed, a measurement error may be incurred. Any such error would have to be corrected if an accurate measurement was desired. A typical solution is to add a constant offset to the temperature sensor output. That is, a constant offset is added to an obtained temperature measurement value. This can generally be performed in the temperature sensor itself or in the external processor with which the sensor interfaces. However, this method of correction is error prone as a different ideality factor leads to a non-constant error across measured temperatures. This is due to the fact that the different ideality factor produces a gain error not an offset error. In some cases an offset register may be used to correct for this error.
Generally, as part of offering a solution, temperature sensor manufacturers typically design their devices to work optimally for a unique ideality factor (i.e. the Prescott processor ideality factor, ˜1.011) without any capability to adapt to different diodes without having to program in an offset value. Generally, ideality factors can change over process or can be incorrectly specified at the initial time of sensor design and may need to be corrected once the design is complete.
Other corresponding issues related to the prior art will become apparent to one skilled in the art after comparing such prior art with the present invention as described herein.
In one set of embodiments the invention comprises a system and method for performing temperature monitoring in a digital system by capturing a change in a diode junction voltage (ΔVBE), which is proportional to a temperature of the diode, and using an analog-to-digital converter (ADC) to perform on ΔVBE required signal conditioning functions with the output of the ADC providing a numeric value corresponding to the temperature of the diode. Errors in the measured temperature that may result from using diodes with ideality factors that differ from the ideality factor for which the temperature measurement device has been primarily configured may be eliminated by programming the device to account for differing ideality factors. In one embodiment this is accomplished by matching the gain of the temperature sensor to the ideality factor of the diode that is used for performing the temperature monitoring.
In one embodiment, matching the gain of the temperature sensor to the ideality factor of the diode is performed by using an accurate, highly temperature stable reference voltage to set the gain of the temperature measurement system. The reference voltage may already have a trim capability to change the gain setting voltage by a digital address comprising a determined number of bits. Each least significant bit (LSB) of the trim word may change a 1.500V reference voltage by ˜1.1 mV. The reference voltage value (from 1.46488V to 1.5351V, for example) may be programmed through a coupled bus by an end user, using the trim bits. The programmable sensor may thus be used to accurately measure the temperature of diodes with ideality factors falling within a determined range that corresponds to the reference voltage range, for example within a range of 0.985 to 1.032. This range may be increased to accommodate a broader range of ideality factors, or may be decreased when accommodating a narrower range of ideality factors.
Thus, various embodiments of the invention may provide a means for performing temperature monitoring/measurement by applying a ΔVBE signal to an ADC that performs signal-processing functions, including matching and centering the voltage range of ΔVBE to the dynamic range of the ADC, while accommodating a range of ideality factors for different diodes that may be used in the temperature monitoring/measurement system, thus obtaining measurements substantially free of errors that may occur due to the different ideality factors of the different diodes.
The foregoing, as well as other objects, features, and advantages of this invention may be more completely understood by reference to the following detailed description when read together with the accompanying drawings in which:
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the present invention as defined by the appended claims. Note, the headings are for organizational purposes only and are not meant to be used to limit or interpret the description or claims. Furthermore, note that the word “may” is used throughout this application in a permissive sense (i.e., having the potential to, being able to), not a mandatory sense (i.e., must).” The term “include”, and derivations thereof, mean “including, but not limited to”. The term “coupled” means “directly or indirectly connected”.
As used herein, the word “alternately” is meant to imply passing back and forth from one state, action, or place to another state, action, or place, respectively. For example, “alternately applying a first current source and a second current source” would mean applying the first current source, then applying the second current source, then applying the first current source, then applying the second current source, and so on.
A “diode-junction-voltage” (VBE) refers to a voltage measured across the junction of a diode, or a difference in voltage between a voltage measured at the anode of the diode junction with respect to a common ground and a voltage measured at the cathode of the diode junction with respect to the common ground. A “change in diode-junction-voltage” (ΔVBE) refers to a change in diode-junction-voltage for a chosen diode, either in time or in different circuit configurations. For example, if in one circuit configuration VBE=700 mV for a diode, and in a different circuit configuration VBE=655 mV for the diode, then ΔVBE=45 mV for the diode when referencing to the two different circuit configurations. Similarly, for example, if at a time point t1 VBE=650 mV for a diode, and at a time point t2 VBE=702 mV for the diode, then ΔVBE=52 mV for the diode when referencing time points t1 and t2. “Storing” a VBE or VBE value in an integrator generally refers to developing a charge corresponding to the VBE value within the integrator. “Adding” and/or “subtracting” a VBE or VBE value in the integrator generally refers to increasing and/or decreasing the developed charge within the integrator, correspondingly to the VBE value.
A diode is used as one way of accessing a PN-junction across which voltage measurements to obtain VBE may be made. More generally, diode-junction may also mean PN-junction or NP-junction, which defines the physical attributes of the junction selected for obtaining temperature values through performing voltage measurements. Various embodiments of the circuit are described as utilizing a diode. However, in other embodiments, the operation performed by the diode may be achieved using other circuitry, such as a PN-junction (or NP-junction) present in devices other than a diode, for example bipolar junction transistors (BJTs). Therefore, the terms PN-junction, NP-junction, diode, and diode-junction are used interchangeably, and all respective terms associated therewith may be interpreted accordingly.
The ideality factor for diode 222 may be expressed in terms of equation (2) as follows:
Equation (3) indicates that as the ideality factor increases the temperature appears to be increasing. For example, assuming an ideality factor of 1.000 for diode 222 when the actual ideality factor of diode 222 was 1.008, the measured temperature of diode 222 would be increased by a factor of 0.008. In other words, the measured temperature of diode 222 would be higher by 0.008T.
In one embodiment, the variability of the temperature measurements due to varying ideality factors is addressed by providing a means for programming the ideality factor value required for diode 222, in order to obtain an accurate temperature measurement. This programmability may be made available for all diodes, including diodes other than diode 222 shown, configured in circuits that are equivalent to the circuit shown in
Vref
where ηdiode is the ideality factor of diode 222 (for example, 1.008) and ηADC is the ideality factor for which ADC 224 has originally been set (for example, 1.000).
Referring again to
As an example, the ratio ‘N’ between the current provided by current source I1210 and the current provided by current source I2212 may be selected to be 17 with a desire to obtain temperature measurements within a range of −64° C. to 191° C. In this case, equation (2) becomes:
ΔVBE at 191° C. may be expressed as:
where 273.15 is the conversion value required to convert from ° C. to ° K. Equation (7) then leads to the following ΔVBE value expressed in terms of the ideality factor of diode 222:
ΔVBE(max)=η*113.32 mV. (8)
Similarly, ΔVBE at the minimum temperature −64° C. may be expressed as:
resulting in:
ΔVBE(min)=η*51.06 mV. (10)
If Vref is originally set to 1.500, substituting the results of equations (8), and (10) into equation (5), the following relationship may be obtained:
The required ADC voltage offset (Vos) gain may be expressed by:
Substituting the results from equations (10) and (11), and the selected value of Vref (1.500V) into equation (12), the Vos gain becomes:
If, for example, ADC 224 is designed for η=1.000, then it follows from equations (11) and (12) that the Temp Gain=24 and the Vos gain=0.81696, respectively.
If a change in the ideality factor can lead to a change in Vref while both the Temp gain and Vos gain remain the same, then programming for different ideality factors may be accomplished by trimming only Vref. More generally then, from equations (5) and (2), the temperature gain may be expressed in the following equation for a temperature measurement range of Tmin to Tmax and a current ratio of ‘N’:
If ADC 224 is originally designed for an ideality factor η=1.000 with corresponding reference voltage value Vref (original) then equation (14) becomes:
It may become readily apparent that substituting η*Vref(original) for Vref in equation (14) may lead to equation (15), and thus the value of the temperature gain as expressed in equation (15) becomes independent of η. In other words, if Vref (original) represents a reference voltage value originally assigned to ADC 224 corresponding to an initial ideality factor of ηi=1.000, then if η changes to a different value, changing the reference voltage value to a value of η*Vref (original) will result in the temperature gain not changing, as expressed in equation (15).
Similarly, having established that the temperature gain may not change under the conditions as described above, from equations (12) and (2) the voltage offset gain may be expressed generally as:
where Tmin is expressed in terms of ° K. Having originally designed ADC 224 for an ideality factor η=1.000 with corresponding reference voltage value Vref (original), equation (16) may be written as:
Again, it is readily apparent that substituting η*Vref (original) for Vrefin equation (16) may lead to equation (17), and thus the value of the voltage offset gain as expressed in equation (17) becomes independent of η. In other words, if Vref(original) represents a reference voltage value originally assigned to ADC 224 corresponding to an initial ideality factor of ηi=1.000, then if η changes to a different value, changing the reference voltage value to a value of η*Vref(original) will result in the voltage offset gain not changing, as expressed in equation (17). Thus, programming for different ideality factors may be accomplished by trimming only Vref.
Turning again to
Thus, various embodiments of the systems and methods described above may facilitate the design of temperature sensor circuit that uses a temperature diode to obtain temperature measurements, and which may operate accurately for a variety of diodes whose ideality factors fall within a programmable range. Different ideality factors may be user programmable through trimming the reference voltage of an ADC used in obtaining digital temperature measurements from the temperature diode, without changing either the temperature gain or the voltage offset gain.
Although the embodiments above have been described in considerable detail, other versions are possible. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications. Note the section headings used herein are for organizational purposes only and are not meant to limit the description provided herein or the claims attached hereto.
Number | Name | Date | Kind |
---|---|---|---|
3672215 | Stout et al. | Jun 1972 | A |
3679992 | Yerman | Jul 1972 | A |
4228684 | Templin | Oct 1980 | A |
5195827 | Audy et al. | Mar 1993 | A |
5419637 | Frye et al. | May 1995 | A |
6019508 | Lien | Feb 2000 | A |
6169442 | Meehan et al. | Jan 2001 | B1 |
6554469 | Thomson et al. | Apr 2003 | B1 |
6554470 | Zhang et al. | Apr 2003 | B1 |
6870357 | Falik | Mar 2005 | B1 |
20030123520 | Tesi | Jul 2003 | A1 |
20040071183 | Tesi et al. | Apr 2004 | A1 |
20060039445 | McLeod | Feb 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20060093016 A1 | May 2006 | US |