ADAPTIVE TEMPERATURE SLOPE CALIBRATION METHOD OF A THERMAL SENSOR AND ASSOCIATED SYSTEM

Information

  • Patent Application
  • 20230228629
  • Publication Number
    20230228629
  • Date Filed
    November 20, 2022
    a year ago
  • Date Published
    July 20, 2023
    9 months ago
Abstract
The present invention provides an adaptive temperature slope calibration method of a thermal sensor, wherein the method includes the steps of: obtaining a parameter of the thermal sensor under a temperature environment; calibrating a temperature slope of the thermal sensor by using the parameter of the thermal sensor obtained under the temperature environment without using parameter(s) of the thermal sensor under other temperature environment(s); and storing the temperature slope of the thermal sensor for subsequent use of detecting temperature.
Description
BACKGROUND

A base-emitter junction of a bipolar junction transistor (BJT) has a predictable transfer function that is dependent on temperature. So, one or more BJTs can be used to measure a temperature of a device. Due to the semiconductor process variation, the thermal sensor needs to be calibrated to determine an offset and a temperature slope for further use, wherein calibrating the temperature slope requires obtaining two BJT parameters at two different temperature environments such as 30° C. and 85° C., and then these two BJT parameters and two different temperatures are used to determine the temperature slope. However, establishing two different temperature environments requires higher costs and also makes the time to calibrate the temperature slope longer.


SUMMARY

It is therefore an objective of the present invention to provide an adaptive temperature slope calibration method and related system, which can determine the temperature slope of the thermal sensor by the BJT parameter (s) obtained in only one temperature environment, to solve the above-mentioned problems.


According to one embodiment of the present invention, an adaptive temperature slope calibration method of a thermal sensor comprises the steps of: obtaining a parameter of the thermal sensor under a temperature environment; calibrating a temperature slope of the thermal sensor by using the parameter of the thermal sensor obtained under the temperature environment without using parameter (s) of the thermal sensor under other temperature environment(s); and storing the temperature slope of the thermal sensor for subsequent use of detecting temperature.


According to one embodiment of the present invention, a system comprising a thermal sensor, a sensing circuit and a temperature slope calibration unit is disclosed. The sensing circuit is configured to obtain a parameter of the thermal sensor under a temperature environment. The temperature slope calibration unit is configured to calibrate a temperature slope of the thermal sensor by using the parameter of the thermal sensor obtained under the temperature environment without using parameter(s) of the thermal sensor under other temperature environment(s), wherein the temperature slope of the thermal sensor is stored for subsequent use of detecting temperature.


These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a system according to one embodiment of the present invention.



FIG. 2 is a diagram showing different corner cases and the corresponding temperature slopes according to one embodiment of the present invention.



FIG. 3 is a diagram showing different corner cases and the corresponding temperature slopes according to another embodiment of the present invention.



FIG. 4 is a flowchart of an adaptive temperature slope calibration method according to one embodiment of the present invention.





DETAILED DESCRIPTION

Certain terms are used throughout the following description and claims to refer to particular system components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to ...”. The terms “couple” and “couples” are intended to mean either an indirect or a direct electrical connection. Thus, if a first device couples to a second device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.



FIG. 1 is a system 100 according to one embodiment of the present invention. As shown in FIG. 1, the system 100 comprises a thermal sensor 110, a sensing circuit 120, a temperature slope calibration unit 130 and a temperature calculation circuit 140. In this embodiment, the thermal sensor 110 comprises at least one BJT, and the system 100 is configured to use parameter(s) of the BJT to obtain calibration a temperature slope to determine a current temperature of a device comprising the thermal sensor 110.


As described in the background of the invention, the conventional temperature slope calibration needs to be performed at two different temperatures, and establishing two different temperature environments requires higher costs and also makes the time to calibrate the temperature slope longer. To solve this problem, the system 100 is designed to use the BJT parameter obtained in only one temperature environment to determine the temperature slope. Specifically, the device comprising the thermal sensor 110 can be positioned in the environment with a normal temperature such as 30° C., and the sensing circuit 120 senses the thermal sensor 110 to obtain a parameter of the thermal sensor 110. In one embodiment, the parameter can be a base-emitter voltage (VBE) of the BJT, wherein the base-emitter voltage can be obtained by applying a fixed bias current to the BJT and measuring a voltage difference between a base electrode and an emitter electrode. In one embodiment, the parameter can be a delta base-emitter voltage (delta VBE) of the BJT, wherein the delta base-emitter voltage can be obtained by applying a fixed bias current to two or more BJTs and calibrating a difference between the base-emitter voltages of the two or more BJTs. In one embodiment, the base-emitter voltage of the BJT or the delta base-emitter voltage of the BJT can be encoded or performed by an analog-to-digital converting operation to generate a code to serve as the parameter of the thermal sensor 110. In one embodiment, the base-emitter voltage of the BJT or the delta base-emitter voltage of the BJT can be processed by a voltage-to-frequency converter to generate a frequency signal. In one embodiment, the parameter can be a current of the BJT. It is noted that the above embodiments are for illustrative, not a limitation of the present invention. As long as the parameter is generated according to a measuring result of the BJT, the parameter can have any type.


