Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The chip is currently typically temperature controlled by a temperature controller employing predictive control algorithms. After the existing temperature controller adopting the predictive control algorithm is designed, the parameter "softening factor" related to temperature control is fixed, that is, the temperature controller always controls the temperature of the chip through the fixed softening factor. The temperature controller adopting the fixed softening factor is difficult to realize more accurate temperature control on the chip, the phenomenon that the chip is burnt out due to overhigh temperature can be easily caused, the phenomenon that the rotating speed of a fan for cooling is too high, and the noise and the power consumption of the fan are wasted can be easily caused.
The inventor finds that the reason that the existing temperature controller adopting the predictive control algorithm is difficult to realize more accurate temperature control on the chip is that the temperature controller adopts a fixed softening factor to carry out temperature control. The fixed softening factor can not meet the requirements of the response speed and the overshoot of the temperature control system where the temperature controller is located, and the response speed and the overshoot are always contradictory. Therefore, through the consideration, the inventor considers that the technical scheme of adjusting the temperature controller can be designed, so that the softening factor of the temperature controller is adjusted on line in real time in the process of controlling the temperature of the chip by the temperature control system, and the response speed and the overshoot of the temperature control system where the temperature controller is positioned can meet the requirements in real time in the temperature control process. The technical scheme for adjusting the temperature controller is as follows: and selecting a control target of a temperature control system where the temperature controller is located, wherein the control target is a target related to the temperature control effect of the temperature controller. Target data related to the selected control target is collected from temperature control data at the current moment, wherein the temperature control data is data related to temperature control executed by a temperature control system on a chip to be temperature controlled. Then, the satisfaction membership of the control target is determined based on the collected target data, and finally, the softening factor of the temperature controller is adjusted based on the determined satisfaction membership. Therefore, in the process of controlling the temperature of the chip, the temperature control system can adjust the softening factor of the temperature controller in real time based on the control target of the temperature control system and the data related to the temperature control of the temperature control system to be executed by the temperature control chip at the current moment, so that the softening factor of the temperature controller can meet the requirements of the response speed and the overshoot of the temperature control system of the temperature controller in real time, the temperature controller can realize more accurate temperature control on the chip based on the adjusted softening factor, and further the phenomenon that the chip is burnt due to overhigh temperature is avoided, and the phenomenon that the fan noise and the power consumption waste are caused due to overhigh rotating speed of the fan for cooling is avoided.
Based on the technical scheme of temperature controller adjustment, the embodiment of the application provides a temperature controller adjustment device and method and a temperature control system. The temperature controller adjusting device, the temperature controller adjusting method and the temperature control system provided by the embodiment of the application are specifically described below.
The following specifically describes a technical scheme for adjusting a temperature controller provided in an embodiment of the present application.
As shown in fig. 1, an embodiment of the present application provides a temperature controller adjusting device, which mainly includes:
the selecting module 11 is used for selecting a control target of a temperature control system where the temperature controller is located; wherein the control target is a target related to a temperature control effect of the temperature controller.
The acquisition module 12 is used for acquiring target data related to the selected control target from temperature control data at the current moment; the temperature control data is data related to temperature control executed by the temperature control system on the chip to be temperature controlled.
A determining module 13 for determining a satisfactory membership of the control target based on the collected target data.
An adjustment module 14 for adjusting the softening factor of the temperature controller based on the determined satisfaction membership.
The specific structure and interaction relation of each module related to the temperature controller adjusting device are described below:
selecting module 11:
the temperature controller is a temperature controller adopting a predictive control algorithm and is used for controlling the temperature of the chip to be temperature-controlled. The temperature controller is located in the temperature control system shown in fig. 2. Fig. 2 includes a temperature controller 01, a fan 02, and a feedback device 03. The set temperature value is a set input value to the temperature control system. The temperature controller 01 is used for issuing a temperature control instruction to the fan 02. The fan 02 is used for executing the rotating speed corresponding to the temperature control instruction so as to cool the chip to be temperature-controlled. After the fan 02 executes the rotation speed corresponding to the temperature control command, the feedback device 03 will collect the actual output temperature value of the chip to be temperature controlled. The specific type of the fan 02 and the temperature controller 01 herein is not particularly limited in this embodiment. Illustratively, fan 02 is a fan with a fan control model built using transfer function, which outputs rotational speed through the fan control model. The temperature controller 01 is a controller established based on any one of the following predictive control algorithms: dynamic matrix control (Dynamic Matrix Control, DMC), model algorithm control (Model Algorithm Control, MAC), generalized predictive control (Generalized Predictive Control, GPC), predictive function control (Predictive Functional Control, PFC). For example, considering that DMC adopts a multi-step estimation technique, the delay problem in the temperature control process can be effectively solved, so the temperature controller 01 in the embodiment of the present application may be a DMC controller.
The temperature control effect of the temperature controller is related to a specific value of the softening factor, and the influence of the softening factor alpha on the performance of the temperature controller, namely, the temperature control effect is analyzed and described below. The reference trajectory of the softening factor can be expressed by the following formula (1):
ω(k+j)=α j y(k)+(1-α j )y r (1)
in the formula (1), ω (k+j) represents an expected input temperature value of a temperature control system in which the temperature controller is located, that is, a temperature that the temperature control chip is expected to be able to reach; y (k) represents an actual output temperature value of the temperature control system, namely, a temperature value of the chip to be temperature-controlled after the fan 02 executes a rotating speed corresponding to the temperature control instruction; y is r A set temperature value representing a temperature control system; alpha represents a softening factor, and the value range of the alpha is 0, 1; j represents 1,2, …, P represents the future predicted time domain length; k represents a certain moment.
When the softening factor alpha is zero, the output of the temperature control system where the temperature controller is located completely tracks the set temperature value, which indicates that the smaller the softening factor alpha is, the faster the output of the temperature control system approaches to the set temperature, and the more intense the response of the temperature controller is. The output of the temperature control system refers to the actual output temperature value of the temperature control chip after the fan in the temperature control system executes the rotating speed corresponding to the temperature control instruction. When the softening factor alpha is larger, the output of the temperature control system where the temperature controller is positioned is softer and is closer to the set temperature value, the control action of the temperature controller is more gentle, and the impact action on the temperature controller is reduced at the moment, so that the stability of the temperature controller is more facilitated. Therefore, the softening factor is used for enabling the output of the temperature control system where the temperature controller is located to track the set temperature value softly and reducing the output oscillation. The on-line change of the softening factor has a larger influence on the dynamic response of the temperature control system, so that the on-line adjustment of the softening factor can be realized by selecting a control target related to the softening factor and by data related to the control target in data related to the temperature control executed by the temperature controller on the chip to be controlled, thereby enabling the temperature controller to realize more accurate temperature control on the chip.
The effect of the softening factor on the output of the temperature control system in which the temperature controller is located is described below in terms of a unit step response diagram for the different softening factors shown in fig. 3. The abscissa in fig. 3 represents time, and the ordinate represents the unit step response output by the temperature control system. The other parameters of the temperature controller are kept unchanged, only the softening factor of the temperature controller is changed, and the unit step response after the softening factor alpha is respectively taken to be 0.1, 0.3, 0.5, 0.7, 0.8 and 0.9 is shown in fig. 3. As can be analytically derived from fig. 3, the smaller the softening factor, the faster the response speed of the temperature control system, but the larger the overshoot of the temperature control system; the greater the softening factor, the slower the response speed of the temperature control system, but the smaller the overshoot. Therefore, the fixed softening factor cannot meet the requirements of the response speed and the overshoot of the temperature control system where the temperature controller is located, and the response speed and the overshoot are always contradictory. Therefore, in the process of controlling the temperature of the chip, the temperature controller can adjust the softening factor of the temperature controller in real time based on the control target of the temperature controller and the data related to the temperature control of the temperature controller to be executed by the temperature controller at the current moment, so that the softening factor of the temperature controller can meet the requirements of the response speed and overshoot of the temperature control system in which the temperature controller is positioned in real time.
The selecting module 11 is mainly used for selecting a control target of a temperature control system where the temperature controller is located. The control target here is a target related to the temperature control effect of the temperature controller, and the magnitude of the target value of the control target can reflect whether the temperature controller has reached the desired temperature control effect.
The temperature control effect of the temperature controller is related to the specific value of the softening factor, so that the control target is related to the softening factor of the temperature controller and affects the specific value of the softening factor.
The selection module 11 is specifically configured to select at least one of the response time and the overshoot as a control target of the temperature control system. The response time and the overshoot are control targets for influencing the softening factor value. The response time refers to the time taken for the output of the temperature control system where the temperature controller is located to reach stability under the action of an input signal of 'set temperature value'. The overshoot is the percentage of the difference of the maximum value of the output of the temperature control system in which the temperature controller is located minus the steady state value, and the ratio of the steady state value. The output refers to the actual output temperature value of the temperature control chip after the temperature control system performs temperature control, that is, after the fan in the temperature control system performs the rotation speed corresponding to the temperature control instruction output by the temperature controller.
Acquisition module 12:
the acquisition module 12 is mainly used for acquiring target data related to the selected control target from temperature control data at the current moment. The temperature control data herein is data related to temperature control performed by the temperature control system on the chip to be temperature controlled, and may include the following: the set temperature value is the set input value of the temperature control system, and the actual output temperature value of the temperature control chip after the fan in the temperature control system executes the rotating speed corresponding to the temperature control instruction. The target data collected by the collection module 12 is related to the control targets, that is, the target data collected by different control targets may be different. The following describes a specific embodiment of the acquisition scheme for acquiring target data related to response time and overshoot.
When the control target is a response time, as shown in fig. 4, the acquisition module 12 includes: the first collection unit 121 is configured to collect, as target data related to response time, an actual output temperature value and a set temperature value corresponding to a current time of a temperature controller in temperature control data if the selected control target includes the response time. The set temperature value is a temperature input value set by the temperature control system at the current moment. The actual output temperature value is the temperature of the temperature control chip after the temperature control system where the temperature controller is located executes the temperature control instruction. The actual output temperature value and the set temperature value are here data for determining a satisfactory membership of the response time.
When the control target is the overshoot, as shown in fig. 4, the acquisition module 12 includes: the second collection unit 122 is configured to collect, as target data related to the overshoot, a predicted output temperature value corresponding to the temperature control system in the temperature control data at least one future time if the selected control target includes the overshoot; wherein the at least one future time instant is a time instant determined based on the current time instant. The predicted output temperature value is the temperature that the chip to be temperature controlled may have after the temperature control system where the predicted temperature controller is located executes the temperature control instruction expected to be sent by the temperature controller at the corresponding future time. The predicted output temperature value corresponding to at least one future time instant here is data for determining a satisfactory membership of the overshoot. Illustratively, if the current time is t, determining a prediction time domain based on the current time, then determining at least one time in the prediction time domain as at least one future time, and collecting a predicted output temperature value corresponding to each future time.
Determination module 13:
the determining module 13 is mainly used for determining the satisfaction membership of the control target based on the collected target data. Different control objectives relate to different solutions for determining the degree of membership of satisfaction. The following describes the technical schemes for determining the satisfaction membership of different control targets.
The following describes the technical scheme for determining the satisfied membership of the control target "response time":
as shown in fig. 4, the determination module 13 includes a first determination unit 131 and a second determination unit 132. The first determining unit 131 is configured to determine an estimated value of the response time based on the actual output temperature value and the set temperature value. The second determining unit 132 is configured to determine a satisfaction membership of the response time based on the predicted value of the response time, the maximum expected value and the minimum expected value corresponding to the response time.
A first determining unit 131 specifically configured to determine an absolute value error and an absolute value error change rate based on the actual output temperature value and the set temperature value; the absolute value error and the numerical value condition of the absolute value error rate of change are determined, and an estimated value of the response time is determined based on the determined numerical value condition.
The absolute value error is an absolute value error between the actual output temperature value and the set temperature value, and represents an absolute magnitude of deviation of the actual output temperature value from the set temperature value. The absolute value error change rate is obtained by deriving the absolute value error. The predicted value of the response time indicates the time taken for the output of the temperature control system in which the temperature control is located to reach the set temperature value based on the current absolute value error rate.
In determining the predicted value of the response time, first, the absolute value error and the numerical condition of the absolute value error rate of change are determined, and then the predicted value of the response time is determined based on the determined numerical condition. The technical schemes for determining the predicted value under different numerical conditions are different. The technical scheme of determining the predicted value of the response time by the first determining unit 131 includes three kinds of following:
first, the first determining unit 131 is specifically configured to determine, as the predicted value, a ratio between the absolute value error and the absolute value of the absolute value error change rate if the absolute value error and the absolute value error change rate are smaller than zero. When the absolute value error change rate is smaller than zero, the error between the output of the temperature control system where the temperature controller is located and the set temperature value is being reduced, so that a value obtained by dividing the absolute value error of the current moment by the absolute value of the absolute value error change rate is obtained as the predicted value of the response time of the current moment.
Second, the first determining unit 131 is specifically configured to determine zero as the predicted value if the absolute value error and the absolute value error change rate are both zero. When the absolute value error and the absolute value error change rate are both equal to zero, the output of the temperature control system where the temperature controller is located reaches a stable state, and the error between the actual output temperature value and the set temperature value of the temperature control system is 0, so that the predicted value of the response time is determined to be zero.
Third, the first determining unit 131 is specifically configured to determine the first value as the predicted value if the absolute value error and the numerical condition of the absolute value error change rate are that the absolute value error is not zero and the absolute value error change rate is not less than zero, where the first value is a numerical value that is not zero. When the absolute value error is not equal to 0 and the absolute value error change rate is greater than or equal to zero, the error between the output of the temperature control system and the set temperature value is increased, and the output of the temperature control system takes a long time to reach the set temperature value, so that the response estimated time of the temperature control system at the current moment is a great value, and the first value is determined as the estimated value. The first value indicates that the output of the temperature control system takes a long time to reach the set temperature value. The size of the first value may be set based on the service requirement, and the embodiment is not limited specifically. Illustratively, the first value is a large value, for example, the first value is 10.
The three schemes for determining the predicted value of the response time by the first determining unit 131 can be represented by the following formula (2):
in the formula (2), t s (t) represents an estimated value of response time; e (t) represents an absolute value error between the actual output temperature value and the set temperature value; e· (t) represents the absolute value error rate of change; b represents a first value.
After the first determination unit 131 determines the predicted value of the response time, the second determination unit 132 determines the satisfaction membership of the response time based on the predicted value. The satisfaction membership here reflects the degree to which the predicted value of the response time belongs to the expected value to which the predicted value corresponds.
The second determining unit 132 is specifically configured to determine a predicted value of the response time, a numerical condition between a maximum expected value and a minimum expected value corresponding to the response time, and determine a satisfactory membership of the response time based on the determined numerical condition.
The satisfaction membership of the response time is related to the predicted value of the response time, the numerical conditions of the maximum expected value and the minimum expected value corresponding to the response time, so that when the satisfaction membership of the response time is determined, the predicted value of the response time, the numerical conditions between the maximum expected value and the minimum expected value corresponding to the response time are first determined, and then the satisfaction membership of the response time is determined based on the determined numerical conditions.
The technical scheme of determining the satisfaction membership of the response time is different according to the predicted value of the response time and the different numerical conditions between the maximum expected value and the minimum expected value corresponding to the response time. The technical scheme of determining the satisfaction membership of the response time by the second determining unit 132 includes the following seven kinds:
The first, second determining unit 132 is specifically configured to determine zero as the satisfactory membership degree of the response time if the predicted value of the response time, the value between the maximum expected value and the minimum expected value corresponding to the response time is the predicted value is the first value, where the first value is a value other than zero. When the predicted value of the response time is a first value, the error between the output of the temperature control system where the temperature controller is located and the set temperature value is increasing, and the output of the temperature control system takes a long time to reach the set temperature value, so that the difference between the predicted value of the response time and the expected value corresponding to the predicted value is large, and zero is determined as the satisfactory membership degree of the response time.
Second, the second determining unit 132 is specifically configured to determine 1 as the satisfactory membership degree of the response time if the predicted value of the response time, and the numerical condition between the maximum expected value and the minimum expected value corresponding to the response time are zero. The predicted value of the response time is zero, which indicates that the output of the temperature control system where the temperature controller is located reaches a stable state, and indicates that the error between the output of the temperature control system and the set temperature value is 0, and the difference between the predicted value of the response time and the expected value corresponding to the predicted value is small or even negligible, so that 1 is determined as the satisfactory membership of the response time.
Third, the second determining unit 132 is specifically configured to determine zero as the satisfactory membership degree of the response time if the predicted value of the response time, the value condition between the maximum expected value and the minimum expected value corresponding to the response time is that the predicted value is smaller than the difference between the minimum expected value and the first blur width. The predicted value is smaller than the difference between the minimum expected value and the first fuzzy width, which means that the output of the temperature control system where the temperature controller is located takes a long time to reach the set temperature value, so that the difference between the predicted value of the response time and the expected value corresponding to the predicted value is larger, and zero is determined as the satisfactory membership of the response time.
Fourth, the second determining unit 132 is specifically configured to determine zero as the satisfactory membership degree of the response time if the predicted value of the response time, the value between the maximum expected value and the minimum expected value corresponding to the response time, is not less than the sum of the maximum expected value and the second blur width. The predicted value is not less than the sum of the maximum expected value and the second fuzzy width, which indicates that the output of the temperature control system where the temperature controller is located can reach the set temperature value only by a long time, so that the difference between the predicted value of the response time and the expected value corresponding to the predicted value is large, and zero is determined as the satisfactory membership of the response time.
Fifth, the second determining unit 132 is specifically configured to determine 1 as the satisfactory membership of the response time if the predicted value of the response time, the value between the maximum expected value and the minimum expected value corresponding to the response time is that the predicted value is smaller than the maximum expected value and greater than the minimum expected value. The predicted value is smaller than the maximum expected value and larger than the minimum expected value, which means that the predicted value is located between the maximum expected value and the minimum expected value, and the output of the temperature control system where the temperature controller is located needs little time to reach the set temperature value, so that 1 is determined as the satisfactory membership of the response time.
Sixth, the second determining unit 132 is specifically configured to determine, if the predicted value of the response time, the predicted value between the maximum expected value and the minimum expected value corresponding to the response time, is greater than the maximum expected value and less than the sum of the maximum expected value and the second fuzzy width, a second value based on the predicted value, the maximum expected value and the second fuzzy width, and determine the second value as the satisfaction membership of the response time. The preset value is larger than the maximum expected value and smaller than the sum of the maximum expected value and the second fuzzy width, which indicates that the output of the temperature control system where the temperature controller is positioned can reach the set temperature value within a certain time, at the moment, the difference value between the preset value and the maximum expected value is determined, and the ratio between the difference value and the second fuzzy width is determined. The difference between 1 and the ratio is determined as a second value, here the second value is determined as the satisfactory membership of the response time.
Seventh, the second determining unit 132 is specifically configured to determine, if the predicted value of the response time, the predicted value between the maximum expected value and the minimum expected value corresponding to the response time, is not less than the difference between the minimum expected value and the first fuzzy width, and is less than the minimum expected value, a third value based on the predicted value, the minimum expected value, and the first fuzzy width, and determine the third value as the satisfactory membership of the response time. The preset value is not smaller than the difference value between the minimum expected value and the first fuzzy width and smaller than the minimum expected value, and the output of the temperature control system where the temperature controller is located can reach the set temperature value within a certain time, at the moment, the difference value between the minimum expected value and the preset value is determined, and the ratio between the difference value and the first fuzzy width is determined. The difference between 1 and the ratio is determined as a third value, here the third value is determined as the satisfactory membership of the response time.
The above-described seven solutions for determining the satisfaction membership of the response time by the second determining unit 132 can be represented by the following formula (3) and the satisfaction membership function diagram shown in fig. 5.
In the formula (3),
representing a satisfactory membership of the response time; t is t
smin Representing a minimum expected value corresponding to the response time; t is t
smax Representing a maximum expected value corresponding to the response time; p1 represents a first blur width; p2 represents a second blur width; t is t
s (t) represents an estimated value of response time; b represents a first value.
The following describes the technical scheme for determining the satisfied membership of the control target "overshoot":
as shown in fig. 4, the determining module 13 includes: a third determining unit 133 for, for each future time instant: and determining the satisfaction membership degree of the overshoot at the future moment based on the predicted output temperature value corresponding to the future moment.
The third determining unit 133 is specifically configured to determine a numerical condition among the maximum expected predicted output value, the minimum expected predicted output value, and the predicted output temperature value corresponding to the future time, and determine the satisfaction membership of the overshoot at the future time based on the determined numerical condition.
For a future time, the technical solutions for determining the satisfaction membership of the overshoot are different under different numerical conditions among the maximum expected predicted output value, the minimum expected predicted output value and the predicted output temperature value corresponding to the future time. The technical solution for determining the satisfaction membership of the overshoot amount by the third determining unit 133 includes the following five kinds:
First, the third determining unit 133 is configured to determine zero as the satisfaction membership of the overshoot if the numerical condition among the maximum expected predicted output value, the minimum expected predicted output value, and the predicted output temperature value corresponding to the future time is that the predicted output temperature value is smaller than the difference between the minimum expected predicted output value and the third blur width. The predicted output temperature value is smaller than the difference between the minimum expected predicted output value and the third fuzzy width, which indicates that the output and the set temperature value of the temperature control system where the temperature controller is positioned are larger, and the temperature control precision of the temperature controller is too low, so that zero is determined as the satisfactory membership degree of the overshoot.
Second, the third determining unit 133 is configured to determine a fourth value based on the predicted output temperature value, the minimum expected predicted output value, and the third fuzzy width if the numerical condition among the maximum expected predicted output value, the minimum expected predicted output value, and the predicted output temperature value corresponding to the future time is that the predicted output temperature value is not less than the difference between the minimum expected predicted output value and the third fuzzy width, and is less than the minimum expected predicted output value, and determine the fourth value as a satisfaction membership degree of the overshoot. The predicted output temperature value is not smaller than the difference value between the minimum expected predicted output value and the third fuzzy width and smaller than the minimum expected predicted output value, which means that the deviation between the output of the temperature control system where the temperature controller is located and the set temperature value is smaller, at the moment, the difference value between the predicted output temperature value at the current future moment and the minimum expected predicted output value is determined, and the ratio between the difference value and the third fuzzy width is determined. And determining the sum of 1 and the ratio as a fourth value, wherein the fourth value is the satisfied membership degree of the overshoot at the current future moment.
Third, the third determining unit 133 is configured to determine 1 as the satisfaction membership of the overshoot if the numerical condition among the maximum expected predicted output value, the minimum expected predicted output value, and the predicted output temperature value corresponding to the future time is that the predicted output temperature value is greater than the minimum expected predicted output value and less than the maximum expected predicted output value. The predicted output temperature value is greater than the minimum expected predicted output value and less than the maximum expected predicted output value, which means that the predicted output temperature value at the current future time is between the minimum expected predicted output value and the maximum expected predicted output value, and the deviation between the output temperature values of the temperature control system in which the temperature controller is located is within a reasonable range, so that 1 is determined as the satisfactory membership degree of the overshoot at the current future time.
Fourth, the third determining unit 133 is configured to determine a fifth value based on the predicted output temperature value, the maximum expected predicted output value, and the fourth blur width if the numerical condition among the maximum expected predicted output value, the minimum expected predicted output value, and the predicted output temperature value corresponding to the future time is that the predicted output temperature value is not less than the maximum expected predicted output value and is less than the sum of the maximum expected predicted output value and the fourth blur width, and determine the fifth value as the satisfaction membership degree of the overshoot. The predicted output temperature value is not smaller than the maximum expected predicted output value and smaller than the sum of the maximum expected predicted output value and the fourth fuzzy width, which indicates that the deviation between the output of the temperature control system where the temperature controller is located and the set temperature value is smaller, at the moment, the difference value between the predicted output temperature value at the current future time and the maximum expected predicted output value is determined, the ratio between the difference value and the fourth fuzzy width is determined, the difference value between 1 and the ratio is determined as a fifth value, and the fifth value is determined as the satisfactory membership degree of the overshoot at the current future time.
Fifth, the third determining unit 133 is configured to determine zero as the satisfaction membership of the overshoot if the numerical condition among the maximum expected predicted output value, the minimum expected predicted output value, and the predicted output temperature value corresponding to the future time is that the predicted output temperature value is not less than the sum of the maximum expected predicted output value and the fourth blur width. The predicted output temperature value is not smaller than the sum of the maximum expected predicted output value and the fourth fuzzy width, which indicates that the deviation between the output of the temperature control system where the temperature controller is positioned and the set temperature value is larger, and the temperature control precision of the temperature controller is too low, so that 0 is determined as the satisfactory membership degree of the overshoot at the current future moment.
The five solutions for determining the satisfaction membership of the overshoot amount by the third determining unit 133 described above can be represented by the following formula (4) and the satisfaction membership function diagram shown in fig. 6:
in the formula (4) of the present invention,
a satisfactory membership degree representing the overshoot at the i-th future time;
Representing a minimum expected predicted output value corresponding to an i-th future time;
Representing a maximum expected predicted output value corresponding to an ith future time; s1 represents a third blur width; s2 represents a fourth blur width; / >
Representing a predicted output temperature value corresponding to an ith future time; i denotes 1,2, …, P denotes the future predicted time domain length.
Adjustment module 14:
the adjustment module 14 is primarily used to adjust the softening factor of the temperature controller based on the determined satisfaction membership. The technical scheme of adjusting the softening factor of the temperature controller by the adjusting module 14 is related to the number of selected control targets, and includes the following two types:
first, the adjusting unit 14 is specifically configured to determine, if the number of control targets is one, the satisfaction membership of the control target as a target satisfaction membership, determine a target softening factor based on the target satisfaction membership and a preset maximum value and minimum value of the softening factor, and adjust the current softening factor of the temperature controller to the target softening factor.
And when the control target is the response time, determining the satisfaction membership of the response time as the target satisfaction membership. When the control target is the overshoot, selecting one satisfaction membership degree from the satisfaction membership degrees of the overshoot at each future moment, and determining the selected satisfaction membership degree as the target satisfaction membership degree. The satisfaction membership selected here may be the minimum satisfaction membership.
Second, the adjusting unit 14 is specifically configured to determine a target satisfaction membership based on the satisfaction membership of each control target if the number of control targets is at least two, determine a target softening factor based on the target satisfaction membership and a preset maximum value and minimum value of the softening factor, and adjust the current softening factor of the temperature controller to the target softening factor.
When the control targets include response time and overshoot, the specific process of determining the target satisfaction membership based on the satisfaction membership of each control target is as follows: selecting a first satisfaction membership degree from the satisfaction membership degrees of the overshoot at each future time, wherein the first satisfaction membership degree can be the minimum satisfaction membership degree in the satisfaction membership degrees of the overshoot at each future time; and performing exclusive OR operation on the first satisfaction membership and the satisfaction membership of the response time to obtain the target satisfaction membership. The above-described determination of the target satisfaction membership may be expressed by the following formula (5).
In formula (5), μ
min Represents the satisfactory membership degree of the target, and is more than or equal to 0 mu
min ≤1;
A satisfactory membership set representing the selected overshoot at each future time;
A satisfactory membership of the response time is identified.
As can be seen from the above equation (5), when the target is satisfied with the membership μ min When the temperature is increased, the response time of the temperature control system where the temperature controller is positioned is prolonged, the overshoot is reduced, and the response speed of the temperature control system needs to be improved; when the target is satisfied with the membership mu min When the temperature control system is reduced, the response time of the temperature control system is shortened, the overshoot is increased, and at the moment, the response speed of the temperature control system is required to be reduced, so that the overshoot is reduced.
After the target satisfaction membership is determined, the adjustment module 14 determines a target softening factor based on the target satisfaction membership and a preset maximum and minimum softening factor. The determination of the target softening factor can be expressed by the following formula (6):
in the formula (6), alpha min Representing a softening factor minimum; alpha max Represents a softening factor maximum; alpha is 0 < alpha min <α max < 1; beta represents a gain parameter, beta>0; alpha represents a target softening factor; mu (mu) min Represents the satisfactory membership degree of the target, and is more than or equal to 0 mu min And is less than or equal to 1. Beta is according to the gain parameter set according to the actual business, the gain parameter controls the target softening factor to adjust the softening factor from alpha according to the set exponential function shape according to the target satisfaction membership min To alpha max . When 0 < beta < 1, the exponential function shape is steep, when 1 is less than or equal to beta <At infinity, the exponential function shape is gentle. For the selection of beta, a suitable beta for the temperature controller can be determined by trial and error.
As can be seen from FIG. 7, when the target satisfaction membership changes from 0 to 1 after the value of β is determined, the constant coefficient
Just let the softening factor be from alpha
max Decreasing to alpha in an exponentially decreasing manner
min . The regulation rule can be based on fuzzy satisfaction index mu
min The softening factor is adjusted to solve the contradiction between response time and overshoot.
According to the temperature controller adjusting device, when the temperature controller controls the temperature of the chip to be temperature-controlled, the control target of the temperature control system where the temperature controller is located is selected, and the control target is related to the temperature control effect of the temperature controller. Target data related to the selected control target is collected from temperature control data at the current moment, wherein the temperature control data is data related to temperature control executed by a temperature control system on a chip to be temperature controlled. Then, the satisfaction membership of the control target is determined based on the collected target data, and finally, the softening factor of the temperature controller is adjusted based on the determined satisfaction membership. Therefore, in the process of controlling the temperature of the chip, the temperature control system can adjust the softening factor of the temperature controller in real time based on the control target of the temperature control system and the data related to the temperature control of the temperature control system to be executed by the temperature control system at the current moment, so that the softening factor of the temperature controller can meet the requirement of the control target of the temperature control system in real time, the temperature controller can realize more accurate temperature control on the chip under the adjusted softening factor, and further the phenomenon that the chip is burnt due to overhigh temperature is avoided, and the phenomenon that the fan noise and the power consumption waste are caused because the rotating speed of the fan for cooling is too fast is avoided.
One embodiment of the present application also provides a temperature control system, as shown in fig. 8, which mainly includes a temperature controller 21 and the above-mentioned temperature controller adjusting device 22.
And the temperature controller 21 is used for sending a temperature control instruction to the fan based on the softening factor adjusted by the temperature controller 21 adjusting device so as to enable the fan to execute the rotating speed corresponding to the temperature control instruction to cool the chip to be temperature-controlled.
The temperature controller adjusting device 22 adjusts the softening factor of the temperature controller 21. The temperature controller 21 outputs a temperature control command under the softening factor currently possessed, wherein the temperature control command carries a temperature value predicted at the current moment of the temperature controller.
And determining the rotating speed matched with the predicted temperature value under the condition that the fan receives the temperature instruction, and executing the rotating speed matched with the predicted temperature value so as to cool the chip to be temperature-controlled.
According to the temperature control system provided by the embodiment of the application, in the process that the temperature controller is controlling the temperature of the chip, the softening factor of the temperature controller can be adjusted in real time based on the control target of the temperature control system where the temperature controller is located and the data related to the temperature control of the temperature control system to be executed by the temperature control system at the current moment, so that the softening factor of the temperature controller can meet the requirement of the control target of the temperature control system in real time, the temperature controller can realize more accurate temperature control on the chip under the adjusted softening factor, the phenomenon that the chip is burnt due to overhigh temperature is avoided, and the phenomenon that the fan noise and power consumption waste are caused due to the fact that the rotating speed of the fan for cooling is too fast is avoided.
In some embodiments of the present application, the fan is further configured to send an alarm instruction to a control chip of an electronic device where the chip to be temperature controlled is located when it is monitored that its own power reaches a maximum and the temperature of the chip to be temperature controlled is higher than an alarm temperature; and the control chip is used for controlling the electronic equipment to store data and send out alarm information under the alarm instruction.
When the power of the fan is monitored to be maximum and the temperature of the chip to be temperature-controlled is higher than the alarm temperature, the fan is not capable of effectively cooling the chip to be temperature-controlled, and the chip to be temperature-controlled possibly has abnormal conditions at any time, so that in order to ensure the safety of user data, an alarm instruction is sent to a control chip of electronic equipment where the chip to be temperature-controlled is located, so that the control chip can store the data in time. In addition, in order to enable the user to know the condition that the chip to be heated cannot be cooled effectively in time, alarm information is sent out, so that the user can perform corresponding processing based on the alarm information.
Further, the control chip is further configured to control the power supply of the electronic device to be turned off if the electronic device is detected to be still in the running state after the alarm information is sent for a preset period of time.
After the control chip sends out the alarm information for a preset time, the electronic equipment is detected to be still in an operation state, the fact that the damage risk of the chip to be temperature controlled of the electronic equipment is large is indicated, and in order to reduce the damage risk of the chip to be temperature controlled, the power supply of the electronic equipment is controlled to be turned off.
In some embodiments of the present application, the temperature control system further comprises: the ultrasonic generator is used for being started when the dust removal instruction is acquired.
The cooling fin of the electronic equipment where the temperature control chip is located plays a certain role in cooling the temperature control chip, but once the dust on the cooling fin is more, the cooling effect of the cooling fin can be affected, therefore, the temperature control system is also provided with the ultrasonic generator, and the ultrasonic generator is started under the control of the dust removal instruction so as to clean the dust on the cooling fin through ultrasonic waves.
Further, an embodiment of the present application further provides a temperature controller adjustment method, as shown in fig. 9, including the following steps:
301. selecting a control target of a temperature control system where the temperature controller is located; wherein the control target is a target related to a temperature control effect of the temperature controller.
302. Collecting target data related to the selected control target from temperature control data at the current moment; wherein the temperature control data is data related to temperature control performed by the temperature control system on a chip to be temperature controlled.
303. And determining the satisfaction membership of the control target based on the collected target data.
304. And adjusting a softening factor of the temperature controller based on the determined satisfaction membership.
According to the temperature controller adjusting method, when the temperature controller controls the temperature of the chip to be temperature-controlled, a control target of a temperature control system where the temperature controller is located is selected, and the control target is a target related to a temperature control effect of the temperature control system. Target data related to the selected control target is collected from temperature control data at the current moment, wherein the temperature control data is data related to temperature control executed by a temperature controller on a chip to be temperature controlled. Then, the satisfaction membership of the control target is determined based on the collected target data, and finally, the softening factor of the temperature controller is adjusted based on the determined satisfaction membership. Therefore, in the process of controlling the temperature of the chip, the temperature control system can adjust the softening factor of the temperature controller in real time based on the control target of the temperature control system and the data related to the temperature control of the temperature control system to be executed by the temperature control system at the current moment, so that the softening factor of the temperature controller can meet the requirement of the control target of the temperature control system in real time, the temperature controller can realize more accurate temperature control on the chip under the adjusted softening factor, and further the phenomenon that the chip is burnt due to overhigh temperature is avoided, and the phenomenon that the fan noise and the power consumption waste are caused because the rotating speed of the fan for cooling is too fast is avoided.
In some embodiments of the present application, the specific implementation process of selecting the control target of the temperature controller in step 301 includes: at least one of response time and overshoot is selected as a control target of the temperature control system.
In some embodiments of the present application, the specific implementation process of collecting the target data related to the selected control target from the temperature control data at the current time in step 302 includes: if the selected control target comprises response time, acquiring an actual output temperature value and a set temperature value corresponding to the current moment of the temperature control system in the temperature control data as target data related to the response time; wherein the set temperature value is a set input value of the temperature control system at the current moment; the actual output temperature value is a temperature value of the chip to be temperature controlled after the temperature control system performs temperature control on the chip to be temperature controlled.
In some embodiments of the present application, the specific implementation of the step 303 to determine the satisfactory membership of the control target based on the collected target data includes: determining an estimated value of the response time based on the actual output temperature value and the set temperature value; and determining the satisfaction membership of the response time based on the predicted value, the maximum expected value and the minimum expected value corresponding to the response time.
In some embodiments of the present application, the specific implementation procedure of the step of determining the predicted value of the response time based on the actual output temperature value and the set temperature value includes: determining an absolute value error and an absolute value error rate of change based on the actual output temperature value and the set temperature value; determining a numerical condition of the absolute value error and the absolute value error rate of change, and determining the predicted value based on the determined numerical condition.
In some embodiments of the present application, the specific implementation of the step of determining the absolute value error and the numerical condition of the absolute value error change rate, and determining the predicted value based on the determined numerical condition includes: if the numerical condition is that the absolute value error change rate is smaller than zero, determining the ratio of the absolute value error to the absolute value of the absolute value error change rate as the pre-estimated value; if the numerical condition is that the absolute value error and the absolute value error change rate are both zero, determining zero as the predicted value; and if the numerical value is that the absolute value error is not zero and the absolute value error change rate is not less than zero, determining a first numerical value as the predicted value, wherein the first numerical value is a numerical value which is not zero.
In some embodiments of the present application, the specific implementation process of determining the satisfaction membership of the response time based on the predicted value, the maximum expected value and the minimum expected value corresponding to the response time includes: and determining the predicted value of the response time, the numerical value condition between the maximum expected value and the minimum expected value corresponding to the response time, and determining the satisfaction membership of the response time based on the determined numerical value condition.
In some embodiments of the present application, the specific implementation process of the step of determining the numerical condition among the preset maximum expected response time, the preset minimum expected response time and the preset value, and determining the satisfactory membership degree of the response time based on the determined numerical condition includes: if the value condition is that the preset value is a first value, determining zero as the satisfactory membership of the response time, wherein the first value is a value which is not zero; if the numerical condition is that the preset value is zero, determining 1 as the satisfactory membership of the response time; if the numerical condition is that the predicted value is smaller than the difference value between the minimum expected value and the first fuzzy width, determining zero as the satisfactory membership of the response time; if the numerical condition is that the predicted value is not smaller than the sum of the maximum expected value and the second fuzzy width, determining zero as the satisfactory membership of the response time; if the numerical value is that the predicted value is smaller than the maximum expected value and larger than the minimum expected value, determining 1 as the satisfactory membership of the response time; if the predicted value is greater than the maximum expected value and less than the sum of the maximum expected value and the second fuzzy width, determining a second numerical value based on the predicted value, the maximum expected value and the second fuzzy width, and determining the second numerical value as a satisfactory membership of the response time; and if the predicted value is not smaller than the difference value between the minimum expected value and the first fuzzy width and smaller than the minimum expected value, determining a third value based on the predicted value, the minimum expected value and the first fuzzy width, and determining the third value as the satisfactory membership degree of the response time.
In some embodiments of the present application, the step 302 includes a specific implementation process of collecting, from temperature control data determined by the temperature controller at a current time for a chip to be temperature controlled, target data related to a selected control target, where the specific implementation process includes: if the selected control target comprises the overshoot, acquiring a predicted output temperature value corresponding to the temperature control system in the temperature control data at least one future moment as target data related to the overshoot; wherein the at least one future time is determined based on the current time.
In some embodiments of the present application, the specific implementation of the step 303 to determine the satisfactory membership of the control target based on the collected target data includes: for each of the future times: and determining the satisfaction membership degree of the overshoot at the future moment based on the predicted output temperature value corresponding to the future moment.
In some embodiments of the present application, the specific implementation procedure of the step of determining the satisfaction membership corresponding to the future time based on the predicted output temperature value corresponding to the future time includes: and determining a numerical condition among the maximum expected predicted output value, the minimum expected predicted output value and the predicted output temperature value corresponding to the future time, and determining the satisfaction membership of the overshoot at the future time based on the determined numerical condition.
In some embodiments of the present application, the specific implementation of the step of determining the satisfaction membership of the overshoot based on the determined numerical condition includes: if the determined numerical condition is that the predicted output temperature value is smaller than the difference value between the minimum expected predicted output value and the third fuzzy width, determining zero as the satisfactory membership of the overshoot; if the determined numerical condition is that the predicted output temperature value is not less than the difference between the minimum expected predicted output value and the third fuzzy width and is less than the minimum expected predicted output value, determining a fourth numerical value based on the predicted output temperature value, the minimum expected predicted output value and the third fuzzy width, and determining the fourth numerical value as a satisfactory membership degree of the overshoot; if the determined numerical condition is that the predicted output temperature value is greater than the minimum expected predicted output value and less than the maximum expected predicted output value, determining 1 as the satisfaction membership of the overshoot; if the determined numerical condition is that the predicted output temperature value is not less than the maximum expected predicted output value and is less than the sum of the maximum expected predicted output value and a fourth fuzzy width, determining a fifth numerical value based on the predicted output temperature value, the maximum expected predicted output value and the fourth fuzzy width, and determining the fifth numerical value as a satisfactory membership degree of the overshoot; and if the determined numerical condition is that the predicted output temperature value is not less than the sum of the maximum expected predicted output value and the fourth fuzzy width, determining zero as the satisfaction membership of the overshoot.
In some embodiments of the present application, the adjusting the softening factor of the temperature controller based on the determined satisfaction membership in step 304 includes: if the number of the control targets is one, determining the satisfied membership of the control targets as target satisfied membership, determining a target softening factor based on the target satisfied membership and a preset maximum value and minimum value of the softening factors, and adjusting the current softening factor of the temperature controller to be the target softening factor.
In some embodiments of the present application, the adjusting the softening factor of the temperature controller based on the determined satisfaction membership in step 304 includes: if the number of the control targets is at least two, determining target satisfaction membership based on the satisfaction membership of each control target, determining a target softening factor based on the target satisfaction membership and a preset maximum value and minimum value of the softening factors, and adjusting the current softening factor of the temperature controller to be the target softening factor.
In the temperature controller adjusting method provided in the embodiment of the present application, the corresponding details of each step may be referred to the corresponding details of the embodiment of the temperature controller adjusting device, and are not described herein again.
Further, according to the above embodiment, another embodiment of the present application further provides a computer readable storage medium, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is controlled to execute the above temperature controller adjustment method.
Further, according to the above embodiment, another embodiment of the present application further provides a storage management device, including: a memory for storing a program; and a processor coupled to the memory for executing the program to perform the temperature controller adjustment method described above.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the methods and apparatus described above may be referenced to one another. In addition, the "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent the merits and merits of the embodiments.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present application is not directed to any particular programming language. It should be appreciated that the contents of the present application described herein can be implemented using a variety of programming languages, and that the above description of specific languages is provided for disclosure of preferred embodiments of the present application.
Furthermore, the memory may include volatile memory, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), in a computer readable medium, the memory including at least one memory chip.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data tapping device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data tapping device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data cutting apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data-cutting apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.