Temperature control method and device, electronic equipment and computer readable storage medium

By adjusting the operating frequency of the temperature control device according to preset frequency adjustment parameters in the away mode of the heat pump air conditioner, the problem of house temperature control and energy saving when users are away from home is solved, and energy-saving temperature control of the temperature control device in the away mode is realized.

CN116972495BActive Publication Date: 2026-05-12GUANGDONG TCL INTELLIGENT HEATING & VENTILATING EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG TCL INTELLIGENT HEATING & VENTILATING EQUIP CO LTD
Filing Date
2023-07-26
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

When users are away from home, existing heat pump air conditioners struggle to effectively control room temperature and maintain energy efficiency.

Method used

By obtaining the current operating frequency of the temperature control device, the target operating frequency is determined using preset frequency adjustment parameters, and the temperature control device is adjusted to operate at the target operating frequency. The target frequency is lower than the current frequency, so as to achieve temperature control and energy saving.

Benefits of technology

在离家模式下,实现了对房屋温度的有效控制,同时降低能源消耗,达到节能效果。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116972495B_ABST
    Figure CN116972495B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a temperature control method and device, electronic equipment and a computer readable storage medium. The method comprises: if a use scenario of a temperature control device is a leaving-home mode, obtaining a current working frequency of the temperature control device; determining a target working frequency according to a preset frequency adjustment parameter and the current working frequency, the target working frequency being lower than the current working frequency; adjusting the temperature control device to the target working frequency, and working according to the target working frequency. By adjusting the temperature of a house using the target working frequency when in the leaving-home mode, the temperature of the house in the leaving-home mode is controlled, and by adjusting the target working frequency to be less than the current working frequency, the temperature is controlled and energy saving is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of air conditioning, specifically to a temperature control method, apparatus, electronic device, and computer-readable storage medium. Background Technology

[0002] Heat pump air conditioners (such as heat pump water heaters) convert electrical energy into air energy through a compressor, which then converts the air into hot water through a heat exchanger, thus warming the entire house. This large-area heating solution is more energy-efficient and cleaner than burning coal, and is now widely used worldwide.

[0003] However, with the widespread use of heat pump air conditioners, different usage needs have emerged. For example, in the "away mode," users need to leave home for a long time but do not want the room temperature to rise or fall too much due to the weather. Therefore, a control method is needed to control the room temperature while maintaining a certain level of energy efficiency. Summary of the Invention

[0004] This application provides a temperature control method, device, electronic device, and computer-readable storage medium that can control the temperature of a house when in an away-from-home mode, while also being energy-efficient.

[0005] This application provides a temperature control method, including:

[0006] If the temperature control device is used in an away-from-home mode, then obtain the current operating frequency of the temperature control device;

[0007] A target operating frequency is determined based on preset frequency adjustment parameters and the current operating frequency, wherein the target operating frequency is lower than the current operating frequency;

[0008] The temperature control device is adjusted to the target operating frequency and operates according to the target operating frequency.

[0009] Accordingly, embodiments of this application also provide a temperature control device, including:

[0010] The acquisition module is used to acquire the current operating frequency of the temperature control device if the usage scenario of the temperature control device is "away from home mode".

[0011] The determining module is used to determine a target operating frequency based on a preset frequency adjustment parameter and the current operating frequency, wherein the target operating frequency is lower than the current operating frequency;

[0012] The adjustment module is used to adjust the temperature control device to the target operating frequency and operate according to the target operating frequency.

[0013] Optionally, in some embodiments of this application, the determining module includes:

[0014] The first calculation unit is used to calculate the product of the preset frequency adjustment parameter and the current operating frequency to obtain the product result;

[0015] The first determining unit is used to take the product result as the target operating frequency;

[0016] The preset frequency adjustment parameter can be in the form of at least one of decimal, fraction, or percentage.

[0017] In some embodiments of this application, the temperature control device includes a power-on phase, an initial operation phase, and a temperature control phase, and the acquisition module includes:

[0018] The first acquisition unit is used to use a preset fixed startup frequency as the current operating frequency if the temperature control device is in the power-on stage.

[0019] The second acquisition unit is used to take the preset initial fixed operating frequency as the current operating frequency if the temperature control device is in the initial operation stage.

[0020] The third acquisition unit is used to determine the maximum and minimum operating frequencies based on the inlet water temperature and the external ambient temperature if the temperature control device is in the temperature control stage, and to take any operating frequency in the operating frequency range corresponding to the maximum and minimum operating frequencies as the current operating frequency.

[0021] In some embodiments of this application, if the temperature control device is in the temperature control phase, the determining module includes:

[0022] The second calculation unit is used to calculate the difference between the minimum operating frequency and the preset offset in the current operating frequency to obtain the reference operating frequency;

[0023] The second determining unit is used to take the working frequency interval corresponding to the reference working frequency and the maximum working frequency as the reference frequency interval if the reference working frequency is greater than the preset extreme frequency.

