Temperature controller, control method thereof and temperature control equipment

By setting a movable baffle on the thermostat and using temperature, humidity and air flow rate sensors for control, the problem of the thermostat detection window size cannot be adaptable, and the detection accuracy and product quality are improved.

CN119556744AActive Publication Date: 2025-03-04GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202411576771.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-03-04
Estimated Expiration
2044-11-06

AI Technical Summary

Technical Problem

The detection window of the existing thermostat cannot adaptively adjust the window size, which affects the accuracy of temperature and humidity detection.

Method used

A thermostat is designed, with a housing provided with a movable baffle for adjusting the opening size of the detection window. Through the cooperation of the temperature and humidity sensor, air flow rate sensor and main control chip, the opening and closing angle of the baffle is controlled to adapt to changes in ambient temperature, humidity and air flow rate.

Benefits of technology

It realizes adaptive adjustment of the temperature controller detection window size, improves the detection accuracy of the temperature and humidity sensor, protects the thermostat from being corroded by moisture, and ensures product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119556744A_ABST
    Figure CN119556744A_ABST
Patent Text Reader

Abstract

The invention discloses a temperature controller, a control method thereof and temperature control equipment. A shell of the temperature controller is provided with a detection window, and a movable baffle is arranged at the position of the detection window and used for adjusting the size of an opening of the detection window. A temperature and humidity sensor, an air velocity sensor and a main control chip are arranged in the temperature controller, and the temperature and humidity sensor and the air velocity sensor are arranged close to the detection window. According to the invention, the size of the detection window of the temperature controller can be adjusted and controlled according to the movable baffle plate, when the temperature controller is not powered on, the baffle plate is closed, and when the temperature controller is normally powered on, the baffle plate is opened and closed according to the internal heating condition of the temperature controller, the outdoor temperature and the air velocity condition, so that heat dissipation, heat preservation or moisture prevention are facilitated; the detection accuracy of the temperature and humidity sensor of the temperature controller is improved, the temperature controller is protected from being corroded by moisture, and the product quality is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of temperature controllers, and in particular to a temperature controller and a control method thereof, and a temperature control device. Background Art

[0002] The thermostat needs to accurately detect the ambient temperature and humidity data, and then precisely control the unit. If the thermostat is powered on for a long time, it will cause itself to heat up, affecting the detection accuracy of the temperature and humidity sensor of the thermostat; or, if the air flow rate around the thermostat is too high, it will also affect the accuracy of the temperature and humidity sensor in detecting the ambient temperature and humidity, resulting in incorrect unit control logic and poor user experience.

[0003] Moreover, if the temperature and humidity detection window of the thermostat is opened too large, it is easy to cause decoration pollution. For example, the detection window of the thermostat is blocked by decoration materials, affecting the detection accuracy of the thermostat. The detection window size of the thermostat is fixed. If the thermostat is in a humid environment for a long time, it is easy to mold and corrode, causing the temperature and humidity sensor to fail and the product quality to be poor. If the air flow rate of the detection window is too large, it will also affect the detection accuracy of the thermostat.

[0004] With regard to the problem in the prior art that the detection window of the thermostat cannot adaptively adjust the window size, which affects the accuracy of temperature and humidity detection, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a thermostat and a control method thereof, and a temperature control device to solve the problem in the prior art that the detection window of the thermostat cannot adaptively adjust the window size, thereby affecting the accuracy of temperature and humidity detection.

[0006] In order to solve the above technical problems, the present invention provides a thermostat, wherein the shell of the thermostat is provided with a detection window, and a movable baffle is provided at the detection window for adjusting the opening size of the detection window; the interior of the thermostat is provided with a temperature and humidity sensor, an air flow rate sensor, and a main control chip, and the temperature and humidity sensor and the air flow rate sensor are arranged close to the detection window.

[0007] The present invention also provides a thermostat control method, which is applied to the above-mentioned thermostat, wherein the method includes: after the thermostat is powered on, controlling the baffle to open; during the period from when the thermostat is powered on to when the thermostat itself heats up and becomes stable, determining the opening and closing angle of the baffle according to temperature and humidity parameters and air flow rate; after the thermostat itself heats up and becomes stable, detecting the change in air flow rate and ambient humidity in the detection window of the thermostat, and adjusting the opening and closing angle of the baffle according to the change in air flow rate and ambient humidity.

[0008] Furthermore, during the period from when the thermostat is powered on to when the thermostat itself heats up stably, the opening and closing angle of the baffle is determined according to temperature and humidity parameters and air flow rate, including:

