Regulation and control method and device for air conditioner in machine room, computer equipment and storage medium

Through reinforcement learning algorithms and DDPG optimization, combined with expert experience and historical data, intelligent regulation of the computer room air conditioning system is achieved, which solves the problems of energy waste and inefficiency, improves control flexibility and energy utilization efficiency, and provides safety in abnormal situations. Protect.

CN118897588APending Publication Date: 2024-11-05CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing air conditioning system regulation methods of machine room are prone to waste of energy, inefficiency, lack of adaptability, and cannot be applied to different operating environments and load needs.

Method used

Using reinforcement learning algorithms, using expert experience data and historical data training models, realize intelligent learning and adaptive adjustment of air conditioning systems, optimize the DDPG algorithm by defining state space, action space and reward space, improve control flexibility and accuracy , and introduces a threshold protection mechanism for temperature setting and power switch operation.

Benefits of technology

The air conditioning system has independently adjusted the control strategy according to different operating conditions, minimized energy consumption, improved energy utilization efficiency, and ensured the normal operation of the air conditioner under abnormal conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897588A_ABST
    Figure CN118897588A_ABST
Patent Text Reader

Abstract

The invention discloses a machine room air conditioner regulation and control method and device, computer equipment and a storage medium, and relates to the technical field of machine room air conditioner regulation and control. The method comprises the following steps: acquiring data in an experience playback buffer area; and in response to the situation that the regulation and control historical data of the first machine room air conditioner does not exist in the data in the experience playback buffer area, expert experience data of the first machine room are obtained, and a first model is obtained by utilizing a reinforcement learning algorithm according to the expert experience data of the first machine room. And regulating and controlling the air conditioner in the first machine room according to the first model. Through intelligent learning and optimization of the control strategy, intelligent learning and adaptive adjustment of the machine room air-cooled air conditioning system are realized, so that the air conditioning system can autonomously adjust the control strategy according to different operation states, the control flexibility and accuracy are improved, the energy consumption is reduced to the greatest extent, and the energy utilization efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of control of computer room air conditioners, and in particular to a computer room air conditioner control method, a computer room air conditioner control device, a computer device and a readable storage medium. Background Art

[0002] With the development of the times, the advancement of science and technology, and the rise of the wave of artificial intelligence (AI), hardware equipment plays a particularly important role as an important resource of the bottom physical layer, and the computer room facilities are an important basis for ensuring the normal operation of various bottom-end hardware. For example, in the era of big data, the computer room in the data center plays a very important role, and the high energy consumption of the computer room in the data center has always been a difficult problem to be solved. Among them, the computer room air conditioning system in the data center (or computer room air conditioning system) is one of the main equipment that consumes a lot of energy. While keeping the server and equipment running stably, the computer room air conditioning system requires a lot of energy to maintain the appropriate temperature and humidity inside the computer room to ensure the normal operation of the equipment inside the computer room.

[0003] At present, most of the control methods for computer room air conditioning systems rely on manual experience control or are implemented through preset static control rules, which can easily cause energy waste, and are relatively inefficient, lack adaptability and flexibility, and cannot be applied to different computer room operating environments and load requirements. Summary of the invention

[0004] The technical problem to be solved by the present invention is that the control method of the computer room air conditioning system in the prior art is very likely to cause energy waste, and has relatively low efficiency, lacks adaptability and flexibility, and cannot be applied to different computer room operating environments and load requirements.

[0005] In view of the above-mentioned deficiencies of the prior art, the following solutions are provided:

[0006] In a first aspect, the present invention provides a method for controlling a computer room air conditioner, comprising: obtaining data in an experience playback buffer. In response to the absence of control history data of a first computer room air conditioner in the data in the experience playback buffer, obtaining expert experience data of the first computer room, and obtaining a first model based on the expert experience data of the first computer room using a reinforcement learning algorithm. And, controlling the air conditioner in the first computer room according to the first model.

[0007] Optionally, the expert experience data of the first computer room includes the expert experience action data of the first computer room and the expert experience environment data of the first computer room. Among them, the expert experience action data of the first computer room includes the action data of each regulation performed by the expert on the air conditioner of the first computer room in multiple adjustments. The action data includes temperature setting data and on / off action data. The expert experience environment data of the first computer room includes the environment data corresponding to each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments. The environment data corresponding to each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments include the environment data of the first computer room within a first preset time before each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments and the environment data of the first computer room within a second preset time after each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments. The environment data of the first computer room includes the temperature in the first computer room, the return air temperature of the air conditioner, the set temperature of the air conditioner, the on / off state of the air conditioner, the real-time power of the air conditioner, and the real-time power of the equipment in the first computer room.

[0008] Optionally, according to the expert experience data of the first computer room, a reinforcement learning algorithm is used to obtain a first model, including: defining a state space, an action space and a reward space. And, the first model is obtained according to the definition of the reward space, the definition of the action space and the definition of the reward space. Among them, the state space includes the expert experience environment data of the first computer room. The action space includes the expert experience action data of the first computer room. The reward space includes a reward function. The reward function includes a penalty item and a reward item. The penalty item includes: the temperature in the first computer room exceeds the highest value of a preset temperature range in the expert experience environment data of the first computer room. The reward item includes: the temperature in the first computer room does not rise significantly and the real-time power of the air conditioner and / or the real-time power of the equipment in the first computer room is reduced, or the temperature in the first computer room does not rise and the real-time power of the air conditioner and / or the real-time power of the equipment in the first computer room is reduced. The first model is a mapping relationship between the expert experience action data of the first computer room, the expert experience environment data of the first computer room and the reward function.