[0024] The third determining unit is used to take the working frequency interval corresponding to the preset extreme frequency and the maximum working frequency as the reference frequency interval if the reference working frequency is less than or equal to the preset extreme frequency.

[0025] The fourth determining unit is used to determine the target adjustment speed and target adjustment magnitude based on preset frequency adjustment parameters;

[0026] The fifth determining unit is used to adjust the current operating frequency according to the target adjustment speed and the target adjustment magnitude to obtain the target operating frequency, wherein the target operating frequency is located in the reference frequency range.

[0027] In some embodiments of this application, the fourth determining unit includes:

[0028] The first determining subunit is used to determine the initial adjustment speed and the initial adjustment magnitude based on the inlet water temperature and the set temperature.

[0029] The second determining subunit is used to calculate the product of the initial adjustment size and the preset frequency adjustment parameter to obtain the target adjustment size;

[0030] The third determining subunit is used to take the initial adjustment speed as the target adjustment speed.

[0031] In some embodiments of this application, the temperature control stage includes a deviation zone, a stable zone, and an overheating zone, and the first determining subunit is specifically used for:

[0032] If the temperature control stage is in the deviation zone or the overheat zone, the initial adjustment frequency and the initial adjustment magnitude are determined based on the difference between the inlet water temperature and the set temperature.

[0033] If the temperature control stage is in the stable zone, the initial adjustment magnitude is determined based on the difference between the inlet water temperature and the set temperature, and the preset frequency modulation speed is used as the initial adjustment speed.

[0034] In some embodiments of this application, the device further includes an identification module, which includes:

[0035] The identification unit is used to detect the presence of people in the target house using millimeter-wave radar. If no one is present, the temperature control device is used in the "away from home" mode.

[0036] Alternatively, in response to a touch operation on the away mode activation button, the usage scenario of the temperature control device is determined to be away mode.

[0037] Thirdly, embodiments of this application also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the temperature control method described above.

[0038] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the temperature control method described above.

[0039] Fifthly, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application.

[0040] In this embodiment of the application, if the temperature control device is used in an "away from home" mode, the current operating frequency of the temperature control device is obtained. Based on the preset frequency adjustment parameters and the current operating frequency, a target operating frequency is determined. If the target operating frequency is lower than the current operating frequency, the temperature control device is adjusted to the target operating frequency and operates according to the target operating frequency. Specifically, by using the target operating frequency to adjust the house temperature in the "away from home" mode, temperature control is achieved. By adjusting the target operating frequency to be lower than the current operating frequency, energy saving is achieved while maintaining temperature control. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 This is a schematic diagram of a scenario for the temperature control method provided in an embodiment of this application;

[0043] Figure 2 This is a schematic flowchart of the temperature control method provided in the embodiments of this application;

[0044] Figure 3 This is another schematic flowchart of the temperature control method provided in the embodiments of this application;

[0045] Figure 4 This is a schematic diagram of the temperature control device provided in the embodiments of this application;

[0046] Figure 5 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0047] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0048] This application provides a temperature control method, apparatus, electronic device, and computer-readable storage medium. Specifically, this application provides a temperature control apparatus suitable for electronic devices, wherein the electronic device includes a temperature control device, which includes, but is not limited to, air conditioners (water-cooled air conditioners), temperature controllers, water heating temperature controllers, heat pump water heaters, and other equipment.

[0049] Please see Figure 1 , Figure 1 This is a schematic diagram illustrating a scenario where the temperature control device provided in this application executes the temperature control method. The specific execution process of the temperature control device executing the temperature control method is as follows:

[0050] The temperature control device 10 detects the presence of people in the house. If there are no people in the house and the temperature control device is turned on, the usage scenario of the temperature control device 10 is in the away mode. After entering the away mode, the current operating frequency of the temperature control device 10 is obtained, and the target operating frequency is determined according to the preset frequency adjustment parameters and the current operating frequency. The temperature control device 10 is then adjusted to the target operating frequency, and the temperature control device 10 is directed to work according to the target operating frequency.

[0051] It should be noted that the target operating frequency is lower than the current operating frequency.

[0052] The temperature control device 10 can be equipped with a millimeter-wave radar detection device or an away mode start button. The millimeter-wave radar detection device can detect whether there are no people in the house, or the away mode start button can be used to start the temperature control device 10 to enter the away mode.

[0053] It is understandable that by adjusting the house temperature using a target operating frequency during the away-from-home mode, the house temperature can be controlled. By adjusting the target operating frequency to be lower than the current operating frequency, energy-saving effects can be achieved while controlling the temperature.

[0054] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.

[0055] Please see Figure 2 , Figure 2 This is a schematic flowchart of a temperature control method provided in an embodiment of this application. The specific flow of the temperature control method is as follows:

