Control method and device for energy-saving strategy of air conditioner, electronic equipment and storage medium

By combining preset air conditioning energy strategy, refrigeration capacity and load prediction model, the frequency regulation of air conditioning compressors is optimized, and the problem of insufficient accuracy of traditional air conditioning control strategies is solved, and the efficient energy saving and comfort balance of air conditioning is achieved.

CN118896375APending Publication Date: 2024-11-05GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411007111.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

While pursuing the comfort of air conditioners, traditional PID control methods often experience significant overshoot, resulting in insufficient control strategies and it is difficult to achieve the optimal balance of overshoot, comfort and energy consumption.

Method used

By obtaining the air conditioning control parameters, input the preset air conditioning energy strategy prediction model, refrigeration capacity prediction model and room load prediction model, output the control strategy, combine the air conditioning's refrigeration capacity and precise load estimation, optimize the compressor frequency regulation to achieve accuracy improvement.

Benefits of technology

It improves the accuracy of the control strategy, achieves the best balance of overshoot, comfort and economic parameters, and improves the energy-saving effect of the air conditioner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118896375A_ABST
    Figure CN118896375A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an air conditioner energy-saving strategy control method and device, electronic equipment and a medium, an air conditioner energy-saving strategy is obtained by inputting a first air conditioner control parameter into a preset air conditioner energy-saving strategy prediction model, and then the refrigerating capacity of an air conditioner is obtained by inputting a second air conditioner control parameter into a preset refrigerating capacity prediction model. And inputting the third air conditioner control parameter into a preset room load prediction model to obtain a predicted room load, and finally returning to the step of obtaining the first air conditioner control parameter at the next moment. The precision of the control strategy can be further improved by combining the refrigerating capacities of different air conditioners and precise estimation on the load, and therefore the optimal balance of parameters such as overshoot, comfort and economical efficiency is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air conditioning, and in particular to a control method, device, electronic equipment and storage medium for an air conditioning energy-saving strategy. Background Art

[0002] Energy-saving air conditioning control strategy is indeed a complex composite decision-making problem, which not only requires weighing performance indicators such as overshoot and comfort, but also must take energy consumption into consideration. Although the traditional PID control method provides a certain balance between overshoot and comfort, it often still has a significant overshoot phenomenon while pursuing comfort, resulting in inaccurate implementation of the control strategy. Summary of the invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a control method, device, electronic device and storage medium for an air conditioning energy-saving strategy that overcomes the above problems or at least partially solves the above problems.

[0004] In order to solve the above problems, an embodiment of the present invention discloses a control method for an air conditioning energy-saving strategy, the method comprising:

[0005] Acquire a first air conditioning control parameter, where the first air conditioning control parameter includes a target temperature, a current indoor temperature, an indoor temperature at a previous moment, a running time of the air conditioner after being set to the set target temperature, and a room load of the room where the air conditioner is located;

[0006] Inputting the first air conditioning control parameter into a preset air conditioning energy-saving strategy prediction model to obtain an air conditioning energy-saving strategy, wherein the air conditioning energy-saving strategy includes: a preset air conditioning action and a probability of executing the preset air conditioning action; the preset air conditioning action includes: increasing the compressor frequency to a first compressor frequency, decreasing the compressor frequency to a second compressor frequency, or maintaining the compressor frequency;

[0007] Controlling the air conditioner to execute a target preset air conditioning action with the highest probability;

[0008] Acquire a second air-conditioning control parameter, input the second air-conditioning control parameter into a preset cooling capacity prediction model, and obtain the cooling capacity of the air-conditioning; the second air-conditioning control parameter includes: a compressor frequency corresponding to a target preset air-conditioning action, a current indoor temperature, a current outdoor temperature, a current humidity, and the target temperature;

[0009] Acquire a third air conditioning control parameter, input the third air conditioning control parameter into a preset room load prediction model to obtain a predicted room load; the third air conditioning control parameter includes: the cooling capacity of the air conditioner, the current indoor temperature, the current outdoor temperature, the current humidity and the target temperature;

[0010] At the next moment, return to the step of obtaining the first air-conditioning control parameter.

[0011] Optionally, the preset air conditioning energy-saving strategy prediction model is trained in the following way:

[0012] Acquire a plurality of first air conditioning control parameter samples, wherein the first air conditioning control parameter samples include a target temperature sample, a current indoor temperature sample, a previous indoor temperature sample, a running time sample after the air conditioner is set to the set target temperature, and a room load sample of the room where the air conditioner is located;

[0013] Inputting a plurality of the first air conditioning control parameter samples into an initial air conditioning energy-saving strategy prediction model respectively to obtain an air conditioning energy-saving strategy, wherein the air conditioning energy-saving strategy includes: a preset air conditioning action and a probability of executing the preset air conditioning action; the preset air conditioning action includes: increasing the compressor frequency to a first compressor frequency, decreasing the compressor frequency to a second compressor frequency, or maintaining the compressor frequency; determining the execution probability and the compressor frequency corresponding to the target preset air conditioning action with the highest probability of execution of the air conditioning;

[0014] The initial air conditioning energy-saving strategy prediction model is trained according to a plurality of first air conditioning control parameter samples and the air conditioning energy-saving strategies corresponding to the plurality of first air conditioning control parameter samples.

[0015] Optionally, the multiple first air-conditioning control parameter samples include a first air-conditioning control parameter sample at a first moment and a first air-conditioning control parameter sample at a second moment, and the training of the initial air-conditioning energy-saving strategy prediction model according to the multiple first air-conditioning control parameter samples and the air-conditioning energy-saving strategies corresponding to the multiple first air-conditioning control parameter samples includes:

[0016] Input the target temperature, current indoor temperature, indoor temperature at the previous moment and operation time in the first air conditioning control parameter sample at the second moment into the preset value network to obtain a next state value function and a current state value function;

[0017] Constructing an advantage function according to the next state value function, the current state value function and a preset reward function;

[0018] According to the advantage function, the first air-conditioning control parameter sample at the first moment, the execution probability and compressor frequency corresponding to the target preset air-conditioning action at the first moment, the first air-conditioning control parameter sample at the second moment and the execution probability and compressor frequency corresponding to the target preset air-conditioning action at the second moment, the initial air-conditioning energy-saving strategy prediction model is trained to obtain the preset air-conditioning energy-saving strategy prediction model.

[0019] Optionally, constructing an advantage function according to the next state value function, the current state value function and a preset reward function includes:

[0020] The advantage function is as follows:

[0021] adv=r+γ*vv′

[0022] Among them, adv is the advantage function, r is the preset reward function, γ is the discount factor, v is the next state value function, and v′ is the current state value function.

[0023] Optionally, the preset reward function is as follows:

[0024]

[0025] Among them, t is the running time after setting the target temperature, q is the current indoor temperature, q′ is the indoor temperature at the previous moment, A is the indoor temperature when setting the target temperature, and B is the target temperature.

