Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a server apparatus or similar computing device. Taking the operation on the server device as an example, fig. 1 is a hardware block diagram of a server device according to a control method of a server temperature control device according to an embodiment of the present application. As shown in fig. 1, the server device may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU, a programmable logic device FPGA, or the like processing means) and a memory 104 for storing data, wherein the server device may further include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those of ordinary skill in the art that the architecture shown in fig. 1 is merely illustrative and is not intended to limit the architecture of the server apparatus described above. For example, the server device may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a control method of a server temperature control device in an embodiment of the present application, and the processor 102 executes the computer program stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located with respect to the processor 102, which may be connected to the server device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a server device. In one example, the transmission device 106 includes a network adapter (Network lnterface Controller, simply referred to as a NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
In this embodiment, a control method of a server temperature control device is provided, and the control method is applied to a controller, where the controller is connected to a target temperature control device disposed on a server, and the temperature control device is used to regulate and control an operating temperature of the server, and fig. 2 is a flowchart of a control method of a server temperature control device according to an embodiment of the present application, as shown in fig. 2, where the flowchart includes the following steps:
step S202, detecting the current running temperature of the server at the current moment;
Step S204, screening target operation parameters from the target temperature control equipment between current operation parameters at the current moment and expected operation parameters corresponding to a target temperature difference according to equipment information of the target temperature control equipment when the current operation temperature does not fall into a target temperature range, wherein the target temperature range is a temperature range corresponding to normal operation of the server, the equipment information is used for indicating equipment properties of the target temperature control equipment, the target temperature difference is a difference value between the current operation temperature and the target operation temperature, the target operation temperature falls into the target temperature range, the expected operation parameters are operation parameters allowing the target temperature control equipment to regulate the current operation temperature to the target operation temperature at a target speed, and a reference speed of regulating the current operation temperature to the target operation temperature is smaller than the target speed but larger than a speed threshold;
Step S206, controlling the target temperature control device to operate according to the target operation parameter.
Through the steps, the current running temperature of the server at the current moment is detected; under the condition that the current operation temperature does not fall into a target temperature range, screening target operation parameters from the current operation parameters of the target temperature control equipment at the current moment and expected operation parameters corresponding to target temperature differences according to equipment information of the target temperature control equipment, wherein the target temperature range is a temperature range corresponding to normal operation of a server, the equipment information is used for indicating equipment properties of the target temperature control equipment, the target temperature differences are differences between the current operation temperature and the target operation temperature, the target operation temperature falls into the target temperature range, the expected operation parameters are operation parameters which allow the target temperature control equipment to regulate the current operation temperature to the target operation temperature at a target speed, and the reference speed of regulating the current operation temperature to the target operation temperature is smaller than the target speed but larger than a speed threshold; and controlling the target temperature control equipment to operate according to the target operation parameters. That is, by detecting the expected operation parameter, the target operation parameter of the target temperature control device is adjusted through the expected operation parameter, and since the expected operation parameter is an operation parameter which allows the target temperature control device to regulate the current operation temperature to the target operation temperature at the target speed, the server gradually cools down to the temperature range corresponding to the normal operation, and the condition that the operation parameter of the target temperature control device changes too fast to cause failure is avoided. Therefore, the problem of lower control efficiency of the server temperature control equipment can be solved, and the effect of improving the control efficiency of the server temperature control equipment is achieved.
Optionally, in this embodiment, the control method of the server temperature control device provided by the present application may be widely used in a scenario, and may include, but is not limited to: when the internal temperature of the server exceeds a preset threshold, the temperature control equipment is controlled to improve the heat dissipation efficiency, when the load of the server increases (such as running a large number of calculation tasks or data processing tasks), the heating value increases, the temperature control equipment is controlled to maintain a proper temperature, when the environmental temperature of a machine room or a data center increases, the temperature control equipment is controlled to compensate the heat influence of the external environment, and when a fault or abnormal rotation speed occurs in one of the temperature control equipment, the other temperature control equipment is adjusted to maintain the overall heat dissipation efficiency, etc.
Optionally, in this embodiment, the server temperature control device is a device for regulating an operating temperature of the server, such as: fan equipment deployed on the server, liquid in the liquid cooling server which uses liquid (usually water or special cooling liquid) to circulate and take away heat, equipment in which the server uses refrigerant to circulate between the evaporator and the condenser to realize heat transfer and heat dissipation, and the like.
Alternatively, in this embodiment, the target temperature control device is a server temperature control device disposed on a server, and the controller is a device having an operation parameter for adjusting the target temperature control device.
In the solution provided in step S202, the current operating temperature may be, but not limited to, the operating temperature of the server at the current time obtained by measurement, or may be the actual operating temperature of the closest server determined according to the operating temperature of the server at the current time obtained by measurement and the operating temperature of the server at the current time obtained by estimation. In the method for controlling the temperature control device of the server according to the present embodiment, it is considered that the measured operating temperature of the server at the current time has a certain deviation from the actual operating temperature of the server, so that the deviation may be corrected by, but not limited to, the estimated operating temperature of the server at the current time to obtain the closest actual operating temperature of the server.
Alternatively, in the present embodiment, in the case where the current operation temperature is obtained by measurement, the current operation temperature may be measured in various ways, such as: the current operating temperature is detected by a sensor deployed on the server, a thermal infrared imager or an infrared camera is used to detect the current operating temperature of the thermal radiation value on the surface of the server, a contact thermometer such as a thermocouple or a Resistance Temperature Detector (RTD) is used, a specific component inside the server is directly contacted to measure the temperature to obtain the current operating temperature, and the like.
In one exemplary embodiment, the current operating temperature of the server at the current time may be detected, but is not limited to, in the following manner: detecting the actual operation temperature of the server, wherein the actual operation temperature is the temperature of the server at the current moment, which is obtained through measurement; and inputting the actual operating temperature into a target prediction model to obtain a target operating temperature output by the target prediction model, wherein the target prediction model is used for predicting the predicted operating temperature of the server at the current moment according to a plurality of historical operating temperatures of the server in historical time, and screening the actual operating temperature of the server from the predicted operating temperature and the actual operating temperature to serve as the current operating temperature.
Alternatively, in the present embodiment, the actual operating temperature of the server may be detected in a variety of ways, such as: the actual operating temperature of the server is detected by a sensor disposed on the server, a thermal infrared imager or an infrared camera is used to detect the actual operating temperature of the server surface, a contact thermometer such as a thermocouple or a Resistance Temperature Detector (RTD) is used to directly contact a specific component inside the server to measure the temperature to obtain the actual operating temperature of the server, etc.
Alternatively, in the present embodiment, the target prediction model is a model that allows predicting the predicted operation temperature of the server at the current time based on a plurality of historical operation temperatures of the server at the historical time, and screens the actual operation temperature of the server from the predicted operation temperature and the actual operation temperature as the current operation temperature, which may be, but is not limited to, a BP neural network obtained through training, or may be a model with prediction and screening functions obtained through other means.
Taking a target prediction model as a BP neural network as an example, the BP neural network is used for forward propagation of time sequence prediction, namely an input sequence is x= [ x t,xt-1,...,xt-n+1 ] and an output prediction value isThe target prediction model may predict the predicted operating temperature of the server at the current time by, but is not limited to:
inputting an input sequence x= [ x t,xt-1,...,xt-n+1 ] to an input layer;
Forward propagating the input sequence to the hidden layer: h=σ (W 1x+b1), where W 1 is the weight matrix input to the hidden layer, b 1 is the bias of the hidden layer, σ is the activation function;
Hidden layer to output layer: where W 2 is the hidden layer to output layer weight matrix, b 2 is the output layer bias, and σ is the activation function.
The BP neural network predicts the running temperature according to the output of the output layerAnd the actual operation temperature x t obtained by actual measurement is used for screening the target operation temperature, for example:
At the predicted operating temperature If the temperature difference from the actual operating temperature x t is greater than or equal to the first threshold, both are considered to be unreliable, the actual operating temperature x t+1 is read again and the predicted operating temperature is calculatedThe actual operating temperature x t+1 and the predicted operating temperature obtained from the second readingIn the case where the temperature difference of (2) is still greater than or equal to the first threshold value, the actual operating temperature x t+1 And (3) with is selected to predict the operating temperatureThe larger operating temperature in the range is used as the target operating temperature for output;
At the predicted operating temperature Taking the predicted operating temperature when the temperature difference from the actual operating temperature x t is smaller than a first threshold value and is greater than or equal to a second threshold valueThe average value of the actual operating temperature x t is taken as the target operating temperature to be output;
At the predicted operating temperature Taking the predicted operating temperature under the condition that the temperature difference from the actual operating temperature x t is smaller than a second threshold valueOutput as the target operating temperature.
In one exemplary embodiment, after the inputting the actual operating temperature into the target prediction model to obtain the target operating temperature output by the target prediction model, the following manner may be adopted, but is not limited to: filtering temperature noise in the target running temperature output by the target prediction model; and taking the operation temperature after the temperature noise is filtered as the target operation temperature, and detecting whether the target operation temperature falls into the target temperature range.
Alternatively, in this embodiment, in order to reduce the interference term in the prediction process, the temperature noise in the target operating temperature output by the target prediction model may be filtered by, but not limited to, using a method such as kalman filtering, and the kalman filtering process is implemented by:
The measurement equation and the state equation provided with the Kalman filtering comprise: x k+1=FkXk+Wk、Zk=HkXk+Vk, wherein X k is a system state prediction amount in m×1 dimensions, F k is a state transition matrix in m×m dimensions, and W k is noise conforming to a state prediction amount of normal distribution N (0, q); z k is the measurement of an N1-dimensional system, H k is the measurement matrix of an N-dimensional measurement function, and V k is the noise of the measurement of a system that meets the normal distribution N (0, R).
The prediction equation of discrete Kalman filtering can be obtained by the measurement equation and the state equation, and is as follows:
Further available state update equations are: Pk+1=(I-Kk+1Hk+1)Mk+1、 Wherein, A predicted value representing the state quantity,The estimated value of the state quantity is represented by M, the covariance matrix of the prediction error is represented by P, the covariance matrix of the estimated error is represented by P, and K is the Kalman filtering gain.
Converting the discrete Kalman filtering into a time domain Kalman filtering and simplifying to obtain the following formula:
The error e is further obtained: e=x d-Xt, where X d is a set desired value.
Prediction using BP neural networkWherein f represents a prediction function of the BP neural network, the prediction function is input as an observation value at the current and the previous moments, the actual observation value is used for updating the state estimation of the Kalman filter, and the prediction step after correction by using the Kalman filter is as follows:
the updating steps are as follows: k t+1=Pt+1|t(Pt+1|t+R)-1, P t+1=(1-Kt+1)Pt+1|t, namely, filtering the predicted operation temperature obtained by prediction can be realized through a Kalman filtering process in the prediction process, and filtering the target operation temperature can be realized through the Kalman filtering process after the target operation temperature is output by the target prediction model.
In a server environment running at high speed, failure of the temperature regulation system can cause an increase in internal temperature, seriously affecting the operation of the server. In a continuous dynamic change system, the output of the next moment of the system is unknown, an algorithm such as a BP neural network and the like which can reasonably predict the state change of the next moment according to the state quantity of the last moment and the moment of the system is selected, the calibration of measured values is realized, and in order to further optimize the target running temperature, the feedback value of the system is filtered by using a Kalman filtering algorithm, so that the feedback value acquired by the system is more stable.
In the technical solution provided in step S204, the target temperature range is a temperature range corresponding to the normal operation of the server, and the target temperature range may, but is not limited to, have an upper limit value and a lower limit value, that is, when the operating temperature of the server is less than or equal to the upper limit value and greater than or equal to the lower limit value, the operating temperature of the server is considered to be in the temperature range corresponding to the normal operation of the server; or if the operating temperature of the server is greater than the upper limit value or less than the lower limit value, the operating temperature of the server is considered to be not allowed to normally operate.
Optionally, in this embodiment, the device information of the target temperature control device may be, but is not limited to, used to instruct the target temperature control device to adjust the influence of the operation parameter on the target temperature device, for example: and when the speed of the target temperature control equipment for adjusting the operation parameters is larger than the speed threshold, the equipment information of the target temperature control equipment is used for indicating that the influence of the target temperature control equipment for adjusting the operation parameters on the target temperature equipment is larger, and the like. The device information of the target temperature control device may be obtained, but is not limited to, by testing the target temperature control device.
Optionally, in this embodiment, the current operation parameter of the target temperature control device at the current time may be, but not limited to, an efficiency for indicating that the target temperature control device is cooling the server, and the operation parameters corresponding to different types of target temperature control devices may be different, for example: when the target temperature control device is a fan on the server, the rotation speed of the fan is determined as the operation parameter of the target temperature control device, when the target temperature control device is a liquid immersed in the liquid cooling server, the flow rate of the liquid is determined as the operation parameter of the target temperature control device, and the like.
Alternatively, in the present embodiment, the desired operation parameter of the target temperature control device may be determined according to, but not limited to, a target temperature difference between the current operation temperature of the server and the target operation temperature, such as: the larger the target temperature difference between the current operating temperature and the target operating temperature of the server, the higher the expected operating parameter of the target temperature control device; the smaller the target temperature difference between the current operating temperature of the server and the target operating temperature, the smaller the desired operating parameter of the target temperature control device, etc.
Optionally, in this embodiment, the target operating parameter of the target temperature control device is used to regulate the current operating temperature of the server to the target operating temperature of the server at the fastest speed, that is, the target speed may be, but is not limited to, the fastest speed allowed by the target temperature control device to be implemented as the speed at which the server cools down. Or the target speed may be a set speed.
In one exemplary embodiment, the target operating parameter may be, but is not limited to, screened from the target temperature control device between the current operating parameter at the current time and the desired operating parameter corresponding to the target temperature difference according to the device information of the target temperature control device in the following manner: acquiring the equipment information of the target temperature control equipment; detecting the current operation parameter of the target temperature control equipment, and detecting the expected operation parameter corresponding to the target temperature difference; calculating an operation parameter difference of the target temperature control equipment according to the current operation parameter and the expected operation parameter; screening the target operating parameters from among the current operating parameters and the expected operating parameters according to the equipment information, the target temperature difference and the operating parameter difference.
Alternatively, in the present embodiment, the current operation parameter of the target temperature control device may be detected in various ways, such as: the method comprises the steps of detecting current operation parameters of target temperature control equipment by using server management software, detecting current operation parameters of the target temperature control equipment by using IPMI (INTELLIGENT PLATFORM MANAGEMENT INTERFACE ), detecting current operation parameters of the target temperature control equipment by using tools provided by an operating system, detecting current operation parameters of the target temperature control equipment by using third-party monitoring software, detecting current operation parameters of the target temperature control equipment by using hardware monitoring equipment and the like.
Optionally, in this embodiment, but not limited to, the temperature difference and the expected operation parameter with the corresponding relationship may be built by testing the server, and then the expected operation parameter corresponding to the current target temperature difference may be searched from the temperature difference and the expected operation parameter with the corresponding relationship built in advance.
In one exemplary embodiment, the current operating parameters of the target temperature control device may be detected, but are not limited to, in the following manner: detecting the current operation rotating speed of the target temperature control equipment as the current operation parameter; the desired operating parameter corresponding to the target temperature difference may be detected, but is not limited to, in the following manner: searching an operation rotating speed corresponding to the target temperature difference from the temperature difference and the operation rotating speed with the corresponding relation as the expected operation parameter, wherein the temperature difference and the operation rotating speed with the corresponding relation are used for indicating the target temperature control equipment to reduce the temperature difference to zero at the target speed; the operating parameter difference of the target temperature control device may be calculated from the current operating parameter and the desired operating parameter, but is not limited to, in the following manner: calculating a difference between a current operating speed and an expected operating speed as the operating parameter difference of the target temperature control device, wherein the current operating parameter comprises the current operating speed and the expected operating parameter comprises the expected operating speed; the target operating parameter may be screened from between the current operating parameter and the desired operating parameter based on the plant information, the target temperature difference, and the operating parameter difference, but is not limited to, in the following manner: detecting the reference speed of the target temperature control equipment for regulating the current operation temperature to the target operation temperature according to the target temperature difference, wherein the reference speed and the target temperature difference are in positive correlation; calculating a reference operating parameter of the target temperature control device according to the device information, the target temperature difference, the operating parameter difference and the reference speed; and calculating the sum of the reference operation parameter and the current operation parameter of the target temperature control equipment as the target operation parameter.
Optionally, in this embodiment, the target temperature difference is calculated according to the current operating temperature and the target operating temperature of the server, and in a case where the target temperature control device is a fan device deployed on the server, the operating rotation speed of the fan device deployed on the server is detected as the current operating parameter of the fan device, and the operating rotation speed corresponding to the target temperature difference is found from the temperature difference and the operating rotation speed having a corresponding relationship and is used as the desired operating parameter. Or under the condition that the target temperature control equipment is the liquid immersed by the server, detecting the liquid flow rate of the liquid immersed by the server as the current operation parameter of the liquid, and searching the liquid flow rate corresponding to the target temperature difference from the temperature difference and the liquid flow rate with corresponding relations as the expected operation parameter.
Optionally, in this embodiment, the target operation parameter is equal to a sum of the reference operation parameter and a current operation parameter of the target temperature control device, where the target temperature control device is a fan device deployed on a server, and where the current operation parameter is an operation rotation speed of the fan device deployed on the server, and where the fan device needs to be adjusted to perform heat dissipation on the server, the reference operation parameter is a positive value, that is, the operation rotation speed of the fan device needs to be adjusted; or in case the power consumption of the fan apparatus needs to be reduced, the reference operation parameter may also be negative, i.e. the operation rotational speed of the fan apparatus needs to be reduced.
In one exemplary embodiment, the reference operating parameters of the target temperature control device may be calculated from the device information, the target temperature difference, the operating parameter difference, and the reference speed, but are not limited to, in the following manner: calculating the reference operating parameter deltau of the target temperature control device by the following formula: Wherein e is the target temperature difference, k is the reference speed, And alpha, beta and gamma are the equipment information obtained through simulation, and t is the time difference between the current moment and the last moment.
Alternatively, in the present embodiment, at the reference operation parameter Δu: the target operation parameter U (t) may be calculated by the following formula:
Wherein U (t-1) is the current operating parameter of the target temperature control device; or alternatively
In the technical solution provided in step S206, for different target temperature control devices, the target temperature control devices may be controlled to operate according to the target operating parameters in a corresponding manner, for example: when the target temperature control device is a fan, the fan is operated at a rotational speed corresponding to the target operation parameter, and when the target temperature control device is a liquid, the liquid is operated at a flow rate corresponding to the target operation parameter.
In one exemplary embodiment, the target temperature control device may be controlled to operate in accordance with the target operating parameters, but is not limited to, in the following manner: converting the target operation parameter into a target duty cycle of a modulated pulse signal; and sending the modulation pulse signal to the target temperature control equipment according to the target duty ratio.
Optionally, in this embodiment, in order to better understand the control process of the server temperature control device in the control method of the server temperature control device provided by the present application, the following description of the above flow is provided in connection with an optional embodiment, but is not limited to the technical solution of the embodiment of the present application.
In one exemplary embodiment, an example of a control process of a server temperature control device is provided. Fig. 3 is a schematic diagram of a control process of a server temperature control device according to an embodiment of the present application, as shown in fig. 3, which may be operated by, but not limited to, the following process control server temperature control device:
the temperature data of all the devices in the server are collected through a temperature sensor to serve as actual operation temperature, and the actual operation temperature is transmitted to a controller;
The controller predicts the predicted operation temperature of the server at the current moment by using a BP neural network (target prediction model), outputs the target operation temperature according to the predicted operation temperature and the actual operation temperature, and filters the target operation temperature through a Kalman filtering process; it should be noted that, in the above-mentioned process, the kalman filtering process is to process the goal operating temperature outputted by BP neural network, but can also use the kalman filtering process to filter the temperature obtained in the above-mentioned overall process, namely can carry on the choice process of the goal operating temperature after filtering the predicted operating temperature and actual operating temperature first, can reject the noise in the data effectively through the kalman filtering, make the temperature data more accurate and reliable, in addition, the kalman filtering can also carry on the linearization processing to the discrete temperature data, make it become a continuous data link, this kind of processing mode has promoted the continuity of the data, has strengthened the predictability of the data;
after the target operating temperature is obtained, calculating according to the system state estimated value to realize screening of target operating parameters; it should be noted that the above process can be realized by a sliding mode controller, that is, the sliding mode controller realizes real-time tracking and regulation of temperature change by setting a reasonable sliding mode surface and a control strategy, in this way, the system can early warn abnormal temperature change in advance and timely regulate over-temperature condition, thereby effectively guaranteeing safe operation of each component of the server;
And under the condition that the target operation parameters are determined, controlling the target temperature control equipment to operate according to the target operation parameters.
Through the process, the accuracy of data processing is improved, and the robustness and response speed of the system are also enhanced. In practical application, the combination algorithm can remarkably improve the working efficiency and reliability of the server. Specifically: the Kalman filtering performs noise filtering on the temperature data through a recursive algorithm, so that the sensor data is more accurate. Meanwhile, discrete data are converted into continuous data lines through linearization, so that smoothness and continuity of the data are improved, and a good foundation is provided for subsequent sliding mode control. The processed temperature data can realize real-time monitoring and prediction of temperature change under the action of the sliding mode controller. And the sliding mode controller dynamically adjusts a control strategy according to the trend and the amplitude of the temperature change, so as to ensure that the temperature is maintained in a safe range.
Optionally, in this embodiment, fig. 4 is a schematic diagram of a screening process of a target operation parameter according to an embodiment of the present application, as shown in fig. 4, by taking as an example implementation of screening the target operation parameter by a sliding mode controller, specifically including:
The sliding mode controller is a closed-loop control system, b (t) is a standard input value set by the system, r (t) is a feedback value, E (t) is an error between an input end set value b (t) and the feedback value r (t), and the error is calculated by a comparison module; e is input into the calculation flow of the sliding mode controller, the increment of the system is obtained through the sliding mode controller, and then the increment value is added to the output value of the system at the last moment, so that the output value u (t) of the system at the moment can be obtained. The design of the end sliding mode surface is as follows:
Wherein alpha >0, beta >0, q and p are positive odd numbers, and q < p, gamma > p/q, e is the input bias;
The derivation of the above is available: Wherein, As the amount of change in the actual input amount,A variation amount for a desired input amount;
The above formula can be further calculated: Where ΔU is the difference between the output of the system at time t and the output at time (t-1), i.e., the reference operating parameter.
Because the sliding mode control in the related art actually has the shake phenomenon, and the shake can cause irreversible damage to the fan, in order to reduce the influence of shake on the system and consider the rapidity, the approach law is designed as follows: Where k (t) is the adaptive rate, i.e. the reference speed, which determines the convergence speed at a further distance from the desired temperature, taking into account the hysteresis of the temperature transmission τ、∈>0;
Will approach the rateThe entrainment into Δu is available:
Verifying stability of the synovial membrane controller:
Taking Lyapunov function as The derivation can be obtained:
Further can be obtained: I.e. And 0, the system can be more quickly approaching to a sliding mode by increasing the index approach item, so that the heat dissipation system can be more quickly and effectively enabled to reach the optimal state in the server in the heat dissipation process of the server, and the system is stable.
Finite arrival time analysis: let t g be the time required for s (0) +.0 to s (t) =0, i.e. any s (t) is not zero in the time 0→t g period. From the verification of the stability of the synovial controller:
When t=t g,
That is to say,
The method can obtain the following steps:
it is known that the synovial membrane controller can be stabilized in a limited time, i.e. the reference operating parameters can be found in a limited time.
From the above deductions, the output value target operation parameters of the sliding mode control are as follows:
In the process, the sliding mode control algorithm based on Kalman filtering realizes accurate control and early warning of the temperature of the server through accurate noise processing and effective temperature regulation, and greatly improves the working efficiency and the safety of the server. The method has high theoretical value in practical application and also shows remarkable practical effect.
It should be noted that, although the approach rate is designed correspondingly to avoid such adverse factors for the shake defect of the sliding mode control, and the current sliding mode control is regulated according to the value input by the sensor, once the sensor fails or is affected by other factors in the transmission process, the value received by the regulating system is incorrect, which directly affects the regulating capability of the regulating system to the temperature, so for such factors, a BP neural network is added in the regulating system to predict the next beat according to the temperature value of the last beat, so as to compare with the current reading value, if the reading value obviously does not conform to the reality, the regulating system regulates the system by using the predicted value, otherwise, the reading value is used, in the scheme proposed by the present application, fig. 5 is a schematic diagram two of a screening process of a target operation parameter according to an embodiment of the present application, as shown in fig. 5, the target operation parameter may be screened by, but is not limited to:
And when the actual server is controlled by a simple sliding mode control algorithm, comparing feedback values depending on the system, and adjusting the next output value of the system. If the feedback signal of the system is in a problem, the sliding mode control algorithm is invalid, so that the regulation and control system is not in action. In a server environment running at high speed, failure of the temperature regulation system can cause an increase in internal temperature, seriously affecting the operation of the server. In a continuously dynamically changing system, the output of the system at the next instant is unknown. The Kalman filtering algorithm can reasonably predict the state change at the next moment according to the state quantity at the last moment and the moment of the system. In order to further optimize the system by Kalman filtering, replacing the predicted value obtained by the conventional prediction method of the Kalman filtering with the predicted value obtained by the BP neural network, and ensuring that the sliding mode control does not have strong dependency on the feedback value, the Kalman filtering algorithm is used for filtering the feedback value of the system, so that the data with larger deviation are balanced, and the feedback value obtained by the system is more stable, and the specific process comprises the following steps:
Taking the predicted value of the BP neural network as the predicted value of the Kalman filtering, then using the actual observed value to update the state estimation of the Kalman filtering, and using the BP neural network to predict: Wherein f represents the prediction function of the BP neural network, and is input as the observation value of the current and previous time.
Correction was performed using kalman filtering:
and a prediction step:
updating: k t+1=Pt+1|t(Pt+1|t+R)-1, Pt+1=(1-Kt+1)Pt+1|t;
Bringing E into the ΔU formula gives: it is further possible to obtain:
that is, at this time, the target temperature difference e is equal to that obtained by BP neural network and Kalman filtering
And (3) combining the control flow of the sliding mode control algorithm, and changing the feedback flow of the sliding mode control algorithm. The Kalman filtering is introduced into the feedback system, so that adverse effects on the system caused by inaccurate regulation and control temperature due to overlarge data jump transmitted by the temperature sensor in the operation of the actual server are avoided, and the feedback signal of the system is subjected to filtering processing, so that the feedback signal of the system is more stable.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiment also provides a control device of the server temperature control equipment, which is applied to a controller, wherein the controller is connected with target temperature control equipment deployed on the server, and the temperature control equipment is used for regulating and controlling the running temperature of the server. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 6 is a block diagram of a control apparatus of a server temperature control device according to an embodiment of the present application, as shown in fig. 6, including:
a first detection module 62, configured to detect a current operating temperature of the server at a current time;
A screening module 64, configured to screen, when the current operating temperature does not fall within a target temperature range, a target operating parameter from the target temperature control device according to device information of the target temperature control device, where the target temperature range is a temperature range corresponding to normal operation of the server, the device information is used to indicate a device attribute of the target temperature control device, the target temperature difference is a difference between the current operating temperature and a target operating temperature, the target operating temperature falls within the target temperature range, the target operating parameter is an operating parameter that allows the target temperature control device to regulate the current operating temperature to the target operating temperature at a target speed, and a reference speed of the target operating parameter to regulate the current operating temperature to the target operating temperature is less than the target speed but greater than a speed threshold;
And a control module 66 for controlling the target temperature control device to operate according to the target operating parameter.
By the device, the current running temperature of the server at the current moment is detected; under the condition that the current operation temperature does not fall into a target temperature range, screening target operation parameters from the current operation parameters of the target temperature control equipment at the current moment and expected operation parameters corresponding to target temperature differences according to equipment information of the target temperature control equipment, wherein the target temperature range is a temperature range corresponding to normal operation of a server, the equipment information is used for indicating equipment properties of the target temperature control equipment, the target temperature differences are differences between the current operation temperature and the target operation temperature, the target operation temperature falls into the target temperature range, the expected operation parameters are operation parameters which allow the target temperature control equipment to regulate the current operation temperature to the target operation temperature at a target speed, and the reference speed of regulating the current operation temperature to the target operation temperature is smaller than the target speed but larger than a speed threshold; and controlling the target temperature control equipment to operate according to the target operation parameters. That is, by detecting the expected operation parameter, the target operation parameter of the target temperature control device is adjusted through the expected operation parameter, and since the expected operation parameter is an operation parameter which allows the target temperature control device to regulate the current operation temperature to the target operation temperature at the target speed, the server gradually cools down to the temperature range corresponding to the normal operation, and the condition that the operation parameter of the target temperature control device changes too fast to cause failure is avoided. Therefore, the problem of lower control efficiency of the server temperature control equipment can be solved, and the effect of improving the control efficiency of the server temperature control equipment is achieved.
In one exemplary embodiment, the screening module includes:
an acquisition unit configured to acquire the device information of the target temperature control device;
The detection unit is used for detecting the current operation parameter of the target temperature control equipment and detecting the expected operation parameter corresponding to the target temperature difference;
a calculating unit, configured to calculate an operation parameter difference of the target temperature control device according to the current operation parameter and the expected operation parameter;
and the screening unit is used for screening the target operation parameters from the current operation parameters and the expected operation parameters according to the equipment information, the target temperature difference and the operation parameter difference.
In an exemplary embodiment, the acquiring unit is further configured to: detecting the current operation rotating speed of the target temperature control equipment as the current operation parameter; the detection unit is further used for: searching an operation rotating speed corresponding to the target temperature difference from the temperature difference and the operation rotating speed with the corresponding relation as the expected operation parameter, wherein the temperature difference and the operation rotating speed with the corresponding relation are used for indicating the target temperature control equipment to reduce the temperature difference to zero at the target speed; the computing unit is further configured to: calculating a difference between a current operating speed and an expected operating speed as the operating parameter difference of the target temperature control device, wherein the current operating parameter comprises the current operating speed and the expected operating parameter comprises the expected operating speed; the screening unit is further configured to: detecting the reference speed of the target temperature control equipment for regulating the current operation temperature to the target operation temperature according to the target temperature difference, wherein the reference speed and the target temperature difference are in positive correlation; calculating a reference operating parameter of the target temperature control device according to the device information, the target temperature difference, the operating parameter difference and the reference speed; and calculating the sum of the reference operation parameter and the current operation parameter of the target temperature control equipment as the target operation parameter.
In an exemplary embodiment, the screening unit is further configured to: calculating the reference operating parameter deltau of the target temperature control device by the following formula: Wherein e is the target temperature difference, k is the reference speed, And alpha, beta and gamma are the equipment information obtained through simulation, and t is the time difference between the current moment and the last moment.
In an exemplary embodiment, the first detection module is further configured to: detecting the actual operation temperature of the server, wherein the actual operation temperature is the temperature of the server at the current moment, which is obtained through measurement; and inputting the actual operating temperature into a target prediction model to obtain a target operating temperature output by the target prediction model, wherein the target prediction model is used for predicting the predicted operating temperature of the server at the current moment according to a plurality of historical operating temperatures of the server in historical time, and screening the actual operating temperature of the server from the predicted operating temperature and the actual operating temperature to serve as the current operating temperature.
In an exemplary embodiment, after said inputting said actual operating temperature into a target prediction model results in a target operating temperature output by said target prediction model, said apparatus further comprises:
The filtering module is used for filtering temperature noise in the target running temperature output by the target prediction model;
and the second detection module is used for taking the operation temperature after the temperature noise is filtered as the target operation temperature and detecting whether the target operation temperature falls into the target temperature range.
In one exemplary embodiment, the control module includes:
A conversion unit for converting the target operation parameter into a target duty cycle of a modulated pulse signal;
And the transmitting unit is used for transmitting the modulation pulse signal to the target temperature control equipment according to the target duty ratio.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; or the above modules may be located in different processors in any combination.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the present application further provides an electronic device, fig. 7 is a block diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 7, the electronic device includes a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to perform steps in any of the method embodiments described above.
In an exemplary embodiment, the electronic device may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Embodiments of the application also provide a computer program product comprising a computer program which, when executed by a processor, implements the steps of any of the method embodiments described above.
Embodiments of the present application also provide another computer program product comprising a non-volatile computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of any of the method embodiments described above.
Embodiments of the present application also provide a computer program comprising computer instructions stored on a computer-readable storage medium; the processor of the computer device reads the computer instructions from the computer readable storage medium and the embedder executes the computer instructions to cause the computer device to perform the steps of any of the method embodiments described above.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.