Detection system and method of resistance type temperature sensor

文档序号:1227763 发布日期:2020-09-08 浏览:24次 中文

阅读说明:本技术 一种电阻型温度传感器的检测系统及方法 (Detection system and method of resistance type temperature sensor ) 是由 周树艳 赵旻泓 靳越峰 吴逸庭 杨琛 于 2020-05-29 设计创作,主要内容包括:本发明实施例公开了一种电阻型温度传感器的检测系统及方法,包括:分压电阻、传感器电阻、温度箱、温度采集器件及微处理器;分压电阻的两端分别与电源和传感器电阻的一端相连;微处理器的输入端与传感器电阻的一端及温度采集器件相连;传感器电阻与温度采集器件置于温度箱中;分压电阻和传感器电阻对电源电压进行分压产生分压信号并发送至微处理器;温度采集器件用于采集温度箱中的温度,并将温度发送至微处理器;微处理器用于根据分压信号计算传感器电阻的测量电阻值,以及根据温度计算传感器电阻的理论电阻值,然后计算测量电阻值与理论电阻值间的误差,并根据误差判断所述传感器电阻是否合格。本发明的技术方案能够快速检测温度传感器的性能。(The embodiment of the invention discloses a detection system and a detection method of a resistance type temperature sensor, wherein the detection system comprises the following steps: the temperature control device comprises a divider resistor, a sensor resistor, a temperature box, a temperature acquisition device and a microprocessor; two ends of the divider resistor are respectively connected with the power supply and one end of the sensor resistor; the input end of the microprocessor is connected with one end of the sensor resistor and the temperature acquisition device; the sensor resistor and the temperature acquisition device are arranged in a temperature box; the divider resistor and the sensor resistor divide the power supply voltage to generate a divided voltage signal and send the divided voltage signal to the microprocessor; the temperature acquisition device is used for acquiring the temperature in the temperature box and sending the temperature to the microprocessor; the microprocessor is used for calculating the measuring resistance value of the sensor resistor according to the voltage division signal, calculating the theoretical resistance value of the sensor resistor according to the temperature, then calculating the error between the measuring resistance value and the theoretical resistance value, and judging whether the sensor resistor is qualified or not according to the error. The technical scheme of the invention can quickly detect the performance of the temperature sensor.)

1. A sensing system for a resistive temperature sensor, comprising: the temperature control device comprises a divider resistor, a sensor resistor, a temperature box, a temperature acquisition device and a microprocessor;

one end of the divider resistor is connected with a power supply, and the other end of the divider resistor is connected with one end of the sensor resistor; the other end of the sensor resistor is grounded; the input end of the microprocessor is respectively connected with one end of the sensor resistor and the temperature acquisition device; the sensor resistor and the temperature acquisition device are placed in the temperature box;

the voltage dividing resistor and the sensor resistor divide the power voltage to generate a voltage dividing signal and send the voltage dividing signal to the microprocessor; the temperature box is used for adjusting the temperature around the sensor resistor; the temperature acquisition device is used for acquiring the temperature in the temperature box and sending the temperature to the microprocessor;

the microprocessor is used for calculating the measuring resistance value of the sensor resistor according to the voltage division signal and calculating the theoretical resistance value of the sensor resistor according to the temperature; and calculating the error between the measured resistance value and the theoretical resistance value, and judging whether the sensor resistance is qualified or not according to the error.

2. The system of claim 1, further comprising signal processing circuitry; the input end of the signal processing circuit is connected with one end of the sensor resistor, and the output end of the signal processing circuit is connected with the input end of the microprocessor;

the signal processing circuit is used for processing the voltage division signal and sending the processed voltage division signal to the microprocessor.

3. The system of claim 2, wherein the signal processing circuit comprises: a current limiting resistor; one end of the current limiting resistor is connected with one end of the sensor resistor, and the other end of the current limiting resistor is connected with the input end of the microprocessor.

4. The system of claim 3, wherein the signal processing circuit further comprises: a filter capacitor; one end of the filter capacitor is connected with the power supply, and the other end of the filter capacitor is connected with the input end of the microprocessor.

5. The system of claim 4, wherein the signal processing circuit further comprises: an overvoltage protection diode; and the negative electrode of the overvoltage protection diode is connected with a power supply, and the positive electrode of the overvoltage protection diode is connected with the input end of the microprocessor.

6. A method of sensing by a resistive temperature sensor, the method being performed by the system of any one of claims 1-5, comprising:

acquiring voltage division signals of a sensor resistor at different temperatures;

for each temperature, calculating a measurement resistance value of the sensor resistor at the current temperature according to the voltage division signal;

calculating a theoretical resistance value of the sensor resistor at the current temperature;

and calculating the error between the measured resistance value and the theoretical resistance value, and judging whether the sensor resistance is qualified or not according to the error.

7. The method of claim 6, wherein obtaining the divided signals of the sensor resistance at different temperatures comprises:

controlling the temperature box to generate different constant temperatures;

and acquiring voltage division signals of the sensor resistor at each constant temperature.