After obtaining the parameter of the thermal sensor 110 under the normal temperature (single temperature), the temperature slope calibration unit 130 uses the parameter to calculate the temperature slope of the thermal sensor 110. In this embodiment, the temperature slope of the thermal sensor 110 can be calculated by using the following formula:






T_slope=T_slope_golden+






P_calibrate

/

P_golden





1


*
C




wherein “T_slope” is the adaptive temperature slope, “P_calibrate” is the parameter of the thermal sensor 110 under the normal temperature, “T_slope_golden” is a reference value of the temperature slope, “P_golden” is a reference value of the parameter of the thermal sensor 110, and “C” is a constant. By using the above formula (1), the temperature slope of the thermal sensor 110 can be easily calculated by using only one parameter sensed by the sensing circuit 120.



FIG. 2 is a diagram showing different corner cases and the corresponding temperature slopes according to one embodiment of the present invention. As shown in FIG. 2, the parameter is the base-emitter voltage, and the base-emitter voltage of the thermal sensor 110 is linear with temperature. By using the formula (1), the slope of the linear relationship between the base-emitter voltage of the thermal sensor 110 and the temperature can be determined, for any corner case of the thermal sensor 110 (e.g., slow BJT (BJT_SS), typical BJT (BJT_TT) and fast BJT (BJT_FF) shown in FIG. 2).



FIG. 3 is a diagram showing different corner cases and the corresponding temperature slopes according to another embodiment of the present invention. As shown in FIG. 3, the parameter is the delta base-emitter voltage, and the delta base-emitter voltage of the thermal sensor 110 is linear with temperature. By using the formula (1), the slope of the linear relationship between the delta base-emitter voltage of the thermal sensor 110 and the temperature can be determined, for any corner case of the thermal sensor 110 (e.g., slow BJT (BJT_SS), typical BJT (BJT_TT) and fast BJT (BJT_FF) shown in FIG. 3).


It is noted that the above formula (1) is for illustrative, not a limitation of the preset invention. In other embodiments, as long as the temperature slope of the thermal sensor 110 can be easily calculated by using the parameter sensed by the sensing circuit 120 under a single temperature, the temperature slope can be obtained by using other calculation steps, for example, the temperature slope may be a quadratic function of the parameter.


In addition, the parameter obtained under the normal temperature can serve as an offset, for subsequent use when the system 100 needs to detects temperature.


After the temperature slope calibration unit 130 determines the adaptive temperature slope, the temperature calculation circuit 140 can store this temperature slope and uses this temperature slope with the offset to determine the temperature. For example, when the system 100 needs to determine the temperature, the temperature calculation circuit 140 can use the currently sensed parameter of the thermal sensor 110 and the previously determined temperature slope and offset to calculate the current temperature, that is the current temperature is equal to the temperature slope multiplied by the currently sensed parameter plus the offset.



FIG. 4 is a flowchart of an adaptive temperature slope calibration method according to one embodiment of the present invention. Referring to FIG. 4 and above embodiments, the flow is described as follows.


Step 400: the flow starts.


Step 402: set one temperature environment.


Step 404: obtain a parameter of a thermal sensor under the temperature environment.


Step 406: calibrate a temperature slope of the thermal sensor according to the parameter of the thermal sensor.


Step 408: store the temperature slope of the thermal sensor for subsequent use of detecting temperature.


Briefly summarized, in the adaptive temperature slope calibration method of the present invention, the temperature slope can be calculated by using the BJT parameter (s) obtained in only one temperature environment. Therefore, since only one temperature environment is required to be established, the calibration step has lower costs and the system can complete the temperature slope calibration in a short time.


Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.

