Temperature detection method, terminal device and storage medium

文档序号:747121 发布日期:2021-04-23 浏览:16次 中文

阅读说明:本技术 温度检测方法、终端设备及存储介质 (Temperature detection method, terminal device and storage medium ) 是由 吴仁智 林庆宗 于 2021-01-19 设计创作,主要内容包括:本发明公开了一种温度检测方法,包括以下步骤:获取至少一组所述温度传感器的检测数据,以及所述温度传感器与所述压力测量治具中待测位置之间的间隔距离,其中,所述待测位置位于所述压力测量治具内部;根据所述检测数据以及所述间隔距离,确定所述待测位置对应的温度值。本发明还公开了一种终端设备和计算机可读存储介质,达成提高温度检测的准确性的效果。(The invention discloses a temperature detection method, which comprises the following steps: acquiring detection data of at least one group of temperature sensors and a spacing distance between the temperature sensors and a position to be detected in the pressure measurement jig, wherein the position to be detected is positioned in the pressure measurement jig; and determining a temperature value corresponding to the position to be detected according to the detection data and the interval distance. The invention also discloses a terminal device and a computer readable storage medium, which achieve the effect of improving the accuracy of temperature detection.)

1. The temperature detection method is applied to terminal equipment and is characterized in that the terminal equipment is connected with at least one group of temperature sensors, the temperature sensors are used for detecting the temperature values of any two opposite surfaces of a pressure measurement jig, and the temperature detection method comprises the following steps:

acquiring detection data of at least one group of temperature sensors and a spacing distance between the temperature sensors and a position to be detected in the pressure measurement jig, wherein the position to be detected is positioned in the pressure measurement jig;

and determining a temperature value corresponding to the position to be detected according to the detection data and the interval distance.

2. The method according to claim 1, wherein the detection data detected by each set of temperature sensors includes a first temperature corresponding to a first surface and a second temperature corresponding to a second surface, and the first surface and the second surface are two opposite surfaces of a pressure measurement fixture.

3. The method according to claim 2, wherein the step of determining the temperature value corresponding to the position to be measured according to the detection data and the separation distance comprises:

and determining a temperature value corresponding to the position to be measured according to the first temperature, the second temperature and the spacing distance.

4. The method according to claim 1, wherein the step of determining the temperature value corresponding to the position to be measured according to the detection data and the separation distance comprises:

determining a first reference temperature corresponding to the position to be detected according to the detection data of the first group of temperature sensors and the spacing distance;

determining a second reference temperature corresponding to the position to be detected according to the detection data of the second group of temperature sensors and the spacing distance;

and determining a temperature value corresponding to the position to be measured according to the first reference temperature and the second reference temperature.

5. The method according to claim 4, wherein the step of calculating the temperature value corresponding to the position to be measured according to the first reference temperature and the second reference temperature comprises:

acquiring weight values corresponding to the first reference temperature and the second reference temperature;

and determining a temperature value corresponding to the position to be measured according to the weight value, the first reference temperature and the second reference temperature.

6. The method according to claim 1, wherein a pressure sensor is disposed at the location to be measured, and after the step of calculating the temperature value corresponding to the location to be measured according to the detection data and the separation distance, the method further comprises:

acquiring initial detection data of the pressure sensor;

and correcting the initial detection data according to the temperature value corresponding to the position to be detected, and taking the corrected initial detection data as a pressure detection result.

7. The method according to claim 1, wherein the steps of obtaining the detection data of at least one set of the temperature sensors and the distance between the temperature sensors and the position to be measured in the pressure measurement fixture are performed when a pressure detection command or a detection data correction command is received.

8. The method according to claim 1, wherein after the step of calculating the temperature value corresponding to the position to be measured according to the detection data and the separation distance, the method further comprises:

and outputting the temperature value corresponding to the position to be detected.

9. A terminal device, characterized in that the terminal device comprises: memory, a processor and a temperature detection program stored on the memory and executable on the processor, the temperature detection program when executed by the processor implementing the steps of the temperature detection method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a temperature detection program, which when executed by a processor implements the steps of the temperature detection method according to any one of claims 1 to 8.

Technical Field

The present invention relates to the field of pressure measurement technologies, and in particular, to a temperature detection method, a terminal device, and a computer-readable storage medium.

Background