[0026] Optionally, the initial air conditioning energy-saving strategy prediction model is trained according to the advantage function, the first air conditioning control parameter sample at the first moment, the execution probability and compressor frequency corresponding to the target preset air conditioning action at the first moment, the first air conditioning control parameter sample at the second moment, and the execution probability and compressor frequency corresponding to the target preset air conditioning action at the second moment. Training the initial air conditioning energy-saving strategy prediction model includes:

[0027] The initial air conditioning energy-saving strategy prediction model is updated using the gradient method so that the advantage function converges to the following formula:

[0028] min(rat(t)adv,clip(rat(t),(1-ε,1+∈))adv)

[0029] Among them, rat(t) is the scaling factor and adv is the advantage function.

[0030] Optionally, the proportional factor is obtained by the following formula:

[0031]

[0032] Among them, π t The execution probability corresponding to the target preset air conditioning action, π t′ The execution probability corresponding to the preset air conditioning action of the previous moment, A t The compressor frequency corresponding to the target preset air conditioning action, A t′ The compressor frequency corresponding to the target preset air conditioning action at the previous moment, S tis the first air conditioning control parameter sample corresponding to the target preset air conditioning action, S t′ A first air-conditioning control parameter sample corresponding to the target preset air-conditioning action at the previous moment.

[0033] Optionally, the preset refrigeration capacity prediction model is trained according to the following method:

[0034] Acquire sample data of a refrigeration capacity prediction model, wherein the sample data of the refrigeration capacity prediction model includes indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples, internal and external fan speed samples, and compressor speed samples;

[0035] The initial refrigeration capacity prediction model is trained according to the sample data of the refrigeration capacity prediction model to obtain the preset refrigeration capacity prediction model.

[0036] Optionally, the preset room load prediction model is trained according to the following method:

[0037] Acquire sample data of a room load prediction model, wherein the sample data of the room load prediction model includes indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples, and cooling capacity samples of the air conditioner;

[0038] The initial room load prediction model is trained according to the sample data of the room load prediction model to obtain the preset room load prediction model.

[0039] Accordingly, an embodiment of the present invention discloses a control device for an air conditioning energy-saving strategy, the device comprising:

[0040] A first air conditioning control parameter acquisition module, used to acquire first air conditioning control parameters, wherein the first air conditioning control parameters include a target temperature, a current indoor temperature, an indoor temperature at a previous moment, a running time after the air conditioner is set to the set target temperature, and a room load of the room where the air conditioner is located;

[0041] an air conditioning energy-saving strategy determination module, configured to input the first air conditioning control parameter into a preset air conditioning energy-saving strategy prediction model to obtain an air conditioning energy-saving strategy, wherein the air conditioning energy-saving strategy includes: a preset air conditioning action and a probability of executing the preset air conditioning action; the preset air conditioning action includes: increasing the compressor frequency to a first compressor frequency, decreasing the compressor frequency to a second compressor frequency, or maintaining the compressor frequency;

[0042] A control execution module, used for controlling the air conditioner to execute a target preset air conditioning action with the highest probability;

[0043] a cooling capacity determination module, configured to obtain a second air-conditioning control parameter, input the second air-conditioning control parameter into a preset cooling capacity prediction model, and obtain the cooling capacity of the air-conditioning; the second air-conditioning control parameter includes: a compressor frequency corresponding to a target preset air-conditioning action, a current indoor temperature, a current outdoor temperature, a current humidity, and the target temperature;

[0044] A room load prediction module, used to obtain a third air conditioning control parameter, input the third air conditioning control parameter into a preset room load prediction model, and obtain the indoor temperature and room load at the next moment; the third air conditioning control parameter includes: the cooling capacity of the air conditioner, the current indoor temperature, the current outdoor temperature, the current humidity and the target temperature;

[0045] The loop module is used to return to the step of obtaining the first air-conditioning control parameter at the next moment.

[0046] Optionally, the device further includes: obtaining the preset air conditioning energy-saving strategy prediction model through training in the following manner:

[0047] A plurality of sample acquisition modules, used for acquiring a plurality of first air conditioning control parameter samples, wherein the first air conditioning control parameter samples include a target temperature sample, a current indoor temperature sample, a previous indoor temperature sample, a running time sample after the air conditioner is set to the set target temperature, and a room load sample of the room where the air conditioner is located;

[0048] A plurality of sample input modules are used to input a plurality of the first air conditioning control parameter samples into an initial air conditioning energy-saving strategy prediction model respectively to obtain an air conditioning energy-saving strategy, wherein the air conditioning energy-saving strategy includes: a preset air conditioning action and a probability of executing the preset air conditioning action; the preset air conditioning action includes: increasing the compressor frequency to a first compressor frequency, decreasing the compressor frequency to a second compressor frequency, or maintaining the compressor frequency; determining the execution probability and compressor frequency corresponding to the target preset air conditioning action with the highest probability of execution of the air conditioning;

[0049] The training module is used to train the initial air conditioning energy-saving strategy prediction model according to a plurality of first air conditioning control parameter samples and the air conditioning energy-saving strategies corresponding to the plurality of first air conditioning control parameter samples.

[0050] Optionally, the plurality of first air-conditioning control parameter samples include a first air-conditioning control parameter sample at a first moment and a first air-conditioning control parameter sample at a second moment, and the training module includes:

[0051] A state value function determination submodule, for inputting the target temperature, the current indoor temperature, the indoor temperature at the previous moment and the operating time in the first air conditioning control parameter sample at the second moment into a preset value network to obtain a next state value function and a current state value function;

[0052] An advantage function construction submodule, used to construct an advantage function according to the next state value function, the current state value function and a preset reward function;

[0053] A training submodule is used to train the initial air-conditioning energy-saving strategy prediction model according to the advantage function, the first air-conditioning control parameter sample at the first moment, the execution probability and compressor frequency corresponding to the target preset air-conditioning action at the first moment, the first air-conditioning control parameter sample at the second moment, and the execution probability and compressor frequency corresponding to the target preset air-conditioning action at the second moment, so as to obtain the preset air-conditioning energy-saving strategy prediction model.

[0054] Optionally, the advantage function construction submodule includes:

[0055] Advantage function construction unit, used for the advantage function is as follows:

[0056] adv=r+γ*vv′

[0057] Among them, adv is the advantage function, r is the preset reward function, γ is the discount factor, v is the next state value function, and v′ is the current state value function.

[0058] Optionally, the preset reward function in the advantage function construction submodule is as follows:

[0059]

[0060] Among them, t is the running time after setting the target temperature, q is the current indoor temperature, q′ is the indoor temperature at the previous moment, A is the indoor temperature when setting the target temperature, and B is the target temperature.

[0061] Optionally, the training submodule includes:

[0062] A training unit is used to update the initial air conditioning energy-saving strategy prediction model using a gradient method so that the advantage function converges to the following formula:

[0063] min(rat(t)adv,clip(rat(t),(1-ε,1+∈))adv)

[0064] Among them, rat(t) is the scaling factor and adv is the advantage function.

[0065] Optionally, the training unit includes:

[0066] The training subunit is used to obtain the scaling factor through the following formula:

[0067]

[0068] Among them, π t The execution probability corresponding to the target preset air conditioning action, π t, The execution probability corresponding to the preset air conditioning action of the previous moment, A t The compressor frequency corresponding to the target preset air conditioning action, A t′ The compressor frequency corresponding to the target preset air conditioning action at the previous moment, S t is the first air conditioning control parameter sample corresponding to the target preset air conditioning action, S t′ A first air-conditioning control parameter sample corresponding to the target preset air-conditioning action at the previous moment.

[0069] Optionally, the refrigeration capacity determination module includes: training a preset refrigeration capacity prediction model according to the following method:

[0070] A first sample data acquisition submodule is used to acquire sample data of a refrigeration capacity prediction model, wherein the sample data of the refrigeration capacity prediction model includes indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples, internal and external fan speed samples, and compressor speed samples;

[0071] The first training submodule is used to train the initial refrigeration capacity prediction model according to the sample data of the refrigeration capacity prediction model to obtain the preset refrigeration capacity prediction model.

[0072] Optionally, the room load prediction module includes: training the preset room load prediction model according to the following method:

[0073] A second sample data acquisition submodule is used to acquire sample data of a room load prediction model, wherein the sample data of the room load prediction model includes indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples, and cooling capacity samples of the air conditioner;

[0074] The second training submodule is used to train the initial room load prediction model according to the sample data of the room load prediction model to obtain the preset room load prediction model.

[0075] Correspondingly, an embodiment of the present invention discloses an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various steps of the control method embodiment of the above-mentioned air conditioning energy-saving strategy are implemented.

[0076] Accordingly, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various steps of the control method embodiment of the above-mentioned air conditioning energy-saving strategy are implemented.

[0077] The embodiments of the present invention include the following advantages:

[0078] The embodiment of the present invention obtains the air conditioning energy saving strategy by inputting the first air conditioning control parameter into a preset air conditioning energy saving strategy prediction model, then inputting the second air conditioning control parameter into a preset refrigeration capacity prediction model to obtain the refrigeration capacity of the air conditioner, inputting the third air conditioning control parameter into a preset room load prediction model to obtain the predicted room load, and finally returning to the step of obtaining the first air conditioning control parameter at the next moment. The embodiment of the present invention obtains the refrigeration capacity of the air conditioner through a preset refrigeration capacity prediction model, and obtains the predicted room load through a preset room load prediction model. By combining the refrigeration capacity of different air conditioners and accurate estimation of the load, the control strategy is output using the preset air conditioning energy saving strategy prediction model, which can further improve the accuracy of the control strategy, thereby achieving the best balance of parameters such as overshoot, comfort, and economy. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 is a flowchart of a control method for an air conditioning energy-saving strategy according to an embodiment of the present invention;

[0080] Figure 2 It is a schematic diagram of a simulation training of a preset air conditioning energy-saving strategy prediction model according to an embodiment of the present invention;

[0081] Figure 3 It is a structural block diagram of a control device for an air conditioning energy-saving strategy according to an embodiment of the present invention. DETAILED DESCRIPTION

[0082] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0083] Energy-saving air conditioning control strategy is indeed a complex composite decision-making problem, which not only requires weighing performance indicators such as overshoot and comfort, but also must take energy consumption into consideration. Although the traditional PID control method provides a certain balance between overshoot and comfort, it often still has a significant overshoot phenomenon while pursuing comfort, resulting in inaccurate implementation of the control strategy.

[0084] One of the core concepts of an embodiment of the present invention is to obtain the cooling capacity of the air conditioner through a preset cooling capacity prediction model, and to obtain the indoor temperature and room load at the next moment through a preset room load prediction model. By combining the cooling capacities of different air conditioners and accurate estimation of the load, a preset air conditioner energy-saving strategy prediction model is used to output a control strategy, which can further improve the accuracy of the control strategy and achieve the best balance of parameters such as overshoot, comfort, and economy.

[0085] Reference Figure 1 , shows a flow chart of a method for controlling an air conditioning energy-saving strategy according to an embodiment of the present invention, which may specifically include the following steps:

[0086] Step 101, obtaining first air conditioning control parameters, wherein the first air conditioning control parameters include target temperature, current indoor temperature, indoor temperature at the previous moment, operation time of the air conditioner after being set to the set target temperature, and room load of the room where the air conditioner is located.

[0087] Specifically, the target temperature is the temperature set after the air conditioner is turned on, the current indoor temperature is the indoor temperature at the current moment, the indoor temperature at the previous moment is relative to the current indoor temperature, and refers to the indoor temperature at the previous moment before the current moment. The operating time after the air conditioner is set to the target temperature refers to the time from the moment of the target temperature to the current moment, and the unit of time can be seconds.

[0088] The room load of the room where the air conditioner is located refers to the amount of cooling or heating that the room needs to obtain from the air conditioning system in a specific period of time to maintain the set temperature and humidity conditions. The size of the room load depends on many factors, including outdoor temperature, indoor and outdoor temperature difference, solar radiation, human activities, equipment operation, etc. The design and operation strategy of the air conditioning system will be adjusted according to the changes in the room load to ensure that the indoor environment can be effectively maintained under different conditions. Comfort level, while achieving energy-saving operation.

[0089] Step 102, input the first air-conditioning control parameter into a preset air-conditioning energy-saving strategy prediction model to obtain an air-conditioning energy-saving strategy, wherein the air-conditioning energy-saving strategy includes: a preset air-conditioning action and a probability of executing the preset air-conditioning action; the preset air-conditioning action includes: increasing the compressor frequency to a first compressor frequency, reducing the compressor frequency to a second compressor frequency, or maintaining at least one of the compressor frequencies.

[0090] Specifically, the first air-conditioning control parameter is input into the preset air-conditioning energy-saving strategy prediction model to obtain the air-conditioning energy-saving strategy. The action space of the preset air-conditioning is to increase the frequency, reduce the frequency, and remain unchanged. These three actions are all operations performed on the air-conditioning compressor. The preset air-conditioning energy-saving strategy prediction model will output the probability of executing each action in the action space and the frequency of the corresponding compressor.

[0091] Step 103, controlling the air conditioner to execute a target preset air conditioning action with the highest probability.

[0092] Specifically, the execution probabilities of the three actions of increasing the frequency, decreasing the frequency, and keeping it unchanged are compared, and the action with the highest execution probability is taken as the target preset air-conditioning action, and the compressor is regulated according to the target preset air-conditioning action. For example, if the execution probability of increasing the frequency is 70%, the execution probability of decreasing the frequency is 20%, and the execution probability of keeping it unchanged is 10%, then increasing the frequency is taken as the target preset air-conditioning action, and the air conditioner is controlled to increase the frequency of the compressor to the corresponding frequency value in the air-conditioning energy-saving strategy.

