A method for predicting rack air outlet temperature in data center based on support vector machine

Through the support vector machine-based method and the improved gray wolf optimization algorithm, a data center rack outlet air temperature prediction model was established, which solved the problem of being unable to accurately predict the data center rack outlet air temperature in the existing technology, and achieved rapid response and High-precision prediction optimizes air conditioning control and reduces energy consumption.

CN118133145BInactive Publication Date: 2024-09-20NANJING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410551667.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technology cannot accurately predict the air outlet temperature of data center racks. As a result, the air conditioning control method is limited to the room level. Local hot spots at the server and rack levels cannot be determined. The calculation is time-consuming and cannot optimize the air conditioning control strategy to reduce energy consumption.

Method used

Using a method based on support vector machines and improving the gray wolf optimization algorithm to obtain a combination of hyperparameters, establish a data center rack outlet air temperature prediction model, collect influencing factor data and perform data processing, and use the LibSVM library to perform regression predictions to improve the performance of the model and generalization ability.

Benefits of technology

It achieves fast response and high-precision prediction of rack outlet air temperature, reduces energy consumption, improves cooling utilization efficiency, and avoids server overheating.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118133145B
    Figure CN118133145B
Patent Text Reader

Abstract

The present invention provides a method for predicting the air outlet temperature of a data center rack based on a support vector machine, comprising: collecting and importing data; dividing the data set and performing normalization processing; establishing a prediction model with optimal parameters; and using the prediction model to predict the temperature results. Compared with the traditional CFD model, the present invention often takes tens of minutes to solve after modifying the parameters, while the support vector machine algorithm can obtain the prediction results immediately after the model is established by inputting the parameters. And by optimizing the support vector machine hyperparameters (C, g) using the improved grey wolf optimization algorithm (IGWO), the optimal parameter combination suitable for the data characteristics can be better found, thereby improving the performance and generalization ability of the model. Therefore, the method has the advantages of fast response speed and high prediction accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data center operation and maintenance, and in particular to a method for predicting rack air outlet temperature of a data center based on a support vector machine. Background Art

[0002] As the carrier of data, data centers provide resource services and application services such as data computing, storage, and exchange. They have huge data processing capabilities and have become the cornerstone of today's global economic development.

[0003] However, the data center room stores a large number of IT equipment for data computing and storage. Due to the thermal coupling caused by the high density of electronic components, a high temperature environment will appear. In order to ensure that the data center is in a safe working temperature environment, the data center usually adopts high-intensity air conditioning cooling, which wastes a lot of energy. As the number and scale of data centers continue to expand, the strict requirements for the working environment will limit the application of energy-saving technologies in data centers. Therefore, the requirements for the working environment of data centers are gradually being relaxed, and low temperature is no longer pursued blindly. Moreover, as the main heat source of the data center, the server determines the cooling demand of the data center air conditioning system, but the air conditioning control method of most data centers is currently limited to the room level, and it is impossible to determine whether there are local hot spots at the server and rack levels. In the traditional data center temperature distribution model, the model is fixed and targeted, which is not suitable for promotion to different data center environments, and the calculation is time-consuming and the model is static. Nowadays, a more accurate and efficient dynamic prediction method for rack outlet temperature is needed to strengthen the connection between the server and the air conditioner, and refine the air conditioning control method at the computer room level to the server level to optimize the control strategy of the data center air conditioner, adopt a more energy-saving air conditioning control method while avoiding server overheating, improve the utilization efficiency of cooling capacity, and reduce energy consumption. Summary of the invention

[0004] The object of the present invention is to provide a method for predicting the air outlet temperature of a data center rack based on a support vector machine, so as to solve the technical problems raised in the background technology.

[0005] The technical solution adopted by the present invention to solve the above-mentioned technology is:

[0006] A method for predicting the air outlet temperature of a data center rack based on a support vector machine comprises the following steps:

[0007] Step S1. Analyze the factors affecting the air outlet temperature of the data center rack and collect data information of such factors;