In the pressure detection process, because the cavity of the high-low temperature damp-heat test box is too large, when the piezoresistive MEMS pressure sensor is directly placed in the high-low temperature damp-heat test box for pressure measurement, the measurement result of the piezoresistive MEMS pressure sensor can be influenced due to radioactive flow of temperature. The result of the detection of the inducer has larger deviation.

In the related scheme, in order to improve the pressure detection accuracy, a pressure measurement jig is generally additionally manufactured, then a pressure sensor is placed into the measurement jig, then the measurement jig is placed in the high-low temperature and humidity test box, and pressure measurement is performed through a piezoresistive MEMS pressure sensor in the measurement jig. And obtaining the temperature of the upper surface of the measuring jig, and correcting the measuring result. However, the temperature of the upper surface of the measuring jig and the actual temperature of the position where the pressure sensor is located have a certain error, so the related art has the defect of low accuracy of the temperature detection result.

The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.

Disclosure of Invention

The invention mainly aims to provide a temperature detection method, a terminal device and a computer readable storage medium, aiming at achieving the effect of improving the accuracy of a temperature detection result.

In order to achieve the above object, the present invention provides a temperature detection method, comprising the steps of:

acquiring detection data of at least one group of temperature sensors and a spacing distance between the temperature sensors and a position to be detected in the pressure measurement jig, wherein the position to be detected is positioned in the pressure measurement jig;

and determining a temperature value corresponding to the position to be detected according to the detection data and the interval distance.

Optionally, the detection data detected by each group of the temperature sensors includes a first temperature corresponding to a first surface and a second temperature corresponding to a second surface, and the first surface and the second surface are two opposite surfaces of the pressure measurement fixture.

Optionally, the step of determining the temperature value corresponding to the position to be measured according to the detection data and the separation distance includes:

and determining a temperature value corresponding to the position to be measured according to the first temperature, the second temperature and the spacing distance.

Optionally, the step of determining the temperature value corresponding to the position to be measured according to the detection data and the separation distance includes:

determining a first reference temperature corresponding to the position to be detected according to the detection data of the first group of temperature sensors and the spacing distance;

determining a second reference temperature corresponding to the position to be detected according to the detection data of the second group of temperature sensors and the spacing distance;

and determining a temperature value corresponding to the position to be measured according to the first reference temperature and the second reference temperature.

Optionally, the step of determining the temperature value corresponding to the position to be measured according to the first reference temperature and the second reference temperature includes:

acquiring weight values corresponding to the first reference temperature and the second reference temperature;

and determining a temperature value corresponding to the position to be measured according to the weight value, the first reference temperature and the second reference temperature.

Optionally, a pressure sensor is disposed at the position to be detected, and after the step of determining the temperature value corresponding to the position to be detected according to the detection data and the separation distance, the method further includes:

acquiring initial detection data of the pressure sensor;

and correcting the initial detection data according to the temperature value corresponding to the position to be detected, and taking the corrected initial detection data as a pressure detection result.

Optionally, when a pressure detection instruction or a detection data correction instruction is received, the step of obtaining the detection data of at least one group of temperature sensors and the distance between the temperature sensor and the position to be measured in the pressure measurement fixture is performed.

Optionally, after the step of determining the temperature value corresponding to the position to be measured according to the detection data and the separation distance, the method further includes:

and outputting the temperature value corresponding to the position to be detected.

In addition, in order to achieve the above object, the present invention further provides a terminal device, which includes a memory, a processor, and a temperature detection program stored in the memory and operable on the processor, wherein the temperature detection program, when executed by the processor, implements the steps of the temperature detection method as described above.

Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a temperature detection program which, when executed by a processor, implements the steps of the temperature detection method as described above.

According to the temperature detection method, the terminal device and the computer readable storage medium provided by the embodiment of the invention, the detection data of at least one group of temperature sensors and the spacing distance between the temperature sensors and the position to be detected in the pressure measurement jig are firstly obtained, wherein the position to be detected is positioned in the pressure measurement jig, then the temperature value corresponding to the position to be detected is determined according to the detection data and the spacing distance, and the actual temperature value corresponding to the position to be detected can be calculated according to the detection data, so that the accuracy of the temperature detection result is improved.

Drawings

Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;

fig. 2 is a schematic diagram of a detection state of a terminal device according to an embodiment of the present invention;

