Temperature sensing device and correction method thereof

By introducing a correction circuit and an error calculation mechanism into the temperature sensing device, and using sensing signals under different conditions to correct errors, the problem of low temperature sensing accuracy is solved and higher sensing accuracy is achieved.

CN118794565APending Publication Date: 2024-10-18GLOBAL UNICHIP CORPORATION +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310400862.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The sensing accuracy of the temperature sensing device is affected by errors, resulting in inaccurate output values.

Method used

A temperature sensing device is designed, including a sensor, a converter, a sensing result generation circuit, an error circuit, a correction circuit and an output circuit. By generating sensing signals under two different conditions, the error is calculated and corrected, thereby improving the sensitivity. Measurement accuracy.

Benefits of technology

By correcting the error, the sensing accuracy of the temperature sensing device is significantly improved and the accuracy of the output value is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118794565A_ABST
    Figure CN118794565A_ABST
Patent Text Reader

Abstract

The invention provides a temperature sensing device and a correction method of the temperature sensing device. The temperature sensing device generates a first digital sensing value and a second digital sensing value corresponding to the ambient temperature based on different conditions. The temperature sensing device generates a first sensing result value according to 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 a second sensing result value according to the second digital sensing value, the second compensation value and the sensing difference value. The temperature sensing device obtains an error from the first sensing result value and the second sensing result value according to the first reference value and the second reference value. The temperature sensing device corrects the first compensation value according to the error.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a sensing device, and in particular to a temperature sensing device and a calibration method for the temperature sensing device. Background Art

[0002] Generally speaking, a temperature sensing device senses temperature through a sensor, thereby generating 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 an error. The error may affect the output value, thereby reducing the sensing accuracy of the temperature sensing device. Summary of the invention

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

[0004] The temperature sensing device of the present invention comprises a sensor, a converter, a sensing result generating circuit, an error circuit, a correction circuit and an output circuit. The sensor generates a first sensing signal corresponding to the ambient temperature based on a first condition, and generates a second sensing signal corresponding to the ambient temperature based on a second condition, wherein the first sensing signal is different from the second sensing signal. The converter is coupled to the sensor. The converter converts the first sensing signal into a first digital sensing value, and converts the second sensing signal into a second digital sensing value. The sensing result generating circuit is coupled to the converter. The sensing result generating circuit generates a first sensing result value according to the first digital sensing value, the first compensation value and the sensing difference between the first digital sensing value and the second digital sensing value, and generates a second sensing result value according to the second digital sensing value, the second compensation value and the sensing difference. The error circuit is coupled to the sensing result generating circuit. The error circuit obtains a first error and a second error from the first sensing result value and the second sensing result value according to the first reference value and the second reference value. The correction circuit is coupled to the error circuit. The correction circuit generates a first correction value and a second correction value according to the first error and the second error. The output circuit is coupled to the correction circuit and the converter. The output circuit generates a first calibration compensation value according to the first calibration value, generates a second calibration compensation value according to the second calibration value, and generates an output digital code value according to the first digital sensing value, the second digital sensing value, the first calibration compensation value, the second calibration compensation value and the sensing difference value.

[0005] The calibration method of the present invention is applicable to a temperature sensing device. The calibration method includes: generating a first sensing signal corresponding to the ambient temperature based on a first condition by a sensor, and generating a second sensing signal corresponding to the ambient temperature based on a second condition, wherein the first sensing signal is different from the second sensing 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 according to the first digital sensing value, the first compensation value, and the sensing difference between the first digital sensing value and the second digital sensing value, and generating a second sensing result value according to the second digital sensing value, the second compensation value, and the sensing difference; obtaining a first error and a second error from the first sensing result value and the second sensing result value according to a first reference value and a second reference value; generating a first calibration value and a second calibration value according to the first error and the second error; and generating a first calibration compensation value according to the first calibration value, generating a second calibration compensation value according to the second calibration value, and generating an output digital code value according to the first digital sensing value, the second digital sensing value, the first calibration compensation value, the second calibration compensation value, and the sensing difference.

[0006] Based on the above, the temperature sensing device determines the first error and the second error of the first sensing signal according to the first sensing result value, the second sensing result value, the first reference value and the second reference value, and corrects the first compensation value according to the first error and the second error. In this way, the sensing accuracy of the temperature sensing device can be improved.

[0007] In order to make the above features and advantages of the present invention more clearly understood, embodiments are given below with reference to the accompanying drawings for detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 is a schematic diagram of a temperature sensing device according to a first embodiment of the present invention;