[0093] Step 104, obtain a second air-conditioning control parameter, input the second air-conditioning control parameter into a preset refrigeration capacity prediction model to obtain the refrigeration capacity of the air conditioner; the second air-conditioning control parameter includes: the compressor frequency corresponding to the target preset air-conditioning action, the current indoor temperature, the current outdoor temperature, the current humidity and the target temperature.

[0094] Specifically, the compressor frequency corresponding to the target preset air-conditioning action is the compressor frequency corresponding to the preset air-conditioning action with the highest probability output by the preset air-conditioning energy-saving strategy prediction model, the current indoor temperature is the indoor temperature at the current moment, and the indoor temperature will change with the time as the air-conditioning is adjusted, the current outdoor temperature is the outdoor temperature at the current moment, and the outdoor temperature generally does not change with the time, the current humidity refers to the humidity of the current room, the second air-conditioning control parameter is obtained, and the second air-conditioning control parameter is input into the preset refrigeration capacity prediction model to obtain the refrigeration capacity of the air-conditioning, that is, the refrigeration capacity of the air-conditioning under the environment corresponding to the second air-conditioning control parameter. Exemplarily, the refrigeration capacity of the air-conditioning can be measured by "cooling capacity", which refers to the amount of heat that the air-conditioning can remove from the room per unit time to maintain the set indoor temperature. Of course, the embodiments of the present invention do not limit the specific form of expression of the refrigeration capacity.

[0095] Step 105, obtain a third air conditioning control parameter, input the third air conditioning control parameter into a preset room load prediction model to obtain a predicted room load; the third air conditioning control parameter includes: the cooling capacity of the air conditioner, the current indoor temperature, the current outdoor temperature, the current humidity and the target temperature.

[0096] Specifically, the cooling capacity of the air conditioner refers to the cooling capacity of the air conditioner output by the preset cooling capacity prediction model, and the current indoor temperature, the current outdoor temperature, the current humidity and the target temperature are the same as those input into the preset cooling capacity prediction model. The third air conditioner control parameter is input into the preset room load prediction model to obtain the predicted room load.

[0097] Step 106, returning to the step of obtaining the first air-conditioning control parameter at the next moment.

[0098] Specifically, after obtaining the predicted room load, return to the step of obtaining the first air-conditioning control parameter. For the next moment, the predicted room load is used as the room load in the first air-conditioning control parameter. The current indoor temperature in the first air-conditioning control parameter obtained last time is used as the indoor temperature at the previous moment in the first air-conditioning control parameter. The current indoor temperature in the first air-conditioning control parameter is the actual current indoor temperature.

[0099] In the embodiment of the present invention, the first air conditioning control parameter is input into a preset air conditioning energy saving strategy prediction model to obtain an air conditioning energy saving strategy, and then the second air conditioning control parameter is input into a preset refrigeration capacity prediction model to obtain the refrigeration capacity of the air conditioner, and the third air conditioning control parameter is input into a preset room load prediction model to obtain a predicted room load, and finally at the next moment, the step of obtaining the first air conditioning control parameter is returned, and the predicted room load is used as the room load in the first air conditioning control parameter at the next moment, and the current indoor temperature in the first air conditioning control parameter is used as the indoor temperature at the previous moment in the first air conditioning control parameter at the next moment, and the current indoor temperature in the first air conditioning control parameter is the real current indoor temperature. In the embodiment of the present invention, the refrigeration capacity of the air conditioner is obtained by a preset refrigeration capacity prediction model, and the predicted room load is obtained by a preset room load prediction model. By combining the refrigeration capacity of different air conditioners and the accurate estimation of the load, the control strategy is output using the preset air conditioning energy saving strategy prediction model, so that the accuracy of the control strategy can be further improved, thereby achieving the best balance of parameters such as overshoot, comfort, and economy.

[0100] Reference Figure 2 , showing a schematic diagram of a simulation training of a preset air conditioning energy-saving strategy prediction model according to an embodiment of the present invention. Specifically, the PPO-clip algorithm framework is used to train the air conditioning energy-saving strategy prediction model. The PPO-clip algorithm, which is called Proximal Policy Optimization with Clipping, is a policy optimization algorithm for reinforcement learning.

[0101] In the embodiment of the present invention, the preset air conditioning energy-saving strategy prediction model is trained in the following way:

[0102] Step 201, obtaining a plurality of first air conditioning control parameter samples, wherein the first air conditioning control parameter samples include a target temperature sample, a current indoor temperature sample, a previous indoor temperature sample, a running time sample after the air conditioner is set to the target temperature, and a room load sample of the room where the air conditioner is located;

[0103] Step 202, inputting a plurality of the first air conditioning control parameter samples into an initial air conditioning energy-saving strategy prediction model respectively to obtain a plurality of air conditioning energy-saving strategies, wherein the air conditioning energy-saving strategies include: a preset air conditioning action and a probability of executing the preset air conditioning action; the preset air conditioning action includes: increasing the compressor frequency to a first compressor frequency, decreasing the compressor frequency to a second compressor frequency, or maintaining the compressor frequency; determining the execution probability and the compressor frequency corresponding to the target preset air conditioning action with the highest probability of execution of the air conditioning;

[0104] Step 203: training the initial air conditioning energy-saving strategy prediction model according to a plurality of first air conditioning control parameter samples and the air conditioning energy-saving strategies corresponding to the plurality of first air conditioning control parameter samples.

[0105] Specifically, a plurality of first air-conditioning control parameter samples are obtained, and the sample data can come from the operating data of the real air-conditioning and the sampling of the room status. Then, the plurality of first air-conditioning control parameter samples are respectively input into the initial air-conditioning energy-saving strategy prediction model to obtain a plurality of air-conditioning energy-saving strategies. Then, according to the plurality of first air-conditioning control parameter samples and the air-conditioning energy-saving strategies corresponding to the plurality of first air-conditioning control parameter samples, the initial air-conditioning energy-saving strategy prediction model is trained to obtain a preset air-conditioning energy-saving strategy prediction model, wherein the initial air-conditioning energy-saving strategy prediction model can adopt a fully connected layer neural network.

[0106] In the embodiment of the present invention, the plurality of first air conditioning control parameter samples include first air conditioning control parameter samples at a first moment and first air conditioning control parameter samples at a second moment. Step 203 trains the initial air conditioning energy-saving strategy prediction model according to the plurality of first air conditioning control parameter samples and the air conditioning energy-saving strategies corresponding to the plurality of first air conditioning control parameter samples, and may specifically include the following sub-steps:

[0107] Sub-step 2031, input the target temperature, current indoor temperature, indoor temperature at the previous moment and operating time in the first air-conditioning control parameter sample at the second moment into a preset value network to obtain a next state value function and a current state value function.

[0108] Specifically, multiple first air-conditioning control parameter samples include first air-conditioning control parameter samples at a first moment and first air-conditioning control parameter samples at a second moment. If the first moment is the current moment, then the second moment is the next moment of the current moment. If the second moment is the current moment, then the first moment is the previous moment of the current moment, that is, the first moment is the moment before the second moment.

[0109] The target temperature, current indoor temperature, indoor temperature at the previous moment and operating time in the first air-conditioning control parameter sample at the second moment are input into the preset value network to obtain the next state value function and the current state value function.

[0110] The value network is a neural network model used to evaluate the value of a state or action. The value network plays an important role in reinforcement learning, especially in value-based reinforcement learning methods and some policy-based reinforcement learning methods. The main function of the value network is to estimate the long-term return of taking an action or following a strategy in a given state.

[0111] Sub-step 2032, constructing an advantage function according to the next state value function, the current state value function and the preset reward function.

[0112] Specifically, an advantage function is constructed based on the next state value function, the current state value function and the preset reward function output by the preset value network.

[0113] Sub-step 2033, training the initial air-conditioning energy-saving strategy prediction model based on the advantage function, the first air-conditioning control parameter sample at the first moment, the execution probability and compressor frequency corresponding to the target preset air-conditioning action at the first moment, the first air-conditioning control parameter sample at the second moment, and the execution probability and compressor frequency corresponding to the target preset air-conditioning action at the second moment, to obtain the preset air-conditioning energy-saving strategy prediction model.

[0114] Specifically, after constructing the advantage function, the initial air conditioning energy saving strategy prediction model is trained and updated according to the advantage function, the first air conditioning control parameter sample at the first moment, the execution probability and compressor frequency corresponding to the target preset air conditioning action at the first moment, the first air conditioning control parameter sample at the second moment, and the execution probability and compressor frequency corresponding to the target preset air conditioning action at the second moment, to obtain the preset air conditioning energy saving strategy prediction model. Each time the temperature control is completed, the system is reset and the training is restarted. Each time the temperature control is completed, the time curve of the temperature change is drawn.

[0115] In the embodiment of the present invention, step 201 of acquiring a plurality of first air conditioning control parameter samples may specifically include the following sub-steps:

[0116] Sub-step 2011, obtain the first air-conditioning control parameter sample at the first moment, input the first air-conditioning control parameter sample at the first moment into the initial air-conditioning energy-saving strategy prediction model to obtain the air-conditioning energy-saving strategy at the first moment; determine the compressor frequency corresponding to the target preset air-conditioning action with the highest probability in the air-conditioning energy-saving strategy at the first moment.

[0117] Specifically, a first air-conditioning control parameter sample at the first moment is first obtained, and the first air-conditioning control parameter sample at the first moment is input into the initial air-conditioning energy-saving strategy prediction model to obtain the air-conditioning energy-saving strategy at the first moment, and then the compressor frequency corresponding to the target preset air-conditioning action with the highest probability in the air-conditioning energy-saving strategy at the first moment is determined, and the compressor frequency is regulated according to the compressor frequency corresponding to the target preset air-conditioning action with the highest probability through the simulation model.

[0118] Sub-step 2012, obtain the second air-conditioning control parameter sample at the first moment, input the second air-conditioning control parameter sample into the preset refrigeration capacity prediction model, and obtain the refrigeration capacity of the air conditioner; the second air-conditioning control parameter sample includes: the compressor frequency corresponding to the target preset air-conditioning action, the current indoor temperature sample, the current outdoor temperature sample, the current humidity sample and the target temperature sample.

[0119] Specifically, after determining the compressor frequency corresponding to the target preset air-conditioning action with the highest probability according to the output of the initial air-conditioning energy-saving strategy prediction model, a second air-conditioning control parameter sample at the first moment is obtained, wherein the compressor frequency corresponding to the target preset air-conditioning action in the second air-conditioning control parameter sample is the compressor frequency obtained in sub-step 2011, and then the second air-conditioning control parameter sample is input into the preset refrigeration capacity prediction model to obtain the refrigeration capacity of the air conditioner, that is, to predict the refrigeration capacity of the air conditioner under the state corresponding to the second air-conditioning control parameter sample.

[0120] Sub-step 2013, obtain the third air-conditioning control parameter sample at the first moment, input the third air-conditioning control parameter sample into the preset room load prediction model, and obtain the indoor temperature and room load at the next moment; the third air-conditioning control parameter sample includes: the cooling capacity of the air conditioner, the current indoor temperature sample, the current outdoor temperature sample, the current humidity sample and the target temperature sample.

[0121] Specifically, after obtaining the cooling capacity of the air conditioner, obtain the third air conditioning control parameter sample at the first moment, wherein the cooling capacity of the air conditioner in the third air conditioning control parameter sample is the cooling capacity of the air conditioner obtained in sub-step 2012, and input the three air conditioning control parameter samples into the preset room load prediction model to obtain the predicted indoor temperature and room load at the next moment, wherein the next moment in the indoor temperature at the next moment is the next moment relative to the first moment, and the next moment of the first moment is the second moment.

[0122] Sub-step 2014, obtaining the first air-conditioning control parameter sample at the second moment, and using the predicted indoor temperature at the next moment as the current indoor temperature sample in the first air-conditioning control parameter sample at the second moment, using the current indoor temperature sample in the first air-conditioning control parameter sample at the first moment as the previous moment indoor temperature sample in the first air-conditioning control parameter sample at the second moment, and using the predicted room load as the room load in the first air-conditioning control parameter sample at the second moment.

[0123] Specifically, after obtaining the predicted indoor temperature and room load at the next moment relative to the first moment, the first air-conditioning control parameter sample at the second moment is obtained, and the predicted indoor temperature at the next moment relative to the first moment is used as the current indoor temperature sample in the first air-conditioning control parameter sample at the second moment, the predicted room load is used as the room load in the first air-conditioning control parameter sample at the second moment, and the current indoor temperature sample in the first air-conditioning control parameter sample at the first moment is used as the indoor temperature sample at the previous moment in the first air-conditioning control parameter sample at the second moment.

[0124] In the embodiment of the present invention, sub-step 2032 constructs an advantage function according to the next state value function, the current state value function and the preset reward function, and may further include the following sub-steps:

[0125] The advantage function is as follows:

[0126] adv=r+γ*vv′

[0127] Among them, adv is the advantage function, r is the preset reward function, γ is the discount factor, v is the next state value function, and v′ is the current state value function.

[0128] In this embodiment of the present invention, the preset reward function is as follows:

[0129]

[0130] Among them, t is the running time after setting the target temperature, q is the current indoor temperature, q′ is the indoor temperature at the previous moment, A is the indoor temperature when setting the target temperature, and B is the target temperature.

