Environmental temperature compensation method and device

文档序号:132471 发布日期:2021-10-22 浏览:51次 中文

阅读说明:本技术 一种环境温度补偿方法及装置 (Environmental temperature compensation method and device ) 是由 邓慧 于 2020-04-15 设计创作,主要内容包括:一种环境温度补偿方法及装置,包括温度传感器、系数查找电路、D/A变换电路、幂次电路以及求和电路,温度传感器用于检测环境温度,系数查找电路根据温度传感器所检测的环境温度值进行补偿系数查找,幂次电路用于对未经环境温度补偿的输入量V-(in)进行幂次运算获得输出值RA;D/A变换电路将系数查找电路查找到的补偿系数CT与输入量经幂次电路相应幂次运算后得到的输出值RA进行运算获得输出结果RB,求和电路对D/A变换电路的输出结果RB进行求和,得到环境温度补偿后的输出量V-(out)。本发明的环境温度补偿方法及装置结构简单,容易实现,保证温度检测结果准确,可用于各行各业中需要对环境温度进行补偿的场景。(An environment temperature compensation method and device comprises a temperature sensor, a coefficient search circuit, a D/A conversion circuit, a power circuit and a summation circuit, wherein the temperature sensor is used for detecting environment temperature, the coefficient search circuit searches compensation coefficients according to environment temperature values detected by the temperature sensor, and the power circuit is used for compensating input quantity V which is not compensated by the environment temperature in Performing power operation to obtain an output value RA; the D/A conversion circuit calculates the compensation coefficient CT searched by the coefficient search circuit and the output value RA obtained after the input quantity is subjected to corresponding power operation of the power circuit to obtain an output result RB, the summation circuit sums the output result RB of the D/A conversion circuit to obtain the output quantity V compensated by the environment temperature out . The environment temperature compensation method and the device have simple structure and easy realization, and ensure accurate temperature detection resultThe method can be used for scenes in various industries needing to compensate the ambient temperature.)

1. The environment temperature compensation device comprises a temperature sensor, a coefficient search circuit, a D/A conversion circuit, a power circuit and a summation circuit, and is characterized in that the temperature sensor is used for detecting environment temperature, the coefficient search circuit searches compensation coefficients according to environment temperature values detected by the temperature sensor, and the power circuit is used for searching input quantity V which is not compensated by the environment temperatureinPerforming power operation to obtain an output value RA; the D/A conversion circuit calculates the compensation coefficient CT searched by the coefficient search circuit and the output value RA obtained after the input quantity is subjected to corresponding power operation of the power circuit to obtain an output result RB, the summation circuit sums the output result RB of the D/A conversion circuit to obtain the environment temperature compensationCompensated output volume Vout

2. The ambient temperature compensation apparatus according to claim 1, wherein the power circuit has a power of N, N is not less than 2, and the power circuit performs power operations 0,1, …, N simultaneously.

3. The ambient temperature compensation device of claim 2, wherein the number of the compensation coefficients is N + 1.

4. The ambient temperature compensation apparatus according to claim 2, further comprising an a/D conversion circuit that converts the ambient temperature detected by the temperature sensor into a digital signal and inputs the digital signal to the coefficient lookup circuit.

5. The ambient temperature compensation device of claim 2, further comprising a controller electrically connected to the a/D conversion circuit, the coefficient search circuit, and the D/a conversion circuit, respectively.

6. The ambient temperature compensation apparatus of claim 5, wherein the controller controls the A/D conversion circuit to convert the ambient temperature detected by the temperature sensor into a digital signal, inputs the digital signal into the coefficient search circuit to obtain a compensation coefficient CT corresponding to the ambient temperature, and inputs the compensation coefficient into the D/A conversion circuit to be operated with the output value RA.

7. The ambient temperature compensation device of claim 3, wherein the compensation coefficient CT is [ c [ ]0,c1,c2,…,cN]The output value RA is [ RA ]0,ra1,ra2,…,raN]The output result RB = [ c ]0*ra0, c1*ra1, c2*ra2,…, cN*raN]Wherein rai=Vin iI =0,1,2, …, N, the symbol "×" denoting multiplication.

