A device and algorithm for indirectly measuring external ambient temperature

By setting up multiple temperature detection devices inside the device and building mathematical relationships, the problem that the heating equipment cannot accurately measure the external ambient temperature is solved, and the external ambient temperature is accurately calculated at the position where the sensor is not installed.

CN114646405BActive Publication Date: 2025-08-19米诺国际能源服务(北京)有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210271546.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-18
Publication Date
2025-08-19
Estimated Expiration
2042-03-18

AI Technical Summary

Technical Problem

In the prior art, it is difficult for heating equipment to accurately measure the external ambient temperature, and the split measurement method is expensive and troublesome to install, so the implementation conditions are not met on site.

Method used

The first temperature detection device is arranged inside the device close to the heat source and the second temperature detection device away from the heat source. The control module calculates the external ambient temperature based on the received temperature, and constructs a mathematical relationship to calculate the ambient temperature.

Benefits of technology

In the case where sensors cannot be installed at any location of the equipment, the accurate measurement of external ambient temperature is avoided by mathematical calculations, which will avoid the high cost and installation complexity of split measurements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114646405B_ABST
    Figure CN114646405B_ABST
Patent Text Reader

Abstract

The present invention discloses a device and algorithm for indirectly measuring the external ambient temperature, wherein the device includes: a first temperature detection device, which is arranged at a first position inside the device and near a heat source, and is used to detect a first temperature near the device heat source; a second temperature detection device, which is arranged at a second position inside the device and away from the device heat source, and is used to detect a second temperature inside the device; and a control module, which connects the first temperature detection device and the second temperature detection device and calculates and determines the ambient temperature outside the device based on the received first and second temperatures. When no place close to the external ambient temperature can be found at any position of the device for installing a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Moreover, the mathematical relationship between the first temperature, the second temperature and the ambient temperature constructed by this embodiment can accurately calculate the ambient temperature through the first temperature and the second temperature.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of equipment temperature detection, and in particular to a device and algorithm for indirectly measuring external environment temperature. Background Art

[0002] If you want to accurately measure the external ambient temperature of a device that generates a lot of heat, you can generally use the following two solutions: First, install the temperature measurement sensor at a location on the device away from the heat source to ensure that the heat generated by the device during operation has little or no effect on the temperature near the temperature sensor; second, read the ambient temperature data of other external temperature measurement devices through communication, which is called split-type measurement.

[0003] However, both solutions have the following drawbacks: Solution 1: If the entire device generates heat, there's no place anywhere on the device that's close to the ambient temperature for a temperature sensor. Solution 2: Split-type systems are expensive and difficult to install, and sometimes the conditions for on-site installation aren't available.

[0004] Therefore, a solution is urgently needed that can obtain a more accurate external ambient temperature under the limited conditions of solution 1. Summary of the Invention

[0005] The present invention provides a device and algorithm for indirectly measuring the external ambient temperature to solve the above problems existing in the prior art.

[0006] The present invention also provides a device for indirectly measuring the external ambient temperature, comprising:

[0007] a first temperature detection device, disposed inside the device and at a first position near the heat source, for detecting a first temperature near the heat source of the device;

[0008] a second temperature detection device, disposed at a second position inside the device and away from a heat source of the device, for detecting a second temperature inside the device;

[0009] The control module is connected to the first temperature detection device and the second temperature detection device, and calculates and determines the ambient temperature outside the device based on the received first temperature and the second temperature.

[0010] Preferably, the control module includes: a first temperature receiving port, a second temperature receiving port and a data calculation model;

[0011] The first temperature receiving port receives a first temperature and transmits the first temperature to the data calculation model, and the second temperature receiving port receives a second temperature and transmits the second temperature to the data calculation model;

[0012] The data calculation model calculates and determines a difference between the first temperature and the ambient temperature according to the first temperature and the second temperature, and determines the ambient temperature based on the determined difference between the first temperature and the ambient temperature and the known first temperature.

[0013] Preferably, the data calculation model includes:

[0014] a data calculation model construction unit for constructing a mathematical relationship between the first temperature, the second temperature, and the ambient temperature; specifically, by constructing an experimental environment, measuring multiple sets of second temperatures while varying the first temperature and the ambient temperature, thereby forming multiple sets of control data for the first temperature, the second temperature, and the ambient temperature; calculating the difference between the first temperature and the ambient temperature by constructing a curve fitting equation; and determining the ambient temperature based on the known first temperature;

[0015] a data calculation model generating unit, configured to set a difference between a first temperature and an ambient temperature as a calculation core of a data calculation model; the difference between the first temperature and the ambient temperature being directly related to the first temperature and the second temperature;

[0016] a data calculation model input port, configured to receive a first temperature detected by the first temperature detection device and a second temperature detected by the second temperature detection device when the device is operating stably;

[0017] The data calculation model output port is used to output the ambient temperature outside the device through calculation of the data calculation model.

[0018] Preferably, the step of calculating the difference between the first temperature and the ambient temperature by constructing a fitting equation includes:

[0019] Based on multiple sets of control data, a quadratic polynomial fitting was constructed, and x = Th-Te, y = Tm-Te, Th is the first temperature, Te is the ambient temperature, and Tm is the second temperature; y = a*x 2 +b*x+c, and the appropriate parameters a, b, c can be determined by the least squares method;