[0056] 101. If the temperature control device is used in an away-from-home mode, then obtain the current operating frequency of the temperature control device.

[0057] It is understood that, in the embodiments of this application, the temperature control device includes a device that regulates temperature through water temperature, such as a water-cooled air conditioner, a thermostat, a water heating thermostat, or a heat pump water heater. The temperature inside the house is affected by adjusting the water temperature.

[0058] It should be noted that the "away mode" refers to the user leaving the house where the thermostat is installed. For example, when the user leaves the house, the thermostat is in the away mode. In other words, the away mode generally refers to a state or mode where there are no people in the house.

[0059] Accordingly, in this embodiment of the application, the leaving home mode can also be predefined according to actual needs. For example, when the number of people in the house decreases due to people leaving, it can also be defined as the leaving home mode.

[0060] It is understandable that obtaining the current operating frequency of the thermostat when it is in "away from home" mode can help control the room temperature and achieve energy-saving effects by adjusting the operating frequency of the thermostat.

[0061] 102. Determine a target operating frequency based on preset frequency adjustment parameters and the current operating frequency, wherein the target operating frequency is lower than the current operating frequency.

[0062] Understandably, the preset frequency adjustment parameter is a pre-configured parameter whose specific value is determined according to actual needs. For example, when it is necessary to reduce the operating frequency, the preset frequency adjustment parameter can be a value between 0 and 1; when it is necessary to increase the operating frequency, the preset frequency adjustment parameter can be a value greater than 1.

[0063] Understandably, by using preset frequency adjustment parameters to adjust the current operating frequency, a target operating frequency lower than the current operating frequency can be obtained. Since the target operating frequency is lower than the current operating frequency, this helps to achieve energy-saving control of heating energy consumption while controlling room temperature.

[0064] 103. Adjust the temperature control device to the target operating frequency and operate according to the target operating frequency.

[0065] By adjusting the temperature control device to the target operating frequency and operating it at that frequency, the room temperature can be controlled while reducing energy consumption, thus achieving energy-saving effects.

[0066] Adjusting the temperature control device to the target operating frequency actually means adjusting the compressor of the temperature control device to that target operating frequency.

[0067] It is understood that the embodiments of this application achieve temperature control of the house in the away mode by adjusting the house temperature using a target operating frequency. By adjusting the target operating frequency to be lower than the current operating frequency, energy saving is achieved while controlling the temperature.

[0068] Optionally, in this embodiment, the target operating frequency can be obtained by calculating the product of a preset frequency adjustment parameter and the current operating frequency. That is, optionally, in some embodiments of this application, the step "determine the target operating frequency based on the preset frequency adjustment parameter and the current operating frequency" includes:

[0069] Calculate the product of the preset frequency adjustment parameter and the current operating frequency to obtain the product result;

[0070] The product result is used as the target operating frequency;

[0071] The preset frequency adjustment parameter can be in the form of at least one of decimal, fraction, or percentage.

[0072] It is understood that in this embodiment, the preset frequency adjustment parameter is a value between 0 and 1, which can be understood as a weighting factor. This allows the current operating frequency to be reduced to obtain a target operating frequency that meets temperature control and energy-saving requirements.

[0073] For example, in this embodiment of the application, the preset frequency adjustment parameter can be set to 0.8, and the product of the current operating frequency and 0.8 can be used as the target operating frequency.

[0074] Optionally, the operation of the temperature control device includes multiple stages. For each different stage, the corresponding current operating frequency can be obtained, and the target operating frequency can be calculated separately. That is, optionally, in some embodiments of this application, the temperature control device includes a power-on stage, an initial operation stage, and a temperature control stage sequentially. The step "obtaining the current operating frequency of the temperature control device" includes:

[0075] If the temperature control device is in the power-on phase, the preset power-on fixed frequency will be used as the current operating frequency.

[0076] If the temperature control device is in the initial operation phase, the preset initial fixed operating frequency will be used as the current operating frequency.

[0077] If the temperature control device is in the temperature control stage, the maximum operating frequency and the minimum operating frequency are determined according to the inlet water temperature and the external ambient temperature, and any operating frequency in the operating frequency range corresponding to the maximum operating frequency and the minimum operating frequency is taken as the current operating frequency.

[0078] The start-up phase refers to the period immediately after the temperature control equipment is turned on. During this phase, the compressor operates at a preset fixed start-up frequency, determined by the outdoor ambient temperature. Consequently, during the start-up phase, the preset fixed start-up frequency can be used as the current operating frequency.

[0079] The initial operation phase is a period following the power-on phase, falling between the power-on and temperature control phases. Its purpose is to quickly regulate the room temperature. For example, the compressor of the temperature control device operates at a preset initial fixed frequency, which can be relatively high to achieve rapid temperature regulation, such as rapid cooling or heating. Accordingly, during the initial operation phase, this preset initial fixed frequency can be used as the current operating frequency.

