Temperature control method, device, system, computer device and storage medium
By installing multiple temperature sensors in the workshop to detect temperature anomalies and adjust the target area, the problem of temperature fluctuations caused by accidental factors is solved, achieving high-precision temperature control, maintaining a constant temperature environment, improving production efficiency and reducing costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGZHOU MINO AUTOMOTIVE EQUIP CO LTD
- Filing Date
- 2023-08-25
- Publication Date
- 2026-06-19
AI Technical Summary
In existing technologies for workshop temperature control, temperature fluctuations caused by accidental factors may disrupt the constant temperature environment, reduce production efficiency, and error correction may exacerbate the problem.
By setting multiple temperature sensors in the environment under test, the actual temperature is obtained, temperature anomalies are identified, the target correction area is determined, and a temperature control signal is generated to adjust the temperature regulation device to ensure that the temperature is within the preset range.
It improves the accuracy of temperature control, avoids misjudgments, maintains a constant temperature environment, improves production efficiency, and reduces costs.
Smart Images

Figure CN116880615B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of temperature control technology, and in particular to a temperature control method, apparatus, system, computer equipment, storage medium, and computer program product. Background Technology
[0002] With the development of temperature control technology, constant temperature control technology has emerged. Constant temperature control technology can provide a stable temperature control method, ensuring that workshop production activities can remain stable within a preset temperature range, thereby improving the efficiency of workshop production activities and reducing production costs.
[0003] In workshop production activities, temperature changes are often caused by accidental factors, such as heat transfer during instantaneous monitoring, abnormalities in workshop production activities, and human factors. From a holistic perspective, these accidental factors do not completely disrupt the constant temperature environment of the workshop. However, correcting the workshop temperature based on the measured error temperature might actually disrupt the constant temperature environment, leading to a decrease in production efficiency. Summary of the Invention
[0004] Therefore, it is necessary to provide a high-precision temperature control method, device, system, computer equipment, storage medium, and computer program product to address the aforementioned technical problems and improve the efficiency of production activities.
[0005] In a first aspect, this application provides a temperature control method, the method comprising:
[0006] The system acquires the actual temperatures collected by temperature sensors in multiple areas of the environment under test; each area is equipped with multiple temperature sensors.
[0007] Based on the actual temperature, determine whether there is a temperature anomaly in the environment under test;
[0008] If an abnormal temperature is detected, the target correction area is determined based on the actual temperature and the preset temperature range. The target correction area is the area or all areas where the actual temperature deviates the most from the preset temperature range among multiple areas.
[0009] Based on the actual temperature of the target correction area, a temperature control signal is generated and sent to the temperature regulation device so that the temperature regulation device adjusts the temperature of the target correction area to a preset temperature range.
[0010] In one embodiment, determining whether there is a temperature anomaly in the environment under test based on the actual temperature includes:
[0011] Based on the actual temperature, determine the average temperature of the environment to be measured and the standard deviation of the actual temperature;
[0012] Based on the pre-set confidence interval, the average temperature, and the standard deviation of the actual temperature, determine the lower limit of the average temperature and the upper limit of the average temperature that satisfy the pre-set confidence interval;
[0013] If the lower limit of the average temperature is higher than the upper limit of the preset temperature range, it is determined that there is a first temperature anomaly in the environment under test.
[0014] If the upper limit of the average temperature is lower than the lower limit of the preset temperature range, it is determined that there is a second temperature anomaly in the environment under test.
[0015] If the lower limit of the average temperature is lower than the lower limit of the preset temperature range, and the upper limit of the average temperature is lower than the upper limit of the preset temperature range, then it is determined that there is a third temperature anomaly in the environment under test.
[0016] If the lower limit of the average temperature is higher than the lower limit of the preset temperature range, and the upper limit of the average temperature is higher than the upper limit of the preset temperature range, then it is determined that there is a fourth temperature anomaly in the environment under test.
[0017] If the lower limit of the average temperature is lower than the lower limit of the preset temperature range, and the upper limit of the average temperature is higher than the upper limit of the preset temperature range, then the environment under test is determined to have a fifth temperature anomaly.
[0018] In one embodiment, determining the average temperature of the environment under test and the standard deviation of the actual temperature based on the actual temperature includes:
[0019] Based on the actual temperature and the maximum likelihood function, determine the average temperature of the environment to be measured and the standard deviation of the actual temperature.
[0020] In one embodiment, if an abnormal temperature is determined, a target correction area is determined based on the actual temperature, including:
[0021] If a first temperature anomaly or a second temperature anomaly exists, the target correction area is determined to be the entire area of the environment under test.
[0022] If a third temperature anomaly exists, the target correction area is determined to be the area with the largest amount of data where the actual temperature is lower than the lower limit of the preset temperature range.
[0023] If a fourth temperature anomaly exists, the target correction area is determined to be the area with the largest amount of data where the actual temperature is higher than the upper limit of the preset temperature range.
[0024] If a fifth temperature anomaly exists, the target correction area is determined to be the area with the largest amount of data where the actual temperature is lower than the preset temperature range and the area with the largest amount of data where the actual temperature is higher than the preset temperature range among multiple regions.
[0025] In one embodiment, acquiring the actual temperatures collected by temperature sensors in multiple areas within the environment under test includes:
[0026] For each region, the actual temperature collected by multiple temperature sensors is randomly selected at multiple times within a first preset time period.
[0027] In one embodiment, after the temperature regulating device adjusts the temperature of the target correction area, the temperature control method further includes:
[0028] If the temperature is still abnormal based on the actual temperature collected by the temperature sensor, an abnormality alert message will be generated and stored.
[0029] In one embodiment, the step of determining whether a temperature anomaly still exists based on the actual temperature collected by the temperature sensor includes:
[0030] The actual temperature collected by each temperature sensor is acquired at a preset sampling frequency within the second preset time period.
[0031] Based on the actual temperature and the preset temperature range, determine the temperature deviation ratio, which is the ratio of the amount of data in the actual temperature that deviates from the preset temperature range to the amount of data in the actual temperature.
[0032] If the temperature deviation rate is higher than the preset threshold, it is determined that there is still an abnormal temperature in the environment under test.
[0033] Secondly, this application also provides a temperature control device, which includes:
[0034] The temperature acquisition module is used to acquire the actual temperature collected by temperature sensors in multiple areas of the environment under test; multiple temperature sensors are set in each area.
[0035] The temperature anomaly detection module is used to determine whether there is a temperature anomaly in the environment under test based on the actual temperature.
[0036] The target correction region determination module is used to determine the target correction region based on the actual temperature and the temperature anomaly if an abnormal temperature situation is determined. The target correction region is the area where a temperature correction task needs to be performed.
[0037] The temperature control module is used to generate and send a temperature control signal to the temperature control device based on the actual temperature of the target correction area, so that the temperature control device can adjust the temperature of the target correction area to a preset temperature range.
[0038] Thirdly, this application provides a temperature control system, comprising:
[0039] Multiple temperature sensors are respectively set in multiple areas of the environment to be measured;
[0040] Temperature control equipment is used to regulate the temperature of the environment under test.
[0041] The controller is connected to both the temperature sensor and the temperature control device, and is used to execute the steps of the temperature control method described above.
[0042] Fourthly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the above-described temperature control method steps.
[0043] Fifthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the above-described temperature control method.
[0044] The aforementioned temperature control method, device, system, computer equipment, storage medium, and computer program products set multiple temperature sensors in multiple areas within the environment under test to acquire the actual temperatures collected by these sensors. Based on the actual temperatures, it can be determined whether there is a temperature anomaly in the environment under test. If a temperature anomaly is determined, the area or all areas (i.e., the target correction area) with the largest deviation from the preset temperature range is identified based on the actual temperatures to eliminate false detections caused by accidental factors. Based on the actual temperature of the target correction area, a temperature control signal is generated and sent to the temperature regulating device to adjust the temperature of the target correction area to the preset temperature range, maintaining a constant temperature environment. This provides high control accuracy, which is beneficial for improving the production efficiency of the environment under test and can avoid problems such as product defects caused by damage to the constant temperature environment due to misjudgment, thus saving costs. Attached Figure Description
[0045] Figure 1 This is a diagram illustrating the application environment of a temperature control method in one embodiment;
[0046] Figure 2 This is one of the flowcharts illustrating a temperature control method in one embodiment;
[0047] Figure 3 This is a flowchart illustrating the steps of determining whether there is a temperature anomaly in the environment under test based on the actual temperature and a preset temperature range in one embodiment.
[0048] Figure 4 This is a second schematic flowchart of a temperature control method in one embodiment;
[0049] Figure 5 This is the third flowchart of a temperature control method in one embodiment;
[0050] Figure 6This is a structural block diagram of a temperature control device in one embodiment;
[0051] Figure 7 This is a block diagram of the temperature control system in one embodiment;
[0052] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0053] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0054] The temperature control method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, the environment under test is divided into multiple areas, each equipped with multiple temperature sensors 102, a temperature regulation device 104, and a controller 106. The controller 106 communicates with each temperature sensor 102 and the temperature regulation device 104. The temperature sensors 102 collect the actual temperature of the environment under test. The controller 106 obtains the actual temperature of the environment under test from the temperature sensors 102 and, based on the actual temperature and a preset temperature range, determines whether there is a temperature anomaly in the environment under test. If the controller 106 determines that there is a temperature anomaly in the environment under test, it can understand the temperature deviation of each area based on the actual temperature collected by the temperature sensors 102 and the preset temperature range, thereby determining the area or all areas (i.e., the target correction area) with the largest deviation from the preset temperature range among the multiple areas as the target for temperature adjustment. The controller 106 controls the temperature regulation device 104 to perform temperature correction actions, so that the temperature regulation device 104 adjusts the temperature of the target correction area to be within the preset temperature range. In this temperature control process, multi-point temperature acquisition is used to determine whether there are any abnormalities in the overall environment under test. Only when there are abnormalities will the next temperature control action be triggered. During the execution of the temperature control action, the area with the largest amount of sample data where the actual temperature deviates from the preset temperature range will be used as the adjustment target for temperature control. This avoids erroneous control caused by the influence of accidental factors on the temperature sensors in individual areas, thereby improving the accuracy and precision of temperature control and facilitating better industrial production and manufacturing under test.
[0055] In one embodiment, such as Figure 2 As shown, a temperature control method is provided, which is applied to... Figure 1 Taking controller 106 as an example, the controller 106 is connected to multiple temperature sensors 102 and temperature regulating device 104. This temperature control method includes the following steps:
[0056] S202, acquire the actual temperature collected by temperature sensors in multiple areas within the test environment; each area is equipped with multiple temperature sensors. The test environment refers to the environment where temperature regulation is required, such as a production workshop. The test environment can be divided into multiple areas of equal size.
[0057] S204, based on the actual temperature and the preset temperature range, determine whether there is a temperature anomaly in the environment under test. The actual temperature used to determine whether there is a temperature anomaly can be the actual temperature collected by all temperature sensors, or the actual temperature collected by some temperature sensors. For example, it can be the actual temperature collected by some temperature sensors obtained through random sampling. The temperature sensors can be evenly distributed in the environment under test. In this case, the actual temperature data obtained by random sampling follows the characteristics of a normal distribution.
[0058] S206, if a temperature anomaly is determined, a target correction area is determined based on the actual temperature and the preset temperature range. The target correction area is either the area or all areas where the actual temperature deviates most from the preset temperature range. For example, consider areas A and B, both equipped with the same number of temperature sensors. If a temperature anomaly occurs, and the deviation of the actual temperature from the preset temperature range collected by the temperature sensors in area A is N1, and the deviation in area B is N2, then N1 > N2, and area A is the target correction area.
[0059] S208 generates and sends a temperature control signal to the temperature regulating device based on the actual temperature of the target correction area, so that the temperature regulating device adjusts the temperature of the target correction area to a preset temperature range. The preset temperature range is set based on the temperature control requirements of the environment under test. For example, for a constant-temperature production workshop, the preset temperature range can be determined based on the required temperature value and allowable temperature fluctuation range of the constant-temperature production workshop. The temperature regulating device can be any device that can achieve heating or cooling by any means, such as using a fan or air conditioner to achieve cooling.
[0060] A temperature control signal is a signal that drives a temperature regulating device to adjust the temperature of a target correction area to within a preset temperature range. When the temperature of the target correction area exceeds the upper limit of the preset temperature range, the temperature control signal instructs the temperature regulating device to perform a cooling operation. For example, the temperature control signal can control the fan to increase its speed to accelerate air circulation and achieve rapid cooling. When the temperature of the target correction area is below the lower limit of the preset temperature range, the temperature control signal instructs the temperature regulating device to perform a heating operation. For example, the temperature control signal can control the air conditioner to perform a heating operation to raise the temperature of the target correction area.
[0061] Each target correction area can be equipped with a temperature regulation device, and the temperature control signal can also instruct the temperature regulation device of the target correction area to adjust the temperature of the target correction area to a preset temperature range.
[0062] In the aforementioned temperature control method, the actual temperatures collected by multiple temperature sensors in each area of the environment under test are obtained. Based on the actual temperatures and a preset temperature range, it is determined whether there is a temperature anomaly in the environment under test. If a temperature anomaly is determined, a target correction area (i.e., the area or all areas where the actual temperature deviates most from the preset temperature range) is determined based on the actual temperatures. A temperature control signal is generated and sent to the temperature regulating device based on the actual temperature of the target correction area, so that the temperature regulating device adjusts the temperature of the target correction area to the preset temperature range. This temperature control method can correct for minor temperature disturbances caused by accidental factors, avoiding the influence of accidental factors such as heat transfer during instantaneous detection, abnormal workshop production activities, and human factors on temperature. By correcting the temperature of local areas, it ensures that all activities within the environment under test, such as production activities in a constant-temperature workshop, can operate normally, ensuring the efficiency of each production activity and reducing costs.
[0063] In one embodiment, such as Figure 3 As shown, based on the actual temperature and the preset temperature range, the determination of whether there is a temperature anomaly in the environment under test (S204) includes:
[0064] S302, based on the actual temperature, determine the average temperature of the environment to be measured and the standard deviation of the actual temperature.
[0065] S304. Based on the standard deviation of the preset confidence interval, the average temperature, and the actual temperature, determine the lower limit of the average temperature and the upper limit of the average temperature that satisfy the preset confidence interval.
[0066] Among them, the preset confidence interval is a confidence interval that meets the preset confidence level and is set based on the temperature control accuracy. The higher the preset confidence level, the higher the temperature control accuracy. Through multi-point sampling, when the amount of data is sufficient, the temperature distribution of the measured environment is approximately normally distributed. Based on this characteristic, by looking up a table with the preset confidence interval, the average temperature, and the standard deviation of the actual temperature, a quantile of the corresponding standard normal distribution under this preset confidence interval can be determined. Based on this quantile, the upper limit value and lower limit value of the average temperature are determined to reflect the actual temperature situation of the measured environment from a global perspective.
[0067] For example, taking the 0.95 confidence interval as an example, its corresponding significance level a = 1 - 0.95 = 0.05. Based on this parameter setting, the confidence interval for calculating the average temperature μ is:
[0068] [μ - (σ / √n) * Z , μ + (σ / √n) * Z a / 2
[0069] Looking up the table, the corresponding quantile of the standard normal distribution can be obtained: Z a / 2 = 1.96;
[0070] Based on the quantile, the average temperature, and the standard deviation of the actual temperature, the lower limit value T1 of the average temperature and the upper
[0071] limit value T2 of the average temperature are determined:
[0072] T1 = μ - (σ / √n) * Z a / 2 , T2 = μ + (σ / √n) * Z a / 2 .
[0073] S306. If the lower limit value of the average temperature is higher than the upper limit value of the preset temperature range, it is determined that there is a first temperature anomaly in the measured environment.
[0074] Among them, taking the preset temperature range as [T - △T, T + △T] as an example, when the lower limit value of the average temperature is higher than the upper limit value of the preset temperature range (i.e., T1 > T + △T), it can be shown that the actual ambient temperature of the measured environment is higher than the preset temperature range under the requirement of the preset confidence level, and cooling treatment is required.
[0075] S308. If the upper limit value of the average temperature is lower than the lower limit value of the preset temperature range, it is determined that there is a second temperature anomaly in the measured environment.
[0076] When the upper limit value T2 of the average temperature is lower than the lower limit value of the preset temperature range (i.e., T2 < T - △T), it means that the actual ambient temperature of the measured environment is lower than the preset temperature range under the requirement of the preset confidence level. At this time, it is determined that there is a second temperature anomaly and heating treatment is required.
[0077] In S310, if the lower limit value of the average temperature is lower than the lower limit value of the preset temperature range, and the upper limit value of the average temperature is lower than the upper limit value of the preset temperature range, it is determined that there is a third temperature anomaly in the environment to be measured.
[0078] When the lower limit value T1 of the average temperature is lower than the lower limit value of the preset temperature range (i.e., T1 < T - △T), and the upper limit value T2 of the average temperature is lower than the upper limit value of the preset temperature range (i.e., T2 < T + △T), it indicates that the actual ambient temperature of the environment to be measured has a tendency to be lower than the preset temperature range. At this time, it is determined that there is a third temperature anomaly to provide a basis for subsequent temperature control.
[0079] In S312, if the lower limit value of the average temperature is higher than the lower limit value of the preset temperature range, and the upper limit value of the average temperature is higher than the upper limit value of the preset temperature range, it is determined that there is a fourth temperature anomaly in the environment to be measured.
[0080] When the lower limit value T1 of the average temperature is higher than the lower limit value of the preset temperature range (i.e., T1 > T - △T), and the upper limit value T2 of the average temperature is higher than the upper limit value of the preset temperature range (i.e., T2 > T + △T), it indicates that the actual ambient temperature of the environment to be measured has a tendency to be higher than the preset temperature range. At this time, it is determined that there is a fourth temperature anomaly to provide a basis for subsequent temperature control.
[0081] In S314, if the lower limit value of the average temperature is lower than the lower limit value of the preset temperature range, and the upper limit value of the average temperature is higher than the upper limit value of the preset temperature range, it is determined that there is a fifth temperature anomaly in the environment to be measured.
[0082] When the lower limit value T1 of the average temperature is lower than the lower limit value of the preset temperature range (i.e., T1 < T - △T), and the upper limit value T2 of the average temperature is higher than the upper limit value of the preset temperature range (i.e., T2 > T + △T), it indicates that the actual ambient temperature of the environment to be measured fluctuates greatly. At this time, it is determined that there is a fifth temperature anomaly to provide a basis for subsequent temperature control.
[0083] The technical solution provided in this embodiment determines the average temperature of the environment to be measured and the standard deviation of the actual temperature after the actual temperature is measured by each temperature sensor 102, judges the temperature of the environment to be measured from a global perspective, avoids judging the temperature of the environment to be measured locally and limitedly, and further determines the upper limit value and lower limit value of the average temperature that meet the preset confidence interval, excludes the influence caused by accidental factors, ensures the accuracy and reliability of the temperature anomaly judgment result, and further ensures the correctness of the temperature adjustment timing.
[0084] In one embodiment, S302 for determining the average temperature of the environment to be measured and the standard deviation of the actual temperature according to the actual temperature includes:
[0085] Based on the actual temperature and the maximum likelihood function, determine the average temperature of the environment to be measured and the standard deviation of the actual temperature.
[0086] The maximum likelihood function can be expressed as follows:
[0087]
[0088] Wherein, the function L(μ, σ) 2 Let be the maximum likelihood function, and n be the n actual temperatures obtained from each temperature sensor 102, x i Let μ be the i-th sample data (i.e., the i-th actual temperature), μ be the average temperature of the environment to be measured, and σ be the average temperature of the environment to be measured. 2 Let n be the standard deviation of the actual temperature. n can be greater than 1000, in which case the sampling data can be guaranteed to be normally distributed.
[0089] For the function L(μ, σ) 2 )have:
[0090]
[0091]
[0092] At this point, to facilitate subsequent calculations, simplification, and finding the maximum value of the formula, the logarithm of both sides of the formula is taken simultaneously.
[0093] For the function L(μ, σ) 2 Taking the logarithm, and simplifying the process, we have:
[0094]
[0095] Furthermore, logarithmic functions have the following operational rules:
[0096]
[0097] log a M n =n log a M
[0098] The above logarithmic function operation rule holds under the following conditions: a>0, a≠1, M>0, N>0, and n∈R.
[0099] Based on the distribution of the data, find the maximum probability of the observed sample occurring. For example, when the sampled data follows a normal distribution, the function L(μ, σ) is... 2 It is continuously differentiable and has one and only one extreme value. To maximize the probability of the observed sample occurring (i.e., to maximize the probability that the actual temperature of the waiting environment in the constant-temperature production workshop falls within the required temperature value and the allowable temperature fluctuation range, thus maintaining the constant-temperature environment of the production workshop), the simplified result of the formula is differentiated, that is, with respect to the unknown parameters μ and σ.2 Take the derivative to obtain the extrema of the maximum likelihood function.
[0100] For unknown parameters μ, σ 2 Differentiating, we have:
[0101]
[0102] After calculating the derivative formula, we have:
[0103]
[0104] The final result can be calculated as follows:
[0105]
[0106] Among them, the maximum likelihood function is At that time, there exists an extreme value, which is the average temperature of the environment being measured. Standard deviation of actual temperature At that time, the actual temperature of the environment under test is most likely to be within the required temperature value and the allowable temperature fluctuation range.
[0107] Substituting the n actual temperature data obtained from each temperature sensor 102 into the maximum likelihood function yields the average temperature of the environment under test and the standard deviation of the actual temperature. Within a preset confidence interval, the average temperature and standard deviation of the actual temperature of the environment under test obtained from the maximum likelihood function have high reliability, improving the reliability of the judgment result regarding whether there is a temperature anomaly in the environment under test.
[0108] In one embodiment, if an abnormal temperature is determined, determining the target correction area based on the actual temperature in step S206 includes:
[0109] If either the first or second temperature anomaly exists, the target correction area is determined to be the entire area of the environment under test.
[0110] When the temperature anomaly is determined to be either the first or second temperature anomaly, it indicates that the environment under test is experiencing either high or low temperatures, and temperature correction needs to be applied to the entire area. In other words, the target correction area at this time is the entire area of the environment under test.
[0111] When the temperature anomaly is classified as the first-degree temperature anomaly, cooling measures need to be taken for the entire area under test. This requires activating all temperature control devices within the entire area to perform cooling operations. Taking fans as an example, when the temperature anomaly is determined to be the first-degree temperature anomaly, all fans within the entire area under test are activated. By increasing airflow, the overall temperature within the test environment is lowered to the preset temperature range. This ensures that the lower limit of the average temperature T1 is higher than the lower limit of the preset temperature range (i.e., T1 > T - ΔT), and the upper limit of the average temperature T2 is lower than the upper limit of the preset temperature range (i.e., T2 > ΔT). <T+△T)。
[0112] Similarly, when the temperature anomaly is classified as the second temperature anomaly, the entire area of the test environment needs to be heated, meaning all temperature control devices within the area need to be activated to perform the heating action. Taking air conditioning as an example, when the temperature anomaly is determined to be the second temperature anomaly, all air conditioners within the entire test environment are activated to operate, using methods such as blowing hot air to raise the overall temperature within the test environment to the preset temperature range.
[0113] If a third temperature anomaly exists, the target correction area is determined to be the area with the largest amount of data where the actual temperature is lower than the lower limit of the preset temperature range.
[0114] When the temperature anomaly is determined to be the third type of temperature anomaly, it indicates that there is an abnormally low temperature in a localized area of the environment under test. This area, i.e., the target correction area, needs to be locally heated. Here, we will use... Figure 1 For example, the dashed lines in the diagram divide the environment under test into three regions. Figure 1 When the leftmost area in the field of view is the target correction area, a temperature control signal is sent to the temperature regulation device to rapidly raise the temperature of the target correction area, correcting the abnormally low temperature in that area and preventing the low temperature in that area from affecting the target correction area. Figure 1 The central and right-hand regions within the field of view are corrected for localized abnormally low temperatures (i.e., the target correction region) to prevent the spread of these temperatures and their impact on other regions, thereby reducing the temperature maintenance costs of the environment under test. However, it should be noted that the number of regions to be divided is not limited here; this is merely an example to illustrate the beneficial effects of this embodiment.
[0115] If a fourth temperature anomaly exists, the target correction area is determined to be the area with the largest amount of data where the actual temperature is higher than the upper limit of the preset temperature range.
[0116] Similar to the adjustment scheme for abnormally low temperature correction (i.e., the third temperature anomaly), when the temperature anomaly is determined to be the fourth temperature anomaly, it indicates that there is an abnormally high temperature in a localized area of the tested environment. This area, i.e., the target correction area, needs to be locally cooled. Here, we will use... Figure 1 For example, the dashed lines in the diagram divide the environment under test into three regions. Figure 1 When the leftmost area in the field of view is the target correction area, a temperature control signal is sent to the temperature regulation device to rapidly cool the target correction area, correcting the abnormally high temperature in this area and preventing the high temperature in this area from affecting other functions. Figure 1 The central and right-side regions within the field of view are corrected for localized abnormal high temperatures (i.e., the target correction region) to prevent the spread of these temperatures and their impact on other regions, thereby reducing the temperature maintenance costs of the environment under test. However, it should be noted that the number of regions to be divided is not limited here; this is merely an example to illustrate the beneficial effects of this embodiment.
[0117] If a fifth temperature anomaly exists, the target correction area is determined to be the area with the largest amount of data where the actual temperature is lower than the preset temperature range and the area with the largest amount of data where the actual temperature is higher than the preset temperature range among multiple regions.
[0118] Similar to the adjustment schemes for abnormally low temperature correction (i.e., the third temperature anomaly) and abnormally high temperature correction (i.e., the fourth temperature anomaly), when the temperature anomaly is determined to be the fifth temperature anomaly, it indicates that the tested environment simultaneously exhibits both localized abnormally low temperatures and localized abnormally high temperatures. Therefore, it is necessary to perform localized cooling and localized heating actions on this area, i.e., the target correction area. Here, we will use... Figure 1 For example, the dashed lines in the diagram divide the environment under test into three regions. Figure 1 The leftmost region in the field of view is the abnormally high temperature region (i.e., the region with the largest amount of data where the actual temperature is higher than the preset temperature range, which can be denoted as target correction region A), and Figure 1 When the rightmost region in the field of view is an abnormally low temperature region (i.e., the region with the largest amount of data where the actual temperature is lower than the preset temperature range, which can be denoted as target correction region B), temperature control signals are sent to the temperature regulation devices corresponding to target correction region A and target correction region B. This rapidly raises the temperature of target correction region A to correct the abnormally high temperature in that region, and rapidly raises the temperature of target correction region B to correct the abnormally low temperature in that region, thus preventing the abnormally high temperature of target correction region A and the abnormally low temperature of target correction region B from affecting... Figure 1The central region in the field of view. This refers to the temperature control method provided in this application embodiment, which, by correcting locally abnormally high and low temperatures, prevents these temperatures from spreading and affecting other regions, thus reducing the temperature maintenance costs of the environment under test. However, it should be noted that the number of regions to be divided is not limited here; it is merely an example to illustrate the beneficial effects of this application embodiment.
[0119] In one embodiment, such as Figure 4 As shown, S202, which acquires the actual temperature collected by temperature sensors in multiple areas within the environment under test, includes:
[0120] S402, for each area, randomly selects the actual temperature collected by multiple temperature sensors at multiple times within a first preset time period.
[0121] Taking the uniform distribution of multiple temperature sensors in the environment under test as an example, the actual temperatures (i.e., n actual temperature data points) randomly sampled at multiple moments within the first preset time period follow or approximately follow a normal distribution. That is, the random variable X (the actual temperature collected by temperature sensor 102) follows a mathematical expectation of μ (the average temperature of the environment under test) and a variance of σ. 2 The normal distribution of (the standard deviation of the actual temperature).
[0122] Reliable detection data can be obtained by randomly sampling the actual temperatures of multiple temperature sensors 102 at multiple moments within the first preset time period. By acquiring sample data from both time and space dimensions, the influence of accidental factors such as false detection caused by instantaneous heat transfer at a certain moment or false detection caused by people walking in the test environment can be avoided. Furthermore, the temperature conditions of the entire test environment can be considered from a global perspective to improve the reliability and credibility of the detection results.
[0123] In one embodiment, such as Figure 5 As shown, after step S208 where the temperature adjustment device adjusts the temperature of the target correction area, the method further includes:
[0124] S502, if the temperature anomaly is still determined based on the actual temperature collected by the temperature sensor, an anomaly alert message is generated and stored. This alert message can be transmitted in various ways; for example, it can be returned to the background operating system for staff to view, analyze, and take appropriate follow-up actions. The anomaly alert message can include the coordinates of the temperature sensor in the area and the actual temperature collected. The alert message can be generated based on the abnormal actual temperature data (below the lower limit of the average temperature or above the upper limit of the average temperature) and the coordinates of the corresponding temperature sensor.
[0125] After correcting the temperature of the target correction area, the actual temperature collected by the temperature sensor in each area of the test environment is acquired again. This allows for an evaluation of whether the temperature of each area has recovered to the preset temperature range after correction.
[0126] The specific process of assessing whether the corrected actual temperature has returned to the preset temperature range can involve determining whether the actual temperature of each area after correction is lower than the lower limit of the average temperature or higher than the upper limit of the average temperature. If there are cases where the actual temperature is lower than the lower limit of the average temperature or higher than the upper limit of the average temperature, it indicates that there may be disturbances from system equipment or other factors (excluding heat transfer during instantaneous detection, abnormal workshop activities, and human activities). In this case, manual on-site inspection and temperature control are required. Therefore, abnormal alert information can be generated and stored. After recording, it can at least be viewed locally by staff. In addition, after storage, it can also be accessed by staff on remote terminals. Of course, in one embodiment, abnormal alert information can also be sent to remote terminals to promptly notify staff to make subsequent work arrangements.
[0127] Of course, the specific assessment of whether the actual temperature after correction has returned to the preset temperature range is not limited to the example given here. It can also be achieved by collecting the temperature data from the temperature sensor of the entire area under test, determining the proportion of temperature anomalies in the data, and then determining whether temperature anomalies still exist.
[0128] In one embodiment, the step of determining that a temperature anomaly still exists based on the actual temperature collected by the temperature sensor includes:
[0129] The actual temperature collected by each temperature sensor is acquired within a second preset time period according to a preset sampling frequency. The preset sampling frequency can be set according to production requirements or usage scenarios, and can optionally be set to 5 seconds, 10 seconds, 1 minute, etc. The second preset time period is the time period after correcting for abnormal temperatures. The selection of this time period can be set according to specific production requirements or usage scenarios, and can optionally be set to 10 minutes, 1 hour, two days, etc.
[0130] Based on the actual temperature and the preset temperature range, the temperature deviation ratio is determined. The temperature deviation ratio is the ratio of the amount of data in the actual temperature that deviates from the preset temperature range to the amount of data in the actual temperature range. The temperature deviation ratio reflects the temperature control capability of the environment under test; the smaller the temperature deviation ratio, the more accurate the temperature control of the environment under test.
[0131] If the temperature deviation rate exceeds the preset threshold, the environment under test is determined to still have an abnormal temperature. The preset threshold can be set according to specific production requirements or usage scenarios; optionally, the deviation rate can be set to 0.2, 0.1, 0.05, etc. The smaller the preset threshold, the higher and more precise the temperature control requirements for the environment under test.
[0132] To better illustrate the implementation process of the temperature control method provided in this application embodiment, a constant temperature workshop is used as an example to illustrate the process.
[0133] Multiple temperature sensors are evenly distributed throughout the constant temperature workshop. In an unattended workshop, there are usually many production disturbances, and they are all relatively independent. Each influencing factor is extremely small. Therefore, during the random sampling process, the temperature of the temperature sensor at different locations is collected at different times. This temperature distribution should follow or approximately follow a normal distribution.
[0134] In the production workshop, the actual temperature collected by temperature sensors at different locations within a certain time period is randomly selected, and the total number of samples n>1000 is obtained. At this time, the random temperature in the constant temperature workshop follows a normal distribution.
[0135] By processing the sample data using the maximum likelihood function formula, we can obtain the mean temperature (the average value of the sample data) and standard deviation corresponding to the sample:
[0136]
[0137] Taking a confidence level of 0.95, the significance level α = 1 - 0.95 = 0.05. The confidence interval (pre-set confidence interval) for μ is calculated as follows:
[0138] [μ-(σ / √n)*Z a / 2 ,μ+(σ / √n)*Z a / 2 ]
[0139] From the table, we can find: Z a / 2 =1.96;
[0140] Take the lower limit of the average temperature T1 = μ - (σ / √n) * Z a / 2 ;
[0141] Take the upper limit of the average temperature T2 = μ + (σ / √n) * Z a / 2 .
[0142] Temperature control in constant temperature workshops is generally within the range of [T-△T, T+△T], where △T is the allowable temperature fluctuation.
[0143] If T1 > T + △T, it indicates that the actual ambient temperature in the workshop is higher than the preset temperature range, and global cooling treatment is required. At this time, a temperature control signal is generated and sent to all temperature adjustment devices in the workshop for temperature correction. By controlling the global temperature in the workshop, the average actual temperature of the workshop reaches the preset temperature range. After correction, if the temperature deviation ratio is higher than the preset threshold, it can be considered as a disturbance of system equipment or other factors. The temperature sensor will record the relevant information of the abnormal temperature (actual temperature, sensor coordinates, etc.) and return it to the background operating system for staff to analyze and give corresponding subsequent instructions.
[0144] If T2 < T - △T, it indicates that the actual ambient temperature in the workshop is lower than the preset temperature range, and global heating treatment is required. At this time, a temperature control signal is generated and sent to all temperature adjustment devices in the workshop for temperature correction. By controlling the global temperature in the workshop, the average actual temperature of the workshop reaches the preset temperature range. After correction, if the temperature deviation ratio is higher than the preset threshold, it can be considered as a disturbance of system equipment or other factors. The temperature sensor will record the relevant information of the abnormal temperature (actual temperature, sensor coordinates, etc.) and return it to the background operating system for staff to analyze and give corresponding subsequent instructions.
[0145] If T1 < T - △T and T2 < T + △T, it indicates that there is a possibility that the workshop temperature is on the low side. At this time, it should be calculated which areas in the sample have actual temperature data much lower than the lower limit of the preset temperature range, and a temperature control signal is generated and sent to the temperature adjustment devices in this area for temperature correction of this area. By controlling the temperature of this area, the average actual temperature of this area reaches the preset temperature range. After correction, if the temperature deviation ratio is higher than the preset threshold, it can be considered as a disturbance of system equipment or other factors. The temperature sensor will record the relevant information of the abnormal temperature (actual temperature, sensor coordinates, etc.) and return it to the background operating system for staff to analyze and give corresponding subsequent instructions.
[0146] If T2 > T + △T and T1 > T - △T, it indicates that there is a possibility that the workshop temperature is on the high side. At this time, it should be calculated which areas in the sample have a relatively large number of actual temperatures higher than the upper limit of the preset temperature range, and based on this, a temperature control signal is generated and sent to the temperature adjustment devices in this area for temperature correction. By controlling the temperature of this area, the average actual temperature of this area reaches the preset temperature range. After correction, if the temperature deviation ratio is higher than the preset threshold, it can be considered as a disturbance of system equipment or other factors. The temperature sensor will record the relevant information of the abnormal temperature (actual temperature, sensor coordinates, etc.) and return it to the background operating system for staff to analyze and give corresponding subsequent instructions.
[0147] If T1 < T - △T and T2 > T + △T, it indicates that the temperature in the workshop fluctuates greatly. At this time, it should be calculated which areas in the sample size have a relatively large number of actual temperatures higher than the upper limit value of the preset temperature range, and which areas have a relatively large number of actual temperatures lower than the lower limit value of the preset temperature range. And based on this, a temperature control signal is generated and sent to the temperature adjustment devices in these areas for temperature correction processing. By controlling the temperature in these areas, the average actual temperature in these areas reaches the preset temperature range. After correction, if the temperature deviation ratio is higher than the preset threshold, it can be considered as a disturbance of the system equipment or other factors. The temperature sensor will record the relevant information (actual temperature and sensor coordinates, etc.) of this abnormal temperature and return it to the background operating system for the staff to analyze and make corresponding subsequent instructions.
[0148] The temperature control method provided by the embodiments of this application can achieve automatic and high-efficiency constant temperature control of the waiting test environment in the workshop, solve the misjudgment caused by disturbance factors, and improve the accuracy of the strategy.
[0149] It should be understood that although each step in the flowcharts involved in the above-described embodiments is displayed sequentially according to the indication of the arrows, these steps do not necessarily need to be executed sequentially according to the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps does not have a strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages do not necessarily need to be executed at the same moment, but can be executed at different moments. The execution order of these steps or stages does not necessarily need to be sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0150] Based on the same inventive concept, the embodiments of this application also provide a temperature control device for implementing the above-mentioned temperature control method. The solution for solving the problem provided by this device is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the temperature control device provided below can refer to the limitations on the temperature control method in the above text, and will not be repeated here.
[0151] In one embodiment, as Figure 6 shown, a temperature control device is provided, including: a temperature acquisition module 602, a temperature anomaly judgment module 604, a target correction area determination module 606, and a temperature adjustment module 608, where:
[0152] The temperature acquisition module 602 is used to acquire the actual temperature collected by temperature sensors in multiple areas of the environment under test; each area is equipped with multiple temperature sensors.
[0153] The temperature anomaly detection module 604 is used to determine whether there is a temperature anomaly in the environment under test based on the actual temperature.
[0154] The target correction area determination module 606 is used to determine the target correction area based on the actual temperature and the preset temperature range if an abnormal temperature is determined. The target correction area is the area or all areas where the actual temperature deviates from the preset temperature range the most among multiple areas.
[0155] The temperature regulation module 608 is used to generate and send a temperature control signal to the temperature regulation device based on the actual temperature of the target correction area, so that the temperature regulation device adjusts the temperature of the target correction area to a preset temperature range.
[0156] In one embodiment, the temperature anomaly detection module 604 includes:
[0157] The distributed parameter determination unit is used to determine the average temperature of the environment under test and the standard deviation of the actual temperature based on the actual temperature.
[0158] The mean upper and lower limit determination unit is used to determine the lower limit of the mean and the upper limit of the mean based on the standard deviation of the preset confidence interval, the mean temperature, and the actual temperature.
[0159] The first temperature anomaly judgment unit is used to determine that there is a first temperature anomaly in the environment under test when the lower limit of the average temperature is higher than the upper limit of the preset temperature range.
[0160] The second temperature anomaly detection unit is used to determine that there is a second temperature anomaly in the environment under test when the upper limit of the average temperature is lower than the lower limit of the preset temperature range.
[0161] The third temperature anomaly judgment unit is used to determine that there is a third temperature anomaly in the environment under test when the lower limit of the average temperature is lower than the lower limit of the preset temperature range and the upper limit of the average temperature is lower than the upper limit of the preset temperature range.
[0162] The fourth temperature anomaly judgment unit is used to determine that there is a fourth temperature anomaly in the environment under test when the lower limit of the average temperature is higher than the lower limit of the preset temperature range and the upper limit of the average temperature is higher than the upper limit of the preset temperature range.
[0163] The fifth temperature anomaly judgment unit is used to determine that there is a fifth temperature anomaly in the environment under test when the lower limit of the average temperature is lower than the lower limit of the preset temperature range and the upper limit of the average temperature is higher than the upper limit of the preset temperature range.
[0164] In one embodiment, the temperature anomaly detection unit in the temperature anomaly detection module 604 includes:
[0165] The distribution characteristic parameter calculation unit is used to determine the mean temperature and standard deviation of the actual temperature of the environment under test based on the actual temperature and the maximum likelihood function. The maximum likelihood function is as follows:
[0166]
[0167] Wherein, the function L(μ, σ) 2 Let be the maximum likelihood function, and n be the n actual temperatures obtained from each temperature sensor 102, x i Let μ be the i-th sample data (i.e., the i-th actual temperature), μ be the average temperature of the environment to be measured, and σ be the average temperature of the environment to be measured. 2 Let n be the standard deviation of the actual temperature. n can be greater than 1000, in which case the sampling data can be guaranteed to be normally distributed.
[0168] In one embodiment, the target correction region determination module 606 includes:
[0169] The first correction area determination unit is used to determine the target correction area as the entire area of the environment to be measured in the case of a first temperature anomaly or a second temperature anomaly.
[0170] The second correction area determination unit is used to determine the target correction area as the area with the largest amount of data whose actual temperature is lower than the lower limit of the preset temperature range in the case of a third temperature anomaly.
[0171] The third correction area determination unit is used to determine the target correction area as the area with the largest amount of data where the actual temperature is higher than the upper limit of the preset temperature range in the case of a fourth temperature anomaly.
[0172] The fourth correction area determination unit is used to determine the target correction area as the area with the largest amount of data where the actual temperature is lower than the preset temperature range and the area with the largest amount of data where the actual temperature is higher than the preset temperature range in the case of a fifth temperature anomaly.
[0173] In one embodiment, the temperature acquisition module 602 includes:
[0174] The data sampling unit is used to randomly sample the actual temperature collected by multiple temperature sensors at multiple times within a first preset time period for each region.
[0175] In one embodiment, the temperature control device further includes:
[0176] The anomaly alert module is used to generate and store anomaly alert information if the temperature is still abnormal based on the actual temperature collected by the temperature sensor.
[0177] In one embodiment, the temperature control device further includes:
[0178] The corrected temperature acquisition module is used to acquire the actual temperature collected by each temperature sensor within a second preset time period according to a preset sampling frequency.
[0179] The temperature deviation ratio determination module is used to determine the temperature deviation ratio based on the actual temperature and the preset temperature range. The temperature deviation ratio is the ratio of the amount of data in the actual temperature that deviates from the preset temperature range to the amount of data in the actual temperature.
[0180] The revised temperature anomaly detection module is used to determine that the environment under test still has a temperature anomaly if the temperature deviation rate is higher than a preset threshold.
[0181] Each module in the aforementioned temperature control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0182] Based on the same inventive concept, this application also provides a temperature control system for implementing the temperature control method described above. The solution provided by this system is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more temperature control system embodiments provided below can be found in the limitations of the temperature control method described above, and will not be repeated here.
[0183] In one embodiment, such as Figure 7 As shown, a temperature control system is provided, including: multiple temperature sensors 102, a temperature regulating device 104, and a controller 106. Wherein:
[0184] Multiple temperature sensors 102 are respectively disposed in multiple areas of the environment to be measured. Temperature regulating device 104 is used to regulate the temperature of the environment to be measured. Controller 106 is connected to both the temperature sensors 102 and the temperature regulating device 104. Controller 106 is used to execute some or all of the steps in the embodiments of the above temperature control method to achieve corresponding beneficial effects, which will not be elaborated here.
[0185] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs in the non-volatile storage media to run. The database stores necessary data such as actual temperature data and abnormal alert data collected by temperature sensors 104 in multiple areas of the environment under test. The I / O interfaces are used for information exchange between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a temperature control method.
[0186] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0187] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement some or all of the steps in the embodiments of the temperature control method described above, so as to achieve the corresponding beneficial effects, which will not be elaborated here.
[0188] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon. When the computer program is executed by a processor, it implements some or all of the steps in the embodiments of the temperature control method described above, so as to achieve the corresponding beneficial effects, which will not be elaborated here.
[0189] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0190] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements some or all of the steps in the embodiments of the above-described temperature control method to achieve corresponding beneficial effects, which will not be elaborated here.
[0191] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0192] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A temperature control method characterized by, The method includes: The actual temperature collected by temperature sensors in multiple areas within the environment to be tested is obtained; each area is equipped with multiple temperature sensors. Based on the actual temperature and the preset temperature range, determine whether there is a temperature anomaly in the environment under test; If an abnormal temperature is determined, a target correction area is determined based on the actual temperature and the preset temperature range; the target correction area is the area or all areas where the actual temperature deviates the most from the preset temperature range among the multiple areas. Based on the actual temperature of the target correction area, a temperature control signal is generated and sent to the temperature regulating device, so that the temperature regulating device adjusts the temperature of the target correction area to be within the preset temperature range. The step of determining whether there is a temperature anomaly in the environment under test based on the actual temperature and the preset temperature range includes: Based on the actual temperature, determine the average temperature of the environment under test and the standard deviation of the actual temperature; Based on the standard deviation of the preset confidence interval, the average temperature, and the actual temperature, determine the lower limit of the average temperature and the upper limit of the average temperature that satisfy the preset confidence interval; If the lower limit of the average temperature is higher than the upper limit of the preset temperature range, then the environment under test is determined to have a first temperature anomaly. If the upper limit of the average temperature is lower than the lower limit of the preset temperature range, it is determined that there is a second temperature anomaly in the environment under test. If the lower limit of the average temperature is lower than the lower limit of the preset temperature range, and the upper limit of the average temperature is lower than the upper limit of the preset temperature range, then it is determined that there is a third temperature anomaly in the environment under test. If the lower limit of the average temperature is higher than the lower limit of the preset temperature range, and the upper limit of the average temperature is higher than the upper limit of the preset temperature range, then it is determined that there is a fourth temperature anomaly in the environment under test. If the lower limit of the average temperature is lower than the lower limit of the preset temperature range, and the upper limit of the average temperature is higher than the upper limit of the preset temperature range, then it is determined that there is a fifth temperature anomaly in the environment under test. If a temperature anomaly is determined, the target correction area is determined based on the actual temperature and the temperature anomaly, including: If a first temperature anomaly or a second temperature anomaly exists, the target correction area is determined to be the entire area of the environment under test. If a third temperature anomaly exists, the target correction area is determined to be the area with the largest amount of data where the actual temperature is lower than the lower limit of the preset temperature range; If a fourth temperature anomaly exists, the target correction area is determined to be the area with the largest amount of data where the actual temperature is higher than the upper limit of the preset temperature range; If a fifth temperature anomaly exists, the target correction area is determined to be the area with the largest amount of data where the actual temperature is below the preset temperature range among the multiple areas, and the area with the largest amount of data where the actual temperature is above the preset temperature range among the multiple areas.
2. The method according to claim 1, characterized in that, The step of determining the average temperature of the environment under test and the standard deviation of the actual temperature based on the actual temperature includes: Based on the actual temperature and the maximum likelihood function, determine the average temperature of the environment under test and the standard deviation of the actual temperature.
3. The method according to claim 1, characterized in that, The acquisition of the actual temperatures collected by temperature sensors in multiple areas within the environment under test includes: For each region, the actual temperature collected by multiple temperature sensors is randomly selected at multiple times within a first preset time period.
4. The method according to claim 1, characterized in that, After the temperature regulating device adjusts the temperature of the target correction area, the method further includes: If the temperature is still abnormal based on the actual temperature collected by the temperature sensor, an abnormality alert is generated and stored.
5. The method according to claim 4, characterized in that, The step of determining whether a temperature anomaly still exists based on the actual temperature collected by the temperature sensor includes: The actual temperature collected by each temperature sensor is acquired at a preset sampling frequency within a second preset time period. Based on the actual temperature and the preset temperature range, a temperature deviation ratio is determined, wherein the temperature deviation ratio is the ratio of the amount of data in the actual temperature that deviates from the preset temperature range to the amount of data in the actual temperature. If the temperature deviation rate is higher than a preset threshold, it is determined that the environment under test still has an abnormal temperature.
6. A temperature control device, characterized in that, The device includes: The temperature acquisition module is used to acquire the actual temperature collected by temperature sensors in multiple areas of the environment under test; each area is equipped with multiple temperature sensors. The temperature anomaly detection module is used to determine whether there is a temperature anomaly in the environment under test based on the actual temperature and the preset temperature range. The target correction region determination module is used to determine a target correction region based on the actual temperature and the temperature anomaly if an abnormal temperature situation is determined; the target correction region is the area where a temperature correction task needs to be performed. The temperature regulation module is used to generate and send a temperature control signal to the temperature regulation device based on the actual temperature of the target correction area, so that the temperature regulation device adjusts the temperature of the target correction area to be within the preset temperature range; The temperature anomaly detection module includes: The distributed parameter determination unit is used to determine the average temperature of the environment under test and the standard deviation of the actual temperature based on the actual temperature. The mean upper and lower limit determination unit is used to determine the lower limit of the mean and the upper limit of the mean based on the preset confidence interval, the mean temperature and the standard deviation of the actual temperature. The first temperature anomaly judgment unit is used to determine that there is a first temperature anomaly in the environment under test when the lower limit of the average temperature is higher than the upper limit of the preset temperature range. The second temperature anomaly detection unit is used to determine that there is a second temperature anomaly in the environment under test when the upper limit of the average temperature is lower than the lower limit of the preset temperature range. The third temperature anomaly judgment unit is used to determine that there is a third temperature anomaly in the environment under test when the lower limit of the average temperature is lower than the lower limit of the preset temperature range and the upper limit of the average temperature is lower than the upper limit of the preset temperature range. The fourth temperature anomaly judgment unit is used to determine that there is a fourth temperature anomaly in the environment under test when the lower limit of the average temperature is higher than the lower limit of the preset temperature range and the upper limit of the average temperature is higher than the upper limit of the preset temperature range. The fifth temperature anomaly judgment unit is used to determine that there is a fifth temperature anomaly in the environment under test when the lower limit of the average temperature is lower than the lower limit of the preset temperature range and the upper limit of the average temperature is higher than the upper limit of the preset temperature range. The first correction region determination unit is used to determine the target correction region as the entire area of the environment to be tested in the presence of a first temperature anomaly or a second temperature anomaly. The second correction region determination unit is used to determine, in the case of a third temperature anomaly, the target correction region as the region with the largest amount of data whose actual temperature is lower than the lower limit of the preset temperature range. The third correction region determination unit is used to determine, in the case of a fourth temperature anomaly, the target correction region as the region with the largest amount of data whose actual temperature is higher than the upper limit of the preset temperature range. The fourth correction region determination unit is used to determine, in the case of a fifth temperature anomaly, the target correction region as the region with the largest amount of data where the actual temperature is lower than the preset temperature range and the region with the largest amount of data where the actual temperature is higher than the preset temperature range among the multiple regions.
7. A temperature control system, characterized in that, include: Multiple temperature sensors are respectively set in multiple areas of the environment to be measured; Temperature control equipment for adjusting the temperature of the environment to be measured; A controller is connected to both the temperature sensor and the temperature regulating device, and the controller is used to execute the steps of the temperature control method according to any one of claims 1 to 5.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the temperature control method according to any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the temperature control method according to any one of claims 1 to 5.