Multi-coroutine control method for precise air conditioning system of data center
By constructing a multi-coroutine control architecture and a feedforward-feedback composite algorithm, the control jitter problem caused by rapid load migration in data centers was solved, and efficient, smooth, and reliable thermal management of data center precision air conditioning systems was achieved.
Patent Information
- Application Number
- CN202611228062.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-13
- Publication Date
- 2026-11-24
AI Technical Summary
Existing data center precision air conditioning systems cannot effectively distinguish between short-term random fluctuations and continuous load migration in scenarios with rapid load migration, resulting in control jitter and instability, which affects cooling efficiency and equipment lifespan.
A multi-coroutine control architecture is constructed, including temperature, humidity, air volume, and collaborative optimization coroutines. A feedforward-feedback composite algorithm and dynamic decoupling mechanism are adopted. The temperature and humidity conflict index is calculated in real time through collaborative optimization coroutines, the control mode is dynamically switched and the parameters are adjusted, and the status monitoring and coroutine self-recovery mechanism are combined.
It achieves precise decoupling and coordination of temperature and humidity control, enhances the robustness and stability of the system in complex dynamic environments, suppresses control jitter, and achieves efficient and smooth thermal management.
Smart Images

Figure CN123164709A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data center air conditioning, and in particular to a multi-process control method for a precision air conditioning system in a data center. Background Technology
[0002] Data centers house numerous servers, storage devices, and network equipment. These IT devices continuously generate heat during operation. To ensure the equipment operates at a suitable temperature and prevent localized overheating that could lead to performance degradation or hardware damage, precise thermal management using a sophisticated air conditioning system is essential. To improve control efficiency and response speed, and to adapt to the modular and zoned layout trends of data centers, current technologies often employ multi-coroutine or multi-task parallel control methods. This involves dividing the data center space into multiple sub-areas or functional zones, with each control coroutine (or control thread) independently responsible for controlling one or a group of precision air conditioning units, thereby achieving parallel local control and rapid response. This architecture, to a certain extent, improves the real-time performance and flexibility of control.
[0003] However, in modern business scenarios such as cloud computing, artificial intelligence training, and big data processing, the computing tasks in data centers are highly dynamic, leading to rapid, large, and irregular fluctuations in their internal thermal load. For example, scheduling a training task across multiple computing nodes can cause hotspots to migrate within minutes or even seconds, resulting in continuous and drastic changes in the distribution of hot and cold loads. In such scenarios with frequent and rapid switching between hot and cold loads, existing multi-coroutine control methods have significant shortcomings. First, existing methods typically rely on fixed mapping relationships between coroutines and physical partitions, with each coroutine's control strategy adjusted only based on the instantaneous load state of its responsible area. Once a load hotspot migrates out of the effective jurisdiction of its original coroutine, the coroutine's control effectiveness decreases, while the coroutine in the area where the hotspot migrates responds lagly due to a lack of timely detection. Second, to address this mismatch, existing systems often require triggering coroutine reconstruction and remapping, i.e., re-dividing the control range of each coroutine. This process involves the redistribution of control tasks and the resulting abrupt adjustments to temperature and airflow setpoints, manifesting at the system execution level as oscillations in control commands caused by frequent switching of mapping relationships, i.e., "control jitter." This vibration not only causes the supply air temperature and fan speed to become unstable, affecting the overall cooling efficiency and electrical life of the equipment, but may also create new risks of localized overheating due to instantaneous airflow disorder.
[0004] Therefore, existing methods can only passively respond to instantaneous load conditions, lacking the ability to continuously perceive and predict load spatial migration trends. Furthermore, they fail to establish a stable range within the control logic to tolerate load fluctuations, resulting in an inability to effectively distinguish between short-term random fluctuations and continuous real load migrations. This ultimately leads to frequent invalid switching of coroutines and control instability. Therefore, the urgent technical problem to be solved in this field is to provide a multi-coroutine control method for data center precision air conditioning systems that can adapt to scenarios of rapid load migration, effectively suppressing control jitter while ensuring control responsiveness, and achieving smooth and stable temperature control and airflow regulation. Summary of the Invention
[0005] The purpose of this invention is to provide a multi-process control method for a precision air conditioning system in a data center, so as to solve the problems existing in the prior art.
[0006] To achieve the above objectives, the present invention provides the following solution:
[0007] This invention provides a multi-coroutine control method for a data center precision air conditioning system, the method comprising:
[0008] Step S1: The operating parameters of each area of the data center are acquired by the sensor data acquisition unit, and the data preprocessing and feature extraction unit filters and calculates the operating parameters to generate a system state feature set including temperature change rate and cumulative humidity deviation value.
[0009] Step S2: Start the multi-coroutine scheduling and synchronization unit, create and manage temperature control coroutine, humidity control coroutine, air volume control coroutine, collaborative optimization coroutine and status monitoring coroutine based on priority, and realize data synchronization and mutual exclusion access between coroutines through shared memory area and semaphore.
[0010] Step S3: The temperature control program executes a PID control algorithm with feedforward based on the deviation between the current return air temperature and the set temperature, the temperature change rate, and the outdoor ambient temperature, and calculates and outputs the compressor speed and the opening of the electronic expansion valve.
[0011] Step S4: The humidity control coroutine executes a PI control algorithm with a temperature decoupling term based on the deviation between the current return air humidity and the set humidity, as well as the temperature deviation, to calculate and output the control quantity of the humidifier or dehumidifier.
[0012] Step S5: The air volume control coroutine calculates the required air volume based on the heat load prediction model, and calculates and outputs the fan speed control quantity in combination with temperature deviation compensation.
[0013] Step S6: The collaborative optimization coroutine calculates the temperature and humidity control conflict index, and switches the system control mode based on the dynamic comparison results of the conflict index and the temperature and humidity deviation, and dynamically adjusts the integral coefficient of the temperature control coroutine.
[0014] Step S7: The status monitoring coroutine independently monitors the system's operating status and the heartbeat of each coroutine, and performs coroutine recovery or system safety mode switching when an anomaly is detected.
[0015] Step S8: The actuator drive unit converts the control quantities output by each coroutine into actuator drive commands and sends them to the corresponding precision air conditioning equipment.
[0016] Preferably, the calculation formula for the PID control algorithm with feedforward in step S3 is as follows:
[0017] ;
[0018] in, This is the compressor speed control value. For temperature deviation, , , These are the temperature proportionality, integral, and differential coefficients, respectively. Forward coefficients, Outdoor ambient temperature For reference to outdoor temperature.
[0019] Preferably, the calculation formula for the PI control algorithm with temperature decoupling term in step S4 is as follows:
[0020] ;
[0021] in, For humidity control parameters, For humidity deviation, , These are the humidity ratio and the integral coefficient, respectively. This is the temperature decoupling coefficient. This refers to temperature deviation.
[0022] Preferably, step S5 specifically includes:
[0023] Estimating current IT load power based on rack power monitoring or temperature difference and fan speed. ;
[0024] According to the formula Calculate required air volume ,in, air density, The specific heat capacity of air, For supply air temperature, Return air temperature;
[0025] According to the formula Calculate the fan speed control quantity ,in, Rated air volume This is the temperature deviation compensation coefficient.
[0026] Preferably, in step S6, the temperature and humidity control conflict index is calculated. The formula is:
[0027] ;
[0028] in, For humidity control parameters, For temperature deviation, Humidity deviation;
[0029] Furthermore, when the conflict index When the temperature deviation exceeds the preset threshold, the system control mode is switched to temperature priority mode, humidity priority mode, or balanced mode based on the absolute value of the temperature deviation and humidity deviation.
[0030] Preferably, the formula for dynamically adjusting the integral coefficient of the temperature control cooperative in step S6 is:
[0031] ;
[0032] in, The adjusted integral coefficients, As the baseline integral coefficient, For the rate of temperature change, This is the adjustment coefficient.
[0033] Preferably, the multi-coroutine scheduling and synchronization unit adopts a priority-based preemptive scheduling strategy, wherein the temperature control coroutine has the highest priority, followed by the humidity control coroutine, then the air volume control coroutine, and the collaborative optimization coroutine and the status monitoring coroutine have the lowest priority.
[0034] Preferably, step S7 specifically includes:
[0035] The status monitoring coroutine monitors whether the sensor values exceed the reasonable range at a fixed frequency. If so, it sends an alarm and forces all control coroutines to suspend and switch to safe mode.
[0036] The status monitoring coroutine maintains a heartbeat counter for each control coroutine. If a coroutine fails to update its output for more than three times its execution cycle, it is determined that the coroutine is in a dead state. The scheduling unit kills the coroutine and recreates it, restoring its last valid output from shared memory.
[0037] Preferably, the collaborative optimization process also dynamically adjusts the temperature decoupling coefficient in the humidity control process according to the system control mode: when in temperature priority mode, the temperature decoupling coefficient is increased to sacrifice humidity control accuracy to ensure temperature control effect.
[0038] The present invention also provides a multi-process control system for precision air conditioning in data centers, used to execute the multi-process control method for precision air conditioning systems in data centers, the system comprising:
[0039] The sensor data acquisition unit is used to acquire operating parameters of various areas of the data center;
[0040] A data preprocessing and feature extraction unit is used to filter and calculate features of the operating parameters;
[0041] A multi-coroutine scheduling and synchronization unit is used to manage the lifecycle and synchronization of each coroutine;
[0042] The temperature control coroutine module, humidity control coroutine module, air volume control coroutine module, collaborative optimization coroutine module, and status monitoring coroutine module are used to execute the corresponding control algorithms.
[0043] The actuator drive unit is used to convert control quantities into drive commands and issue them.
[0044] The present invention achieves the following beneficial technical effects compared to the prior art:
[0045] This invention provides a multi-coroutine control method for a precision air conditioning system in a data center. It constructs a multi-coroutine concurrent control architecture encompassing temperature, humidity, airflow, collaborative optimization, and status monitoring. It introduces independent control coroutines based on a feedforward-feedback composite algorithm and a dynamic decoupling mechanism. Specifically, the collaborative optimization coroutines calculate the temperature and humidity conflict index in real time and dynamically switch system control modes and adjust control parameters accordingly. Combined with independent status monitoring and coroutine self-recovery mechanisms, the system can evolve from passively responding to instantaneous states to actively sensing and quantifying load change trends, effectively distinguishing between short-term fluctuations and continuous migration. This fundamentally suppresses control command oscillations caused by frequent control mode switching or parameter mismatch. This method not only achieves precise decoupling and collaboration in temperature and humidity control, avoiding the inherent conflict between cooling and dehumidification in traditional control, but also significantly enhances the system's robustness and stability in complex dynamic environments through coroutine-level fault self-recovery and variable integral anti-saturation design based on the rate of change. Ultimately, it achieves the technical effect of efficient, smooth, and reliable thermal management of the data center environment. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 The flowchart of the multi-coroutine control method for a precision air conditioning system in a data center provided by the present invention is shown. Detailed Implementation
[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0049] The purpose of this invention is to provide a multi-process control method for a precision air conditioning system in a data center, so as to solve the problems existing in the prior art.
[0050] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0051] Example 1:
[0052] First, during system startup, initialization and data acquisition preprocessing procedures are executed. Specifically, real-time operating parameters are acquired through sensor data acquisition units deployed in various partitions of the data center. The sensor array includes high-precision temperature sensors, humidity sensors, cold aisle pressure sensors installed in the air intake and return ducts of the server racks, as well as compressor suction and exhaust temperature sensors and outdoor ambient temperature sensors. All sensors acquire data synchronously with a uniform sampling period ranging from 0.5 seconds to 10 seconds. In this embodiment, a 1-second sampling period is preferred to accommodate the rapid fluctuations in response to cloud computing and AI training tasks, as well as the system's computational load. The data preprocessing and feature extraction unit performs first-order hysteresis filtering on the raw data to suppress measurement noise. The filtering formula is: ,in, The sensor value is the filtered value after the kth sampling period. These are the original collected values. The filtering coefficient is set to 0.3 in this embodiment to achieve a balance between fast response and smoothness. Based on this, the feature extraction unit further calculates the temperature change rate and cumulative humidity deviation to form a system state feature set, providing accurate input for subsequent control coprocesses.
[0053] Subsequently, the multi-coroutine scheduling and synchronization unit is activated. This unit creates and manages five core coroutines based on priority: temperature control coroutine, humidity control coroutine, airflow control coroutine, collaborative optimization coroutine, and status monitoring coroutine. To ensure data consistency and orderly collaboration between coroutines, the system defines a structure named SysData in the shared memory area. This structure contains all current sensor values (such as return air temperature, return air humidity, compressor suction pressure, etc.), setpoints (temperature setpoint, humidity setpoint), and control outputs from each coroutine (compressor speed, electronic expansion valve opening, fan speed, humidification rate). In addition, two semaphores are set up for mutually exclusive access to shared sensor data and control outputs, respectively. The scheduling unit employs a priority-based preemptive scheduling strategy, with the temperature control coroutine having the highest priority, followed by the humidity control coroutine, then the airflow control coroutine, and the collaborative optimization and status monitoring coroutines having the lowest priority. This priority allocation ensures that the most critical parameter, temperature, receives the most timely computing resources, while lower-priority collaborative and monitoring coroutines do not interfere with the execution of real-time control tasks.
[0054] After system initialization and coroutine creation are completed, each control coroutine executes concurrently according to its own cycle. The temperature control coroutine has an execution cycle of 1 second. This coroutine reads the current return air temperature, set temperature, temperature change rate, and outdoor ambient temperature from shared memory. To achieve fast and steady-state error-free temperature control during sudden load changes, the temperature control coroutine employs an improved feedforward PID control algorithm, the calculation formula of which is as follows: ;
[0055] in, This is the compressor speed control value. For temperature deviation, , , These are the temperature proportionality, integral, and differential coefficients, respectively. Forward coefficients, Outdoor ambient temperature The outdoor temperature is used as a reference. The introduction of a feedforward term allows the compressor to increase its speed in advance when the outdoor temperature rises, thereby overcoming the impact of environmental disturbances on the machine room temperature. The temperature control coroutine simultaneously outputs the electronic expansion valve opening, whose control law is similar to that of the compressor speed but with a different proportional coefficient. In this embodiment, the electronic expansion valve opening is limited to between 0.2 and 0.9. After the calculation is completed, the temperature control coroutine writes the compressor speed control value and the electronic expansion valve opening value into shared memory via semaphores.
[0056] The humidity control coroutine has an execution cycle of 2 seconds. This coroutine reads the current return air humidity (RH), the set humidity, and the temperature deviation. To prevent humidity imbalance caused by excessive dehumidification during cooling, the humidity control coroutine employs a PI control algorithm with a temperature decoupling term. Its calculation formula is as follows:
[0057] ;
[0058] in, For humidity control parameters, For humidity deviation, , These are the humidity ratio and the integral coefficient, respectively. This is the temperature decoupling coefficient. This is for temperature deviation. The physical meaning of the decoupling term is: when the return air temperature is lower than the set value, the system tends to reduce humidification or increase dehumidification to avoid condensation caused by low temperature and high humidity; conversely, when the temperature is higher, appropriate humidification is allowed. This decoupling design effectively suppresses mutual interference between temperature and humidity control loops. The output of the humidity control coroutine is also written to shared memory.
[0059] The airflow control coroutine has an execution cycle of 0.5 seconds, the shortest among all control coroutines, ensuring that the airflow can quickly follow load changes. The core of this coroutine is feedforward control based on thermal load estimation. First, the current IT load power is estimated indirectly through rack power monitoring or based on temperature difference and fan speed. Then, the required airflow is calculated using thermodynamic formulas.
[0060] ;
[0061] in, air density, The specific heat capacity of air, For supply air temperature, The return air temperature is provided in real time by sensors. After obtaining the required air volume, the air volume control coroutine further compensates for the temperature deviation and calculates the fan speed control value.
[0062] ;
[0063] In the formula, Rated air volume This is the temperature deviation compensation coefficient. The formula means that when the return air temperature is higher than the set value, an additional compensation amount proportional to the deviation is added to the basic required airflow, thereby accelerating heat removal; conversely, the airflow is appropriately reduced to save energy. The final output is limited to between 0 and 1.
[0064] The collaborative optimization coroutine has an execution cycle of 5 seconds. Its function is to perform high-level coordination of temperature and humidity control to prevent conflicts between the two control loops. The coroutine first calculates the temperature and humidity conflict index C, using the following formula:
[0065] ;
[0066] in, For humidity control parameters, For temperature deviation, The humidity deviation is represented by the conflict index C. A larger C indicates a more pronounced conflict between the current temperature and humidity control objectives. When C exceeds a preset threshold, the system control mode is switched to temperature-priority mode, humidity-priority mode, or a balanced mode based on the absolute values of the temperature and humidity deviations. In temperature-priority mode, the co-optimization coroutine notifies the humidity control coroutine via a message queue to temporarily increase its decoupling coefficient to 0.6, sacrificing some humidity control accuracy to ensure rapid temperature convergence. Furthermore, the co-optimization coroutine dynamically adjusts the integral coefficient of the temperature PID controller based on the temperature change rate to prevent integral saturation under large disturbances. The adjustment formula is:
[0067] ;
[0068] in, The adjusted integral coefficients, As the baseline integral coefficient, For the rate of temperature change, This is the adjustment coefficient. When the rate of temperature change is large, The integral term approaches 1, which significantly reduces the integral coefficient, thereby preventing excessive accumulation of the integral term during the dynamic process; when the temperature stabilizes, the integral coefficient returns to the reference value, ensuring no steady-state error.
[0069] The status monitoring coroutine runs independently of other control coroutines, with an execution cycle of 0.2 seconds. It has the lowest priority but the highest authority. This coroutine continuously monitors two types of anomalies: The first is when sensor values exceed reasonable ranges, such as return air temperature exceeding 50°C or falling below 10°C, or humidity exceeding the physical limit of 0%-100%. Upon detecting such anomalies, the status monitoring coroutine immediately sends an alarm through the actuator drive unit and forces all control coroutines to suspend, switching the system to a preset safe mode (e.g., compressor shutdown, fan maintaining current speed). The second type of anomaly is coroutine freeze. The status monitoring coroutine maintains a heartbeat counter for each control coroutine, and each coroutine updates its heartbeat timestamp after each successful execution. If the status monitoring coroutine finds that a coroutine has not updated its output for more than three times its specified execution cycle, it determines that the coroutine is in a freeze state. In this case, the status monitoring coroutine sends a restart request to the scheduling unit. The scheduling unit kills the coroutine and recreates and initializes it based on its last valid output value stored in shared memory, thus achieving coroutine-level fault self-recovery.
[0070] All control quantities calculated by the control coroutines (compressor speed, electronic expansion valve opening, fan speed, humidification / dehumidification capacity) are converted into specific drive commands by the actuator drive unit. For the compressor inverter, a 4-20mA analog signal or Modbus RTU command is output; for the EC fan, a PWM duty cycle signal is output; for the electronic expansion valve, the number of pulses of the stepper motor is output. The drive unit simultaneously sends the commands to the local controller of each precision air conditioner to complete a complete control cycle.
[0071] In the aforementioned control process, data acquisition, filtering, feature calculation, concurrent execution of each coroutine, collaborative optimization, and status monitoring form a closed-loop feedback system. At the end of each control cycle, the sensor data acquisition unit re-acquires the latest return air temperature, humidity, and pressure values for each zone, preprocesses them again, and writes them into shared memory for use in the next cycle's control calculations. This cycle repeats continuously, achieving efficient, smooth, and reliable multi-coroutine collaborative control of the data center precision air conditioning system.
[0072] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0073] It should be noted that the components mentioned in the above embodiments are all general standard parts or components known to those skilled in the art. Their structures and principles can be learned by those skilled in the art through technical manuals or conventional experimental methods.
[0074] This invention has illustrated its principles and implementation methods using specific examples. The descriptions of these embodiments are merely illustrative of the method and its core ideas; furthermore, those skilled in the art will recognize that modifications may be made to the specific implementation methods and application scope based on the principles of this invention. Therefore, the content of this specification should not be construed as limiting the invention.
Claims
1. A multi-process control method for a precision air conditioning system in a data center, characterized in that, The method includes: Step S1: The operating parameters of each area of the data center are acquired by the sensor data acquisition unit, and the data preprocessing and feature extraction unit filters and calculates the operating parameters to generate a system state feature set including temperature change rate and cumulative humidity deviation value. Step S2: Start the multi-coroutine scheduling and synchronization unit, create and manage temperature control coroutine, humidity control coroutine, air volume control coroutine, collaborative optimization coroutine and status monitoring coroutine based on priority, and realize data synchronization and mutual exclusion access between coroutines through shared memory area and semaphore. Step S3: The temperature control program executes a PID control algorithm with feedforward based on the deviation between the current return air temperature and the set temperature, the temperature change rate, and the outdoor ambient temperature, and calculates and outputs the compressor speed and the opening of the electronic expansion valve. Step S4: The humidity control coroutine executes a PI control algorithm with a temperature decoupling term based on the deviation between the current return air humidity and the set humidity, as well as the temperature deviation, to calculate and output the control quantity of the humidifier or dehumidifier. Step S5: The air volume control coroutine calculates the required air volume based on the heat load prediction model, and calculates and outputs the fan speed control quantity in combination with temperature deviation compensation. Step S6: The collaborative optimization coroutine calculates the temperature and humidity control conflict index, and switches the system control mode based on the dynamic comparison results of the conflict index and the temperature and humidity deviation, and dynamically adjusts the integral coefficient of the temperature control coroutine. Step S7: The status monitoring coroutine independently monitors the system's operating status and the heartbeat of each coroutine, and performs coroutine recovery or system safety mode switching when an anomaly is detected. Step S8: The actuator drive unit converts the control quantities output by each coroutine into actuator drive commands and sends them to the corresponding precision air conditioning equipment.
2. The multi-process control method for a data center precision air conditioning system according to claim 1, characterized in that, The calculation formula for the PID control algorithm with feedforward in step S3 is as follows: ; in, This is the compressor speed control value. For temperature deviation, , , These are the temperature proportionality, integral, and differential coefficients, respectively. Forward coefficients, Outdoor ambient temperature For reference to outdoor temperature.
3. The multi-process control method for a data center precision air conditioning system according to claim 1, characterized in that, The calculation formula for the PI control algorithm with temperature decoupling term in step S4 is as follows: ; in, For humidity control parameters, For humidity deviation, , These are the humidity ratio and the integral coefficient, respectively. This is the temperature decoupling coefficient. This refers to temperature deviation.
4. The multi-process control method for a data center precision air conditioning system according to claim 1, characterized in that, Step S5 specifically includes: Estimating current IT load power based on rack power monitoring or temperature difference and fan speed. ; According to the formula Calculate required air volume ,in, air density, The specific heat capacity of air, For supply air temperature, Return air temperature; According to the formula Calculate the fan speed control quantity ,in, Rated air volume This is the temperature deviation compensation coefficient.
5. The multi-process control method for a data center precision air conditioning system according to claim 1, characterized in that, In step S6, the temperature and humidity control conflict index is calculated. The formula is: ; in, For humidity control parameters, For temperature deviation, Humidity deviation; Furthermore, when the conflict index When the temperature deviation exceeds the preset threshold, the system control mode is switched to temperature priority mode, humidity priority mode, or balanced mode based on the absolute value of the temperature deviation and humidity deviation.
6. The multi-process control method for a data center precision air conditioning system according to claim 5, characterized in that, The formula for dynamically adjusting the integral coefficient of the temperature control cooperative in step S6 is as follows: ; in, The adjusted integral coefficients, As the baseline integral coefficient, For the rate of temperature change, This is the adjustment coefficient.
7. The multi-process control method for a data center precision air conditioning system according to claim 1, characterized in that, The multi-coroutine scheduling and synchronization unit adopts a priority-based preemptive scheduling strategy, in which the temperature control coroutine has the highest priority, followed by the humidity control coroutine, then the air volume control coroutine, and the collaborative optimization coroutine and the status monitoring coroutine have the lowest priority.
8. The multi-process control method for a data center precision air conditioning system according to claim 1, characterized in that, Step S7 specifically includes: The status monitoring coroutine monitors whether the sensor values exceed the reasonable range at a fixed frequency. If so, it sends an alarm and forces all control coroutines to suspend and switch to safe mode. The status monitoring coroutine maintains a heartbeat counter for each control coroutine. If a coroutine fails to update its output for more than three times its execution cycle, it is determined that the coroutine is in a dead state. The scheduling unit kills the coroutine and recreates it, restoring its last valid output from shared memory.
9. The multi-process control method for a data center precision air conditioning system according to claim 1, characterized in that, The collaborative optimization process also dynamically adjusts the temperature decoupling coefficient in the humidity control process according to the system control mode: when in temperature priority mode, the temperature decoupling coefficient is increased to sacrifice humidity control accuracy in order to ensure temperature control effect.
10. A multi-process control system for precision air conditioning in a data center, characterized in that: For executing the multi-coroutine control method of a data center precision air conditioning system according to any one of claims 1-9, the system comprising: The sensor data acquisition unit is used to acquire operating parameters of various areas of the data center; A data preprocessing and feature extraction unit is used to filter and calculate features of the operating parameters; A multi-coroutine scheduling and synchronization unit is used to manage the lifecycle and synchronization of each coroutine; The temperature control coroutine module, humidity control coroutine module, air volume control coroutine module, collaborative optimization coroutine module, and status monitoring coroutine module are used to execute the corresponding control algorithms. The actuator drive unit is used to convert control quantities into drive commands and issue them.