FIG. 3 is a schematic flow chart illustrating a temperature detecting method according to an embodiment of the present invention;

FIG. 4 is a schematic flow chart illustrating a temperature detecting method according to another embodiment of the present invention.

The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.

Detailed Description

It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

In the related scheme, in order to improve the pressure detection accuracy, a pressure measurement jig is generally additionally manufactured, then a pressure sensor is placed into the measurement jig, then the measurement jig is placed in the high-low temperature and humidity test box, and pressure measurement is performed through a piezoresistive MEMS pressure sensor in the measurement jig. And obtaining the temperature of the upper surface of the measuring jig, and correcting the measuring result. However, the temperature of the upper surface of the measuring jig and the actual temperature of the position where the pressure sensor is located have a certain error, so the related art has the defect of low accuracy of the temperature detection result.

In order to solve the above-mentioned drawbacks, an embodiment of the present invention provides a temperature detection method, which mainly includes the following steps:

acquiring detection data of at least one group of temperature sensors and a spacing distance between the temperature sensors and a position to be detected in the pressure measurement jig, wherein the position to be detected is positioned in the pressure measurement jig;

and determining a temperature value corresponding to the position to be detected according to the detection data and the interval distance.

The actual temperature value corresponding to the position to be detected can be calculated according to the detection data, so that the accuracy of the temperature detection result is improved.

As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.

As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), a mouse, etc., and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.

Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.

As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a temperature detection program.

In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the processor 1001 may be configured to invoke a temperature detection program stored in the memory 1005 and perform the following operations:

acquiring detection data of at least one group of temperature sensors and a spacing distance between the temperature sensors and a position to be detected in the pressure measurement jig, wherein the position to be detected is positioned in the pressure measurement jig;

and determining a temperature value corresponding to the position to be detected according to the detection data and the interval distance.

Further, the processor 1001 may call the temperature detection program stored in the memory 1005, and also perform the following operations:

and determining a temperature value corresponding to the position to be measured according to the first temperature, the second temperature and the spacing distance.

Further, the processor 1001 may call the temperature detection program stored in the memory 1005, and also perform the following operations:

determining a first reference temperature corresponding to the position to be detected according to the detection data of the first group of temperature sensors and the spacing distance;

determining a second reference temperature corresponding to the position to be detected according to the detection data of the second group of temperature sensors and the spacing distance;

and determining a temperature value corresponding to the position to be measured according to the first reference temperature and the second reference temperature.

Further, the processor 1001 may call the temperature detection program stored in the memory 1005, and also perform the following operations:

acquiring weight values corresponding to the first reference temperature and the second reference temperature;

and determining a temperature value corresponding to the position to be measured according to the weight value, the first reference temperature and the second reference temperature.

Further, the processor 1001 may call the temperature detection program stored in the memory 1005, and also perform the following operations:

acquiring initial detection data of the pressure sensor;

and correcting the initial detection data according to the temperature value corresponding to the position to be detected, and taking the corrected initial detection data as a pressure detection result.

Further, the processor 1001 may call the temperature detection program stored in the memory 1005, and also perform the following operations:

and outputting the temperature value corresponding to the position to be detected.

Referring to fig. 2, in the embodiment of the temperature detection method of the present invention, the temperature detection method is applied to the terminal device 10, and the terminal device 10 is configured to detect a temperature value at the position 21 to be measured inside the pressure measurement fixture 20.

It should be noted that, because the cavity of the high-low temperature damp-heat test chamber is too large, when the piezoresistive MEMS pressure sensor is directly placed in the high-low temperature damp-heat test chamber to perform pressure measurement, the measurement result of the piezoresistive MEMS pressure sensor is affected by radioactive flow of temperature. The result of the detection of the inducer has larger deviation. Therefore, in the related art, in order to improve the pressure detection accuracy, a pressure measurement fixture 20 is generally additionally manufactured, then a pressure sensor is placed at the position 21 to be measured inside the measurement fixture 20, and then the measurement fixture 20 is placed in the high-low temperature hygrothermal test box, so as to measure the pressure through the piezoresistive MEMS pressure sensor inside the measurement fixture 20. Therefore, in order to improve the accuracy of the pressure measurement result, it is necessary to acquire the temperature value inside the pressure measurement fixture 20 at the position where the pressure sensor is located (i.e., the position to be measured 21), and then correct the inspection value of the pressure sensor according to the temperature value. Based on this, this embodiment provides a terminal device for accurately obtaining the temperature value inside the pressure measurement fixture 20 at the position to be measured.