8. The ambient temperature compensation device of claim 7, wherein the output V isout=c0*ra0+c1*ra1+c2*ra2+…+cN*raN

9. An environmental temperature compensation method, which adopts the environmental temperature compensation device of any one of claims 1 to 8, comprising a temperature sensor, a control circuit, an A/D conversion circuit coefficient search circuit, a D/A conversion circuit, a power circuit and a summation circuit, and is characterized by comprising the following steps, step A, the temperature sensor detects the environmental temperature; b, the controller controls the A/D conversion circuit to convert the ambient temperature detected by the temperature sensor into a digital signal, inputs the digital signal into the coefficient search circuit to obtain a compensation coefficient CT corresponding to the ambient temperature, and then inputs the compensation coefficient into the D/A conversion circuit; step C, the power circuit is used for the input quantity V which is not compensated by the ambient temperatureinD, performing power operation to obtain an output value RA, and performing operation on the compensation coefficient CT searched by the coefficient search circuit and the output value RA obtained after the input quantity is subjected to corresponding power operation by the power circuit by the D/A conversion circuit to obtain an output result RB; step E, the summing circuit sums the output result RB of the D/A conversion circuit to obtain the output quantity V after the environmental temperature compensationout

10. The ambient temperature compensation method according to claim 9, wherein the compensation coefficient CT is [ c [ ]0,c1,c2,…,cN]The output value RA is [ RA ]0,ra1,ra2,…,raN]The output result RB = [ c ]0*ra0, c1*ra1, c2*ra2,…, cN*raN]Wherein rai=Vin iI =0,1,2, …, N, the symbol "+" denoting multiplication; the output quantity Vout=c0*ra0+c1*ra1+c2*ra2+…+cN*raN

One, the technical field

The invention relates to the technical field of temperature compensation, in particular to an environmental temperature compensation method and device.

Second, background Art

In all industries, electronic equipment is affected by the temperature of the working environment.

For example, the infrared temperature measurement system can perform remote online real-time imaging and temperature measurement on a target, and the problem that the manpower cannot be directly solved is realized by a non-contact online detection method, so that the infrared temperature measurement system is widely applied to the fields of military, industry, anti-theft systems, medical treatment, lifesaving, power equipment monitoring and the like. The infrared temperature measurement system is mainly provided with an infrared temperature sensor, and the system is easily influenced by many factors in the working process, such as the surface radiance of a target object, the detection distance between the sensor and the target object, the ambient temperature, the temperature of a device and the like, and the temperature measurement error of the sensor is increased. A large number of tests verify that the influence of the change of the environmental temperature on the temperature measurement precision of the sensor is obvious.

For another example, the laser is an optical precision device, a core component of the laser is a laser resonant cavity, the laser resonant cavity includes a cavity mirror, a gain medium and a pumping source, the temperature has a great influence on the laser resonant cavity, for example, the cavity mirror may cause thermal deformation of a mirror surface when working for a long time, thereby affecting the quality of a light spot, the gain medium may easily generate a thermal lens effect, thereby affecting the output power and the quality of a light beam, in the prior art, the temperature control of the laser resonant cavity is considered, for example, the temperature monitoring of the gain medium is performed to ensure that the temperature of the gain medium is normal. However, the influence of the ambient temperature is usually ignored, for example, a temperature sensor for monitoring the temperature of the gain medium is influenced by the temperature to cause the detection result to deviate from the real temperature value, and when the deviation is larger, the temperature control is easy to be out of control, so that the laser component is damaged.

Third, the invention

In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is that the influence of the ambient temperature is usually ignored in the prior art, so that the monitoring result of the temperature sensor deviates from the true value, and economic losses such as equipment damage are caused.

In order to solve the above technical problems, the present invention provides an ambient temperature compensation method and apparatus.

