Fan control method and fan control device for controlling fans using a neural network to process characteristic variables
View Patent ↗A fan control method for controlling a set of fans of a system includes collecting M first sets of characteristic variables of a first period; inputting the M first sets of characteristic variables to a neural network to generate N third sets of characteristic variables of a second period corresponding to a second set of characteristic variables; adjusting the second set of characteristic variables to generate P adjusted second sets of characteristic variables to accordingly generate Q adjusted third sets of characteristic variables; generating an optimized second set of characteristic variables according to the N third sets of characteristic variables and the Q adjusted third sets of characteristic variables; generating a set of weights according to the optimized second set of characteristic variables; and controlling the set of fans according to the set of weights. The first period precedes the second period. M, N, P, Q are positive integers.
1 . A fan control method for controlling a set of fans of a system, comprising:
collecting M first sets of characteristic variables of a first period;
inputting the M first sets of characteristic variables to a neural network to generate N third sets of characteristic variables of a second period corresponding to a second set of characteristic variables;
adjusting the second set of characteristic variables to generate P adjusted second sets of characteristic variables according to a non-minimum adjustment value of the second set of characteristic variables, so as to accordingly generate Q adjusted third sets of characteristic variables;
generating an optimized second set of characteristic variables according to the N third sets of characteristic variables and the Q adjusted third sets of characteristic variables, wherein generating the optimized second set of characteristic variables comprises:
generating a set of sums of absolute values according to differences of a predetermined value and each third set of characteristic variables of the N third sets of characteristic variables and the Q adjusted third sets of characteristic variables;
selecting a plurality of sets of third set of characteristic variables from the N third sets of characteristic variables and the Q adjusted third sets of characteristic variables; and
selecting a plurality of second sets of characteristic variables corresponding to the plurality of sets of third set of characteristic variables, wherein the plurality of second sets of characteristic variables are of a subset of the second set of characteristic variables and the P adjusted second sets of characteristic variables; and
generating the optimized second set of characteristic variables according to at least the plurality of second sets of characteristic variables;
generating a set of weights according to the optimized second set of characteristic variables; and
controlling the set of fans according to the set of weights;
wherein the first period precedes the second period, each first set of characteristic variables comprises a second set of characteristic variables and a third set of characteristic variables, M, N, P, Q are positive integers.
2 . The fan control method of claim 1 , wherein:
each first set of characteristic variables comprises a power load of the system, fan speeds of the set of fans, and a first set of temperatures generated by measuring the system;
each second set of characteristic variables comprises the fan speeds of the set of fans;
each third set of characteristic variables comprises a second set of temperatures generated by measuring the system; and
the first set of temperatures comprises the second set of temperatures.
3 . The fan control method of claim 1 , wherein the first period and the second period are equal in length.
4 . The fan control method of claim 1 , wherein:
the plurality of sets of third set of characteristic variables are corresponding to lowest x % of the set of sums of absolute values, and 0<x<100; and
generating the optimized second set of characteristic variables according to at least the plurality of second sets of characteristic variables comprises:
generating the optimized second set of characteristic variables according to the plurality of second sets of characteristic variables and a minimum adjustment value of the second set of characteristic variables.
5 . The fan control method of claim 1 , wherein the neural network comprises 512 encoding neurons and 256 decoding neurons.
6 . The fan control method of claim 1 , wherein each first set of characteristic variables comprises a set of temperatures generated by measuring the system, and the set of temperatures comprises a first processor temperature, a second processor temperature, a first bus card temperature, a second bus card temperature, a third bus card temperature and an inlet temperature.
7 . The fan control method of claim 1 , wherein the M first sets of characteristic variables are inputted into the neural network to perform a multistage attention (MSA) algorithm.
8 . The fan control method of claim 1 , wherein each first set of characteristic variables comprises a power load of the system, fan speeds of the set of fans, and a first set of temperatures generated by measuring the system, and the fan control method further comprises:
generating a plurality of system states according to the power load and the fan speeds of the set of fans;
generating a plurality of pieces of training data according to the plurality of system states; and
training the neural network according to the plurality of pieces of training data.
9 . A fan control method for controlling a set of fans of a system, comprising:
collecting M first sets of characteristic variables of a first period;
inputting the M first sets of characteristic variables to a neural network to generate N third sets of characteristic variables of a second period corresponding to a second set of characteristic variables;
adjusting the second set of characteristic variables to generate P adjusted second sets of characteristic variables to accordingly generate Q adjusted third sets of characteristic variables;
generating an optimized second set of characteristic variables according to the N third sets of characteristic variables and the Q adjusted third sets of characteristic variables;
generating a set of weights according to the optimized second set of characteristic variables; and
controlling the set of fans according to the set of weights;
wherein the first period precedes the second period, each first set of characteristic variables comprises a second set of characteristic variables and a third set of characteristic variables, M, N, P, Q are positive integers;
wherein:
adjusting the second set of characteristic variables to generate the P adjusted second sets of characteristic variables to accordingly generate the Q adjusted third sets of characteristic variables comprises:
adjusting the second set of characteristic variables to generate the P adjusted second sets of characteristic variables according to a minimum adjustment value of the second set of characteristic variables, so as to accordingly generate the Q adjusted third set of characteristic variables; and
generating the optimized second set of characteristic variables according to the N third sets of characteristic variables and the Q adjusted third sets of characteristic variables comprises:
generating a set of sums of absolute values according to differences of a predetermined value and each third set of characteristic variables of the N third sets of characteristic variables and the Q adjusted third set of characteristic variables; and
generating the optimized second set of characteristic variables according to R third sets of characteristic variables which are selected from the N third sets of characteristic variables and the Q adjusted third sets of characteristic variables and are corresponding to a smallest sum of absolute values;
wherein R is a positive integer.
10 . A fan control device for controlling a set of fans of a system, comprising:
a set of sensors configured to measure a set of temperatures of the system;
a fan speed control unit configured to control fan speeds of the set of fans using pulse width modulation; and
a controller coupled to the set of sensors and the fan speed control unit, and configured to:
collect M first sets of characteristic variables of a first period;
input the M first sets of characteristic variables to a neural network to generate N third sets of characteristic variables of a second period corresponding to a second set of characteristic variables;
adjust the second set of characteristic variables to generate P adjusted second sets of characteristic variables according to a non-minimum adjustment value of the second set of characteristic variables, so as to accordingly generate Q adjusted third sets of characteristic variables;
generate an optimized second set of characteristic variables according to the N third sets of characteristic variables and the Q adjusted third sets of characteristic variables;
generate a set of weights according to the optimized second set of characteristic variables; and
control the set of fans according to the set of weights;
wherein the first period precedes the second period, each first set of characteristic variables comprises a second set of characteristic variables and a third set of characteristic variables, each first set of characteristic variables comprises a power load of the system, the set of temperatures and the fan speeds of the set of fans, M, N, P, Q are positive integers;
generating the optimized second set of characteristic variables comprises:
generating a set of sums of absolute values according to differences of a predetermined value and each third set of characteristic variables of the N third sets of characteristic variables and the Q adjusted third sets of characteristic variables;
selecting a plurality of sets of third set of characteristic variables from the N third sets of characteristic variables and the Q adjusted third sets of characteristic variables; and
selecting a plurality of second sets of characteristic variables corresponding to the plurality of sets of third set of characteristic variables, wherein the plurality of second sets of characteristic variables are of a subset of the second set of characteristic variables and the P adjusted second sets of characteristic variables; and
generating the optimized second set of characteristic variables according to at least the plurality of second sets of characteristic variables.