[0080] The temperature control phase, following the initial operation phase, requires further adjustment based on the temperature difference between the inlet water temperature and the set temperature. During this phase, the inlet water temperature can differ significantly from the set temperature. Correspondingly, in the temperature control phase, the current operating frequency can be determined based on the inlet water temperature and the external ambient temperature. For example, when heating is needed, if both the inlet water temperature and the external ambient temperature are low, the current operating frequency needs to be higher.

[0081] Correspondingly, the current operating frequency can correspond to a range of values. That is, the maximum operating frequency and the minimum operating frequency are determined based on the inlet water temperature and the external ambient temperature, and any operating frequency in the operating frequency range corresponding to the maximum and minimum operating frequencies is taken as the current operating frequency.

[0082] Optionally, since the target operating frequency is lower than the current operating frequency, in this embodiment, the reference frequency range corresponding to the target operating frequency can be obtained by reducing the lower limit of the range corresponding to the current operating frequency. Then, the target operating range located in the reference frequency range is obtained by adjusting the current operating frequency. That is, optionally, in some embodiments of this application, the temperature control device is in the temperature control stage, and the step "determine the target operating frequency according to the preset frequency adjustment parameters and the current operating frequency" includes:

[0083] Calculate the difference between the minimum operating frequency and the preset offset in the current operating frequency range to obtain the reference operating frequency;

[0084] If the reference operating frequency is greater than the preset extreme frequency, then the operating frequency range corresponding to the reference operating frequency and the maximum operating frequency is taken as the reference frequency range.

[0085] If the reference operating frequency is less than or equal to the preset extreme frequency, then the operating frequency interval corresponding to the preset extreme frequency and the maximum operating frequency is taken as the reference frequency interval.

[0086] The target adjustment speed and target adjustment magnitude are determined based on the preset frequency adjustment parameters;

[0087] The current operating frequency is adjusted according to the target adjustment speed and the target adjustment magnitude to obtain the target operating frequency, which is located within the reference frequency range.

[0088] The preset offset is a pre-configured offset value, which is used to adjust the minimum operating frequency in the operating frequency range corresponding to the current operating frequency. For example, in this embodiment, the preset offset can be set to 5Hz, and the reference operating frequency can be obtained by the difference between the minimum operating frequency and the preset offset (5Hz).

[0089] Accordingly, in order to ensure heating demand, a minimum value of the operating frequency is configured, namely a preset extreme frequency. If the reference operating frequency is greater than the preset extreme frequency, the reference operating frequency is used as the lower limit of the interval to obtain the reference frequency interval. If the reference operating frequency is less than or equal to the preset extreme frequency, the preset extreme frequency is used as the lower limit of the interval to obtain the reference frequency interval.

[0090] Accordingly, a reference frequency range is generated based on the reference operating frequency and the maximum operating frequency. Specifically, this includes: using the reference operating frequency as the lower limit and the maximum operating frequency as the upper limit, a numerical range with the reference operating frequency and the maximum operating frequency as endpoints is obtained. For example, when the reference operating frequency is 30Hz and the maximum operating frequency is 50Hz, a reference frequency range of 30-50Hz is obtained; when the reference operating frequency is 40Hz and the maximum operating frequency is 70Hz, a reference frequency range of 40-70Hz is obtained.

[0091] Accordingly, in the embodiments of this application, after obtaining the reference frequency range, the target adjustment speed and target adjustment size are determined by preset frequency adjustment parameters, and the current operating frequency is adjusted according to the target adjustment speed and target adjustment size to obtain the target operating frequency located in the reference frequency range.

[0092] Among them, the target adjustment speed and the target adjustment magnitude reflect the speed and magnitude of the working frequency adjustment. If the value corresponding to the target adjustment speed is large and the value corresponding to the target adjustment magnitude is large, then the adjustment speed and amplitude of the current working frequency are large, and the adjustment from the current working frequency to the target working frequency can be achieved quickly.

[0093] Optionally, in some embodiments of this application, initial adjustment parameters (including initial adjustment speed and initial adjustment magnitude) can be determined based on the inlet water temperature and set temperature of the temperature control device, and then the initial adjustment parameters can be adjusted according to preset frequency adjustment parameters to obtain target adjustment parameters. That is, optionally, in some embodiments of this application, the step "determining target adjustment speed and target adjustment magnitude according to preset frequency adjustment parameters" includes:

[0094] Determine the initial adjustment speed and initial adjustment magnitude based on the inlet water temperature and the set temperature;

[0095] The target adjustment size is obtained by multiplying the initial adjustment size by the preset frequency adjustment parameter.

[0096] The initial adjustment speed is taken as the target adjustment speed.

