Temperature sensing device and method for calibrating same

The temperature sensing device improves accuracy by using a multi-circuit system to calibrate and eliminate errors in sensing signals, ensuring precise temperature measurement.

JP7595128B2Active Publication Date: 2024-12-05GLOBAL UNICHIP CORPORATION +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023139401
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2023-04-14
Filing Date
2023-08-30
Publication Date
2024-12-05
Estimated Expiration
2043-08-30

AI Technical Summary

Technical Problem

Temperature sensing devices suffer from inaccuracies due to errors in sensing signals, which affect the output values and reduce their sensing accuracy.

Method used

A temperature sensing device comprising a sensor, converter, sensing result generation circuit, error circuit, calibration circuit, and output circuit, which generates and calibrates compensation values to eliminate errors based on reference values and sensing differences, improving accuracy.

Benefits of technology

The device enhances sensing accuracy by eliminating errors through calibration, ensuring the output values are free from distortion and accurately reflect ambient temperature.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007595128000022
    Figure 0007595128000022
  • Figure 0007595128000023
    Figure 0007595128000023
  • Figure 0007595128000024
    Figure 0007595128000024
Patent Text Reader

Abstract

PURPOSE: To provide a temperature sensing device and a calibration method of a temperature device which can improve sensing accuracy of a temperature sensing device.SOLUTION: A temperature sensing device creates a first digital sensing value and a second digital sensing value corresponding to an ambient temperature, on the basis of different conditions. The temperature sensing device creates a first sensing result value, on the basis of a first digital sensing value, a first compensation value, and a sensing difference value between the first digital sensing value and the second digital sensing value, and creates a second sensing result value, on the basis of a second digital sensing value, a second compensation value and a sensing difference value therebetween. The temperature sensing device acquires an error from the first sensing result value and the second sensing result value, on the basis of a first reference value and a second reference value. The temperature sensing device calibrates the first compensation value, on the basis of the error.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to sensing devices, and more particularly to temperature sensing devices and methods for calibrating temperature sensing devices. [Background technology]

[0002] Generally, a temperature sensing device senses temperature via a sensor and generates at least one sensing signal corresponding to the temperature. The temperature sensing device converts the sensing signal into an output value. The sensing signal may include errors. The errors may affect the output value, thereby reducing the sensing accuracy of the temperature sensing device. Summary of the Invention [Problem to be solved by the invention]

[0003] The present invention provides a temperature sensing device and a method for calibrating the temperature sensing device, which can improve the sensing accuracy of the temperature sensing device. [Means for solving the problem]

[0004] In one embodiment of the present invention, a temperature sensing device is provided, including a sensor, a converter, a sensing result generating circuit, an error circuit, a calibration circuit, and an output circuit. The sensor generates a first sensing signal corresponding to an ambient temperature based on a first condition, and generates a second sensing signal corresponding to an ambient temperature based on a second condition, and the first sensing signal is different from the second sensing signal. The converter is coupled to the sensor, where the converter converts the first sensing signal to a first digital sensing value and converts the second sensing signal to a second digital sensing value. The sensing result generating circuit is coupled to the converter, where the sensing result generating circuit generates a first sensing result value based on the first digital sensing value, the first compensation value, and a sensing difference value between the first digital sensing value and the second digital sensing value, and generates the second sensing result value based on the second digital sensing value, the second compensation value, and the sensing difference value. The error circuit is coupled to the sensing result generating circuit, and obtains a first error and a second error from the first sensing result value and the second sensing result value based on a first reference value and a second reference value. The calibration circuit is coupled to the error circuit and generates a first calibration value and a second calibration value based on the first error and the second error. The output circuit is coupled to the calibration circuit and the converter, where the output circuit generates a first calibration compensation value based on the first calibration value, generates a second calibration compensation value based on the second calibration value, and generates an output digital code value based on the first digital sensed value, the second digital sensed value, the first calibration compensation value, the second calibration compensation value, and the sensed difference value.

[0005] In one embodiment of the present invention, a calibration method suitable for a temperature sensing device is provided. The calibration method includes the following steps: generate a first sensing signal corresponding to an ambient temperature by a sensor based on a first condition, generate a second sensing signal corresponding to an ambient temperature by the sensor based on a second condition, where the first sensing signal is different from the second sensing signal; convert the first sensing signal into a first digital sensing value, and convert the second sensing signal into a second digital sensing value; generate a first sensing result value based on the first digital sensing value, a first compensation value, and a sensing difference value between the first digital sensing value and the second digital sensing value, and generate a second sensing result value based on the second digital sensing value, a second compensation value, and the sensing difference value; obtain a first error and a second error from the first sensing result value and the second sensing result value based on a first reference value and a second reference value; generate a first calibration value and a second calibration value based on the first error and the second error. A first calibration compensation value is generated based on the first calibration value, a second calibration compensation value is generated based on the second calibration value, and an output digital code value is generated based on the first digital sensed value, the second digital sensed value, the first calibration compensation value, the second calibration compensation value, and the sensed difference value. Effect of the Invention