[0009] Optionally, the method further includes: acquiring in real time the action data of regulating the air conditioner in the first machine room according to the first model, and acquiring the environmental data of the first machine room within the third preset time before regulating the air conditioner in the first machine room according to the first model, and the environmental data of the first machine room within the fourth preset time after starting to regulate the air conditioner in the first machine room according to the first model. The action data of regulating the air conditioner in the first machine room according to the first model acquired in real time, the environmental data of the first machine room within the third preset time before starting to regulate the air conditioner in the first machine room according to the first model, and the environmental data of the first machine room within the fourth preset time after starting to regulate the air conditioner in the first machine room according to the first model are stored in the experience playback buffer. And, the first model is updated according to the action data of regulating the air conditioner in the first machine room according to the first model acquired in real time, the environmental data of the first machine room within the third preset time before starting to regulate the air conditioner in the first machine room according to the first model, and the environmental data of the first machine room within the fourth preset time after starting to regulate the air conditioner in the first machine room according to the first model.

[0010] Optionally, the historical control data of the air conditioner in the first computer room includes action data of controlling the air conditioner in the first computer room according to the first model acquired in real time, environmental data of the first computer room within a third preset time before the air conditioner in the first computer room is controlled according to the first model, and environmental data of the first computer room within a fourth preset time after the air conditioner in the first computer room is controlled according to the first model.

[0011] Optionally, the method further includes: in response to the existence of historical control data of the air conditioner in the first computer room in the data in the experience playback buffer, obtaining a second model based on the historical control data of the air conditioner in the first computer room by using a reinforcement learning algorithm, and controlling the air conditioner in the first computer room based on the second model.

[0012] Optionally, regulating the air conditioner in the first computer room according to the first model or the second model includes: setting an upper limit of the temperature setting data, a lower limit of the temperature setting data, a threshold of the number of startup actions, and a threshold of the number of shutdown actions. And, according to the upper limit of the temperature setting data, the lower limit of the temperature setting data, the threshold of the number of startup actions, and the threshold of the number of shutdown actions, the air conditioner in the first computer room is regulated using the first model or the second model.

[0013] In a second aspect, the present invention provides a control device for a computer room air conditioner, comprising a data acquisition module, a model acquisition module and a control module. The data acquisition module is configured to: acquire data in an experience playback buffer. The model acquisition module is configured to: respond to the absence of control history data of the first computer room air conditioner in the data in the experience playback buffer. Acquire the expert experience data of the first computer room, and obtain a first model based on the expert experience data of the first computer room using a reinforcement learning algorithm. The control module is configured to: control the air conditioner in the first computer room according to the first model.

[0014] In a third aspect, the present invention provides a computer device, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the above-mentioned method for controlling the computer room air conditioner.

[0015] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor executes the above-mentioned method for controlling the computer room air conditioner.

[0016] The present invention provides a control method, device, computer equipment and storage medium for a computer room air conditioner, which realizes intelligent learning and adaptive adjustment of the computer room air-cooling air conditioning system through intelligent learning and optimization of control strategies, so that the air conditioning system can autonomously adjust the control strategy according to different operating states, improve the flexibility and accuracy of control, minimize energy consumption, and improve energy utilization efficiency. The present invention optimizes the training process of the DDPG algorithm by using different training methods for the expert experience data of the first computer room air conditioner and the control history data of the first computer room air conditioner. The data sampling and processing methods are more reasonable, the algorithm has higher computing efficiency, and can complete the energy-saving control task more efficiently in practical applications. In addition, the present invention introduces a safety protection mechanism by setting the upper limit of the temperature setting data, the lower limit of the temperature setting data, the threshold of the number of startup actions, and the threshold of the number of shutdown actions. Safety control can also be performed under abnormal circumstances to ensure the normal operation of the air conditioner and avoid abnormalities caused by improper parameter control or sudden environmental changes. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a flow chart of a method for controlling a computer room air conditioner in an embodiment of the present invention;

[0018] Figure 2 It is a flow chart of another control method of a computer room air conditioner in an embodiment of the present invention;

[0019] Figure 3 A flowchart of another method for controlling a computer room air conditioner according to an embodiment of the present invention;

[0020] Figure 4 It is a flow chart of another method for controlling a computer room air conditioner in an embodiment of the present invention;

[0021] Figure 5 It is a flow chart of another method for controlling a computer room air conditioner in an embodiment of the present invention;

[0022] Figure 6 A schematic diagram of the architecture of a control algorithm for a computer room air conditioner in an example of an embodiment of the present invention;

[0023] Figure 7 A flowchart of a control algorithm for a computer room air conditioner in an example of an embodiment of the present invention;

[0024] Figure 8 This is a structural diagram of a control device for a computer room air conditioner in an embodiment of the present invention;

[0025] Fig. 9 It is a structural diagram of another control device for a computer room air conditioner in an embodiment of the present invention;

[0026] Fig.10 A structural diagram of another control device for a computer room air conditioner in an embodiment of the present invention;

[0027] Fig.11 The figure is a structural diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0029] It should be understood that the specific embodiments and drawings described herein are only used to explain the present invention rather than to limit the present invention.

[0030] It can be understood that, in the absence of conflict, the various embodiments of the present invention and the various features in the embodiments can be combined with each other.

[0031] It can be understood that, for the convenience of description, the drawings of the present invention only show the parts related to the present invention, while the parts irrelevant to the present invention are not shown in the drawings.

[0032] It can be understood that each unit and module involved in the embodiments of the present invention may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.

[0033] It can be understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of the present invention may occur in an order different from that marked in the drawings.

[0034] It is understood that the flowcharts and block diagrams of the present invention illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present invention. Each box in the flowchart or block diagram may represent a unit, module, program segment, or code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.

[0035] It can be understood that the units and modules involved in the embodiments of the present invention can be implemented by software or hardware. For example, the units and modules can be located in a processor.

[0036] Some embodiments of the present invention provide a method for controlling a computer room air conditioner, such as Figure 1 As shown, the method includes steps 101 to 103.

[0037] Step 101: Obtain data in the experience playback buffer.