The environment temperature compensation device comprises a temperature sensor, a coefficient search circuit, a D/A conversion circuit, a power circuit and a summation circuit, and is characterized in that the temperature sensor is used for detecting environment temperature, the coefficient search circuit searches compensation coefficients according to environment temperature values detected by the temperature sensor, and the power circuit is used for searching input quantity V which is not compensated by the environment temperatureinPerforming power operation to obtain an output value RA; the D/A conversion circuit calculates the compensation coefficient CT searched by the coefficient search circuit and the output value RA obtained after the input quantity is subjected to corresponding power operation of the power circuit to obtain an output result RB, the summation circuit sums the output result RB of the D/A conversion circuit to obtain the output quantity V compensated by the environment temperatureout

Furthermore, the highest power of the power circuit is N, N is not less than 2, and the power circuit simultaneously carries out 0,1, … and N power operations.

Further, the number of the compensation coefficients is N + 1.

Further, the ambient temperature compensation device further includes an a/D conversion circuit that converts the ambient temperature detected by the temperature sensor into a digital signal and inputs the digital signal to the coefficient lookup circuit.

Furthermore, the environment temperature compensation device also comprises a controller which is electrically connected with the A/D conversion circuit, the coefficient searching circuit and the D/A conversion circuit respectively.

Further, the controller controls the a/D conversion circuit to convert the ambient temperature detected by the temperature sensor into a digital signal, inputs the digital signal to the coefficient search circuit to obtain a compensation coefficient CT corresponding to the ambient temperature, and inputs the compensation coefficient to the D/a conversion circuit to perform an operation with the output value RA.

Further, the compensation coefficient CT is [ c ]0,c1,c2,…,cN]The output value RA is [ RA ]0,ra1,ra2,…,raN]The output result RB = [ c ]0*ra0, c1*ra1, c2*ra2,…, cN*raN]Wherein rai=Vin i,i=0,1,2,…,N。

Further, the output quantity Vout=c0*ra0+c1*ra1+c2*ra2+…+cN*raN

Meanwhile, the invention also provides an environment temperature compensation method, which adopts the environment temperature compensation device and comprises a temperature sensor, a control circuit, an A/D conversion circuit coefficient searching circuit, a D/A conversion circuit, a power circuit and a summation circuit, and is characterized by comprising the following steps,

step A, a temperature sensor detects the ambient temperature;

b, the controller controls the A/D conversion circuit to convert the ambient temperature detected by the temperature sensor into a digital signal, inputs the digital signal into the coefficient search circuit to obtain a compensation coefficient CT corresponding to the ambient temperature, and then inputs the compensation coefficient into the D/A conversion circuit;

step C, the power circuit is used for the input quantity V which is not compensated by the ambient temperatureinPerforming power operation to obtain an output value RA;

d, the D/A conversion circuit calculates the compensation coefficient CT searched by the coefficient search circuit and an output value RA obtained after the input quantity is subjected to corresponding power operation of the power circuit to obtain an output result RB;

step E, the summing circuit sums the output result RB of the D/A conversion circuit to obtain the output quantity V after the environmental temperature compensationout

Furthermore, the highest power of the power circuit is N, N is not less than 2, and the power circuit simultaneously carries out 0,1, … and N power operations.

Further, the number of the compensation coefficients is N + 1.

Further, the ambient temperature compensation device further includes an a/D conversion circuit that converts the ambient temperature detected by the temperature sensor into a digital signal and inputs the digital signal to the coefficient lookup circuit.

Furthermore, the environment temperature compensation device also comprises a controller which is electrically connected with the A/D conversion circuit, the coefficient searching circuit and the D/A conversion circuit respectively.

Further, the controller controls the a/D conversion circuit to convert the ambient temperature detected by the temperature sensor into a digital signal, inputs the digital signal to the coefficient search circuit to obtain a compensation coefficient CT corresponding to the ambient temperature, and inputs the compensation coefficient to the D/a conversion circuit to perform an operation with the output value RA.

