Method and apparatus for controlling fan speed
AssigneeZhengzhou Yunhai Information Technology Co., Ltd.
InventorGuangyi Yu
Life of this patent
Estimating the term…
Abstract
A method and apparatus for controlling fan speed are provided. The method obtains a first PWM value and a second PWM value of the fan based on the temperature of the server component respectively through a PID regulation algorithm and an open-loop control algorithm, and controls the fan speed based on the larger value of the first PWM value and the second PWM value.
Claims14
A method for controlling fan speed, comprising:
- obtaining a temperature of a server component;
- obtaining, by a proportion integration differentiation (PID) regulation algorithm, a first pulse width modulation (PWM) value of a fan corresponding to the temperature of the server component based on the temperature of the server component;
- obtaining, by an open-loop control algorithm, a second PWM value of the fan corresponding to the temperature of the server component based on the temperature of the server component;
- comparing the first PWM value with the second PWM value;
- and
- controlling the fan speed by a larger value of the first PWM value and the second PWM value.
An apparatus for controlling fan speed, comprising a processor and a memory having stored thereon instructions, wherein the instructions, when executed by the processor, cause the processor to:
- obtain a temperature of a server component;
- obtain, by a proportion integration differentiation (PID) regulation algorithm, a first pulse width modulation (PWM) value of a fan corresponding to the temperature of the server component based on the temperature of the server component;
- obtain, by an open-loop control algorithm, a second PWM value of the fan corresponding to the temperature of the server component based on the temperature of the server component;
- compare the first PWM value with the second PWM value;
- and
- control the fan speed by a larger value of the first PWM value and the second PWM value.
Dependencies are inferred from the claim text.