[0009] Figure 2 is a schematic diagram of a first reference signal, a second reference signal, a reference difference, a first reference value, a second reference value, and an output value according to an embodiment of the present invention;

[0010] Figure 3 is a circuit diagram of a sensor according to an embodiment of the present invention;

[0011] Figure 4 is a flow chart of a calibration method according to an embodiment of the present invention.

[0012] Description of Reference Numerals

[0013] 100: Temperature sensing device

[0014] 110: Sensor

[0015] 120: Converter

[0016] 130: Sensing result generation circuit

[0017] 140: Error circuit

[0018] 150: Correction circuit

[0019] 160: Output circuit

[0020] CA: First correction value

[0021] CB: Second correction value

[0022] DOUT: Output digital code value

[0023] DVBE1: First digital sense value

[0024] DVBE2: Second digital sensing value

[0025] DVR1: First reference value

[0026] DVR1m: First sensing result value

[0027] DVR2: Second reference value

[0028] DVR2m: Second sensing result value

[0029] e1: first error

[0030] e2: second error

[0031] IS1: First current source

[0032] IS2: Second current source

[0033] K1: First compensation value

[0034] K1': First correction compensation value

[0035] K2: Second compensation value

[0036] K2': Second correction compensation value

[0037] Q1: First bipolar transistor

[0038] Q2_1~Q2_m: second bipolar transistor

[0039] S100: Calibration Method

[0040] S110~S140: Steps

[0041] TA: Ambient temperature

[0042] VBE1: First sensing signal

[0043] VBE2: Second sensing signal

[0044] VO: output value

[0045] VS1: First sensing theoretical value

[0046] VS2: The second sensing theoretical value

[0047] ΔVBE: Sensing difference

[0048] ΔVS: reference difference DETAILED DESCRIPTION

[0049] Some embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The component symbols cited in the following description will be regarded as the same or similar components when the same component symbols appear in different drawings. These embodiments are only part of the present invention and do not disclose all possible implementation methods of the present invention. More specifically, these embodiments are only examples in the claims of the present invention.

[0050] Please refer to Figure 1 , Figure 1 1 is 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 correction 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.

[0051] In the present embodiment, the first condition is not the same as the second condition. Therefore, 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 the present embodiment, the sensing sensitivity of the first condition is designed to be higher than the sensing sensitivity of the second condition. Taking the present embodiment as an example, the first sensing signal VBE1 and the second sensing signal VBE2 are analog voltage signals, respectively, but the present invention is not limited thereto. In some embodiments, the first sensing signal VBE1 and the second sensing signal VBE2 are analog current signals, respectively.

[0052] 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. In this embodiment, the converter 120 may be implemented by an analog-to-digital converter (ADC).

[0053] In the present 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. The sensing result generating circuit 130 also receives the first compensation value K1 and the second compensation value K2. The sensing result generating circuit 130 obtains the sensing difference ΔVBE between the first digital sensing value DVBE1 and the second digital sensing value DVBE2. The sensing result generating circuit 130 generates the first sensing result value DVR1m according to the first digital sensing value DVBE1, the first compensation value K1 and the sensing difference ΔVBE. The sensing result generating circuit 130 generates the second sensing result value DVR2m according to the second digital sensing value DVBE2, the second compensation value K2 and the sensing difference ΔVBE. In the present embodiment, the first compensation value K1 and the second compensation value K2 are respectively the default values ​​simulated in advance. In other words, the first compensation value K1 and the second compensation value K2 are respectively the theoretical values.

[0054] 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 according to the first reference value DVR1 and the second reference value DVR2.

[0055] 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 without any error. That is, without any error. The first digital sensing value DVBE1 will be equal to the first reference value DVR1. The second digital sensing value DVBE2 will be equal to the second reference value DVR2.

[0056] In the present embodiment, the first digital sensing value DVBE1 and the second digital sensing value DVBE2 are actual sensing value results. The first digital sensing value DVBE1 includes a first error e1 and a second error e2. The second digital sensing value DVBE2 includes the 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 the present embodiment, the first error e1 and the second error e2 are error values ​​that change with at least one of the process, the ambient temperature TA, and the design of the device.

[0057] In this embodiment, the correction circuit 150 is coupled to the error circuit 140. The correction circuit 150 generates a first correction value CA and a second correction value CB according to the first error e1 and the second error e2.