[0131] Construct a reward function and output the reward value for training. Using this reward function can make the strategy converge quickly and stably, greatly reducing the number of simulations under the same conditions, and the strategy performance is relatively excellent.

[0132] In the embodiment of the present invention, sub-step 2033 trains the initial air conditioning energy-saving strategy prediction model according to the advantage function, the first air conditioning control parameter sample at the first moment, the execution probability and compressor frequency corresponding to the target preset air conditioning action at the first moment, the first air conditioning control parameter sample at the second moment, and the execution probability and compressor frequency corresponding to the target preset air conditioning action at the second moment. Training the initial air conditioning energy-saving strategy prediction model may specifically include the following sub-steps:

[0133] The initial air conditioning energy-saving strategy prediction model is updated using the gradient method so that the advantage function converges to the following formula:

[0134] min(rat(t)adv,clip(rat(t),(1-ε,1+∈))adv)

[0135] Among them, rat(t) is the scaling factor and adv is the advantage function.

[0136] Specifically, the goal of the convergence of the initial air-conditioning energy-saving strategy prediction model is to make the strategy probability converge to the above formula, and use the gradient method to update the initial air-conditioning energy-saving strategy prediction model, so that the advantage function converges to the above formula, thereby realizing the training of the initial air-conditioning energy-saving strategy prediction model and obtaining the preset air-conditioning energy-saving strategy prediction model. Exemplarily, the Adam stochastic gradient ascent algorithm can be used to maximize the advantage function of PPO-Clip to update the initial air-conditioning energy-saving strategy prediction model.

[0137] In the embodiment of the present invention, the proportional factor is obtained by the following formula:

[0138]

[0139] Among them, π t The execution probability corresponding to the target preset air conditioning action, π t, The execution probability corresponding to the preset air conditioning action of the previous moment, A t The compressor frequency corresponding to the target preset air conditioning action, A t′ The compressor frequency corresponding to the target preset air conditioning action at the previous moment, S t is the first air conditioning control parameter sample corresponding to the target preset air conditioning action, S t′ A first air-conditioning control parameter sample corresponding to the target preset air-conditioning action at the previous moment.

[0140] Specifically, S t′ The first air-conditioning control parameter sample corresponding to the target preset air-conditioning action at the previous moment is the state at the previous moment.

[0141] In the embodiment of the present invention, the preset refrigeration capacity prediction model is trained according to the following method:

[0142] Acquire sample data of a refrigeration capacity prediction model, wherein the sample data of the refrigeration capacity prediction model includes indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples, internal and external fan speed samples, and compressor speed samples;

[0143] The initial refrigeration capacity prediction model is trained according to the sample data of the refrigeration capacity prediction model to obtain the preset refrigeration capacity prediction model.

[0144] Specifically, the refrigeration capacity prediction model is used to predict the refrigeration capacity of the air conditioner. The refrigeration capacity prediction model can be built using multiple layers of fully connected layers. The purpose is to use limited inputs, such as: indoor temperature samples, outdoor temperature samples, humidity samples, internal and external fan speed samples, compressor speed samples, etc., to more perfectly fit the refrigeration capacity of the air conditioner in the corresponding environment. The sample data used for training can come from the sampling of the operating data of the real air conditioner.

[0145] In the embodiment of the present invention, the preset room load prediction model is trained according to the following method:

[0146] Acquire sample data of a room load prediction model, wherein the sample data of the room load prediction model includes indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples, and cooling capacity samples of the air conditioner;

[0147] The initial room load prediction model is trained according to the sample data of the room load prediction model to obtain the preset room load prediction model.

[0148] Specifically, similar to the training of the preset cooling capacity prediction model, according to the same method, a preset cooling capacity prediction model is built using multiple fully connected layers, and limited data is input into the preset cooling capacity prediction model, such as: indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples and air conditioner cooling capacity samples, so that the next moment room temperature and room load under the corresponding working conditions can be perfectly fitted. Among them, the cooling capacity samples of the air conditioner come from the output of the cooling capacity prediction model, and the sample data of the room model used for training can come from the data sampling of the real room state.

[0149] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0150] Reference Figure 3 , shows a structural block diagram of a control device for an air conditioning energy-saving strategy according to an embodiment of the present invention, which may specifically include the following modules:

[0151] A first air conditioning control parameter acquisition module 301 is used to acquire a first air conditioning control parameter, wherein the first air conditioning control parameter includes a target temperature, a current indoor temperature, a previous indoor temperature, a running time of the air conditioner after being set to the target temperature, and a room load of the room where the air conditioner is located;

[0152] The air conditioning energy-saving strategy determination module 302 is used to input the first air conditioning control parameter into a preset air conditioning energy-saving strategy prediction model to obtain an air conditioning energy-saving strategy, wherein the air conditioning energy-saving strategy includes: a preset air conditioning action and a probability of executing the preset air conditioning action; the preset air conditioning action includes: increasing the compressor frequency to a first compressor frequency, decreasing the compressor frequency to a second compressor frequency, or maintaining the compressor frequency;

[0153] A control execution module 303, used to control the air conditioner to execute a target preset air conditioning action with the highest probability;

[0154] The cooling capacity determination module 304 is used to obtain a second air conditioning control parameter, input the second air conditioning control parameter into a preset cooling capacity prediction model, and obtain the cooling capacity of the air conditioner; the second air conditioning control parameter includes: the compressor frequency corresponding to the target preset air conditioning action, the current indoor temperature, the current outdoor temperature, the current humidity and the target temperature;

[0155] The room load prediction module 305 is used to obtain a third air conditioning control parameter, input the third air conditioning control parameter into a preset room load prediction model, and obtain the indoor temperature and room load at the next moment; the third air conditioning control parameter includes: the cooling capacity of the air conditioner, the current indoor temperature, the current outdoor temperature, the current humidity and the target temperature;

[0156] The loop module 306 is used to return to the step of obtaining the first air-conditioning control parameter at the next moment.

[0157] The control device of the air conditioning energy saving strategy of the embodiment of the present invention obtains the air conditioning energy saving strategy by inputting the first air conditioning control parameter into the preset air conditioning energy saving strategy prediction model, then inputting the second air conditioning control parameter into the preset refrigeration capacity prediction model to obtain the refrigeration capacity of the air conditioner, inputting the third air conditioning control parameter into the preset room load prediction model to obtain the predicted room load, and finally returning to the step of obtaining the first air conditioning control parameter at the next moment. The embodiment of the present invention obtains the refrigeration capacity of the air conditioner through the preset refrigeration capacity prediction model, and obtains the predicted room load through the preset room load prediction model. By combining the refrigeration capacity of different air conditioners and the accurate estimation of the load, the control strategy is output using the preset air conditioning energy saving strategy prediction model, which can further improve the accuracy of the control strategy, thereby achieving the best balance of parameters such as overshoot, comfort, and economy.