Further, the compensation coefficient CT is [ c ]0,c1,c2,…,cN]SaidThe output value RA is [ RA ]0,ra1,ra2,…,raN]The output result RB = [ c ]0*ra0, c1*ra1, c2*ra2,…, cN*raN]Wherein rai=Vin iI =0,1,2, …, N; the output quantity Vout=c0*ra0+c1*ra1+c2*ra2+…+cN*raN

According to the technical scheme provided by the invention, a temperature sensor for detecting the ambient temperature is arranged, the temperature compensation coefficient under the corresponding ambient temperature is determined by looking up a table, the high-order exponentiation operation is carried out on the input quantity to be compensated, then the temperature compensation coefficient is multiplied by the corresponding output value subjected to the high-order exponentiation operation, and finally the products are summed to obtain the output quantity subjected to the ambient temperature compensation. The ambient temperature compensation method and the ambient temperature compensation device are simple in structure, easy to implement, accurate in temperature detection result and capable of being used in scenes needing ambient temperature compensation in various industries, such as lasers, thermal infrared imagers, air conditioners, automobiles and the like.

The conception, the specific structure and the technical effects of the present invention will be further described with reference to the accompanying drawings to fully understand the objects, the features and the effects of the present invention.

Description of the drawings

FIG. 1 illustrates one embodiment of an ambient temperature compensation device of the present invention;

FIG. 2 illustrates another embodiment of the ambient temperature compensation device of the present invention;

fig. 3 illustrates one embodiment of the ambient temperature compensation method of the present invention.

Fifth, detailed description of the invention

The technical contents of the preferred embodiments of the present invention will be more clearly and easily understood by referring to the drawings attached to the specification. The present invention may be embodied in many different forms of embodiments, and the scope of the present invention is not limited to the embodiments set forth herein.

In the drawings, structurally identical elements are represented by like reference numerals, and structurally or functionally similar elements are represented by like reference numerals throughout the several views. The size and thickness of each component shown in the drawings are arbitrarily illustrated, and the present invention is not limited to the size and thickness of each component. The thickness of the components may be exaggerated where appropriate in the figures to improve clarity.

As shown in fig. 1-2, an ambient temperature compensation device includes a temperature sensor, a coefficient search circuit, a D/a conversion circuit, a power circuit, and a summation circuit, wherein the temperature sensor is used to detect ambient temperature, the coefficient search circuit searches for a compensation coefficient according to an ambient temperature value detected by the temperature sensor, and the power circuit is used to perform compensation coefficient search on an input variable V that is not compensated for ambient temperatureinPerforming power operation to obtain an output value RA; the D/A conversion circuit calculates the compensation coefficient CT searched by the coefficient search circuit and the output value RA obtained after the input quantity is subjected to corresponding power operation of the power circuit to obtain an output result RB, the summation circuit sums the output result RB of the D/A conversion circuit to obtain the output quantity V compensated by the environment temperatureout

Further, the temperature sensor may be a contact temperature sensor such as a thermocouple or a thermistor, or may be a non-contact temperature sensor such as an infrared sensor, an infrared thermometer, or a microbolometer. It should be understood by those skilled in the art that the present invention is not limited thereto as long as the temperature sensor can accurately measure the ambient temperature.

Further, the input value Vin may be a voltage value or a current value, and it should be understood by those skilled in the art that the input value Vin is not limited herein as long as it is a physical value to be compensated.

Furthermore, the highest power of the power circuit is N, N is not less than 2, and the power circuit simultaneously carries out 0,1, … and N power operations.

Further, the number of the compensation coefficients is N + 1.

Further, the ambient temperature compensation device further includes an a/D conversion circuit that converts the ambient temperature detected by the temperature sensor into a digital signal and inputs the digital signal to the coefficient lookup circuit.

Furthermore, the environment temperature compensation device also comprises a controller which is electrically connected with the A/D conversion circuit, the coefficient searching circuit and the D/A conversion circuit respectively.