[0038] It can be understood that the data in the experience replay buffer may include the control data of the air conditioners in each computer room. Experience replay is a technology in reinforcement learning that aims to improve the efficiency and stability of learning. The experience (state, action, reward, etc.) gained in real-time interaction with the environment is usually used immediately to update the model and is not necessarily stored. Experience replay can store the experience gained in real-time interaction with the environment in a data structure called "experience replay buffer", which can be randomly sampled for model update in the subsequent training process.

[0039] Step 102: In response to the fact that the data in the experience playback buffer does not contain the control history data of the air conditioner in the first computer room, obtain the expert experience data of the first computer room, and obtain the first model using a reinforcement learning algorithm based on the expert experience data of the first computer room.

[0040] It is understandable that the first computer room can be any computer room with an air conditioner to be regulated. The first computer room can be equipped with one air conditioner or multiple air conditioners. Some embodiments of the present invention provide a computer room air conditioner regulation method that can regulate each air conditioner in the first computer room.

[0041] In some embodiments, the expert experience data of the first computer room includes the expert experience action data of the first computer room and the expert experience environment data of the first computer room. Among them, the expert experience action data of the first computer room includes the action data of each regulation performed by the expert on the air conditioner of the first computer room in multiple adjustments. The action data includes temperature setting data and on / off action data. The expert experience environment data of the first computer room includes the environment data corresponding to each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments. The environment data corresponding to each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments include the environment data of the first computer room within the first preset time before each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments and the environment data of the first computer room within the second preset time after each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments. The environment data of the first computer room includes the temperature in the first computer room, the return air temperature of the air conditioner, the set temperature of the air conditioner, the on / off state of the air conditioner, the real-time power of the air conditioner, and the real-time power of the equipment in the first computer room.

[0042] It is understandable that the first preset time can be set to a shorter time, such as 1 minute or 30 seconds, so as to more intuitively reflect the environmental data of the first computer room before each adjustment action of the expert in multiple adjustments of the air conditioner in the first computer room. The equipment in the first computer room can refer to the real-time power of Internet Technology (IT) equipment in the first computer room.

[0043] It is understandable that after a period of time of regulating the air conditioner, the temperature and other environmental data in the first computer room may change due to this regulation action, so the second preset time can be set to a longer time, such as 10 minutes or 20 minutes, so that the environmental data of the first computer room within the second preset time after each regulation action of the expert on the air conditioner in the first computer room can more accurately reflect the environmental data of the first computer room after each regulation action of the expert on the air conditioner in the first computer room. The length of the second preset time can be determined according to the actual situation. For example, the length of the second preset time can be set according to the actual effect of the air conditioner in the first computer room. For example, when the air conditioner in the first computer room can change the temperature in the first computer room more quickly (for example, the air conditioner in the first computer room can change the temperature in the first computer room within 10 minutes), the second preset time can be set to 10 minutes.

[0044] It can be understood that the environmental data before and after the control action can be compared in order to evaluate the impact of the current control action on the environmental data. By comparing multiple groups of data, the best control strategy for a certain group of environmental data can be obtained (for example, good effect and power saving). When there are enough data samples, the best control strategy for any group of environmental data can be obtained, so that the algorithm can output the best control strategy for any group of environmental data.

[0045] Exemplarily, the environmental data of the first computer room may be periodically acquired by the dynamic environment platform equipment.

[0046] In some embodiments, Figure 2 As shown, in step 102, the implementation method of obtaining the first model using a reinforcement learning algorithm based on the expert experience data of the first computer room includes steps 201 to 202.

[0047] Step 201: Define the state space, action space and reward space.

[0048] In step 201, the state space includes the expert experience environment data of the first computer room. The action space includes the expert experience action data of the first computer room. The reward space includes a reward function. The reward function includes a penalty item and a reward item. Among them, the penalty item includes: the temperature in the first computer room in the expert experience environment data of the first computer room exceeds the highest value of a preset temperature range. The reward item includes: the temperature in the first computer room does not rise significantly and the real-time power of the air conditioner and / or the real-time power of the equipment in the first computer room decreases, or the temperature in the first computer room does not rise and the real-time power of the air conditioner and / or the real-time power of the equipment in the first computer room decreases.

[0049] It can be understood that the temperature in the first machine room can be collected by a temperature sensor in the first machine room.

[0050] It can be understood that the temperature in the first computer room has no obvious rise, which means that the temperature rise data in the first computer room is less than or equal to the rising threshold value within a preset time period, and the rising threshold value can be 1°C, 2°C, 3°C, or 5°C, and the value of the rising threshold value can be set according to the sensitivity of the first computer room to temperature. For example, if the temperature requirement of the first computer room is extremely high, the rising threshold value can be 1°C, that is, if the temperature rise data in the first computer room is less than or equal to 1°C within a preset time period, it is considered that the temperature in the first computer room has no obvious rise.

[0051] It can be understood that the relationship between the reward function, the penalty term and the reward term can be shown as formula (1).

[0052] f(x,y)=a×x+b×y (1)

[0053] In formula (1), f(x, y) is the reward function, x is the penalty term, a is the weight coefficient of the penalty term, y is the reward term, and b is the weight coefficient of the reward term. The values ​​of a and b can be set according to the actual application scenario.

[0054] In step 202, a first model is obtained according to the definition of the reward space, the definition of the action space and the definition of the reward space.

[0055] In step 202, the first model is a mapping relationship between the expert experience action data of the first computer room, the expert experience environment data of the first computer room and the reward function.

[0056] Understandably, reinforcement learning is a learning method in which an agent learns by trial and error, and the reward obtained by interacting with the environment guides the behavior. The goal is to make the agent obtain the maximum reward. Reinforcement learning is different from supervised learning in connectionist learning, mainly in the reinforcement signal. The reinforcement signal provided by the environment in reinforcement learning is an evaluation of the quality of the action (usually a scalar signal), rather than telling the reinforcement learning system (RLS) how to generate the correct action. Since the external environment provides little information, RLS must rely on its own experience to learn. In this way, RLS acquires knowledge in an action-evaluation environment and improves the action plan to adapt to the environment.