[0158] In an embodiment of the present invention, the device further includes: obtaining the preset air conditioning energy-saving strategy prediction model through training in the following manner:

[0159] A plurality of sample acquisition modules, used for acquiring a plurality of first air conditioning control parameter samples, wherein the first air conditioning control parameter samples include a target temperature sample, a current indoor temperature sample, a previous indoor temperature sample, a running time sample after the air conditioner is set to the set target temperature, and a room load sample of the room where the air conditioner is located;

[0160] A plurality of sample input modules are used to input a plurality of the first air conditioning control parameter samples into an initial air conditioning energy-saving strategy prediction model respectively to obtain an air conditioning energy-saving strategy, wherein the air conditioning energy-saving strategy includes: a preset air conditioning action and a probability of executing the preset air conditioning action; the preset air conditioning action includes: increasing the compressor frequency to a first compressor frequency, decreasing the compressor frequency to a second compressor frequency, or maintaining the compressor frequency; determining the execution probability and compressor frequency corresponding to the target preset air conditioning action with the highest probability of execution of the air conditioning;

[0161] The training module is used to train the initial air conditioning energy-saving strategy prediction model according to a plurality of first air conditioning control parameter samples and the air conditioning energy-saving strategies corresponding to the plurality of first air conditioning control parameter samples.

[0162] In an embodiment of the present invention, the plurality of first air conditioning control parameter samples include a first air conditioning control parameter sample at a first moment and a first air conditioning control parameter sample at a second moment, and the training module includes:

[0163] A state value function determination submodule, for inputting the target temperature, the current indoor temperature, the indoor temperature at the previous moment and the operating time in the first air conditioning control parameter sample at the second moment into a preset value network to obtain a next state value function and a current state value function;

[0164] An advantage function construction submodule, used to construct an advantage function according to the next state value function, the current state value function and a preset reward function;

[0165] A training submodule is used to train the initial air-conditioning energy-saving strategy prediction model according to the advantage function, the first air-conditioning control parameter sample at the first moment, the execution probability and compressor frequency corresponding to the target preset air-conditioning action at the first moment, the first air-conditioning control parameter sample at the second moment, and the execution probability and compressor frequency corresponding to the target preset air-conditioning action at the second moment, so as to obtain the preset air-conditioning energy-saving strategy prediction model.

[0166] In the embodiment of the present invention, the advantage function construction submodule includes:

[0167] Advantage function construction unit, used for the advantage function is as follows:

[0168] adv=r+γ*vv′

[0169] Among them, adv is the advantage function, r is the preset reward function, γ is the discount factor, v is the next state value function, and v′ is the current state value function.

[0170] In an embodiment of the present invention, the preset reward function in the advantage function construction submodule is as follows:

[0171]

[0172] Among them, t is the running time after setting the target temperature, q is the current indoor temperature, q′ is the indoor temperature at the previous moment, A is the indoor temperature when setting the target temperature, and B is the target temperature.

[0173] In this embodiment of the present invention, the training submodule includes:

[0174] A training unit is used to update the initial air conditioning energy-saving strategy prediction model using a gradient method so that the advantage function converges to the following formula:

[0175] min(rat(t)adv,clip(rat(t),(1-ε,1+∈))adv)

[0176] Among them, rat(t) is the scaling factor and adv is the advantage function.

[0177] In an embodiment of the present invention, the training unit includes:

[0178] The training subunit is used to obtain the scaling factor through the following formula:

[0179]

[0180] Among them, π t The execution probability corresponding to the target preset air conditioning action, π t′ The execution probability corresponding to the preset air conditioning action of the previous moment, A t The compressor frequency corresponding to the target preset air conditioning action, A t′ The compressor frequency corresponding to the target preset air conditioning action at the previous moment, S t is the first air conditioning control parameter sample corresponding to the target preset air conditioning action, S t′ A first air-conditioning control parameter sample corresponding to the target preset air-conditioning action at the previous moment.

[0181] In an embodiment of the present invention, the refrigeration capacity determination module includes: training a preset refrigeration capacity prediction model according to the following method:

[0182] A first sample data acquisition submodule is used to acquire sample data of a refrigeration capacity prediction model, wherein the sample data of the refrigeration capacity prediction model includes indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples, internal and external fan speed samples, and compressor speed samples;

[0183] The first training submodule is used to train the initial refrigeration capacity prediction model according to the sample data of the refrigeration capacity prediction model to obtain the preset refrigeration capacity prediction model.

[0184] In an embodiment of the present invention, the module for determining the indoor temperature and room load at the next moment includes: obtaining the preset room load prediction model through training according to the following method:

[0185] A second sample data acquisition submodule is used to acquire sample data of a room load prediction model, wherein the sample data of the room load prediction model includes indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples, and cooling capacity samples of the air conditioner;

[0186] The second training submodule is used to train the initial room load prediction model according to the sample data of the room load prediction model to obtain the preset room load prediction model.

[0187] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0188] An embodiment of the present invention further provides an electronic device, including:

[0189] It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various processes of the control method embodiment of the above-mentioned air-conditioning energy-saving strategy are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0190] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the control method embodiment of the above-mentioned air conditioning energy-saving strategy are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0191] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0192] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0193] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0194] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0195] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0196] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0197] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0198] The control method, device, electronic device and storage medium of an air conditioning energy-saving strategy provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A control method for an air conditioning energy-saving strategy, characterized in that: The method comprises: Acquire a first air conditioning control parameter, where the first air conditioning control parameter includes a target temperature, a current indoor temperature, an indoor temperature at a previous moment, a running time of the air conditioner after being set to the set target temperature, and a room load of the room where the air conditioner is located; Inputting the first air conditioning control parameter into a preset air conditioning energy-saving strategy prediction model to obtain an air conditioning energy-saving strategy, wherein the air conditioning energy-saving strategy includes: a preset air conditioning action and a probability of executing the preset air conditioning action; the preset air conditioning action includes: increasing the compressor frequency to a first compressor frequency, decreasing the compressor frequency to a second compressor frequency, or maintaining the compressor frequency; Controlling the air conditioner to execute a target preset air conditioning action with the highest probability; Acquire a second air-conditioning control parameter, input the second air-conditioning control parameter into a preset cooling capacity prediction model, and obtain the cooling capacity of the air-conditioning; the second air-conditioning control parameter includes: a compressor frequency corresponding to a target preset air-conditioning action, a current indoor temperature, a current outdoor temperature, a current humidity, and the target temperature; Acquire a third air conditioning control parameter, input the third air conditioning control parameter into a preset room load prediction model to obtain a predicted room load; the third air conditioning control parameter includes: the cooling capacity of the air conditioner, the current indoor temperature, the current outdoor temperature, the current humidity and the target temperature; At the next moment, return to the step of obtaining the first air-conditioning control parameter.