Further, the controller controls the a/D conversion circuit to convert the ambient temperature detected by the temperature sensor into a digital signal, inputs the digital signal to the coefficient search circuit to obtain a compensation coefficient CT corresponding to the ambient temperature, and inputs the compensation coefficient to the D/a conversion circuit to perform an operation with the output value RA.

Further, the compensation coefficient CT is [ c ]0,c1,c2,…,cN]The output value RA is [ RA ]0,ra1,ra2,…,raN]The output result RB = [ c ]0*ra0, c1*ra1, c2*ra2,…, cN*raN]Wherein rai=Vin i,i=0,1,2,…,N。

Further, the output quantity Vout=c0*ra0+c1*ra1+c2*ra2+…+cN*raN

Meanwhile, the invention also provides an environment temperature compensation method, as shown in fig. 1-3, the environment temperature compensation device comprises a temperature sensor, a control circuit, an A/D conversion circuit coefficient searching circuit, a D/A conversion circuit, a power circuit and a summation circuit, and is characterized by comprising the following steps,

in step S1, the ambient temperature is detected.

Step S2, converting the ambient temperature into a digital signal, and obtaining a compensation coefficient corresponding to the ambient temperature according to the digital signal.

And step S3, performing power operation on the input quantity without environment temperature compensation to obtain an output value of corresponding power.

And step S4, the compensation coefficient and the output value obtained after the input quantity is subjected to corresponding power operation of a power circuit are operated to obtain an output result.

And step S5, summing the obtained output results to obtain the output quantity after environment temperature compensation.

Specifically, in step S1, the temperature sensor detects the ambient temperature;

specifically, in step S2, the controller controls the a/D conversion circuit to convert the ambient temperature detected by the temperature sensor into a digital signal, inputs the digital signal into the coefficient search circuit to obtain a compensation coefficient CT corresponding to the ambient temperature, and then inputs the compensation coefficient into the D/a conversion circuit;

specifically, in step S3, the power circuit is used to compensate the input V without ambient temperature compensationinPerforming power operation to obtain an output value RA;

specifically, in step S4, the D/a conversion circuit performs operation on the compensation coefficient CT found by the coefficient search circuit and the output value RA obtained after the input amount is subjected to power operation corresponding to the power circuit to obtain the output result RB;

specifically, in step S5, the summing circuit sums the output result RB of the D/a conversion circuit to obtain the output quantity V after the ambient temperature compensationout

Furthermore, the highest power of the power circuit is N, N is not less than 2, and the power circuit simultaneously carries out 0,1, … and N power operations.

Further, the number of the compensation coefficients is N + 1.

Further, the ambient temperature compensation device further includes an a/D conversion circuit that converts the ambient temperature detected by the temperature sensor into a digital signal and inputs the digital signal to the coefficient lookup circuit.

Furthermore, the environment temperature compensation device also comprises a controller which is electrically connected with the A/D conversion circuit, the coefficient searching circuit and the D/A conversion circuit respectively.

Further, the controller controls the a/D conversion circuit to convert the ambient temperature detected by the temperature sensor into a digital signal, inputs the digital signal to the coefficient search circuit to obtain a compensation coefficient CT corresponding to the ambient temperature, and inputs the compensation coefficient to the D/a conversion circuit to perform an operation with the output value RA.

Further, the compensation coefficient CT is [ c ]0,c1,c2,…,cN]The output value RA is [ RA ]0,ra1,ra2,…,raN]The output result RB = [ c ]0*ra0, c1*ra1, c2*ra2,…, cN*raN]Wherein rai=Vin iI =0,1,2, …, N, the symbol "+" denoting multiplication; the output quantity Vout=c0*ra0+c1*ra1+c2*ra2+…+cN*raN

The foregoing detailed description of the preferred embodiments of the invention has been presented. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection determined by the claims.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种测量集成电路内部温度的方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!