[0057] Exemplarily, the reinforcement learning algorithm in step 102 is a Deep Deterministic Policy Gradient (DDPG) algorithm. The DDPG algorithm relies on an actor-critic architecture. The actor is used to adjust the parameters of the policy function, that is, to determine the best action in a specific state.

[0058] For example, Figure 3 As shown, the idea of ​​DDPG is based on the Actor-Critic network (corresponding to Figure 3 The algorithm updates the parameters of the four networks, the policy network updates the θ parameter by maximizing the cumulative expected return, and the Q network updates the w parameter by minimizing the error between the evaluation value and the target value.

[0059] like Figure 3 As shown, the Q network update process is to optimize the w parameter, specifically: target_P calculates the action aˊ under state sˊ (that is, ), use target_Q to calculate the Q_target value of sˊ and aˊ (that is, ), then use the policy network to calculate the evaluation Q value of s and a (i.e., Qw(s,a)), and finally use the gradient descent method to calculate the MSE of the two Q values ​​(i.e., Loss=MSE[Qw(s,a), ).

[0060] like Figure 3 As shown in the figure, the policy network update process is to optimize the θ parameter, specifically: the policy network calculates the action a under state s (i.e., a = μθ(S)), uses the Q network to calculate the evaluation Q value of s and a (i.e., Qw(s,a)), and finally uses the gradient descent algorithm to optimize -Q to maximize the cumulative expected return (i.e., Loss = -Qw(s,a)).

[0061] Step 103: Adjust the air conditioner in the first computer room according to the first model.

[0062] It can be understood that after obtaining the first model, the environmental data of the first computer room can be collected in real time, and the environmental data of the first computer room collected in real time can be input into the first model. The first model can obtain the optimal control strategy corresponding to the environmental data of the first computer room collected in real time, and output the control strategy for the air conditioner in the first computer room, so that the air conditioner in the first computer room can be controlled according to the control strategy for the air conditioner in the first computer room output by the first model.

[0063] In some embodiments, Figure 4 As shown, the control method of the computer room air conditioner also includes steps 401 to 403.

[0064] Step 401, obtain in real time the action data of the air conditioner in the first computer room controlled according to the first model, and obtain the environmental data of the first computer room within a third preset time before the air conditioner in the first computer room is controlled according to the first model and the environmental data of the first computer room within a fourth preset time after the air conditioner in the first computer room starts to be controlled according to the first model.

[0065] Step 402: store the action data of controlling the air conditioner in the first computer room according to the first model, the environmental data of the first computer room within the third preset time before the control of the air conditioner in the first computer room starts according to the first model, and the environmental data of the first computer room within the fourth preset time after the control of the air conditioner in the first computer room starts according to the first model into the experience playback buffer.

[0066] Step 403, update the first model based on the action data of controlling the air conditioner in the first computer room according to the first model, the environmental data of the first computer room within the third preset time before the air conditioner in the first computer room starts to be controlled according to the first model, and the environmental data of the first computer room within the fourth preset time after the air conditioner in the first computer room starts to be controlled according to the first model.

[0067] In some embodiments, the historical control data of the air conditioner in the first computer room includes action data of controlling the air conditioner in the first computer room according to the first model acquired in real time, environmental data of the first computer room within a third preset time before the air conditioner in the first computer room is controlled according to the first model, and environmental data of the first computer room within a fourth preset time after the air conditioner in the first computer room is controlled according to the first model.

[0068] It can be understood that the first model is obtained based on expert experience data, and the amount of data is limited. Storing the action data of each regulation and the environmental data before and after the regulation in the experience replay buffer as historical data can enrich the amount of data in the experience replay buffer, thereby obtaining a more accurate model.

[0069] In some embodiments, Figure 5 As shown, the control method of the computer room air conditioner also includes steps 501 to 502.

[0070] Step 501: In response to the existence of historical control data of the first computer room air conditioner in the data in the experience playback buffer, a second model is obtained using a reinforcement learning algorithm according to the historical control data of the first computer room air conditioner.

[0071] It can be understood that when the data in the experience playback buffer contains historical control data of the first computer room air conditioner, model training can be directly performed based on the historical control data of the first computer room air conditioner and the reinforcement learning algorithm to obtain the second model.

[0072] It can be understood that the method for obtaining the second model based on the control history data of the air conditioner in the first computer room using the reinforcement learning algorithm can refer to the implementation method of obtaining the first model based on steps 201 to 202, which will not be repeated here.

[0073] In some embodiments, the second model can also be obtained by updating the first model based on real-time acquired action data of controlling the air conditioner in the first computer room according to the first model, environmental data of the first computer room within a third preset time before starting to control the air conditioner in the first computer room according to the first model, and environmental data of the first computer room within a fourth preset time after starting to control the air conditioner in the first computer room according to the first model.

[0074] Exemplarily, after acquiring the first model, the first model can be stored in an experience playback buffer, so that the first model can be updated directly according to the real-time acquired action data of regulating the air conditioner in the first computer room according to the first model, the environmental data of the first computer room within the third preset time before starting to regulate the air conditioner in the first computer room according to the first model, and the environmental data of the first computer room within the fourth preset time after starting to regulate the air conditioner in the first computer room according to the first model, so as to obtain the second model.

[0075] Step 502: Control the air conditioner in the first computer room according to the second model.

[0076] The implementation method of step 502 may refer to the implementation method of step 103 and will not be described in detail here.

[0077] In some embodiments, regulating the air conditioner in the first computer room according to the first model or the second model includes: setting an upper limit of the temperature setting data, a lower limit of the temperature setting data, a threshold of the number of startup actions, and a threshold of the number of shutdown actions. And according to the upper limit of the temperature setting data, the lower limit of the temperature setting data, the threshold of the number of startup actions, and the threshold of the number of shutdown actions, the first model or the second model is used to regulate the air conditioner in the first computer room.

[0078] Exemplarily, when the air conditioner in the first machine room is regulated according to the first model or the second model, the upper limit of the temperature setting (i.e., the temperature that can be set according to the first model or the second model) is 26°C, the lower limit of the temperature setting is 20°C, and the maximum number of shutdowns is 5 times. In this way, when the first machine room is regulated according to the first model or the second model, it can be ensured that the environment in the first machine room will not change too much, or it can be ensured that even if the first model or the second model outputs an abnormal regulation strategy (for example, outputting a strategy to set the temperature of the air conditioner to 30°C) due to unknown reasons (for example, improper parameter regulation or sudden environmental changes), the abnormal regulation strategy cannot be executed, thereby avoiding damage to the machines in the first machine room due to excessive environmental changes, and ensuring the normal operating environment of the machines in the first machine room.

[0079] Through a control method for a computer room air conditioner provided by some embodiments of the present invention, intelligent learning and adaptive adjustment of the computer room air-cooling air conditioning system are realized through intelligent learning and optimization of control strategies, so that the air conditioning system can autonomously adjust the control strategy according to different operating states, improve the flexibility and accuracy of control, minimize energy consumption, and improve energy utilization efficiency. In addition, a control method for a computer room air conditioner provided by some embodiments of the present invention optimizes the training process of the DDPG algorithm by using different training methods for the expert experience data of the first computer room air conditioner and the control history data of the first computer room air conditioner. The data sampling and processing methods are more reasonable, the algorithm has higher computing efficiency, and can complete the energy-saving control task more efficiently in practical applications. In addition, a control method for a computer room air conditioner provided by some embodiments of the present invention introduces a safety protection mechanism by setting the upper limit of the temperature setting data, the lower limit of the temperature setting data, the threshold of the number of startup actions, and the threshold of the number of shutdown actions. Safety control can also be performed in abnormal situations to ensure the normal operation of the air conditioner and avoid abnormalities caused by improper parameter control or sudden changes in the environment.

[0080] The following is an example to illustrate a control method for a computer room air conditioner provided by some embodiments of the present invention.

[0081] This example provides an energy-saving algorithm for air-cooled precision air conditioners in computer rooms based on DDPG. It collects the air conditioning, temperature sensor, and meter data reported periodically by the Field Supervision Unit (FSU) of the bottom-end dynamic environment platform, inputs the algorithm model, generates the air conditioning control strategy, automatically maps the dynamic environment platform device ID and measurement point ID, and issues control commands through the open interface, so as to achieve three-step decoupling of the bottom end, dynamic environment platform, and algorithm, and deploy and run in plug-in mode.

[0082] In this example, the energy-saving algorithm automatically detects the current state of the computer room environment (temperature sensor, return air temperature of the air conditioner, air conditioner set temperature, air conditioner working status, air conditioner power, IT power), inputs it into the strategy model, generates action instructions mapped to the air conditioner control range, and sends it to the energy-saving interface of the computer room of the dynamic environment platform to control the air conditioner;

[0083] The whole process of the algorithm is as follows:

[0084] a) Data connection configuration: After starting the algorithm service, you need to configure the equipment room information issued by the energy-saving algorithm, and request the algorithm measurement point configuration interface. The body contains device_id (device id), meter_id (measurement point id), meter_label ({1: air conditioner, 2: temperature sensor, 3: air conditioner meter, 4: IT meter), meter_code (monitoring quantity code)

[0085] b) Data cycle storage: Start the algorithm data storage service, and choose whether to use offline training or online training according to the actual situation on site. Offline training: Manually controlled expert experience data is used as offline experience playback buffer data to train the network; Online training: The algorithm directly outputs the strategy, interacts with the bottom-end device in real time, and the interaction data is placed in the experience playback buffer;

[0086] c) Definition of reinforcement learning model: The State space definition includes the temperature of the temperature sensor in the computer room, the return air temperature of the air conditioner, the set temperature, the working status, the real-time power of the air conditioner, and the real-time power of the IT equipment. The Action space definition includes the temperature setting and power on / off control of the air-cooled precision air conditioner. The Reward space definition includes the penalty item for the number of temperature sensors exceeding the algorithm threshold (-10×the number exceeding the high temperature×coefficient), and the reward item for no obvious temperature increase or no increase and a decrease in power (-1×negative value of power change×coefficient). The weighted combination of the two constitutes the reward function (weight×penalty item+weight×reward item);

