A multi-channel calibration method and system for detecting temperature sensors
Patent Information
- Application Number
- CN202610605164.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-06
- Publication Date
- 2026-10-13
AI Technical Summary
[0003]然而,即使是这类高性能的硬件电路,依然面临两个固有的难题:第一,批量使用的PT1000传感器本身存在公差;第二,即使是同种电路,不同电路中的精密电阻、基准电压源、运算放大器等元件也存在个体差异与温漂
1、通过采集多个测温点的电阻样本电压值,构建全局电压均值作为参考基准,利用方差倒数分配权重,使硬件稳定性更高的通道主导融合结果。在基准温度下对比实际输出电压与理论拟合电压,计算补偿值并修正后续测量,消除硬件电路的静态偏差和动态温漂,进一步消除系统误差,提高了对待测温度传感器的测温精度,确保了校验结果的准确性和可靠性。
Smart Images

Figure CN122900732A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of equipment testing technology, and in particular to a multi-channel calibration method and system for testing temperature sensors. Background Technology
[0002] With the increasing popularity of electric vehicles, the safety of their charging stations is paramount. Throughout the charging process, monitoring the temperature of the charging gun and power devices is crucial to preventing overheating and protecting both the charging vehicle and the charging station from fire hazards. The PT1000 platinum resistance temperature sensor, due to its excellent stability and high accuracy, is widely used in existing DC charging station temperature monitoring systems. Currently, several hardware methods exist to improve the temperature measurement accuracy of the PT1000. For example, using a symmetrically designed Wheatstone bridge, differential amplifier circuit, digital isolation circuit, and high-precision voltage reference can effectively improve signal anti-interference capabilities and measurement stability. These hardware solutions focus on addressing noise, isolation, and reference source stability issues during signal transmission.
[0003] However, even high-performance hardware circuits like these face two inherent challenges: first, the mass-produced PT1000 sensors themselves have tolerances; second, even within the same circuit, components such as precision resistors, reference voltage sources, and operational amplifiers exhibit individual differences and temperature drift. These factors lead to inconsistent systematic errors in measurement results, even when using the same hardware design. Summary of the Invention
[0004] In view of this, the present invention proposes a multi-channel calibration method and system for detecting temperature sensors.
[0005] The technical solution of the present invention is implemented as follows: The first aspect of the present invention provides a multi-channel calibration method for a temperature sensor, comprising: Obtain the sampling voltage value of the resistance sample at multiple temperature measurement points in each temperature measurement channel; After preprocessing the sampled voltage values, the weight of each temperature measurement channel is determined based on the reciprocal of the variance between the sampled voltage value and the mean voltage of each temperature measurement channel at different temperature measurement points. The sampled voltage values of each temperature measurement channel are then weighted and fused using the weights to obtain a target temperature-voltage fitting relationship. The target temperature-voltage fitting relationship characterizes the temperature of the resistor sample under different voltages. The actual output voltage of the resistor sample at the reference temperature and the theoretical output voltage determined based on the voltage fitting relationship at the target temperature are obtained, and the voltage compensation value of each channel is determined based on the actual output voltage and the theoretical output voltage. The current voltage value of the temperature sensor under test in the target channel is obtained, and the target voltage is determined by correcting it using the corresponding voltage compensation value. The final temperature value of the temperature sensor under test in the target channel is determined by combining the target temperature-voltage fitting relationship. The target channel is any one of multiple temperature measurement channels.
[0006] Based on the above technical solution, preferably, the step of obtaining the sampling voltage value of the resistance sample at multiple temperature measurement points corresponding to each temperature measurement channel includes: Physical modeling is performed on the resistance characteristics of the temperature sensor under test to obtain resistance samples corresponding to the resistance characteristics of the temperature sensor under test. The sampling voltage values of the resistance sample at multiple temperature measurement points are obtained by using each temperature measurement channel in the multi-channel device.
[0007] Based on the above technical solutions, preferably, the preprocessing of the sampled voltage value includes: Obtain the average voltage and corresponding standard deviation at multiple temperature measurement points; The outlier points of the sampled voltage values are removed based on the standard deviation determined by the screening threshold.
[0008] Based on the above technical solution, preferably, the step of weighting and fusing the sampled voltage values of each temperature measurement channel using the weights to obtain the target temperature-voltage fitting relationship includes: At the same temperature measurement point, a weighted fusion is performed based on the weight corresponding to each temperature measurement channel and the sampled voltage value to obtain the comprehensive voltage value corresponding to all the temperature measurement channels. A mapping relationship is created between the comprehensive voltage value and the temperature measurement point to obtain the target temperature-voltage fitting relationship.
[0009] Based on the above technical solution, preferably, the step of weighting and fusing the sampled voltage values of each temperature measurement channel using the weights to obtain the target temperature-voltage fitting relationship further includes: The mapping relationship between the comprehensive voltage value and the temperature measurement point is fitted using polynomial fitting, spline fitting, Fourier fitting, or Gaussian fitting methods to obtain the target temperature-voltage fitting relationship.
[0010] Based on the above technical solutions, preferably, after obtaining the actual output voltage of the resistor sample at the reference temperature and the theoretical output voltage determined based on the target temperature-voltage fitting relationship, the method further includes: Substitute the actual output voltage into the target temperature-voltage fitting relationship to obtain the fitted temperature value; The temperature compensation value is determined based on the fitted temperature value and the reference temperature.
[0011] Based on the above technical solution, preferably, after obtaining the current voltage value of the temperature sensor under test in the target channel, correcting and determining the target voltage using the corresponding voltage compensation value, and determining the final temperature value of the temperature sensor under test in the target channel by combining the target temperature-voltage fitting relationship, the method further includes: The final temperature value is corrected based on the temperature compensation value to obtain the target temperature value.
[0012] More preferably, a second aspect of the present invention provides a multi-channel calibration system for detecting temperature sensors, comprising: a voltage sampling module, a weighted fitting module, a compensation determination module, and a voltage correction module; wherein, The voltage sampling module is configured to acquire the sampling voltage value of the resistance sample at multiple temperature measurement points in each temperature measurement channel. The weighted fitting module is configured to preprocess the sampled voltage values, determine the weight of each temperature measurement channel based on the inverse of the variance between the sampled voltage value and the mean voltage of each temperature measurement channel at different temperature measurement points, and then perform weighted fusion of the sampled voltage values of each temperature measurement channel using the weights to obtain a target temperature-voltage fitting relationship. The target temperature-voltage fitting relationship characterizes the temperature of the resistance sample under different voltages. The compensation determination module is configured to obtain the actual output voltage of the resistor sample at the reference temperature and the theoretical output voltage determined based on the target temperature-voltage fitting relationship, and to determine the voltage compensation value of each channel based on the actual output voltage and the theoretical output voltage. The voltage correction module is configured to acquire the current voltage value of the temperature sensor under test in the target channel, use the corresponding voltage compensation value to correct and determine the target voltage, and combine the target temperature-voltage fitting relationship to determine the final temperature value of the temperature sensor under test in the target channel; the target channel is any one of multiple temperature measurement channels.
[0013] More preferably, a third aspect of the present invention provides an electronic device including a processor and a memory; the memory has a computer program stored thereon, wherein the computer program, when executed by the processor, implements the multi-channel calibration method for detecting a temperature sensor described in the first aspect.
[0014] More preferably, a fourth aspect of the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the multi-channel calibration method for detecting a temperature sensor described in the first aspect.
[0015] The multi-channel calibration method and system for temperature sensors of the present invention have the following advantages over the prior art: 1. By collecting resistance sample voltage values from multiple temperature measurement points, a global voltage mean is constructed as a reference benchmark. Weights are allocated using the inverse of variance, allowing channels with higher hardware stability to dominate the fusion result. At the reference temperature, the actual output voltage is compared with the theoretically fitted voltage. Compensation values are calculated and subsequent measurements are corrected, eliminating static deviations and dynamic temperature drift in the hardware circuitry. This further eliminates system errors, improves the temperature measurement accuracy of the sensor under test, and ensures the accuracy and reliability of the calibration results.
[0016] 2. By weighted fusion of the sampling voltage value and the corresponding weight of each temperature measurement channel at the same temperature measurement point, the comprehensive voltage value corresponding to all the temperature measurement channels is obtained. This creates a mapping relationship between the comprehensive voltage value and the temperature measurement point, and obtains the target temperature voltage fitting relationship. This allows the comprehensive voltage value to be calculated directly using the sampling voltage value of each channel in subsequent measurement processes, which greatly improves the measurement efficiency.
[0017] 3. Substitute the actual output voltage into the target temperature voltage fitting relationship to obtain the fitted temperature value. Determine the temperature compensation value based on the fitted temperature value and the reference temperature, and correct the final temperature value based on the temperature compensation value to obtain the target temperature value. This eliminates the nonlinear error in the fitting relationship, suppresses long-term drift caused by hardware temperature drift and aging, and improves the accuracy of temperature measurement. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic flowchart of a multi-channel calibration method for a temperature sensor provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the measurement hardware principle provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of a multi-channel calibration system for detecting temperature sensors provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0020] The technical solutions of the present invention will be clearly and completely described below with reference to the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0021] In some embodiments, such as Figure 1 As shown, Figure 1 This is a flowchart illustrating a multi-channel calibration method for a temperature sensor according to an embodiment of the present invention. The multi-channel calibration method for a temperature sensor provided by the present invention includes: S110: Obtain the sampling voltage value of the resistance sample at multiple temperature measurement points in each temperature measurement channel.
[0022] In some embodiments, obtaining the sampling voltage value of the resistance sample at multiple temperature measurement points corresponding to each temperature measurement channel includes: Physical modeling is performed on the resistance characteristics of the temperature sensor under test to obtain resistance samples corresponding to the resistance characteristics of the temperature sensor under test. The sampling voltage values of the resistance sample at multiple temperature measurement points are obtained by using each temperature measurement channel in the multi-channel device.
[0023] In this embodiment, taking a PT1000 resistor as an example, a high-precision resistor module is connected to the measurement circuit of the reference channel. The high-precision resistor module is used to simulate the standard resistance value of the PT1000 at multiple temperature measurement points; multiple sampling voltage values are obtained through ADC sampling; the sampling voltage values are measured at multiple temperature measurement points through multiple reference channels, forming a sampling voltage value matrix V with dimensions P×M. This represents the sampled voltage value of the Pth channel at the i-th temperature measurement point.
[0024] S120, after preprocessing the sampled voltage values, the weight of each temperature measurement channel is determined based on the inverse of the variance between the sampled voltage value and the mean voltage of each temperature measurement channel at different temperature measurement points; the sampled voltage values of each temperature measurement channel are weighted and fused through the weights to obtain the target temperature-voltage fitting relationship; the target temperature-voltage fitting relationship characterizes the temperature of the resistance sample under different voltages.
[0025] In some embodiments, the sampled voltage values are preprocessed, including: Obtain the average voltage and corresponding standard deviation at multiple temperature measurement points; Outliers in the sampled voltage values are removed by determining the screening threshold based on the standard deviation.
[0026] For each temperature point (i=1,…M), check the voltage sampling values of P channels. The mean of this set of data is calculated based on the voltage sample values. and standard deviation Take as needed Standards or stricter ones The criteria for data value elimination are as follows: if the sampled value of a certain channel is... satisfy If the data is considered out of bounds, it will be removed, and the valid data set will be recorded.
[0027] In some embodiments, the sampled voltage values of each temperature measurement channel are weighted and fused to obtain a target temperature-voltage fitting relationship, including: At the same temperature measurement point, the comprehensive voltage value corresponding to all temperature measurement channels is obtained by weighted fusion based on the weight and sampling voltage value of each temperature measurement channel. A mapping relationship between the comprehensive voltage value and the temperature measurement point is established to obtain the target temperature-voltage fitting relationship.
[0028] In this embodiment, the weight of each temperature measurement channel is calculated based on the inverse of variance. First, the variance of the sampled values of each temperature measurement channel at multiple temperature points is calculated. Increase the weight of the temperature measurement channel e is a small constant to avoid the denominator being zero, and ultimately the weights of each channel are normalized. For each temperature measurement point Using the valid data after removing outliers and the corresponding channel weights, for cases containing local weights, the comprehensive voltage value is calculated. For the case of global weighting, the comprehensive voltage value Using a polynomial fitting algorithm, the target temperature-voltage fitting relationship can be expressed as follows: .
[0029] In one example, the target temperature-voltage fitting relationship is as follows: .
[0030] In some embodiments, the sampled voltage values of each temperature measurement channel are weighted and fused to obtain a target temperature-voltage fitting relationship, which further includes: The mapping relationship between the comprehensive voltage value and the temperature measurement point is fitted using polynomial fitting, spline fitting, Fourier fitting, or Gaussian fitting methods to obtain the target temperature-voltage fitting relationship.
[0031] Polynomial fitting fits voltage-temperature data using polynomial functions, aiming to minimize the sum of squared residuals. It requires only matrix operations or recursive algorithms, resulting in high fitting efficiency. Spline fitting divides the data into multiple intervals, fitting each interval with a low-order polynomial and forcing continuity or smoothness at interval connections, thus avoiding high-order overfitting and adapting to complex nonlinearities across the entire range. Fourier fitting represents the voltage-temperature relationship as a linear combination of sine / cosine functions, suitable for periodic or approximately periodic data. Gaussian fitting assumes the voltage-temperature relationship consists of multiple superimposed Gaussian peaks, suitable for multi-peaked data. In this embodiment, any fitting method can be chosen based on actual needs.
[0032] S130: Obtain the actual output voltage of the resistor sample at the reference temperature and the theoretical output voltage determined based on the voltage fitting relationship at the target temperature, and determine the voltage compensation value for each channel based on the actual output voltage and the theoretical output voltage.
[0033] In this embodiment, the resistance sample is placed at a known, stable reference temperature. Under these conditions, the actual output voltage of the temperature measurement channel is obtained through ADC sampling. Using the target temperature-voltage fitting relationship Calculated at the reference temperature Theoretical output voltage at the following conditions Then, based on the actual output voltage and the theoretical output voltage, the voltage compensation value for each channel is determined. Finally, the correction value for each temperature measurement channel is... The identifier associated with the temperature measurement channel is stored in the system's non-volatile memory.
[0034] S140: Obtain the current voltage value of the temperature sensor under test in the target channel, use the corresponding voltage compensation value to correct and determine the target voltage, and combine the target temperature-voltage fitting relationship to determine the final temperature value of the temperature sensor under test in the target channel; the target channel is any one of multiple temperature measurement channels.
[0035] In some embodiments, after obtaining the actual output voltage of the resistance sample at a reference temperature and the theoretical output voltage determined based on the target temperature-voltage fitting relationship, the method further includes: Substitute the actual output voltage into the target temperature-voltage fitting relationship to obtain the fitted temperature value; The temperature compensation value is determined based on the fitted temperature value and the reference temperature.
[0036] In some embodiments, after obtaining the current voltage value of the temperature sensor under test in the target channel, correcting it using the corresponding voltage compensation value to determine the target voltage, and determining the final temperature value of the temperature sensor under test in the target channel by combining the target temperature-voltage fitting relationship, the method further includes: The final temperature value is corrected based on the temperature compensation value to obtain the target temperature value.
[0037] In this embodiment, the actual output voltage corresponding to each temperature measurement channel at the reference temperature is obtained. ,Will Substitution In the process, the fitted temperature value is calculated. Then, the temperature compensation value is determined based on the fitted temperature value and the reference temperature. ,in, The reference temperature for single-point correction is directly used in subsequent measurement stages. The calculated temperature is corrected based on the temperature compensation value to obtain the target temperature value, thus completing the temperature calibration.
[0038] In some embodiments, please refer to Figure 2 , Figure 2 This is a schematic diagram of the measurement hardware principle provided in this embodiment of the invention. The RM55D / E programmable resistor module provides programmable resistance values during system calibration. The PT1000 sensor interface includes PT1000_1 to PT1000_4, used to connect to PT1000 temperature sensors. The signal conditioning circuit is configured to amplify and filter the weak signal output by the sensor to improve signal quality and anti-interference capability. A high-linearity analog optocoupler is used to achieve electrical isolation, prevent signal interference and ground loop problems, and maintain signal linearity. The ADC sampling circuit is connected to the output of the high-linearity analog optocoupler and is responsible for converting the analog signal into a digital signal for processing by the main control chip MCU. The MCU main control chip (including storage) is the core control unit of the system, responsible for controlling the operation of the entire system, including communicating with the RM55D / E module, controlling ADC sampling, processing sampled data, and storing relevant parameters. The voltage reference circuit provides a stable voltage reference for the signal conditioning circuit and the ADC sampling circuit to ensure measurement accuracy.
[0039] During the detection process, the PT1000 temperature sensor detects temperature changes and converts them into changes in resistance. The signal conditioning circuit amplifies and filters these weak resistance change signals to make them suitable for subsequent analog-to-digital conversion. The processed signal is electrically isolated through a high-linearity analog optocoupler to prevent electrical noise from the sensor from interfering with other parts of the system, while maintaining the linearity of the signal. The isolated analog signal enters the ADC sampling circuit and is converted into a digital signal. The MCU main control chip reads the ADC-converted digital signal and performs further processing and analysis. During calibration, the MCU communicates with the RM55D / E programmable resistor module to calibrate the system using known resistance values to improve measurement accuracy. The voltage reference circuit provides a stable reference voltage for signal conditioning and ADC sampling, ensuring the accuracy and stability of the entire measurement system.
[0040] In some embodiments, please refer to Figure 3 , Figure 3 This is a schematic diagram of a multi-channel calibration system for a temperature sensor according to an embodiment of the present invention. The present invention provides a multi-channel calibration system 300 for a temperature sensor, comprising: a voltage sampling module 310, a weighted fitting module 320, a compensation determination module 330, and a voltage correction module 340; wherein, The voltage sampling module 310 is configured to acquire the sampling voltage value of the resistance sample at multiple temperature measurement points in each temperature measurement channel. The weighted fitting module 320 is configured to preprocess the sampled voltage values, determine the weight of each temperature measurement channel based on the inverse of the variance between the sampled voltage value and the mean voltage of each temperature measurement channel at different temperature measurement points, and then perform weighted fusion of the sampled voltage values of each temperature measurement channel through the weights to obtain the target temperature-voltage fitting relationship. The target temperature-voltage fitting relationship characterizes the temperature of the resistance sample under different voltages. The compensation determination module 330 is configured to acquire the actual output voltage of the resistance sample at the reference temperature and the theoretical output voltage determined based on the voltage fitting relationship at the target temperature, and to determine the voltage compensation value for each channel based on the actual output voltage and the theoretical output voltage. The voltage correction module 340 is configured to acquire the current voltage value of the temperature sensor under test in the target channel, use the corresponding voltage compensation value to correct and determine the target voltage, and combine the target temperature-voltage fitting relationship to determine the final temperature value of the temperature sensor under test in the target channel; the target channel is any one of multiple temperature measurement channels.
[0041] In some embodiments, the voltage sampling module 310 is specifically configured as follows: Physical modeling is performed on the resistance characteristics of the temperature sensor under test to obtain resistance samples corresponding to the resistance characteristics of the temperature sensor under test. The sampling voltage values of the resistance sample at multiple temperature measurement points are obtained by using each temperature measurement channel in the multi-channel device.
[0042] In some embodiments, the multi-channel calibration system 300 for detecting temperature sensors further includes a preprocessing module; the preprocessing module is specifically configured as follows: Obtain the average voltage and corresponding standard deviation at multiple temperature measurement points; Outliers in the sampled voltage values are removed by determining the screening threshold based on the standard deviation.
[0043] In some embodiments, the weighted fitting module 320 is specifically configured as follows: At the same temperature measurement point, the comprehensive voltage value corresponding to all temperature measurement channels is obtained by weighted fusion based on the weight and sampling voltage value of each temperature measurement channel. A mapping relationship between the comprehensive voltage value and the temperature measurement point is established to obtain the target temperature-voltage fitting relationship.
[0044] In some embodiments, the weighted fitting module 320 is specifically configured as follows: The mapping relationship between the comprehensive voltage value and the temperature measurement point is fitted using polynomial fitting, spline fitting, Fourier fitting, or Gaussian fitting methods to obtain the target temperature-voltage fitting relationship.
[0045] In some embodiments, the compensation determination module 330 is further configured as follows: Substitute the actual output voltage into the target temperature-voltage fitting relationship to obtain the fitted temperature value; The temperature compensation value is determined based on the fitted temperature value and the reference temperature.
[0046] In some embodiments, the voltage correction module 340 is further configured as follows: The final temperature value is corrected based on the temperature compensation value to obtain the target temperature value.
[0047] It should be noted that the multi-channel calibration system for detecting temperature sensors provided in this application embodiment and the multi-channel calibration method for detecting temperature sensors provided in this application embodiment are based on the same application concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned multi-channel calibration method for detecting temperature sensors, and the repeated parts will not be described again.
[0048] In some embodiments, please refer to Figure 4 , Figure 4This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 400 provided in this application includes a processor 410 and a memory 420; the memory 420 stores a computer program, wherein the computer program, when executed by the processor, implements the aforementioned multi-channel calibration method for detecting a temperature sensor.
[0049] Specifically, processor 410 may include, for example, a general-purpose microprocessor, an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. Processor 410 may also include onboard memory for caching purposes. Processor 410 may be a single processing unit or multiple processing units for performing different actions of the method flow according to embodiments of this application.
[0050] Memory 420 may be any medium capable of containing, storing, transmitting, propagating, or transmitting instructions. For example, memory 420 may include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, instruments, or propagation media. Specific examples of memory 420 include: magnetic storage devices such as magnetic tape or hard disk drives (HDDs); optical storage devices such as optical discs (CD-ROMs); and may also be random access memory (RAM) or flash memory; and / or wired / wireless communication links.
[0051] This application also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the aforementioned multi-channel calibration method for detecting a temperature sensor. This computer-readable medium may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into that device / apparatus / system. The aforementioned computer-readable medium carries one or more programs, which, when executed, implement the method according to the embodiments of this application.
[0052] According to embodiments of this application, a computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wired, optical fiber, radio frequency signals, etc., or any suitable combination thereof.
[0053] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this application can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in this application. In particular, the features described in the various embodiments and / or claims of this application can be combined and / or combined in various ways without departing from the spirit and teachings of this application. All such combinations and / or combinations fall within the scope of this application. Therefore, the scope of this application should not be limited to the above embodiments, but should be defined not only by the appended claims, but also by their equivalents. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this invention should be included within the protection scope of this invention.
Claims
1. A multi-channel calibration method for detecting temperature sensors, characterized in that, include: Obtain the sampling voltage value of the resistance sample at multiple temperature measurement points in each temperature measurement channel; After preprocessing the sampled voltage values, the weight of each temperature measurement channel is determined based on the reciprocal of the variance between the sampled voltage value and the mean voltage of each temperature measurement channel at different temperature measurement points. The sampled voltage values of each temperature measurement channel are weighted and fused using the weights to obtain a target temperature-voltage fitting relationship; the target temperature-voltage fitting relationship characterizes the temperature of the resistor sample under different voltages. The actual output voltage of the resistor sample at the reference temperature and the theoretical output voltage determined based on the voltage fitting relationship at the target temperature are obtained, and the voltage compensation value of each channel is determined based on the actual output voltage and the theoretical output voltage. Obtain the current voltage value of the temperature sensor under test in the target channel, use the corresponding voltage compensation value to correct and determine the target voltage, and combine the target temperature-voltage fitting relationship to determine the final temperature value of the temperature sensor under test in the target channel. The target channel is any one of multiple temperature measurement channels.
2. The multi-channel calibration method for a temperature sensor as described in claim 1, characterized in that, The process of acquiring the sampling voltage value of the resistance sample at multiple temperature measurement points in each temperature measurement channel includes: Physical modeling is performed on the resistance characteristics of the temperature sensor under test to obtain resistance samples corresponding to the resistance characteristics of the temperature sensor under test. The sampling voltage values of the resistance sample at multiple temperature measurement points are obtained by using each temperature measurement channel in the multi-channel device.
3. The multi-channel calibration method for a temperature sensor as described in claim 1, characterized in that, The preprocessing of the sampled voltage value includes: Obtain the average voltage and corresponding standard deviation at multiple temperature measurement points; The outlier points of the sampled voltage values are removed based on the standard deviation determined by the screening threshold.
4. The multi-channel calibration method for a temperature sensor as described in claim 1, characterized in that, The step of weighting and fusing the sampled voltage values of each temperature measurement channel using the weights to obtain the target temperature-voltage fitting relationship includes: At the same temperature measurement point, a weighted fusion is performed based on the weight corresponding to each temperature measurement channel and the sampled voltage value to obtain the comprehensive voltage value corresponding to all the temperature measurement channels. A mapping relationship is created between the comprehensive voltage value and the temperature measurement point to obtain the target temperature-voltage fitting relationship.
5. The multi-channel calibration method for a temperature sensor as described in claim 4, characterized in that, The step of weighting and fusing the sampled voltage values of each temperature measurement channel using the weights to obtain the target temperature-voltage fitting relationship further includes: The mapping relationship between the comprehensive voltage value and the temperature measurement point is fitted using polynomial fitting, spline fitting, Fourier fitting, or Gaussian fitting methods to obtain the target temperature-voltage fitting relationship.
6. The multi-channel calibration method for a temperature sensor as described in claim 1, characterized in that, After obtaining the actual output voltage of the resistor sample at the reference temperature and the theoretical output voltage determined based on the voltage fitting relationship at the target temperature, the method further includes: Substitute the actual output voltage into the target temperature-voltage fitting relationship to obtain the fitted temperature value; The temperature compensation value is determined based on the fitted temperature value and the reference temperature.
7. The multi-channel calibration method for a temperature sensor as described in claim 6, characterized in that, After obtaining the current voltage value of the temperature sensor under test in the target channel, correcting it using the corresponding voltage compensation value to determine the target voltage, and determining the final temperature value of the temperature sensor under test in the target channel based on the target temperature-voltage fitting relationship, the method further includes: The final temperature value is corrected based on the temperature compensation value to obtain the target temperature value.
8. A multi-channel calibration system for detecting temperature sensors, characterized in that, include: The system includes a voltage sampling module, a weighted fitting module, a compensation determination module, and a voltage correction module; among which... The voltage sampling module is configured to acquire the sampling voltage value of the resistance sample at multiple temperature measurement points in each temperature measurement channel. The weighted fitting module is configured to preprocess the sampled voltage values, determine the weight of each temperature measurement channel based on the inverse of the variance between the sampled voltage value and the mean voltage of each temperature measurement channel at different temperature measurement points, and then perform weighted fusion of the sampled voltage values of each temperature measurement channel using the weights to obtain a target temperature-voltage fitting relationship. The target temperature-voltage fitting relationship characterizes the temperature of the resistance sample under different voltages. The compensation determination module is configured to obtain the actual output voltage of the resistor sample at the reference temperature and the theoretical output voltage determined based on the target temperature-voltage fitting relationship, and to determine the voltage compensation value of each channel based on the actual output voltage and the theoretical output voltage. The voltage correction module is configured to acquire the current voltage value of the temperature sensor under test in the target channel, use the corresponding voltage compensation value to correct and determine the target voltage, and combine the target temperature-voltage fitting relationship to determine the final temperature value of the temperature sensor under test in the target channel; the target channel is any one of multiple temperature measurement channels.
9. An electronic device comprising a processor and a memory; said memory having a storage for a computer program, wherein, When executed by the processor, the computer program implements the multi-channel calibration method for a temperature sensor as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium, characterized in that, It stores a computer program, wherein the computer program, when executed by a processor, implements the multi-channel calibration method for detecting a temperature sensor as described in any one of claims 1 to 7.