[0008] Step S2. Divide and process the collected data information into data sets; the data sets include test samples and training samples;

[0009] Step S3. Obtaining the optimal parameter combination of the support vector machine hyperparameters by improving the gray wolf optimization algorithm;

[0010] Step S4. Establish a model with the optimal parameter combination, import the training samples in step S2 into the model for training, and obtain a prediction model for the air outlet temperature of the data center rack;

[0011] Step S5: predict the test samples through the prediction model, obtain the rack outlet air temperature results under different input parameter conditions, and verify the prediction results.

[0012] Furthermore, in step S1, the factors affecting the rack outlet air temperature of the data center include air conditioner supply and return air temperature, wind speed, server power, rack inlet air temperature and geometric position; data information of such influencing factors is collected, including:

[0013] Collection of temperature information data: Use a resistance temperature sensor to measure the temperature of the equipment, connect the temperature acquisition module to convert the resistance signal into a digital signal, connect it to the PC host computer through a USB converter, transmit the temperature data to the PC host computer and store it;

[0014] Power information data collection: A socket-type power meter is used to monitor the power of the rack server, and the power data is sent to the PC host computer via Bluetooth for storage;

[0015] Collection of airflow information data: Use an anemometer to record the wind speed information of the equipment, and send the wind speed data to the PC host computer via Bluetooth;

[0016] Collection of location information data: Use a distance meter to measure the distance between the cabinet and the air conditioner, and calibrate the three-dimensional coordinates of the cabinet in the computer room.

[0017] Furthermore, the specific steps of step S2 include:

[0018] Step S21. Count the data collected in step S1 and save them in an Excel file, select the air conditioner return air temperature, wind speed, server power, rack inlet air temperature and geometric position as independent variables, i.e., input parameters; select the rack outlet air temperature at the next moment as the dependent variable, i.e., output parameter;

[0019] Step S22. The data collected in step S1 are organized into a data set file and imported into Python software. 80% of the data are selected from the data set as training samples and 20% of the data are selected as test samples by random sampling. The regression problem is solved with the help of LibSVM library.

[0020] Step S23. In order to better reflect the mapping relationship between input parameters and output parameters, the test samples are globally normalized before model training. The data obtained after normalization is between [0,1]. The normalization function is:

[0021]

[0022] In the formula, Indicates samples, Indicates The result after sample normalization is represents the maximum value in the sample set, Indicates the minimum value in the sample set.

[0023] Furthermore, the specific steps of step S3 include:

[0024] Step S31. Setting algorithm parameters, including the number of individuals in the gray wolf population, the maximum number of iterations, the upper and lower bounds of the optimization parameters, and calculating the fitness function;

[0025] Step S32. Initialize the position of the wolf pack using the Tent chaotic mapping sequence, and select the better individuals to form the initial group according to the fitness values ​​of the gray wolf individuals;

[0026] Step S33. The convergence factor of the updated position is improved into a nonlinear convergence factor, and the candidate position of the gray wolf is updated;

[0027] Step S34. Calculate the Euclidean distance between the current position of the gray wolf individual and the global optimal position, determine the neighbors of each wolf, introduce the dimensional learning hunting search strategy (DLH), calculate each dimension of the new position, generate candidate solutions for the current wolf, and select the candidate solutions that win from the two strategies; after reaching the maximum number of iterations, output the optimal SVM parameter combination (C, g).

[0028] Furthermore, the specific steps of step S4 include:

[0029] Step S41. Construct a parameter string cmd to store command line parameters for subsequent passing to the svmtrain function. Set the parameters required by the model in the cmd string, including the kernel function type, SVM type, insensitive loss coefficient, and the optimal parameter combination obtained in step S3;

[0030] Step S42. Construct a model variable for storing the support vector machine model, call the svmtrain function to train the support vector machine prediction model, the parameter list of the svmtrain function includes the training samples obtained in step S2 and the cmd string, and obtain the trained model.