8. The method of claim 6, wherein calculating the measured resistance value of the sensor resistor at the current temperature based on the divided voltage signal is calculated according to the following equation:

Figure FDA0002516015310000021

9. The method of claim 6, wherein calculating a theoretical resistance value of the sensor resistance at a current temperature comprises:

and calculating the theoretical resistance value of the sensor resistor at the current temperature according to the theoretical relational expression of the temperature sensor and the resistance value.

10. The method of claim 6, wherein determining whether the sensor resistance is acceptable based on the error comprises:

if the error exceeds a set threshold range, the sensor resistor is unqualified; otherwise, the sensor is qualified.

Technical Field

The embodiment of the invention relates to the technical field of sensor detection, in particular to a detection system and a detection method of a resistance type temperature sensor.

Background

With the rapid development of mechanical automation, the resistance type temperature sensor is widely used. The qualified resistance type temperature sensor can accurately monitor the temperature of the environment, so that accurate automatic processing can be realized according to the change of the temperature. Therefore, it is important to detect the performance of the resistance type temperature sensor.

Disclosure of Invention

The embodiment of the invention provides a detection system and a detection method of a resistance type temperature sensor, which can realize accurate detection of the performance of the resistance type temperature sensor.

In a first aspect, an embodiment of the present invention provides a detection system for a resistance type temperature sensor, including: the temperature control device comprises a divider resistor, a sensor resistor, a temperature box, a temperature acquisition device and a microprocessor;

one end of the divider resistor is connected with a power supply, and the other end of the divider resistor is connected with one end of the sensor resistor; the other end of the sensor resistor is grounded; the input end of the microprocessor is respectively connected with one end of the sensor resistor and the temperature acquisition device; the sensor resistor and the temperature acquisition device are placed in the temperature box;

the voltage dividing resistor and the sensor resistor divide the power voltage to generate a voltage dividing signal and send the voltage dividing signal to the microprocessor; the temperature box is used for adjusting the temperature around the sensor resistor; the temperature acquisition device is used for acquiring the temperature in the temperature box and sending the temperature to the microprocessor;

the microprocessor is used for calculating the measuring resistance value of the sensor resistor according to the voltage division signal and calculating the theoretical resistance value of the sensor resistor according to the temperature; and calculating the error between the measured resistance value and the theoretical resistance value, and judging whether the sensor resistance is qualified or not according to the error.

Further, the detection system of the resistance type temperature sensor further comprises a signal processing circuit; the input end of the signal processing circuit is connected with one end of the sensor resistor, and the output end of the signal processing circuit is connected with the input end of the microprocessor;

the signal processing circuit is used for processing the voltage division signal and sending the processed voltage division signal to the microprocessor.

Further, the signal processing circuit includes: a current limiting resistor; one end of the current limiting resistor is connected with one end of the sensor resistor, and the other end of the current limiting resistor is connected with the input end of the microprocessor.

Further, the signal processing circuit further includes: a filter capacitor; one end of the filter capacitor is connected with the power supply, and the other end of the filter capacitor is connected with the input end of the microprocessor.

Further, the signal processing circuit further includes: an overvoltage protection diode; and the negative electrode of the overvoltage protection diode is connected with a power supply, and the positive electrode of the overvoltage protection diode is connected with the input end of the microprocessor.

In a second aspect, an embodiment of the present invention further provides a detection method for a resistance type temperature sensor, which is applied to the system in the first aspect, and includes:

acquiring voltage division signals of a sensor resistor at different temperatures;

for each temperature, calculating a measurement resistance value of the sensor resistor at the current temperature according to the voltage division signal;

calculating a theoretical resistance value of the sensor resistor at the current temperature;

and calculating the error between the measured resistance value and the theoretical resistance value, and judging whether the sensor resistance is qualified or not according to the error.

According to the embodiment of the invention, the voltage dividing resistor and the sensor resistor are adopted to divide the power supply voltage to generate the voltage dividing signal, the voltage dividing signal is sent to the microprocessor, meanwhile, the temperature around the sensor resistor is adjusted by the temperature box, the temperature in the temperature box acquired by the temperature acquisition device is sent to the microprocessor, so that the microprocessor calculates the measurement resistance value of the sensor resistor according to the voltage dividing signal, calculates the theoretical resistance value of the sensor resistor according to the temperature, finally calculates the error between the measurement resistance value and the theoretical resistance value, and judges whether the sensor resistor is qualified or not according to the error, thereby realizing the effects of quickly detecting the performance of the temperature sensor and accurately judging whether the sensor is failed or not.

Drawings

Fig. 1 is a schematic structural diagram of a resistive sensor detection system according to an embodiment of the present invention;

fig. 2a is a schematic diagram of a signal processing circuit according to a second embodiment of the present invention;

fig. 2b is a schematic structural diagram of a resistance type temperature sensor according to a second embodiment of the present invention;

fig. 2c is a schematic diagram illustrating a relationship curve between a resistance value of a sensor and a temperature according to a second embodiment of the present invention;

fig. 3 is a flowchart of a resistive sensor detection method according to a third embodiment of the present invention.

Detailed Description

The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:LED灯温度检测电路及LED光源装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!