1. Technical Field
The present disclosure relates to control systems, and particularly to a fan speed control system.
2. Description of Related Art
Fans are often used in computer systems to control temperatures of the computer systems, and a Baseboard Management Controller (BMC) may be used to send a Pulse-Width Modulation (PWM) signal to the fans to control speeds of the fans. However, if the BMC fails to operate normally, the speed of the fans cannot be adjusted to control the temperatures of the computer systems. Therefore, there is room for improvement in the art.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The figure is a block diagram of an embodiment of a fan speed control system.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
The figure shows one embodiment of a fan speed control system for controlling a speed of a fan module 100 in an electronic device. The fan control system comprises a BMC 10, a Complex Programmable Logic Device (CPLD) 20, and a temperature sensor 30.
The temperature sensor 30 is used for detecting a temperature of each electronic component in the electronic device and sending a temperature signal to the BMC 10 and the CPLD 20.
The BMC 10 comprises a first comparing unit 11 and an operation signal sending pin 13. An input end of the first comparing unit 11 is connected to the temperature sensor 30 through an I2C bus. An output end of the first comparing unit 11 is connected to the CPLD 20 through a PWM bus. The first comparing unit 11 presets standard temperatures of each electronic component of the electronic device. The first comparing unit 11 compares the temperatures corresponding to the temperature signals with the corresponding standard temperature of the electronic components, and generates a first PWM signal for each electronic component. The first comparing unit 11 further sends the first PWM signal to the CPLD 20. The operation signal sending pin 13 sends a BMC_fail signal to the CPLD 20 when the BMC 10 fails to operate normally.
The CPLD 20 comprises a second comparing unit 21, a decoding and driving unit 22, and an operation signal receiving pin 23. An input end of the second comparing unit 21 is connected to the temperature sensor 30 through the I2C bus. An output end of the second comparing unit 21 is connected to the decoding and driving unit 22. The second comparing unit 21 presets the standard temperatures of the electronic components of the electronic device. The second comparing unit 21 compares the temperatures of the corresponding temperature signals with the corresponding standard temperatures of the electronic component, and then generates a second PWM signal for each electronic component. The second comparing unit 21 further sends the second PWM signal to the decoding and driving unit 22. The decoding and driving unit 22 is connected to the output end of the first comparing unit 11. The decoding and driving unit 22 decodes the first PWM signal or the second PWM signal, and adjusts the speed of the fan module 100 according to the decoded first PWM signal or the decoded second PWM signal. The operation signal receiving pin 23 is connected to the operation signal sending pin 13 and is used for receiving the BMC_fail signal. When the BMC 10 operates normally, the operation signal receiving pin 23 does not receive the BMC_fail signal, and the second comparing unit 21 is switched off. The second comparing unit 21 is switched on when the operation signal receiving pin 23 receives the second comparing unit 21.
In use, when the BMC 10 operates normally, the second comparing unit 21 is switched off. The first comparing unit 11 compares the temperatures corresponding to the temperature signals with the corresponding standard temperatures of the electronic components, and generates the first PWM signals. The first comparing unit 11 sends the first PWM signals to the decoding and driving unit 22. The decoding and driving unit 22 decodes the first PWM signals and adjusts the speed of the fan module 100 according to the decoded first PWM signals.
When the BMC 10 fails to operate normally, the first comparing unit 11 cannot operate normally, and the operation signal sending pin 13 sends the BMC_fail signal to the operation signal receiving pin 23 to switch on the second comparing unit 21. The second comparing unit 21 compares the temperatures corresponding to the temperature signals with the corresponding standard temperatures of the electronic components, and generates the second PWM signals. The second comparing unit 21 sends the second PWM signals to the decoding and driving unit 22. The decoding and driving unit 22 decodes the second PWM signals and adjusts the speed of the fan module 100 according to the decoded second PWM signals.
It is to be understood, however, that even though numerous characteristics and advantages have been set forth in the foregoing description of embodiments, together with details of the structures and functions of the embodiments, the disclosure is illustrative only and changes may be made in detail, especially in the matters of shape, size, and the arrangement of parts within the principles of the disclosure, to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
2013101706898 | May 2013 | CN | national |