[0031] Furthermore, the step S5 predicts the rack outlet air temperature value under different input parameter conditions using the support vector machine prediction model trained in step S4, and obtains the prediction result by using the test samples in the data set and the svmpredict function; a comparison chart of the actual value and the predicted value of the rack outlet air temperature is made, and the authenticity and accuracy of the prediction result are verified by the evaluation index of the regression model; the performance index parameters of the evaluation regression model include the mean absolute error, the mean deviation, the root mean square error and the determination coefficient.

[0032] Compared with the prior art, the present invention has the following advantages or technical effects: Compared with the traditional CFD model, after modifying the parameters, the solution time often takes dozens of minutes, while using the support vector machine algorithm, after completing the establishment of the model, the input parameters can immediately get the prediction results. And by optimizing the support vector machine hyperparameters (C, g) by the improved gray wolf optimization algorithm (IGWO), the optimal parameter combination suitable for the data characteristics can be better found, thereby improving the performance and generalization ability of the model. Therefore, the method has the advantages of fast response speed and high prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0034] Figure 1 This is a design diagram of the data center data collection solution of the present invention;

[0035] Figure 2 This is a multi-temperature sensor connection circuit diagram based on RS485 of the present invention;

[0036] Figure 3 This is a self-made temperature acquisition PC host computer operation diagram based on the actual situation of the data center;

[0037] Figure 4 This is a flow chart of the data center rack outlet air temperature prediction based on the support vector machine of the present invention;

[0038] Figure 5 This is a comparison chart between the actual value and the predicted value of the rack outlet air temperature of the support vector machine model of the present invention. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] Please refer to the attached Figure 1 -Attached Figure 5 The present invention provides a method for predicting the air outlet temperature of a data center rack based on a support vector machine, comprising the following steps:

[0041] Step S1: Analyze the factors affecting the rack outlet air temperature of the data center and collect the data required by the rack outlet air temperature prediction model. The specific steps include:

[0042] Step S11. Investigate the layout, cooling form and monitoring system of the data center. In order to understand the multiple influencing factors of the rack outlet air temperature in the data center, test a single server separately, simplify the influencing factors of the rack outlet air temperature, and use SPSS software to verify the correlation between each influencing factor and the rack outlet air temperature. Determine the data required to establish the rack outlet air temperature prediction model, such as air conditioning return air temperature, wind speed, server power, rack inlet air temperature, geometric position and other parameters.

[0043] Step S12. Hardware construction of data center rack outlet temperature data acquisition system. Temperature information data acquisition: Use PT100 platinum resistance temperature sensor to measure the temperature of the equipment, convert the collected analog resistance signal into a digital signal recognizable by the computer by adding 8-way PT100 temperature acquisition module, connect to the PC host computer through USB to RS485 converter, transmit the temperature data to the PC host computer and store it, and visualize the temperature data through the host computer software. Power information data acquisition: Use a socket power meter to measure the rack power, send the power data to the PC host computer via Bluetooth and store it, and visualize the power data with the help of the host computer software. Airflow information data acquisition: Use an anemometer to measure the wind speed at the air outlet, return air outlet and movable floor of the air conditioner, and send the wind speed data to the PC host computer via Bluetooth, and visualize the wind speed information with the help of the host computer software. Position information data acquisition: Use a rangefinder to measure the distance between the cabinet and the air conditioner, and calibrate the three-dimensional coordinates of the cabinet in the computer room.

[0044] Step S13. Software construction of the data center rack outlet temperature data acquisition system. Test the hardware equipment through Modbus Poll and Modbus Slave to ensure that the communication between the hardware and software is normal. Use VisualStudio's Windows form application to complete the interface design and program writing of the host computer to meet the requirements of multi-station number and multi-sensor real-time acquisition of temperature information data.

[0045] Step S2: divide the collected data into data sets and process the data; the data sets include test samples and training samples. The specific steps include:

[0046] Step S21. Count the data collected in step S1 and save them in an Excel file. Select the air conditioner supply and return air temperature, wind speed, server power, rack inlet air temperature and geometric position as independent variables, i.e., input parameters; select the rack outlet air temperature at the next moment as the dependent variable, i.e., output parameter.

[0047] Step S22. Organize the data collected in step S1 into a data set file and import it into Python software. Use random sampling to select 80% of the data from the data set as training samples, select 20% of the data as test samples, and install the LibSVM library to solve the support vector machine regression problem with the help of the LibSVM library.

[0048] Step S23. In order to better reflect the mapping relationship between input parameters and output parameters, the test samples are globally normalized before model training. The data obtained after normalization is between [0,1]. The normalization function is:

[0049]

[0050] In the formula, Indicates samples, Indicates The result after sample normalization is represents the maximum value in the sample set, represents the minimum value in the sample set. Step S3. Obtain the optimal parameter combination of the support vector machine hyperparameters by improving the gray wolf optimization algorithm. The specific steps include:

[0051] Step S31. Set the algorithm parameters: the number of individuals in the gray wolf population is 20, the maximum number of iterations is 100, the upper and lower bounds of the penalty parameter C are [2^(-5), [2^5], the upper and lower bounds of the kernel function parameter g are [2^-15, 2^3], and calculate the fitness function.

[0052] Step S32. Use the Tent chaotic mapping sequence to initialize the position of the wolf pack; calculate the fitness values ​​of the gray wolf individuals and sort them, select the better individuals to form the initial group, and define the three individuals with the best fitness as , , The remaining groups are , forming the initial group; the Tent mapping expression is:

[0053]

[0054] In the formula, represents an individual in a population, Represents the dimension of the space, that is, the number of variables that need to be optimized.

[0055] Step S33. The convergence factor of the updated position is improved to a nonlinear convergence factor, the fitness is calculated and sorted, and the next generation gray wolf (GWO) candidate position is obtained; the convergence factor function expression is:

[0056]

[0057] In the formula, Indicates the current iteration number, Indicates the number of iterations.

[0058] Step S34. Calculate the Euclidean distance between the current position of the individual gray wolf and the global optimal position, determine the neighbors of each wolf, introduce the dimensional learning hunting search strategy (DLH), calculate each dimension of the new position, generate candidate solutions for the current wolf, and select the candidate solutions that win with the two strategies. After reaching the maximum number of iterations, output the optimal SVM parameter combination (C, g).

[0059] Step S4. Construct a parameter string cmd to store command line parameters for subsequent passing to the svmtrain function. Set the parameters required for the model in the cmd string, including the kernel function type, the SVM type, the insensitive loss coefficient, and the optimal parameter combination obtained in step S3. Construct a model variable to store the support vector machine model. Call the svmtrain function to train the support vector machine prediction model. The parameter list of the svmtrain function includes the training samples obtained in step S2 and the cmd string to obtain the trained model.

[0060] Step S5. Use the support vector machine prediction model trained in step S4 to predict the rack outlet air temperature value under different input parameter conditions, and use the test samples in the data set to predict the input test sample data using the svmpredict function to obtain the prediction results, and verify the authenticity and accuracy of the prediction model through the evaluation indicators of the regression model. The performance indicator parameters for evaluating the regression model are: mean absolute error (MAE), mean deviation (MBE), root mean square error (RMSE), and determination coefficient (R²), which are summarized as the following formula:

[0061] ;

[0062] ;

[0063] ;

[0064]

[0065] In the formula, Expressed as the sample size, Expressed as The predicted value of samples, Expressed as The actual value of the samples, Represents the average of the actual values.

[0066] The performance index parameters for evaluating the regression model are shown in Table 1:

[0067] Table 1

[0068]

[0069] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.

[0070] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A method for predicting the air outlet temperature of a data center rack based on a support vector machine, characterized in that: The following steps are involved: Step S1. Analyze the influencing factors of the rack outlet air temperature in the data center and collect data information of the influencing factors; the influencing factors include air conditioning supply and return air temperature, wind speed, server power, rack inlet air temperature and geometric position; Step S2. Divide and process the collected data information into data sets; the data sets include test samples and training samples; Step S3. Obtaining the optimal parameter combination of the support vector machine hyperparameters by improving the gray wolf optimization algorithm; It includes the following sub-steps: Step S31. Setting algorithm parameters, including the number of individuals in the gray wolf population, the maximum number of iterations, the upper and lower bounds of the optimization parameters, and calculating the fitness function; Step S32. Initialize the position of the wolf pack using the Tent chaotic mapping sequence, and select the better individuals to form the initial group according to the fitness values ​​of the gray wolf individuals; Step S33. The convergence factor of the updated position is improved into a nonlinear convergence factor, and the candidate position of the gray wolf is updated; Step S34. Calculate the Euclidean distance between the current position of the individual gray wolf and the global optimal position, determine the neighbors of each wolf, introduce the dimensional learning hunting search strategy, calculate each dimension of the new position, generate candidate solutions for the current wolf, and select the candidate solutions that win from the two strategies; after reaching the maximum number of iterations, output the optimal parameter combination of SVM; Step S4. Establish a model with the optimal parameter combination, import the training samples in step S2 into the model for training, and obtain a prediction model for the air outlet temperature of the data center rack; Step S5: predict the test samples through the prediction model, obtain the rack outlet air temperature results under different input parameter conditions, and verify the prediction results.

2. A data center rack outlet air temperature prediction method based on support vector machine according to claim 1, characterized in that: In step S1, data information of influencing factors is collected, including: Collection of temperature information data: Use a resistance temperature sensor to measure the temperature of the equipment, connect the temperature acquisition module to convert the resistance signal into a digital signal, connect it to the PC host computer through a USB converter, transmit the temperature data to the PC host computer and store it; Power information data collection: A socket-type power meter is used to monitor the power of the rack server, and the power data is sent to the PC host computer via Bluetooth for storage; Collection of airflow information data: Use an anemometer to record the wind speed information of the equipment, and send the wind speed data to the PC host computer via Bluetooth; Collection of location information data: Use a distance meter to measure the distance between the cabinet and the air conditioner, and calibrate the three-dimensional coordinates of the cabinet in the computer room.

3. A data center rack outlet air temperature prediction method based on support vector machine according to claim 2, characterized in that: The specific steps of step S2 include: Step S21. Count the data collected in step S1 and save them in an Excel file, select the air conditioner return air temperature, wind speed, server power, rack inlet air temperature and geometric position as independent variables, i.e., input parameters; select the rack outlet air temperature at the next moment as the dependent variable, i.e., output parameter; Step S22. The data collected in step S1 are organized into a data set file and imported into Python software. 80% of the data are selected from the data set as training samples and 20% of the data are selected as test samples by random sampling. Step S23: Perform global normalization on the test samples. The data obtained after normalization is between [0, 1]. The normalization function is: , In the formula, Indicates Samples , Indicates The result after sample normalization is represents the maximum value in the sample set, Indicates the minimum value in the sample set.

4. A method for predicting air outlet temperature of a data center rack based on a support vector machine according to claim 2, characterized in that: The specific steps of step S4 include: Step S41. Construct a parameter string cmd for storing command line parameters, and set the parameters required by the model in the cmd string, including the kernel function type, the SVM type, the insensitive loss coefficient, and the optimal parameter combination obtained in step S3; Step S42. Construct a model variable for storing the support vector machine model, call the svmtrain function to train the support vector machine prediction model, the parameter list of the svmtrain function includes the training samples obtained in step S2 and the cmd string, and obtain the trained prediction model.

5. The method for predicting the air outlet temperature of a data center rack based on a support vector machine according to claim 1, characterized in that: In step S5, a comparison chart of the actual value and the predicted value of the rack outlet air temperature is made, and the authenticity and accuracy of the prediction result are verified by the evaluation index of the regression model; the performance index parameters of the evaluation regression model include mean absolute error, mean deviation, root mean square error and determination coefficient.