[0006] As described above, the temperature sensing device provided in one or more embodiments of the present invention determines the first error and the second error of the first sensing signal based on the first sensing result value, the second sensing result value, the first reference value, and the second reference value, and calibrates the first compensation value based on the first error and the second error, thereby improving the sensing accuracy of the temperature sensing device.

[0007] In order to make the above easier to understand, several embodiments accompanied with drawings will be described in detail below. [Brief description of the drawings]

[0008] The accompanying drawings are included to provide a further understanding of the principles of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0009] [Figure 1] 1 is a schematic diagram showing a temperature sensing device according to a first embodiment of the present invention; [Diagram 2] 4 is a schematic diagram illustrating a first reference signal, a second reference signal, a reference difference value, a first reference value, a second reference value, and an output value according to an embodiment of the present invention. FIG. [Diagram 3] FIG. 2 is a schematic diagram illustrating a circuit of a sensor according to an embodiment of the present invention. [Figure 4] 4 is a flowchart illustrating a calibration method according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Some embodiments provided by the present invention will be described in detail with reference to the accompanying drawings. Reference numbers in the following description are considered to refer to the same or similar elements when the same reference numbers appear in different drawings. These embodiments are only a part of the present invention and do not disclose all possible implementations of the present invention. More precisely, these embodiments serve as examples of methods and devices within the scope provided in the claims.

[0011] Referring to Fig. 1, there is shown a schematic diagram of a temperature sensing device according to a first embodiment of the present invention. In this embodiment, the temperature sensing device 100 includes a sensor 110, a converter 120, a sensing result generating circuit 130, an error circuit 140, a calibration circuit 150, and an output circuit 160. The sensor 110 senses an ambient temperature TA. The sensor 110 generates a first sensing signal VBE1 corresponding to the ambient temperature TA based on a first condition, and generates a second sensing signal VBE2 corresponding to the ambient temperature TA based on a second condition.

[0012] In this embodiment, the first condition is not the same as the second condition. Thus, the first sensing signal VBE1 is different from the second sensing signal VBE2. The first condition and the second condition are the first sensing sensitivity and the second sensing sensitivity of the sensor 110, respectively. The first sensing sensitivity of the sensor 110 is designed to be different from the second sensing sensitivity. In this embodiment, the sensing sensitivity in the first condition is designed to be higher than the sensing sensitivity in the second condition. For example, in this exemplary embodiment, the first sensing signal VBE1 and the second sensing signal VBE2 are each analog voltage signals, but this should not be construed as limiting the present invention. In some embodiments, the first sensing signal VBE1 and the second sensing signal VBE2 are each analog current signals.

[0013] In this embodiment, the converter 120 is coupled to the sensor 110. The converter 120 receives a first sensing signal VBE1 and a second sensing signal VBE2 from the sensor 110. The converter 120 converts the first sensing signal VBE1 into a first digital sensing value DVBE1 and converts the second sensing signal VBE2 into a second digital sensing value DVBE2. According to this embodiment, the converter 120 may be implemented in the form of an analog-to-digital converter (ADC).

[0014] In this embodiment, the sensing result generating circuit 130 is coupled to the converter 120. The sensing result generating circuit 130 receives the first digital sensing value DVBE1 and the second digital sensing value DVBE2 from the converter 120. In addition, the sensing result generating circuit 130 receives the first compensation value K1 and the second compensation value K2. The sensing result generating circuit 130 obtains a sensing difference value ΔVBE between the first digital sensing value DVBE1 and the second digital sensing value DVBE2. Based on the first digital sensing value DVBE1, the first compensation value K1, and the sensing difference value ΔVBE, the sensing result generating circuit 130 generates a first sensing result value DVR1m. Based on the second digital sensing value DVBE2, the second compensation value K2, and the sensing difference value ΔVBE, the sensing result generating circuit 130 generates a second sensing result value DVR2m. In this embodiment, the first compensation value K1 and the second compensation value K2 are predetermined values ​​obtained in advance by simulation. In other words, the first compensation value K1 and the second compensation value K2 are each a theoretical value.