[0009] Acquiring the temperature and humidity parameters, including: acquiring the ambient temperature and humidity according to the temperature and humidity sensor of the thermostat; acquiring the air flow rate according to the air flow rate sensor of the thermostat; acquiring the temperature of the main control chip itself, and the heat attenuation from the heat generated by the main control chip to the temperature and humidity sensor;

[0010] The opening and closing angle of the baffle is calculated according to the ambient temperature, the ambient humidity, the temperature of the main control chip itself, the heat attenuation, and the air flow rate.

[0011] Furthermore, the opening and closing angle of the baffle is calculated according to the ambient temperature, the ambient humidity, the temperature of the main control chip itself, and the heat attenuation, which is achieved by the following formula:

[0012] θ=α*(T chip -T out )-β*RH-γ*V-∈*A;

[0013] Where θ is the opening angle, T chip is the temperature of the main control chip itself, T out is the ambient temperature, RH is the ambient humidity, V is the air velocity, A is the heat attenuation, and α, β, γ, ∈ are adjustment coefficients.

[0014] Furthermore, the changes in air flow rate and ambient humidity of the detection window of the thermostat are detected, and the opening and closing angle of the baffle are adjusted according to the changes in the air flow rate and the ambient humidity, including: detecting whether the air flow rate of the detection window of the thermostat changes; if the air flow rate changes, adjusting the opening and closing angle of the baffle according to the air flow rate; and detecting the change in ambient humidity; if the ambient humidity exceeds a preset humidity value, adjusting the opening and closing angle of the baffle according to the ambient humidity.

[0015] Furthermore, the opening and closing angle of the baffle is adjusted according to the air flow rate, which is achieved by the following formula:

[0016] θ 后 =θ 前 -γ*V; where θ 后 is the adjusted opening and closing angle, θ 前 is the opening and closing angle before adjustment, V is the air flow rate, and γ is the adjustment coefficient.

[0017] Furthermore, the opening and closing angle of the baffle is adjusted according to the ambient humidity, which is achieved by the following formula:

[0018] θ 后 =θ 前 -β*RH; where θ 后 is the adjusted opening and closing angle, θ 前 is the opening and closing angle before adjustment, RH is the ambient humidity, and β is the adjustment coefficient.

[0019] Further, the change of ambient humidity is detected; if the ambient humidity exceeds a preset humidity value, after adjusting the opening and closing angle of the baffle according to the ambient humidity, the method further includes: judging whether: the opening and closing angle of the adjusted baffle is less than the preset angle, and the temperature of the main control chip itself exceeds the preset temperature threshold; if so, determining the optimal compensation value according to the current opening and closing angle of the baffle; compensating for the ambient temperature detected by the temperature and humidity sensor of the thermostat according to the optimal compensation value; compensating for the ambient humidity detected by the temperature and humidity sensor of the thermostat according to the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor.

[0020] Furthermore, determining the optimal compensation value according to the current opening and closing angle of the baffle includes:

[0021] Tb=a(θ0-θ)+b(T chip -T0); where Tb is the optimal compensation value, a is the baffle opening and closing angle adjustment coefficient, b is the main control chip temperature adjustment coefficient, θ is the current baffle opening and closing angle, θ0 is the preset angle, T chip is the temperature of the main control chip itself, and T0 is the preset temperature threshold.

[0022] Further, the ambient temperature detected by the temperature and humidity sensor of the thermostat is compensated according to the optimal compensation value, which is achieved by the following formula:

[0023] T = Tj - Tb; where T is the ambient temperature after compensation, T b is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.

[0024] Further, according to the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor, the ambient humidity detected by the temperature and humidity sensor of the thermostat is compensated, which is achieved by the following formula:

[0025] RH=RH j *exp(4283.78*(T j -T b ) / (243.12+T j ) / (243.12+T b ));

[0026] Where RH is the compensated ambient humidity, RH j is the ambient humidity detected by the temperature and humidity sensor, T b is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.

[0027] The present invention also provides a temperature control device, wherein the temperature control device includes the above-mentioned temperature controller.

[0028] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the program implements the above method when executed by a processor.

[0029] By applying the technical solution of the present invention, the size of the detection window of the thermostat can be adjusted and controlled according to the movable baffle. When the thermostat is not powered on, the baffle is closed. When the thermostat is powered on normally, the baffle will open and close according to the internal heating conditions of the thermostat, the outdoor temperature, and the air flow rate, so as to dissipate heat, keep warm or prevent moisture, improve the detection accuracy of the temperature and humidity sensor of the thermostat, protect the thermostat from being corroded by moisture, and ensure product quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 is a schematic structural diagram of a temperature controller according to an embodiment of the present invention;