[0020] Substituting x and y into a quadratic polynomial to obtain a quadratic polynomial equation, and determining an x value based on the quadratic polynomial equation, where the x value is the difference between the first temperature and the ambient temperature.

[0021] Preferably, the step of constructing an experimental environment and measuring multiple sets of second temperatures when the first temperature and the ambient temperature are changed respectively to form multiple sets of comparison data of the first temperature, the second temperature and the ambient temperature includes:

[0022] A test environment is constructed by a constant temperature box, which is respectively arranged around the first temperature detection device, the second temperature detection device and the ambient temperature detection device to simulate the normal working state of the equipment;

[0023] A distributed data acquisition device is provided in the test environment, and temperature data of multiple groups of controls from the first temperature detection device, the second temperature detection device, and the ambient temperature detection device are collected based on the distributed data acquisition device, and the temperature data are transmitted to the data calculation model construction unit, and the temperature data of the multiple groups of controls are arranged in chronological order and stored in a storage unit;

[0024] The thermostat is an intelligent thermostat, the temperature of which is controlled by an intelligent terminal, and the temperature adjustment range and adjustment cycle of the intelligent thermostat can be set;

[0025] The data calculation model construction unit analyzes the collected multiple sets of control temperature data. When at least one of the first temperature and the ambient temperature changes at the same time, the first temperature, the second temperature and the ambient temperature corresponding to the time are set as a set of control data. Based on the time series, multiple sets of control data are sampled.

[0026] The present invention also provides an algorithm for indirectly measuring the external ambient temperature, comprising:

[0027] S100, disposing a first temperature detection device at a first location inside the device and near a heat source, for detecting a first temperature near the heat source of the device;

[0028] S200, disposing a second temperature detection device at a second location inside the device and away from a heat source of the device, for detecting a second temperature inside the device;

[0029] S300: Calculate and determine the ambient temperature outside the device based on the received first temperature and second temperature.

[0030] Preferably, the S300 includes:

[0031] S301, setting a first temperature receiving port, a second temperature receiving port and a data calculation model;

[0032] S302, the first temperature receiving port receives a first temperature and transmits the first temperature to the data calculation model, the second temperature receiving port receives a second temperature and transmits the second temperature to the data calculation model;

[0033] S303: The data calculation model calculates and determines the difference between the first temperature and the ambient temperature according to the first temperature and the second temperature, and determines the ambient temperature based on the determined difference between the first temperature and the ambient temperature and the known first temperature.

[0034] Preferably, the data calculation model is constructed as follows:

[0035] Constructing a mathematical relationship between the first temperature, the second temperature, and the ambient temperature; specifically, by constructing an experimental environment, measuring multiple sets of second temperatures while varying the first temperature and the ambient temperature, thereby forming multiple sets of control data for the first temperature, the second temperature, and the ambient temperature; calculating the difference between the first temperature and the ambient temperature by constructing a curve fitting equation; and determining the ambient temperature based on the known first temperature;

[0036] Setting the difference between the first temperature and the ambient temperature as a calculation core of the data calculation model; the difference between the first temperature and the ambient temperature has a direct relationship with the first temperature and the second temperature;

[0037] When the device is working stably, receiving a first temperature detected by the first temperature detection device and a second temperature detected by the second temperature detection device;

[0038] The ambient temperature outside the device is output through calculation by the data calculation model.

[0039] Preferably, the method of calculating the difference between the first temperature and the ambient temperature by constructing a fitting equation comprises the following steps:

[0040] Based on multiple sets of control data, a quadratic polynomial fitting was constructed, and x = Th-Te, y = Tm-Te, Th is the first temperature, Te is the ambient temperature, and Tm is the second temperature; y = a*x 2 +b*x+c, and the appropriate parameters a, b, c can be determined by the least squares method;

[0041] Substituting x and y into a quadratic polynomial to obtain a quadratic polynomial equation, and determining an x value based on the quadratic polynomial equation, where the x value is the difference between the first temperature and the ambient temperature.

[0042] Preferably, the step of constructing an experimental environment and measuring multiple sets of second temperatures when changing the first temperature and the ambient temperature respectively to form multiple sets of comparison data of the first temperature, the second temperature and the ambient temperature comprises:

[0043] A test environment is constructed by a constant temperature box, which is respectively arranged around the first temperature detection device, the second temperature detection device and the ambient temperature detection device to simulate the normal working state of the equipment;

[0044] A distributed data acquisition device is provided in the test environment, and temperature data of multiple groups of controls from the first temperature detection device, the second temperature detection device, and the ambient temperature detection device are collected based on the distributed data acquisition device, and the temperature data are transmitted to the data calculation model construction unit, and the temperature data of the multiple groups of controls are arranged in chronological order and stored in a storage unit;

[0045] The thermostat is an intelligent thermostat, the temperature of which is controlled by an intelligent terminal, and the temperature adjustment range and adjustment cycle of the intelligent thermostat can be set;

[0046] The data calculation model construction unit analyzes the collected multiple sets of control temperature data. When at least one of the first temperature and the ambient temperature changes at the same time, the first temperature, the second temperature and the ambient temperature corresponding to the time are set as a set of control data. Based on the time series, multiple sets of control data are sampled.

[0047] Compared with the prior art, the present invention has the following advantages:

[0048] The present invention provides a device and algorithm for indirectly measuring the external ambient temperature, comprising: a first temperature detection device, disposed at a first position within a device and near a heat source, for detecting a first temperature near the device's heat source; a second temperature detection device, disposed at a second position within the device and away from the device's heat source, for detecting a second temperature within the device; and a control module, connected to the first and second temperature detection devices, for calculating and determining the ambient temperature outside the device based on the received first and second temperatures. When no location close to the external ambient temperature can be found at any location on the device for installing a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first, second, and ambient temperatures constructed by this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0049] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The purposes and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0050] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0052] Figure 1 A device for indirectly measuring the external ambient temperature in an embodiment of the present invention;

[0053] Figure 2 Schematic diagram of temperature detection inside and outside the device in an embodiment of the present invention;

[0054] Figure 3Flowchart of an algorithm for indirectly measuring external ambient temperature in an embodiment of the present invention. DETAILED DESCRIPTION

[0055] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0056] The embodiment of the present invention provides a device for indirectly measuring the external ambient temperature. Figure 1 and Figure 2 , the device includes the following parts:

[0057] a first temperature detection device, disposed inside the device and at a first position near the heat source, for detecting a first temperature near the heat source of the device;

[0058] a second temperature detection device, disposed at a second position inside the device and away from a heat source of the device, for detecting a second temperature inside the device;

[0059] The control module is connected to the first temperature detection device and the second temperature detection device, and calculates and determines the ambient temperature outside the device based on the received first temperature and the second temperature.

[0060] The working principle of the above technical solution is: the solution adopted in this embodiment includes: a first temperature detection device, which is arranged inside the device and at a first position near the heat source, for detecting a first temperature near the heat source of the device; a second temperature detection device, which is arranged inside the device and at a second position away from the heat source of the device, for detecting a second temperature inside the device; a control module, which connects the first temperature detection device and the second temperature detection device, and calculates and determines the ambient temperature outside the device based on the received first temperature and second temperature.

[0061] When a device with high heat generation attempts to measure the external ambient temperature using its own temperature sensor, the actual measured temperature is the device's internal ambient temperature, which is higher than the external ambient temperature and difficult to correct with a simple offset because the temperature sensor is in a heating environment.

[0062] Therefore, this solution calculates and determines the ambient temperature by constructing a mathematical relationship between the first temperature, the second temperature and the ambient temperature, that is, it utilizes the temperature sensor of the device itself and does not need to use a split measurement method to accurately determine the ambient temperature.

[0063] The specific plan is as follows:

[0064] Please refer to Figure 2, Th (heat) is the temperature near the heat source of the device, which can be called the first temperature in this embodiment; Te (environment) is the temperature of the environment outside the device, which can be called the ambient temperature in this embodiment; Tm (middle) is the temperature inside or on the surface of the device farther away from the heat source (called the third detection point), which can be called the second temperature in this embodiment.

[0065] Obviously, Tm is the result of the interaction between Th and Te. The higher Th or Te is, the higher Tm will be, and vice versa. When the equipment is working stably, Th>Tm>Te.

[0066] By using experimental conditions such as a constant temperature chamber and independently changing Th and Te, multiple sets of control data of Th, Tm, and Te can be obtained.

[0067] Let x = Th-Te, y = Tm-Te, where x and y are known experimental data, and a quadratic polynomial is used for fitting, y = a*x 2 +b*x+c, the appropriate parameters a, b, and c can be determined by the least squares method.

[0068] Since x=Th-Te, y=Tm-Te, so y=x+Tm-Th, substitute it into y=a*x 2 +b*x+c, we can get the following formula:

[0069] x+Tm-Th=a*x 2 +b*x+c

[0070] By shifting the terms, we can get the quadratic equation:

[0071] a*x 2 +(b-1)*x+(Th-Tm+c)=0

[0072] When the device is actually in use, Th and Tm are the correction values of the data measured by the device's built-in temperature sensor. a, b, and c are all known fixed parameters. Solving the quadratic equation about the unknown variable x can determine the value of x.

[0073] The value of x is:

[0074]

[0075] According to x=Th-Te, the ambient temperature outside the equipment is Te=Th-x.

[0076] Under experimental conditions, by independently varying the temperature near the device's heat source and the external ambient temperature and measuring the temperature at the third detection point, multiple sets of data can be obtained, and a mathematical relationship can be established between the three. During actual device use, the external ambient temperature can be calculated from the temperature near the heat source and the temperature at the third detection point. In other words, the control module determines the ambient temperature outside the device using the first and second temperatures.

[0077] The beneficial effect of the above technical solution is that, even if no location on the device is close to the external ambient temperature for mounting a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first temperature, the second temperature, and the ambient temperature established in this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0078] In another embodiment, the control module includes: a first temperature receiving port, a second temperature receiving port, and a data calculation model;

[0079] The first temperature receiving port receives a first temperature and transmits the first temperature to the data calculation model, and the second temperature receiving port receives a second temperature and transmits the second temperature to the data calculation model;

[0080] The data calculation model calculates and determines a difference between the first temperature and the ambient temperature according to the first temperature and the second temperature, and determines the ambient temperature based on the determined difference between the first temperature and the ambient temperature and the known first temperature.