[0015] The error circuit 140 is coupled to the sensing result generating circuit 130. The error circuit 140 receives the first reference value DVR1, the second reference value DVR2, the first sensing result value DVR1m, and the second sensing result value DVR2m. The error circuit 140 obtains a first error e1 and a second error e2 from the first sensing result value DVR1m and the second sensing result value DVR2m based on the first reference value DVR1 and the second reference value DVR2.

[0016] The first reference value DVR1 is a first sensing theoretical value based on a first condition. The second reference value DVR2 is a second sensing theoretical value based on a second condition when no error occurs. That is, under the condition when no error occurs, the first digital sensing value DVBE1 is equal to the first reference value DVR1, and the second digital sensing value DVBE2 is equal to the second reference value DVR2.

[0017] In this embodiment, the first digital sensing value DVBE1 and the second digital sensing value DVBE2 are actual results of sensing values. The first digital sensing value DVBE1 includes a first error e1 and a second error e2. The second digital sensing value DVBE2 includes a first error e1. That is, the sum of the first error e1 and the second error e2 is the error between the first digital sensing value DVBE1 and the first reference value DVR1. The second error e2 is the error between the second sensing signal VSE2 and the second reference value DVR2. In this embodiment, the first error e1 and the second error e2 are error values ​​that change with at least one of the manufacturing process, the ambient temperature TA, and the design of the device, respectively.

[0018] In this embodiment, the calibration circuit 150 is coupled to the error circuit 140. The calibration circuit 150 generates a first calibration value CA and a second calibration value CB based on the first error e1 and the second error e2.

[0019] In this embodiment, output circuit 160 is coupled to calibration circuit 150 and converter 120. Output circuit 160 generates a first calibrated compensation value K1' based on the first calibration value CA and generates a second calibrated compensation value K2' based on the second calibration value CB. Output circuit 160 generates an output digital code value DOUT based on the first digital sensed value DVBE1, the second digital sensed value DVBE2, the first calibrated compensation value K1', the second calibrated compensation value K2', and the sensed difference value ΔVBE.

[0020] It should be mentioned that the temperature sensing device 100 obtains the first error e1 and the second error e2 from the first sensing result value DVR1m and the second sensing result value DVR2m based on the first reference value DVR1 and the second reference value DVR2, and calibrates the first compensation value K1 based on the determined first error e1 and the determined second error e2. The first sensing result value DVR1m is calibrated according to the calibrated first compensation value K1 to eliminate the first error e1 and the second error e2. Therefore, the result of the output digital code value DOUT is not affected by the first error e1 and the second error e2, and is therefore not distorted. In this way, the sensing accuracy of the temperature sensing device 100 can be improved.

[0021] 1 and 2, FIG. 2 is a schematic diagram showing a first reference theoretical value, a second reference theoretical value, a reference difference value, a first reference value, a second reference value, and an output value according to one embodiment of the present invention. FIG. 2 shows the temperature trends of the first sensing theoretical value VS1, the second sensing theoretical value VS2, the reference difference value ΔVS, the first reference value DVR1, the second reference value DVR2, and the output value VO (i.e., the output digital code value DOUT). The first sensing theoretical value VS1 is different from the second sensing theoretical value VS2. The reference difference value ΔVS is a difference value between the first sensing theoretical value VS1 and the second sensing theoretical value VS2. In this embodiment, the first reference value DVR1 can be obtained based on the first compensation value K1, the first sensing theoretical value VS1, and the reference difference value ΔVS. The second reference value DVR1 can be obtained based on the second compensation value K2, the second sensing theoretical value VS2, and the reference difference value ΔVS.

[0022] In this embodiment, the first sensing theoretical value VS1 and the second sensing theoretical value VS2 each have a negative linear correlation with the ambient temperature TA. Since the first sensing theoretical value VS1 and the second sensing theoretical value VS2 each have different values ​​according to the ambient temperature TA, the reference difference value ΔVS is a difference value that is not equal to 0. The reference circuit 120 can obtain the first reference value DVR1 according to formula (1), and can obtain the second reference value DVR2 according to formula (2).

[0023]

number

[0024] In this embodiment, the calculations using equations (1) and (2) can be performed by an external simulation circuit (not shown).