[0031] Figure 2 is a flow chart of a thermostat control method according to an embodiment of the present invention;

[0032] Figure 3 is a detailed flow chart of a thermostat control method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.

[0035] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0036] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0037] It should also be noted that the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the commodity or device including the elements.

[0038] The optional embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0039] Example 1

[0040] Figure 1 is a schematic diagram of the structure of a temperature controller according to an embodiment of the present invention. Figure 1 As shown, the housing of the thermostat is provided with a detection window, and a movable baffle is provided at the detection window. The movement of the baffle can be controlled by a motor, and the movement of the baffle can adjust the opening size of the detection window. The interior of the thermostat is provided with a temperature and humidity sensor, an air flow rate sensor, and a main control chip. The temperature and humidity sensor and the air flow rate sensor are arranged close to the detection window. In order to minimize the influence of the main control chip's own heating on the detection accuracy of the temperature and humidity sensor, the main control chip can be arranged at a position away from the detection window.

[0041] The thermostat provided in this embodiment can be installed on a temperature control device to detect temperature and humidity data and air flow rate data. It is applicable to all devices that need to be controlled according to the ambient temperature, such as air conditioning units. Based on this, this embodiment also provides a temperature control device, including the thermostat introduced above, which can more accurately detect temperature and humidity data and air flow rate data, and provide accurate data support for the subsequent control logic of the temperature control device.

[0042] Example 2

[0043] According to an embodiment of the present invention, a thermostat control method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0044] Figure 2 is a flow chart of a thermostat control method according to an embodiment of the present invention. The thermostat control method of this embodiment is applied to the thermostat described above. Figure 2 As shown, the method comprises the following steps:

[0045] Step S201, after the thermostat is powered on, the control baffle is opened;

[0046] Step S202, during the period from when the thermostat is powered on to when the thermostat itself heats up stably, determining the opening and closing angle of the baffle according to the temperature and humidity parameters and the air flow rate;

[0047] Step S203, after the temperature controller itself heats up stably, detect the change of air flow rate and environmental humidity in the detection window of the temperature controller, and adjust the opening and closing angle of the baffle according to the change of air flow rate and environmental humidity.

[0048] In this embodiment, the size of the detection window of the thermostat can be adjusted and controlled according to the movable baffle. When the thermostat is not powered on, the baffle is closed. When the thermostat is powered on normally, the baffle will open and close according to the internal heating conditions of the thermostat, the outdoor temperature, and the air flow rate to dissipate heat, keep warm or prevent moisture, thereby improving the detection accuracy of the temperature and humidity sensor of the thermostat, protecting the thermostat from corrosion by moisture, and ensuring product quality.

[0049] When the thermostat is not powered on, the baffle remains closed. After the thermostat is powered on normally, the baffle opens. The optimal opening angle of the baffle can be determined according to the temperature and humidity parameters and the air flow rate. Specifically, the temperature and humidity parameters are obtained, including: obtaining the ambient temperature and ambient humidity according to the temperature and humidity sensor of the thermostat; obtaining the air flow rate according to the air flow rate sensor of the thermostat; obtaining the temperature of the main control chip itself, and the heat attenuation of the heat generated by the main control chip to the temperature and humidity sensor; according to the ambient temperature, ambient humidity, the temperature of the main control chip itself, the heat attenuation, and the air flow rate, the opening and closing angle of the baffle is calculated. The above-mentioned heat attenuation is the attenuation value of the heat of the main control chip during the process of transferring to the temperature and humidity sensor. The circuit board of the thermostat has the function of detecting the average value of thermal radiation near the main control chip and the average value of thermal radiation near the temperature and humidity sensor. The difference between the two is the heat attenuation of the heat, that is, the heat attenuation = the average value of thermal radiation near the main control chip - the average value of thermal radiation near the temperature and humidity sensor, and the above-mentioned near means within the preset range. The greater the heat attenuation, the less interference the heat generated by the main control chip will have on the temperature and humidity sensor, and the baffle opening and closing angle can be reduced; conversely, the greater the interference, the baffle opening and closing angle needs to be increased.

[0050] Based on this, a series of parameters such as ambient temperature, ambient humidity, temperature of the main control chip itself, heat attenuation, and air flow rate will affect the opening and closing angle of the baffle. The opening and closing angle finally confirmed based on the above influencing parameters is the optimal opening and closing angle under the current state of the thermostat. The optimal opening and closing angle can be taken into account and balanced from the perspectives of heat dissipation, heat preservation or moisture prevention of the thermostat.