[0081] The working principle of the above technical solution is: the solution adopted in this embodiment is that the control module includes: a first temperature receiving port, a second temperature receiving port and a data calculation model; the first temperature receiving port receives the first temperature and transmits the first temperature to the data calculation model, the second temperature receiving port receives the second temperature and transmits the second temperature to the data calculation model; the data calculation model calculates and determines the difference between the first temperature and the ambient temperature based on the first temperature and the second temperature, and determines the ambient temperature based on the determined difference between the first temperature and the ambient temperature and the known first temperature.

[0082] The beneficial effect of the above technical solution is that, even if no location on the device is close to the external ambient temperature for mounting a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first temperature, the second temperature, and the ambient temperature established in this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0083] In another embodiment, the data calculation model includes:

[0084] a data calculation model construction unit for constructing a mathematical relationship between the first temperature, the second temperature, and the ambient temperature; specifically, by constructing an experimental environment, measuring multiple sets of second temperatures while varying the first temperature and the ambient temperature, thereby forming multiple sets of control data for the first temperature, the second temperature, and the ambient temperature; calculating the difference between the first temperature and the ambient temperature by constructing a curve fitting equation; and determining the ambient temperature based on the known first temperature;

[0085] a data calculation model generating unit, configured to set a difference between a first temperature and an ambient temperature as a calculation core of a data calculation model; the difference between the first temperature and the ambient temperature being directly related to the first temperature and the second temperature;

[0086] a data calculation model input port, configured to receive a first temperature detected by the first temperature detection device and a second temperature detected by the second temperature detection device when the device is operating stably;

[0087] The data calculation model output port is used to output the ambient temperature outside the device through calculation of the data calculation model.

[0088] The working principle of the above technical solution is: the solution adopted in this embodiment is that the data calculation model includes: a data calculation model construction unit, which is used to construct a mathematical relationship between the first temperature, the second temperature and the ambient temperature; specifically, by constructing an experimental environment, multiple groups of second temperatures are measured when the first temperature and the ambient temperature are changed respectively, forming multiple groups of control data of the first temperature, the second temperature and the ambient temperature; the difference between the first temperature and the ambient temperature is obtained by constructing a curve fitting equation; and the ambient temperature is determined based on the known first temperature; a data calculation model generation unit, which is used to set the difference between the first temperature and the ambient temperature as the calculation core part of the data calculation model; the difference between the first temperature and the ambient temperature has a direct relationship with the first temperature and the second temperature; a data calculation model input port, which is used to receive the first temperature detected by the first temperature detection device and the second temperature detected by the second temperature detection device when the device is working stably; a data calculation model output port, which is used to output the ambient temperature outside the device through calculation of the data calculation model.

[0089] The beneficial effect of the above technical solution is that, even if no location on the device is close to the external ambient temperature for mounting a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first temperature, the second temperature, and the ambient temperature established in this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0090] In addition, a set is constructed for the temperature data obtained by measurement, and samples are extracted from the constructed set. Statistical analysis is performed on the samples, and the sample statistics are tested to determine whether the measured temperature data conforms to the rules.

[0091] Specifically, the sample statistic calculation formula is as follows:

[0092]

[0093] Among them, T is the sample test statistic, k is the number of sample groups, N i is the i-th sample size, N is the sum of all sample sizes, Z ij Z is the new variable value after converting the original data. i is the mean of the i-th sample, and Z is the total mean of all data. Given a significance level, when the mean square deviations of two samples are unequal, it is considered that the variances of each sample are not completely equal. In this case, it can be determined that the measured temperature data is abnormal. Multiple remeasurements can be performed to form a data set. When the mean square deviations of the two samples are equal, the variances of each sample are homogeneous, and it can be determined that the measured temperature data are normal data. This normal data can be used for further calculation to determine the ambient temperature.

[0094] In another embodiment, the step of calculating the difference between the first temperature and the ambient temperature by constructing a fitting equation includes:

[0095] Based on multiple sets of control data, a quadratic polynomial fitting was constructed, and x = Th-Te, y = Tm-Te, Th is the first temperature, Te is the ambient temperature, and Tm is the second temperature; y = a*x 2 +b*x+c, and the appropriate parameters a, b, c can be determined by the least squares method;

[0096] Substituting x and y into a quadratic polynomial to obtain a quadratic polynomial equation, and determining an x value based on the quadratic polynomial equation, where the x value is the difference between the first temperature and the ambient temperature.

[0097] The working principle of the above technical solution is as follows: The solution adopted in this embodiment is to calculate the difference between the first temperature and the ambient temperature by constructing a fitting equation, including: constructing a quadratic polynomial fitting based on multiple sets of control data, setting x = Th-Te, y = Tm-Te, Th is the first temperature, Te is the ambient temperature, and Tm is the second temperature; y = a*x 2 +b*x+c, and the appropriate parameters a, b, and c can be determined by the least squares method; x and y are respectively substituted into the quadratic polynomial to obtain a quadratic polynomial equation, and the x value is determined based on the quadratic polynomial equation, where the x value is the difference between the first temperature and the ambient temperature.

[0098] The beneficial effect of the above technical solution is that, even if no location on the device is close to the external ambient temperature for mounting a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first temperature, the second temperature, and the ambient temperature established in this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0099] In another embodiment, the step of constructing an experimental environment and measuring multiple sets of second temperatures while changing the first temperature and the ambient temperature to form multiple sets of comparison data of the first temperature, the second temperature, and the ambient temperature includes:

[0100] A test environment is constructed by a constant temperature box, which is respectively arranged around the first temperature detection device, the second temperature detection device and the ambient temperature detection device to simulate the normal working state of the equipment;

[0101] A distributed data acquisition device is provided in the test environment, and temperature data of multiple groups of controls from the first temperature detection device, the second temperature detection device, and the ambient temperature detection device are collected based on the distributed data acquisition device, and the temperature data are transmitted to the data calculation model construction unit, and the temperature data of the multiple groups of controls are arranged in chronological order and stored in a storage unit;

[0102] The thermostat is an intelligent thermostat, the temperature of which is controlled by an intelligent terminal, and the temperature adjustment range and adjustment cycle of the intelligent thermostat can be set;

[0103] The data calculation model construction unit analyzes the collected multiple sets of control temperature data. When at least one of the first temperature and the ambient temperature changes at the same time, the first temperature, the second temperature and the ambient temperature corresponding to the time are set as a set of control data. Based on the time series, multiple sets of control data are sampled.

[0104] The working principle of the above technical solution is as follows: the solution adopted in this embodiment is to construct an experimental environment, measure multiple sets of second temperatures when changing the first temperature and the ambient temperature respectively, and form multiple sets of comparison data of the first temperature, the second temperature, and the ambient temperature, including: constructing a test environment by a constant temperature box, the constant temperature box being respectively arranged around the first temperature detection device, the second temperature detection device, and the ambient temperature detection device to simulate the normal working state of the equipment; arranging a distributed data acquisition device in the test environment, collecting multiple sets of comparison temperature data of the first temperature detection device, the second temperature detection device, and the ambient temperature detection device based on the distributed data acquisition device, and transmitting the temperature data to the data calculation model construction unit, and arranging the multiple sets of comparison temperature data in a storage unit in chronological order; the constant temperature box is an intelligent constant temperature box, the temperature of the intelligent constant temperature box is controlled by the intelligent terminal, and the temperature adjustment range and adjustment period of the intelligent constant temperature box can be set; the data calculation model construction unit analyzes the collected multiple sets of comparison temperature data, and when at least one of the first temperature and the ambient temperature changes at the same time, the first temperature, the second temperature, and the ambient temperature corresponding to the time are set as a set of comparison data, and multiple sets of comparison data are sampled based on the time series.

[0105] An intelligent constant temperature box and a distributed data acquisition device are set up, and the temperature detection devices at various positions perform regular collection, and automatic temperature control is achieved through the intelligent constant temperature box. Therefore, the test environment is a process in which the constant temperature box automatically changes temperature and the temperature data is automatically collected, which saves labor costs. In addition, this method is less likely to make mistakes or errors when analyzing the temperature data to form control data, thereby ensuring the reliability of the test environment and test data, and then ensuring the accuracy of the mathematical relationship between the first temperature, the second temperature and the ambient temperature, which directly affects the accuracy of the calculated ambient temperature.

[0106] The beneficial effect of the above technical solution is that, even if no location on the device is close to the external ambient temperature for mounting a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first temperature, the second temperature, and the ambient temperature established in this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0107] In another embodiment, this embodiment also provides an algorithm for indirectly measuring the external ambient temperature. Figure 3 , the steps of the algorithm include the following parts:

[0108] S100, setting a first temperature detection device at a first position inside the device and near a heat source, for detecting a first temperature near the heat source of the device;

[0109] S200, disposing a second temperature detection device at a second location inside the device and away from a heat source of the device, for detecting a second temperature inside the device;

[0110] S300: Calculate and determine the ambient temperature outside the device based on the received first temperature and second temperature.

[0111] The working principle of the above technical solution is: the solution adopted in this embodiment is to set a first temperature detection device at a first position inside the device and near the heat source, for detecting a first temperature near the heat source of the device; set a second temperature detection device at a second position inside the device and away from the heat source of the device, for detecting a second temperature inside the device; and calculate and determine the ambient temperature outside the device based on the received first temperature and second temperature.

[0112] The beneficial effect of the above technical solution is that, even if no location on the device is close to the external ambient temperature for mounting a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first temperature, the second temperature, and the ambient temperature established in this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0113] In another embodiment, the S300 includes:

[0114] S301, setting a first temperature receiving port, a second temperature receiving port and a data calculation model;

[0115] S302, the first temperature receiving port receives a first temperature and transmits the first temperature to the data calculation model, the second temperature receiving port receives a second temperature and transmits the second temperature to the data calculation model;

[0116] S303: The data calculation model calculates and determines the difference between the first temperature and the ambient temperature according to the first temperature and the second temperature, and determines the ambient temperature based on the determined difference between the first temperature and the ambient temperature and the known first temperature.

[0117] The working principle of the above technical solution is: the solution adopted in this embodiment is to set a first temperature receiving port, a second temperature receiving port and a data calculation model; the first temperature receiving port receives a first temperature and transmits the first temperature to the data calculation model, and the second temperature receiving port receives a second temperature and transmits the second temperature to the data calculation model; the data calculation model calculates and determines the difference between the first temperature and the ambient temperature based on the first temperature and the second temperature, and determines the ambient temperature based on the determined difference between the first temperature and the ambient temperature and the known first temperature.