As an implementation solution, the terminal device includes a processing unit 11. At least one set of temperature sensors (12a and 12b) is connected to the processing unit, wherein each set of temperature sensors (12a and 12b) is used for detecting the temperature value of a set of opposite surfaces of the pressure measuring jig 20. For example, referring to the temperature sensor 12a and the temperature sensor 12b in fig. 3, the temperature sensors are respectively used for detecting the temperature value of the upper surface and the temperature value of the lower surface of the pressure measuring jig 20.

It can be understood that, when a plurality of sets of temperature sensors are connected to the terminal device, the temperature values of the left surface and the right surface of the pressure measurement jig and/or the temperature values of the front surface and the rear surface can be detected through one set of temperature sensors.

Further, the processing unit 11 is configured to calculate a temperature value at the position to be measured 21 according to the detection values of the temperature sensors (12a and 12 b).

Referring to fig. 3, in an embodiment of the temperature detection method of the present invention, the temperature detection method includes the steps of:

step S10, acquiring detection data of at least one group of temperature sensors and the spacing distance between the temperature sensors and a position to be measured in the pressure measurement jig, wherein the position to be measured is positioned in the pressure measurement jig;

and step S20, determining a temperature value corresponding to the position to be measured according to the detection data and the spacing distance.

In this embodiment, the terminal device may be connected to one or more sets of temperature sensors, and each set of temperature sensor may detect temperature values of two opposite surfaces of the pressure measurement fixture. Thus, each set of temperature sensors can detect at least two temperatures. Namely, the detection data corresponding to each group of temperature sensors comprises a first temperature and a second temperature. The first temperature distribution and the second temperature distribution are temperature values which are detected by the temperature sensor and respectively correspond to two opposite surfaces of the measuring jig. When a plurality of sets of temperature sensors are provided, a plurality of sets of detection data can be acquired.

The embodiment can also acquire the spacing distance between each group of temperature sensors and the position to be measured in the pressure measurement jig. Referring to fig. 3, a temperature value detected by the temperature sensor 12a is set to a first temperature, and a temperature value 12b detected by the temperature sensor is a second temperature. The distances between the temperature sensor 12a and the temperature sensor 12b and the position to be measured are x and y respectively. That is, for a set of temperature sensors consisting of the temperature sensor 12a and the temperature sensor 12b, the corresponding detection data includes a first temperature detected by the temperature sensor 12a, and a second temperature detected by the temperature sensor 12b, and the corresponding separation distances include a separation distance x between the temperature sensor 12a and the position to be measured, and a separation distance y between the temperature sensor 12b and the position to be measured.

Further, after the detection data and the interval distance are acquired, the temperature value corresponding to the position to be measured can be calculated according to the detection data and the interval distance.

Specifically, for the scheme of only setting one group of temperature sensors, the temperature value corresponding to the position to be measured may be directly calculated according to the first temperature, the second temperature detected by the reorganized temperature sensor, and the separation distance.

For example, taking the detection method shown in fig. 3 as an example, in an embodiment, the temperature value corresponding to the position to be measured may be calculated according to the following formula:

wherein, a is the temperature value of the upper surface of the pressure measuring jig detected by the temperature sensor 12 a; b is a temperature value of the lower surface of the pressure measurement jig detected by the temperature sensor 12B; x is the spacing distance between the temperature sensor 12a and the position to be measured 21; y is the separation distance between the temperature sensor 12b and the position to be measured.

Furthermore, in order to improve the accuracy of the temperature detection result, a plurality of groups of temperature sensors can be arranged to respectively detect temperature values of a plurality of groups of opposite surfaces, and further, based on the detection scheme of the single group of temperature sensors, a reference temperature can be calculated based on each group of detection data, namely, a first reference temperature corresponding to the position to be detected is calculated according to the detection data of the first group of temperature sensors and the spacing distance, a second reference temperature corresponding to the position to be detected is calculated according to the detection data of the second group of temperature sensors and the spacing distance, and then the temperature value corresponding to the position to be detected is calculated according to the first reference temperature and the second reference temperature. The scheme for calculating the reference temperature refers to the scheme for setting only one group of temperature sensors, and is not described herein again.