[0051] The thermostat has a control model GreeTempModel, which consists of different ambient temperatures T out , ambient humidity RH, air velocity V near the detection window when the baffle is open or closed, and the temperature T of the main control chip itself chip , the heat attenuation A from the main control chip to the temperature and humidity sensor is obtained by training. The main control chip controls the optimal rotation angle of the small motor, that is, the optimal opening and closing angle θ of the baffle. The basic calculation formula of the control model GreeTempModel is:

[0052] θ=α*(T chip -T out )-β*RH-γ*V-∈*A;

[0053] Where θ is the opening angle, T chip is the temperature of the main control chip itself, T out is the ambient temperature, RH is the ambient humidity, V is the air velocity, and A is the heat attenuation.

[0054] Among them, α, β, γ, ∈ are adjustment coefficients. The values ​​of these adjustment coefficients include but are not limited to constants, variables or calculation formulas, which are used to balance the influence of various adjustment parameters on the motor rotation angle. These adjustment coefficients need to be trained based on a large amount of experimental data and product characteristics. Using neural networks to optimize the above formulas can build a more complex and accurate model. Neural networks can learn the nonlinear relationship between various parameter coefficients through a large amount of data, thereby providing a more accurate optimal motor rotation angle, and then controlling the baffle to achieve the optimal opening and closing angle.

[0055] Formula explanation:

[0056] T chip -T out : The difference between the temperature of the main control chip and the outdoor ambient temperature. The larger the difference, the greater the rotation angle of the motor needs to make the baffle open at a larger angle to increase heat dissipation.

[0057] RH: Outdoor ambient humidity. When the humidity is high, the shutter opening angle needs to be reduced, so a smaller rotation angle is required.

[0058] V: Air velocity. The greater the velocity, the better the heat dissipation effect, and the motor rotation angle can be appropriately reduced.

[0059] A: The heat attenuation from the heat generated by the main control chip to the temperature and humidity sensor. The greater the heat attenuation, the less the temperature and humidity sensor is affected by the heat generated by the main control chip, and the baffle opening and closing angle can be appropriately reduced.

[0060] Based on this, the optimal opening and closing angle of the baffle can be accurately calculated, so that the detection window of the thermostat can be adjusted to the optimal size, thereby ensuring the heat dissipation, heat preservation or moisture prevention of the thermostat on the basis of improving the accuracy of the sensor detection data of the thermostat.

[0061] After the temperature controller itself heats up and stabilizes, the air flow rate change and the ambient humidity change of the detection window of the thermostat are detected. The air flow rate change and the ambient humidity change will affect the accuracy of the detection data of the thermostat. Therefore, this embodiment provides a preferred implementation method, that is, to detect whether the air flow rate of the detection window of the thermostat has changed; if the air flow rate has changed, the opening and closing angle of the baffle is adjusted according to the air flow rate; and, to detect the change of ambient humidity; if the ambient humidity exceeds the preset humidity value, the opening and closing angle of the baffle is adjusted according to the ambient humidity. The above preferred implementation method adjusts the opening and closing angle of the baffle accordingly when the air flow rate changes, to ensure the optimal opening and closing size of the thermostat detection window, and to avoid the influence of excessive wind speed on the accuracy of the thermostat detection data. When the ambient humidity is high, the opening and closing angle of the baffle is correspondingly reduced, so that the opening of the detection window becomes smaller, to avoid the inside of the thermostat being in a humid environment, and to ensure product quality and stability.

[0062] Specifically, in the above preferred embodiment, the opening and closing angle of the baffle is adjusted according to the air flow rate, which is achieved by the following formula:

[0063] θ 后 =θ 前 -γ*V; where θ 后 is the adjusted opening and closing angle, θ 前 is the opening and closing angle before adjustment, V is the air flow rate, and γ is the adjustment coefficient.

[0064] When the air velocity is detected to be non-stationary, combined with the control model GreeTempModel, it is determined that there is wind blowing towards the thermostat, and the baffle opening and closing angle is adjusted according to the wind speed to prevent the wind from taking away heat from the detection window and causing the detected temperature to be lower than the actual temperature. When the air velocity is stable, the baffle opens to a preset angle to keep the temperature and humidity data detection of the thermostat stable. When the air velocity is stationary, the baffle opening and closing angle is controlled according to the temperature and humidity parameters and the air velocity.