[0025] The external simulation circuit multiplies the first compensation value K1 by the reference differential value ΔVS to generate a first product, and adds the first product to the first sensing theoretical value VS1 to generate a first reference value DVR1. The external simulation circuit multiplies the second compensation value K2 by the reference differential value ΔVS to generate a second product, and adds the second product to the second sensing theoretical value VS2 to generate a second reference value VR2. In this embodiment, the first reference value DVR1 and the second reference value VR2 are set to be the same fixed value. Thus, the first compensation value K1 and the second compensation value K2 can be determined.

[0026] 1, the sensing result generating circuit 130 receives the first digital sensing value DVBE1, the second digital sensing value DVBE2, the first compensation value K1, and the second compensation value K2. The sensing result generating circuit 130 can obtain the first sensing result value DVR1m based on Equation (3), and can obtain the second sensing result value DVR2m based on Equation (4).

[0027]

number

[0028] The sensing result generating circuit 130 multiplies the reference difference value ΔVBE by the first compensation value K1 to generate a third product, and adds the third product to the first digital sensing value DVBE1 to generate a first sensing result value DVR1m. The sensing result generating circuit 130 multiplies the sensing difference value ΔVBE by the second compensation value K2 to generate a fourth product, and adds the fourth product to the second digital sensing value DVBE2 to generate a second sensing result value DVR2m. In addition, Equation (3) and Equation (4) include a third error dV. The existence of the third error dV affects the first sensing result value DVR1m and the second sensing result value DVR2m. In some embodiments, the third error dV does not exist. Equation (3) and Equation (4) provided in one or more embodiments of the present invention are not limited to including the third error dV.

[0029] In this embodiment, the first digital sensing value DVBE1 includes a first reference signal VBE1, a first error e1, and a second error e2. The second sensing signal VSE2 includes a second reference signal VBE2 and a first error e1. The first digital sensing value DVBE1 is shown in Equation (5). The second sensing signal VSE2 is shown in Equation (6).

[0030]

number

[0031] Therefore, by substituting equation (5) into equation (3), we obtain equation (7).

[0032]

number

