Method for controlling heat dissipation fan and related apparatus
View Patent ↗A method and a module for controlling a heat dissipation fan, and a non-transitory computer readable medium are provided, the module includes a BMC and a CPLD, the method includes: controlling the heat dissipation fan by the CPLD when the BMC stopped controlling the heat dissipation fan; obtaining a predetermined rotational speed and a predetermined control curve by the CPLD according to a status of the BMC and/or a status of the server; and detecting an environment temperature, obtaining a target rotational speed according to the environment temperature and the predetermined control curve, and controlling the heat dissipation fan to work with the target rotational speed by the CPLD, wherein the target rotational speed is less or equal to the predetermined rotational speed.
1 . A method of controlling a heat dissipation fan applied in a server comprising a module for controlling the heat dissipation fan, the module for controlling the heat dissipation fan comprising a baseboard management controller (BMC) and a complex programmable logic device (CPLD); the method comprising:
controlling the heat dissipation fan by the CPLD in response to the BMC stopped controlling the heat dissipation fan;
obtaining a predetermined rotational speed and a predetermined control curve by the CPLD according to a status of the BMC and/or a status of the server; and
detecting a current environment temperature, obtaining a target rotational speed according to the current environment temperature and the predetermined control curve, and controlling the heat dissipation fan to work with the target rotational speed by the CPLD, wherein the target rotational speed is less than or equal to the predetermined rotational speed;
wherein the predetermined control curve is obtained by matching environment temperatures and rotational speeds, the target rotational speed is a rotational speed on the predetermined control curve corresponding to the current environment temperature.
2 . The method of claim 1 , wherein obtaining the predetermined rotational speed and the predetermined control curve by the CPLD according to the status of the BMC and/or the status of the server further comprises:
obtaining a first predetermined rotational speed and a first predetermined control curve by the CPLD in response to the BMC is determined abnormal, the abnormal of the BMC comprises hung up or upgrading.
3 . The method of claim 2 , wherein the first predetermined control curve is obtained by matching first environment temperature gradients and corresponding first rotational speed gradients, the corresponding first rotational speed gradients are obtained by operating pressure treatment to a target component in the first environment temperature gradient in a case that the server is working normally, wherein under the pressure treatment, the target component operates with a full load.
4 . The method of claim 1 , wherein obtaining the predetermined rotational speed and the predetermined control curve by the CPLD according to the status of the BMC and/or the status of the server further comprises:
obtaining a second predetermined rotational speed and a second predetermined control curve by the CPLD the BMC is determined been switched off and the server is in a status of an intelligent network card switched on.
5 . The method of claim 4 , wherein the second predetermined control curve is obtained by matching second environment temperature gradients and corresponding second rotational speed gradients, the corresponding second rotational speed gradients are obtained by operating pressure treatment to the intelligent network card in the second environment temperature gradient in the case that the server is working normally, wherein under the pressure treatment, the intelligent network card operates with a full load.
6 . The method of claim 1 , further comprising:
controlling the heat dissipation fan to work with the predetermined rotational speed by the CPLD in response to the CPLD not detecting the environment temperature.
7 . The method of claim 1 , further comprising:
returning the control of the heat dissipation fan to the BMC by the CPLD in response to the status of the BMC and/or the status of the server is a target status, wherein the target status is a normal working status of the BMC and a normal activating and working status of the server.
8 . The method of claim 1 , wherein the environment temperature comprises a temperature of the server or a temperature of a target component of the server.
9 . A module configured for control a heat dissipation fan applied in a server, the module comprising:
a baseboard management controller (BMC) configured to control a rotational speed of the heat dissipation fan; and
a complex programmable logic device (CPLD) configured to:
control the heat dissipation fan by the CPLD in response to the BMC stopped controlling the heat dissipation fan;
obtain a predetermined rotational speed and a predetermined control curve according to a status of the BMC and/or a status of the server; and
detect a current environment temperature, obtain a target rotational speed according to the current environment temperature and the predetermined control curve, and control the heat dissipation fan to work with the target rotational speed, wherein the target rotational speed is less than or equal to the predetermined rotational speed;
wherein the predetermined control curve is obtained by matching environment temperatures and rotational speeds, the target rotational speed is a rotational speed on the predetermined control curve corresponding to the current environment temperature.
10 . The module of claim 9 , wherein the CPLD configured to obtain a predetermined rotational speed and a predetermined control curve according to a status of the BMC and/or a status of the server further comprises:
obtain a first predetermined rotational speed and a first predetermined control curve in response to the BMC is determined abnormal, the abnormal of the BMC comprises hung up or upgrading.
11 . The module of claim 10 , wherein the first predetermined control curve is obtained by matching first environment temperature gradients and corresponding first rotational speed gradients, the corresponding first rotational speed gradients are obtained by operating pressure treatment to a target component in the first environment temperature gradient in the case that the server is working normally, wherein under the pressure treatment, the target component operates with a full load.
12 . The module of claim 9 , wherein the CPLD configured to obtain a predetermined rotational speed and a predetermined control curve according to a status of the BMC and/or a status of the server further comprises:
obtain a second predetermined rotational speed and a second predetermined control curve in response to the BMC is determined been switched off and the server is in a status of an intelligent network card switched on.
13 . The module of claim 12 , wherein the second predetermined control curve is obtained by matching second environment temperature gradients and corresponding second rotational speed gradients, the corresponding second rotational speed gradients are obtained by operating pressure treatment to the intelligent network card in the second environment temperature gradient in a case that the server is working normally, wherein under the pressure treatment, the intelligent network card operates with a full load.
14 . The module of claim 9 , wherein the CPLD is further configured to control the heat dissipation fan to work with the predetermined rotational speed in response to the CPLD not detecting the environment temperature.
15 . The module of claim 9 , wherein the CPLD is further configured to return the control of the heat dissipation fan to the BMC in response to the status of the BMC and/or the status of the server is a target status, the target status is a normal working status of the BMC and a normal activating and working status of the server.
16 . The module of claim 9 , wherein the environment temperature comprises a temperature of the server or a temperature of a target component of the server.
17 . A non-transitory computer readable medium comprising program instructions for causing a server to execute at least following processes:
controlling a heat dissipation fan by a complex programmable logic device (CPLD) of the server in response to a baseboard management controller (BMC) of the server stopped controlling the heat dissipation fan;
obtaining a predetermined rotational speed and a predetermined control curve by the CPLD according to a status of the BMC and/or a status of the server; and
detecting current environment temperature, obtaining a target rotational speed according to current environment temperature and the predetermined control curve, and controlling the heat dissipation fan to work with the target rotational speed by the CPLD, wherein the target rotational speed is less or equal to the predetermined rotational speed;
wherein the predetermined control curve is obtained by matching environment temperatures and rotational speeds, the target rotational speed is a rotational speed on the predetermined control curve corresponding to the current environment temperature.
18 . The non-transitory computer readable medium of claim 17 , wherein obtaining the predetermined rotational speed and the predetermined control curve by the CPLD according to the status of the BMC and/or the status of the server further comprises:
obtaining a first predetermined rotational speed and a first predetermined control curve by the CPLD in response to the BMC is determined abnormal, the abnormal of the BMC comprises hung up or upgrading.
19 . The non-transitory computer readable medium of claim 17 , wherein obtaining the predetermined rotational speed and the predetermined control curve by the CPLD according to the status of the BMC and/or the status of the server further comprises:
obtaining a second predetermined rotational speed and a second predetermined control curve by the CPLD in response to the BMC is determined been switched off and the server is in a status of an intelligent network card switched on.
20 . The non-transitory computer readable medium of claim 17 , causing the server to further execute:
controlling the heat dissipation fan to work with the predetermined rotational speed by the CPLD in response to the CPLD not detecting the environment temperature; and
returning the control of the heat dissipation fan to the BMC by the CPLD in response to the status of the BMC and/or the status of the server is to a target status, wherein the target status is a normal working status of the BMC and a normal activating and working status of the server.