[0065] For example, when the product itself is heating stably and there are no other interference sources, the baffle is fixed at the last open position. When the air velocity is detected to be increasing, the temperature model determines that there is wind blowing towards the temperature and humidity detection window, and calculates the angle that the baffle needs to be reduced according to the air velocity, to ensure that the temperature near the temperature and humidity detection window will not drop sharply due to the wind, resulting in inaccurate detection by the temperature and humidity sensor; when the air velocity returns to normal, the control model gradually opens the baffle to the optimal angle according to the current environmental conditions.

[0066] Specifically, in the above preferred embodiment, the opening and closing angle of the baffle is adjusted according to the ambient humidity, which is achieved by the following formula:

[0067] θ 后 =θ 前 -β*RH; where θ 后 is the adjusted opening and closing angle, θ 前 is the opening and closing angle before adjustment, RH is the ambient humidity, and β is the adjustment coefficient.

[0068] When the ambient humidity is detected to be high, the control model GreeTempModel determines that the ambient humidity is high and needs to reduce the opening and closing angle of the baffle to prevent moisture from entering the thermostat through the detection window and corroding the temperature and humidity sensors.

[0069] After adjusting the opening and closing angle of the baffle according to the ambient humidity, the opening and closing angle of the baffle will become smaller. At this time, it is necessary to consider whether the temperature of the main control chip itself will overheat. Therefore, this embodiment provides a preferred implementation method, that is, judging whether: the opening and closing angle of the adjusted baffle is less than the preset angle, and the temperature of the main control chip itself exceeds the preset temperature threshold; if so, determining the optimal compensation value according to the current opening and closing angle of the baffle; compensating for the ambient temperature detected by the temperature and humidity sensor of the thermostat according to the optimal compensation value; compensating for the ambient humidity detected by the temperature and humidity sensor of the thermostat according to the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor.

[0070] That is to say, if the baffle opening is small and the temperature of the main control chip itself is high, it is necessary to perform temperature compensation. The optimal compensation value is determined according to the current opening angle of the baffle, which can be achieved by the following preferred implementation: Tb = a(θ0-θ) + b(T chip -T0); where Tb is the optimal compensation value, a is the baffle opening and closing angle adjustment coefficient, b is the main control chip temperature adjustment coefficient, θ is the current baffle opening and closing angle, θ0 is the preset angle, T chip is the temperature of the main control chip itself, and T0 is the preset temperature threshold. The values ​​of the above adjustment coefficients a and b need to be trained and calibrated through a large model with a large amount of experimental data to ensure the effectiveness and rationality of the compensation strategy. The significance of this announcement is that the lower the baffle opening, the higher the temperature compensation requirement; the higher the heating temperature of the main control chip, the greater the required temperature compensation. After that, combined with the control model GreeTempModel, the detected ambient temperature and humidity are numerically compensated through the formula to avoid the temperature detection value being higher than the actual temperature. When the ambient humidity returns to normal, the baffle opening and closing angle is controlled according to the temperature and humidity parameters and the air flow rate.

[0071] Because the ambient humidity is too high, the baffle angle is reduced, causing the temperature inside the temperature and humidity detection window to rise due to the heat generated by the product itself. This will not happen if the baffle angle is reduced due to wind blowing towards the temperature and humidity detection window. The wind will take away the heat. In this case, to ensure accurate temperature and humidity detection, a formula is required for temperature compensation. The temperature model obtained after training various parameters will calculate the optimal compensation value Tb according to the current baffle angle and compensate the detected temperature Tj:

[0072] T = Tj - Tb; where T is the ambient temperature after compensation, T b is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.

[0073] Afterwards, the ambient humidity detected by the temperature and humidity sensor of the thermostat is compensated according to the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor, which is achieved by the following formula:

[0074] RH=RH j *exp(4283.78*(T j -T b ) / (243.12+T j ) / (243.12+T b ));

[0075] Where RH is the compensated ambient humidity, RH j is the ambient humidity detected by the temperature and humidity sensor, T b is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.

[0076] Based on this, when the thermostat detection window is small and the main control chip itself generates high heat, a compensation scheme for temperature and humidity data can be executed to ensure the accuracy of the temperature and humidity data finally output by the thermostat.

[0077] This embodiment proposes a thermostat with adjustable detection window size and automatic compensation for heat generation during temperature and humidity detection, which can achieve the following effects: effectively protect the detection window of the thermostat from being contaminated; effectively protect the sensor of the thermostat from being corroded by moisture; and ensure the accuracy of the temperature and humidity detection data of the thermostat.