[0097] Specifically, the initial adjustment speed and initial adjustment magnitude are determined based on the inlet water temperature and the set temperature, so that the values ​​of the initial adjustment speed and initial adjustment magnitude can meet the requirements of the inlet water temperature and the set temperature, thereby improving the accuracy of obtaining the initial adjustment speed and initial adjustment magnitude.

[0098] Understandably, by reducing the frequency adjustment, it is easier to adjust the current operating frequency to a smaller range (reference frequency range), thereby improving the accuracy of the target operating frequency calculation.

[0099] Optionally, in this embodiment, the temperature control stage includes a deviation zone, a stable zone, and an overheating zone. The deviation zone indicates that the current inlet water temperature is much lower than the set temperature; the overheating zone indicates that the inlet water temperature is much higher than the set temperature; and the stable zone indicates that the current inlet water temperature is not significantly different from the set temperature. Therefore, in this embodiment, the initial adjustment speed and initial adjustment magnitude can be determined based on the current zone (deviation zone, stable zone, or overheating zone). That is, optionally, in this embodiment, the temperature control stage includes a deviation zone, a stable zone, and an overheating zone, and the step "determine the initial adjustment speed and initial adjustment magnitude based on the inlet water temperature and the set temperature" includes:

[0100] If the temperature control stage is in the deviation zone or the overheat zone, the initial adjustment speed and the initial adjustment magnitude are determined based on the difference between the inlet water temperature and the set temperature.

[0101] If the temperature control stage is in the stable zone, the initial adjustment magnitude is determined based on the difference between the inlet water temperature and the set temperature, and the preset frequency modulation speed is used as the initial adjustment speed.

[0102] If the temperature control stage is in the stable zone, it means that the current inlet water temperature is not much different from the set temperature. Therefore, the working frequency can be adjusted by using the set frequency modulation speed. The set frequency modulation speed is the preset frequency modulation speed. The specific value of the preset frequency modulation speed can be predefined or pre-configured according to actual needs.

[0103] The difference between the inlet water temperature and the set temperature reflects the gap between the current temperature and the target temperature (or desired temperature). When the difference is large, the initial adjustment speed and initial adjustment size can be configured to larger values. When the difference is small, the initial adjustment speed and initial adjustment size can be configured to smaller values.

[0104] Optionally, in this embodiment, a touch button for the "away mode" can be configured. By responding to a user's touch of this button, the thermostat can be controlled to enter the "away mode." Alternatively, a built-in human detection device can be used to determine whether there are people in the house, and then determine whether to enter the "away mode" based on the detection result. That is, optionally, in some embodiments of this application, before the step "if the usage scenario of the thermostat is the away mode, then obtain the current operating frequency of the thermostat," the method further includes:

[0105] The presence of people in the target house is detected by millimeter-wave radar. If no one is present, the temperature control device is used in the "away from home" mode.

[0106] Alternatively, in response to a touch operation on the away mode activation button, the usage scenario of the temperature control device is determined to be away mode.

[0107] The device utilizes the characteristics of millimeter-wave radar to determine whether someone is in the room. If no one is in the room, it indicates that the current usage scenario of the temperature control device is "away mode". Alternatively, when the user activates the "away mode" button, the temperature control device enters the "away mode".

[0108] It is understood that the compressor start-up process of the temperature control device in this application embodiment is to protect the electronic control board from current overshoot damage to the device and reduce collision wear caused by sudden acceleration of the compressor rotor during startup, while also providing a certain heating effect during startup.

[0109] Furthermore, after determining the "away mode," the heating efficiency during startup is sacrificed, but energy saving is increased. This control method, after startup, uses coarse control to address deviation and overheating zones by moving away from the stable zone, and precise control using fuzzy control within the stable zone. When in "away mode," the overall frequency is reduced, and the minimum frequency is lowered by -5, but not below 30Hz. During this stage, the control method also reduces the overall operating frequency, providing a certain degree of insulation and control stability to protect the equipment, while also considering energy saving.

[0110] To facilitate understanding of the embodiments of this application, the following description uses a heat pump air conditioner as an example of a temperature control device. Please refer to [link / reference]. Figure 3 , Figure 3 This is another schematic flowchart of the temperature control method provided in the embodiments of this application, wherein the process specifically includes:

[0111] 201. Heat pump air conditioner turned on;

[0112] 202. Determine whether the inlet water temperature, set temperature, and preset outlet water temperature meet the conditions. If they do, proceed to step 203; otherwise, repeat step 202.

[0113] 203. The compressor's start-up frequency ramp-up curve is determined by the outdoor ambient temperature;

[0114] 204. During the power-on phase, the system operates at a preset fixed power-on frequency. If the system is in away mode, the current operating frequency is calculated as the result of the preset fixed power-on frequency multiplied by 0.8.

[0115] 205. During the initial operation phase, the system operates at a preset initial fixed frequency. If the system is in "away from home" mode, the current operating frequency is calculated as the result of the preset initial fixed frequency multiplied by 0.8.