It is to be understood that the first reference temperature and the second reference temperature are not limited to only two reference temperatures, but are used for illustration, and there may be a plurality of reference temperatures, and then the final inspection result is determined according to the plurality of reference temperatures.

Optionally, as an implementation scheme, an average value of a plurality of reference temperatures may be directly used as the temperature value corresponding to the position to be measured.

In another implementation, a weight value corresponding to the first reference temperature and the second reference temperature may also be obtained first, and then a temperature value corresponding to the position to be measured is calculated according to the weight value, the first reference temperature and the second reference temperature.

Illustratively, n reference temperatures t may be obtained1、t2……tnFurther, a weight value q corresponding to each reference temperature is obtained1、q2……qnThen, a temperature value T corresponding to the position to be measured is calculated based on the following formula:

it should be noted that this example is only for providing an exemplary embodiment, and is not intended to limit the present invention.

Optionally, after the temperature value corresponding to the position to be measured is determined, the temperature value may also be output. For example, it is sent to the pressure detection result correction module, or it is displayed in the display device; or send it to a server or the like through a network interface. The distance output mode of the temperature value is not limited in this embodiment.

In the technical scheme disclosed in this embodiment, at least one set of detection data of the temperature sensor is obtained first, and the distance between the temperature sensor and the position to be detected in the pressure measurement jig is obtained, wherein the position to be detected is located inside the pressure measurement jig, and then the temperature value corresponding to the position to be detected is calculated according to the detection data and the distance between the temperature sensor and the position to be detected.

Optionally, referring to fig. 4, in another embodiment of the temperature detecting method of the present invention, after the step S20, the method further includes

Step S30, acquiring initial detection data of the pressure sensor;

and step S40, correcting the initial detection data according to the temperature value corresponding to the position to be detected, and taking the corrected initial detection data as a pressure detection result.

The pressure sensor is used as a main instrument for testing pressure parameters, and plays an important role in production and scientific research of aerospace, aviation, petroleum, chemical engineering and other departments. However, a general pressure sensor is greatly affected by temperature changes, and particularly in a low-temperature and high-pressure environment, factors such as the resistivity, the piezoresistive coefficient, the poisson's ratio, the elastic modulus and the like of a strain material of the pressure sensor change, which directly causes a great difference between a test result and an actual situation. Therefore, in order to improve the detection accuracy, the initial detection data of the pressure sensor, that is, the detection data of the pressure sensor, may be acquired first. And then, correcting the initial detection data according to the temperature value corresponding to the position to be detected so as to eliminate the influence of the temperature on the pressure detection result, and taking the corrected initial detection data as the pressure detection result. This helps to improve the accuracy of the pressure detection result.

Further, as an implementation scheme, the pressure detection device may be integrally disposed with the terminal device, so that the pressure detection device may obtain the temperature value corresponding to the position to be detected through the terminal device, and when the pressure detection device receives the pressure detection instruction, the terminal device is controlled to execute the step of obtaining at least one set of detection data of the temperature sensor and a distance between the temperature sensor and the position to be detected in the pressure measurement fixture. Or, the pressure detection device may be separated from the terminal device, so that the pressure detection device sends a data correction instruction to the terminal device before correcting the initial detection data, so that the terminal device performs the step of acquiring the detection data of at least one group of temperature sensors and the distance between the temperature sensors and the position to be measured in the pressure measurement jig when detecting the data correction instruction.

In the technical scheme disclosed in this embodiment, initial detection data of the pressure sensor is obtained first, then the initial detection data is corrected according to the temperature value corresponding to the position to be detected, and the corrected initial detection data is used as a pressure detection result. This achieves the effect of improving the accuracy of the pressure detection result.

In addition, an embodiment of the present invention further provides a terminal device, where the terminal device includes a memory, a processor, and a temperature detection program that is stored in the memory and is executable on the processor, and when the temperature detection program is executed by the processor, the steps of the temperature detection method described in each of the above embodiments are implemented.

Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a temperature detection program is stored, and the temperature detection program, when executed by a processor, implements the steps of the temperature detection method according to the above embodiments.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a terminal device to execute the method according to the embodiments of the present invention.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电阻桥式压力传感器的检测电路、方法、电子设备及芯片

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!