[0087] d) Model parameter preservation: After training, the training data will be stored in the model / replay_buffer.csv file according to the model input specification, and the model parameters of the AC network (actor_model.pth, critic_model.pth) and the model loss value (loss.csv) will be stored in the model directory;

[0088] e) Algorithm operation interaction: After starting the algorithm, if there is no parameter data, the parameter data will be trained first. If the parameter data exists, the data in the model directory will be directly read to load the model. Then, according to the interaction interval, the telemetry and telesignaling data of the equipment under the dynamic environment monitoring unit will be directly obtained to perform model reasoning and output the air conditioning control operation;

[0089] f) Ensure safety restrictions: Limit the upper and lower limits of the air-cooled air-conditioning temperature adjustment of the algorithm output action, which are limited to 20-26 degrees, and the parameters are configurable; limit the air-cooled air-conditioning control power on and off operations of the algorithm output action, count the number of shutdowns, specify the total shutdown value, and prohibit sending when the threshold is reached.

[0090] like Figure 3 As shown, the idea of ​​DDPG is based on the Actor-Critic network (corresponding to Figure 3 The algorithm updates the parameters of the four networks, the policy network updates the θ parameter by maximizing the cumulative expected return, and the Q network updates the w parameter by minimizing the error between the evaluation value and the target value. Figure 3 As shown, the Q network update process is to optimize the w parameter, specifically: target_P calculates the action aˊ under state sˊ (that is, ), use target_Q to calculate the Q_target value of sˊ and aˊ (that is, ), then use the policy network to calculate the evaluation Q value of s and a (i.e., Qw(s,a)), and finally use the gradient descent method to calculate the MSE of the two Q values ​​(i.e., Loss=MSE[Qw(s,a), ).like Figure 3 As shown in the figure, the policy network update process is to optimize the θ parameter, specifically: the policy network calculates the action a under state s (i.e., a = μθ(S)), uses the Q network to calculate the evaluation Q value of s and a (i.e., Qw(s,a)), and finally uses the gradient descent algorithm to optimize -Q to maximize the cumulative expected return (i.e., Loss = -Qw(s,a)).

[0091] like Figure 6As shown in the figure, in the architecture of this example in actual application, the dynamic environment monitoring device communicates with the downstream hardware device through RS-485, the dynamic environment monitoring device and the dynamic environment network management service as well as the air-cooled precision air conditioning energy-saving algorithm are connected through network communication http, the algorithm service obtains the real-time data of the device and sends remote adjustment and remote control commands through the network management platform, and then the network management platform sends instructions to the dynamic environment monitoring device.

[0092] It is understandable that a computer room may be equipped with multiple air conditioners and multiple sensor devices and electric meters corresponding to the air conditioners. Figure 6 In the embodiment, the first air-cooled precision air conditioner and the second air-cooled precision air conditioner are both air conditioners in the first computer room. The first temperature sensor and the second temperature sensor are both temperature sensors in the first computer room. The first smart meter and the second smart meter are both smart meters in the first computer room.

[0093] like Figure 7 As shown in the figure, the overall operation process of this example in actual application includes:

[0094] a) Deploy data storage services and configure parameters. Continuously obtain data on air conditioning, temperature sensing, and electricity meters in the computer room;

[0095] b) Deploy the air-cooled precision air conditioning energy-saving algorithm service, configure database parameters, algorithm training parameters, and the dynamic environment platform docking service address port;