[0116] 206. Entering the temperature control stage, the frequency is adjusted according to the inlet water temperature and the set temperature;

[0117] Specifically, step 206 is further divided into the deviation zone, the stable zone, and the overheating zone, and the specific frequency adjustment includes:

[0118] 207. Determine whether the current temperature control stage is in the deviation zone or the overheat zone. If so, proceed to step 208; otherwise, it is in the stable zone, so proceed to step 209.

[0119] 208. Determine the initial adjustment speed and initial adjustment magnitude of the frequency based on the inlet water temperature and the set temperature, and then proceed to step 210;

[0120] 209. Set the initial adjustment speed to a fixed value, such as the preset frequency modulation speed, and calculate the initial adjustment size based on the temperature difference deviation trend, and then execute step 210.

[0121] The temperature deviation value is obtained from the difference between the inlet water temperature and the set temperature.

[0122] 210. The maximum and minimum frequencies are determined by the inlet water temperature and the external ambient temperature;

[0123] 211. Determine if the user is in "away from home" mode. If yes, proceed to step 212; otherwise, proceed to step 214.

[0124] 212. Select the difference between the minimum frequency and the preset offset, and the maximum value of the preset extreme frequency, and use the maximum value as the new minimum frequency.

[0125] In this embodiment, the preset offset is configured to 5Hz and the preset extreme frequency is configured to 30Hz.

[0126] 213. Adjust the operating frequency of the compressor of the heat pump air conditioner by using the target adjustment size of the initial adjustment size * 0.8 and the initial adjustment speed to obtain the target operating frequency, and control the target operating frequency between the highest frequency and the new minimum frequency;

[0127] 214. Adjust the operating frequency of the heat pump air conditioner's compressor and control it to operate between the highest and lowest frequencies.

[0128] It is understood that, in the embodiments of this application, the operation frequency is first determined at a fixed frequency during the start-up and initial operation phases of the heat pump air conditioner. When it is determined that the user has left home, the operating frequency is reduced. After the initial operation ends, the temperature control phase is activated. Specifically:

[0129] When the compressor is in the deviation zone or overheat zone and is in the away mode, the compressor frequency adjustment magnitude and adjustment time interval (adjustment speed) are determined by the inlet water temperature and the set temperature. If the compressor is in the away mode, the operating frequency at this time is multiplied by 0.8, and the frequency at this time is limited to the higher frequency and the lower frequency (the lower frequency is the larger of the two values: 30Hz and the current lowest frequency - 5Hz).

[0130] Similarly, in the stable zone, fuzzy control is used to adjust only the frequency magnitude, with a fixed frequency tuning interval (fixed adjustment speed). If in the away-from-home mode, the same control method is used.

[0131] It is understood that the embodiments of this application achieve temperature control of the house in the away mode by adjusting the house temperature using a target operating frequency. By adjusting the target operating frequency to be lower than the current operating frequency, energy saving is achieved while controlling the temperature.

[0132] To facilitate better implementation of the temperature control method of this application, this application also provides a temperature control device based on the above-described temperature control method. The meanings of the terms used are the same as in the above-described temperature control method, and specific implementation details can be found in the descriptions of the method embodiments.

[0133] Please see Figure 4 , Figure 4 This is a schematic diagram of the temperature control device provided in an embodiment of this application, wherein the temperature control device may specifically be as follows:

[0134] The acquisition module 301 is used to acquire the current operating frequency of the temperature control device if the usage scenario of the temperature control device is the away-from-home mode.

[0135] The determining module 302 is used to determine a target operating frequency based on a preset frequency adjustment parameter and the current operating frequency, wherein the target operating frequency is lower than the current operating frequency;

[0136] The adjustment module 303 is used to adjust the temperature control device to the target operating frequency and operate according to the target operating frequency.

[0137] Optionally, in some embodiments of this application, the determining module 302 includes:

[0138] The first calculation unit is used to calculate the product of the preset frequency adjustment parameter and the current operating frequency to obtain the product result;

[0139] The first determining unit is used to take the product result as the target operating frequency;

[0140] The preset frequency adjustment parameter can be in the form of at least one of decimal, fraction, or percentage.

[0141] In some embodiments of this application, the temperature control device includes a power-on phase, an initial operation phase, and a temperature control phase, and the acquisition module 301 includes:

[0142] The first acquisition unit is used to use a preset fixed startup frequency as the current operating frequency if the temperature control device is in the power-on stage.

[0143] The second acquisition unit is used to take the preset initial fixed operating frequency as the current operating frequency if the temperature control device is in the initial operation stage.

[0144] The third acquisition unit is used to determine the maximum and minimum operating frequencies based on the inlet water temperature and the external ambient temperature if the temperature control device is in the temperature control stage, and to take any operating frequency in the operating frequency range corresponding to the maximum and minimum operating frequencies as the current operating frequency.