[0078] Example 3

[0079] Figure 3 is a detailed flow chart of a thermostat control method according to an embodiment of the present invention, such as Figure 3 As shown, the process includes:

[0080] 1) The thermostat has a temperature and humidity sensor and an air flow rate sensor, which are located near the temperature and humidity detection window of the structural part, such as Figure 1 The temperature and humidity sensors and air flow rate sensors are placed in appropriate locations according to different products.

[0081] 2) The temperature and humidity detection window of the thermostat has an openable baffle, the opening and closing size of which can be controlled by a small motor, and the maximum opening angle of the baffle can be adjusted according to actual needs. Figure 1 The baffle can be opened and closed in a circular shape or by moving up, down, left, or right according to different products.

[0082] 3) The main control chip of the thermostat is the main heat source inside the product and has its own temperature sensor; the main control chip can send control signals to the baffle motor; the main control chip should be kept as far away from the temperature and humidity sensor as possible to minimize the impact of its own heat on temperature detection.

[0083] 4) The thermostat has a control model GreeTempModel, which is composed of different ambient temperatures T out, ambient humidity RH, air velocity V near the detection window when the baffle is open or closed, and the temperature T of the main control chip itself chip , the heat attenuation A from the heat generated by the main control chip to the temperature and humidity sensor is obtained through training; the main control chip controls the optimal rotation angle of the small motor, that is, the optimal opening and closing angle θ of the baffle. The basic calculation formula of the control model GreeTempModel is:

[0084] θ=α*(T chip -T out )-β*RH-γ*V-∈*A;

[0085] Where θ is the opening angle, T chip is the temperature of the main control chip itself, T out is the ambient temperature, RH is the ambient humidity, V is the air velocity, and A is the heat attenuation.

[0086] Among them, α, β, γ, ∈ are adjustment coefficients. The values ​​of these adjustment coefficients include but are not limited to constants, variables or calculation formulas, which are used to balance the influence of various adjustment parameters on the motor rotation angle. These adjustment coefficients need to be trained based on a large amount of experimental data and product characteristics. Using neural networks to optimize the above formulas can build a more complex and accurate model. Neural networks can learn the nonlinear relationship between various parameter coefficients through a large amount of data, thereby providing a more accurate optimal motor rotation angle, and then controlling the baffle to achieve the optimal opening and closing angle.

[0087] Formula explanation:

[0088] T chip -T out : The difference between the temperature of the main control chip and the outdoor ambient temperature. The larger the difference, the greater the rotation angle of the motor needs to make the baffle open at a larger angle to increase heat dissipation.

[0089] RH: Outdoor ambient humidity. When the humidity is high, the shutter opening angle needs to be reduced, so a smaller rotation angle is required.

[0090] V: Air velocity. The greater the velocity, the better the heat dissipation effect, and the motor rotation angle can be appropriately reduced.

[0091] A: The heat attenuation from the heat generated by the main control chip to the temperature and humidity sensor. The greater the heat attenuation, the less the temperature and humidity sensor is affected by the heat generated by the main control chip, and the baffle opening and closing angle can be appropriately reduced.

[0092] 5) When the thermostat is not powered on, the baffle is closed to avoid contamination from decoration materials; when the thermostat is just powered on and the temperature is stable, the main control chip calculates the angle of the control motor to open the baffle based on its own temperature, air flow rate and control model to avoid the detection window being too large and the heat dissipation being too fast, resulting in the detection temperature being lower than the actual temperature, or the heat dissipation being too slow, resulting in the detection temperature being higher than the actual temperature.

[0093] The neural network control model obtained based on various parameters can calculate the optimal opening and closing angle of the baffle in the current environment based on the input of its own temperature and air flow rate. For example, when the air flow rate remains unchanged, the self-heating temperature rises, and the main control chip controls the baffle angle to gradually open, which is convenient for heat dissipation and enables the temperature and humidity sensor to detect accurately; when the product's own heating is stable and there are no other interference sources, the baffle is fixed at the last open position to keep the temperature and humidity detection accurate and stable.

[0094] When the temperature controller itself is heating stably, if there is no interference source (wind or excessive humidity), the baffle is fixedly opened at a preset angle. The preset angle needs to be calculated based on the actual temperature model. Different environmental conditions have different opening angles to keep the temperature and humidity detection stable.

