A temperature controller and a control method thereof, and a temperature control device
By incorporating a movable baffle and sensor into the temperature controller, and adjusting the window size based on environmental parameters and heat generation, the problem of the detection window's inability to adaptively adjust was solved, thus improving the accuracy of temperature and humidity detection and the product's protective effect.
Patent Information
- Application Number
- CN202411576771.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2044-11-06
AI Technical Summary
The detection window of existing thermostats cannot adaptively adjust its size, affecting the accuracy of temperature and humidity detection, and the sensor is prone to failure due to decoration pollution or humid environment.
Design a temperature controller that uses a movable baffle at the detection window, combined with a temperature and humidity sensor, an air flow sensor, and a main control chip, to adjust the opening angle of the baffle according to environmental parameters and its own heat generation, thereby achieving adaptive adjustment of the window size. A compensation algorithm is also used to improve the detection accuracy of the sensors.
This improves the accuracy of temperature and humidity sensors in the thermostat, protects the sensors from moisture corrosion, and ensures product quality and the accuracy of test data.
Smart Images

Figure CN119556744B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of temperature controller, in particular to a temperature controller, a control method thereof and a temperature control device. BACKGROUND
[0002] The temperature controller needs to accurately detect the environmental temperature and humidity data, and then accurately control the unit. The temperature controller will heat itself if it is powered on for a long time, which will affect the detection accuracy of the temperature and humidity sensor of the temperature controller. Alternatively, if the air flow rate around the temperature controller is too large, it will also affect the accuracy of the temperature and humidity sensor in detecting the environmental temperature and humidity, resulting in incorrect control logic of the unit and poor user experience.
[0003] Moreover, if the temperature and humidity detection window of the temperature controller is too large, it is easy to cause decoration pollution, for example, the detection window of the temperature controller is blocked by the decoration material, which affects the detection accuracy of the temperature controller. If the size of the detection window of the temperature controller is fixed, and if the internal part of the temperature controller is in a humid environment for a long time, it is easy to mold and corrode, resulting in failure of the temperature and humidity sensor and poor product quality. If the air flow rate of the detection window is too large, it will also affect the detection accuracy of the temperature controller.
[0004] At present, there is no effective solution to the problem that the detection window of the temperature controller in the prior art cannot adaptively adjust the window size, affecting the accuracy of temperature and humidity detection. SUMMARY
[0005] The present application provides a temperature controller, a control method thereof and a temperature control device to solve the problem that the detection window of the temperature controller in the prior art cannot adaptively adjust the window size, affecting the accuracy of temperature and humidity detection.
[0006] To solve the above technical problems, the present application provides a temperature controller, wherein the shell of the temperature controller is provided with a detection window, and a movable baffle is arranged at the detection window to adjust the opening size of the detection window; the inside of the temperature controller 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 application also provides a temperature controller control method applied to the above-mentioned temperature controller, wherein the method comprises: after the temperature controller is powered on, the baffle is controlled to be opened; during the period from when the temperature controller is powered on to when the temperature controller heats up stably, the opening and closing angle of the baffle is determined according to the temperature and humidity parameters and the air flow rate; after the temperature controller heats up stably, the air flow rate change of the detection window of the temperature controller and the environmental humidity change are detected, and the opening and closing angle of the baffle is adjusted according to the air flow rate change and the environmental humidity change.
[0008] Furthermore, during the period from the power-on of the thermostat to the stable heating of the thermostat itself, the opening and closing angle of the baffle is determined based on temperature and humidity parameters and airflow velocity, including:
[0009] The temperature and humidity parameters are obtained, including: obtaining the ambient temperature and ambient humidity based on the temperature and humidity sensor of the temperature controller; obtaining the air flow rate based on the air flow rate sensor of the temperature controller; obtaining the temperature of the main control chip itself, and the amount of 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 based on the ambient temperature, the ambient humidity, the temperature of the main control chip itself, the heat attenuation, and the air flow rate.
[0011] Furthermore, based on the ambient temperature, the ambient humidity, the temperature of the main control chip itself, and the amount of heat attenuation, the opening and closing angle of the baffle is calculated using the following formula:
[0012] θ=α*(T chip -T out )-β*RH-γ*V-∈*A;
[0013] Where θ is the opening angle, and T chip It is the temperature of the main control chip itself, T out RH is the ambient temperature, V is the ambient humidity, A is the air velocity, and α, β, γ, ∈ are adjustment coefficients.
[0014] Furthermore, detecting changes in airflow velocity and ambient humidity at the temperature controller's detection window, and adjusting the opening angle of the baffle based on these changes, includes: detecting whether there is a change in airflow velocity at the temperature controller's detection window; if there is a change in airflow velocity, adjusting the opening angle of the baffle accordingly; and detecting changes in ambient humidity; if the ambient humidity exceeds a preset humidity value, adjusting the opening angle of the baffle accordingly.
[0015] Furthermore, the opening and closing angle of the baffle is adjusted according to the airflow velocity using the following formula:
[0016] θ 后 =θ 前 -γ*V; where θ 后 It is the adjusted opening and closing angle, θ 前 γ is the opening angle before adjustment, V is the airflow velocity, 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 through the following formula:
[0018] θ 后 = θ 前 - β * RH; wherein, θ 后 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 ambient humidity is detected, and 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 comprises: determining whether the adjusted opening and closing angle of the baffle is less than a preset angle and the temperature of the main control chip itself exceeds a preset temperature threshold; if yes, determining an 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 temperature controller according to the optimal compensation value; and compensating the ambient humidity detected by the temperature and humidity sensor of the temperature controller according to the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor.
[0020] Further, determining the optimal compensation value according to the current opening and closing angle of the baffle comprises:
[0021] Tb = a (θ0- θ) + b (T chip - T0); wherein, Tb is the optimal compensation value, a is the opening and closing angle adjustment coefficient of the baffle, b is the temperature adjustment coefficient of the main control chip, θ is the current opening and closing angle of the baffle, θ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, compensating the ambient temperature detected by the temperature and humidity sensor of the temperature controller according to the optimal compensation value is realized by the following formula:
[0023] T = Tj - Tb; wherein, T is the compensated ambient temperature, T b is the optimal compensation value, and T j is the ambient temperature detected by the temperature and humidity sensor.
[0024] Further, compensating the ambient humidity detected by the temperature and humidity sensor of the temperature controller according to the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor is realized by the following formula:
[0025] RH = RH j * exp (4283.78 * (T j - T b ) / (243.12 + T j ) / (243.12 + T b ));
[0026] Wherein, 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 is the ambient temperature detected by the temperature and humidity sensor.
[0027] The application also provides a temperature control device, wherein the temperature control device comprises the temperature controller.
[0028] The application also provides a computer readable storage medium, which stores a computer program, wherein the program is executed by a processor to implement the method as described above.
[0029] According to the technical scheme of the application, the detection window size of the temperature controller can be adjusted and controlled according to the movable baffle, the baffle is closed when the temperature controller is not powered on, and the baffle is opened and closed according to the heat generation inside the temperature controller, the outdoor temperature and the air flow rate when the temperature controller is normally powered on, so as to dissipate heat, keep warm or prevent moisture, improve the detection accuracy of the temperature and humidity sensor of the temperature controller, and protect the temperature controller from being corroded by moisture, thereby ensuring product quality. BRIEF DESCRIPTION OF DRAWINGS
[0030] Figure 1 is a structural schematic diagram of a temperature controller according to an embodiment of the application;
[0031] Figure 2 is a flowchart of a temperature controller control method according to an embodiment of the application;
[0032] Figure 3 is a detailed flowchart of a temperature controller control method according to an embodiment of the application. DETAILED DESCRIPTION
[0033] In order to make the objects, technical schemes and advantages of the application clearer, the application will be further described in detail below with reference to the drawings. Obviously, the described embodiments are only a part of the embodiments of the application, but not all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the application.
[0034] The terms used in the embodiments of the application are only for the purpose of describing specific embodiments, and are not intended to limit the application. The singular forms "a", "an" and "the" used in the embodiments of the application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. "Plural" generally includes at least two.
[0035] It should be understood that the term "and / or" as used herein merely describes an associated relationship among associated objects, and can represent three relationships, for example, A and / or B can represent three cases of A existing alone, A and B existing simultaneously, and B existing alone. In addition, the character " / " herein generally represents an "or" relationship between the front and rear associated objects.
[0036] Depending on the context, the word "if" as used herein can be interpreted as meaning "when" or "while" or "in response to determining" or "in response to detecting." Similarly, depending on the context, the phrase "if it is determined" or "if (a stated condition or event) is detected" can be interpreted as meaning "when it is determined" or "in response to determining" or "when (a stated condition or event) is detected" or "in response to detecting (a stated condition or event)."
[0037] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover non-exclusive inclusion, so that a product or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such product or device. Without more limitation, the element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the product or device comprising the element.
[0038] The optional embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0039] Embodiment 1
[0040] Figure 1 is a structural schematic diagram of a temperature controller according to an embodiment of the present application. As shown in Figure 1 The housing of the temperature controller is provided with a detection window, and the detection window is provided with a movable baffle. The baffle can be controlled to move by a motor, and the movement of the baffle can adjust the opening size of the detection window. The inside of the temperature controller 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 consideration of minimizing the influence of the self-heating of the main control chip on the detection accuracy of the temperature and humidity sensor, the main control chip can be arranged away from the detection window.
[0041] The temperature controller provided in the embodiment can be installed in a temperature control device, and is used to detect temperature and humidity data and air flow rate data. The device related to control according to the ambient temperature is applicable, for example, an air conditioning unit. Based on this, the embodiment further provides a temperature control device, which comprises the temperature controller described above, and can more accurately detect temperature and humidity data and air flow rate data, thereby providing accurate data support for the subsequent control logic of the temperature control device.
[0042] Embodiment 2
[0043] According to the embodiment of the present application, a temperature controller 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 the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from here.
[0044] Figure 2 is a flowchart of a temperature controller control method according to an embodiment of the present application. The temperature controller control method of the present embodiment is applied to the temperature controller described above, as shown in Figure 2 The method comprises the following steps:
[0045] Step S201, after the temperature controller is powered on, the baffle is controlled to open;
[0046] Step S202, during the period from the temperature controller being powered on to the temperature controller itself being heated stably, the opening and closing angle of the baffle is determined according to the temperature and humidity parameters and the air flow rate;
[0047] Step S203, after the temperature controller itself is heated stably, the air flow rate change of the detection window of the temperature controller and the environmental humidity change are detected, and the opening and closing angle of the baffle is adjusted according to the air flow rate change and the environmental humidity change.
[0048] In the present embodiment, the size of the detection window of the temperature controller can be adjusted and controlled according to the movable baffle. When the temperature controller is not powered on, the baffle is closed. When the temperature controller is normally powered on, the baffle will be opened and closed according to the internal heating condition of the temperature controller, the outdoor temperature and the air flow rate condition, so as to dissipate heat, keep warm or prevent moisture, improve the detection accuracy of the temperature and humidity sensor of the temperature controller, and protect the temperature controller from being corroded by moisture, thereby ensuring the product quality.
[0049] When the temperature controller is not powered on, the baffle remains closed. After the temperature controller is normally powered on, the baffle is opened. 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 temperature controller; obtaining the air flow rate according to the air flow rate sensor of the temperature controller; obtaining the temperature of the main control chip itself, and the heat attenuation amount of the main control chip heat to the temperature and humidity sensor; according to the ambient temperature, ambient humidity, main control chip temperature, heat attenuation amount, air flow rate, the opening and closing angle of the baffle is calculated. The above heat attenuation amount, that is, the attenuation value of the heat transfer of the main control chip to the temperature and humidity sensor. The circuit board of the temperature controller has the function of detecting the average value of the heat radiation near the main control chip and the average value of the heat radiation near the temperature and humidity sensor. The difference between the two is the heat attenuation amount of the heat, that is, the heat attenuation amount = the average value of the heat radiation near the main control chip - the average value of the heat radiation near the temperature and humidity sensor. The above near means within a predetermined range. The greater the heat attenuation amount, the smaller the interference of the main control chip heat to the temperature and humidity sensor, and the opening and closing angle of the baffle can be reduced; otherwise, the interference is greater, and the opening and closing angle of the baffle needs to be increased.
[0050] Based on this, the ambient temperature, ambient humidity, main control chip temperature, heat attenuation amount, and air flow rate will all affect the opening and closing angle of the baffle. The opening and closing angle ultimately confirmed based on the above influencing parameters is the optimal opening and closing angle under the current state of the temperature controller, which can consider and balance the optimal opening and closing angle in terms of temperature controller heat dissipation, heat preservation, or moisture prevention.
[0051] The temperature controller has a control model GreeTempModel, which is trained by different ambient temperatures T out , ambient humidity RH, air flow rate V near the detection window under the opening and closing degree of the baffle, temperature T chip of the main control chip itself, and heat attenuation amount A of the main control chip to the temperature and humidity sensor. The main control chip controls the optimal rotation angle of the small motor, that is, the optimal opening and closing angle θ of the baffle, and the basic calculation formula of the control model GreeTempModel is:
[0052] θ = a * (T chip -T out ) - β * RH - γ * V - ε * A;
[0053] Where θ is the opening and closing 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 flow rate, and A is the heat attenuation amount.
[0054] Wherein, a, β, γ, ∈ 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 each adjustment parameter on the motor rotation angle. These adjustment coefficients need to be obtained by training according to a large amount of experimental data and product characteristics. Using a neural network to optimize the above formula can construct a more complex and accurate model. The neural network can learn the nonlinear relationship between each parameter coefficient through a large amount of data, thereby providing a more accurate optimal motor rotation angle, and then controlling the baffle to reach the optimal opening and closing angle.
[0055] Formula explanation:
[0056] T chip -T out : The difference between the temperature of the main control chip itself and the outdoor environment. The larger the difference, the larger the rotation angle of the motor is needed to open the baffle to a larger angle to increase heat dissipation.
[0057] RH: Outdoor humidity. When the humidity is high, the opening and closing angle of the baffle needs to be reduced, so a smaller rotation angle is needed.
[0058] V: Air flow rate. The larger the flow rate, the better the heat dissipation effect, and the motor rotation angle can be appropriately reduced.
[0059] A: The heat attenuation of the main control chip heat to the temperature and humidity sensor. The larger the heat attenuation, the less the temperature and humidity sensor is affected by the heat of the main control chip, and the opening and closing angle of the baffle 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 temperature controller is adjusted to the optimal size, and on the basis of improving the accuracy of the sensor detection data of the temperature controller, the heat dissipation, heat preservation or moisture prevention of the temperature controller is ensured.
[0061] After the heat of the temperature controller itself stabilizes, the air flow rate change and the environmental humidity change of the detection window of the temperature controller are detected. The air flow rate change and the environmental humidity change will affect the accuracy of the detection data of the temperature controller. Therefore, the present embodiment provides a preferred embodiment, that is, detecting whether the air flow rate of the detection window of the temperature controller 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 of the environmental humidity; if the environmental humidity exceeds the preset humidity value, adjusting the opening and closing angle of the baffle according to the environmental humidity. The above preferred embodiment adjusts the opening and closing angle of the baffle when the air flow rate changes, so as to ensure the optimal opening and closing size of the detection window of the temperature controller, and avoid the influence of the excessive air flow rate on the accuracy of the detection data of the temperature controller. When the environmental humidity is large, the opening and closing angle of the baffle is correspondingly reduced, so that the opening of the detection window is smaller, avoiding the internal environment of the temperature controller being humid, and ensuring the product quality and stability.
[0062] Specifically, in the preferred embodiment described above, the opening and closing angle of the baffle is adjusted according to the airflow velocity using the following formula:
[0063] θ 后 =θ 前 -γ*V; where θ 后 It is the adjusted opening and closing angle, θ 前 It is the opening angle before adjustment, V is the airflow velocity, and γ is the adjustment coefficient.
[0064] When a non-stationary airflow is detected, and the GreeTempModel control model indicates airflow towards the thermostat, the opening angle of the baffle is adjusted according to the airflow speed to prevent heat from being carried away by the airflow through the detection window, thus ensuring the detected temperature is lower than the actual temperature. When the airflow is stable, the baffle opens to a preset angle to maintain stable temperature and humidity data detected by the thermostat. When the airflow is stationary, the opening angle of the baffle is controlled based on the temperature and humidity parameters and the airflow speed.
[0065] For example, when the product's own heat generation is stable and there are no other sources of interference, the baffle remains fixed in the previously opened position. When an increase in airflow is detected, the temperature model determines that there is wind blowing towards the temperature and humidity detection window. Based on the airflow speed, it calculates the angle at which the baffle needs to be reduced to ensure that the temperature near the temperature and humidity detection window does not drop drastically due to the wind, causing inaccurate detection by the temperature and humidity sensor. When the airflow speed returns to normal, the control model gradually opens the baffle to the optimal angle based on the current environmental conditions.
[0066] Specifically, in the preferred embodiment described above, the opening and closing angle of the baffle is adjusted according to the ambient humidity using the following formula:
[0067] θ 后 =θ 前 -β*RH; where θ 后 It is the adjusted opening and closing angle, θ 前 This is the opening / closing angle before adjustment, RH is the ambient humidity, and β is the adjustment coefficient.
[0068] When high ambient humidity is detected, the control model GreeTempModel determines that the ambient humidity is high and the opening angle of the baffle needs to be reduced to prevent moisture from entering the thermostat through the detection window and corroding the temperature and humidity sensor.
[0069] After adjusting the opening angle of the baffle according to the ambient humidity, the opening angle of the baffle will become smaller. At this time, it is necessary to consider whether the main control chip will overheat. Therefore, this embodiment provides a preferred implementation method, namely, determining whether the following conditions are met: the adjusted opening angle of the baffle is less than a preset angle, and the temperature of the main control chip exceeds a preset temperature threshold; if so, determining the optimal compensation value based on the current opening angle of the baffle; compensating for the ambient temperature detected by the temperature and humidity sensor of the thermostat based on the optimal compensation value; and compensating for the ambient humidity detected by the temperature and humidity sensor of the thermostat based on the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor.
[0070] In other words, if the baffle opening angle is small and the main control chip temperature is high, self-temperature compensation is required. The optimal compensation value is determined based on the current baffle opening angle, and can be achieved through the following preferred implementation method: Tb=a(θ0-θ)+b(T chip -T0); where Tb is the optimal compensation value, a is the baffle opening / closing angle adjustment coefficient, b is the main control chip temperature adjustment coefficient, θ is the current baffle opening / closing angle, θ0 is the preset angle, and T chip T0 is the temperature of the main control chip itself, and T0 is the preset temperature threshold. The values of the adjustment coefficients a and b mentioned above need to be trained and calibrated using a large model with a large amount of experimental data to ensure the effectiveness and rationality of the compensation strategy. The significance of this formula is that the lower the baffle opening, the higher the demand for temperature compensation; the higher the heating temperature of the main control chip, the greater the temperature compensation required. Then, combined with the control model GreeTempModel, the detected ambient temperature and humidity are numerically compensated using formulas to avoid the detected temperature value being higher than the actual temperature. When the ambient humidity returns to normal, the opening angle of the baffle is controlled according to the temperature and humidity parameters and the airflow velocity.
[0071] Because high ambient humidity reduces the angle of the baffle, the temperature inside the temperature and humidity detection window will rise due to the product's own heat generation. This issue is avoided when the baffle angle is reduced due to wind blowing towards the window, as the wind carries away heat. Therefore, to ensure accurate temperature and humidity detection, temperature compensation using a formula is necessary. The temperature model, trained with various parameters, will calculate the optimal compensation value Tb based on the current baffle angle and compensate for the detected temperature Tj.
[0072] T = Tj - Tb; where T is the compensated ambient temperature, Tj is the ambient temperature. b It is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.
[0073] Then, based on 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:
[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 It is the ambient humidity detected by the temperature and humidity sensor, T b It is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.
[0076] Based on this, even when the temperature controller's detection window is small and the main control chip itself generates a lot of heat, a temperature and humidity data compensation scheme can be executed to ensure the accuracy of the temperature and humidity data finally output by the temperature controller.
[0077] This embodiment proposes a thermostat with an adjustable detection window size and automatic heat compensation for temperature and humidity detection, which can achieve the following effects: effectively protect the detection window of the thermostat from contamination; effectively protect the sensor of the thermostat from moisture corrosion; and ensure the accuracy of the temperature and humidity detection data of the thermostat.
[0078] Example 3
[0079] Figure 3 This is a detailed flowchart of the thermostat control method according to an embodiment of the present invention, as shown below. Figure 3 As shown, the process includes:
[0080] 1) The thermostat has a temperature and humidity sensor and an airflow sensor, located near the temperature and humidity detection window of the structural component, such as... Figure 1 Temperature and humidity sensors and airflow sensors should be placed in appropriate locations depending on the specific product.
[0081] 2) The temperature and humidity detection window of the thermostat has an openable and closable baffle. The opening and closing size of the baffle 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 opening and closing method of the baffle is selected according to different products, such as arc-shaped opening and closing or up, down, left and right sliding opening and closing.
[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 is 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 called GreeTempModel, which is based on different ambient temperatures T. outAmbient humidity (RH), air velocity (V) near the detection window under the degree of baffle opening and closing, and the temperature (T) of the main control chip itself. chip The data, including the heat generated by the main control chip and the heat attenuation A of the temperature and humidity sensor, are used for training. The optimal rotation angle of the small motor controlled by the main control chip, i.e., the optimal opening and closing angle θ of the baffle, is calculated using the basic formula of the control model GreeTempModel.
[0084] θ=α*(T chip -T out )-β*RH-γ*V-∈*A;
[0085] Where θ is the opening angle, and T chip It is the temperature of the main control chip itself, T out RH is ambient temperature, V is ambient humidity, and A is the heat attenuation.
[0086] Here, α, β, γ, and ∈ are adjustment coefficients. The values of these adjustment coefficients include, but are not limited to, constants, variables, or calculation formulas, and are used to balance the influence of various adjustment parameters on the motor rotation angle. These adjustment coefficients need to be obtained through training based on a large amount of experimental data and product characteristics. By using a neural network to optimize the above formula, a more complex and accurate model can be built. The neural network can learn the nonlinear relationship between various parameter coefficients through a large amount of data, thereby providing a more accurate optimal rotation angle for the motor, and thus controlling the baffle to achieve the optimal opening and closing angle.
[0087] Formula explanation:
[0088] T chip -T out The temperature difference between the main control chip and the outdoor ambient temperature. The larger the difference, the greater the rotation angle required by the motor to open the baffle to increase heat dissipation.
[0089] RH: Outdoor ambient humidity. High humidity necessitates a smaller opening angle for the baffle, thus requiring a smaller rotation angle.
[0090] V: Air velocity. The higher the velocity, the better the heat dissipation, and the motor rotation angle can be appropriately reduced.
[0091] A: The amount of heat loss from the main control chip to the temperature and humidity sensor. The greater the heat loss, the less the temperature and humidity sensor is affected by the heat generated by the main control chip, and the opening angle of the baffle can be appropriately reduced.
[0092] 5) When the thermostat is not powered on, the baffle is closed to avoid contamination of decoration materials; when it is powered on and the thermostat is heating up and stabilizing, the main control chip calculates the angle at which the control motor opens 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 detected temperature being lower than the actual temperature, or the heat dissipation being too slow, resulting in the detected temperature being higher than the actual temperature.
[0093] The neural network control model, derived from the parameters, can calculate the optimal opening angle of the baffle under the current environment based on the input temperature and airflow velocity. For example, when the airflow velocity remains constant, the baffle heats up due to its own heating, and the main control chip controls the baffle angle to gradually open, facilitating heat dissipation and ensuring accurate temperature and humidity detection by the temperature and humidity sensor. When the product's own heating is stable and there are no other sources of interference, the baffle remains fixed in the previously opened position, maintaining accurate and stable temperature and humidity detection.
[0094] When the thermostat heats up steadily, if there is no interference source (wind or excessive humidity), the baffle will be fixed at a preset angle. This preset angle needs to be calculated based on the actual temperature model. The opening angle will vary depending on different environmental conditions, thus maintaining stable temperature and humidity detection.
[0095] 6) When the airflow is detected to be non-stationary, and the control model GreeTempModel determines that there is airflow towards the thermostat, the opening angle of the baffle is adjusted according to the wind speed to prevent the airflow from carrying away heat from the detection window, which would cause the detected temperature to be lower than the actual temperature.
[0096] For example, when the thermostat's own heating is stable and there are no other sources of interference, the baffle remains in its previously opened position. When an increase in airflow is detected, the temperature model determines that there is wind blowing towards the temperature and humidity detection window. Based on the airflow speed, it calculates the angle at which the baffle needs to be reduced to ensure that the temperature near the temperature and humidity detection window does not drop drastically due to the wind, causing inaccurate detection by the temperature and humidity sensor. When the airflow speed returns to normal, the temperature model gradually opens the baffle to the optimal opening angle based on the current environmental conditions.
[0097] When the airflow is stable, the baffle is fixed at a preset angle to maintain stable temperature and humidity detection; when the airflow is stationary, the opening and closing angle of the baffle is controlled according to step 5.
[0098] 7) When the ambient humidity is high, the control model GreeTempModel determines that the ambient humidity is high and the opening angle of the baffle needs to be reduced to prevent moisture from entering the product through the detection window and corroding the temperature and humidity sensor.
[0099] If the baffle opening is small and the main control chip temperature is high, then self-temperature compensation is required. Combined with the control model GreeTempModel, the detected ambient temperature and humidity are compensated using formulas 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, Tj is the ambient temperature. b It is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.
[0101] Then, based on 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:
[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 It is the ambient humidity detected by the temperature and humidity sensor, T b It is the optimal compensation value, T j It is the ambient temperature detected by the temperature and humidity sensor.
[0104] Based on this, even when the temperature controller's detection window is small and the main control chip itself generates a lot of heat, a temperature and humidity data compensation scheme can be executed to ensure the accuracy of the temperature and humidity data finally output by the temperature controller.
[0105] Example 4
[0106] This embodiment provides an electronic device for a thermostat control method. The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein...
[0107] The memory stores instructions executable by the one processor, which are executed by the at least one processor to enable the at least one processor to:
[0108] After the thermostat is powered on, the control baffle opens; during the period from the thermostat being powered on until its own heating stabilizes, the opening and closing angle of the baffle is determined based on the temperature and humidity parameters and the air flow rate; after the thermostat's own heating stabilizes, the changes in air flow rate and ambient humidity at the thermostat's detection window are detected, and the opening and closing angle of the baffle is adjusted according to the changes in air flow rate and ambient humidity.
[0109] Example 5
[0110] This invention provides software for executing the technical solutions described in the above embodiments and preferred embodiments.
[0111] This invention provides a non-volatile computer storage medium storing computer-executable instructions that can execute the temperature controller control method in any of the above method embodiments.
[0112] The aforementioned storage medium stores the aforementioned software, and the storage medium includes, but is not limited to, optical discs, floppy disks, hard disks, and rewritable memory.
[0113] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0114] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer 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. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0116] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0117] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0118] If the integrated unit is implemented as 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for controlling a temperature controller, characterized in that, The method includes: After the temperature controller is powered on, the control panel opens; During the period from the power-on of the thermostat to the stable heating of the thermostat itself, the opening angle of the baffle is determined based on temperature and humidity parameters and airflow velocity. This includes: acquiring the temperature and humidity parameters, including: acquiring the ambient temperature and ambient humidity based on the temperature and humidity sensor of the thermostat; acquiring the airflow velocity based on the airflow velocity sensor of the thermostat; acquiring the temperature of the main control chip itself, and the amount of heat attenuation from the heat generated by the main control chip to the temperature and humidity sensor; and calculating the opening angle of the baffle based on the ambient temperature, the ambient humidity, the temperature of the main control chip itself, the amount of heat attenuation, and the airflow velocity, using the following formula: θ=α*(T chip -T out )-β*RH-γ*V-ϵ*A; where θ is the opening angle, T chip It is the temperature of the main control chip itself, T out Here, RH is the ambient temperature, V is the air velocity, A is the heat attenuation, and α, β, γ, and ϵ are adjustment coefficients. After the temperature controller stabilizes, the changes in airflow velocity and ambient humidity at the temperature controller's detection window are detected, and the opening angle of the baffle is adjusted according to these changes.
2. The method according to claim 1, characterized in that, The system detects changes in airflow velocity and ambient humidity at the temperature controller's detection window, and adjusts the opening angle of the baffle based on these changes, including: The system detects whether there is a change in the airflow velocity at the detection window of the temperature controller; if the airflow velocity changes, the opening and closing angle of the baffle is adjusted according to the airflow velocity. as well as, Detect changes in ambient humidity; if the ambient humidity exceeds a preset humidity value, adjust the opening angle of the baffle according to the ambient humidity.
3. The method according to claim 2, characterized in that, The opening and closing angle of the baffle is adjusted according to the airflow velocity using the following formula: i 后 =θ 前 -γ*V; Where, θ 后 It is the adjusted opening and closing angle, θ 前 γ is the opening angle before adjustment, V is the airflow velocity, and γ is the adjustment coefficient.
4. The method according to claim 2, characterized in that, The opening and closing angle of the baffle is adjusted according to the ambient humidity using the following formula: i 后 =θ 前 -β*RH; Where, θ 后 It is the adjusted opening and closing angle, θ 前 RH is the opening / closing angle before adjustment, RH is the ambient humidity, and β is the adjustment coefficient.
5. The method according to claim 2, characterized in that, The method further includes detecting changes in ambient humidity; if the ambient humidity exceeds a preset humidity value, adjusting the opening angle of the baffle according to the ambient humidity; and then: Determine whether the following conditions are met: 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, determine the optimal compensation value based on the current opening and closing angle of the baffle; The ambient temperature detected by the temperature and humidity sensor of the thermostat is compensated according to the optimal compensation value; The ambient humidity detected by the temperature and humidity sensor of the thermostat is compensated based on the optimal compensation value and the ambient temperature detected by the temperature and humidity sensor.
6. The method according to claim 5, characterized in that, The optimal compensation value is determined based on the current opening and closing angle of the baffle, including: Tb=a(θ0-θ)+b(T chip (T0); Where Tb is the optimal compensation value, a is the baffle opening / closing angle adjustment coefficient, b is the main control chip temperature adjustment coefficient, θ is the current baffle opening / closing angle, θ0 is the preset angle, and T chip T0 is the temperature of the main control chip itself, and T0 is the preset temperature threshold.
7. The method according to claim 5, characterized in that, The ambient temperature detected by the temperature and humidity sensor of the thermostat is compensated based on the optimal compensation value, which is achieved by the following formula: T = Tj - Tb; Where T is the compensated ambient temperature, T b This is the optimal compensation value, T. j It is the ambient temperature detected by the temperature and humidity sensor.
8. The method according to claim 5, characterized in that, Based on 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 It is the ambient humidity detected by the temperature and humidity sensor, T b This is the optimal compensation value, T. j It is the ambient temperature detected by the temperature and humidity sensor.
9. A temperature control device, characterized in that, The temperature control device includes a temperature controller, which is used to implement the temperature controller control method according to any one of claims 1 to 8; The housing of the thermostat is provided with a detection window, and a movable baffle is provided at the detection window to adjust the opening size of the detection window; 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 located close to the detection window.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
System and method of shutter control
CN102745064A
Intelligent infrared methane gas detection device
CN103245614A