[0118] The beneficial effect of the above technical solution is that, even if no location on the device is close to the external ambient temperature for mounting a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first temperature, the second temperature, and the ambient temperature established in this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0119] In another embodiment, the data calculation model is constructed as follows:

[0120] Constructing a mathematical relationship between the first temperature, the second temperature, and the ambient temperature; specifically, by constructing an experimental environment, measuring multiple sets of second temperatures while varying the first temperature and the ambient temperature, thereby forming multiple sets of control data for the first temperature, the second temperature, and the ambient temperature; calculating the difference between the first temperature and the ambient temperature by constructing a curve fitting equation; and determining the ambient temperature based on the known first temperature;

[0121] Setting the difference between the first temperature and the ambient temperature as a calculation core of the data calculation model; the difference between the first temperature and the ambient temperature has a direct relationship with the first temperature and the second temperature;

[0122] When the device is working stably, receiving a first temperature detected by the first temperature detection device and a second temperature detected by the second temperature detection device;

[0123] The ambient temperature outside the device is output through calculation by the data calculation model.

[0124] The working principle of the above technical solution is: the solution adopted in this embodiment is that the data calculation model is constructed as follows: a mathematical relationship between the first temperature, the second temperature and the ambient temperature is constructed; specifically, by constructing an experimental environment, multiple groups of second temperatures are measured when the first temperature and the ambient temperature are changed respectively, forming multiple groups of control data of the first temperature, the second temperature and the ambient temperature; the difference between the first temperature and the ambient temperature is obtained by constructing a curve fitting equation; and the ambient temperature is determined based on the known first temperature; the difference between the first temperature and the ambient temperature is set as the calculation core part of the data calculation model; the difference between the first temperature and the ambient temperature has a direct relationship with the first temperature and the second temperature; when the device is working stably, the first temperature detected by the first temperature detection device and the second temperature detected by the second temperature detection device are received; the ambient temperature outside the device is output through calculation of the data calculation model.

[0125] The beneficial effect of the above technical solution is that, even if no location on the device is close to the external ambient temperature for mounting a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first temperature, the second temperature, and the ambient temperature established in this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0126] In another embodiment, the method of calculating the difference between the first temperature and the ambient temperature by constructing a fitting equation includes the following steps:

[0127] Based on multiple sets of control data, a quadratic polynomial fitting was constructed, and x = Th-Te, y = Tm-Te, Th is the first temperature, Te is the ambient temperature, and Tm is the second temperature; y = a*x 2 +b*x+c, and the appropriate parameters a, b, c can be determined by the least squares method;

[0128] Substituting x and y into a quadratic polynomial to obtain a quadratic polynomial equation, and determining an x value based on the quadratic polynomial equation, where the x value is the difference between the first temperature and the ambient temperature.

[0129] The working principle of the above technical solution is as follows: the solution adopted in this embodiment is to calculate the difference between the first temperature and the ambient temperature by constructing a fitting equation, and the method includes the following steps: constructing a quadratic polynomial fitting based on multiple sets of control data, setting x = Th-Te, y = Tm-Te, Th is the first temperature, Te is the ambient temperature, and Tm is the second temperature; y = a*x 2 +b*x+c, and the appropriate parameters a, b, and c can be determined by the least squares method; x and y are respectively substituted into the quadratic polynomial to obtain a quadratic polynomial equation, and the x value is determined based on the quadratic polynomial equation, where the x value is the difference between the first temperature and the ambient temperature.

[0130] For details, please refer to Figure 2 , Th (heat) is the temperature near the heat source of the device, which can be called the first temperature in this embodiment; Te (environment) is the temperature of the environment outside the device, which can be called the ambient temperature in this embodiment; Tm (middle) is the temperature inside or on the surface of the device farther away from the heat source (called the third detection point), which can be called the second temperature in this embodiment.

[0131] Obviously, Tm is the result of the interaction between Th and Te. The higher Th or Te is, the higher Tm will be, and vice versa. When the equipment is working stably, Th>Tm>Te.

[0132] By using experimental conditions such as a constant temperature chamber and independently changing Th and Te, multiple sets of control data of Th, Tm, and Te can be obtained.

[0133] Let x = Th-Te, y = Tm-Te, where x and y are known experimental data, and a quadratic polynomial is used for fitting, y = a*x 2 +b*x+c, the appropriate parameters a, b, and c can be determined by the least squares method.

[0134] Since x=Th-Te, y=Tm-Te, so y=x+Tm-Th, substitute it into y=a*x 2 +b*x+c, we can get the following formula:

[0135] x+Tm-Th=a*x 2 +b*x+c

[0136] By shifting the terms, we can get the quadratic equation:

[0137] a*x 2 +(b-1)*x+(Th-Tm+c)=0

[0138] When the device is actually in use, Th and Tm are the correction values of the data measured by the device's built-in temperature sensor. a, b, and c are all known fixed parameters. Solving the quadratic equation about the unknown variable x can determine the value of x.

[0139] According to x=Th-Te, the ambient temperature outside the equipment is Te=Th-x.

[0140] Under experimental conditions, by independently varying the temperature near the device's heat source and the external ambient temperature and measuring the temperature at the third detection point, multiple sets of data can be obtained, and a mathematical relationship can be established between the three. During actual device use, the external ambient temperature can be calculated from the temperature near the heat source and the temperature at the third detection point. In other words, the control module determines the ambient temperature outside the device using the first and second temperatures.

