Air conditioner control method, device, and computer-readable storage medium
By predicting and adjusting the compressor frequency of the air conditioner, and calculating compensation parameters based on the predicted and expected temperature results, the problem of inaccurate temperature control of the air conditioner is solved, achieving more efficient temperature control and improving user comfort.
Patent Information
- Application Number
- PCT/CN2024/075008
- 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 temperature control of air conditioners, over-temperature, under-temperature or oscillation often occurs due to excessive initial control volume. The existing feedback control algorithm cannot quickly adjust to reach the set temperature.
By predicting the temperature adjustment results based on current operating data, determining the expected temperature adjustment results based on the expected temperature control curve, calculating compensation parameters, and adjusting the compressor frequency of the air conditioner to achieve accurate temperature control.
It improves the accuracy of air conditioner temperature control, avoids over-temperature, under-temperature oscillation, and improves user comfort and energy-saving effects.
Smart Images

Figure CN2024075008_31102024_PF_FP_ABST
Abstract
Description
Air conditioner control method, device and computer-readable storage medium
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 202310484286.4 filed on April 28, 2023, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the technical field of air conditioners, and in particular to a control method, device, and computer-readable storage medium for an air conditioner. Background Art
[0004] In order to make the temperature in the working space reach the set temperature, the compressor frequency control of the air conditioner mainly adopts the feedback control algorithm, which directly takes the error between the set temperature and the actual temperature to eliminate the error. Since the initial error between the set temperature and the actual temperature is large, the feedback control amount determined based on the error is large, so the temperature changes rapidly. If the error becomes smaller, the control amount needs to change accordingly, but the adjustment process of the control amount is slow and cannot be quickly adjusted to the control amount corresponding to the error. Often, the system behavior overshoots due to the initial control amount being too large, which will cause the air conditioner to overheat, underheat or oscillate.
[0005] Summary of the Invention
[0006] The main purpose of this application is to provide a control method, device and computer-readable storage medium for an air conditioner, aiming to solve the problem of how to improve the accuracy of temperature control of the air conditioner.
[0007] To achieve the above-mentioned purpose, the present application provides a method for controlling an air conditioner, the method comprising the following steps:
[0008] Predicting a predicted temperature adjustment result corresponding to a current temperature adjustment stage based on current operating data, and determining an expected temperature adjustment result corresponding to the current temperature adjustment stage according to an expected temperature control curve;
[0009] determining a compensation parameter according to a difference between the predicted temperature adjustment result and the expected temperature adjustment result;
[0010] The air conditioner is controlled to perform a temperature adjustment compensation action based on the compensation parameter.
[0011] In one embodiment, the step of predicting a predicted temperature adjustment result corresponding to the current temperature adjustment stage based on historical operation data includes:
[0012] Acquiring current operating data of the air conditioner, wherein the current operating data includes current environment information, current operating condition information, and user setting information;
[0013] Inputting the current operating data into the temperature control prediction model;
[0014] Obtain the predicted temperature adjustment result output by the temperature control expectation model.
[0015] In one embodiment, before the step of inputting the current operating data into the temperature control prediction model, the method further includes:
[0016] Acquiring historical operating data of the air conditioner within a preset time period, the historical operating data including historical environmental information, historical operating condition information, historical setting information, and historical temperature adjustment results;
[0017] The temperature control prediction model is trained based on the historical operating data.
[0018] In one embodiment, before the step of determining the expected temperature control result corresponding to the current temperature control stage according to the expected temperature control curve, the method further includes:
[0019] Acquiring initial operating data of the air conditioner, wherein the initial operating data includes initial environment information, initial operating condition information, and initial setting information;
[0020] Inputting the initial operation data into a temperature control curve generation model, wherein the temperature control curve generation model determines a time for reaching the temperature and operating based on the initial environment information, the initial operating condition information, and the initial setting information; and determining the expected temperature control curve based on the time for reaching the temperature and operating;
[0021] The expected temperature control curve output by the temperature control curve generation model is obtained.
[0022] In one embodiment, before the step of determining the expected temperature control result corresponding to the current temperature control stage according to the expected temperature control curve, the method further includes:
[0023] Get the initial indoor temperature, set temperature and time required to reach the temperature;
[0024] The expected temperature control curve is generated or determined based on the preset curve template information, the initial indoor temperature, the set temperature and the time required to reach the temperature.
[0025] In one embodiment, after the step of generating or determining the desired temperature control curve, the method further includes:
[0026] Receiving a preset operation instruction input by a user, wherein the preset operation instruction includes an operation instruction of dragging a curve;
[0027] The desired temperature control curve is adjusted based on the preset operating instructions.
[0028] In one embodiment, after the step of controlling the air conditioner to perform the temperature adjustment compensation action based on the compensation parameter, the method further includes:
[0029] When the temperature control process includes multiple temperature control stages and the current temperature control stage ends, the next temperature control stage is taken as the current temperature control stage, and the process returns to execute the steps of predicting the predicted temperature control result corresponding to the current temperature control stage based on the current operating data, and determining the expected temperature control result corresponding to the current temperature control stage according to the expected temperature control curve, until the last temperature control stage of the temperature control process.
[0030] In one embodiment, the step of determining a compensation parameter according to the difference between the predicted temperature control result and the expected temperature control result includes:
[0031] Determine the correction coefficient corresponding to the current temperature adjustment stage;
[0032] A compensation parameter is determined according to the correction coefficient and the difference.
[0033] To achieve the above-mentioned purpose, the present application also provides a control device for an air conditioner, which includes a memory, a processor, and a control program for the air conditioner stored in the memory and executable on the processor. When the control program for the air conditioner is executed by the processor, the various steps of the control method for the air conditioner as described above are implemented.
[0034] To achieve the above objectives, the present application also provides a computer-readable storage medium, which stores a control program for an air conditioner. When the control program for the air conditioner is executed by a processor, the various steps of the air conditioner control method described above are implemented.
[0035] This application provides an air conditioner control method, device, and computer-readable storage medium. These methods predict a predicted temperature control result corresponding to the current temperature control stage based on current operating data, and determine an expected temperature control result corresponding to the current temperature control stage based on an expected temperature control curve. Compensation parameters are determined based on the difference between the predicted temperature control result and the expected temperature control result. The air conditioner is then controlled to perform temperature compensation based on the compensation parameters. This control, based on the compensation parameters, allows for more accurate temperature control during the current temperature control stage, preventing overheating, underheating, and oscillation. This improves user comfort and energy efficiency, thereby optimizing air conditioning control. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] FIG1 is a schematic diagram of the hardware structure of a control device for an air conditioner according to an embodiment of the present application;
[0037] FIG2 is a flow chart of a first embodiment of a method for controlling an air conditioner according to the present invention;
[0038] FIG3 is a schematic diagram of a desired temperature control curve of the air conditioner control method of the present application;
[0039] FIG4 is a detailed flowchart of step S10 of the second embodiment of the air conditioner control method of the present application;
[0040] FIG5 is a schematic diagram of a predicted temperature adjustment result corresponding to the current temperature adjustment stage of the air conditioner control method of the present application;
[0041] FIG6 is a flow chart of a third embodiment of a method for controlling an air conditioner according to the present application;
[0042] FIG7 is a flow chart of a fourth embodiment of a method for controlling an air conditioner according to the present application;
[0043] FIG8 is a flow chart of a desired temperature control curve of the air conditioner control method of the present application;
[0044] FIG9 is a flow chart of the latter embodiment of the control method of the air conditioner of the present application.
[0045] 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. DETAILED DESCRIPTION
[0046] 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.
[0047] The main solution of the embodiment of the present application is: predicting the predicted temperature control result corresponding to the current temperature control stage based on the current operating data, and determining the expected temperature control result corresponding to the current temperature control stage according to the expected temperature control curve; determining the compensation parameter according to the difference between the predicted temperature control result and the expected temperature control result; and controlling the air conditioner to perform the temperature control compensation action based on the compensation parameter.
[0048] Based on the compensation parameters, the temperature adjustment compensation action is performed on the air conditioner in the current temperature adjustment stage, so that the temperature control of the air conditioner in the current temperature adjustment stage is more accurate, avoiding overheating, underheating, oscillation and other phenomena, while improving user comfort and energy-saving experience, and optimizing the air conditioning control effect.
[0049] As an implementation solution, the control device of the air conditioner may be as shown in FIG1 .
[0050] The embodiment of the present application relates to a control device for an air conditioner, which includes a processor 101, such as a CPU, a memory 102, and a communication bus 103. The communication bus 103 is used to achieve connection and communication between these components.
[0051] Memory 102 can be a high-speed random access memory (RAM) or a non-volatile memory (NVM), such as a disk drive. As shown in FIG1 , memory 102 , a computer-readable storage medium, can include an air conditioner control program. Processor 101 can be configured to call the air conditioner control program stored in memory 102 and perform the following operations:
[0052] Predicting a predicted temperature adjustment result corresponding to a current temperature adjustment stage based on current operating data, and determining an expected temperature adjustment result corresponding to the current temperature adjustment stage according to an expected temperature control curve;
[0053] determining a compensation parameter according to a difference between the predicted temperature adjustment result and the expected temperature adjustment result;
[0054] The air conditioner is controlled to perform a temperature adjustment compensation action based on the compensation parameter.
[0055] In one embodiment, the processor 101 may be configured to call the air conditioner control program stored in the memory 102 and perform the following operations:
[0056] Acquiring current operating data of the air conditioner, wherein the current operating data includes current environment information, current operating condition information, and user setting information;
[0057] Inputting the current operating data into the temperature control prediction model;
[0058] Obtain the predicted temperature adjustment result output by the temperature control expectation model.
[0059] In one embodiment, the processor 101 may be configured to call the air conditioner control program stored in the memory 102 and perform the following operations:
[0060] Acquiring historical operating data of the air conditioner within a preset time period, the historical operating data including historical environmental information, historical operating condition information, historical setting information, and historical temperature adjustment results;
[0061] The temperature control prediction model is trained based on the historical operating data.
[0062] In one embodiment, the processor 101 may be configured to call the air conditioner control program stored in the memory 102 and perform the following operations:
[0063] Acquiring initial operating data of the air conditioner, wherein the initial operating data includes initial environment information, initial operating condition information, and initial setting information;
[0064] Inputting the initial operation data into a temperature control curve generation model, wherein the temperature control curve generation model determines a time for reaching the temperature and operating based on the initial environment information, the initial operating condition information, and the initial setting information; and determining the expected temperature control curve based on the time for reaching the temperature and operating;
[0065] The expected temperature control curve output by the temperature control curve generation model is obtained.
[0066] In one embodiment, the processor 101 may be configured to call the air conditioner control program stored in the memory 102 and perform the following operations:
[0067] Get the initial indoor temperature, set temperature and time required to reach the temperature;
[0068] The expected temperature control curve is generated or determined based on the preset curve template information, the initial indoor temperature, the set temperature and the time required to reach the temperature.
[0069] In one embodiment, the processor 101 may be configured to call the air conditioner control program stored in the memory 102 and perform the following operations:
[0070] Receiving a preset operation instruction input by a user, wherein the preset operation instruction includes an operation instruction of dragging a curve;
[0071] The desired temperature control curve is adjusted based on the preset operating instructions.
[0072] In one embodiment, the processor 101 may be configured to call the air conditioner control program stored in the memory 102 and perform the following operations:
[0073] When the temperature control process includes multiple temperature control stages and the current temperature control stage ends, the next temperature control stage is taken as the current temperature control stage, and the process returns to execute the steps of predicting the predicted temperature control result corresponding to the current temperature control stage based on the current operating data, and determining the expected temperature control result corresponding to the current temperature control stage according to the expected temperature control curve, until the last temperature control stage of the temperature control process.
[0074] In one embodiment, the processor 101 may be configured to call the air conditioner control program stored in the memory 102 and perform the following operations:
[0075] Determine the correction coefficient corresponding to the current temperature adjustment stage;
[0076] A compensation parameter is determined according to the correction coefficient and the difference.
[0077] Based on the hardware architecture of the above-mentioned air conditioner control device, an embodiment of the air conditioner control method of the present application is proposed.
[0078] 2 , which shows a first embodiment of a method for controlling an air conditioner according to the present invention, the method comprises the following steps:
[0079] Step S10 , predicting a predicted temperature adjustment result corresponding to the current temperature adjustment stage based on the current operating data, and determining an expected temperature adjustment result corresponding to the current temperature adjustment stage according to an expected temperature control curve.
[0080] In one embodiment, the current operating data refers to the operating data of the air conditioner during its current operation, and includes current environmental information, current operating condition information, and user-set information. In one embodiment, the current environmental information includes environmental information that affects the operation of the air conditioner, such as the indoor temperature Tin, the outdoor temperature Tout, and the indoor humidity Hin. In one embodiment, the current operating condition information includes operating condition information such as the indoor fan speed Win, the outdoor fan speed Wout, and the compressor frequency F. In one embodiment, the user-set parameters include parameters actively set by the user, such as the set temperature Tset and the set wind speed Wset.
[0081] In one embodiment, the current temperature adjustment stage may be a period in the temperature adjustment process of the air conditioner. The temperature adjustment process includes multiple temperature adjustment stages to ensure that the indoor temperature in the air conditioner's operating space reaches the set temperature. In one embodiment, the current temperature adjustment stage may be an independent temperature adjustment process. In one embodiment, the temperature adjustment process of the air conditioner includes multiple temperature adjustment stages. For example, the temperature adjustment process lasts 30 minutes, and there are 60 temperature adjustment stages, each of which lasts 30 seconds.
[0082] In one embodiment, the predicted temperature adjustment result may be a predicted temperature adjustment amount Δt1 or a predicted temperature value t1. In one embodiment, the expected temperature adjustment result may be a desired temperature adjustment amount Δt2 or a desired temperature value t2 after the desired change. Both the predicted temperature adjustment result and the expected temperature adjustment result are for the indoor temperature Tin within the air conditioner's operating space.
[0083] In one embodiment, the desired temperature control curve includes multiple temperature adjustment stages, and each temperature adjustment stage corresponds to a desired temperature adjustment result, as shown in FIG3 .
[0084] Step S20: determining a compensation parameter according to the difference between the predicted temperature adjustment result and the expected temperature adjustment result.
[0085] In one embodiment, the compensation parameter may be a control amount of the compressor frequency or a frequency control correction amount.
[0086] In one embodiment, when the predicted temperature adjustment result is the predicted temperature adjustment amount Δt1, and the expected temperature adjustment result is the expected temperature adjustment amount Δt2, the difference e between the expected temperature adjustment amount Δt2 and the predicted temperature adjustment amount Δt1 is determined, that is, e=Δt2-Δt1, and the compensation parameter is determined according to the difference.
[0087] In one embodiment, when the predicted temperature adjustment result is the predicted temperature value t1 and the expected temperature value after change t2, the difference e between the expected temperature value after change t2 and the predicted temperature value t1 is determined, that is, e=t2-t1, and the compensation parameter is determined according to the difference.
[0088] In one embodiment, the control increment correction coefficient k of the current temperature adjustment stage is determined, and the compensation parameter is determined according to the control increment correction coefficient k and the difference e. The frequency control correction amount is shown in the following formula: ΔH zi =k×e;
[0089] Where ΔH zi is the frequency control correction amount, k is the correction coefficient, and e is the difference between the predicted temperature adjustment amount Δt1 and the expected temperature adjustment amount Δt2.
[0090] In one embodiment, the control amount of the compressor frequency is expressed as follows: H zi =H zi-1 +ΔH zi ;
[0091] Among them, H zi The control quantity of the compressor frequency is based on H in the current temperature adjustment stage. zi Control the air conditioner compressor frequency. ΔH zi is the frequency control correction amount, H zi-1 It is the control value of the compressor frequency before the current temperature adjustment stage begins.
[0092] For example, for the current temperature adjustment stage, the expected actual temperature control output Δt1 = -0.3, the expected temperature control curve obtained Δt2 = -0.5, the difference e = Δt1-Δt2 = 0.2, if the control increment correction coefficient k = 16, then ΔH zi =16×0.2=3.2, the control value H of the compressor frequency before the start of the current temperature adjustment stage zi-1 =33, then the control value of the compressor frequency in the current temperature adjustment stage is H zi =36.2, which controls the air conditioner to increase the frequency of the compressor.
[0093] In one embodiment, step S20 includes: determining a correction coefficient corresponding to the current temperature adjustment stage; and determining a compensation parameter based on the correction coefficient and the difference. In one embodiment, the correction coefficient is pre-set. In one embodiment, the correction coefficient decreases as the number of cycles corresponding to the temperature adjustment stage increases during the temperature adjustment process. In one embodiment, the correction coefficient is generated by a model, and the correction coefficient may be different for each temperature adjustment stage.
[0094] Step S30: controlling the air conditioner to perform a temperature adjustment compensation action based on the compensation parameter.
[0095] In one embodiment, the temperature adjustment compensation action can be to control the frequency of the compressor to increase or decrease. In the cooling mode, the frequency of the compressor is controlled to increase, and in the current temperature adjustment stage, the indoor temperature in the air conditioner's working space decreases faster; the frequency of the compressor is controlled to decrease, and in the current temperature adjustment stage, the indoor temperature in the air conditioner's working space decreases slower.
[0096] In one embodiment, after step S30, it also includes: when the temperature adjustment process includes multiple temperature adjustment stages and the current temperature adjustment stage ends, the next temperature adjustment stage is used as the current temperature adjustment stage, and the process returns to step S10 until the last temperature adjustment stage of the temperature adjustment process, at which time the indoor temperature of the air conditioner working space reaches the set temperature.
[0097] In the technical solution of this embodiment, a predicted temperature control result corresponding to the current temperature control stage is predicted based on current operating data, and an expected temperature control result corresponding to the current temperature control stage is determined based on an expected temperature control curve. A compensation parameter is determined based on the difference between the predicted temperature control result and the expected temperature control result. The air conditioner is then controlled to perform temperature compensation based on the compensation parameter. This control of the air conditioner during the current temperature control stage based on the compensation parameter results in more accurate temperature control, avoiding overheating, underheating, and oscillation. This improves user comfort and energy efficiency, and optimizes air conditioning control.
[0098] 4 , which is a second embodiment of the air conditioner control method of the present application, based on the first embodiment, step S10 includes:
[0099] Step S11, obtaining current operating data of the air conditioner, wherein the current operating data includes current environment information, current operating condition information, and user setting information;
[0100] Step S12, inputting the current operating data into a temperature control prediction model;
[0101] Step S13: obtaining the predicted temperature control result output by the temperature control prediction model.
[0102] In one embodiment, a predicted temperature control result output by the temperature control prediction model is obtained. As shown in FIG5 , the predicted temperature control result in the current temperature control stage is Δt.
[0103] In one embodiment, current operating data of the air conditioner is acquired, and features of the current operating data are extracted based on a temperature control prediction model. The current operating data includes current environmental information, current operating condition information, and user-set information. In one embodiment, the current environmental information includes environmental information that affects the operation of the air conditioner, such as the indoor temperature Tin, the outdoor temperature Tout, and the indoor humidity Hin. In one embodiment, the current operating condition information includes operating condition information such as the indoor fan speed Win, the outdoor fan speed Wout, and the compressor frequency F. In one embodiment, the user-set parameters include parameters actively set by the user, such as the set temperature Tset and the set wind speed Wset.
[0104] In one embodiment, before step S11, the method further includes: obtaining historical operating data of the air conditioner within a preset time period, the historical operating data including historical environmental information, historical operating condition information, historical setting information, and historical temperature control results. In one embodiment, the historical environmental information includes environmental information that affects the operation of the air conditioner, such as the indoor temperature Tin, the outdoor temperature Tout, and the indoor humidity Hin. In one embodiment, the historical operating condition information includes operating condition information, such as the internal fan speed Win, the external fan speed Wout, and the compressor frequency F. In one embodiment, the historical setting parameters include user-set parameters, such as the set temperature Tset and the set wind speed Wset. In one embodiment, the historical temperature control results include the collected indoor temperature or indoor temperature change within the operating space. Based on the historical operating data, the temperature control prediction model is trained.
[0105] In one embodiment, the temperature control process of an air conditioner includes multiple temperature control stages. For example, the temperature control process lasts 30 minutes, with 60 temperature control stages, each lasting 30 seconds. Each temperature control stage corresponds to historical operating data. For example, in the i-th temperature control stage of the temperature control process, the historical operating data includes indoor temperature Tini = 27.6, outdoor temperature Touti = 34.3, indoor humidity Hini = 62, set temperature Tseti = 26..., and ΔTi = -0.2. The characteristics of the historical operating data are used as independent variables, and the historical temperature control results are used as dependent variables. A machine learning or deep learning algorithm is trained to obtain a temperature control prediction model. i (ΔT i )=f i (T ini ,T outi ,H ini ......)
[0106] In one embodiment, the temperature control prediction model can also be trained to predict other parameters, such as indoor humidity.
[0107] In the technical solution of this embodiment, the current operating data of the air conditioner is obtained, including current environmental information, current operating condition information, and user settings. This current operating data is input into a temperature control prediction model, and the predicted temperature control result output by the temperature control prediction model is obtained. Based on the predicted temperature control result of the current temperature control stage, the temperature change during the current temperature control stage is predicted to determine the compensation parameters for the current temperature control stage. Based on the compensation parameters, the air conditioner is controlled to perform temperature control compensation during the current temperature control stage. This makes the temperature control of the air conditioner during the current temperature control stage more accurate, avoids overheating, underheating, oscillation, and other phenomena, while improving user comfort and energy saving, and optimizing the air conditioning control effect.
[0108] 6 , which is a third embodiment of the air conditioner control method of the present application, based on the first or second embodiment, before step S10, the method further includes:
[0109] Step S40, acquiring initial operating data of the air conditioner, wherein the initial operating data includes initial environment information, initial operating condition information, and initial setting information;
[0110] Step S50: Inputting the initial operation data into a temperature control curve generation model, wherein the temperature control curve generation model determines a time required for reaching the desired temperature based on the initial environment information, the initial operating condition information, and the initial setting information; and determining the desired temperature control curve based on the time required for reaching the desired temperature.
[0111] Step S60: obtaining the desired temperature control curve output by the temperature control curve generation model.
[0112] In one embodiment, the initial operating data includes initial environmental information, initial operating condition information, and initial setting information. In one embodiment, the initial environmental information includes environmental information that affects air conditioner operation, such as the indoor temperature Tin, the outdoor temperature Tout, and the indoor humidity Hin. In one embodiment, the initial operating condition information includes operating condition information, such as the indoor fan speed Win, the outdoor fan speed Wout, and the compressor frequency F. In one embodiment, the initial setting parameters include user-defined parameters, such as the set temperature Tset and the set wind speed Wset. A temperature control curve generation model is trained based on the initial operating data.
[0113] In one embodiment, the temperature control curve generation model determines the time required to reach the desired temperature based on initial environmental information, initial operating condition information, and initial setting information; and then determines a desired temperature control curve based on the time required to reach the desired temperature. In one embodiment, the generated desired temperature control curve can be a linear curve, a dual-gradient acceleration curve, or other curves. The specific curve type can be determined based on user needs. For example, if the user needs comfort, a dual-gradient acceleration desired temperature control curve is used. For example, if the user needs rapid cooling, a linear desired temperature control curve is used.
[0114] Exemplarily, the initial operating data includes indoor temperature Tin=32, outdoor temperature Tout=34, set temperature Tset=26, etc. The initial operating data is input into the temperature control curve generation model to obtain the expected temperature control curve generated by the temperature control curve generation model.
[0115] In the technical solution of this embodiment, the initial operating data of the air conditioner is obtained, and the initial operating data includes initial environmental information, initial operating condition information and initial setting information; the initial operating data is input into the temperature control curve generation model; the expected temperature control curve output by the temperature control curve generation model is obtained to determine the compensation parameters of the current temperature adjustment stage, and the temperature adjustment compensation action is performed on the air conditioner in the current temperature adjustment stage based on the compensation parameters, so that the temperature control of the air conditioner in the current temperature adjustment stage is more accurate, avoiding overheating, underheating, oscillation and other phenomena, while improving user comfort and energy-saving experience, and optimizing the air conditioning control effect.
[0116] 7 , which is a fifth embodiment of the air conditioner control method of the present application, based on any one of the first to fourth embodiments, the method further includes before step S10:
[0117] Step S70, obtaining the initial indoor temperature, set temperature and time required to reach the temperature;
[0118] Step S80: Generate or determine the desired temperature control curve based on the preset curve template information, the initial indoor temperature, the set temperature, and the time required to reach the temperature.
[0119] In one embodiment, the preset curve template information includes curves such as linear and dual-gradient acceleration. As shown in FIG8 , the desired temperature control curve can be a variety of curve types. The specific curve type can be determined based on user needs. For example, if the user needs comfort, a dual-gradient acceleration desired temperature control curve is used. For example, if the user needs rapid cooling, a linear desired temperature control curve is used.
[0120] After step S80, the method further includes: receiving a preset operation instruction input by a user, wherein the preset operation instruction includes an operation instruction for dragging a curve, that is, the user drags the curve; and adjusting the desired temperature control curve based on the preset operation instruction.
[0121] In one embodiment, the indoor temperature Tin = 32, the outdoor temperature Tout = 34, the set temperature Tset = 26, etc., the desired temperature control curve is shown in FIG3 , and the temperature control curve specifies the desired indoor temperature to be achieved in each temperature adjustment stage, as shown in the following table:
[0122] In the technical solution of this embodiment, the initial indoor temperature, set temperature and time required to reach the temperature are obtained; based on the preset curve template information, the initial indoor temperature, the set temperature and the time required to reach the temperature, the expected temperature control curve is generated or determined to determine the compensation parameters of the current temperature adjustment stage, and the temperature adjustment compensation action is performed on the air conditioner in the current temperature adjustment stage based on the compensation parameters, so that the temperature control of the air conditioner in the current temperature adjustment stage is more accurate, avoiding overheating, underheating, oscillation and other phenomena, while improving user comfort and energy-saving experience, and optimizing the air conditioning control effect.
[0123] In one embodiment, referring to FIG9 , air conditioning operation data is collected and periodic features are extracted at specific intervals T, including environmental information, operating condition information, and user settings. Environmental information includes environmental information that affects air conditioning operation, such as indoor temperature Tin, outdoor temperature Tout, and indoor humidity Hin; operating condition information includes operating condition information such as the internal fan speed Win, the external fan speed Wout, and the compressor frequency F; user setting information includes parameters actively set by the user, such as the set temperature Tset and the set wind speed Wset; the temperature control expectation model is trained using the remaining features of the period T as independent variables and the temperature control expectation of the period T as the dependent variable. Each period T is treated as a piece of training data, including independent variables and dependent variables, wherein the independent variables include all features of the period except the temperature control expectation; the dependent variable includes the temperature control expectation ΔTi; the temperature control expectation model is trained using machine learning / deep learning algorithms.
[0124] For each control cycle T, or temperature adjustment phase, the actual temperature control output (ΔTreal) is measured and compared with the expected temperature control curve (ΔTexpect) to calculate the error e. The air conditioning frequency control correction for the current cycle is calculated by obtaining the control increment correction coefficient k, ΔHzi = k × e. The control variable Hzi is calculated as Hzi = Hzi-1 + ΔHzi. The air conditioning compressor frequency is then controlled based on the control variable Hzi. This control variable controls the air conditioner during the current temperature adjustment phase, ensuring more accurate temperature control, avoiding overheating, underheating, and oscillation. This improves user comfort and energy efficiency, and optimizes air conditioning control effectiveness.
[0125] The present application also provides a control device for an air conditioner, which includes a memory, a processor, and a control program for the air conditioner stored in the memory and executable on the processor. When the control program for the air conditioner is executed by the processor, the various steps of the control method for the air conditioner described in the above embodiment are implemented.
[0126] The present application also provides a computer-readable storage medium, which stores a control program for an air conditioner. When the control program for the air conditioner is executed by a processor, the various steps of the air conditioner control method described in the above embodiment are implemented.
[0127] 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.
[0128] 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, system, article, or device comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, system, article, or device. 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, system, article, or device comprising the element.
[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment system can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented 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 computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, parking management equipment, air conditioner, or network equipment, etc.) to execute the system described in each embodiment of the present application.
[0130] 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: Predicting a predicted temperature adjustment result corresponding to the current temperature adjustment stage based on the current operating data, and determining an expected temperature adjustment result corresponding to the current temperature adjustment stage according to an expected temperature control curve; Determining a compensation parameter according to a difference between the predicted temperature adjustment result and the expected temperature adjustment result; The air conditioner is controlled to perform a temperature adjustment compensation action based on the compensation parameter.
2. The control method of the air conditioner according to claim 1, wherein: The step of predicting the predicted temperature adjustment result corresponding to the current temperature adjustment stage based on the historical operation data includes: Acquiring current operating data of the air conditioner, wherein the current operating data includes current environment information, current operating condition information and user setting information; Inputting the current operating data into a temperature control prediction model; Obtain the predicted temperature adjustment result output by the temperature control prediction model.
3. The control method of the air conditioner according to claim 2, wherein: Before the step of inputting the current operation data into the temperature control expectation model, the method further includes: Acquiring historical operation data of the air conditioner within a preset time period, wherein the historical operation data includes historical environment information, historical operating condition information, historical setting information, and historical temperature adjustment results; The temperature control expectation model is trained based on the historical operation data.
4. The control method of the air conditioner according to claim 1, wherein: Before the step of determining the expected temperature control result corresponding to the current temperature control stage according to the expected temperature control curve, the method further includes: Acquiring initial operation data of the air conditioner, wherein the initial operation data includes initial environment information, initial operating condition information and initial setting information; Input the initial operation data into a temperature control curve generation model, wherein the temperature control curve generation model determines the operation time to reach the temperature based on the initial environment information, the initial operating condition information and the initial setting information; and determines the expected temperature control curve based on the operation time to reach the temperature; The expected temperature control curve output by the temperature control curve generation model is obtained.
5. The control method of the air conditioner according to claim 1, wherein: Before the step of determining the expected temperature control result corresponding to the current temperature control stage according to the expected temperature control curve, the method further includes: Get the initial indoor temperature, set temperature and time required to reach the temperature; The expected temperature control curve is generated or determined based on the preset curve template information, the initial indoor temperature, the set temperature and the time required to reach the temperature.
6. The control method of the air conditioner according to claim 5, wherein: After the step of generating or determining the desired temperature control curve, the method further includes: Receiving a preset operation instruction input by a user, wherein the preset operation instruction includes an operation instruction of dragging a curve; The desired temperature control curve is adjusted based on the preset operation instruction.
7. The control method of the air conditioner according to claim 1, wherein: After the step of controlling the air conditioner to perform the temperature adjustment compensation action based on the compensation parameter, the method further includes: When the temperature control process includes multiple temperature control stages and when the current temperature control stage ends, the next temperature control stage is taken as the current temperature control stage, and the steps of predicting the predicted temperature control result corresponding to the current temperature control stage based on the current operating data and determining the expected temperature control result corresponding to the current temperature control stage according to the expected temperature control curve are returned to execute until the last temperature control stage of the temperature control process.
8. The control method of an air conditioner according to claim 1, wherein: The step of determining a compensation parameter according to the difference between the predicted temperature adjustment result and the expected temperature adjustment result comprises: Determine the correction coefficient corresponding to the current temperature adjustment stage; A compensation parameter is determined according to the correction coefficient and the difference.
9. A control device for an air conditioner, wherein: The control device of the air conditioner includes a memory, a processor, and a control program of the air conditioner stored in the memory and executable on the processor. When the control program of the air conditioner is executed by the processor, the various steps of the control method of the air conditioner 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 a control program of the air conditioner, and when the control program of the air conditioner is executed by the processor, each step of the control method of the air conditioner as claimed in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Method and device for controlling heat pump
CN108061413A
Control method and device of air equipment, storage medium and electronic device
CN112128948A
Air conditioning system control method and temperature reaching time prediction model training method and device
CN112762576A
Air conditioner control method and system based on edge calculation and server
CN115435457A
Air conditioner control method and device, processor and air conditioner system
CN115597203A
