High-precision resistance output method and device for temperature measurement
By optimizing the stability of the current source, improving the voltage measurement accuracy, using an accurate resistance-temperature model, and introducing a real-time calibration mechanism, the problems of unstable current source, insufficient measurement accuracy and poor real-time calibration capabilities in the existing technology are solved, and high-precision, stable and reliable temperature measurement is achieved.
Patent Information
- Application Number
- CN202411865974.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-03-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing resistance temperature sensors have defects in the instability of current source, insufficient measurement accuracy and poor real-time calibration capabilities, which affect the accuracy and stability of temperature measurement.
By optimizing the stability of the current source, improving the voltage measurement accuracy, using an accurate resistance-temperature relationship model, and introducing a real-time calibration mechanism into the system to achieve high-precision, stable and reliable temperature measurement.
It effectively reduces errors due to current fluctuations and measurement noise, improves the accuracy of temperature measurement, and ensures high-precision measurement of the system under different environmental conditions through real-time calibration.
Smart Images

Figure CN119714580A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of temperature measurement, and in particular to a high-precision resistance output method and device for temperature measurement. Background Art
[0002] Temperature is one of the most important physical quantities in scientific research, industrial production and daily life. Accurate temperature measurement is an indispensable foundation in many technical fields. Traditional temperature measurement methods such as mercury thermometers and lead wire thermometers have certain limitations in accuracy and measurement range. In order to overcome the shortcomings of traditional temperature measurement methods, modern temperature measurement technology often uses precision sensors such as resistance temperature sensors (RTDs) or thermocouples. Resistance temperature sensor (RTD) is a device that measures temperature based on the property that the resistance of metal materials (such as platinum) changes with temperature. Due to its good linear relationship and high accuracy, platinum resistance is widely used in high-precision temperature measurement systems.
[0003] However, existing resistance temperature sensors usually face the following problems: 1. Unstable current source: The stability of the current source has a crucial impact on the accuracy of the resistance temperature sensor. In some traditional designs, due to the instability of the current source output, the measurement results are interfered by noise or current fluctuations, thereby affecting the accuracy of temperature measurement. 2. Measurement accuracy problem: Existing resistance temperature sensors often rely on simple resistance-temperature models to infer temperature, but in some cases, factors such as sensor errors, environmental changes, and circuit noise can cause measurement errors and affect the accuracy of temperature measurement. 3. Calibration problem: The temperature measurement system may drift during long-term use. Traditional temperature measurement systems often rely on manual regular calibration, but this method cannot achieve real-time automatic calibration, and it is difficult to maintain measurement accuracy under different environmental conditions.
[0004] In order to solve the above problems, the prior art has made some improvements in current source stability, voltage measurement accuracy, and real-time calibration of temperature measurement. However, the prior art still has defects such as low accuracy, insufficient real-time calibration capability, and poor adaptability to complex environmental changes. Therefore, a more accurate and highly stable temperature measurement method and device are urgently needed to solve the problems in the current technology.
[0005] In view of the defects in the prior art, the present invention proposes a high-precision resistance output method and device for temperature measurement. By optimizing the stability of the current source, improving the voltage measurement accuracy, using an accurate resistance-temperature relationship model, and introducing a real-time calibration mechanism in the system, the present invention can achieve high-precision, stable and reliable temperature measurement in complex environments. Summary of the invention
[0006] The present invention provides a high-precision resistance output method for temperature measurement, comprising:
[0007] Initialize the current source and set the constant current value to provide a stable current for the resistance sensor;
[0008] The resistance sensor is driven by current, causing the resistance value of the resistance sensor to change with temperature;
[0009] Measure the voltage across the resistor sensor and calculate the resistance value using the measured voltage value;
[0010] According to the relationship between resistance value and temperature, the actual temperature is calculated;
[0011] The output temperature is calibrated in real time according to the standard temperature to ensure accuracy.
[0012] A high-precision resistance output method for temperature measurement as described above, wherein the constant current value of the current source is set by an external control unit or a control module that automatically adjusts the current source to adapt to different temperature ranges and measurement accuracy requirements, and can maintain the stability of the current output during the measurement process.
[0013] A high-precision resistance output method for temperature measurement as described above, wherein the resistance sensor is a platinum resistance sensor, or any other sensor with a known resistance-temperature relationship, and the operating range of the resistance sensor matches the set current source current, thereby ensuring that the sensor operates within its temperature response range.
[0014] In the high-precision resistance output method for temperature measurement as described above, the accuracy of the high-precision voltage measurement module is within 0.1%, and the voltage measurement module can automatically compensate for the voltage drift caused by temperature to improve the accuracy of temperature measurement.
[0015] As described above, a high-precision resistance output method for temperature measurement, wherein the real-time calibration step includes real-time correction of the calculated temperature value based on known standard temperature and resistance standard value, to ensure that the measurement error is effectively corrected and can be automatically corrected when the operating environment changes.
[0016] A high-precision resistance output method for temperature measurement as described above, wherein the relationship between the resistance change of the resistance sensor and the temperature is a linear or nonlinear relationship, and the method converts the resistance value into a temperature value through a table lookup method, an interpolation method or a fitting algorithm, and can optimize the temperature measurement accuracy according to the characteristics of the temperature sensor.
[0017] A high-precision resistance output method for temperature measurement as described above, wherein the output of the temperature value is transmitted to an external device via a digital interface or an analog interface for real-time monitoring, data recording or other industrial applications, and the real-time calibration process can adapt to different environmental conditions to ensure the long-term stability and accuracy of the system.
[0018] The present invention also provides a high-precision resistance output device for temperature measurement, wherein the device comprises:
[0019] Current source module: used to provide constant current and drive the resistance sensor;
[0020] Resistance sensor: used to adjust its resistance value according to temperature changes;
[0021] Voltage measurement module: used to measure the voltage across the resistor sensor and transmit it to the calculation module;
[0022] Calculation module: used to calculate the resistance value according to the measured voltage value and deduce the corresponding temperature value;
[0023] Output module: used to output temperature values and perform real-time calibration to ensure the accuracy of temperature measurement.
[0024] The present invention also provides a computer storage medium, comprising: at least one memory and at least one processor;
[0025] The memory is used to store one or more program instructions;
[0026] The processor is used to run one or more program instructions to execute the high-precision resistance output method for temperature measurement.
[0027] The beneficial effects achieved by the present invention are as follows: the present invention can effectively reduce the error caused by current fluctuation and measurement noise by accurately controlling the current source to output a stable constant current, and combined with a high-precision voltage measurement module, thereby greatly improving the accuracy of temperature measurement; the real-time calibration technology is introduced to automatically correct the measurement results through the standard temperature to ensure that high-precision temperature measurement can be maintained under different environmental conditions. Real-time calibration can effectively compensate for factors such as system deviation and sensor drift, so that the temperature measurement system can maintain long-term stability without frequent manual intervention. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0029] Figure 1 This is a flow chart of a high-precision resistance output method for temperature measurement provided in Example 1 of the present application;
[0030] Figure 2 This is a schematic diagram of a high-precision resistance output device for temperature measurement provided in Example 2 of the present application. DETAILED DESCRIPTION
[0031] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0032] Embodiment 1
[0033] like Figure 1 As shown, the first embodiment of the present application provides a high-precision resistance output method for temperature measurement, comprising the following steps:
[0034] Step S10, initializing the current source and setting a constant current value to provide a stable current for the resistance sensor;
[0035] Step S10 is a key step for system startup and temperature measurement, and its purpose is to ensure that the current source provides a stable and constant current flowing through the resistance sensor to ensure the accuracy of subsequent temperature measurement. The specific implementation is as follows:
[0036] Start the current source module. After the system is turned on, the current source module first performs a self-check to detect whether the various functions of the current source are normal. The current source module has an embedded feedback control system, which starts working through an external control signal and confirms that the connection between the output port and the resistance sensor is normal.
[0037] Set the current source output constant current value. According to the selected resistance sensor specifications (such as the rated operating current range of the PT100 platinum resistance sensor), the constant current value of the current source output is set by the control module. In this embodiment, the current source output current is set to 10mA, which ensures a stable current flow within the measurement range of the sensor. The current source module will automatically adjust according to the set value and output a constant current to ensure that the current does not fluctuate during the entire measurement process.
[0038] Current stability feedback control. The current source module is equipped with a stability monitoring feedback system to continuously detect the stability of the output current. When the current deviates from the set value, the feedback system adjusts the current source output to ensure that the current always remains at the preset constant current value. This monitoring process ensures the accuracy of the current source output and avoids the influence of current fluctuations on the measurement results of the resistance sensor.
[0039] Confirmation of stable operation of the current source. After the current value output by the current source is stable, the system performs self-calibration to confirm that the current value output by the current source reaches the set constant current value and remains unchanged during the measurement process. At this point, the current source module will pass a stable constant current through the resistance sensor, ready to enter the subsequent measurement process.
[0040] Initialization complete and ready to measure. After the current source is initialized and set up, the system will confirm that all links are ready and can proceed to the subsequent steps (such as driving the resistor sensor, measuring the voltage value, etc.) to start the actual temperature measurement.
[0041] Step S20, driving the resistance sensor by current, causing the resistance value of the resistance sensor to change with temperature;
[0042] The main task of step S20 is to pass a stable current through the resistance sensor, causing the resistance value of the sensor to change with the ambient temperature. This process is the core of temperature measurement. There is a certain relationship between the resistance value of the resistance sensor and the temperature. Through this relationship, the accurate temperature value can be calculated. The specific implementation is as follows:
[0043] The current flows through the resistance sensor. In step S10, a stable current has been provided to the resistance sensor by the current source. At this time, the current source transmits the set constant current (for example, 10 mA) to the resistance sensor through the connecting wire. According to the stability control of the current source module, the constant current will not fluctuate, thereby ensuring that the voltage value generated when the current flows through the resistance sensor is stable.
[0044] Resistor sensors (such as PT100) are usually made of platinum metal, and their resistance value changes with temperature. For a PT100 sensor, the resistance changes accordingly for every 1°C change in temperature. Specifically, the resistance value of a PT100 sensor at 0°C is 100Ω, and its resistance is linearly related to temperature. When a constant current flows through the resistor sensor, the resistance value of the sensor changes accordingly according to the change in the ambient temperature.
[0045] In this step, as the external ambient temperature changes, the resistance value of the resistance sensor will gradually change. Specifically:
[0046] If the ambient temperature rises, the resistance value of the resistance sensor will increase.
[0047] If the ambient temperature drops, the resistance value of the resistance sensor decreases.
[0048] This property of resistance changing with temperature is the basic operating principle of resistance temperature sensors (RTDs) and is also the basis for the subsequent inference of temperature through voltage measurement.
[0049] In order to ensure the accuracy of temperature measurement, the resistance change provided by the sensor must maintain an accurate linear relationship with the temperature change. When current passes through the resistance sensor, the linear relationship between the sensor's resistance and temperature change will be tracked in real time in the system to ensure that there is no deviation in the relationship between temperature and resistance. This linear relationship is usually achieved by a standard curve provided by the sensor manufacturer or through a calibration algorithm.
[0050] The stable current provided by the current source module ensures that the resistance change of the resistance sensor can accurately reflect the temperature change. If the current source output is unstable, it may affect the accuracy of the resistance change, thereby causing errors in temperature measurement. Therefore, in the present invention, the stable output of the high-precision current source ensures that the resistance change of the resistance sensor can accurately map the change in ambient temperature.
[0051] Once the current drives the resistor sensor and causes its resistance to change, the system is ready to enter the next step, which is to measure the voltage value across the resistor sensor to further calculate the resistance value based on the voltage and ultimately infer the ambient temperature.
[0052] Step S30, measuring the voltage across the resistance sensor, and calculating the resistance value according to the measured voltage value;
[0053] In step S30, the system obtains the voltage across the resistor sensor through the voltage measurement module, and calculates the resistance value of the resistor sensor using the voltage value and the constant current output by the current source. The resistance value is a direct reflection of the temperature change, so by accurately measuring the voltage value, the system can provide basic data for subsequent temperature calculations. The specific implementation process is as follows:
[0054] In step S20, the current source has provided a stable constant current to the resistance sensor. At this time, the current flows through the resistance sensor and causes its resistance value to change. The voltage measurement module is connected to both ends of the resistance sensor to monitor the voltage across the resistor in real time.
[0055] The voltage measurement module starts to record the voltage value across the resistor sensor in real time. Since the current is constant and the resistance changes with temperature, the voltage value will change with the change of resistance. The voltage measurement module needs to have high-precision measurement capabilities to ensure the accuracy of the measurement results and avoid errors caused by external interference or noise.
[0056] Based on the stable current provided by the current source, the system can calculate the resistance value of the resistor sensor from the voltage value measured by the voltage measurement module. Since there is a direct linear relationship between voltage and resistance when current flows through the resistor sensor, the system can calculate the resistance value of the resistor sensor based on the measured voltage value and the known constant current.
[0057] There is a known relationship between the resistance value of a resistor sensor (such as PT100) and temperature. By measuring the resistance value, the system can determine the temperature corresponding to the resistance. For example, when the ambient temperature is 0°C, the resistance of the resistor sensor is 100Ω. By measuring the resistance value, the system can calculate the corresponding temperature.
[0058] To ensure the accuracy of the measurement results, the system will use a calibration algorithm to compensate for the error of the measured voltage value. For example, the system will compare the actual temperature with the measurement result in real time to eliminate the errors caused by sensor deviation and current source fluctuation. In this way, the system can continuously provide high-precision resistance calculation and temperature measurement.
[0059] When the resistance value is calculated, the system will use the known resistance value to calculate the current ambient temperature through the preset temperature-resistance relationship model. In this way, the system can provide accurate temperature data for subsequent steps.
[0060] Step S40, calculating the actual temperature according to the relationship between the resistance value and the temperature;
[0061] In step S40, the system uses the calculated resistance value and the known relationship between resistance and temperature to infer the current actual temperature. The specific implementation process is as follows:
[0062] In step S30, the resistance value of the resistance sensor has been calculated by the voltage measurement module. At this point, the system has obtained resistance data related to the ambient temperature. The resistance value is an important indicator of temperature change. Through this resistance value, the system can calculate the corresponding temperature value.
[0063] Resistor sensors (such as PT100) have a clear resistance-temperature relationship. During design, the relationship between the sensor's resistance value and temperature has been calibrated using a standard curve or mathematical model. Based on this relationship model, the system will match the measured resistance value with the corresponding temperature. For example, the resistance value of a PT100 sensor at 0°C is 100Ω, and the resistance will change accordingly for every 1°C increase or decrease in temperature.
[0064] Once the system obtains the resistance value and understands the relationship between it and temperature, it can use this relationship to calculate the current temperature. For example, when the measured resistance is 100Ω, the system infers the temperature to be 0℃ based on the known temperature-resistance relationship model. If the resistance value changes, the system calculates the new temperature value accordingly.
[0065] According to the working range and accuracy requirements of the sensor, the system will calibrate the temperature value to the appropriate range. If the resistance value exceeds the working range of the sensor, the system will issue an alarm or correction to avoid calculation errors. In this way, the system can ensure the reliability and accuracy of the temperature measurement results.
[0066] The calculated temperature value is presented to the user through the display module or output interface of the system. In this embodiment, the system will display the temperature value on an LCD screen, or transmit it to an external device (such as a computer, cloud platform, etc.) through a communication interface for further processing.
[0067] Step S50: output the temperature and perform real-time calibration according to the standard temperature to ensure accuracy.
[0068] In step S50, the system will output the actual temperature calculated and perform real-time calibration in combination with the known standard temperature to ensure the accuracy of the temperature measurement results. This step is crucial to maintaining the high accuracy and reliability of the system, because environmental factors, sensor aging and other factors may cause certain measurement errors. Real-time calibration can eliminate these errors and improve the accuracy of temperature measurement. The specific implementation process is as follows:
[0069] In step S40, the system calculates the current actual temperature value through the resistance value and temperature relationship model. At this time, the system outputs the temperature value to a display module, data storage or external device. Usually, the temperature value is displayed in digital form on an LCD display screen, or transmitted to a remote monitoring system through a communication interface (such as a serial port, wireless transmission, etc.).
[0070] To ensure the accuracy of temperature measurement, a standard temperature source (e.g., a reference source or calibration device with a known temperature) is built into the system. This standard temperature source provides an accurate, known temperature value, and the system compares the actual measured temperature with the standard temperature. If the calculated temperature value deviates from the standard temperature value, the system will initiate the calibration process.
[0071] Based on the deviation between the standard temperature and the actual temperature, the system will execute a calibration algorithm to adjust the temperature calculation. The algorithm will make corrections based on the preset error range and adjust the parameters of the temperature calculation model or sensor to ensure that the temperature value output by the system is consistent with the standard temperature value. The system will make real-time adjustments based on linear or nonlinear corrections to the temperature.
[0072] If the calibration results indicate that there is a systematic error in the temperature value, the system will automatically compensate for it. The compensation process usually involves correcting the sensor's calibration data or correcting the temperature value based on the error measured in real time. For example, if the system measures a temperature that is too high, the calibration algorithm will appropriately reduce the calculated temperature value, and vice versa.
[0073] The calibration process is not only performed after each measurement, but also monitors the temperature measurement accuracy in real time during continuous operation. When the system detects a large deviation in the temperature calculation, it will automatically recalibrate and feedback to the user or the system control center. In this way, the temperature measurement results are always in a high-precision state to ensure their reliability.
[0074] After calibration, the system will output accurate temperature values based on the corrected temperature data. These temperature values will be used as a reference for users or used in temperature control systems, automation control, etc. to ensure that they always meet the expected accuracy requirements.
[0075] The calibrated temperature data will be stored in the system's storage module or cloud database for subsequent query and analysis. The system can also log the data recorded during the calibration process to facilitate subsequent maintenance and performance evaluation.
[0076] Embodiment 2
[0077] like Figure 2 As shown, the second embodiment of the present application provides a high-precision resistance output device for temperature measurement, comprising:
[0078] Current source module 21: used to provide a constant current and drive the resistance sensor;
[0079] The current source module is one of the core components of the device of the present invention, which is responsible for providing a stable constant current to drive the resistance sensor to work and ensure the accuracy of temperature measurement. In this embodiment, the design goal of the current source module is to maintain the stability of the current and eliminate the error caused by current fluctuation, thereby improving the temperature measurement accuracy of the system.
[0080] The current source module keeps the resistor sensor in working state by providing a constant current. In the resistor sensor, the current flows through the resistor of the sensor, and the resistance value changes with temperature. According to Ohm's law, there is a direct relationship between voltage, current and resistance. In this way, the output current of the current source module directly affects the working state of the resistor sensor and provides an accurate voltage signal to the voltage measurement module.
[0081] To ensure that the current source module can continuously provide a stable constant current, the module uses the following two methods:
[0082] Voltage-regulated current source. The current source module maintains a stable current value by adjusting the output voltage. The voltage regulator in the current source module can automatically adjust according to the load resistance (i.e. the resistance of the resistance sensor) to ensure that the current remains constant.
[0083] Precision current source design. To ensure higher accuracy, the current source module will use a precision current source design, such as using a high-precision operational amplifier and a low-temperature drift current source circuit. These designs can ensure stable current output during long-term operation and greatly reduce the interference of external factors on the measurement.
[0084] Resistance sensor 22: used to adjust its resistance value according to temperature changes;
[0085] The resistance sensor is one of the key components in the device of the present invention. Its main function is to adjust its resistance value according to temperature changes. The working principle of the resistance sensor is based on the property that the resistance of the material changes with temperature. It can convert the change of ambient temperature into the change of resistance value and provide the necessary signal for the subsequent temperature calculation. By measuring the voltage across the sensor, the system can infer the corresponding temperature value.
[0086] The design of a resistance sensor depends mainly on the resistance-temperature characteristics of the selected material. The design of the sensor should take into account the temperature range, accuracy requirements and environmental conditions. The appropriate material is selected according to the temperature range and accuracy requirements that need to be measured. Platinum materials (such as PT100) are often used in high-precision, wide-temperature range applications, while NTC and PTC thermistor materials are often used in specific temperature ranges and low-cost applications.
[0087] Resistive sensors are usually made of conductive materials whose resistance changes with temperature. The shape, size and choice of conductive material of the sensor will affect its temperature response characteristics. In order to achieve more accurate measurement, the sensor adopts thin film technology or thin sheet structure to increase its response speed and stability.
[0088] The temperature coefficient of the resistor sensor (i.e., the ratio of resistance change with temperature) is a key parameter in the design. Different materials and designs have different temperature coefficients, so it is necessary to select the appropriate resistor sensor according to the specific application requirements. For example, the temperature coefficient of the PT100 sensor is relatively linear and suitable for high-precision temperature measurement; NTC and PTC sensors have strong nonlinear changes and are suitable for applications in different temperature ranges.
[0089] Voltage measurement module 23: used to measure the voltage across the resistance sensor and transmit it to the calculation module;
[0090] The voltage measurement module is one of the key components of the device of the present invention. It is mainly responsible for measuring the voltage across the resistor sensor and passing the measured voltage value to the calculation module. By accurately measuring the voltage across the resistor sensor, the voltage measurement module provides the necessary input data for the calculation module, and then calculates the ambient temperature based on the known resistance-temperature relationship.
[0091] The working principle of the voltage measurement module is based on Ohm's law and the changing characteristics of resistance. The resistance sensor (such as PT100, NTC, PTC, etc.) will adjust its resistance value according to the temperature change, and when the constant current provided by the current source module passes through the resistance sensor, a voltage difference will be generated between the current and the resistance. The task of the voltage measurement module is to accurately measure this voltage difference and convert it into data suitable for the calculation module. Its working process is as follows:
[0092] The current source module provides a constant current I to drive the resistor sensor, resulting in a voltage difference across the resistor sensor. The magnitude of the voltage difference is directly related to the resistance value, which in turn is closely related to temperature.
[0093] The voltage measurement module is connected to both ends of the resistance sensor to collect the voltage value V at both ends of the resistance sensor in real time. The voltage signal represents the resistance change of the resistance sensor, which indirectly reflects the temperature change.
[0094] Since the voltage signal may be very weak, the voltage measurement module first amplifies the signal to increase its amplitude so that it can be accurately collected by the analog-to-digital converter (ADC). At this time, the module also filters the signal to remove electromagnetic interference and noise to ensure the purity of the signal. The amplified and filtered analog voltage signal is converted into a digital signal through the analog-to-digital converter (ADC). This digital signal will be passed to the calculation module in a standard data format for subsequent calculation of resistance and temperature values.
[0095] Calculation module 24: used to calculate the resistance value according to the measured voltage value and deduce the corresponding temperature value;
[0096] The calculation module is the core part of the temperature measurement device of the present invention, and is responsible for calculating the resistance value of the resistance sensor according to the voltage data transmitted by the voltage measurement module, and deducing the ambient temperature according to the known relationship between resistance and temperature.
[0097] To ensure the accuracy of temperature calculation, the calculation module needs to have high-precision processing capabilities. Usually, a high-performance microprocessor or a dedicated digital signal processor (DSP) is used for data processing to ensure fast and accurate conversion from voltage to resistance to temperature.
[0098] The calculation module needs to store the resistance-temperature relationship function or lookup table data, especially when dealing with non-linear sensors (such as NTC and PTC sensors). This can be achieved through built-in ROM or external memory. For linear relationships (such as PT100), the temperature can be derived through the calculation formula; for non-linear relationships, it is calculated through table lookup or polynomial fitting.
[0099] The calculation module has real-time calculation capabilities to adapt to environments with rapid temperature changes. Under high-frequency measurement requirements, the calculation module can quickly and stably calculate resistance and temperature.
[0100] Since the resistance sensor, measurement module and current source may have certain errors and interference, the calculation module has a certain anti-interference ability and can make real-time corrections based on the error feedback of the system. For example, by comparing and calibrating with the standard temperature, the accuracy of the temperature measurement result can be ensured.
[0101] The calculation module can provide an interface with external devices (such as displays, control systems), making it convenient for users to read temperature data or further analyze and control the temperature data.
[0102] Output module 25: used to output temperature values and perform real-time calibration to ensure the accuracy of temperature measurement.
[0103] The output module is an important component of the temperature measurement device of the present invention, which is responsible for transmitting the temperature value calculated by the calculation module to the user or other control system and providing a real-time calibration function for temperature measurement. The output module not only provides the display or transmission of temperature data, but also needs to ensure the accuracy of temperature measurement, especially when the system is running for a long time or the external environment changes greatly, so that effective error correction can be performed.
[0104] The output module receives the temperature value from the calculation module and converts it into a format suitable for display or transmission. The output module usually includes three parts: display unit, communication interface and calibration function. Its workflow includes the following steps:
[0105] Receive temperature value. The output module receives the temperature value calculated in real time from the calculation module. The temperature value is obtained after the voltage signal measured by the resistance sensor is processed by the calculation module. The temperature value can be a continuous real-time data or a periodically updated value.
[0106] Real-time calibration. To ensure the accuracy of the measurement results, the output module is usually equipped with a calibration mechanism. This mechanism can calibrate the measurement results based on a known standard temperature (such as ambient temperature, reference temperature, etc.). If the system deviates or the accuracy decreases after long-term operation, the output module will adjust the output value to maintain the accuracy of the temperature measurement. This calibration can be manual or automatic, depending on the needs and design of the system.
[0107] Data output. The output module transmits the processed temperature data to a display device, control system or cloud storage through an appropriate interface. For example, it can directly display the temperature through a digital display, or transmit the data to an external device through a communication interface (such as I2C, SPI, UART, etc.) for further processing or recording. The output module can also upload the temperature data to the cloud for remote monitoring and analysis.
[0108] User interface and alarm function. Output modules also usually include a user interface to display the current temperature, calibration status, and other relevant information. If the temperature exceeds the set safety range, the output module can also provide an alarm function, through sound and light prompts or trigger the control system to perform a predetermined action.
[0109] Corresponding to the above embodiment, an embodiment of the present invention provides a computer storage medium, including: at least one memory and at least one processor;
[0110] The memory is used to store one or more program instructions;
[0111] The processor is used for running one or more program instructions to execute a high-precision resistance output method for temperature measurement.
[0112] Corresponding to the above-mentioned embodiment, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer storage medium contains one or more program instructions, and the one or more program instructions are used by a processor to execute a high-precision resistance output method for temperature measurement.
[0113] The embodiments disclosed in the present invention provide a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are executed on a computer, the computer executes the above-mentioned high-precision resistance output method for temperature measurement.
[0114] In the embodiment of the present invention, the processor may be an integrated circuit chip having the ability to process signals. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0115] The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The processor reads the information in the storage medium and completes the steps of the above method in combination with its hardware.
[0116] The storage medium may be a memory, which may be, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.
[0117] Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
[0118] The volatile memory may be a random access memory (RAM) which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDRSDRAM), enhanced synchronous DRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus DRAM (DRRAM).
[0119] The storage media described in the embodiments of the present invention are intended to include, but are not limited to, these and any other suitable types of memory.
[0120] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the present invention can be implemented using a combination of hardware and software. When software is used, the corresponding functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by general or special-purpose computers.
[0121] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.
Claims
1. A high-precision resistance output method for temperature measurement, characterized in that: The following steps are involved: Initialize the current source and set the constant current value to provide a stable current for the resistance sensor; The resistance sensor is driven by current, causing the resistance value of the resistance sensor to change with temperature; Measure the voltage across the resistor sensor and calculate the resistance value using the measured voltage value; According to the relationship between resistance value and temperature, the actual temperature is calculated; The output temperature is calibrated in real time according to the standard temperature to ensure accuracy.
2. A high-precision resistance output method for temperature measurement as claimed in claim 1, characterized in that: The constant current value of the current source is set by an external control unit or a control module that automatically adjusts the current source to adapt to different temperature ranges and measurement accuracy requirements, and can maintain the stability of the current output during the measurement process.
3. A high-precision resistance output method for temperature measurement as claimed in claim 1, characterized in that: The resistance sensor is a platinum resistance sensor, or any other sensor with a known resistance-temperature relationship, and the operating range of the resistance sensor matches the set current source current, thereby ensuring that the sensor operates within its temperature response range.
4. A high-precision resistance output method for temperature measurement as claimed in claim 1, characterized in that: The accuracy of the high-precision voltage measurement module is within 0.1%, and the voltage measurement module can automatically compensate for voltage drift caused by temperature to improve the accuracy of temperature measurement.
5. A high-precision resistance output method for temperature measurement as claimed in claim 1, characterized in that: The real-time calibration step includes correcting the calculated temperature value in real time according to the known standard temperature and the standard resistance value, so as to ensure that the measurement error is effectively corrected and can be automatically corrected when the operating environment changes.
6. A high-precision resistance output method for temperature measurement as claimed in claim 1, characterized in that: The relationship between the resistance change and temperature of the resistance sensor is a linear or nonlinear relationship. The method converts the resistance value into a temperature value by using a table lookup method, an interpolation method or a fitting algorithm, and can optimize the temperature measurement accuracy according to the characteristics of the temperature sensor.
7. A high-precision resistance output method for temperature measurement as claimed in claim 1, characterized in that: The output of the temperature value is transmitted to an external device via a digital interface or an analog interface for real-time monitoring, data logging or other industrial applications, and the real-time calibration process can adapt to different environmental conditions to ensure the long-term stability and accuracy of the system.
8. A high-precision resistance output device for temperature measurement, characterized in that: The device comprises: Current source module: used to provide constant current and drive the resistance sensor; Resistance sensor: used to adjust its resistance value according to temperature changes; Voltage measurement module: used to measure the voltage across the resistor sensor and transmit it to the calculation module; Calculation module: used to calculate the resistance value according to the measured voltage value and deduce the corresponding temperature value; Output module: used to output temperature values and perform real-time calibration to ensure the accuracy of temperature measurement.
9. A computer storage medium comprising: at least one memory and at least one processor; The memory is used to store one or more program instructions; A processor is used to run one or more program instructions to execute a high-precision resistance output method for temperature measurement as described in any one of claims 1-8.
Citation Information
Patent Citations
High-precision temperature measuring device and method
CN101957243A
Liquid nitrogen temperature continuously and automatically measuring device
CN102661816A
High-precision temperature measuring device
CN103411699A
Thermal resistor fault diagnosis device and method
CN106644170A
High-precision multi-channel platinum resistor temperature measurement module and method based on constant current source
CN109489853A