[0096] c) Determine whether there is historical data of air conditioning control. If there is data, perform offline training; if there is no data, perform online training;

[0097] d) Calculate the network loss and whether the rewad value has converged. If not, continue to adjust the parameter training until the loss accuracy and convergence range are reached;

[0098] e) Obtain the latest data reported by the equipment in real time, and determine whether it is necessary to issue a strategy based on the premise of safety and regulation.

[0099] The key points of this example are:

[0100] a) Based on DDPG algorithm: The deep deterministic policy gradient (DDPG) algorithm is introduced into the energy-saving control of air-cooled precision air conditioners in computer rooms to achieve intelligent optimization and dynamic adjustment of the air-conditioning system, thereby achieving energy-saving goals;

[0101] b) Deep neural network construction: Use deep neural networks to build Actor and Critic networks to achieve state-to-action mapping and action-value function evaluation, thereby improving the system's learning and decision-making capabilities;

[0102] c) Environmental interaction and training: Through the interaction and feedback between the system and the environment, the parameters of the Actor and Critic networks are continuously optimized, so that the algorithm can intelligently learn to adapt to different operating environments and load requirements.

[0103] The technical problems that can be solved and the beneficial effects of this example are:

[0104] a) Traditional air-cooling air-conditioning systems in computer rooms often use fixed control strategies and cannot dynamically adjust parameters according to the actual operating environment and load demand, resulting in uneconomical energy consumption and energy waste. However, this example uses intelligent energy-saving control methods, intelligent learning and optimized control strategies to achieve adaptive adjustment of the air-cooling air-conditioning system in the computer room, minimize energy consumption, and improve energy utilization efficiency; it can optimize the energy consumption of the computer room air-conditioning system and reduce the operating energy consumption of the air-conditioning system, thereby achieving the goal of energy conservation and emission reduction;

[0105] b) Due to changes in the operating environment and load demand of the computer room, the air-conditioning system needs to adjust parameters such as temperature setting values ​​and wind speed in real time. However, traditional static control methods lack adaptability and cannot meet dynamic operating requirements. This example integrates deep learning and reinforcement learning technologies to achieve intelligent learning and adaptive adjustment of the computer room air-cooled air-conditioning system, so that the air-conditioning system can autonomously adjust the control strategy according to different operating conditions, thereby improving the flexibility and accuracy of control; it can achieve precise control of the computer room air-cooled precision air conditioning, and through real-time learning of environmental changes and dynamic adjustment of control strategies, the environmental temperature can be kept within the normal range, thereby improving the utilization of air-conditioning resources;

[0106] c) When introducing the intelligent control algorithm, ensuring the stability and reliability of the algorithm is also a problem that needs to be considered. The training and convergence process of the DDPG algorithm may face very complex environments, and the air conditioning system, as a key device, needs to ensure the stability and safety of the control process. This example introduces a safety protection mechanism in the algorithm implementation to ensure that the computer room air conditioning system can be safely controlled and operate normally under abnormal conditions, and to ensure that the algorithm can remain stable and safe under various operating conditions, avoiding abnormalities caused by improper parameter control or sudden environmental changes, and avoiding adverse effects and failures;

[0107] d) The DDPG algorithm requires a lot of computing resources and data during training and optimization, so how to effectively use resources and improve the training efficiency of the algorithm is also a question to consider. This example selects online training or offline training according to the data situation, optimizes the training process of the DDPG algorithm, and adopts reasonable data sampling and processing methods to improve the algorithm's computing efficiency, so that energy-saving control tasks can be completed more efficiently in practical applications.