[0145] In some embodiments of this application, if the temperature control device is in the temperature control stage, the determining module 302 includes:

[0146] The second calculation unit is used to calculate the difference between the minimum operating frequency and the preset offset in the current operating frequency to obtain the reference operating frequency;

[0147] The second determining unit is used to take the working frequency interval corresponding to the reference working frequency and the maximum working frequency as the reference frequency interval if the reference working frequency is greater than the preset extreme frequency.

[0148] The third determining unit is used to take the working frequency interval corresponding to the preset extreme frequency and the maximum working frequency as the reference frequency interval if the reference working frequency is less than or equal to the preset extreme frequency.

[0149] The fourth determining unit is used to determine the target adjustment speed and target adjustment magnitude based on preset frequency adjustment parameters;

[0150] The fifth determining unit is used to adjust the current operating frequency according to the target adjustment speed and the target adjustment magnitude to obtain the target operating frequency, wherein the target operating frequency is located in the reference frequency range.

[0151] In some embodiments of this application, the fourth determining unit includes:

[0152] The first determining subunit is used to determine the initial adjustment speed and the initial adjustment magnitude based on the inlet water temperature and the set temperature.

[0153] The second determining subunit is used to calculate the product of the initial adjustment size and the preset frequency adjustment parameter to obtain the target adjustment size;

[0154] The third determining subunit is used to take the initial adjustment speed as the target adjustment speed.

[0155] In some embodiments of this application, the temperature control stage includes a deviation zone, a stable zone, and an overheating zone, and the first determining subunit is specifically used for:

[0156] If the temperature control stage is in the deviation zone or the overheat zone, the initial adjustment frequency and the initial adjustment magnitude are determined based on the difference between the inlet water temperature and the set temperature.

[0157] If the temperature control stage is in the stable zone, the initial adjustment magnitude is determined based on the difference between the inlet water temperature and the set temperature, and the preset frequency modulation speed is used as the initial adjustment speed.

[0158] In some embodiments of this application, the device further includes an identification module, which includes:

[0159] The identification unit is used to detect the presence of people in the target house using millimeter-wave radar. If no one is present, the temperature control device is used in the "away from home" mode.

[0160] Alternatively, in response to a touch operation on the away mode activation button, the usage scenario of the temperature control device is determined to be away mode.

[0161] In this embodiment, the acquisition module 301 first acquires the current operating frequency of the temperature control device if the usage scenario of the temperature control device is "away mode". Then, the determination module 302 determines the target operating frequency according to the preset frequency adjustment parameters and the current operating frequency. The target operating frequency is lower than the current operating frequency. Then, the adjustment module 303 adjusts the temperature control device to the target operating frequency and operates according to the target operating frequency.

[0162] It is understandable that by adjusting the house temperature using a target operating frequency during the away-from-home mode, the house temperature can be controlled. By adjusting the target operating frequency to be lower than the current operating frequency, energy-saving effects can be achieved while controlling the temperature.

[0163] In addition, this application also provides an electronic device, such as Figure 5 As shown, it illustrates the structural diagram of the electronic device involved in this application, specifically:

[0164] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 5 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:

[0165] The processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.

[0166] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0167] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0168] The electronic device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0169] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application programs stored in the memory 402, thereby implementing the steps in any of the temperature control methods provided in the embodiments of this application.

[0170] In this embodiment of the application, if the usage scenario of the temperature control device is the "away from home" mode, the current operating frequency of the temperature control device is obtained, and a target operating frequency is determined based on the preset frequency adjustment parameters and the current operating frequency. If the target operating frequency is lower than the current operating frequency, the temperature control device is adjusted to the target operating frequency and operates according to the target operating frequency.

[0171] Specifically, by adjusting the house temperature using a target operating frequency during the away-from-home mode, the system achieves temperature control while maintaining the house temperature. By adjusting the target operating frequency to be lower than the current operating frequency, energy-saving effects are achieved simultaneously with temperature control.

[0172] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0173] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0174] Therefore, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute the steps of any of the temperature control methods provided in this application.

[0175] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0176] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0177] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the temperature control methods provided in this application, the beneficial effects that any of the temperature control methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0178] The above provides a detailed description of a temperature control method, apparatus, electronic device, and computer-readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

[0179] It should be noted that, in the specific embodiments of this application, data related to whether a user has left home and other related information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

Claims