[0095] 6) When the air velocity is detected to be non-stationary, combined with the control model GreeTempModel, it is determined that wind is blowing towards the thermostat, and the baffle opening and closing angle is adjusted according to the wind speed to prevent the wind from taking away heat from the detection window, causing the detected temperature to be lower than the actual temperature.

[0096] For example, when the temperature controller itself is heating stably and there are no other interference sources, the baffle is fixed at the last open position. When the air velocity is detected to be increasing, the temperature model determines that there is wind blowing towards the temperature and humidity detection window, and calculates the angle that the baffle needs to be reduced according to the air velocity, to ensure that the temperature near the temperature and humidity detection window will not drop sharply due to the wind, resulting in inaccurate detection by the temperature and humidity sensor; when the air velocity returns to normal, the temperature model gradually opens the baffle to the optimal opening and closing angle according to the current environmental conditions.

[0097] When the air flow rate is stable, the baffle is fixedly opened at a preset angle to keep the temperature and humidity detection stable; when the air flow rate is static, the opening and closing angle of the baffle is controlled according to step 5.

[0098] 7) When the ambient humidity is detected to be high, the control model GreeTempModel determines that the ambient humidity is high, and the baffle opening and closing angle needs to be reduced to prevent moisture from entering the product through the detection window and corroding the temperature and humidity sensor.

[0099] At this time, if the baffle opening is small and the temperature of the main control chip itself is high, it is necessary to perform self-temperature numerical compensation. Combined with the control model GreeTempModel, the detected ambient temperature and humidity are numerically compensated through the formula to avoid the temperature detection value being higher than the actual temperature; when the ambient humidity is normal, the baffle opening angle is controlled according to step 5.

[0100] Specifically, T = Tj - Tb; where T is the compensated ambient temperature, T b is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.

[0101] Afterwards, the ambient humidity detected by the temperature and humidity sensor of the thermostat is compensated according to the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor, which is achieved by the following formula:

[0102] RH=RH j *exp(4283.78*(T j -T b ) / (243.12+T j ) / (243.12+T b ));

[0103] Where RH is the compensated ambient humidity, RH j is the ambient humidity detected by the temperature and humidity sensor, T b is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.

[0104] Based on this, when the thermostat detection window is small and the main control chip itself generates high heat, a compensation scheme for temperature and humidity data can be executed to ensure the accuracy of the temperature and humidity data finally output by the thermostat.

[0105] Example 4

[0106] This embodiment provides an electronic device, which is used in a thermostat control method. The electronic device includes: at least one processor; and a memory connected to the at least one processor in communication; wherein:

[0107] The memory stores instructions executable by the one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0108] After the thermostat is powered on, the baffle is controlled to open; during the period from when the thermostat is powered on to when the thermostat's own heating is stable, the opening and closing angle of the baffle is determined according to the temperature and humidity parameters and the air flow rate; after the thermostat's own heating is stable, the air flow rate changes in the detection window of the thermostat and the ambient humidity changes are detected, and the opening and closing angle of the baffle is adjusted according to the changes in the air flow rate and the ambient humidity changes.

[0109] Example 5

[0110] The embodiment of the present invention provides a software, which is used to execute the technical solutions described in the above embodiment and preferred implementation manner.

[0111] An embodiment of the present invention provides a non-volatile computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the thermostat control method in any of the above method embodiments.

[0112] The above-mentioned software is stored in the above-mentioned storage medium, which includes but is not limited to: a CD, a floppy disk, a hard disk, an erasable memory, etc.

[0113] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0114] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0115] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0116] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0117] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0118] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A thermostat, characterized in that: include: The housing of the temperature controller is provided with a detection window, and a movable baffle is provided at the detection window for adjusting the opening size of the detection window; The thermostat is internally provided with a temperature and humidity sensor, an air flow rate sensor, and a main control chip. The temperature and humidity sensor and the air flow rate sensor are arranged close to the detection window.

2. A thermostat control method, applied to the thermostat according to claim 1, characterized in that: The method comprises: After the thermostat is powered on, the control baffle opens; During the period from when the thermostat is powered on to when the thermostat itself heats up stably, determining the opening and closing angle of the baffle according to temperature and humidity parameters and air flow rate; After the temperature controller itself heats up stably, the air flow rate change and the environmental humidity change of the detection window of the temperature controller are detected, and the opening and closing angle of the baffle are adjusted according to the air flow rate change and the environmental humidity change.