[0108] Some embodiments of the present invention provide a control device for a computer room air conditioner, such as Figure 8 As shown, the control device 800 of the computer room air conditioner includes a data acquisition module 801, a model acquisition module 802 and a control module 803.

[0109] The data acquisition module 801 is configured to acquire data in the experience playback buffer.

[0110] The model acquisition module 802 is configured to: in response to the absence of historical air conditioning control data of the first computer room in the data in the experience playback buffer, obtain expert experience data of the first computer room, and obtain the first model using a reinforcement learning algorithm based on the expert experience data of the first computer room.

[0111] In some embodiments, the expert experience data of the first computer room includes the expert experience action data of the first computer room and the expert experience environment data of the first computer room. Among them, the expert experience action data of the first computer room includes the action data of each regulation performed by the expert on the air conditioner of the first computer room in multiple adjustments. The action data includes temperature setting data and on / off action data. The expert experience environment data of the first computer room includes the environment data corresponding to each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments. The environment data corresponding to each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments include the environment data of the first computer room within the first preset time before each regulation action performed by the expert on the air conditioner of the first computer room in multiple adjustments and the environment data of the first computer room within the second preset time after. Among them, the environment data of the first computer room includes the temperature of the temperature sensor in the first computer room, the return air temperature of the air conditioner, the set temperature of the air conditioner, the on / off state of the air conditioner, the real-time power of the air conditioner, and the real-time power of the IT equipment in the first computer room.

[0112] In some embodiments, Fig. 9 As shown, the model acquisition module 802 includes a space definition unit 901 and a first model acquisition unit 902 .

[0113] The space definition unit 901 is configured to: define a state space, an action space, and a reward space. The state space includes the expert experience environment data of the first computer room. Among them, the action space includes the expert experience action data of the first computer room. The reward space includes a reward function. The reward function includes a penalty item and a reward item. The penalty item includes: the temperature in the first computer room in the expert experience environment data of the first computer room exceeds the highest value of a preset temperature range. The reward item includes: the temperature in the first computer room does not rise significantly and the real-time power of the air conditioner and / or the real-time power of the IT equipment in the first computer room is reduced, or the temperature in the first computer room does not rise and the real-time power of the air conditioner and / or the real-time power of the IT equipment in the first computer room is reduced.

[0114] The first model acquisition unit 902 is configured to obtain a first model according to the definition of the reward space, the definition of the action space and the definition of the reward space. The first model is a mapping relationship between the expert experience action data of the first computer room, the expert experience environment data of the first computer room and the reward function.

[0115] The control module 803 is configured to: control the air conditioner in the first computer room according to the first model.

[0116] In some embodiments, Fig.10 As shown, the control device 800 for the computer room air conditioner further includes an environment data collection module 804 , a data storage module 805 and a model updating module 806 .

[0117] The environmental data collection module 804 is configured to obtain in real time the action data of the air conditioner in the first computer room controlled according to the first model, and obtain the environmental data of the first computer room within the third preset time before the air conditioner in the first computer room is controlled according to the first model, and obtain the environmental data of the first computer room within the fourth preset time after the air conditioner in the first computer room is controlled according to the first model.

[0118] The data storage module 805 is configured to store in the experience playback buffer the action data of controlling the air conditioner in the first computer room according to the first model in real time, the environmental data of the first computer room within the third preset time before the control of the air conditioner in the first computer room starts according to the first model, and the environmental data of the first computer room within the fourth preset time after the control of the air conditioner in the first computer room starts according to the first model.

[0119] The model update module 806 is configured to update the first model based on the action data acquired in real time when the air conditioner in the first computer room is regulated according to the first model, the environmental data of the first computer room within the third preset time before the air conditioner in the first computer room is regulated according to the first model, and the environmental data of the first computer room within the fourth preset time after the air conditioner in the first computer room is regulated according to the first model.

[0120] In some embodiments, the historical control data of the air conditioner in the first computer room includes action data of controlling the air conditioner in the first computer room according to the first model acquired in real time, environmental data of the first computer room within a third preset time before the air conditioner in the first computer room is controlled according to the first model, and environmental data of the first computer room within a fourth preset time after the air conditioner in the first computer room is controlled according to the first model.

[0121] In some embodiments, the model acquisition module 802 is further configured to: in response to the presence of historical control data of the air conditioner in the first computer room in the data in the experience playback buffer, obtain the second model using a reinforcement learning algorithm based on the historical control data of the air conditioner in the first computer room. The control module 803 is further configured to: control the air conditioner in the first computer room according to the second model.

[0122] In some embodiments, the control module 803 is further configured to: set an upper limit of the temperature setting data, a lower limit of the temperature setting data, a threshold of the number of startup actions, and a threshold of the number of shutdown actions. And according to the upper limit of the temperature setting data, the lower limit of the temperature setting data, the threshold of the number of startup actions, and the threshold of the number of shutdown actions, the first model or the second model is used to control the air conditioner in the first computer room.

[0123] In some embodiments, the second model can also be obtained by updating the first model based on real-time acquired action data of regulating the air conditioner in the first computer room according to the first model and the environmental data of the first computer room within a third preset time before and a fourth preset time after starting to regulate the air conditioner in the first computer room according to the first model.

[0124] The specific scheme and beneficial effects of a control device 800 for a computer room air conditioner provided in some embodiments of the present invention can be referred to the relevant description of a control method for a computer room air conditioner provided in some embodiments of the present invention, which will not be repeated here.

[0125] Some embodiments of the present invention provide a computer device, such as Fig.11 As shown, the computer device 1100 includes a memory 1101 and a processor 1102. The memory 1101 stores a computer program. When the processor 1102 runs the computer program stored in the memory 1101, the processor 1102 executes the above-mentioned method for controlling the computer room air conditioner.

[0126] The specific scheme and beneficial effects of a computer device 1100 provided by some embodiments of the present invention can refer to the relevant description of a control method of a computer room air conditioner provided by some embodiments of the present invention, which will not be repeated here.