[0058] In this embodiment, the output circuit 160 is coupled to the calibration circuit 150 and the converter 120. The output circuit 160 generates a first calibration compensation value K1' according to the first calibration value CA, and generates a second calibration compensation value K2' according to the second calibration value CB. The output circuit 160 generates an output digital code value DOUT according to the first digital sensing value DVBE1, the second digital sensing value DVBE2, the first calibration compensation value K1', the second calibration compensation value K2' and the sensing difference ΔVBE.

[0059] It is worth mentioning here 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 according to the first reference value DVR1 and the second reference value DVR2, and corrects the first compensation value K1 according to the determined first error e1 and the second error e2. The first sensing result value DVR1m will be corrected by the corrected 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 will not be distorted by the influence of the first error e1 and the second error e2. In this way, the sensing accuracy of the temperature sensing device 100 can be improved.

[0060] Please also refer to Figure 1 as well as Figure 2 , Figure 2 It is a schematic diagram of a first sensing theoretical value, a second sensing theoretical value, a reference difference value, a first reference value, a second reference value and an output value according to an embodiment of the present invention. Figure 2The temperature trend diagram of the first sensing theoretical value VS1, the second sensing theoretical value VS2, the reference difference ΔVS, the first reference value DVR1, the second reference value DVR2 and the output value VO (i.e., the output digital code value DOUT) is shown. The first sensing theoretical value VS1 is different from the second sensing theoretical value VS2. The reference difference ΔVS is the difference 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 Δ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 ΔVS.

[0061] In this embodiment, the first sensing theoretical value VS1 and the second sensing theoretical value VS2 are linearly negatively correlated with the ambient temperature TA. The first sensing theoretical value VS1 and the second sensing theoretical value VS2 have different values ​​with the ambient temperature TA. Therefore, the reference difference ΔVS is, for example, a difference that is not equal to 0. The reference circuit 120 can obtain the first reference value DVR1 according to formula (1) and obtain the second reference value DVR2 according to formula (2).

[0062] DVR1=VS1+K1×ΔVS……Formula (1)

[0063] DVR2=VS2+K2×ΔVS……Formula (2)

[0064] In this embodiment, the operations of formulas (1) and (2) can be performed by an external simulation circuit (not shown).

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

[0066] Please go back Figure 1 In this embodiment, 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 according to formula (3) and obtain the second sensing result value DVR2m according to formula (4).

[0067]

[0068]

[0069] The sensing result generating circuit 130 multiplies the first compensation value K1 by the reference difference ΔVBE to generate a third product, and adds the first digital sensing value DVBE1 to the third product to generate a first sensing result value DVR1m. The sensing result generating circuit 130 multiplies the second compensation value K2 by the sensing difference ΔVBE to generate a fourth product, and adds the second digital sensing value DVBE2 to the fourth product to generate a second sensing result value DVR2m. In addition, formulas (3) and (4) include a third error dV. The presence 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. Formulas (3) and (4) of the present invention are not limited to the third error dV.

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

[0071] DVBE1=VS1+e1+e2……Formula (5)

[0072] DVBE2=VS2+e1……Formula (6)

[0073] Therefore, equation (5) is substituted into equation (3) to produce equation (7).

[0074]