[0141] The beneficial effect of the above technical solution is that, even if no location on the device is close to the external ambient temperature for mounting a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first temperature, the second temperature, and the ambient temperature established in this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0142] In another embodiment, the steps of constructing an experimental environment and measuring multiple sets of second temperatures while changing the first temperature and the ambient temperature respectively to form multiple sets of comparison data of the first temperature, the second temperature, and the ambient temperature include:

[0143] A test environment is constructed by a constant temperature box, which is respectively arranged around the first temperature detection device, the second temperature detection device and the ambient temperature detection device to simulate the normal working state of the equipment;

[0144] A distributed data acquisition device is provided in the test environment, and temperature data of multiple groups of controls from the first temperature detection device, the second temperature detection device, and the ambient temperature detection device are collected by the distributed data acquisition device, and the temperature data are transmitted to the data calculation model construction unit, and the temperature data of the multiple groups of controls are arranged in chronological order and stored in a storage unit;

[0145] The thermostat is an intelligent thermostat, the temperature of which is controlled by an intelligent terminal, and the temperature adjustment range and adjustment cycle of the intelligent thermostat can be set;

[0146] The data calculation model construction unit analyzes the collected multiple sets of control temperature data. When at least one of the first temperature and the ambient temperature changes at the same time, the first temperature, the second temperature and the ambient temperature corresponding to the time are set as a set of control data. Based on the time series, multiple sets of control data are sampled.

[0147] The working principle of the above technical solution is as follows: the solution adopted in this embodiment is that by constructing an experimental environment, multiple sets of second temperatures are measured when the first temperature and the ambient temperature are changed respectively, thereby forming multiple sets of comparison data of the first temperature, the second temperature, and the ambient temperature. The steps include: constructing a test environment by using a constant temperature box, the constant temperature box being respectively arranged around the first temperature detection device, the second temperature detection device, and the ambient temperature detection device to simulate the normal working state of the equipment; arranging a distributed data acquisition device in the test environment, collecting multiple sets of comparison temperature data of the first temperature detection device, the second temperature detection device, and the ambient temperature detection device based on the distributed data acquisition device, and transmitting the temperature data to the data calculation model construction unit, and arranging the multiple sets of comparison temperature data in a storage unit in chronological order; the constant temperature box is an intelligent constant temperature box, the temperature of the intelligent constant temperature box is controlled by the intelligent terminal, and the temperature adjustment range and adjustment period of the intelligent constant temperature box are set; the data calculation model construction unit analyzes the collected multiple sets of comparison temperature data, and when at least one of the first temperature and the ambient temperature changes at the same time, the first temperature, the second temperature, and the ambient temperature corresponding to the time are set as a set of comparison data, and multiple sets of comparison data are sampled based on the time series.

[0148] The beneficial effect of the above technical solution is that, even if no location on the device is close to the external ambient temperature for mounting a temperature sensor, a relatively accurate external ambient temperature can still be calculated through mathematical calculation. Furthermore, the mathematical relationship between the first temperature, the second temperature, and the ambient temperature established in this embodiment allows the ambient temperature to be accurately calculated from the first and second temperatures.

[0149] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A device for indirectly measuring the external ambient temperature, characterized in that: include: a first temperature detection device, disposed inside the device and at a first position near the heat source, for detecting a first temperature near the heat source of the device; a second temperature detection device, disposed at a second position inside the device and away from a heat source of the device, for detecting a second temperature inside the device; a control module connected to the first temperature detection device and the second temperature detection device, and calculating and determining the ambient temperature outside the device based on the received first temperature and the second temperature; The control module includes: a first temperature receiving port, a second temperature receiving port and a data calculation model; The first temperature receiving port receives a first temperature and transmits the first temperature to the data calculation model, and the second temperature receiving port receives a second temperature and transmits the second temperature to the data calculation model; The data calculation model calculates and determines a difference between the first temperature and the ambient temperature based on the first temperature and the second temperature, and determines the ambient temperature based on the determined difference between the first temperature and the ambient temperature and the known first temperature; By constructing an experimental environment, multiple sets of second temperatures are measured while changing the first temperature and the ambient temperature, thereby forming multiple sets of comparison data of the first temperature, the second temperature, and the ambient temperature, including: A test environment is constructed by a constant temperature box, which is respectively arranged around the first temperature detection device, the second temperature detection device and the ambient temperature detection device to simulate the normal working state of the equipment; A distributed data acquisition device is provided in the test environment, and temperature data of multiple groups of controls from the first temperature detection device, the second temperature detection device, and the ambient temperature detection device are collected by the distributed data acquisition device, and the temperature data are transmitted to the data calculation model construction unit, and the temperature data of the multiple groups of controls are arranged in chronological order and stored in a storage unit; The thermostat is an intelligent thermostat, the temperature of which is controlled by an intelligent terminal, and the temperature adjustment range and adjustment cycle of the intelligent thermostat can be set; The data calculation model construction unit analyzes the collected multiple sets of control temperature data. When at least one of the first temperature and the ambient temperature changes at the same time, the first temperature, the second temperature and the ambient temperature corresponding to the time are set as a set of control data. Based on the time series, multiple sets of control data are sampled.

