1. Field of the Invention
The present invention relates to a temperature measurement circuit and, more particularly, to a temperature measurement circuit capable of performing a calibration function through shifting a conversion reference level of an analog-to-digital conversion circuit.
2. Description of the Related Art
Because the potential difference across the semiconductor pn junction of diodes or transistors is related to the current flowing through the junction itself and further depends on the temperature of the junction, this kind of semiconductor pn junction is widely employed in the integrated circuits to perform the task of temperature measurement.
In the temperature measurement circuit 10, two switches S1 and S2 of a current source circuit 11 are turned ON and OFF by a control circuit 12 to therefore allow different currents I1 and I2 to be applied to the thermal sensor 21, respectively. Assumed that the current I1 is applied to the thermal sensor 21 to cause a potential difference VBE1 across the base and emitter electrodes and the current I2 is applied to the thermal sensor 21 to cause a potential difference VBE2 across the base and emitter electrodes, a temperature calculation circuit 13 subtracts VBE2 from VBE1 and then generates a difference ΔVBE expressed in the following equation (1):
wherein K is Boltzmann's constant, T is the absolute temperature, q is the electron charge, Re is the series parasitic resistance of the base electrode, Rb is the series parasitic resistance of the emitter electrode, and β is the gain of the transistor. As a result, the potential difference ΔVBE generated by the temperature calculation circuit 13 is an analog signal that changes along with the temperature and therefore provides the information about the temperature. Afterwards, an analog-to-digital conversion circuit (ADC) 14 converts such analog signal into a digital temperature signal.
As seen in equation (1), the series parasitic resistances Re and Rb of the thermal sensor 21 causes a constant-term offset, (I1−I2)(Re+Rb/β), which is independent of the temperature. Hoping to get an accurate result on the temperature measurement, the prior art employs three or more different currents to sequentially excite the same thermal sensor 21 in order to eliminate the constant-term offset caused by such series parasitic resistances Re and Rb. However, the prior art three or more current excitation method not only requires a much higher frequency in operation but also causes some disadvantages like power inefficiency and temperature fluctuation. Even if the operational frequency is intentionally kept constant, the excitations by more and more currents will inevitably make each cycle of temperature measurement much longer and therefore reduce the speed of response, to the temperature variation, of the temperature measurement circuit 10.
On the other hand, what the temperature measurement circuit 10 actually monitors is the temperature of the semiconductor substrate on which the thermal sensor 21 is formed, and such actually monitored temperature may not necessary be equal to the real representative temperature of the external system 20. Especially in the case where the external system 20 is a computer, the temperature of interest would usually be the temperature of a thermal sinking plate 22 attached in the external system 20 instead of the temperature of the semiconductor substrate on which the thermal sensor 21 is formed. As for such case, the manufacturer of the external system 20 provides a temperature offset data ΔT, which indicates a temperature difference existing between the thermal sinking plate 22 and the substrate of the thermal sensor 21, to be stored in a register 15 of the temperature measurement circuit 10. Afterwards, the digital output of the analog-to-digital conversion circuit 14 are calibrated in accordance with the temperature offset data ΔT through an adder 16 so as to eventually generate an accurate temperature signal Tmp.
In view of the above-mentioned problems, an object of the present invention is to provide a temperature measurement circuit capable of performing a calibration function through shifting a conversion reference level of an analog-to-digital conversion circuit.
According to one aspect of the present invention, a temperature measurement circuit includes a current excitation circuit, a calculation circuit, a calibration factor generator, and an analog-to-digital conversion circuit. The current excitation circuit sequentially applies at least two currents to a thermal sensor. At least two output signals are correspondingly generated from the thermal sensor. In response to the at least two output signals, the calculation circuit calculates an analog temperature signal representative of a temperature detected by the thermal sensor. The calibration factor generator generates a calibration factor. The analog-to-digital conversion circuit converts the analog temperature signal into a digital temperature signal in accordance with a reference level for conversion. The reference level for conversion is shifted in accordance with the calibration factor.
The thermal sensor has a semiconductor pn junction such that the at least two currents sequentially flows through the semiconductor pn junction to generate at least two potential differences across the semiconductor pn junction for serving as the at least two output signals. The calibration factor is calculated when the current excitation circuit sequentially applies at least three currents to the thermal sensor, and is used for calibrating a constant-term offset of the analog temperature signal. The thermal sensor is formed in a substrate of an external system. The calibration factor is provided by the external system to calibrate a temperature offset between the temperature detected by the thermal sensor and a representative temperature of the external system.
According to another aspect of the present invention, a method of measuring a temperature is provided. The first step is sequentially applying at least two currents to a thermal sensor. At least two output signals are correspondingly generated from the thermal sensor. The second step is calculating an analog temperature signal in response to the at least two output signals. The analog temperature signal is representative of a temperature detected by the thermal sensor. The third step is generating a calibration factor. The fourth step is converting the analog temperature signal into a digital temperature signal in accordance with a reference level for conversion. The reference level for conversion is shifted in accordance with the calibration factor.
According to still another aspect of the present invention, a current excitation circuit for exciting a thermal sensor includes a measurement current source circuit, a calibration current source circuit, a calibration control circuit, and a measurement control circuit. The measurement current source circuit provides a first measurement current and a second measurement current. The calibration current source circuit provides a calibration current. The calibration control circuit allows the first measurement current, the second measurement current, and the calibration current to be sequentially applied to the thermal sensor, thereby determining a constant-term offset associated with the thermal sensor. The measurement control circuit allows the first measurement current and the second measurement current to be sequentially applied to the thermal sensor, thereby measuring a temperature of the thermal sensor. The calibration control circuit is activated earlier than the measurement control circuit in order to determine the constant-term offset before the temperature of the thermal sensor is measured.
The above-mentioned and other objects, features, and advantages of the present invention will become apparent with reference to the following descriptions and accompanying drawings, wherein:
The preferred embodiments according to the present invention will be described in detail with reference to the drawings.
Assumed again that the currents I1, I2, and I3 satisfy a proportional condition (3) as follows:
I1:I2:I3=A2:A:1 (3)
That is, when the first measurement current I1 is set equal to A times the second measurement current I2, and the second measurement current I2 is set equal to A times the calibration current I3, where A is larger than zero, the equation (2) may further be reduced to the following equation (4):
Therefore, with the help of the calibration current I3, the calculation circuit 35 effectively determines a constant-term offset dΔVBE associated with the series parasitic resistances Re and Rb. Afterwards, such constant-term offset dΔVBE is delivered to a calibration factor generator 36 for generating a calibration factor CF that is determined before any temperature measurement cycle is actually performed.
It should be noted that in the present invention the calibration current source circuit 32 and the calibration control circuit 34 are disabled for any further operation after the constant-term offset dΔVBE has been determined and output to the calibration factor generator 36. In other words, when actually measuring the temperature of the thermal sensor 21, the temperature measurement circuit 30 employs only the measurement control circuit 33 to control the measurement current source circuit 31 such that the first and second measurement currents I1 and I2 are applied in sequence to the thermal sensor 21. Therefore, the calculation circuit 35 during each temperature measurement cycle is restricted to alternately operate only between the first and second phases shown in
Therefore in the present invention an accurate temperature measurement result is effectively obtained by level-shifting the potential difference ΔVBE, which is measured only through the first and second measurement currents I1 and I2, with the predetermined constant-term offset dΔVBE multiplied by a factor of A/(A−1). Since the constant-term offset dΔVBE has been determined at the beginning through the help of the calibration current 13 and stored in the calibration factor generator 36, it is possible to reduce the number of the necessary excitation currents down to only two during each temperature measurement cycle.
In addition to the constant-term offset dΔVBE, the calibration factor generator 36 also receives from the external system 20 the temperature offset data ΔT between the thermal sensor 21 and the thermal sinking plate 22. Since the constant-term offset dΔVBE and the temperature offset data ΔT both belong to this type of error that can be corrected by level-shifting, the calibration factor generator 36 may integrate them into a compound calibration factor CF. On the basis of the calibration factor CF, a level-shifting analog-to-digital conversion circuit (ADC) 37 determines an appropriate reference level REF for conversion.
More specifically, the ground value of the counter 53 is determined by the calibration factor CF provided from the calibration factor generator 36. In the calibration factor generator 36, the constant-term offset dΔVBE from the calculation circuit 53 is multiplied by A/(A−1) through a multiplier 41 and then added with the temperature offset data ΔT from the external system 20 through an adder 42, thereby generating a compound calibration factor CF to be stored in a calibration register 43. In other words, the embodiment shown in
While the invention has been described by way of examples and in terms of preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications. Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications.
Number | Name | Date | Kind |
---|---|---|---|
5195827 | Audy et al. | Mar 1993 | A |
5982221 | Tuthill | Nov 1999 | A |
5990725 | LoCascio et al. | Nov 1999 | A |
6097239 | Miranda, Jr. et al. | Aug 2000 | A |
6169442 | Meehan et al. | Jan 2001 | B1 |
6554469 | Thomson et al. | Apr 2003 | B1 |
6554470 | Zhang et al. | Apr 2003 | B2 |
6808307 | Aslan et al. | Oct 2004 | B1 |
6957910 | Wan et al. | Oct 2005 | B1 |
6962436 | Holloway et al. | Nov 2005 | B1 |
7083328 | Johnson | Aug 2006 | B2 |
7089146 | D'Aquino et al. | Aug 2006 | B1 |
7170275 | Falik | Jan 2007 | B1 |
20030086476 | Mizuta | May 2003 | A1 |
20060093016 | McLeod et al. | May 2006 | A1 |
20060193370 | St. Pierre et al. | Aug 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20070091979 A1 | Apr 2007 | US |