Temperature regulation method, system, electronic device and storage medium
By installing a temperature detection device at the air outlet and combining the mapping relationship between ambient temperature and heating element power, the power of the heating element is adjusted using a PID algorithm, which solves the problem of unstable air outlet temperature of electrical appliances, reduces equipment complexity and failure rate, and achieves efficient temperature regulation.
Patent Information
- Application Number
- CN202411660582.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2044-11-20
AI Technical Summary
When the ambient temperature changes, the outlet temperature of existing electrical appliances is difficult to stabilize at the target value. This usually requires two temperature sensors and an AD detection port, which increases the complexity, cost and failure rate of the equipment.
By installing a temperature detection device at the air outlet, the estimated value of the ambient temperature is inferred by using the preset mapping relationship between the ambient temperature, the power of the heating element, and the air outlet temperature. Based on the mapping relationship between the air outlet temperature and the target temperature, the power of the heating element is adjusted to stabilize the air outlet temperature, and a PID algorithm is used for precise control.
It enables the use of only one temperature detection device to stabilize the outlet temperature, reducing equipment complexity and failure rate, and improving the accuracy and efficiency of temperature regulation.
Smart Images

Figure CN119374227B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of temperature regulation technology, and in particular to a temperature regulation method, system, electronic device and storage medium. Background Technology
[0002] Many electrical appliances, such as air conditioners, heaters, and electric heaters, have a heating function and need to maintain the outlet temperature within a specific range. However, changes in ambient temperature can affect the operation of these appliances, causing the outlet temperature to deviate from the target value.
[0003] To address these issues, at least two temperature sensors are typically required, with two AD detection ports used to simultaneously monitor both ambient and outlet temperatures, enabling real-time adjustment of the outlet temperature. However, this design increases the complexity and cost of the equipment, and also raises the failure rate. Summary of the Invention
[0004] The purpose of this invention is to provide at least one temperature regulation method, system, electronic device, and storage medium, which can at least solve the problem that the use of at least two temperature sensors and the setting of two AD detection ports usually increases the complexity, cost, and failure rate of the device, and can at least reduce the complexity, cost, and failure rate of the device.
[0005] To address the aforementioned technical problems, at least one embodiment of this application provides a temperature regulation method, comprising:
[0006] Monitor the outlet temperature of the heating device in the target environment to obtain the outlet temperature monitoring value;
[0007] When the temperature monitoring value of the air outlet remains constant at the preset first temperature target value, the first heating element power of the heating device is obtained;
[0008] Based on a preset first mapping relationship between ambient temperature, heating element power, and air outlet temperature, the estimated ambient temperature value corresponding to the first heating element power is determined when the air outlet temperature monitoring value is constant at the first temperature target value.
[0009] Based on a preset second mapping relationship between the air outlet temperature, ambient temperature, and target temperature, a second target temperature value for the air outlet temperature is determined when the temperature of the target environment reaches the target temperature from the estimated ambient temperature.
[0010] Adjust the power of the heating element of the heating device to make the temperature of the air outlet reach the second temperature target value.
[0011] At least one embodiment of this application also provides a temperature regulation system, comprising:
[0012] A temperature detection device is installed at the air outlet of the heating device in the target environment to measure the air outlet temperature.
[0013] The controller is configured to: acquire the first heating element power of the heating device when the outlet temperature monitoring value is constant at a preset first temperature target value; determine the estimated ambient temperature value corresponding to the first heating element power when the outlet temperature monitoring value is constant at the first temperature target value based on a preset first mapping relationship between ambient temperature, heating element power, and outlet temperature; determine the second temperature target value of the outlet temperature when the temperature of the target environment reaches the target temperature from the estimated ambient temperature value based on a preset second mapping relationship between outlet temperature, ambient temperature, and target temperature; and adjust the heating element power of the heating device to make the outlet temperature reach the second temperature target value.
[0014] At least one embodiment of this application also provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the temperature regulation method described above.
[0015] At least one embodiment of this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the temperature regulation method described above.
[0016] The temperature regulation method, system, apparatus, and storage medium provided in the embodiments of this application utilize a temperature detection device installed at the air outlet. Combined with a preset mapping relationship between ambient temperature, heating element power, and air outlet temperature, an estimated value of the current ambient temperature can be deduced, thus eliminating the need for an additional ambient temperature monitoring device. After determining the estimated ambient temperature, the target value of the air outlet temperature can be determined based on a preset second mapping relationship between the ambient temperature, air outlet temperature, and target temperature, corresponding to adjusting the ambient temperature from the estimated value to the target temperature. This achieves air outlet temperature regulation using only a single temperature detection device, reducing equipment complexity, cost, and failure rate.
[0017] In one embodiment, after adjusting the power of the heating element of the heating device to make the outlet temperature reach the second target temperature value, the method further includes:
[0018] When the outlet temperature is constant at the second temperature target value, the new first heating element power of the heating device is obtained;
[0019] Based on the first mapping relationship between the ambient temperature, the power of the heating element, and the air outlet temperature, a new estimated value of the ambient temperature corresponding to the new power of the first heating element is determined when the monitored value of the air outlet temperature is constant at the second temperature target value.
[0020] Based on the second mapping relationship between the air outlet temperature, ambient temperature, and target temperature, a new second target temperature value for the air outlet temperature is determined when the temperature of the target environment reaches the target temperature from the new estimated ambient temperature value.
[0021] Adjust the power of the heating element of the heating device to make the temperature of the air outlet reach the new second temperature target value.
[0022] As the air outlet temperature is continuously adjusted, the ambient temperature also changes continuously. In order to keep the ambient temperature stable at the target temperature, this embodiment monitors the current air outlet temperature in real time and continuously corrects the air outlet temperature, so that the indoor temperature can always be maintained at the target temperature.
[0023] In one embodiment, the outlet temperature monitoring value is kept constant at a preset first temperature target value, including:
[0024] Within a preset time period, the monitored temperature value of the air outlet remains within the first preset temperature range to which the first temperature target value belongs.
[0025] In this embodiment, by setting a judgment time and a temperature range instead of a single temperature point, it is possible to more stably determine whether the air outlet temperature has reached the target state, which helps to reduce misjudgments caused by temperature fluctuations or measurement errors and enhances the robustness of the system.
[0026] In one embodiment, adjusting the power of the heating element of the heating device to make the outlet temperature reach the second target temperature value includes:
[0027] Based on the difference between the monitored air outlet temperature and the second temperature target value, the power of the heating element is dynamically adjusted using a PID algorithm until the air outlet temperature reaches the second temperature target value.
[0028] In this embodiment, the PID algorithm can achieve more precise control of the air outlet temperature, which helps to reduce temperature fluctuations and keep the air outlet temperature more stably near the target value, while also making the adjustment speed more efficient.
[0029] In one embodiment, dynamically adjusting the power of the heating element using a PID algorithm based on the difference between the monitored air outlet temperature and the second target temperature value includes:
[0030] Based on the difference between the monitored air outlet temperature and the second target temperature value, the calculated values of the proportional part, integral part, and derivative part of the PID algorithm are obtained respectively.
[0031] Based on the calculated values of the proportional part, the integral part, and the derivative part, a comprehensive output value is obtained.
[0032] The power of the heating element is adjusted according to the preset range of the heating element power, the maximum output value of the PID controller, and the combined output value.
[0033] In this embodiment, when adjusting the power of the heating element, the preset range of the heating element power and the maximum output value of the PID controller are taken into account, which helps to prevent damage to the heating device or exceeding the system's safety range due to excessive power adjustment.
[0034] In one embodiment, adjusting the power of the heating element based on a preset range of the heating element power, the maximum output value of the PID controller, and the combined output value includes:
[0035] Adjust the power of the heating element according to the following formula:
[0036]
[0037] Where D(t) is the adjusted power of the heating element, D min and D max These are the minimum and maximum values of the power of the heating element, u. max It is the maximum output value of the PID controller, and u(t) is the comprehensive output value.
[0038] In this embodiment, the interpolation method can be used to calculate the target value of the heating element power to be adjusted more quickly and accurately, thereby improving the processing efficiency of the system.
[0039] In one embodiment, obtaining the first heating element power of the heating device when the outlet temperature monitoring value remains constant at a preset first temperature target value includes:
[0040] Based on the difference between the monitored air outlet temperature and the first temperature target value, the power of the heating element of the heating device is dynamically adjusted using a PID algorithm until the monitored air outlet temperature is constant at the preset first temperature target value, thereby obtaining the first heating element power of the heating device.
[0041] In this embodiment, as the outlet temperature gradually increases to the first temperature target value, the use of a PID algorithm for dynamic adjustment helps the system reach the first temperature target value more quickly and smoothly, enabling the system to start adjusting the outlet temperature more quickly.
[0042] In one embodiment, it also includes:
[0043] Update the first target temperature value based on the user's heating habits.
[0044] In this embodiment, the first temperature target value is initially set to the air outlet temperature corresponding to the usage scenario most frequently selected by the user. By statistically analyzing the user's heating habits, the first temperature target value is updated accordingly, enabling the heating process to reach the user's set state more quickly. Attached Figure Description
[0045] One or more embodiments are illustrated by way of example with reference to the accompanying drawings, and these illustrative descriptions do not constitute a limitation on the embodiments.
[0046] Figure 1 This is a flowchart of a temperature regulation method provided in one embodiment of this application. Figure 1 ;
[0047] Figure 2 This is a flowchart of a temperature regulation method provided in one embodiment of this application. Figure 2 ;
[0048] Figure 3 This is a schematic diagram of the structure of a temperature control system provided in one embodiment of this application;
[0049] Figure 4 This is a schematic diagram of a temperature regulating device provided in one embodiment of this application. Detailed Implementation
[0050] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the various embodiments of this application will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details have been provided in the various embodiments of this application to help readers better understand this application. However, the technical solutions claimed in this application can be implemented even without these technical details and various changes and modifications based on the following embodiments. The division of the various embodiments below is for the convenience of description and should not constitute any limitation on the specific implementation of this application. The various embodiments can be combined with and referenced by each other without contradiction.
[0051] To address the aforementioned technical problem that typically requires at least two temperature sensors and two AD detection ports, increasing the complexity, cost, and failure rate of the device, this invention proposes a temperature regulation method. The implementation details of the temperature regulation method in this embodiment are described below. The following content is only for ease of understanding and is not essential for implementing this solution.
[0052] Example 1:
[0053] The temperature regulation method of this embodiment can be applied to electronic devices with communication, computing, and data storage capabilities. Its specific process can be as follows: Figure 1 As shown, it includes:
[0054] Step 110: Monitor the outlet temperature of the heating device in the target environment and obtain the outlet temperature monitoring value.
[0055] In this embodiment, the target environment is the space to be heated by the heating device. For example, a room or space, such as a data center, server room, or laboratory; or the internal environment of a device or system, such as a car engine compartment, the interior of an air conditioning or refrigeration system; or a specific area in an industrial or manufacturing process, such as a workstation on a production line, or the surrounding environment of a chemical reactor. A heating device refers to a device or system that generates heat and needs to dissipate it through an air outlet. Heating devices typically have one or more air outlets to dissipate the internally generated heat to the external environment. For example, a heating device may be a central air conditioning system, a household air conditioner, or an electric heater.
[0056] The outlet temperature refers to the temperature of the air or fluid discharged from the outlet of the heating device. In actual measurement, a temperature sensor can be installed at the outlet to obtain the outlet temperature monitoring value in real time.
[0057] Step 120: When the air outlet temperature monitoring value is constant at the preset first temperature target value, the first heating element power of the heating device is obtained.
[0058] In this embodiment, when the user activates the heating mode, the heating element of the heating device generates heat, heating the airflow inside the system, thereby gradually increasing the outlet temperature. The first temperature target value is a pre-set temperature value, serving as a reference standard for outlet temperature monitoring. When the actual monitored outlet temperature (i.e., the outlet temperature monitoring value) matches or approaches the first temperature target value, it is considered that the heating device has reached a preset specific operating state. At this time, it is necessary to obtain the power of the first heating element of the heating device to further adjust the outlet temperature.
[0059] In one embodiment, the outlet temperature corresponding to the most probable usage scenario is selected as the first temperature target value. In this embodiment, the most probable usage scenario is the outlet temperature that the heating device should be set to in the heating scheme chosen by most users. For example, most people choose to heat the temperature to 25 degrees Celsius, corresponding to an outlet temperature or first temperature target value of 60°C.
[0060] In one embodiment, the method further includes updating the first temperature target value based on the user's heating habits.
[0061] In this embodiment, the first temperature target value is initially set to the air outlet temperature corresponding to the usage scenario most frequently selected by the user. By statistically analyzing user heating habits, the first temperature target value is updated accordingly, enabling the heating process to reach the user's set state more quickly. For example, if the initial first temperature target value is 55℃, after a period of statistical analysis, it is found that users tend to set the heating mode to 30℃ when the temperature is below 10℃. Therefore, the first temperature target value is set to 60℃, allowing the room temperature to reach the user's set target temperature more quickly, making the heating device more user-friendly and meeting user needs.
[0062] In one embodiment, the air outlet temperature monitoring value is kept constant at a preset first temperature target value, including: within a preset determination time, the air outlet temperature monitoring value is always within a first preset temperature range to which the first temperature target value belongs.
[0063] In this embodiment, by setting a judgment time and a temperature range instead of a single temperature point, it is possible to more stably determine whether the air outlet temperature has reached the target state, which helps to reduce misjudgments caused by temperature fluctuations or measurement errors and enhances the robustness of the system.
[0064] For example, the judgment time is set to 5 seconds, the first temperature target value is 60℃, and the first preset temperature range is [59℃, 61℃]. The system acquires the air outlet temperature every 1 second. If the air outlet temperature monitoring value acquired within 5 seconds is within the first preset temperature range, it means that the air outlet temperature monitoring value is constant at the preset first temperature target value.
[0065] Step 130: Based on the preset first mapping relationship between ambient temperature, heating element power, and air outlet temperature, determine the estimated ambient temperature value corresponding to the first heating element power when the air outlet temperature monitoring value is constant at the first temperature target value.
[0066] It is understandable that when the power of the heating element changes, the outlet temperature also changes, which in turn causes a gradual change in the ambient temperature. Therefore, changes in the heating element power affect the outlet temperature, and thus the ambient temperature, forming a continuous mapping chain. That is, there is a primary mapping relationship between the ambient temperature, the heating element power, and the outlet temperature. This primary mapping relationship was obtained beforehand through extensive experiments. For example, the primary mapping relationship was established by controlling variables and real-time monitoring, with the following specific steps:
[0067] 1) Control variables: Set different ambient temperatures Tc, and fix the target temperature Tp.
[0068] 2) Real-time monitoring: Records the outlet temperature and heating element power required to reach the target temperature under different ambient temperatures.
[0069] 3) Data processing: The experimental data is processed into Table 1 below to facilitate quick retrieval and use by the controller in practical applications.
[0070] Table 1 Comparison of Ambient Temperature, Heating Element Power, and Air Outlet Temperature
[0071]
[0072] Table 1 above lists some parameters. In actual statistics, the accuracy of the statistics for air outlet temperature, heating element power, and ambient temperature is higher. For example, the air outlet temperature is 60℃, 60.5℃, 61℃... and the ambient temperature is 0℃, 0.5℃, 1℃...
[0073] By storing the aforementioned first mapping relationship or mapping table in a database, and when the outlet temperature monitoring value remains constant at the first temperature target value, the estimated ambient temperature corresponding to the first heating element power can be obtained by acquiring the heating element power at that moment. This method can achieve the acquisition of the current ambient temperature without the need for additional installation of an ambient temperature detection device.
[0074] In existing heating devices, such as air conditioning systems, voltage and current sensors are typically installed to monitor the voltage and current across the heating element in real time. The power of the heating element can then be calculated based on the voltage and current readings. Alternatively, a power meter can be directly connected to the heating element's circuitry to measure its power.
[0075] Step 140: Based on the preset second mapping relationship between the air outlet temperature, ambient temperature, and target temperature, determine the second target temperature value of the air outlet temperature when the temperature of the target environment reaches the target temperature from the estimated ambient temperature value.
[0076] It's understandable that the outlet temperature is the direct means by which the heating device regulates the indoor temperature. When the target ambient temperature is higher than the current ambient temperature, the heating device needs to increase the outlet temperature (in heating mode) to heat the indoor air, gradually bringing it closer to and reaching the target temperature. Conversely, when the target ambient temperature is lower than the current ambient temperature, the heating device needs to decrease the outlet temperature (in cooling mode) to cool the indoor air. Therefore, there is a direct correspondence between the outlet temperature and the estimated ambient temperature and the target ambient temperature, known as the second mapping relationship.
[0077] The second mapping relationship is determined in a similar way to the method in step 130 above, and the results are shown in Table 2 below through experimental statistics:
[0078] Table 2 Comparison Table of Ambient Temperature, Air Outlet Temperature, and Target Temperature
[0079]
[0080] The target temperature is set by the user. After obtaining the current ambient temperature (i.e., the estimated ambient temperature), the value that the air outlet temperature should be set to when the ambient temperature is adjusted from the estimated ambient temperature to the target temperature can be obtained, which is the second temperature target value.
[0081] Step 150: Adjust the power of the heating element of the heating device so that the temperature of the air outlet reaches the second temperature target value.
[0082] In this embodiment, after determining the second temperature target value, the outlet temperature can be gradually changed to the second temperature target value by increasing or decreasing the power of the heating element.
[0083] For example, a user sets a target temperature of 30℃ and monitors the air outlet temperature in real time. When the monitored air outlet temperature stabilizes at 60℃, the current heating element power is 70%. Referring to Table 1, the estimated current ambient temperature is 5℃. Then, referring to Table 2, with an ambient temperature of 5℃ and a target temperature of 30℃, the air outlet temperature should be set to 65℃. Therefore, the air outlet temperature should be increased from 60℃ to 65℃, and the heating element power should be adjusted accordingly to achieve this.
[0084] In summary, the temperature regulation method provided in this embodiment only requires a temperature detection device installed at the air outlet. Combined with a preset mapping relationship between ambient temperature, heating element power, and air outlet temperature, the estimated current ambient temperature can be predicted, thus eliminating the need for an additional ambient temperature monitoring device. After determining the estimated ambient temperature, the target air outlet temperature can be determined based on a preset second mapping relationship between the ambient temperature, air outlet temperature, and target temperature. This allows for the regulation of the air outlet temperature using only a single temperature detection device, reducing equipment complexity, cost, and failure rate.
[0085] like Figure 2As shown, in one embodiment, after adjusting the heating element power of the heating device to make the air outlet temperature reach the second temperature target value, the method further includes: when the air outlet temperature is constant at the second temperature target value, obtaining a new first heating element power of the heating device; based on a first mapping relationship between the ambient temperature, heating element power, and air outlet temperature, determining a new estimated ambient temperature value corresponding to the new first heating element power when the air outlet temperature monitoring value is constant at the second temperature target value; based on a second mapping relationship between the air outlet temperature, ambient temperature, and target temperature, determining a new second temperature target value of the air outlet temperature when the target ambient temperature reaches the target temperature from the new estimated ambient temperature value; and adjusting the heating element power of the heating device to make the air outlet temperature reach the new second temperature target value.
[0086] In this embodiment, as the outlet temperature is continuously adjusted, the ambient temperature also changes continuously. To stabilize the ambient temperature at the target temperature, this embodiment monitors the current outlet temperature in real time and continuously corrects it, thereby ensuring that the indoor temperature remains at the target temperature. The specific process for adjusting the outlet temperature is similar to that in the embodiments described above, and will not be repeated here to avoid repetition.
[0087] Example 2:
[0088] Based on the above embodiments, in this embodiment, adjusting the power of the heating element of the heating device to make the air outlet temperature reach the second temperature target value includes: dynamically adjusting the power of the heating element using a PID algorithm based on the difference between the monitored air outlet temperature value and the second temperature target value until the air outlet temperature reaches the second temperature target value.
[0089] In this embodiment, the PID algorithm enables more precise control of the air outlet temperature, which helps to reduce temperature fluctuations and keep the air outlet temperature more stably near the target value, while also making the adjustment speed more efficient.
[0090] In one embodiment, dynamically adjusting the power of the heating element using a PID algorithm based on the difference between the monitored air outlet temperature and the second target temperature value includes: obtaining the calculated values of the proportional part, integral part, and derivative part of the PID algorithm based on the difference between the monitored air outlet temperature and the second target temperature value; obtaining a comprehensive output value based on the calculated values of the proportional part, integral part, and derivative part; and adjusting the power of the heating element based on a preset range of the heating element power, the maximum output value of the PID controller, and the comprehensive output value.
[0091] In this embodiment, when adjusting the power of the heating element, the preset range of the heating element power and the maximum output value of the PID controller are considered, which helps to prevent damage to the heating device or exceeding the system's safe range due to excessive power adjustment. The specific calculation process is as follows:
[0092] The mathematical model of a PID controller: The output u(t) of a PID controller consists of three parts: proportional part (P), integral part (I), and derivative part (D). The proportional part is proportional to the current error, the integral part is proportional to the accumulation of error, and the derivative part is proportional to the rate of change of error.
[0093] The mathematical expression is:
[0094]
[0095] Where e(t) is the current error, i.e., the second temperature target value (T). target ) and the monitored value of the air outlet temperature (T) out(t) The difference between K and K p It is the proportional gain, K i It is the integral gain, K d It is the differential gain.
[0096] The control process is as follows:
[0097] 1) Initialization: Initialize the parameters K of the PID controller. p K i and K d .
[0098] 2) Real-time detection: The temperature at the air outlet is detected in real time by a temperature sensor at the air outlet, and the measured value of the air outlet temperature is obtained.
[0099] 3) Calculate the error e(t):
[0100] e(t) = T target -T out(t)
[0101] 4) PID calculation:
[0102] Proportional section:
[0103] u p (t)=K p e(t)
[0104] Integral part:
[0105]
[0106] Differential part:
[0107]
[0108] Overall output:
[0109] u(t)=u p (t)+u i (t)+u d (t)
[0110] 5) Adjust the power of the heating element according to the preset range of the heating element power, the maximum output value of the PID controller and the overall output.
[0111] In one embodiment, adjusting the power of the heating element based on a preset range of the heating element power, the maximum output value of the PID controller, and the combined output value includes: adjusting the power of the heating element according to the following calculation formula:
[0112]
[0113] Where D(t) is the adjusted power of the heating element, D min and D max These are the minimum and maximum values of the heating element power, u. max It is the maximum output value of the PID controller, and u(t) is the combined output value.
[0114] In this embodiment, the interpolation method can be used to calculate the target value of the heating element power to be adjusted more quickly and accurately, thereby improving the processing efficiency of the system.
[0115] In one embodiment, obtaining the first heating element power of the heating device when the air outlet temperature monitoring value is constant at a preset first temperature target value includes: dynamically adjusting the heating element power of the heating device using a PID algorithm based on the difference between the air outlet temperature monitoring value and the first temperature target value until the air outlet temperature monitoring value is constant at the preset first temperature target value, and then obtaining the first heating element power of the heating device.
[0116] In this embodiment, as the outlet temperature gradually increases to the first temperature target value, the use of a PID algorithm for dynamic adjustment helps the system reach the first temperature target value more quickly and smoothly, enabling the system to start adjusting the outlet temperature more quickly.
[0117] Example 3:
[0118] like Figure 3 As shown, based on the above embodiments, this embodiment also provides a temperature control system, including:
[0119] A temperature detection device is installed at the air outlet of the heating device in the target environment to measure the air outlet temperature.
[0120] The controller is configured to: acquire the first heating element power of the heating device when the outlet temperature monitoring value is constant at a preset first temperature target value; determine the estimated ambient temperature value corresponding to the first heating element power when the outlet temperature monitoring value is constant at the first temperature target value based on a preset first mapping relationship between ambient temperature, heating element power, and outlet temperature; determine the second temperature target value of the outlet temperature when the temperature of the target environment reaches the target temperature from the estimated ambient temperature value based on a preset second mapping relationship between outlet temperature, ambient temperature, and target temperature; and adjust the heating element power of the heating device to make the outlet temperature reach the second temperature target value.
[0121] like Figure 3 As shown, a temperature sensor (i.e., the aforementioned temperature detection device) is installed at the air outlet of the heating device, and a power meter is installed inside the heating device. The power meter is directly connected to the circuit of the heating element to measure its power. When the heating device receives the target temperature set by the user, it enters the heating mode. The temperature sensor monitors the air outlet temperature in real time and transmits the data to the controller. At the same time, the power meter also measures the power of the heating element in real time and transmits the data to the controller.
[0122] When the controller detects that the outlet temperature measurement value is constant at the first temperature target value, it acquires the power of the heating element at this time. Based on the preset first mapping relationship between the ambient temperature, the heating element power, and the outlet temperature, it determines the estimated ambient temperature value corresponding to the first heating element power when the outlet temperature monitoring value is constant at the first temperature target value. Based on the preset second mapping relationship between the outlet temperature, the ambient temperature, and the target temperature, it determines the second temperature target value of the outlet temperature when the target ambient temperature reaches the target temperature from the estimated ambient temperature value. Then, it adjusts the heating element power of the heating device to make the outlet temperature reach the second temperature target value.
[0123] In some embodiments, the controller can execute the temperature regulation method described in any of the above embodiments. To avoid repetition, it will not be described again here.
[0124] Example 4:
[0125] like Figure 4 As shown, another embodiment of this application relates to a temperature regulation device. The implementation details of the temperature regulation device in this embodiment are described in detail below. The following implementation details are provided for ease of understanding and are not necessary for implementing this solution. The temperature regulation device in this embodiment includes an air outlet temperature monitoring module 410, a heating element power acquisition module 420, an ambient temperature estimation value determination module 430, a second temperature target value determination module 440, and a temperature adjustment module 450.
[0126] The air outlet temperature monitoring module 410 is used to monitor the air outlet temperature of the heating device in the target environment and obtain the air outlet temperature monitoring value.
[0127] The heating element power acquisition module 420 is used to acquire the first heating element power of the heating device when the air outlet temperature monitoring value is constant at a preset first temperature target value.
[0128] The ambient temperature estimation value determination module 430 is used to determine the ambient temperature estimation value corresponding to the power of the first heating element when the monitored value of the air outlet temperature is constant at the first temperature target value, based on a first mapping relationship between the preset ambient temperature and the power of the heating element and the air outlet temperature.
[0129] The second temperature target value determination module 440 is used to determine the second temperature target value of the air outlet temperature when the temperature of the target environment reaches the target temperature from the estimated value of the ambient temperature, based on a preset second mapping relationship between the air outlet temperature, the ambient temperature, and the target temperature.
[0130] The temperature adjustment module 450 is used to adjust the power of the heating element of the heating device so that the temperature of the air outlet reaches the second temperature target value.
[0131] It is worth mentioning that all modules involved in this embodiment are logical modules. In practical applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. Furthermore, to highlight the innovative aspects of this application, this embodiment does not introduce units that are not closely related to solving the technical problems proposed in this application; however, this does not mean that other units are absent in this embodiment.
[0132] Example 5:
[0133] Another embodiment of this application relates to an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the temperature regulation methods described in the above embodiments.
[0134] The memory and processor are connected via a bus, which can include any number of interconnecting buses and bridges, connecting various circuits of one or more processors and memories. The bus can also connect various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and will not be described further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by the processor is transmitted over the wireless medium via an antenna, which further receives data and transmits it to the processor.
[0135] The processor manages the bus and general processing, and also provides various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory is used to store data used by the processor during operation.
[0136] Example 6:
[0137] Another embodiment of this application relates to a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the method embodiments described above.
[0138] That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0139] It should be noted that, in this disclosure, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element limited by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0140] While the embodiments disclosed herein are as described above, the foregoing content is merely for the purpose of facilitating understanding of this disclosure and is not intended to limit this disclosure. Any person skilled in the art to which this disclosure pertains may make any modifications and changes in form and detail of the implementation without departing from the spirit and scope of this disclosure; however, the scope of patent protection of this disclosure shall still be determined by the scope defined in the appended claims.
Claims
1. A temperature regulation method, characterized in that, include: Monitor the outlet temperature of the heating device in the target environment to obtain the outlet temperature monitoring value; When the temperature monitoring value of the air outlet remains constant at the preset first temperature target value, the first heating element power of the heating device is obtained; Based on a preset first mapping relationship between ambient temperature, heating element power, and air outlet temperature, the estimated ambient temperature value corresponding to the first heating element power is determined when the air outlet temperature monitoring value is constant at the first temperature target value. Based on a preset second mapping relationship between the air outlet temperature, ambient temperature, and target temperature, a second target temperature value for the air outlet temperature is determined when the temperature of the target environment reaches the target temperature from the estimated ambient temperature value, wherein the target temperature is the target value that the user expects the ambient temperature to reach. Adjust the power of the heating element of the heating device to make the temperature of the air outlet reach the second temperature target value.
2. The temperature regulation method according to claim 1, characterized in that, After adjusting the power of the heating element of the heating device to make the outlet temperature reach the second target temperature value, the method further includes: When the outlet temperature is constant at the second temperature target value, the new first heating element power of the heating device is obtained; Based on the first mapping relationship between the ambient temperature, the power of the heating element, and the air outlet temperature, a new estimated value of the ambient temperature corresponding to the new power of the heating element is determined when the monitored value of the air outlet temperature is constant at the second temperature target value. Based on the second mapping relationship between the air outlet temperature, ambient temperature, and target temperature, a new second target temperature value for the air outlet temperature is determined when the temperature of the target environment reaches the target temperature from the new estimated ambient temperature value. Adjust the power of the heating element of the heating device to make the temperature of the air outlet reach the new second temperature target value.
3. The temperature regulation method according to claim 1, characterized in that, The air outlet temperature monitoring value is kept constant at a preset first temperature target value, including: Within a preset time period, the monitored temperature value of the air outlet remains within the first preset temperature range to which the first temperature target value belongs.
4. The temperature regulation method according to claim 1, characterized in that, Adjusting the power of the heating element of the heating device to make the outlet temperature reach the second target temperature value includes: Based on the difference between the monitored air outlet temperature and the second temperature target value, the power of the heating element is dynamically adjusted using a PID algorithm until the air outlet temperature reaches the second temperature target value.
5. The temperature regulation method according to claim 4, characterized in that, The step of dynamically adjusting the power of the heating element using a PID algorithm based on the difference between the monitored air outlet temperature and the second target temperature value includes: Based on the difference between the monitored air outlet temperature and the second target temperature value, the calculated values of the proportional part, integral part, and derivative part of the PID algorithm are obtained respectively. Based on the calculated values of the proportional part, the integral part, and the derivative part, a comprehensive output value is obtained. The power of the heating element is adjusted according to the preset range of the heating element power, the maximum output value of the PID controller, and the combined output value.
6. The temperature regulation method according to claim 5, characterized in that, The step of adjusting the power of the heating element based on the preset range of the heating element power, the maximum output value of the PID controller, and the combined output value includes: Adjust the power of the heating element according to the following formula: = + ( - ) in, The adjusted power of the heating element. and These are the minimum and maximum values of the power of the heating element, respectively. It is the maximum output value of the PID controller. This is the overall output value.
7. The temperature regulation method according to claim 1, characterized in that, When the monitored value of the air outlet temperature remains constant at a preset first temperature target value, the first heating element power of the heating device is obtained, including: Based on the difference between the monitored air outlet temperature and the first temperature target value, the power of the heating element of the heating device is dynamically adjusted using a PID algorithm until the monitored air outlet temperature is constant at the preset first temperature target value, thereby obtaining the first heating element power of the heating device.
8. The temperature regulation method according to any one of claims 1-7, characterized in that, Also includes: Update the first target temperature value based on the user's heating habits.
9. A temperature control system, characterized in that, include: A temperature detection device is installed at the air outlet of the heating device in the target environment to measure the air outlet temperature. The controller is configured to: acquire the first heating element power of the heating device when the outlet temperature monitoring value is constant at a preset first temperature target value; determine the estimated ambient temperature value corresponding to the first heating element power when the outlet temperature monitoring value is constant at the first temperature target value based on a preset first mapping relationship between ambient temperature, heating element power, and outlet temperature; determine the second temperature target value of the outlet temperature when the temperature of the target environment reaches the target temperature from the estimated ambient temperature value based on a preset second mapping relationship between outlet temperature, ambient temperature, and target temperature; and adjust the heating element power of the heating device to make the outlet temperature reach the second temperature target value.
10. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the temperature regulation method as described in any one of claims 1 to 8.
11. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the temperature regulation method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Control method and system for energy-saving operation of air conditioner and air conditioner
CN110440395A
Air conditioner and control method
CN112212469A