Sensor temperature compensation apparatus and method
By controlling the sensor current through the current acquisition module and temperature compensation module, the sensor junction temperature is kept constant, which solves the measurement offset problem of the sensor under temperature changes and improves the real-time performance and accuracy of the measurement.
Patent Information
- Application Number
- CN202610875137.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-17
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2046-06-17
AI Technical Summary
The sensitivity of sensors is greatly affected by temperature changes, which leads to deviations in performance and measurement accuracy under high or low temperature environments. Existing technologies cannot quickly compensate for transient temperature changes, resulting in inaccurate measurement data.
The sensor employs a current acquisition module and a temperature compensation module. By controlling the current of the first and second transistors in the sensor, the sum of the transient current and the compensation current is made into a constant current value, thereby stabilizing the junction temperature of the sensor. This is achieved through dynamic adjustment using a compensation power supply, a compensation circuit, and a cooling chip.
This improves the real-time performance and accuracy of sensor measurements, avoids measurement errors caused by temperature drift, and ensures that the sensor outputs accurate measurement data under transient conditions.
Smart Images

Figure CN122384867B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of sensors, and more specifically, to a sensor temperature compensation device and method. Background Technology
[0002] Sensor sensitivity is typically significantly affected by temperature changes. High or low temperatures can cause deviations in overall performance and measurement accuracy, making it difficult to obtain accurate measurements. Current technologies usually perform temperature compensation externally to the sensor package. However, the thermal resistance of the package can lead to a temperature difference between the sensor case temperature and the junction temperature. This prevents rapid measurement and temperature control, hindering compensation for transient temperature changes and negatively impacting the sensor's transient measurement signal, resulting in inaccurate sensor data. Summary of the Invention
[0003] The purpose of this disclosure is to provide a sensor temperature compensation device and method.
[0004] According to a first aspect of the present disclosure, a sensor temperature compensation device is provided, comprising: a current acquisition module and a temperature compensation module; The current acquisition module includes a sensor and a follower. The sensor includes a first transistor and a second transistor. The first terminal of the first transistor is connected to the first terminal of the follower and the load under test, respectively, and the second terminal of the first transistor is grounded. The current acquisition module is used to detect transient current of the load under test. The temperature compensation module includes: a compensation power supply and a compensation circuit; the compensation power supply is used to drive the sensor temperature compensation device, the compensation power supply is connected to the first terminal of the second transistor, the compensation circuit is connected to the first terminal and the second terminal of the second transistor respectively, and the compensation circuit is connected to the second terminal of the follower; the compensation circuit is used to control the second transistor to output a corresponding compensation current according to the transient current of the first transistor output from the second terminal of the follower, so that the junction temperature of the sensor is kept constant; wherein, the sum of the transient current and the compensation current is a constant current value.
[0005] Optionally, the current acquisition module further includes: a first exponential circuit and a first multiplier; The second terminal of the follower is connected to the first terminal of the first exponent circuit and the first terminal of the first multiplier, respectively. The second terminal of the first exponent circuit is connected to the second terminal of the first multiplier, and the third terminal of the first multiplier is connected to the compensation circuit. The first exponential circuit is used to perform exponential operation on the transient current to generate a first correction coefficient, and the first multiplier is used to determine the product of the first correction coefficient and the transient current, and to perform nonlinear calibration and gain adjustment on the transient current.
[0006] Optionally, the compensation circuit includes: a differential amplifier, a second exponential circuit, a second multiplier, an adder, a closed-loop control amplifier, and a reference source; The positive input terminal of the differential amplifier is connected to the first terminal of the second transistor, the negative input terminal of the differential amplifier is connected to the second terminal of the second transistor, the output terminal of the differential amplifier is connected to the first terminal of the second exponential circuit and the first terminal of the second multiplier, and the second terminal of the second exponential circuit is connected to the second terminal of the second multiplier. The first terminal of the adder is connected to the third terminal of the first multiplier, the second terminal of the adder is connected to the third terminal of the second multiplier, and the third terminal of the adder is connected to the negative input terminal of the closed-loop control amplifier; the reference source is connected to the positive input terminal of the closed-loop control amplifier, and the output terminal of the closed-loop control amplifier is connected to the second transistor. The reference source is used to provide the constant current value; the differential amplifier is used to obtain the compensation current output by the second transistor; the second exponential circuit is used to perform an exponential operation on the compensation current to generate a second correction coefficient; the second multiplier is used to determine the product of the second correction coefficient and the compensation current, and is used to perform nonlinear calibration and gain adjustment on the compensation current; the adder is used to determine the sum of the transient current after nonlinear calibration and gain adjustment and the compensation current; the closed-loop control amplifier is used to determine a correction current based on the sum of the transient current and the compensation current and the constant current value, and the correction current is used to adjust the compensation current.
[0007] Optionally, the reference source includes multiple constant current values corresponding to ambient temperature.
[0008] Optionally, the first transistor and the second transistor are diodes or triodes.
[0009] Optionally, the first transistor and the second transistor are disposed on the same substrate.
[0010] Optionally, the sensor further includes a cooling element for cooling the sensor.
[0011] Optionally, the cooling chip is used to dynamically adjust the cooling power according to the ambient temperature.
[0012] According to a first aspect of the present disclosure, a sensor temperature compensation method is provided, applied to the sensor temperature compensation device described in the first aspect of the present disclosure, the method comprising: The transient current of the first transistor in the sensor is obtained through the current acquisition module; The compensation current of the second transistor in the sensor is obtained through the temperature compensation module; The correction current of the second transistor is determined based on the sum of the transient current and the compensation current; The temperature compensation module corrects the compensation current according to the correction current, so that the sum of the transient current and the compensation current equals the constant current value, so that the junction temperature of the sensor is kept constant.
[0013] Optionally, the method further includes: Obtain the ambient temperature where the sensor is located; The cooling power of the cooling chip in the sensor is dynamically adjusted according to the ambient temperature.
[0014] The above technical solution provides a sensor temperature compensation device, comprising: a current acquisition module and a temperature compensation module; the current acquisition module includes a sensor and a follower, the sensor including a first transistor and a second transistor; the first terminal of the first transistor is connected to the first terminal of the follower and the measured load, and the second terminal of the first transistor is grounded; the current acquisition module is used to detect transient current of the measured load; the temperature compensation module includes: a compensation power supply and a compensation circuit; the compensation power supply is used to drive the sensor temperature compensation device, the compensation power supply is connected to the first terminal of the second transistor, the compensation circuit is connected to the first and second terminals of the second transistor, and the compensation circuit is connected to the second terminal of the follower; the compensation circuit is used to control the output of a corresponding compensation current of the second transistor based on the transient current of the first transistor output from the second terminal of the follower, so that the junction temperature of the sensor is kept constant; wherein, the sum of the transient current and the compensation current is a constant current value. This device can stabilize the sensor junction temperature and improve the real-time performance and measurement accuracy of the sensor by controlling the total current output by the sensor to be constant.
[0015] Other features and advantages of this disclosure will be described in detail in the following detailed description section. Attached Figure Description
[0016] The accompanying drawings are provided to further illustrate the present disclosure and form part of the specification. They are used together with the following detailed description to explain the present disclosure, but do not constitute a limitation thereof. In the drawings: Figure 1 This is a schematic diagram of a sensor temperature compensation device according to an exemplary embodiment.
[0017] Figure 2 This is a flowchart illustrating a sensor temperature compensation method according to an exemplary embodiment.
[0018] Figure 3 This is a flowchart illustrating yet another sensor temperature compensation method according to an exemplary embodiment. Detailed Implementation
[0019] The specific embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit this disclosure.
[0020] It should be noted that all actions involving the acquisition of signals, information, or data in this disclosure are performed with authorization from the owner of the relevant device.
[0021] Figure 1 This is a schematic diagram illustrating a sensor temperature compensation device according to an exemplary embodiment. Figure 1 As shown, the sensor temperature compensation device includes: a current acquisition module 100 and a temperature compensation module 200; The current acquisition module 100 includes a sensor 110 and a follower 120. The sensor 110 includes a first transistor 111 and a second transistor 112. The first terminal of the first transistor 111 is connected to the first terminal of the follower 120 and the load under test, respectively, and the second terminal of the first transistor 111 is grounded. The current acquisition module 100 is used to detect transient current of the load under test. The temperature compensation module 200 includes: a compensation power supply 210 and a compensation circuit; the compensation power supply 210 is used to drive the sensor temperature compensation device, the compensation power supply 210 is connected to the first terminal of the second transistor 112, the compensation circuit is connected to the first terminal and the second terminal of the second transistor 112 respectively, and the compensation circuit is connected to the second terminal of the follower 120; the compensation circuit is used to control the second transistor 112 to output a corresponding compensation current according to the transient current of the first transistor 111 output from the second terminal of the follower 120, so that the junction temperature of the sensor 110 is in a constant state; wherein, the sum of the transient current and the compensation current is a constant current value.
[0022] Optionally, the first transistor 111 and the second transistor 112 are diodes or triodes.
[0023] Optionally, the first transistor 111 and the second transistor 112 are disposed on the same substrate.
[0024] For example, sensor sensitivity is typically greatly affected by temperature changes, and temperature drift may occur in both high and low temperature environments, potentially leading to inaccurate sensor measurements. To address this issue, temperature compensation can be performed externally to the sensor package. However, the thermal resistance of the device package can cause a temperature difference between the sensor case temperature and junction temperature, hindering rapid measurement and temperature control, and preventing compensation for transient temperature changes. This adversely affects the sensor's transient measurement signal, resulting in inaccurate sensor data. This disclosure provides a sensor temperature compensation device, which may include a current acquisition module 100 and a temperature compensation module 200. The current acquisition module 100 can be used to detect transient current of the measured load. The current acquisition module 100 may include a sensor 110 and a follower 120. The sensor 110 includes a first transistor 111 and a second transistor 112. The first terminal of the first transistor 111 is connected to the first terminal of the follower 120 and the measured load, respectively, and the second terminal of the first transistor 111 is grounded. The first transistor is used to detect the transient current of the measured load, and the follower 120 is used to track the transient current acquisition signal. The temperature compensation module 200 is used to control the output compensation current of the second transistor 112 so that the sum of the transient current and the compensation current is a constant current value. That is, the total current output by the sensor 110 is the constant current value. It can be understood that when the total current output by the sensor 110 is the constant current value, the heat generated by the sensor 110 is also relatively constant, that is, the junction temperature inside the sensor 110 is in a constant state. This can suppress the temperature drift of the sensor 110, eliminating the need for secondary calibration of the measurement data through software, thereby improving the real-time performance and measurement accuracy of the sensor 110. The temperature compensation module 200 may include: a compensation power supply 210 and a compensation circuit. The compensation power supply 210 is used to drive the sensor temperature compensation device. The compensation power supply 210 is connected to the first terminal of the second transistor 112. The compensation circuit is connected to both the first and second terminals of the second transistor 112 and is also connected to the second terminal of the follower 120. In one possible embodiment, the sensor 110 can be a logarithmic sensor, and the first transistor 111 and the second transistor 112 are diodes or transistors, such as photodiodes, MOSFETs, etc. The first transistor 111 and the second transistor 112 are disposed on the same substrate, and the two transistors are thermally highly coupled, which can improve the temperature uniformity of the sensor 110.
[0025] In summary, this sensor temperature compensation device uses a pair of diodes / transistors with identical characteristics integrated on the same substrate. Combined with the temperature compensation module 200, it can maintain a constant total current for the first transistor 111 and the second transistor 112 (i.e., the transient current + the compensation current = the constant current value), thereby stabilizing the junction temperature, preventing temperature drift of the sensor 110, and improving measurement accuracy. For example, when the measured signal of the load increases, the current A1 of the first transistor 111 rises, the power consumption of the first transistor 111 increases, and the junction temperature of the sensor 110 tends to rise. At this time, the temperature compensation module 200 responds quickly, reducing the compensation current A2 of the second transistor 112; keeping A1 + A2 constant, so that the total power consumption of the two transistors remains unchanged. Since the two transistors are always on the same substrate, their thermal coupling is extremely strong, and the junction temperature quickly equalizes, instantly canceling out local temperature rises, thus ensuring that the junction temperature of the sensor 110 remains constant. This avoids the problem of inaccurate sensor measurement data caused by poor real-time temperature compensation.
[0026] Optionally, the current acquisition module 100 further includes: a first exponent circuit 130 and a first multiplier 140; The second terminal of the follower 120 is connected to the first terminal of the first exponent circuit 130 and the first terminal of the first multiplier 140, respectively. The second terminal of the first exponent circuit 130 is connected to the second terminal of the first multiplier 140, and the third terminal of the first multiplier 140 is connected to the compensation circuit. The first exponential circuit 130 is used to perform exponential operation on the transient current to generate a first correction coefficient. The first multiplier 140 is used to determine the product of the first correction coefficient and the transient current, and is used to perform nonlinear calibration and gain adjustment on the transient current.
[0027] For example, the measurement signal output by the follower 120 can be sent to the first exponential circuit 130 to perform logarithmic / exponential operations, generate a corresponding first correction coefficient, and send it to the first multiplier 140 to multiply it with the transient current, thereby completing the nonlinear compensation and gain adjustment of the transient current.
[0028] Optionally, the compensation circuit includes: a differential amplifier 220, a second exponent circuit 230, a second multiplier 240, an adder 250, a closed-loop control amplifier 260, and a reference source 270; The positive input terminal of the differential amplifier 220 is connected to the first terminal of the second transistor 112, the negative input terminal of the differential amplifier 220 is connected to the second terminal of the second transistor 112, the output terminal of the differential amplifier 220 is connected to the first terminal of the second exponent circuit 230 and the first terminal of the second multiplier 240, and the second terminal of the second exponent circuit 230 is connected to the second terminal of the second multiplier 240. The first terminal of the adder 250 is connected to the third terminal of the first multiplier 140, the second terminal of the adder 250 is connected to the third terminal of the second multiplier 240, and the third terminal of the adder 250 is connected to the negative input terminal of the closed-loop control amplifier 260; the reference source 270 is connected to the positive input terminal of the closed-loop control amplifier 260, and the output terminal of the closed-loop control amplifier 260 is connected to the second terminal of the second transistor 112. The reference source 270 is used to provide the constant current value; the differential amplifier 220 is used to acquire the compensation current output by the second transistor 112; the second exponent circuit 230 is used to perform exponential operation on the compensation current to generate a second correction coefficient; the second multiplier 240 is used to determine the product of the second correction coefficient and the compensation current, and is used to perform nonlinear calibration and gain adjustment on the compensation current; the adder 250 is used to determine the sum of the transient current after nonlinear calibration and gain adjustment and the compensation current; the closed-loop control amplifier 260 is used to determine the correction current based on the sum of the transient current and the compensation current and the constant current value, and the correction current is used to adjust the compensation current.
[0029] For example, the compensation circuit includes: a differential amplifier 220, a second exponential circuit 230, a second multiplier 240, an adder 250, a closed-loop control amplifier 260, and a reference source 270. The differential amplifier 220, the second exponential circuit 230, and the second multiplier 240 are used to perform nonlinear calibration and gain adjustment on the acquired compensation current. By sending the output signals of the first multiplier 140 and the second multiplier 240 to the adder 250, the total output current of the sensor 110 can be obtained, which is the calibrated sum of the transient current and the compensation current. The output of the adder 250 is sent to the closed-loop control amplifier 260, compared and amplified with the constant current value provided by the reference source 270, and then the compensation current is output through the closed-loop control amplifier 260. The feedback control compensation power supply 210 adjusts the compensation current output by the second transistor 112, forming a closed-loop control to offset the temperature drift and error of the sensor 110.
[0030] Optionally, the sensor 110 also includes a cooling chip 113 for cooling the sensor.
[0031] For example, it can be understood that when the current output by the sensor 110 is a constant current value, the heat generated by the sensor 110 is relatively constant. However, due to the influence of ambient temperature, the temperature of the sensor 110 may still fluctuate slightly. Therefore, a cooling chip 113 can be installed on the sensor 110 to assist in temperature control.
[0032] Optionally, the reference source 270 includes multiple constant current values corresponding to ambient temperature.
[0033] For example, due to the influence of ambient temperature, the temperature of the sensor 110 may still fluctuate slightly. Different constant current values can be preset in the reference source 270 for different temperature ranges, allowing the reference source 270 to switch the corresponding constant current value according to changes in ambient temperature. For instance, to avoid the sensor 110's junction temperature becoming too high and affecting performance in high-temperature environments, a lower constant current value can be set in the reference source 270. Alternatively, to avoid a decrease in the sensitivity of the sensor 110 at low temperatures, a higher constant current value can be set in the reference source 270. This disclosure does not limit the correspondence between ambient temperature and constant current value.
[0034] Optionally, the cooling chip 113 is used to dynamically adjust the cooling power according to the ambient temperature.
[0035] For example, the cooling chip 113 can be a variable power cooling chip. It is understood that when the output current of the sensor 110 is constant, the higher the ambient temperature, the higher the temperature of the sensor 110. In order to keep the sensor 110 in a suitable operating temperature range and obtain more accurate measurement values, the cooling power of the cooling chip 113 can be dynamically adjusted according to the ambient temperature.
[0036] Figure 2 This is a flowchart illustrating a sensor temperature compensation method according to an exemplary embodiment. Figure 2 As shown, this method is applied to, for example Figure 1 The sensor temperature compensation device shown includes the following steps: In step S21, the transient current of the first transistor in the sensor is obtained.
[0037] In step S22, the compensation current of the second transistor in the sensor is obtained.
[0038] In step S23, the correction current of the second transistor is determined based on the sum of the transient current and the compensation current.
[0039] In step S24, the compensation current is corrected according to the correction current so that the sum of the transient current and the compensation current is equal to the constant current value, so that the junction temperature of the sensor is kept constant.
[0040] For example, based on such Figure 1The sensor temperature compensation device shown can acquire the transient current of the first transistor and the compensation current of the second transistor. The sum of the transient current and the compensation current is used as the output current of the sensor. In order to make the output current of the sensor equal to the constant current value, the difference between the output current and the constant current value can be used as the correction current of the second transistor. The compensation current of the second transistor is adjusted according to the correction current so that the sum of the transient current and the compensation current is equal to the constant current value. This method can dynamically adjust the compensation current through closed-loop control to keep the junction temperature of the sensor in a constant state.
[0041] Figure 3 This is a flowchart illustrating yet another sensor temperature compensation method according to an exemplary embodiment. For example... Figure 3 As shown, the method also includes the following steps: In step S25, the ambient temperature of the sensor is obtained.
[0042] In step S26, the cooling power of the cooling chip in the sensor is dynamically adjusted according to the ambient temperature.
[0043] For example, when the output current of the sensor is constant, the higher the ambient temperature, the higher the sensor temperature. In order to keep the sensor in a suitable operating temperature range and obtain more accurate measurement values, the ambient temperature of the sensor can be obtained, and the cooling power of the thermoelectric cooler can be dynamically adjusted according to the ambient temperature.
[0044] The above technical solution obtains the transient current of the first transistor in the sensor; obtains the compensation current of the second transistor in the sensor; determines the correction current of the second transistor based on the sum of the transient current and the compensation current; and corrects the compensation current based on the correction current so that the sum of the transient current and the compensation current equals a constant current value, thereby keeping the junction temperature of the sensor constant. By keeping the output current of the sensor constant, the total heat generation power of the sensor remains unchanged, which improves the real-time performance and measurement accuracy of the sensor.
[0045] The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings. However, the present disclosure is not limited to the specific details of the above embodiments. Within the scope of the technical concept of the present disclosure, various simple modifications can be made to the technical solutions of the present disclosure, and these simple modifications all fall within the protection scope of the present disclosure.
[0046] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, this disclosure will not describe the various possible combinations separately.
[0047] Furthermore, various different embodiments of this disclosure can be combined in any way, as long as they do not violate the spirit of this disclosure, they should also be regarded as the content disclosed in this disclosure.
Claims
1. A sensor temperature compensation device, characterized in that, include: Current acquisition module and temperature compensation module; The current acquisition module includes a sensor and a follower. The sensor includes a first transistor and a second transistor. The first terminal of the first transistor is connected to the first terminal of the follower and the load under test, respectively, and the second terminal of the first transistor is grounded. The current acquisition module is used to detect transient current of the load under test; The temperature compensation module includes: a compensation power supply and a compensation circuit; the compensation power supply is used to drive the sensor temperature compensation device, the compensation power supply is connected to the first terminal of the second transistor, the compensation circuit is connected to the first terminal and the second terminal of the second transistor respectively, and the compensation circuit is connected to the second terminal of the follower; the compensation circuit is used to control the second transistor to output a corresponding compensation current according to the transient current of the first transistor output from the second terminal of the follower, so that the junction temperature of the sensor is kept constant; wherein, the sum of the transient current and the compensation current is a constant current value; The current acquisition module further includes: a first exponential circuit and a first multiplier; The second terminal of the follower is connected to the first terminal of the first exponent circuit and the first terminal of the first multiplier, respectively. The second terminal of the first exponent circuit is connected to the second terminal of the first multiplier, and the third terminal of the first multiplier is connected to the compensation circuit. The compensation circuit includes: a differential amplifier, a second exponential circuit, a second multiplier, an adder, a closed-loop control amplifier, and a reference source; The positive input terminal of the differential amplifier is connected to the first terminal of the second transistor, the negative input terminal of the differential amplifier is connected to the second terminal of the second transistor, the output terminal of the differential amplifier is connected to the first terminal of the second exponential circuit and the first terminal of the second multiplier, and the second terminal of the second exponential circuit is connected to the second terminal of the second multiplier. The first terminal of the adder is connected to the third terminal of the first multiplier, the second terminal of the adder is connected to the third terminal of the second multiplier, and the third terminal of the adder is connected to the negative input terminal of the closed-loop control amplifier; the reference source is connected to the positive input terminal of the closed-loop control amplifier, and the output terminal of the closed-loop control amplifier is connected to the second terminal of the second transistor.
2. The apparatus according to claim 1, characterized in that, The first exponential circuit is used to perform exponential operation on the transient current to generate a first correction coefficient, and the first multiplier is used to determine the product of the first correction coefficient and the transient current, and to perform nonlinear calibration and gain adjustment on the transient current.
3. The apparatus according to claim 2, characterized in that, The reference source is used to provide the constant current value; the differential amplifier is used to obtain the compensation current output by the second transistor; the second exponential circuit is used to perform an exponential operation on the compensation current to generate a second correction coefficient; The second multiplier is used to determine the product of the second correction coefficient and the compensation current, and is used to perform nonlinear calibration and gain adjustment on the compensation current; the adder is used to determine the sum of the transient current after nonlinear calibration and gain adjustment and the compensation current; The closed-loop control amplifier is used to determine a correction current based on the sum of the transient current and the compensation current and the constant current value, and the correction current is used to adjust the compensation current.
4. The apparatus according to claim 3, characterized in that, The reference source includes multiple constant current values corresponding to the ambient temperature.
5. The apparatus according to any one of claims 1 to 4, characterized in that, The first transistor and the second transistor are diodes or triodes.
6. The apparatus according to any one of claims 1 to 4, characterized in that, The first transistor and the second transistor are disposed on the same substrate.
7. The apparatus according to claim 1, characterized in that, The sensor also includes a cooling element for cooling the sensor.
8. The apparatus according to claim 7, characterized in that, The cooling chip is used to dynamically adjust the cooling power according to the ambient temperature.
9. A sensor temperature compensation method, characterized in that, The method, applied to the sensor temperature compensation device according to any one of claims 1 to 8, comprises: Obtain the transient current of the first transistor in the sensor; Obtain the compensation current of the second transistor in the sensor; The correction current of the second transistor is determined based on the sum of the transient current and the compensation current; The compensation current is adjusted according to the correction current so that the sum of the transient current and the compensation current equals the constant current value, thereby keeping the junction temperature of the sensor constant.
10. The method according to claim 9, characterized in that, The method further includes: Obtain the ambient temperature where the sensor is located; The cooling power of the cooling chip in the sensor is dynamically adjusted according to the ambient temperature.
Citation Information
Patent Citations
Precise constant-temperature transient current measuring system
CN118275771A
Current source circuit and communication chip
CN119828845A