3. The method according to claim 2, characterized in that During the period from when the thermostat is powered on to when the thermostat itself heats up stably, determining the opening and closing angle of the baffle according to temperature and humidity parameters and air flow rate, including: Acquiring the temperature and humidity parameters, including: acquiring the ambient temperature and humidity according to the temperature and humidity sensor of the thermostat; acquiring the air flow rate according to the air flow rate sensor of the thermostat; acquiring the temperature of the main control chip itself, and the heat attenuation from the heat generated by the main control chip to the temperature and humidity sensor; The opening and closing angle of the baffle is calculated according to the ambient temperature, the ambient humidity, the temperature of the main control chip itself, the heat attenuation, and the air flow rate.

4. The method according to claim 3, characterized in that The opening and closing angle of the baffle is calculated according to the ambient temperature, the ambient humidity, the temperature of the main control chip itself, and the heat attenuation, which is achieved by the following formula: θ=α*(T chip -T out )-β*RH-γ*V-∈*A; Where θ is the opening angle, T chip is the temperature of the main control chip itself, T out is the ambient temperature, RH is the ambient humidity, V is the air velocity, A is the heat attenuation, and α, β, γ, ∈ are adjustment coefficients.

5. The method according to claim 2, characterized in that: Detecting changes in air flow rate and ambient humidity of a detection window of a thermostat, and adjusting the opening and closing angle of the baffle according to the changes in air flow rate and ambient humidity, including: Detecting whether the air flow rate of the detection window of the thermostat changes; if the air flow rate changes, adjusting the opening and closing angle of the baffle according to the air flow rate; as well as, Detecting changes in ambient humidity; if the ambient humidity exceeds a preset humidity value, adjusting the opening and closing angle of the baffle according to the ambient humidity.

6. The method according to claim 5, characterized in that The opening and closing angle of the baffle is adjusted according to the air flow rate, which is achieved by the following formula: i 后 =θ 前 -γ*V; Among them, θ 后 is the adjusted opening and closing angle, θ 前 is the opening and closing angle before adjustment, V is the air flow rate, and γ is the adjustment coefficient.

7. The method according to claim 5, characterized in that The opening and closing angle of the baffle is adjusted according to the ambient humidity, which is achieved by the following formula: i 后 =θ 前 -β*RH; Among them, θ 后 is the adjusted opening and closing angle, θ 前 is the opening and closing angle before adjustment, RH is the ambient humidity, and β is the adjustment coefficient.

8. The method according to claim 5, characterized in that Detecting changes in ambient humidity; if the ambient humidity exceeds a preset humidity value, adjusting the opening and closing angle of the baffle according to the ambient humidity, the method further includes: Determine whether: the opening and closing angle of the baffle after adjustment is less than a preset angle, and the temperature of the main control chip itself exceeds a preset temperature threshold; If yes, determine the optimal compensation value according to the current opening and closing angle of the baffle; Compensating the ambient temperature detected by the temperature and humidity sensor of the thermostat according to the optimal compensation value; The ambient humidity detected by the temperature and humidity sensor of the thermostat is compensated according to the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor.

9. The method according to claim 8, characterized in that The optimal compensation value is determined according to the current opening and closing angle of the baffle, including: Tb=a(θ0-θ)+b(T chip -T0); Among them, Tb is the optimal compensation value, a is the baffle opening and closing angle adjustment coefficient, b is the main control chip temperature adjustment coefficient, θ is the current baffle opening and closing angle, θ0 is the preset angle, T chip is the temperature of the main control chip itself, and T0 is the preset temperature threshold.

10. The method according to claim 8, characterized in that The ambient temperature detected by the temperature and humidity sensor of the thermostat is compensated according to the optimal compensation value, which is achieved by the following formula: T = Tj - Tb; Where T is the compensated ambient temperature, T b is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.

11. The method according to claim 8, characterized in that According to the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor, the ambient humidity detected by the temperature and humidity sensor of the thermostat is compensated, which is achieved by the following formula: RH=RH j *exp(4283.78*(T j -T b ) / (243.12+T j ) / (243.12+T b )); Where RH is the compensated ambient humidity, RH j is the ambient humidity detected by the temperature and humidity sensor, T b is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.

12. A temperature control device, characterized in that: The temperature control device comprises the temperature controller according to claim 1.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 2 to 11 is implemented.

Citation Information

Patent Citations

  • System and method of shutter control

    CN102745064A

  • Intelligent infrared methane gas detection device

    CN103245614A

  • Electronic adjusting ejector pin type proportional valve

    CN106439188A

  • Adjustable infrared gas sensor system and temperature and humidity compensation method

    CN110006838A

  • Accurate wireless temperature and humidity probe

    CN206695840U