[0075] Next, based on formula (1), formula (7) is simplified to formula (7').

[0076]

[0077] Similarly, equation (6) is substituted into equation (4) to produce equation (8).

[0078]

[0079] Based on formula (2), formula (8) is simplified to formula (8')

[0080]

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

[0082] In this embodiment, the error circuit 140 determines the first error e1 and the second error e2 according to 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 formula (9). That is, formula (9) is the result of dividing formula (7') by the first reference value DVR1.

[0083]

[0084] X1 is the first quotient. In addition, assuming that the third error dV is much smaller than 1, formula (9) can be approximated as formula (9').

[0085]

[0086] The correction circuit 140 divides the second sensing result value DVR2m by the second reference value DVR2 to generate a second quotient, as shown in formula (10). That is, formula (10) is the result of dividing formula (8') by the second reference value DVR2.

[0087]

[0088] X2 is the second quotient. Similarly, assuming that the third error dV is much smaller than 1, formula (10) can be approximated as formula (10').

[0089]

[0090] Next, the correction circuit 140 subtracts the formula (10') from the formula (9') to obtain a difference of the first quotient minus the second quotient, as shown in the formula (11).

[0091]

[0092] It should be noted that the above difference (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 correction circuit 140 can determine the second error e2 based on the above difference (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. In addition, for example, if the first reference value DVR1 is equal to the second reference value DVR2, formula (11) is simplified to formula (11').

[0093]

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

[0095] In addition, 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 formula (12). That is, formula (12) is the result of dividing formula (7') by formula (8').

[0096]

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

[0098]

[0099] Therefore, the error circuit 140 determines the first error e1 according to 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 .

[0100] When the first compensation value K1 has not been calibrated, the output value generating circuit 250 generates the output digital code value DOUT according to formula (14). In other words, when the first compensation value K1 has not been calibrated, the output value generating circuit 250 subtracts the product of the first compensation value K1 and the sensing difference ΔVBE from the first digital sensing value DVBE1 to generate the first value V1. The output value generating circuit 250 also adds the first compensation value K1 and the sensing difference ΔVBE to the first digital sensing value DVBE1 to generate the second value V2, and divides the first value by the second value V2 to generate the output digital code value DOUT.

[0101]

[0102] V1 is the first value. V2 is the second value. Based on formulas (5) and (6), formula (14) is expanded into formula (15).

[0103]

[0104] It can be seen from formula (15) that the first error e1 and the second error e2 will affect the output digital code value DOUT. Therefore, the first compensation value K1 in formula (15) must be corrected to eliminate the first error e1 and the second error e2. Therefore, the output digital code value DOUT will not be distorted by the first error e1 and the second error e2.

[0105] In this embodiment, to compensate the first compensation value K1, formula (15) is adjusted to formula (16). The correction circuit 150 generates the first correction value CA and the second correction value CB based on formula (15).

[0106]

[0107] Therefore, the first correction compensation value K1' is equal to the sum of the first compensation value K1 and the first correction value CA (ie, K1'=K1+CA). The second correction compensation value K2' is equal to the sum of the first compensation value K1 and the second correction value CB (ie, K2'=K1+CB).

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

[0109]

[0110] EA=e1+e2-CA×ΔVS-e2(K1+CA)……Formula (18)

[0111] EB=e1+e2+CB×ΔVS+e2(K1+CB)……Formula (19)

[0112] EA and EB are the variable parts associated with the first error e1 and the second error e2, respectively. It should be noted that, from formulas (17) to (19), it can be clearly seen that if the variable parts EA and EB are equal to 0, the variable error of the output digital code value DOUT will be eliminated, as shown in formulas (20) and (21). Therefore, if the variable parts EA and EB are equal to 0, the output digital code value DOUT approaches the expected theoretical value. Therefore, the correction circuit 150 obtains the first correction value CA and the second correction value CB according to the reference difference ΔVS, the determined first error e1, the second error e2 and the first compensation value K1.

[0113] EA=e1+e2-CA×ΔVS-e2(K1+CA)=0……Formula (20)

[0114] EB=e1+e2+CB×ΔVS+e2(K1+CB)=0……Formula (21)

[0115] Based on the above, the first correction value CA and the second correction value CB can be used to correct the first compensation value K1 , so as to eliminate the unstable output caused by the first error e1 and the second error e2 .

[0116] Once the first correction value CA and the second correction value CB are known, the output circuit 160 generates a first correction compensation value K1' by adding the first correction value CA to the first compensation value K1, and generates a second correction compensation value K2' by adding the second correction value CB to the first compensation value K1. The output circuit 160 generates the output digital code value DOUT according to formula (22).

[0117]

[0118] Based on formula (22), the output circuit 160 multiplies the first correction compensation value K1' by the sensing difference ΔVBE to generate a first compensation product (i.e., K1'×ΔVBE), subtracts the first compensation product from the first digital sensing value DVBE1 to generate a first value V1, multiplies the second correction compensation value by the sensing difference to generate a second compensation product (i.e., K2'×ΔVBE), adds the first digital sensing value DVBE1 to the second compensation product to generate a second value V2, and divides the first value V1 by the second value V2 to generate an output digital code value DOUT.

[0119] Please also refer to Figure 1 as well as Figure 3 , Figure 3 1 is a circuit diagram of a sensor according to an 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 through the configuration of the first current source IS1 and the first bipolar transistor Q1. The base and collector of the first bipolar transistor Q1 are used together as the first output terminal of the sensor 110. The sensor 110 provides a first sensing signal VBE1 to the converter 120 via the first output terminal. The first bipolar transistor Q1 of this embodiment is implemented by an NPN bipolar transistor.

[0120] In some embodiments, the first bipolar transistor Q1 can be replaced by 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 is used as the first output terminal of the sensor 110. The cathode of the diode is coupled to the reference low potential.

[0121] In some embodiments, the first bipolar transistor Q1 can be replaced by 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 are used together as the first output terminal of the sensor 110. The source of the N-type field effect transistor is coupled to the reference low potential.

[0122] In the present 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 the reference low potential, and so on. That is, the second bipolar transistors Q2_1 to Q2_m are respectively connected in a diode-connected manner and are connected in parallel with each other. In the present embodiment, the sensor 110 can provide a second condition different from the first condition through the configuration of the second current source IS2 and the second bipolar transistors Q2_1 to Q2_m.

[0123] The base and collector of the second bipolar transistors Q2_1-Q2_m are used as the second output terminal of the sensor 110. The sensor 110 provides the second sensing signal VBE2 to the sense converter 120 via the second output terminal. The second bipolar transistors Q2_1-Q2_m of this embodiment are respectively implemented by NPN bipolar transistors.

[0124] 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 .

[0125] In some embodiments, the second bipolar transistors Q2_1 to Q2_m can be replaced by diodes. For example, the anodes of the multiple diodes are commonly coupled to the first current source IS1 and the converter 120. The anodes of the multiple diodes are commonly used as the second output terminal of the sensor 110. The cathodes of the multiple diodes are commonly coupled to the reference low potential.

[0126] In some embodiments, the second bipolar transistors Q2_1 to Q2_m can be replaced by any form of N-type field effect transistors. For example, the gates of the plurality of N-type field effect transistors are respectively coupled to the drains of the plurality of N-type field effect transistors, the first current source IS1, and the converter 120. The gates and drains of the plurality of N-type field effect transistors are used together as the second output terminal of the sensor 110. The sources of the plurality of N-type field effect transistors are coupled to a reference low potential.

[0127] For ease of explanation, the number of the first bipolar transistor Q1 in this embodiment is taken as one. The number of the first bipolar transistors of the present invention may be multiple, 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 of the present invention is not limited to this embodiment.

[0128] Please also refer to Figure 1 as well as Figure 4 , Figure 4 is a flow chart of a calibration method according to an embodiment of the present invention. In this embodiment, the calibration method S100 is applicable to 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.

[0129] 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 .

[0130] In step S130, the sensing result generation circuit 130 obtains the sensing difference ΔVBE between the first digital sensing value DVBE1 and the second digital sensing value DVBE2. The sensing result generation circuit 130 generates a first sensing result value DVR1m according to the first digital sensing value DVBE1, the first compensation value K1, and the sensing difference ΔVBE between the first digital sensing value DVBE1 and the second digital sensing value DVBE2. The sensing result generation circuit 130 also generates a second sensing result value DVR2m according to the second digital sensing value DVBE2, the second compensation value K2, and the sensing difference ΔVBE.

[0131] 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 according to the first reference value DVR1 and the second reference value DVR2 .

[0132] In step S150 , the calibration circuit 150 generates a first calibration value CA and a second calibration value CB according to the first error e1 and the second error e2 .

[0133] In step S160, the output circuit 160 generates a first calibration compensation value K1' according to the first calibration value CA, and generates a second calibration compensation value K2' according to the second calibration value CB. The output circuit 160 generates an output digital code value DOUT according to the first digital sensing value DVBE1, the second digital sensing value DVBE2, the first calibration compensation value K1', the second calibration compensation value K2' and the sensing difference ΔVBE.

[0134] The implementation details of steps S110 to S160 can be found in Figures 1 to 3 Sufficient teaching is obtained from the embodiments of the present invention, so it will not be repeated here.

[0135] In summary, the temperature sensing device 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 corrects the first compensation value based on the first error and the second error, thereby generating a correction compensation value. Based on the correction compensation value, the temperature sensing device can eliminate the first error and the second error. In this way, the sensing accuracy of the temperature sensing device can be improved.

[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A temperature sensing device, characterized in that: The temperature sensing device comprises: 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, wherein the first sensing signal is different from the second sensing signal; a converter, coupled to the sensor, configured to convert the first sensing signal into a first digital sensing value, and convert the second sensing signal into a second digital sensing value; a sensing result generating circuit, coupled to the converter, configured to generate a first sensing result value according to a first digital sensing value, a first compensation value, and a sensing difference between the first digital sensing value and the second digital sensing value, and to generate a second sensing result value according to a second digital sensing value, a second compensation value, and the sensing difference; an error circuit, coupled to the sensing result generating circuit, and configured to obtain a first error and a second error from the first sensing result value and the second sensing result value according to a first reference value and a second reference value; a calibration circuit, coupled to the error circuit, configured to generate a first calibration value and a second calibration value according to the first error and the second error; and An output circuit is coupled to the correction circuit and the converter, and is configured to generate a first correction compensation value based on the first correction value, generate a second correction compensation value based on the second correction value, and generate an output digital code value based on the first digital sensing value, the second digital sensing value, the first correction compensation value, the second correction compensation value and the sensing difference value.

2. The temperature sensing device according to claim 1, characterized in that: The first digital sensing value includes a first reference value, a first error, and a second error, wherein the second digital sensing value includes a second reference value and the first error.

3. The temperature sensing device according to claim 1, characterized in that: The error circuit divides the first sensing result value by the first reference value to generate a first quotient, divides the second sensing result value by the second reference value to generate a second quotient, and determines 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.

4. The temperature sensing device according to claim 3, characterized in that: The error circuit divides the first sensing result value by the second sensing result value to generate a third quotient, and determines the first error according to the third quotient, the first reference value, the second reference value, and the determined second error.

5. The temperature sensing device according to claim 1, characterized in that: 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, and 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. The temperature sensing device according to claim 1, characterized in that: The calibration circuit generates the first calibration value and the second calibration value according to the first error, the second error, the sensing difference, and a first compensation value.

7. The temperature sensing device according to claim 1, characterized in that: The output circuit multiplies the first correction compensation value by the sensing difference value to generate a first compensation product, subtracts the first compensation product from the first digital sensing value to generate a first value, multiplies the second correction compensation value by the sensing difference value to generate a second compensation product, adds the first digital sensing 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. A calibration method for a temperature sensing device, characterized in that: The correction method comprises: The sensor generates a first sensing signal corresponding to the ambient temperature based on a first condition, and generates a second sensing signal corresponding to the ambient temperature based on a second condition, wherein the first sensing signal is different from the second sensing 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 according to a first digital sensing value, a first compensation value, and a sensing difference between the first digital sensing value and the second digital sensing value, and generating a second sensing result value according to a second digital sensing value, a second compensation value, and the sensing difference; Obtaining a first error and a second error from the first sensing result value and the second sensing result value according to a first reference value and a second reference value; generating a first calibration value and a second calibration value according to the first error and the second error; and A first calibration compensation value is generated according to the first calibration value, a second calibration compensation value is generated according to the second calibration value, and an output digital code value is generated according to the first digital sensing value, the second digital sensing value, the first calibration compensation value, the second calibration compensation value and the sensing difference value.

9. The calibration method according to claim 8, characterized in that: The first digital sensing value includes a first reference value, a first error, and a second error, wherein the second digital sensing value includes a second reference value and the first error.

10. The calibration method according to claim 8, characterized in that: The step of obtaining the first error and the second error from the first sensing result value and the second sensing result value according to the first reference value and the second reference value comprises: 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; and The second error is determined according to 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.

11. The calibration method according to claim 10, characterized in that: The step of obtaining the first error and the second error from the first sensing result value and the second sensing result value according to 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; and The first error is determined based on the third quotient, the first reference value, the second reference value, and the determined second error.

12. The calibration method according to claim 9, characterized in that: The steps of generating the first sensing result value according to the first digital sensing value, the first compensation value and the sensing difference value, and generating the second sensing result value according to the second digital sensing value, the second compensation value and the sensing difference value include: multiplying the first compensation value by the sensing difference value to generate a first product, and adding the first digital sensing value to the first product to generate the first sensing result value; and The second compensation value is multiplied by the sensing difference value to generate a second product, and the second digital sensing value is added to the second product to generate the second sensing result value.

13. The calibration method according to claim 8, characterized in that: The step of generating the first correction value and the second correction value according to the first error and the second error comprises: The first calibration value and the second calibration value are generated according to the first error, the second error, the sensing difference, and a first compensation value.

14. The calibration method according to claim 8, characterized in that: The step of generating the output digital code value according to the first digital sensing value, the second digital sensing value, the first calibration compensation value, the second calibration compensation value and the sensing difference value comprises: multiplying the first correction compensation value by the sensed difference 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 correction compensation value by the sensed difference to generate a second compensation product; adding the first digital sensed value to the second compensation product to generate a second value; and The first value is divided by the second value to generate the output digital code value.