2. The device for indirectly measuring external ambient temperature according to claim 1, characterized in that: The data calculation model includes: a data calculation model construction unit for constructing a mathematical relationship between the first temperature, the second temperature, and the ambient temperature; specifically, by constructing an experimental environment, measuring multiple sets of second temperatures while varying the first temperature and the ambient temperature, thereby forming multiple sets of control data for the first temperature, the second temperature, and the ambient temperature; calculating the difference between the first temperature and the ambient temperature by constructing a curve fitting equation; and determining the ambient temperature based on the known first temperature; a data calculation model generating unit, configured to set a difference between a first temperature and an ambient temperature as a calculation core of a data calculation model; the difference between the first temperature and the ambient temperature being directly related to the first temperature and the second temperature; a data calculation model input port, configured to receive a first temperature detected by the first temperature detection device and a second temperature detected by the second temperature detection device when the device is operating stably; The data calculation model output port is used to output the ambient temperature outside the device through calculation of the data calculation model.

3. The device for indirectly measuring external ambient temperature according to claim 2, characterized in that: The step of calculating the difference between the first temperature and the ambient temperature by constructing a fitting equation includes: A quadratic polynomial fitting was constructed based on multiple sets of control data, with x=Th-Te, y=Tm-Te, Th being the first temperature, Te being the ambient temperature, and Tm being the second temperature; y=a*x 2 +b*x+c, and determine the parameters a, b, c by the least squares method; Substituting x and y into a quadratic polynomial to obtain a quadratic polynomial equation, and determining an x value based on the quadratic polynomial equation, where the x value is the difference between the first temperature and the ambient temperature.

4. An algorithm for indirectly measuring the external ambient temperature, characterized in that: include: S100, setting a first temperature detection device at a first position inside the device and near a heat source, for detecting a first temperature near the heat source of the device; S200, disposing a second temperature detection device at a second location inside the device and away from a heat source of the device, for detecting a second temperature inside the device; S300, calculating and determining the ambient temperature outside the device based on the received first temperature and second temperature; The S300 includes: S301, setting a first temperature receiving port, a second temperature receiving port and a data calculation model; S302, the first temperature receiving port receives a first temperature and transmits the first temperature to the data calculation model, the second temperature receiving port receives a second temperature and transmits the second temperature to the data calculation model; S303: The data calculation model calculates and determines a difference between the first temperature and the ambient temperature according to the first temperature and the second temperature, and determines the ambient temperature based on the determined difference between the first temperature and the ambient temperature and the known first temperature; By constructing an experimental environment, measuring multiple sets of second temperatures while changing the first temperature and the ambient temperature respectively, and forming multiple sets of comparison data of the first temperature, the second temperature, and the ambient temperature, the steps include: A test environment is constructed by a constant temperature box, which is respectively arranged around the first temperature detection device, the second temperature detection device and the ambient temperature detection device to simulate the normal working state of the equipment; A distributed data acquisition device is provided in the test environment, and temperature data of multiple groups of controls from the first temperature detection device, the second temperature detection device, and the ambient temperature detection device are collected by the distributed data acquisition device, and the temperature data are transmitted to the data calculation model construction unit, and the temperature data of the multiple groups of controls are arranged in chronological order and stored in a storage unit; The thermostat is an intelligent thermostat, the temperature of which is controlled by an intelligent terminal, and the temperature adjustment range and adjustment cycle of the intelligent thermostat can be set; The data calculation model construction unit analyzes the collected multiple sets of control temperature data. When at least one of the first temperature and the ambient temperature changes at the same time, the first temperature, the second temperature and the ambient temperature corresponding to the time are set as a set of control data. Based on the time series, multiple sets of control data are sampled.

5. The algorithm for indirectly measuring the external ambient temperature according to claim 4, characterized in that: The data calculation model is constructed as follows: Constructing a mathematical relationship between the first temperature, the second temperature, and the ambient temperature; specifically, by constructing an experimental environment, measuring multiple sets of second temperatures while varying the first temperature and the ambient temperature, thereby forming multiple sets of control data for the first temperature, the second temperature, and the ambient temperature; calculating the difference between the first temperature and the ambient temperature by constructing a curve fitting equation; and determining the ambient temperature based on the known first temperature; Setting the difference between the first temperature and the ambient temperature as a calculation core of the data calculation model; the difference between the first temperature and the ambient temperature has a direct relationship with the first temperature and the second temperature; When the device is working stably, receiving a first temperature detected by the first temperature detection device and a second temperature detected by the second temperature detection device; The ambient temperature outside the device is output through calculation by the data calculation model.

6. The algorithm for indirectly measuring the external ambient temperature according to claim 5, characterized in that: The method for calculating the difference between the first temperature and the ambient temperature by constructing a fitting equation comprises the following steps: A quadratic polynomial fitting was constructed based on multiple sets of control data, with x=Th-Te, y=Tm-Te, Th being the first temperature, Te being the ambient temperature, and Tm being the second temperature; y=a*x 2 +b*x+c, and determine the parameters a, b, c by the least squares method; Substituting x and y into a quadratic polynomial to obtain a quadratic polynomial equation, and determining an x value based on the quadratic polynomial equation, where the x value is the difference between the first temperature and the ambient temperature.

Citation Information

Patent Citations

  • Compensation method and device of environmental parameters, controller and information energy management system

    CN109446123A

  • System for determining ambient temperature

    US20090144014A1