Air conditioner control method, air conditioner, and computer-readable storage medium
By adjusting the temperature control expectation according to the air conditioner's temperature control deviation and historical temperature control expectations, the problem of temperature control deviation caused by changes in the air conditioner's heat load is solved, achieving more accurate temperature control and improving the temperature control effect.
Patent Information
- Application Number
- PCT/CN2024/074994
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2024-01-31
- Publication Date
- 2024-10-31
AI Technical Summary
In air conditioners using PID main control theory, temperature control deviations caused by changes in heat load gradually accumulate, causing the actual temperature adjustment effect to be inconsistent with expectations.
The correction coefficient is determined based on the temperature control deviation of the executed temperature adjustment stage and the historical temperature control expectation, the temperature control expectation is adjusted, and the air conditioning operation is controlled according to the adjusted target control parameters to correct the temperature control deviation.
Effectively reduce temperature control deviation, improve temperature control effect, avoid temperature oscillation and hysteresis problems, and improve the accuracy of temperature control.
Smart Images

Figure CN2024074994_31102024_PF_FP_ABST
Abstract
Description
Air conditioner control method, air conditioner, and computer-readable storage medium
[0001] This application claims priority to Chinese patent application No. 202310485848.7 filed on April 28, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of air conditioning, and in particular to a method for controlling an air conditioner, an air conditioner, and a computer-readable storage medium. Background Art
[0003] In air conditioners that use the PID (Proportion Integral Differential) primary control theory, the basic principle of implementing air conditioning control is to construct a piecewise function based on temperature differences, temperature change rates, etc., then determine the temperature target for each time period during the air conditioning heating or cooling process based on the piecewise function, and combine it with a temperature prediction model to determine the control parameters for controlling the air conditioning operation.
[0004] However, because the air conditioner's heat load can vary due to factors like room size, new heat sources within the space, and changes in the number of people, this can lead to deviations between the actual temperature control effect and the target effect during actual temperature control. This can cause the actual temperature control curve to deviate from the preset piecewise function. This deviation accumulates as the air conditioner operates, ultimately causing the temperature control effect to deviate from expectations.
[0005] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Technical issues
[0006] The main purpose of this application is to provide an air conditioner control method, an air conditioner and a computer-readable storage medium, aiming to achieve the effect of reducing temperature control deviation and improving temperature control effect. Technical Solutions
[0007] To achieve the above objectives, the present application provides a method for controlling an air conditioner, the method comprising:
[0008] Determine the correction coefficient based on the temperature control deviation corresponding to the executed temperature control stage and the historical temperature control expectations;
[0009] Determining a temperature control expectation corresponding to the current temperature adjustment stage based on the temperature control curve, and adjusting the temperature control expectation according to the correction coefficient;
[0010] A target control parameter is determined according to the adjusted temperature control expectation, and the air conditioner operation is controlled according to the target control parameter.
[0011] In one embodiment, determining the correction coefficient according to the temperature control deviation corresponding to the executed temperature adjustment stage and the historical temperature control expectation includes:
[0012] The correction coefficient is determined according to the ratio of the temperature control deviation to the temperature control expectation.
[0013] In one embodiment, the executed temperature adjustment stage is a period between the start-up time of the air conditioner and the current time. Before determining the correction coefficient based on the temperature control deviation corresponding to the executed temperature adjustment stage and the historical temperature control expectation, the step further includes:
[0014] Determining the indoor temperature difference from the start-up time of the air conditioner to the current time;
[0015] determining the historical temperature control expectation based on the temperature control curve;
[0016] The temperature control deviation is determined according to the historical temperature control expectation and the indoor temperature difference.
[0017] In one embodiment, the step of determining the correction coefficient based on the temperature control deviation corresponding to the executed temperature adjustment stage and the historical temperature control expectation includes:
[0018] Get the historical correction coefficient corresponding to the last executed temperature adjustment segment;
[0019] Determining a correction value corresponding to the temperature adjustment stage based on the temperature control deviation corresponding to the last executed temperature adjustment stage and the historical temperature control expectation;
[0020] The correction coefficient is determined according to the historical correction coefficient and the correction value.
[0021] In one embodiment, the step of determining the correction coefficient according to the temperature control deviation and the temperature control expectation corresponding to the executed temperature adjustment stage includes:
[0022] Determining the correction value corresponding to each temperature adjustment stage according to the temperature control deviation corresponding to each executed temperature adjustment stage and the historical temperature control expectation;
[0023] The correction coefficient is determined according to each of the correction values.
[0024] In one embodiment, before the step of determining the correction coefficient based on the temperature control deviation corresponding to the executed temperature adjustment stage and the historical temperature control expectation, the step further includes:
[0025] Determine the start time and end time of the executed temperature adjustment phase, and the corresponding temperature change curve on the temperature control curve;
[0026] The historical temperature control expectation is determined according to the temperature change curve.
[0027] In one embodiment, the step of determining the temperature control expectation corresponding to the current temperature adjustment stage based on the temperature control curve and adjusting the temperature control expectation according to the correction coefficient includes:
[0028] Determining a target temperature control expectation according to the correction coefficient and the temperature control expectation;
[0029] The temperature control expectation is adjusted to the target temperature control expectation.
[0030] In one embodiment, the step of determining the temperature control expectation corresponding to the current temperature adjustment stage based on the temperature control curve and adjusting the temperature control expectation according to the correction coefficient includes:
[0031] When the correction coefficient is greater than a preset value, increasing the temperature control expectation;
[0032] When the correction coefficient is less than a preset value, the temperature control expectation is reduced.
[0033] In addition, to achieve the above-mentioned purpose, the present application also provides an air conditioner, which includes a memory, a processor, and an air conditioner control program stored on the memory and runnable on the processor. When the air conditioner control program is executed by the processor, the steps of the air conditioner control method described above are implemented.
[0034] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a control program for an air conditioner is stored. When the control program for the air conditioner is executed by a processor, the steps of the air conditioner control method as described above are implemented. Beneficial effects
[0035] The embodiments of the present application provide an air conditioner control method, air conditioner, and computer-readable storage medium. The method determines a correction coefficient based on the temperature control deviation corresponding to a previously executed temperature control stage and historical temperature control expectations. The method also determines the temperature control expectation corresponding to the current temperature control stage based on a temperature control curve and adjusts the temperature control expectation based on the correction coefficient. The method also determines a target control parameter based on the adjusted temperature control expectation and controls the operation of the air conditioner based on the target control parameter. In this manner, a correction coefficient is determined based on the existing temperature control deviation and historical temperature control expectations, and the temperature control expectation for the current temperature control stage is adjusted based on the correction coefficient. This corrects the impact of the existing temperature control deviation on the current temperature control stage, reduces the control deviation in the current temperature control stage, and improves the temperature control effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] FIG1 is a schematic diagram of a terminal structure of a hardware operating environment involved in an embodiment of the present application;
[0037] FIG2 is a flow chart of an embodiment of a method for controlling an air conditioner according to the present invention;
[0038] FIG3 is a flow chart of another embodiment of the air conditioner control method of the present application;
[0039] FIG4 is a schematic diagram of a temperature change condition involved in an embodiment of the present application;
[0040] FIG5 is a schematic diagram of another temperature change involved in an embodiment of the present application;
[0041] FIG6 is a schematic diagram of another temperature change involved in an embodiment of the present application.
[0042] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. Modes for Carrying Out the Invention
[0043] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0044] In the related art, due to some factors, there will be a deviation between the actual temperature adjustment effect and the target effect during the actual temperature control process. As the air conditioner runs, this deviation will gradually accumulate, and eventually the temperature adjustment effect of the air conditioner will not meet the expectations.
[0045] In order to improve the temperature control effect, the embodiments of the present application provide a control method for an air conditioner, an air conditioner, and a computer-readable storage medium, wherein the main steps of the method include:
[0046] Determine the correction coefficient based on the temperature control deviation corresponding to the executed temperature control stage and the historical temperature control expectations;
[0047] Determining a temperature control expectation corresponding to the current temperature adjustment stage based on the temperature control curve, and adjusting the temperature control expectation according to the correction coefficient;
[0048] A target control parameter is determined according to the adjusted temperature control expectation, and the air conditioner operation is controlled according to the target control parameter.
[0049] In this way, the correction coefficient is determined according to the temperature control deviation that has occurred and the historical temperature control expectations, and the temperature control expectations of the current temperature adjustment stage are adjusted based on the correction coefficient, thereby correcting the impact of the temperature control deviation that has occurred on the current temperature control stage, reducing the control deviation of the current temperature control stage, and thus improving the temperature control effect.
[0050] The content protected by the claims of this application is described in detail below with reference to the accompanying drawings.
[0051] As shown in FIG1 , FIG1 is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.
[0052] In the embodiment of the present application, the terminal may be an air conditioner.
[0053] As shown in Figure 1 , the terminal may include a processor 1001, such as a CPU, a memory 1003, and a communication bus 1002. Communication bus 1002 is used to enable communication between these components. Memory 1003 may be high-speed random access memory (RAM) or non-volatile memory (NVM), such as a disk drive. Memory 1003 may also be a storage device independent of processor 1001.
[0054] Those skilled in the art will understand that the terminal structure shown in FIG1 does not constitute a limitation on the terminal, and may include more or fewer components than shown, or a combination of certain components, or a different arrangement of components.
[0055] As shown in FIG1 , the memory 1003 as a computer storage medium may include an operating system and an air conditioner control program.
[0056] In the terminal shown in FIG1 , the processor 1001 may be configured to call the air conditioner control program stored in the memory 1003 and perform the following operations:
[0057] Determine the correction coefficient based on the temperature control deviation corresponding to the executed temperature control stage and the historical temperature control expectations;
[0058] Determining a temperature control expectation corresponding to the current temperature adjustment stage based on the temperature control curve, and adjusting the temperature control expectation according to the correction coefficient;
[0059] A target control parameter is determined according to the adjusted temperature control expectation, and the air conditioner operation is controlled according to the target control parameter.
[0060] Furthermore, the processor 1001 may call the air conditioner control program stored in the memory 1003 and perform the following operations:
[0061] The correction coefficient is determined according to the ratio of the temperature control deviation to the temperature control expectation.
[0062] Furthermore, the processor 1001 may call the air conditioner control program stored in the memory 1003 and perform the following operations:
[0063] Determining the indoor temperature difference from the start-up time of the air conditioner to the current time;
[0064] determining the historical temperature control expectation based on the temperature control curve;
[0065] The temperature control deviation is determined according to the historical temperature control expectation and the indoor temperature difference.
[0066] Furthermore, the processor 1001 may call the air conditioner control program stored in the memory 1003 and perform the following operations:
[0067] Get the historical correction coefficient corresponding to the last executed temperature adjustment segment;
[0068] Determining a correction value corresponding to the temperature adjustment stage based on the temperature control deviation corresponding to the last executed temperature adjustment stage and the historical temperature control expectation;
[0069] The correction coefficient is determined according to the historical correction coefficient and the correction value.
[0070] Furthermore, the processor 1001 may call the air conditioner control program stored in the memory 1003 and perform the following operations:
[0071] Determining the correction value corresponding to each temperature adjustment stage according to the temperature control deviation corresponding to each executed temperature adjustment stage and the historical temperature control expectation;
[0072] The correction coefficient is determined according to each of the correction values.
[0073] Furthermore, the processor 1001 may call the air conditioner control program stored in the memory 1003 and perform the following operations:
[0074] Determine the start time and end time of the executed temperature adjustment phase, and the corresponding temperature change curve on the temperature control curve;
[0075] The historical temperature control expectation is determined according to the temperature change curve.
[0076] Furthermore, the processor 1001 may call the air conditioner control program stored in the memory 1003 and perform the following operations:
[0077] Determining a target temperature control expectation according to the correction coefficient and the temperature control expectation;
[0078] The temperature control expectation is adjusted to the target temperature control expectation.
[0079] Furthermore, the processor 1001 may call the air conditioner control program stored in the memory 1003 and perform the following operations:
[0080] In one embodiment, the step of determining the temperature control expectation corresponding to the current temperature adjustment stage based on the temperature control curve and adjusting the temperature control expectation according to the correction coefficient includes:
[0081] When the correction coefficient is greater than a preset value, increasing the temperature control expectation;
[0082] When the correction coefficient is less than a preset value, the temperature control expectation is reduced.
[0083] The following examples illustrate the content protected by the claims of this application, so that those skilled in the art can better understand the scope of protection of the claims of this application. It should be understood that the following examples do not limit the scope of protection of this application, but are only used to explain this application.
[0084] For example, referring to FIG. 2 , in one embodiment of the air conditioner control method of the present application, the air conditioner control method includes the following steps:
[0085] Step S10: determining a correction coefficient based on the temperature control deviation corresponding to the executed temperature adjustment stage and the historical temperature control expectation;
[0086] In this embodiment, multiple temperature adjustment stages can be set during the temperature control process of the air conditioner. The temperature adjustment stages can be continuous or discontinuous, and the time intervals between the temperature adjustment stages can be the same or different. However, to simplify the operation and improve the consistency of temperature deviation correction, the temperature adjustment stages can be set at intervals of a preset period.
[0087] The air conditioner controls the temperature according to the temperature control curve. The temperature control curve represents the relationship between the target indoor temperature and time during the ideal temperature control process. Ideally, the indoor temperature change curve over time after the air conditioner is started coincides with the temperature control curve. That is, at any point in time during the air conditioner temperature control process, the indoor temperature is equal to the target indoor temperature. However, in reality, due to various factors, the actual indoor temperature curve may deviate from the target temperature curve, either above or below it, and this deviation may gradually increase. (See Figure 4.)
[0088] Before step S10, it is necessary to first obtain the temperature control deviation corresponding to the executed temperature control stage and the historical temperature control expectation corresponding to the executed temperature control stage. The temperature control deviation and the historical temperature control expectation can be determined by the actual temperature control result and the temperature control curve.
[0089] Temperature control deviation refers to the difference between the historical temperature control expectations and the actual temperature control results during this stage. It can be expressed by the difference between the target temperature difference and the actual temperature difference corresponding to the executed temperature control stage, or by the temperature difference corresponding to the end time of the executed temperature control stage, or by the difference between the temperature control curve and the actual temperature change curve.
[0090] Historical temperature control expectations refer to the target temperature control effect that you want to achieve in the temperature control stage that has been executed, determined based on the temperature control curve. It can be represented by the target temperature difference at the corresponding time point on the temperature control curve, or by the target indoor temperature corresponding to the start or end time of the temperature control stage, or by the temperature control curve corresponding to the temperature control stage.
[0091] Furthermore, a correction coefficient can be directly derived from the temperature control deviation. When correcting the desired temperature control, the correction coefficient can be added to the desired temperature control for the next temperature adjustment stage. However, this approach can result in low temperature control accuracy and can also cause problems such as temperature oscillation and lag, as shown in Figure 5.
[0092] Therefore, to improve temperature control accuracy and avoid issues like temperature oscillation and lag, a valuable reference factor—the historical temperature control expectation—must be incorporated. After obtaining the temperature control deviation and the historical temperature control expectation, a correction factor is determined based on these two factors. This correction factor can be determined by comparing the temperature control deviation with the historical temperature control expectation.
[0093] In one embodiment, the correction coefficient is determined according to a ratio of the temperature control deviation to the temperature control expectation.
[0094] The comparison method may be to calculate the ratio of the temperature control deviation to the historical temperature control expectation, and use the ratio as a correction coefficient.
[0095] The correction coefficient calculation formula can be r=(Δpred-Δtrue) / Δpred;
[0096] Or r=1+(Δpred-Δtrue) / Δpred;
[0097] Where r is the correction factor, Δpred is the historical temperature control expectation, Δtrue is the actual temperature control result, and Δpred - Δtrue is the control deviation. This formula can be used to calculate the correction factor in both cooling and heating modes.
[0098] By determining the correction coefficient based on the ratio of the temperature control deviation to the desired temperature, we can calculate the corrected desired temperature and add it to the desired temperature. This results in a smoother temperature control range after correction, as shown in Figure 6. This avoids problems such as temperature oscillation and hysteresis.
[0099] Take a specific scenario as an example:
[0100] When the user turns on the machine or adjusts the temperature, a temperature control curve is generated based on the indoor temperature, outdoor temperature, ambient humidity, and set temperature. The temperature curve is divided into N function segments with a period t as the interval, and the target temperature change corresponding to each period is determined. This target temperature change is the temperature control expectation.
[0101] When entering the current temperature adjustment stage cycle x, the control deviation (ΔT_pred-ΔT_true) of the X-1 cycle and the historical temperature control expectation (ΔT_pred) are determined, and the correction coefficient r is calculated: r=1+(ΔT_pred-ΔT_true) / ΔT_pred.
[0102] Where ΔT_pred is the target temperature change over the x-1 period, ΔT_true is the actual temperature change over the x-1 period, ΔT_pred-ΔT_true is the control deviation during the executed temperature adjustment phase, and ΔT_pred is the historical expected deviation. In cooling mode, both ΔT_pred and ΔT_true are less than 0; in heating mode, both ΔT_pred and ΔT_true are greater than 0.
[0103] For example, in cycle x-1, the target temperature drop ΔT_pred = -0.4°C, and the actual temperature drop ΔT_true = -0.2°C. This indicates that if temperature control deviates in cycle x-1, appropriate strengthening should be applied in the next cycle. The target coefficient r is calculated as r = 1 + (-0.4 + 0.2) / (-0.4) = 1.5. In cycle x, the target temperature drop ΔT_target = -0.3°C. The corrected target temperature drop is -0.3 * 1.5 = -0.45°C, indicating that the target temperature is strengthened in cycle x.
[0104] In one embodiment, step S10 may be started when or after entering the current temperature adjustment stage. Although the execution process takes a certain amount of time, the impact on the temperature control result can be ignored due to the fast calculation speed.
[0105] Step S20: determining a temperature control expectation corresponding to the current temperature adjustment stage based on the temperature control curve, and adjusting the temperature control expectation according to the correction coefficient;
[0106] In one embodiment, the temperature control expectation corresponding to the current temperature control stage is determined based on the temperature control curve, and the temperature control expectation corresponding to the current temperature control stage is adjusted based on a correction coefficient. A corresponding correction expectation can be determined based on the correction coefficient and the temperature control expectation corresponding to the current stage, and the adjusted target temperature control expectation can be determined based on the correction expectation and the temperature control expectation. The temperature control expectation can also be increased or decreased based on the magnitude of the correction coefficient.
[0107] Step S30: determining target control parameters according to the adjusted temperature control expectation, and controlling the operation of the air conditioner according to the target control parameters.
[0108] In one embodiment, after adjusting the desired temperature control value for the current temperature adjustment phase based on the correction coefficient, a target control parameter can be determined based on the adjusted desired temperature control value. A simulation algorithm or other method can be used to calculate the target control parameter that enables the air conditioner to achieve the desired temperature control value during the current temperature adjustment phase. The air conditioner can then be controlled based on the target control parameter during the current temperature adjustment phase. The target control parameter can be based on parameters that affect air conditioner operation, such as the set temperature, compressor frequency, and fan speed, to achieve the desired temperature control value during the current temperature adjustment phase.
[0109] In the solution disclosed in this embodiment, a correction coefficient is determined based on the temperature control deviation corresponding to the executed temperature control stage and the historical temperature control expectation. The temperature control expectation corresponding to the current temperature control stage is determined based on the temperature control curve, and the temperature control expectation is adjusted according to the correction coefficient. Target control parameters are determined based on the adjusted temperature control expectation, and the air conditioner operation is controlled according to the target control parameters. In this way, a correction coefficient is determined based on the existing temperature control deviation and the historical temperature control expectation, and the temperature control expectation of the current temperature control stage is adjusted based on the correction coefficient. This corrects the impact of the existing temperature control deviation on the current temperature control stage, reduces the control deviation of the current temperature control stage, and thus improves the temperature control effect.
[0110] Furthermore, step S20 includes:
[0111] Determining a target temperature control expectation according to the correction coefficient and the temperature control expectation;
[0112] The temperature control expectation is adjusted to the target temperature control expectation.
[0113] The target control expectation is determined based on the correction coefficient and the temperature control expectation. If the correction coefficient is determined based on the difference between the temperature control deviation and the historical temperature control expectation, the correction coefficient can be directly used as the correction expectation and added to the temperature control expectation to obtain the target temperature control expectation. If the correction coefficient is determined based on the difference between the temperature control deviation and the historical temperature control deviation, the correction expectation can be determined by multiplying the correction coefficient and the temperature control expectation. The target temperature control expectation is then determined based on the correction expectation and the temperature control expectation. The temperature control expectation corresponding to the current temperature adjustment stage is then adjusted to the target temperature control expectation.
[0114] Specifically, when the correction coefficient = temperature control deviation / historical temperature control expectation, the target temperature control expectation = target temperature control expectation + correction coefficient * target temperature control expectation; or when the correction coefficient = 1 + temperature control deviation / historical temperature control expectation, the correction coefficient = correction coefficient * target temperature control expectation.
[0115] This can accurately adjust the target temperature control expectations, further reduce temperature control deviations, and improve temperature control effects.
[0116] Furthermore, step S20 includes:
[0117] When the correction coefficient is greater than a preset value, increasing the temperature control expectation;
[0118] When the correction coefficient is less than a preset value, the temperature control expectation is reduced.
[0119] When adjusting the temperature control expectation, you can increase or decrease the temperature control expectation using a correction factor instead of setting the actual target temperature control expectation. If a deviation occurs during the temperature control process, the actual temperature control result will be greater than the temperature control expectation, or the actual temperature control result will be less than the temperature control expectation.
[0120] When temperature control deviation = actual temperature control result - historical temperature control expectation, the larger the deviation coefficient, the larger the actual temperature control result, indicating that the temperature control capability of the current cycle needs to be weakened, thus reducing the temperature control expectation, and vice versa. Therefore, when the correction coefficient is greater than the preset value, the temperature control expectation is reduced; when the correction coefficient is less than the preset value, the temperature control expectation is increased.
[0121] For example, if temperature control deviation = actual temperature control result - historical temperature control expectation, r = (ΔT_true - ΔT_pred) / ΔT_pred. Then, in the current temperature control cycle (current temperature control phase), if r > 0, it indicates that the control capability of the current temperature control cycle needs to be strengthened, and the target control expectation can be increased accordingly. If r < 0, it indicates that the capability of the current temperature control cycle needs to be weakened, and the target control expectation can be reduced accordingly.
[0122] When temperature control deviation = historical temperature control expectation - actual temperature control result, the larger the deviation coefficient, the smaller the actual temperature control result, indicating that the temperature control capability of the current cycle needs to be improved, thus increasing the temperature control expectation, and vice versa. Therefore, when the correction coefficient is greater than the preset value, the temperature control expectation is increased; when the correction coefficient is less than the preset value, the temperature control expectation is also increased.
[0123] For example, if temperature control deviation = historical temperature control expectation - actual temperature control result, r = 1 + (ΔT_pred - ΔT_true) / ΔT_pred. Then, in the current temperature control cycle (current temperature control phase), if r > 1, it indicates that the control capability of the current temperature control cycle needs to be strengthened, and the target control expectation can be increased accordingly. If r < 1, it indicates that the capability of the current temperature control cycle needs to be weakened, and the target control expectation can be reduced accordingly.
[0124] This allows you to quickly adjust temperature control expectations and improve temperature control effects.
[0125] Furthermore, before step S10, the method further includes:
[0126] Determine the start time and end time of the executed temperature adjustment phase, and the corresponding temperature change curve on the temperature control curve;
[0127] The historical temperature control expectation is determined according to the temperature change curve.
[0128] The temperature control curve is used to determine the temperature control expectations for each temperature control stage. The start and end times of the temperature control stage are determined as needed. Based on the start and end times, a portion of the temperature control curve is extracted from the temperature control curve to form a temperature change curve. This temperature change curve can be used to determine various parameters that can serve as temperature control expectations, such as the target indoor temperature difference, the target indoor temperature change rate, and the change in the target indoor temperature over time. The temperature change curve can also be used directly as the historical temperature control expectation. Similarly, to determine the historical temperature control expectation, the temperature change curve is extracted from the temperature control curve at the start and end times of the executed temperature control stage. The historical temperature control expectation can be determined based on the temperature change curve.
[0129] In this way, a variety of historical temperature control expectations can be obtained through the temperature change curve. The more types of temperature control expectations there are, the more types of control deviations can be determined, so that a better correction coefficient can be determined, further improving the reduction of temperature control deviations and improving temperature control effects.
[0130] Furthermore, the executed temperature adjustment stage is a time period between the start-up time of the air conditioner and the current time, and before step S10, the method further includes:
[0131] Determining the indoor temperature difference from the start-up time of the air conditioner to the current time;
[0132] determining the historical temperature control expectation based on the temperature control curve;
[0133] The temperature control deviation is determined according to the historical temperature control expectation and the indoor temperature difference.
[0134] The executed temperature adjustment stage is the time period between the start-up time of the air conditioner and the current time, and the temperature control deviation from the start-up time of the air conditioner to the current time is calculated. Specifically, the indoor temperature at the start-up time is recorded when the air conditioner is started, and a temperature control curve is generated. The deviation can then be adjusted at any time during the operation. Based on the recorded temperature at the start-up time and the current indoor temperature, the indoor temperature difference is determined, and the indoor temperature difference is used as the actual temperature control result. The target indoor temperature at the start-up time and the target indoor temperature corresponding to the current time are determined based on the temperature control curve. The target indoor temperature difference is determined based on the target indoor temperature at the start-up time and the target indoor temperature corresponding to the current time. The target indoor temperature difference is used as the historical temperature control expectation, and the temperature control deviation is determined based on the historical temperature control expectation and the indoor temperature difference.
[0135] For example, an air conditioner is controlled according to user A's temperature control curve. When the air conditioner starts, the temperature at startup is recorded. Each x-hour interval is considered a temperature control phase. Every x hours, the current indoor temperature is obtained. The target indoor temperature difference (temperature control expectation) for the current temperature control phase is determined based on user A's temperature control settings. The historical target indoor temperature difference (historical temperature control expectation) for the current temperature control phase is also determined. The indoor temperature difference (temperature control deviation) that has occurred during operation is determined based on the startup temperature and the current indoor temperature. A correction factor is calculated using the formula 1 + (historical target temperature difference - indoor temperature difference) / historical target temperature difference. The target indoor temperature difference for the current temperature control phase is then adjusted to the product of the correction factor and the target indoor temperature difference.
[0136] In this way, by taking into account the indoor temperature difference between the startup time and the current time, and considering the entire temperature control stage that has been running, a more accurate correction coefficient can be obtained, thereby reducing the temperature control deviation and improving the temperature control effect.
[0137] In one embodiment, referring to FIG. 3 , step S10 includes:
[0138] Step S11, obtaining the historical correction coefficient corresponding to the last executed temperature adjustment segment;
[0139] Step S12: determining a correction value corresponding to the temperature adjustment stage according to the temperature control deviation corresponding to the last executed temperature adjustment stage and the historical temperature control expectation;
[0140] Step S13: determining the correction coefficient according to the historical correction coefficient and the correction value.
[0141] In one embodiment, the air conditioner's operating process is divided into multiple temperature control stages, each requiring a corresponding correction coefficient. Because temperature control deviations increase with air conditioner operation, the correlation between multiple temperature control stages should be considered to determine a more accurate correction coefficient. Therefore, when determining the correction coefficient, the correction values determined in previously executed temperature control stages should be incorporated into the reference range for determining the correction coefficient for the current temperature control stage.
[0142] The historical correction coefficient corresponding to the last executed temperature adjustment stage is obtained, and then the correction value for the current temperature adjustment stage is calculated. The correction value for the current temperature adjustment stage can be determined based on the temperature control deviation corresponding to the last executed temperature adjustment stage and the historical temperature control expectation. The method for determining the correction value based on the temperature control deviation corresponding to the last executed temperature adjustment stage and the historical temperature control expectation can be the same as the method for determining the correction coefficient based on the temperature control deviation corresponding to the last executed temperature adjustment stage and the historical temperature control expectation in the previous embodiment, both of which are determined based on the temperature control deviation and the historical temperature control expectation.
[0143] Specifically, correction value = temperature control deviation / historical temperature control expectation, correction coefficient = correction value + correction value * historical correction coefficient; or correction value = 1 + temperature control deviation / historical temperature control expectation, correction coefficient = correction value * historical correction coefficient.
[0144] The air conditioner is controlled according to user B's temperature control curve, with each x-hour interval serving as a temperature control stage. Every x hours, the target indoor temperature difference (temperature control expectation) required for the current temperature control stage is determined based on user B's temperature control settings, as well as the historical target indoor temperature difference (historical temperature control expectation) of the air conditioner during the previous temperature control stage. Based on the indoor temperature difference (temperature control deviation) already generated during the previous temperature control stage, a correction value for the current temperature control stage is calculated using the formula 1 + (historical target temperature difference - indoor temperature difference) / historical target temperature difference. The correction coefficient for the previous temperature control stage is then obtained, and the product of the correction coefficient for the previous temperature control stage and the correction value for the current temperature control stage is used as the correction coefficient for the current temperature control stage. Finally, the target indoor temperature difference required for the current temperature control stage is adjusted to the product of the correction coefficient and the target indoor temperature difference. The correction coefficient for the current temperature control stage is the cumulative product of the correction values for each previously executed temperature control stage. Specifically, the correction value for period t1 is r1, r2 for t2, and rn for tn. Therefore, the correction value for period tn is r1*r2*...rn.
[0145] In this way, each correction coefficient is related to the correction value in the executed temperature adjustment stage, and fully takes into account the deviation correlation of the entire executed process, making the correction coefficient more accurate, thereby reducing the temperature control deviation and improving the temperature control effect.
[0146] Furthermore, in an alternative solution to this embodiment, step S10 includes:
[0147] Determining the correction value corresponding to each temperature adjustment stage according to the temperature control deviation corresponding to each executed temperature adjustment stage and the historical temperature control expectation;
[0148] The correction coefficient is determined according to each of the correction values.
[0149] In the current temperature control stage, the correction value corresponding to each executed temperature control stage is calculated based on the temperature control deviation corresponding to each executed temperature control stage and the historical temperature control expectation, and then the correction coefficient is determined. Similarly, by taking into account the correlation of the entire temperature control stage, a more accurate correction coefficient can be obtained. This does not require that the correlation of the entire temperature control stage be considered for each temperature control stage. Instead, the temperature control deviation is found and corrected based on the correlation of the entire temperature control stage in a certain temperature control stage, which can reduce computing costs and improve temperature control efficiency.
[0150] In addition, an embodiment of the present application also proposes an air conditioner, which includes a memory, a processor, and an air conditioner control program stored on the memory and runnable on the processor. When the air conditioner control program is executed by the processor, the steps of the air conditioner control method described in the above embodiments are implemented.
[0151] In addition, an embodiment of the present application further proposes a computer-readable storage medium, on which a control program for an air conditioner is stored. When the control program for the air conditioner is executed by a processor, the steps of the air conditioner control method described in the above embodiments are implemented.
[0152] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0153] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0154] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course, by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling the air conditioner to execute the methods described in each embodiment of the present application.
[0155] The above are merely optional embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for controlling an air conditioner, wherein: The control method of the air conditioner comprises: Determine the correction factor based on the temperature control deviation corresponding to the executed temperature control stage and the historical temperature control expectation; Determine the temperature control expectation corresponding to the current temperature adjustment stage based on the temperature control curve, and adjust the temperature control expectation according to the correction coefficient; A target control parameter is determined according to the adjusted temperature control expectation, and the air conditioner operation is controlled according to the target control parameter.
2. The method of claim 1, wherein: Determining the correction coefficient according to the temperature control deviation corresponding to the executed temperature adjustment stage and the historical temperature control expectation includes: The correction coefficient is determined according to the ratio of the temperature control deviation to the temperature control expectation.
3. The method of claim 1, wherein: The executed temperature adjustment stage is a time period between the start-up time of the air conditioner and the current time. Before the step of determining the correction coefficient according to the temperature control deviation corresponding to the executed temperature adjustment stage and the historical temperature control expectation, the step further includes: Determine the indoor temperature difference of the air conditioner from the start-up time to the current time; Determining the historical temperature control expectation based on the temperature control curve; The temperature control deviation is determined according to the historical temperature control expectation and the indoor temperature difference.
4. The method of claim 1, wherein: The step of determining the correction coefficient according to the temperature control deviation corresponding to the executed temperature adjustment stage and the historical temperature control expectation includes: Get the historical correction coefficient corresponding to the last executed temperature adjustment segment; Determine a correction value corresponding to the temperature adjustment stage according to a temperature control deviation corresponding to a previously executed temperature adjustment stage and a historical temperature control expectation; The correction coefficient is determined according to the historical correction coefficient and the correction value.
5. The method of claim 1, wherein: The step of determining the correction coefficient according to the temperature control deviation and the temperature control expectation corresponding to the executed temperature adjustment stage includes: Determine the correction value corresponding to each temperature adjustment stage according to the temperature control deviation corresponding to each executed temperature adjustment stage and the historical temperature control expectation; The correction coefficient is determined according to each of the correction values.
6. The method of claim 1, wherein: Before the step of determining the correction coefficient according to the temperature control deviation corresponding to the executed temperature adjustment stage and the historical temperature control expectation, the method further includes: Determine the start time and the end time of the executed temperature adjustment stage, and the corresponding temperature change curve on the temperature control curve; The historical temperature control expectation is determined according to the temperature change curve.
7. The method of claim 1, wherein: The step of determining the temperature control expectation corresponding to the current temperature adjustment stage based on the temperature control curve and adjusting the temperature control expectation according to the correction coefficient includes: Determining a target temperature control expectation according to the correction coefficient and the temperature control expectation; The temperature control expectation is adjusted to the target temperature control expectation.
8. The method of claim 1, wherein: The step of determining the temperature control expectation corresponding to the current temperature adjustment stage based on the temperature control curve and adjusting the temperature control expectation according to the correction coefficient includes: When the correction coefficient is greater than a preset value, increasing the temperature control expectation; When the correction coefficient is less than a preset value, the temperature control expectation is reduced.
9. An air conditioner, wherein: The air conditioner includes: a memory, a processor, and an air conditioner control program stored in the memory and executable on the processor. When the air conditioner control program is executed by the processor, the steps of the air conditioner control method as described in any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium, wherein: The computer-readable storage medium stores an air conditioner control program, and when the air conditioner control program is executed by the processor, the steps of the air conditioner control method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Air conditioner control method and device based on wearable equipment and air conditioner
CN106524407A
Air conditioner, and control method and control device of air conditioner
CN106642529A
Dynamic automatic control method for archival repository environment
CN109708281A
Air conditioner and control method and device thereof
CN111306727A
Sleep environment intelligent adjusting method and sleep environment adjusting system
CN113310194A