[0127] Some embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor executes the above-mentioned method for controlling the computer room air conditioner.

[0128] The specific scheme and beneficial effects of a computer-readable storage medium provided by some embodiments of the present invention can be referred to the relevant description of a control method for a computer room air conditioner provided by some embodiments of the present invention, which will not be repeated here.

[0129] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A method for controlling a computer room air conditioner, characterized in that: include: Get the data in the experience replay buffer; In response to the absence of control history data of the air conditioner in the first computer room in the data in the experience playback buffer, obtaining expert experience data of the first computer room, and obtaining a first model using a reinforcement learning algorithm based on the expert experience data of the first computer room; and The air conditioner in the first computer room is regulated according to the first model.

2. The control method of the computer room air conditioner according to claim 1, characterized in that: The expert experience data of the first computer room includes the expert experience action data of the first computer room and the expert experience environment data of the first computer room; The expert experience action data of the first computer room includes action data of each adjustment performed by the expert on the air conditioner in the first computer room during multiple adjustments; the action data includes temperature setting data and on / off action data; The expert experience environment data of the first computer room includes environment data corresponding to each control action of the expert in multiple controls of the air conditioner in the first computer room; The environmental data corresponding to each of the multiple adjustments and controls performed by the expert on the air conditioner in the first computer room includes the environmental data of the first computer room within a first preset time before each of the multiple adjustments and controls performed by the expert on the air conditioner in the first computer room and the environmental data of the first computer room within a second preset time after each of the multiple adjustments and controls performed by the expert on the air conditioner in the first computer room; the environmental data of the first computer room includes the temperature in the first computer room, the return air temperature of the air conditioner, the set temperature of the air conditioner, the on / off status of the air conditioner, the real-time power of the air conditioner and the real-time power of the equipment in the first computer room.

3. The control method of the computer room air conditioner according to claim 2, characterized in that: The first model is obtained by using a reinforcement learning algorithm based on the expert experience data of the first computer room, including: A state space, an action space and a reward space are defined; the state space includes the expert experience environment data of the first computer room; the action space includes the expert experience action data of the first computer room; the reward space includes a reward function; the reward function includes a penalty item and a reward item; the penalty item includes: the temperature in the first computer room in the expert experience environment data of the first computer room exceeds the highest value of a preset temperature range; the reward item includes: the temperature in the first computer room does not rise significantly and the real-time power of the air conditioner and / or the real-time power of the equipment in the first computer room decreases, or the temperature in the first computer room does not rise and the real-time power of the air conditioner and / or the real-time power of the equipment in the first computer room decreases; and A first model is obtained according to the definition of the reward space, the definition of the action space and the definition of the reward space; the first model includes the mapping relationship between the expert experience action data of the first computer room, the expert experience environment data of the first computer room and the reward function.

4. The control method of the computer room air conditioner according to claim 1, characterized in that: Also includes: Acquire in real time the action data of regulating the air conditioner in the first computer room according to the first model, and acquire the environmental data of the first computer room within a third preset time before the air conditioner in the first computer room starts to be regulated according to the first model and the environmental data of the first computer room within a fourth preset time after the air conditioner in the first computer room starts to be regulated according to the first model; storing the action data of regulating the air conditioner in the first computer room according to the first model, the environmental data of the first computer room within a third preset time before the air conditioner in the first computer room starts to be regulated according to the first model, and the environmental data of the first computer room within a fourth preset time after the air conditioner in the first computer room starts to be regulated according to the first model into the experience playback buffer; as well as The first model is updated according to the action data acquired in real time for regulating the air conditioner in the first computer room according to the first model, the environmental data of the first computer room within the third preset time before the air conditioner in the first computer room is regulated according to the first model, and the environmental data of the first computer room within the fourth preset time after the air conditioner in the first computer room is regulated according to the first model.

5. The control method of the computer room air conditioner according to claim 4, characterized in that: The control history data of the air conditioner in the first computer room includes the action data of controlling the air conditioner in the first computer room according to the first model acquired in real time, the environmental data of the first computer room within the third preset time before the air conditioner in the first computer room starts to be controlled according to the first model, and the environmental data of the first computer room within the fourth preset time after the air conditioner in the first computer room starts to be controlled according to the first model.

6. The control method of a computer room air conditioner according to claim 1, characterized in that: Also includes: In response to the existence of historical control data of the first computer room air conditioner in the data in the experience playback buffer, a second model is obtained by using a reinforcement learning algorithm according to the historical control data of the first computer room air conditioner; as well as The air conditioner in the first computer room is regulated according to the second model.

7. The control method of the computer room air conditioner according to claim 6, characterized in that: Controlling the air conditioner in the first computer room according to the first model or the second model includes: Setting the upper limit of the temperature setting data, the lower limit of the temperature setting data, the threshold of the number of startup actions, and the threshold of the number of shutdown actions; and The air conditioner in the first computer room is regulated by using the first model or the second model according to the upper limit of the temperature setting data, the lower limit of the temperature setting data, the startup action number threshold and the shutdown action number threshold.

8. A control device for a computer room air conditioner, characterized in that: include: A data acquisition module is configured to: acquire data in an experience playback buffer; The model acquisition module is configured to: in response to the absence of control history data of the air conditioner in the first computer room in the data in the experience playback buffer; acquire the expert experience data of the first computer room, and obtain the first model by using a reinforcement learning algorithm based on the expert experience data of the first computer room; and A control module is configured to: control the air conditioner in the first computer room according to the first model.

9. A computer device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor runs the computer program stored in the memory, the processor executes the method for controlling the computer room air conditioner according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor executes the control method for a computer room air conditioner according to any one of claims 1 to 7.

Citation Information

Cited By

  • Regulation method and apparatus for air conditioners in data center room, and computer device and storage medium

    WO2026011718A1