[0033] Then, based on equation (1), equation (7) is simplified to equation (7').

[0034]

number

[0035] Similarly, equation (6) is substituted into equation (4) to generate equation (8).

[0036]

number

[0037] Based on equation (2), equation (8) is simplified to equation (8').

[0038]

number

[0039] In this embodiment, the sum of the first error e1 and the second error e2 is a sensing error value between the first digital sensing value DVBE1 and the first sensing theoretical value VS1. The second error e2 is, for example, an error value between the sensing difference value ΔVBE and the reference difference value ΔVS. And the third error dV is, for example, an error value of a bandgap voltage. Generally, the third error dV is much smaller than 1.

[0040] In this embodiment, the error circuit 140 determines a first error e1 and a second error e2 based on the first sensing result value DVR1m, the second sensing result value DVR2m, the first reference value DVR1, and the second reference value DVR2. The error circuit 140 divides the first sensing result value DVR1m by the first reference value DVR1 to generate a first quotient, as shown in equation (9). That is, equation (9) is the result of dividing equation (7') by the first reference value DVR1.

[0041]

number

[0042] X1 refers to the first quotient. Also, if we assume that the third error dV is much smaller than 1, then equation (9) can be approximated by equation (9').

[0043]

number

[0044] The error circuit 140 generates a second quotient by dividing the second sensing result value DVR2m by the second reference value DVR2 as shown in equation (10). That is, equation (10) is the result of dividing equation (8') by the second reference value DVR2.

[0045]

number

[0046] X2 refers to the second quotient. Similarly, if we assume that the third error dV is much smaller than 1, then equation (10) can be approximated by equation (10').

[0047]

number

[0048] Next, error circuit 140 subtracts equation (10') from equation (9') to obtain a difference value calculated by subtracting the second quotient from the first quotient, as shown in equation (11).

[0049]

number

[0050] It should be noted that the above difference value (i.e., X1-X2), the first reference value DVR1, the second reference value DVR2, the first compensation value K1, and the second compensation value K2 are all known. Therefore, the error circuit 140 can determine the second error e2 based on the above difference value (i.e., X1-X2), the first reference value DVR1, the second reference value DVR2, the first compensation value K1, and the second compensation value K2. Also, for example, when the first reference value DVR1 is equal to the second reference value DVR2, the formula (11) is simplified to the formula (11').

[0051]

number

[0052] It should be noted that based on the calculation using the above equations (11) and (11'), the first error e1 and the third error dV are both eliminated. Therefore, the error circuit 140 can determine the second error e2 based on the above difference value (i.e., X1-X2), the second reference value VR2, the first compensation value K1, and the second compensation value K2.

[0053] Furthermore, the error circuit 140 divides the first sensing result value DVR1m by the second sensing result value DVR2m to generate a third quotient, as shown in equation (12). That is, equation (12) is the result of dividing equation (7') by equation (8').

[0054]

number

[0055] Therefore, the equation for the first error e1 is as shown in equation (13).

[0056]

number

[0057] Thus, the error circuit 140 determines the first error e1 based on the third quotient, the first reference value VR1, the second reference value VR2, the first compensation value K1, the second compensation value K2, and the determined second error e2.

[0058] When the first compensation value K1 has not yet been calibrated, the output value generating circuit 250 generates the output digital code value DOUT according to equation (14). That is, when the first compensation value K1 has not yet been calibrated, the output value generating circuit 250 generates the first value V1 by subtracting the product of the first compensation value K1 and the sensed difference value ΔVBE from the first digital sensed value DVBE1. The output value generating circuit 250 also adds the first digital sensed value DVBE1 to the first compensation value K1 and the sensed difference value ΔVBE to generate a second value V2, and divides the first value by the second value V2 to generate the output digital code value DOUT.

[0059]

number

[0060] V1 represents a first value, and V2 represents a second value. Based on equations (5) and (6), equation (14) is expanded to equation (15).

[0061]

number

[0062] As can be seen from equation (15), the first error e1 and the second error e2 affect the output digital code value DOUT. Therefore, the first compensation value K1 in equation (15) should be calibrated to eliminate the first error e1 and the second error e2. As a result, the output digital code value DOUT is not affected by the first error e1 and the second error e2, and therefore has no distortion.

[0063] In this embodiment, to compensate for the first compensation value K1, equation (15) is adjusted to equation (16), and the calibration circuit 150 generates the first calibration value CA and the second calibration value CB based on equation (15).

[0064]

number

[0065] As a result, the first calibrated compensation value K1' is equal to the sum of the first compensation value K1 and the first calibrated value CA (i.e., K1'=K1+CA), and the second calibrated compensation value K2' is equal to the sum of the first compensation value K1 and the second calibrated value CB (i.e., K2'=K1+CB).

[0066] In this embodiment, formula (16) is expanded to formulas (17) to (19).

[0067]

number

[0068] EA and EB are the fluctuation parts related to the first error e1 and the second error e2, respectively. It should be noted that, as can be seen from equations (17) to (19), when the fluctuation parts EA and EB are equal to 0, the fluctuation error of the output digital code value DOUT is eliminated, as shown in equations (20) and (21). Therefore, when the fluctuation parts EA and EB are equal to 0, the output digital code value DOUT approaches the expected theoretical value. As a result, the calibration circuit 150 obtains the first calibration value CA and the second calibration value CB based on the reference difference value ΔVS, the determined first error e1, the determined second error e2, and the first compensation value K1.

[0069]

number

[0070] Based on the above, the first compensation value K1 can be calibrated using the first calibration value CA and the second calibration value CB, thereby eliminating the unstable output caused by the first error e1 and the second error e2.

[0071] Once the first calibration value CA and the second calibration value CB are known, the output circuit 160 adds the first calibration value CA to the first compensation value K1 to generate the first calibration compensation value K1', and adds the second calibration value CB to the first compensation value K1 to generate the second calibration compensation value K2'. The output circuit 160 generates the output digital code value DOUT based on equation (22).

[0072]

number

[0073] Based on equation (22), the output circuit 160 multiplies the sensed difference value ΔVBE by the first calibrated compensation value K1' to generate a first compensation product (i.e., K1' x ΔVBE), subtracts the first compensation product from the first digital sensed value DVBE1 to generate a first value V1, multiplies the sensed difference value by the second calibrated compensation value to generate a second compensation product (i.e., K2' x ΔVBE), adds the second compensation product to the first digital sensed value DVBE1 to generate a second value V2, and divides the first value V1 by the second value V2 to generate the output digital code value DOUT.

[0074] Referring to FIG. 1 and FIG. 3, FIG. 3 is a schematic diagram showing a circuit of a sensor according to one embodiment of the present invention. In this embodiment, the sensor 110 includes a first current source IS1 and a first bipolar transistor Q1. The base of the first bipolar transistor Q1 is coupled to the collector of the first bipolar transistor Q1, the converter 120, and the first current source IS1. The emitter of the first bipolar transistor Q1 is coupled to a reference low potential (e.g., ground). In this embodiment, the sensor 110 can provide a first condition by configuring the first current source IS1 and the first bipolar transistor Q1. The base and the collector of the first bipolar transistor Q1 collectively function as a first output terminal of the sensor 110. The sensor 110 provides a first sense signal VBE1 to the converter 120 via the first output terminal. The first bipolar transistor Q1 provided in this embodiment is implemented in the form of an NPN-type bipolar transistor.

[0075] In some embodiments, the first bipolar transistor Q1 can be replaced with a diode. For example, the anode of the diode is coupled to the first current source IS1 and the converter 120. The anode of the diode serves as a first output terminal of the sensor 110. The cathode of the diode is coupled to a reference low potential.

[0076] In some embodiments, the first bipolar transistor Q1 can be replaced with any form of n-type field effect transistor. For example, the gate of the n-type field effect transistor is coupled to the drain of the n-type field effect transistor, the first current source IS1, and the converter 120. The gate and drain of the n-type field effect transistor collectively function as a first output terminal of the sensor 110. The source of the n-type field effect transistor is coupled to a reference low potential.

[0077] In this embodiment, the sensor 110 further includes a second current source IS2 and second bipolar transistors Q2_1 to Q2_m. The base of the second bipolar transistor Q2_1 is coupled to the collector of the second bipolar transistor Q2_1, the converter 120, and the second current source IS2. The emitter of the second bipolar transistor Q2_1 is coupled to a reference low potential. The base of the second bipolar transistor Q2_2 is coupled to the collector of the second bipolar transistor Q2_2, the converter 120, and the second current source IS2. The emitter of the second bipolar transistor Q2_2 is coupled to a reference low potential, and the rest can be inferred therefrom. That is, the second bipolar transistors Q2_1 to Q2_m are respectively coupled to each other in a diode-connected manner and coupled in parallel with each other. In this embodiment, the sensor 110 can provide a second condition different from the first condition by configuring the second current source IS2 and the second bipolar transistors Q2_1 to Q2_m.

[0078] The bases and collectors of the second bipolar transistors Q2_1 to Q2_m collectively function as a second output terminal of the sensor 110. The sensor 110 provides a second sensing signal VBE2 to the converter 120 via the second output terminal. In this embodiment, the second bipolar transistors Q2_1 to Q2_m are each realized by an NPN-type bipolar transistor.

[0079] In this embodiment, the current value provided by the first current source IS1 may be greater than the current value provided by the second current source IS2.

[0080] In some embodiments, the second bipolar transistors Q2_1 to Q2_m may be replaced with diodes, respectively. For example, the anodes of the diodes are commonly coupled to the first current source IS1 and the converter 120. The anodes of the diodes collectively function as a second output terminal of the sensor 110. The cathodes of the diodes are commonly coupled to a reference low potential.

[0081] In some embodiments, each of the second bipolar transistors Q2_1-Q2_m can be replaced with any type of n-type field effect transistor. For example, the gates of the n-type field effect transistors are respectively coupled to the drains of the n-type field effect transistors, the first current source IS1, and the converter 120. The gates and drains of the n-type field effect transistors collectively function as a second output terminal of the sensor 110. The sources of the n-type field effect transistors are coupled to a reference low potential.

[0082] For the sake of illustration, in this embodiment, the number of the first bipolar transistors Q1 is set as, for example, 1. According to one or more embodiments of the present invention, the number of the first bipolar transistors may be more than one, and the number of the first bipolar transistors is less than the number of the second bipolar transistors. The number of the first bipolar transistors is not limited to the number provided in this embodiment.

[0083] 1 and 4, Fig. 4 is a flow chart showing a calibration method according to one embodiment of the present invention. In this embodiment, the calibration method S100 is suitable for the temperature sensing device 100, for example. In step S110, the sensor 110 generates a first sensing signal VBE1 corresponding to the ambient temperature TA based on a first condition, and generates a second sensing signal VBE2 corresponding to the ambient temperature TA based on a second condition.

[0084] In step S120, the converter 120 converts the first sensing signal VBE1 into a first digital sensing value DVBE1, and converts the second sensing signal VBE2 into a second digital sensing value DVBE2.

[0085] In step S130, the sensing result generating circuit 130 obtains a sensing difference value ΔVBE between the first digital sensing value DVBE1 and the second digital sensing value DVBE2. The sensing result generating circuit 130 generates a first sensing result value DVR1m based on the first digital sensing value DVBE1, the first compensation value K1, and the sensing difference value ΔVBE between the first digital sensing value DVBE1 and the second digital sensing value DVBE2. Also, the sensing result generating circuit 130 generates a second sensing result value DVR2m based on the second digital sensing value DVBE2, the second compensation value K2, and the sensing difference value ΔVBE.

[0086] In step S140, the error circuit 140 obtains a first error e1 and a second error e2 from the first sensing result value DVR1m and the second sensing result value DVR2m based on the first reference value DVR1 and the second reference value DVR2.

[0087] In step S150, the calibration circuit 150 generates a first calibration value CA and a second calibration value CB based on the first error e1 and the second error e2.

[0088] In step S160, the output circuit 160 generates a first calibrated compensation value K1' based on the first calibrated value CA and generates a second calibrated compensation value K2' based on the second calibrated value CB. The output circuit 160 generates an output digital code value DOUT based on the first digital sensed value DVBE1, the second digital sensed value DVBE2, the first calibrated compensation value K1', the second calibrated compensation value K2', and the sensed difference value ΔVBE.

[0089] The details of the implementation of steps S110 to S160 are fully taught in the embodiments shown in FIGS. 1 to 3 and will not be described further below.

[0090] As described above, the temperature sensing device provided in one or more embodiments of the present invention determines the first error and the second error based on the first sensing result value, the second sensing result value, the first reference value, and the second reference value. The temperature sensing device calibrates the first compensation value based on the first error and the second error to generate a calibrated compensation value. Based on the calibrated compensation value, the temperature sensing device can eliminate the first error and the second error. Thus, the sensing accuracy of the temperature sensing device can be improved.

[0091] It will be appreciated by those of ordinary skill in the art that various modifications and variations may be made to the disclosed embodiments without departing from the scope or spirit of the invention. In view of this, it is intended that the present invention cover modifications and variations that come within the scope of the following claims and their equivalents. [Industrial Applicability]

[0092] The temperature sensing device and the method for calibrating the temperature sensing device may be applied to calibrate errors in bipolar transistors. [Explanation of symbols]

[0093] 100 Temperature sensing device 110 Sensors 120 Converter 130 Sensing result generation circuit 140 Error circuit 150 Calibration circuit 160 Output circuit CA 1st calibration value CB 2nd calibration value DOUT Output digital code value DVBE1 1st digital sensing value DVR1 1st Reference Value DVR1m 1st detection result value DVBE2 Second digital sense value DVR2 2nd Reference Value DVR2m 2nd detection result value e1 1st error e2 2nd error K1 First compensation value K1' First calibration compensation value K2 Second compensation value K2' Second calibration compensation value TA Ambient temperature VBE1 1st sensing signal VBE2 2nd sensing signal ΔVBE Sensed Differential Value

Claims

1. a sensor configured to generate a first sensing signal corresponding to an ambient temperature based on a first condition and to generate a second sensing signal corresponding to the ambient temperature based on a second condition, the first sensing signal being different from the second sensing signal; a converter coupled to the sensor and configured to convert the first sensed signal to a first digital sensed value and to convert the second sensed signal to a second digital sensed value; a sensing result generating circuit coupled to the converter and configured to generate a first sensing result value based on the first digital sensing value, a first compensation value, and a sensing difference value between the first digital sensing value and the second digital sensing value, and to generate a second sensing result value based on the second digital sensing value, a second compensation value, and the sensing difference value; an error circuit coupled to the sensing result generating circuit and configured to obtain first and second errors from the first and second sensing result values ​​based on first and second reference values; a calibration circuit coupled to the error circuit and configured to generate a first calibration value and a second calibration value based on the first error and the second error; an output circuit coupled to the calibration circuit and the converter, the output circuit configured to generate a first calibration compensation value based on the first calibration value, generate a second calibration compensation value based on the second calibration value, and generate an output digital code value based on the first digital sensed value, the second digital sensed value, the first calibration compensation value, the second calibration compensation value, and the sensed difference value; A temperature sensing device comprising:

2. 2. The temperature sensing device of claim 1, wherein the first digital sensed value comprises the first reference value, the first error, and the second error, and the second digital sensed value comprises the second reference value and the first error.

3. 2. The temperature sensing device of claim 1, wherein the error circuit determines the second error based on a difference value obtained by dividing the first sensed result value by the first reference value to generate a first quotient, dividing the second sensed result value by the second reference value to generate a second quotient, and subtracting the second quotient from the first quotient, the second reference value, the first compensation value, and the second compensation value.

4. 4. The temperature sensing device of claim 3, wherein the error circuit divides the first sensed result value by the second sensed result value to generate a third quotient and determines the first error based on the third quotient, the first reference value, the second reference value, and the determined second error.

5. the sensing result generating circuit multiplies the first compensation value by the sensing difference value to generate a first product and adds the first digital sensing value to the first product to generate the first sensing result value; 2. The temperature sensing device of claim 1, wherein the sensing result generating circuit multiplies the second compensation value by the sensing difference value to generate a second product and adds the second digital sensing value to the second product to generate the second sensing result value.

6. 2. The temperature sensing device of claim 1, wherein the calibration circuit generates the first calibration value and the second calibration value based on the first error, the second error, the sensed difference value, and the first compensation value.

7. 2. The temperature sensing device of claim 1 , wherein the output circuit multiplies the first calibration compensation value by the sensed difference value to generate a first compensation product, subtracts the first compensation product from the first digital sensed value to generate a first value, multiplies the second calibration compensation value by the sensed difference value to generate a second compensation product, adds the first digital sensed value to the second compensation product to generate a second value, and divides the first value by the second value to generate the output digital code value.

8. 1. A calibration method suitable for a temperature sensing device, comprising: generating, by a sensor, a first sensed signal corresponding to an ambient temperature based on a first condition, and generating, by the sensor, a second sensed signal corresponding to the ambient temperature based on a second condition, the first sensed signal being different from the second sensed signal; converting the first sensing signal into a first digital sensing value and converting the second sensing signal into a second digital sensing value; generating a first sensing result value based on the first digital sensing value, a first compensation value, and a sensing difference value between the first digital sensing value and the second digital sensing value, and generating a second sensing result value based on the second digital sensing value, a second compensation value, and the sensing difference value; obtaining a first error and a second error from the first sensing result value and the second sensing result value based on a first reference value and a second reference value; generating a first calibration value and a second calibration value based on the first error and the second error; generating a first calibration compensation value based on the first calibration value, generating a second calibration compensation value based on the second calibration value, and generating an output digital code value based on the first digital sensed value, the second digital sensed value, the first calibration compensation value, the second calibration compensation value, and the sensed difference value; Calibration methods including:

9. 9. The method of claim 8, wherein the first digital sensed value comprises the first reference value, the first error, and the second error, and the second digital sensed value comprises the second reference value and the first error.

10. obtaining the first error and the second error from the first sensing result value and the second sensing result value based on the first reference value and the second reference value, dividing the first sensing result value by the first reference value to generate a first quotient; dividing the second sensing result value by the second reference value to generate a second quotient; determining the second error based on a difference value obtained by subtracting the second quotient from the first quotient, the second reference value, the first compensation value, and the second compensation value; The calibration method of claim 8 , comprising:

11. The step of obtaining the first error and the second error from the first sensing result value and the second sensing result value based on the first reference value and the second reference value further includes: dividing the first sensing result value by the second sensing result value to generate a third quotient; determining a first error based on the third quotient, the first reference value, the second reference value, and the determined second error; The calibration method of claim 10, comprising:

12. generating the first sensing result value based on the first digital sensing value, the first compensation value, and the sensing difference value, and generating the second sensing result value based on the second digital sensing value, the second compensation value, and the sensing difference value; multiplying the first compensation value by the sensed difference value to generate a first product and adding the first digital sensed value to the first product to generate the first sensed result value; multiplying the second compensation value by the sensed difference value to generate a second product and adding the second digital sensed value to the second product to generate the second sensed result value; The calibration method of claim 9 , comprising:

13. generating the first calibration value and the second calibration value based on the first error and the second error, 9. The calibration method of claim 8, comprising generating the first calibration value and the second calibration value based on the first error, the second error, the sensed difference value, and the first compensation value.

14. generating the output digital code value based on the first digital sensed value, the second digital sensed value, the first calibration compensation value, the second calibration compensation value, and the sensed difference value; multiplying the first calibration compensation value by the sensed difference value to generate a first compensation product; subtracting the first compensation product from the first digital sensed value to generate a first value; multiplying the second calibration compensation value by the sensed difference value to generate a second compensation product; adding the first digital sensed value to the second compensation product to generate a second value; dividing the first value by the second value to generate the output digital code value; The calibration method of claim 8 , comprising:

Citation Information

Patent Citations

  • Temperature information output method of temperature information output device

    JP2013051697A

  • Method for temperature drift compensation of temperature measurement device using thermocouple

    JP2017009611A

  • Electronic apparatus

    JP2020173104A

  • Temperature Calibration Method, System, and Electronic Device

    US20230003589A1