Claims
  • 1. An adaptive temperature slope calibration method of a thermal sensor, comprising: obtaining a parameter of the thermal sensor under a temperature environment;calibrating a temperature slope of the thermal sensor by using the parameter of the thermal sensor obtained under the temperature environment without using parameter(s) of the thermal sensor under other temperature environment(s); andstoring the temperature slope of the thermal sensor for subsequent use of detecting temperature.
  • 2. The adaptive temperature slope calibration method of claim 1, wherein the thermal sensor comprises at least one bipolar junction transistor (BJT), and the step of obtaining the parameter of the thermal sensor under the temperature environment comprises: generating the parameter of the thermal sensor according to a base-emitter voltage of the BJT.
  • 3. The adaptive temperature slope calibration method of claim 1, wherein the thermal sensor comprises at least one BJT, and the step of obtaining the parameter of the thermal sensor under the temperature environment comprises: generating the parameter of the thermal sensor according to a delta base-emitter voltage of the BJT.
  • 4. The adaptive temperature slope calibration method of claim 1, wherein the thermal sensor comprises at least one BJT, and the step of obtaining the parameter of the thermal sensor under the temperature environment comprises: generating a frequency signal to serve as the parameter of the thermal sensor according to a base-emitter voltage of the BJT or a delta base-emitter voltage of the BJT.
  • 5. The adaptive temperature slope calibration method of claim 1, wherein the thermal sensor comprises at least one BJT, and the step of obtaining the parameter of the thermal sensor under the temperature environment comprises: generating the parameter of the thermal sensor according to a current of the BJT.
  • 6. The adaptive temperature slope calibration method of claim 1, wherein the step of calibrating the temperature slope of the thermal sensor by using the parameter of the thermal sensor obtained under the temperature environment without using the parameter(s) of the thermal sensor under the other temperature environment(s) comprises: using the parameter of the thermal sensor obtained under the temperature environment, a reference value of the temperature slope and a reference value of the parameter of the thermal sensor to calculate the temperature slope of the thermal sensor.
  • 7. The adaptive temperature slope calibration method of claim 6, wherein the step of using the parameter of the thermal sensor obtained under the temperature environment, the reference value of the temperature slope and the reference value of the parameter of the thermal sensor to calculate the temperature slope of the thermal sensor comprises: calculating the parameter of the thermal sensor by using a formula: T_slope = T_slope_golden + ((P_calibrate/P_golden) -1) *C, wherein “T_slope” is the temperature slope, “P_calibrate” is the parameter of the thermal sensor obtained under the temperature environment, “T_slope_golden” is the reference value of the temperature slope, “P_golden” is the reference value of the parameter of the thermal sensor, and “C” is a constant.
  • 8. The adaptive temperature slope calibration method of claim 6, wherein the thermal sensor comprises at least one BJT, and the parameter of the thermal sensor obtained under the temperature environment is generated according to a base-emitter voltage of the BJT or a delta base-emitter voltage of the BJT.
  • 9. A system, comprising: a thermal sensor;a sensing circuit, coupled to the thermal sensor, configured to obtain a parameter of the thermal sensor under a temperature environment; anda temperature slope calibration unit, configured to calibrate a temperature slope of the thermal sensor by using the parameter of the thermal sensor obtained under the temperature environment without using parameter(s) of the thermal sensor under other temperature environment(s), wherein the temperature slope of the thermal sensor is stored for subsequent use of detecting temperature.
  • 10. The system of claim 9, wherein the thermal sensor comprises at least one bipolar junction transistor (BJT), and the sensing circuit generates the parameter of the thermal sensor according to a base-emitter voltage of the BJT.
  • 11. The system of claim 9, wherein the thermal sensor comprises at least one BJT, and the sensing circuit generates the parameter of the thermal sensor according to a delta base-emitter voltage of the BJT.
  • 12. The system of claim 9, wherein the thermal sensor comprises at least one BJT, and the sensing circuit generates a frequency signal to serve as the parameter of the thermal sensor according to a base-emitter voltage of the BJT or a delta base-emitter voltage of the BJT.
  • 13. The system of claim 9, wherein the thermal sensor comprises at least one BJT, and the sensing circuit generates the parameter of the thermal sensor according to a current of the BJT.
  • 14. The system of claim 9, wherein temperature slope calibration unit uses the parameter of the thermal sensor obtained under the temperature environment, a reference value of the temperature slope and a reference value of the parameter of the thermal sensor to calculate the temperature slope of the thermal sensor.
  • 15. The system of claim 14, wherein the temperature slope calibration unit calculates the parameter of the thermal sensor by using a formula: T_slope = T_slope_golden + ((P_calibrate/P_golden)-1)*C, wherein “T_slope” is the temperature slope, “P_calibrate” is the parameter of the thermal sensor obtained under the temperature environment, “T_slope_golden” is the reference value of the temperature slope, “P_golden” is the reference value of the parameter of the thermal sensor, and “C” is a constant.
  • 16. The system of claim 14, wherein the thermal sensor comprises at least one BJT, and temperature slope calibration unit generates the parameter of the thermal sensor obtained under the temperature environment is generated according to a base-emitter voltage of the BJT or a delta base-emitter voltage of the BJT.
CROSS REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application No. 63/299,420, filed on January 14th, 2022. The content of the application is incorporated herein by reference.

Provisional Applications (1)
Number Date Country
63299420 Jan 2022 US