SINGLE-POINT TEMPERATURE CALIBRATION OF RESISTANCE-BASED TEMPERATURE MEASUREMENTS

20230366754 · 2023-11-16

    Inventors

    Cpc classification

    International classification

    Abstract

    A system and method provide on-line, wafer-level, die-level, or package-level thermal calibration of an integrated measurement resistor with a single temperature insertion. The system includes a measurement resistor integrated on a substrate with an unknown temperature coefficient and a temperature reference sensor thermally coupled to the measurement resistor. A measurement circuit measures an indication of a resistance of the measurement resistor. An electrically-controllable integrated heat source is operated by a controller to change a temperature of the measurement resistor and the temperature reference sensor and stores values of the resistance indication and the sensed temperature corresponding to multiple temperatures of the temperature of the measurement resistor and the temperature reference sensor. The controller generates or approximates a mathematical relationship between the resistance of the measurement resistor and the temperature of the measurement resistor and the temperature reference sensor from the stored values.

    Claims

    1. A system, comprising: a measurement resistor integrated on a substrate and having an unknown temperature coefficient; a temperature reference sensor thermally coupled to the measurement resistor; a measurement circuit for measuring an indication of a resistance of the measurement resistor; an analog-to-digital converter having an input coupled to the temperature reference sensor for providing an indication of a temperature of the measurement resistor and the temperature reference sensor; an electrically-controllable heat source integrated on the substrate and thermally coupled to the measurement resistor and the temperature reference sensor; and a controller having an output coupled to the electrically-controllable heat source, a first input coupled to an output of the analog-to-digital converter and a second input coupled to an output of the measurement circuit, wherein the controller operates the electrically-controllable heat source to change a temperature of the measurement resistor and the temperature reference sensor and stores first values of the indication of the resistance of the measurement resistor provided from the measurement circuit and second values of the indication of a temperature of the measurement resistor and the temperature reference sensor corresponding to multiple temperatures of the temperature of the measurement resistor and the temperature reference sensor, wherein the controller further generates or approximates a mathematical relationship between the resistance of the measurement resistor and the temperature of the measurement resistor and the temperature reference sensor from the first and second values.

    2. The system of claim 1, wherein the controller further determines a resistance of the measurement resistor with the electrically-controllable heat source disabled, by receiving a measure of an ambient temperature of the measurement resistor and the temperature reference sensor from the analog-to-digital converter and an indication of an ambient temperature resistance from the measurement circuit, and applying the mathematical relationship to the measure of the ambient temperature of the measurement resistor and the temperature reference sensor and the ambient temperature resistance from the measurement circuit to correct the ambient temperature resistance.

    3. The system of claim 2, wherein the controller operates the electrically-controllable heat source and stores the first values and second values during a wafer or a package test, wherein the controller further generates or approximates the mathematical relationship during the wafer or package test, and wherein the controller receives the measure of the ambient temperature of the measurement resistor and the temperature reference sensor from the analog-to-digital converter and an indication of an ambient temperature resistance from the measurement circuit during on-line operation, and applies the mathematical relationship to the measure of the ambient temperature of the measurement resistor and the temperature reference sensor and the ambient temperature resistance from the measurement circuit to correct the ambient temperature resistance.

    4. The system of claim 1, wherein the measurement circuit provides an indication of a measured quantity as an output, wherein the controller corrects the measured output by enforcing the mathematical relationship using the resistance of the measurement resistor and the temperature of the measurement resistor.

    5. The system of claim 4, wherein the measurement resistor is one of a plurality of measurement resistors that provide multiple indications of measured quantities as outputs, wherein the measurement circuit is coupled to the plurality of similar measurement resistors, wherein the controller further corrects the measured outputs by enforcing the mathematical relationship using the measured resistances of the plurality of similar measurement resistors and the temperature of the measurement resistor.

    6. The system of claim 1, wherein the electrically-controllable heat source is a programmable heat source thermally coupled to the measurement resistor and the temperature reference sensor, and wherein the controller selects a different heat level of the programmable heat source for the multiple temperatures.

    7. The system of claim 1, wherein the controller further generates or approximates the mathematical relationship by enforcing a functional temperature dependence assumption for the resistance of the measurement resistor.

    8. The system of claim 7, wherein the functional temperature dependence assumption is a linear temperature dependence.

    9. The system of claim 1, wherein the controller comprises a non-volatile memory and stores descriptors of the mathematical relationship in the non-volatile memory.

    10. The system of claim 1, wherein the controller operates the electrically-controllable heat source and stores the first values and second values during a wafer or a package test, and wherein the controller further generates or approximates the mathematical relationship during the wafer or package test.

    11. A method of thermally compensating a measurement resistor, comprising: providing the measurement resistor, wherein the measurement resistor has an unknown temperature coefficient and is integrated on a substrate; thermally coupling a temperature reference sensor to the measurement resistor; measuring an indication of a resistance of the measurement resistor; providing an indication of a temperature of the measurement resistor and the temperature reference sensor from an analog-to-digital converter having an input coupled to the temperature reference sensor; heating the measurement resistor and the temperature reference sensor with an electrically-controllable heat source that is integrated on the substrate and thermally coupled to the measurement resistor and the temperature reference sensor; and operating the electrically-controllable heat source to change a temperature of the measurement resistor and the temperature reference sensor; storing first values of the indication of the resistance of the measurement resistor provided from the measurement circuit and second values of the indication of a temperature of the measurement resistor and the temperature reference sensor corresponding to multiple temperatures of the temperature of the measurement resistor and the temperature reference sensor; and generating or approximating a mathematical relationship between the resistance of the measurement resistor and the temperature of the measurement resistor and the temperature reference sensor from the first and second values.

    12. The method of claim 11, further comprising: determining a resistance of the measurement resistor with the electrically-controllable heat source disabled, by receiving a measure of an ambient temperature of the measurement resistor and the temperature reference sensor from the analog-to-digital converter and an indication of an ambient temperature resistance from the measurement circuit; and applying the mathematical relationship to the measure of the ambient temperature of the measurement resistor and the temperature reference sensor and the ambient temperature resistance from the measurement circuit to correct the ambient temperature resistance.

    13. The method of claim 12, wherein the operating and storing are performed during a wafer or a package test, wherein the generating or approximating is also performed during the wafer or package test, and wherein the determining the resistance of the measurement resistor with the heat source disabled and the applying the mathematical relationship are performed during on-line operation.

    14. The method of claim 11, wherein the measuring provides an indication of a measured quantity as an output, and wherein the method further comprises correcting the measured output by enforcing the mathematical relationship using the resistance of the measurement resistor and the temperature of the measurement resistor.

    15. The method of claim 14, wherein the measurement resistor is one of a plurality of measurement resistors that provide multiple indications of measured quantities as outputs, wherein the measuring measures a resistance of the plurality of similar measurement resistors, and wherein the method further comprises correcting the measured outputs by enforcing the mathematical relationship using the measured resistances of the plurality of similar measurement resistors and the temperature of the measurement resistor.

    16. The method of claim 11, wherein the electrically-controllable heat source is a programmable heat source thermally coupled to the measurement resistor and the temperature reference sensor, and wherein the operating the electrically-controllable heat source selects a different heat level of the programmable heat source for the multiple temperatures.

    17. The method of claim 11, wherein the generating or approximating the mathematical relationship enforces a functional temperature dependence assumption for the resistance of the measurement resistor.

    18. The method of claim 17, wherein the functional temperature dependence assumption is a linear temperature dependence.

    19. The method of claim 11, wherein the storing stores descriptors of the mathematical relationship in a non-volatile memory.

    20. The method of claim 11, wherein the operating the electrically-controllable heat source and storing the first values and second values are performed during a wafer or a package test, and wherein the generating or approximating the mathematical relationship is performed during the wafer or package test.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0010] FIG. 1 is a block diagram showing an example integrated circuit 10, in accordance with an embodiment of the disclosure.

    [0011] FIG. 2 is a perspective view of an example integrated circuit assembly 20, that may be used to implement example integrated circuit 10, in accordance with an embodiment of the disclosure.

    [0012] FIG. 3 is a cross-section view of integrated circuit assembly 20 of FIG. 2, in accordance with an embodiment of the disclosure.

    [0013] FIG. 4A is a graph depicting variation of resistance error of an example resistor within integrated circuit 10 that may be temperature-compensated by techniques in accordance with embodiments of the disclosure.

    [0014] FIG. 4B is a graph depicting residual error compared to the variation of resistance error of the example resistor after correction in example integrated circuit 10, in accordance with an embodiment of the disclosure.

    [0015] FIG. 5 is a flowchart depicting a method that may be carried out by controller 18 of example integrated circuit 10, in accordance with an embodiment of the disclosure.

    [0016] FIG. 6 is a flowchart depicting another method that may be carried out by controller 18 of example integrated circuit 10, in accordance with an embodiment of the disclosure.

    DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENT

    [0017] The present disclosure encompasses systems and methods that may provide on-line, wafer-level, die-level, or package-level thermal calibration of an integrated measurement resistor with a single temperature insertion. The system includes a measurement resistor integrated on a substrate with an unknown temperature coefficient and a temperature reference sensor thermally coupled to the measurement resistor. A measurement circuit measures an indication of a resistance of the measurement resistor. An electrically-controllable integrated heat source is operated by a controller to change a temperature of the measurement resistor and the temperature reference sensor and stores values of the resistance indication and the sensed temperature corresponding to multiple temperatures of the temperature of the measurement resistor and the temperature reference sensor. The controller may then generate or approximate a mathematical relationship between the resistance of the measurement resistor and the temperature of the measurement resistor and the temperature reference sensor from the stored values. The mathematical relationship may then be used to provide calibration from a single temperature insertion by obtaining the resistance indication at the inserted temperature and using the mathematical relationship to correct measurements made at other measured temperatures.

    [0018] Referring now to FIG. 1, a block diagram is shown, illustrating an example integrated circuit (IC) 10, in accordance with an embodiment of the disclosure. Example integrated circuit 10 implements a system that includes a controller 18, which performs measurements and calibration actions to estimate a resistance of a resistor R.sub.C within example IC 10 and generate information about the thermal characteristics of resistor R.sub.C that may be used in subsequent calculations. The subsequent calculations may be performed by controller 18 or another processing device, in accordance with temperature coefficient information stored within a non-volatile memory (NVRAM) 17. Resistor R.sub.C1 may, for example, be part of a series-connected loudspeaker, earspeaker, motor or other circuit, and used to sense the current passing through the circuit by measuring a voltage drop across resistor R.sub.C1. In other examples, resistor R.sub.C1 may be used to measure a voltage, by measuring a current through resistor R.sub.C1. By knowing the present temperature of resistor R.sub.C1, and temperature coefficient(s) of resistor R.sub.C1 that describe the temperature variation of the resistance of resistor R.sub.C1, accurate results may be obtained in such current and voltage measurements beyond those that use either a fixed-resistance value or a temperature-corrected value that is only based on a known/average temperature coefficient for resistor R.sub.C1. In order to perform on-line, package level, die-level or wafer-level measurement of the temperature characteristics of resistor R.sub.C, a controllable heat source 12 is provided within example IC 10, which in the example is a set of selectable resistors R.sub.H1-R.sub.H4. While switched resistors are provided as one example of a controllable heat source, other implementations are contemplated by the disclosure, including a variable voltage source/variable current source that may supply a single heat source resistor with a variable level of heat. By setting a fixed level of heat, the temperature of resistor R.sub.C within example IC 10 may be allowed to stabilize and a resistance of resistor R.sub.C measured by a measurement circuit 15. The value of the resistance measurement, and the value of the temperature of resistor R.sub.C may be stored for use in determining a mathematical description of the temperature-dependence of the resistance of thin-film resistor R.sub.C. In some implementations, resistor R.sub.C may be dedicated for thermal characterization of multiple resistors R.sub.C2-R.sub.CN included within integrated circuit 20, with the expectation that their thermal behavior will be the same, or resistor R.sub.C may be, as described above, be part of another circuit that may be either selectively enabled/coupled to resistor R.sub.C, or capable of performing the resistance measurement itself. Control of heat source 12, which is provided by switches S1-S4 in the example, may be internal to example IC 10, as shown in FIG. 1, or both of measurement circuit 15 and/or controller 18 may be external to example IC 10.

    [0019] In order to determine the temperatures at which measurements of the resistance of resistor R.sub.C1 are obtained, and also to determine the ambient temperature of thin-film resistor R.sub.C1 at any future time for appropriate calibration of subsequent measurements using thin-film resistor R.sub.C1, a reference temperature sensor 14 is incorporated within example IC 10 and coupled to controller 18 via an analog-to-digital converter 16. In order to ensure that the temperatures of temperature sensor 14 and resistor R.sub.C1 are the same and that heat from controllable heat source 12 is evenly distributed across resistor R.sub.C1, resistor R.sub.C1 may be a thin-film resistor structure within example IC 10 that includes thermal management features and thermal coupling features as described in co-pending U.S. Patent Application entitled: “INTEGRATED THIN-FILM RESISTIVE SENSOR WITH INTEGRATED HEATER AND METAL LAYER THERMAL EQUALIZER”, Attorney Docket No. CLIS4233US and filed on the same date as the instant U.S. Patent Application. The disclosure of the above-referenced U.S. Patent Application is incorporated herein by reference. With close thermal coupling of controllable heat source 12, reference temperature sensor 14, and (thin-film) resistor R.sub.C temperature equality is sufficient to provide the needed measurements and subsequent calibration calculations. Controller 18 generates or approximates a mathematical relationship relating the resistance of resistor R.sub.C to measured temperature, which may be represented as coefficients of a linear, piecewise linear, quadratic or other higher-order polynomial or transcendental function approximation that fits the resistance vs. temperature measurements. Once the mathematical relationship has been defined, a single insertion resistance/temperature measurement may be used to calibrate the system implemented by example IC 10, which sets the initial resistance value of the mathematical relationship for the measured temperature. Controller 18 may be, for example, a microcontroller core that performs computations according to a program stored in NVRAM 17 to obtain the coefficients of the mathematical relationships and store the coefficients in NVRAM 17. Another program performs the calibration and may directly compute resistance (or other resistance-dependent values) from a measured temperature, the stored coefficients and the single point resistance/temperature measurement.

    [0020] Referring now to FIG. 2, a perspective view of an example integrated circuit assembly 20 is shown, in accordance with an embodiment of the disclosure, and as disclosed in the above-incorporated U.S. Patent Application, and in which the features of example IC 10 may be incorporated. A thin-film resistor 30, is enclosed in a temperature-equalizing structure provided by a first metal layer 24A disposed beneath thin-film resistor 30 and a second metal layer 24B disposed above thin-film resistor 30. Since metal layers 24A, 24B will generally be laminated or deposited atop a substrate 22, an insulating layer 26A is provided between metal layer 24A and thin-film resistor 30, and an insulating layer 26B is provided between thin-film resistor 30 and metal layer 24B. A first plurality of metal vias 28A connects metal layers 24A, 24B along the length of thin-film resistor 30 on both sides of thin-film resistor 30 and further extend to substrate 22, which may be heated to raise the temperature of thin-film resistor 30 as described above. Electrical connections to thin-film resistor 30 are provided at extensions 30A of the ends of thin-film resistor 30 outside of the region occupied by metal layers 24A, 24B, by a second plurality of vias 28B that may also provide thermal coupling of thin-film resistor 30 to substrate 22. By surrounding almost all of the body of thin-film resistor 30 with the thermal-equalizing structure provided by 24A, 24B and vias 28A, and by coupling the ends of thin-film resistor 30 to substrate 22 with vias 28B, the temperature of substrate 22 near thin-film resistor 30, as described below, will closely match the temperature thin-film resistor 30, and the temperature of thin-film resistor 30 should be substantially equal across the length and width of thin-film resistor 30. Controllable heat source 12 and temperature sensor 14 are thermally coupled to vias 28A, e.g., by integrating selectable resistors R.sub.H1-R.sub.H4 and temperature sensor 14 on substrate 22 proximate vias 28A and underneath metal layer 24A. The remainder of elements illustrated within example IC 10 of FIG. 1 may be integrated elsewhere on substrate 22.

    [0021] Referring now to FIG. 3, a cross-section view of example integrated circuit assembly 20 of FIG. 2 is shown, in accordance with an embodiment of the disclosure. Reference temperature sensor 14 is located between metal layer 24A and a top surface of substrate 22 and may contact metal layer 24A, as well as substrate 22. Heating resistors R.sub.H are located on a bottom face of substrate 22. Extensions 30A of thin-film resistor 30 are seen extending past the region of metal layers 24A, 24B, so that vias 28B are capable of providing electrically-isolated connections to thin film resistor 30. While example integrated circuit assembly 20 of FIG. 2 and FIG. 3 as disclosed in the above-incorporated U.S. Patent Application, as well as other embodiments of integrated circuit structures disclosed therein, may be used to provide a calibrated integrated circuit resistor as incorporated in the systems and used in the methods described herein, the specific structural implementation of such examples is not a requirement of the present disclosure, as resistors other than thin-film resistors, and resistors not enclosed in the thermal management structures disclosed in the above-incorporated U.S. Patent Application may also be calibrated by the techniques disclosed herein.

    [0022] Referring now to FIG. 4A, a graph 40 depicts a variation of uncorrected resistance measurement error 42A of an example resistor that may be corrected by the system implemented by example IC 10. Since, for a fixed current through a sense resistor, the voltage is proportional to the resistance, graph 40 also conforms to the shape of an error in sense voltage, i.e., the error in a voltage drop across the resistor when the resistor is used to sense current. As will be illustrated below, controller 18 may correct a resistance value, or an indication of resistance, such as voltage drop. The percentage error in the resistance measurement is illustrated as a function of temperature, which will affect any measurement involving the example resistor, e.g., voltage drop, as mentioned above, or a current measurement, in which the current for a fixed voltage is inversely proportional to the resistance. As seen, near the extremes of the measurement temperature range, at 150 degrees Celsius and at approximately −40 degrees Celsius, the error in the measured resistance is approximately 0.4%.

    [0023] The system implemented by example IC 10, as described above, generates or approximates a mathematical relationship between the resistance of resistor R.sub.C1 as measured at one temperature and the resistance of resistor R.sub.C1 at another temperature. Therefore, once an ambient temperature is measured and an indication of the resistance of resistor R.sub.C1 is obtained at that temperature, the resistance of resistor R.sub.C1 can be accurately obtained at another measured temperatures, without requiring another indication of the resistance of resistor R.sub.C1 at that other temperature. For example, a mathematical relationship for a measured voltage V.sub.meas across the resistor R.sub.C1 as a function of temperature may be determined from:


    V.sub.meas=i.sub.rc*R.sub.0(1+TCR.sub.1ΔT+TCR.sub.2ΔT.sup.2),

    where T is temperature, i.sub.rc is a current through resistor R.sub.C1, R.sub.0 is a base resistance value for resistor R.sub.C1, and TCR.sub.1 and TCR.sub.2 are correction factors that may be determined to describe the behavior of the sense resistor with respect to changing temperature. Although a second order polynomial equation is illustrated by the example above, other equations, including higher-order polynomials, or other empirical function expressions may be used to describe a mathematical relationship of resistor R.sub.C1 as a function of temperature. The correction factors TCR.sub.1 and TCR.sub.2 may be stored in NVRAM 17 subsequently used to correct measurements. The correction factors may be preloaded as values determined at test or the correction factors may be determined at a start-up or initialization period of example IC 10. A voltage drop correction value V.sub.corr may then be calculated as:


    V.sub.corr=i.sub.rcR.sub.0(1+TCR.sub.1ΔT+TCR.sub.2ΔT.sup.2)(TCR.sub.1ΔT+TCR.sub.2ΔT.sup.2),

    and the computed V.sub.corr value may be added to a measured voltage drop value to obtain a calibrated measurement value V.sub.calib to compensate for variations in the resistor R.sub.C1, when resistor R.sub.C1 is used to sense current via voltage drop V.sub.meas across resistor R.sub.C. The V.sub.calib value may then be used by other circuitry to determine a sense current and used for further control of a system incorporating resistor R.sub.C1 as a sense resistor.

    [0024] Referring now to FIG. 4B, a graph 44 depicts a residual error 42B, compared to the variation of uncorrected resistance error 42A of the example resistor after correction by the system implemented by example IC 10, in accordance with an embodiment of the disclosure. As can be seen in graph 44, the corrected resistance error 42B is zero at one point within multiple temperature ranges, which may or may not correspond to temperature data points for which the exact resistance was measured by example IC 10. For example, if the mathematical relationship modeled by controller 18 is a polynomial having an order sufficient to fit the temperature/resistance measurement data exactly at multiple curve-fit points, then the error will be zero at temperatures corresponding to those curve-fit points, and be limited in value due to the limited error in the resistance measurement that exists between the curve-fit points, as shown in corrected resistance error 42B. For a quadratic (second-order) model as given by the example above, the zero-error points will not necessarily fall on the measured temperatures, but the error due to the difference between the exact resistance values and the modeled resistance values will be limited within the multiple temperature ranges depicted in graph 44. Within the individual temperature ranges between the zero-error points, the error is generally within +/−0.05% resistance error, which is at least a 10× improvement over uncorrected resistance error 42A. As mentioned above, controller 18 may make corrections based on a comparison of measured voltage drop with expected voltage drop values.

    [0025] Referring now to FIG. 5, a flowchart depicting a method that may be carried out by controller 18 of example IC 10 is shown, in accordance with an embodiment of the disclosure. First, controllable heat source 12 is activated on substrate 22 (step 50). The temperature output from temperature sensor 14 is measured (step 51) until a target temperature is reached (decision 52). Once the target temperature is reached, the indication of resistance of resistor R.sub.C1 is obtained (step 53) and stored along with the measured temperature (step 54) in NVRAM 17. Until the last target temperature has been reached (decision 55), the heater setting is changed (step 56) and the temperature output from temperature sensor 14 is again measured (step 51) until the next target temperature is reached (decision 52). At the next target temperature (decision 52) the indication of resistance of resistor R.sub.C1 is obtained (step 53) and stored along with the measured temperature (step 54) in NVRAM 17. Once the resistance of resistor R.sub.C1 is obtained at all of the target temperatures, the temperature-compensation (Tempco) model may be computed by controller 18 (step 57) and used for subsequent measurement corrections.

    [0026] Referring now to FIG. 6, a flowchart depicting another method that may be carried out by controller 18 of example system 10, in accordance with an embodiment of the disclosure. The temperature of resistor R.sub.C1 is measured (step 60), along with the indication of resistance of resistor R.sub.C1 (step 62), e.g., a voltage drop across resistor R.sub.C1, and a corrected resistance indication is computed from the Tempco model (step 64). For example, in systems in which resistor R.sub.C1 is used to measure current by measuring a voltage drop with measurement circuit 15, an accurate current measurement value may be computed directly from the voltage drop by applying the Tempco model to the voltage drop across resistor R.sub.C1. Similarly, when resistors R.sub.C2-R.sub.CN are included and used to measure other currents, the current measurement values may be corrected by the same Tempco model obtained for resistor R.sub.C1, as the resistance values of resistors R.sub.C2-R.sub.CN should closely track the resistance of resistor R.sub.C1.

    [0027] As mentioned above, portions of the disclosed processes may be carried out by the execution of a collection of program instructions forming a computer program product stored on a non-volatile memory, but that also exist outside of the non-volatile memory in tangible forms of storage forming a computer-readable storage medium. The computer-readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. Specific examples of the computer-readable storage medium include the following: a hard disk, semiconductor volatile and non-volatile memory devices, a portable compact disc read-only memory (CD-ROM) or a digital versatile disk (DVD), a memory stick, a floppy disk or other suitable storage device not specifically enumerated. A computer-readable storage medium, as used herein, is not to be construed as being transitory signals, such as transmission line or radio waves or electrical signals transmitted through a wire. It is understood that blocks of the block diagrams described above may be implemented by computer-readable program instructions executed by a digital signal processor (DSP) or other processor that executes computer-readable program instructions. These computer readable program instructions may also be stored in other storage forms as mentioned above and may be downloaded into a non-volatile memory for execution therefrom. However, the collection of instructions stored on media other than system non-volatile memory described above also form a computer program product that is an article of manufacture including instructions which implement aspects of the functions/actions specified in the block diagram block or blocks.

    [0028] In summary, this disclosure shows and describes systems and methods for providing a thermally compensated resistor-based measurement. The methods are methods of operation of the systems. The systems may include a measurement resistor integrated on a substrate and having an unknown temperature coefficient, a temperature reference sensor thermally coupled to the measurement resistor, a measurement circuit for measuring an indication of a resistance of the measurement resistor, an analog-to-digital converter having an input coupled to the temperature reference sensor for providing an indication of a temperature of the measurement resistor and the temperature reference sensor, an electrically-controllable heat source integrated on the substrate and thermally coupled to the measurement resistor and the temperature reference sensor, and a controller having an output coupled to the electrically-controllable heat source, a first input coupled to an output of the analog-to-digital converter and a second input coupled to an output of the measurement circuit. The controller may operate the electrically-controllable heat source to change a temperature of the measurement resistor and the temperature reference sensor and may store first values of the indication of the resistance of the measurement resistor provided from the measurement circuit and second values of the indication of a temperature of the measurement resistor and the temperature reference sensor corresponding to multiple temperatures of the temperature of the measurement resistor and the temperature reference sensor. The controller may further generate or approximate a mathematical relationship between the resistance of the measurement resistor and the temperature of the measurement resistor and the temperature reference sensor from the first and second values.

    [0029] In some example embodiments, the controller may further determine a resistance of the measurement resistor with the electrically-controllable heat source disabled, by receiving a measure of an ambient temperature of the measurement resistor and the temperature reference sensor from the analog-to-digital converter and an indication of an ambient temperature resistance from the measurement circuit, and may apply the mathematical relationship to the measure of the ambient temperature of the measurement resistor and the temperature reference sensor and the ambient temperature resistance from the measurement circuit to correct the ambient temperature resistance. In some example embodiments, the controller may operate the electrically-controllable heat source and store the first values and second values during a wafer or a package test, and the controller may further generate or approximate the mathematical relationship during the wafer or package test. The controller may receive the measure of the ambient temperature of the measurement resistor and the temperature reference sensor from the analog-to-digital converter and may receive an indication of an ambient temperature resistance from the measurement circuit during on-line operation and may apply the mathematical relationship to the measure of the ambient temperature of the measurement resistor and the temperature reference sensor and the ambient temperature resistance from the measurement circuit to correct the ambient temperature resistance.

    [0030] In some example embodiments, the measurement circuit may provide an indication of a measured quantity as an output, and the controller may correct the measured output by enforcing the mathematical relationship using the resistance of the measurement resistor and the temperature of the measurement resistor. In some example embodiments, the measurement resistor may be one of a plurality of measurement resistors that provide multiple indications of measured quantities as outputs. The measurement circuit may be coupled to the plurality of similar measurement resistors, and the controller may correct the measured outputs by enforcing the mathematical relationship using the measured resistances of the plurality of similar measurement resistors and the temperature of the measurement resistor. In some example embodiments, the electrically-controllable heat source may be a programmable heat source thermally coupled to the measurement resistor and the temperature reference sensor, and controller may select a different heat level of the programmable heat source for the multiple temperatures.

    [0031] In some example embodiments, the controller may further generate or approximate the mathematical relationship by enforcing a functional temperature dependence assumption for the resistance of the measurement resistor. The functional temperature dependence assumption may be a linear temperature dependence. In some example embodiments, the controller includes a non-volatile memory and stores descriptors of the mathematical relationship in the non-volatile memory. In some example embodiments, the controller may operate the electrically-controllable heat source and store the first values and second values during a wafer or a package test, and the controller may further generate or approximate the mathematical relationship during the wafer or package test.

    [0032] While the disclosure has shown and described particular embodiments of the techniques disclosed herein, it will be understood by those skilled in the art that the foregoing and other changes in form, and details may be made therein without departing from the spirit and scope of the disclosure. For example, the techniques shown above may be applied in a calibration of a sensor other than a resistive sensor.