2. The method according to claim 1, characterized in that The preset air conditioning energy-saving strategy prediction model is trained in the following way: Acquire a plurality of first air conditioning control parameter samples, wherein the first air conditioning control parameter samples include a target temperature sample, a current indoor temperature sample, a previous indoor temperature sample, a running time sample after the air conditioner is set to the set target temperature, and a room load sample of the room where the air conditioner is located; Inputting a plurality of the first air conditioning control parameter samples into an initial air conditioning energy-saving strategy prediction model respectively to obtain a plurality of air conditioning energy-saving strategies, wherein the air conditioning energy-saving strategies include: a preset air conditioning action and a probability of executing the preset air conditioning action; the preset air conditioning action includes: increasing the compressor frequency to a first compressor frequency, decreasing the compressor frequency to a second compressor frequency, or maintaining the compressor frequency; determining the execution probability and the compressor frequency corresponding to the target preset air conditioning action with the highest probability of executing the air conditioning; The initial air conditioning energy-saving strategy prediction model is trained according to a plurality of first air conditioning control parameter samples and the air conditioning energy-saving strategies corresponding to the plurality of first air conditioning control parameter samples.

3. The method according to claim 2, characterized in that The plurality of first air conditioning control parameter samples include a first air conditioning control parameter sample at a first moment and a first air conditioning control parameter sample at a second moment, and the training of the initial air conditioning energy-saving strategy prediction model according to the plurality of first air conditioning control parameter samples and the air conditioning energy-saving strategies corresponding to the plurality of first air conditioning control parameter samples includes: Input the target temperature, current indoor temperature, indoor temperature at the previous moment and operation time in the first air conditioning control parameter sample at the second moment into the preset value network to obtain a next state value function and a current state value function; Constructing an advantage function according to the next state value function, the current state value function and a preset reward function; According to the advantage function, the first air-conditioning control parameter sample at the first moment, the execution probability and compressor frequency corresponding to the target preset air-conditioning action at the first moment, the first air-conditioning control parameter sample at the second moment and the execution probability and compressor frequency corresponding to the target preset air-conditioning action at the second moment, the initial air-conditioning energy-saving strategy prediction model is trained to obtain the preset air-conditioning energy-saving strategy prediction model.

4. The method according to claim 3, characterized in that The constructing an advantage function according to the next state value function, the current state value function and a preset reward function comprises: The advantage function is as follows: adv=r+γ*vv′ Among them, adv is the advantage function, r is the preset reward function, γ is the discount factor, v is the next state value function, and v′ is the current state value function.

5. The method according to claim 3, characterized in that: The preset reward function is as follows: Among them, t is the running time after setting the target temperature, q is the current indoor temperature, q′ is the indoor temperature at the previous moment, A is the indoor temperature when setting the target temperature, and B is the target temperature.

6. The method according to claim 3, characterized in that: The initial air conditioning energy-saving strategy prediction model is trained according to the advantage function, the first air conditioning control parameter sample at the first moment, the execution probability and the compressor frequency corresponding to the target preset air conditioning action at the first moment, the first air conditioning control parameter sample at the second moment, and the execution probability and the compressor frequency corresponding to the target preset air conditioning action at the second moment. The training of the initial air conditioning energy-saving strategy prediction model includes: The initial air conditioning energy-saving strategy prediction model is updated using the gradient method so that the advantage function converges to the following formula: min(rat(t)adv,clip(rat(t),(1-ε,1+∈))adv) Among them, at(t) is the scale factor and adv is the advantage function.

7. The method according to claim 6, characterized in that The proportional factor is obtained by the following formula: Among them, π t The execution probability corresponding to the target preset air conditioning action, π t′ The execution probability corresponding to the preset air conditioning action of the previous moment, A t The compressor frequency corresponding to the target preset air conditioning action, A t′ The compressor frequency corresponding to the target preset air conditioning action at the previous moment, S t is the first air conditioning control parameter sample corresponding to the target preset air conditioning action, S t′ A first air-conditioning control parameter sample corresponding to the target preset air-conditioning action at the previous moment.

8. The method according to claim 1, characterized in that The preset refrigeration capacity prediction model is trained according to the following method: Acquire sample data of a refrigeration capacity prediction model, wherein the sample data of the refrigeration capacity prediction model includes indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples, internal and external fan speed samples, and compressor speed samples; The initial refrigeration capacity prediction model is trained according to the sample data of the refrigeration capacity prediction model to obtain the preset refrigeration capacity prediction model.

9. The method according to claim 1, characterized in that: The preset room load prediction model is trained according to the following method: Acquire sample data of a room load prediction model, wherein the sample data of the room load prediction model includes indoor temperature samples, outdoor temperature samples, humidity samples, target temperature samples, and cooling capacity samples of the air conditioner; The initial room load prediction model is trained according to the sample data of the room load prediction model to obtain the preset room load prediction model.

10. A control device for air conditioning energy saving strategy, characterized in that: The device comprises: A first air conditioning control parameter acquisition module, used to acquire first air conditioning control parameters, wherein the first air conditioning control parameters include a target temperature, a current indoor temperature, an indoor temperature at a previous moment, a running time after the air conditioner is set to the set target temperature, and a room load of the room where the air conditioner is located; an air conditioning energy-saving strategy determination module, configured to input the first air conditioning control parameter into a preset air conditioning energy-saving strategy prediction model to obtain an air conditioning energy-saving strategy, wherein the air conditioning energy-saving strategy includes: a preset air conditioning action and a probability of executing the preset air conditioning action; the preset air conditioning action includes: increasing the compressor frequency to a first compressor frequency, decreasing the compressor frequency to a second compressor frequency, or maintaining the compressor frequency; A control execution module, used for controlling the air conditioner to execute a target preset air conditioning action with the highest probability; a cooling capacity determination module, configured to obtain a second air-conditioning control parameter, input the second air-conditioning control parameter into a preset cooling capacity prediction model, and obtain the cooling capacity of the air-conditioning; the second air-conditioning control parameter includes: a compressor frequency corresponding to a target preset air-conditioning action, a current indoor temperature, a current outdoor temperature, a current humidity, and the target temperature; A room load prediction module, used to obtain a third air conditioning control parameter, input the third air conditioning control parameter into a preset room load prediction model, and obtain the indoor temperature and room load at the next moment; the third air conditioning control parameter includes: the cooling capacity of the air conditioner, the current indoor temperature, the current outdoor temperature, the current humidity and the target temperature; The loop module is used to return to the step of obtaining the first air-conditioning control parameter at the next moment.

11. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the control method of the air conditioning energy-saving strategy as described in any one of claims 1 to 9 are implemented.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the control method of the air-conditioning energy-saving strategy as claimed in any one of claims 1 to 9 are implemented.

Citation Information

Cited By

  • Air conditioner control method and device, medium and air conditioner

    CN121474667A

  • Intelligent liquid storage system for energy-saving air conditioner

    CN122881280A