1. A temperature control method, characterized in that, Used in temperature control equipment, including: If the temperature control device is used in an away-from-home mode, then obtain the current operating frequency of the temperature control device; A target operating frequency is determined based on preset frequency adjustment parameters and the current operating frequency, wherein the target operating frequency is lower than the current operating frequency; The temperature control device is adjusted to the target operating frequency and operates according to the target operating frequency; If the temperature control device is in the temperature control phase, determining the target operating frequency based on the preset frequency adjustment parameters and the current operating frequency includes: Calculate the difference between the minimum operating frequency and the preset offset during the temperature control stage to obtain the reference operating frequency; If the reference operating frequency is greater than the preset extreme frequency, then the operating frequency range corresponding to the reference operating frequency and the maximum operating frequency is taken as the reference frequency range. If the reference operating frequency is less than or equal to the preset extreme frequency, then the operating frequency range corresponding to the preset extreme frequency and the maximum operating frequency is taken as the reference frequency range. The target adjustment speed and target adjustment magnitude are determined based on the preset frequency adjustment parameters; The current operating frequency is adjusted according to the target adjustment speed and the target adjustment magnitude to obtain the target operating frequency, which is located within the reference frequency range; The minimum operating frequency and the maximum operating frequency are determined based on the inlet water temperature and the external ambient temperature during the temperature control stage, and the current operating frequency is between the minimum operating frequency and the maximum operating frequency.

2. The method according to claim 1, characterized in that, The step of determining the target operating frequency based on the preset frequency adjustment parameters and the current operating frequency includes: Calculate the product of the preset frequency adjustment parameter and the current operating frequency to obtain the product result; The product result is used as the target operating frequency; The preset frequency adjustment parameter can be in the form of at least one of decimal, fraction, or percentage.

3. The method according to claim 1, characterized in that, The temperature control device includes a power-on phase, an initial operation phase, and a temperature control phase. Obtaining the current operating frequency of the temperature control device includes: If the temperature control device is in the power-on phase, the preset power-on fixed frequency will be used as the current operating frequency. If the temperature control device is in the initial operation phase, the preset initial fixed operating frequency will be used as the current operating frequency. If the temperature control device is in the temperature control stage, the maximum operating frequency and the minimum operating frequency are determined according to the inlet water temperature and the external ambient temperature, and any operating frequency in the operating frequency range corresponding to the maximum operating frequency and the minimum operating frequency is taken as the current operating frequency.

4. The method according to claim 1, characterized in that, The step of determining the target adjustment speed and target adjustment magnitude according to preset frequency adjustment parameters includes: Determine the initial adjustment speed and initial adjustment magnitude based on the inlet water temperature and the set temperature; The target adjustment size is obtained by multiplying the initial adjustment size by the preset frequency adjustment parameter. The initial adjustment speed is taken as the target adjustment speed.

5. The method according to claim 4, characterized in that, The temperature control stage includes a deviation zone, a stable zone, and an overheating zone. Determining the initial adjustment speed and initial adjustment magnitude based on the inlet water temperature and the set temperature includes: If the temperature control stage is in the deviation zone or the overheat zone, the initial adjustment speed and the initial adjustment magnitude are determined based on the difference between the inlet water temperature and the set temperature. If the temperature control stage is in the stable zone, the initial adjustment magnitude is determined based on the difference between the inlet water temperature and the set temperature, and the preset frequency modulation speed is used as the initial adjustment speed.

6. The method according to claim 1, characterized in that, If the temperature control device is used in an "away from home" mode, before obtaining the current operating frequency of the temperature control device, the method further includes: The presence of people in the target house is detected by millimeter-wave radar. If no one is present, the temperature control device is used in the "away from home" mode. Alternatively, in response to a touch operation on the away mode activation button, the usage scenario of the temperature control device is determined to be away mode.

7. A temperature control device, characterized in that, Used in temperature control equipment, including: The acquisition module is used to acquire the current operating frequency of the temperature control device if the usage scenario of the temperature control device is "away from home mode". The determining module is used to determine a target operating frequency based on a preset frequency adjustment parameter and the current operating frequency, wherein the target operating frequency is lower than the current operating frequency; An adjustment module is used to adjust the temperature control device to the target operating frequency and to operate according to the target operating frequency; If the temperature control device is in the temperature control phase, determining the target operating frequency based on the preset frequency adjustment parameters and the current operating frequency includes: Calculate the difference between the minimum operating frequency and the preset offset during the temperature control stage to obtain the reference operating frequency; If the reference operating frequency is greater than the preset extreme frequency, then the operating frequency range corresponding to the reference operating frequency and the maximum operating frequency is taken as the reference frequency range. If the reference operating frequency is less than or equal to the preset extreme frequency, then the operating frequency range corresponding to the preset extreme frequency and the maximum operating frequency is taken as the reference frequency range. The target adjustment speed and target adjustment magnitude are determined based on the preset frequency adjustment parameters; The current operating frequency is adjusted according to the target adjustment speed and the target adjustment magnitude to obtain the target operating frequency, which is located within the reference frequency range; The minimum operating frequency and the maximum operating frequency are determined based on the inlet water temperature and the external ambient temperature during the temperature control stage, and the current operating frequency is between the minimum operating frequency and the maximum operating frequency.

8. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the temperature control method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the temperature control method as described in any one of claims 1-6.