Correction method for offset of resistance type temperature sensor

文档序号:1541895 发布日期:2020-01-17 浏览:19次 中文

阅读说明:本技术 一种电阻式温度传感器偏移的修正方法 (Correction method for offset of resistance type temperature sensor ) 是由 刘静远 童彬 汪洋 郭睿涵 廖晓宁 李昕 刘杰 陈钇辛 胡克宇 夏君 王义雄 于 2019-11-22 设计创作,主要内容包括:本发明公开了一种电阻式温度传感器偏移的修正方法,包括PLC,方法步骤如下:步骤S100:用标准测量工具和温度传感器同时测量,分别得到实际温度和测量温度;步骤S200:将所述实际温度和测量温度输入所述PLC的人机交互界面,PLC根据人机交互界面输入的数据计算两种数据的温度偏移量,所述温度偏移量为测量温度与实际温度的比值δ;步骤S300:PLC将温度传感器的标尺范围[a,b]修改为[δa,δb],将新量程值输入温度传感器的Scale模块,完成量程的修改。实现了温度传感器的自动校准,降低了对温度传感校准的复杂性,操作简便,效率提升,同时避免人工校准时的差错。(The invention discloses a correction method of offset of a resistance type temperature sensor, which comprises a PLC (programmable logic controller), and comprises the following steps: step S100: simultaneously measuring by using a standard measuring tool and a temperature sensor to respectively obtain an actual temperature and a measured temperature; step S200: inputting the actual temperature and the measured temperature into a human-computer interaction interface of the PLC, and calculating the temperature offset of the two data by the PLC according to the data input by the human-computer interaction interface, wherein the temperature offset is the ratio delta of the measured temperature to the actual temperature; step S300: the PLC modifies the Scale range [ a, b ] of the temperature sensor into [ delta a, delta b ], inputs the new range value into the Scale module of the temperature sensor, and finishes the range modification. The automatic calibration of the temperature sensor is realized, the complexity of the temperature sensor calibration is reduced, the operation is simple and convenient, the efficiency is improved, and meanwhile, the error in manual calibration is avoided.)

1. A method for correcting offset of a resistance temperature sensor is characterized by comprising a PLC (programmable logic controller), and the method comprises the following steps:

step S100: simultaneously measuring by using a standard measuring tool and a temperature sensor to respectively obtain an actual temperature and a measured temperature;

step S200: inputting the actual temperature and the measured temperature into a human-computer interaction interface of the PLC, and calculating the temperature offset of the two data by the PLC according to the data input by the human-computer interaction interface, wherein the temperature offset is the ratio delta of the measured temperature to the actual temperature;

step S300: the PLC modifies the Scale range [ a, b ] of the temperature sensor into [ delta a, delta b ], inputs the new range value into the Scale module of the temperature sensor, and finishes the range modification.

2. The method of claim 1, wherein the calibration measuring tool is a standard thermometer.

3. The method as claimed in claim 1, wherein the temperature offset is an average value of a plurality of groups of ratios δ of actual temperature to measured temperature.

4. The method of claim 1, further comprising performing a verification test on the corrected temperature sensor.

Technical Field

The invention relates to the technical field of offset correction of temperature sensors, in particular to a method for correcting offset of a resistance type temperature sensor.

Background

In the processing process of tobacco leaves and tobacco shreds, process variables need to be strictly controlled, wherein factors such as temperature, humidity and the like are used as important indexes in the process variables. The temperature measurement of the wire production line mainly uses a resistance-type temperature sensor as a main temperature measuring element, and the temperature sensor needs to be regularly corrected in order to ensure the accuracy of temperature acquisition of the temperature sensor. If the temperature sensor reading is inaccurate, the temperature sensor needs to be corrected. The traditional calibration method needs manual work and whole-course participation to finish the calibration of the temperature sensor, and the method has the advantages of low efficiency, complex calculation and high error probability. The temperature value obtained by the resistance-type temperature sensor and the temperature sensor input analog quantity have a linear relation, namely the calculation formula is that y is kx + b (x is the temperature sensor input analog quantity, y is the temperature value obtained by the temperature sensor, and b is the temperature sensor error value). If the temperature sensor detects that the temperature value does not accord with the actual value, the k and b values need to be adjusted. The b value can be adjusted through a simple program, and the k value cannot be directly modified, so that the temperature sensor needs to be modified in other modes instead of the k value.

Disclosure of Invention

The invention aims to provide a method for correcting offset of a resistance type temperature sensor, which is used for solving the problems of low efficiency, complex calculation and high error rate caused by manual whole-course participation in the traditional calibration method in the prior art.

According to the scheme, the range of the temperature sensor is adjusted in the application program to replace the modification of the k value, so that the automatic correction method of the temperature sensor is realized, the complexity of temperature sensor calibration is reduced, the operation is simple and convenient, the efficiency is improved, and meanwhile, the error in manual calibration is avoided. The specific scheme is as follows:

a method for correcting offset of a resistance temperature sensor comprises a PLC and comprises the following steps:

step S100: simultaneously measuring by using a standard measuring tool and a temperature sensor to respectively obtain an actual temperature and a measured temperature;

step S200: inputting the actual temperature and the measured temperature into a human-computer interaction interface of the PLC, and calculating the temperature offset of the two data by the PLC according to the data input by the human-computer interaction interface, wherein the temperature offset is the ratio delta of the measured temperature to the actual temperature;

step S300: the PLC modifies the Scale range [ a, b ] of the temperature sensor into [ delta a, delta b ], inputs the new range value into the Scale module of the temperature sensor, and finishes the range modification.

Further, the standard measuring tool adopts a standard point thermometer.

Further, the temperature offset is the ratio δ of the measured temperature to the actual temperature, which is the average value of the multiple groups of ratios of the actual temperature to the measured temperature.

And verifying whether the temperature measured by the corrected temperature sensor is the same as the actual temperature measured by the temperature thermometer, and if so, successfully correcting the temperature sensor. Because the range of the temperature sensor scale is modified, the invention is only suitable for the condition that the deviation of the sensor is small and the range of the scale is larger than the actual application range.

Compared with the prior art, the invention has the following advantages and beneficial effects:

the invention realizes the automatic calibration of the temperature sensor, reduces the complexity of the temperature sensor calibration, has simple and convenient operation and improved efficiency, and simultaneously avoids the error of manual calibration.

Detailed Description

The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.

4页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种位置压力传感器模组

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!