Intelligent fan with compatible interface and control device thereof

文档序号:1284246 发布日期:2020-08-28 浏览:9次 中文

阅读说明:本技术 具接口兼容的智能风扇及其控制装置 (Intelligent fan with compatible interface and control device thereof ) 是由 许家彰 黄世峰 陈憬德 余仁渊 于 2020-02-12 设计创作,主要内容包括:本发明提供一种具接口兼容的智能风扇及其控制装置,包含:风扇本体,具有风扇与马达;驱动电路,连接该马达,用以接收控制信号以驱动该马达转动以带动该风扇;转速计,侦测该马达的转速;输出连接器,具有第一脚位、第二脚位、第三脚位与第四脚位,与主板的风扇连接器相连接;及微控制器,连接该驱动电路、该转速计,并经由该第一脚位、该第二脚位、该第三脚位与该第四脚位与该主板相连接;该微控制器于开机时,设定该第三脚位、该第四脚位为输入脚位,并由该第三脚位、该第四脚位接收该主板的该风扇连接器的输出信号以进行I2C信号解析;当成功解析为I2C信号,设定该具接口兼容的智能风扇为I2C模式;当解析I2C失败,设定该具接口兼容的智能风扇为PWM模式。(The invention provides an intelligent fan with interface compatibility and a control device thereof, comprising: a fan body having a fan and a motor; the driving circuit is connected with the motor and used for receiving a control signal to drive the motor to rotate so as to drive the fan; a tachometer for detecting the rotation speed of the motor; the output connector is provided with a first pin, a second pin, a third pin and a fourth pin and is connected with the fan connector of the mainboard; the microcontroller is connected with the driving circuit and the tachometer and is connected with the mainboard through the first pin, the second pin, the third pin and the fourth pin; when the microcontroller is started, the third pin and the fourth pin are set as input pins, and the third pin and the fourth pin receive output signals of the fan connector of the mainboard to perform I2C signal analysis; when successfully analyzed as an I2C signal, the interface compatible smart fan is set to be in an I2C mode; when I2C fails, the interface-compatible smart fan is set to PWM mode.)

1. An interface compatible smart fan, comprising:

a fan body having a fan and a motor;

a driving circuit connected to the motor for receiving a control signal to drive the motor to rotate to drive the fan;

a tachometer for detecting a rotational speed of the motor;

the output connector is provided with a first pin, a second pin, a third pin and a fourth pin and is connected with a fan connector of a mainboard; and

a microcontroller connected with the drive circuit and the tachometer and connected with the mainboard through the first pin, the second pin, the third pin and the fourth pin; when the microcontroller is started, the third pin and the fourth pin are set as input pins, and the third pin and the fourth pin receive output signals of the fan connector of the mainboard to perform I2C signal analysis; when successfully analyzed as an I2C signal, the interface compatible smart fan is set to an I2C mode; when I2C is failed to be analyzed, the intelligent fan with the interface compatibility is set to be in a PWM mode;

when the interface-compatible smart fan is set to the I2C mode, the third pin and the fourth pin are set as inputs to input an I2C signal; when the intelligent fan with the compatible interface is set to be in the PWM mode, the third pin is set as output to output a fan rotating speed value, and the fourth pin is set as input to input a PWM control signal.

2. The interface-compatible smart fan of claim 1, wherein the microcontroller comprises:

the rotating speed calculating unit is connected with the tachometer, receives the rotating speed of the tachometer and calculates the rotating speed as a rotating speed value;

a PWM detection unit connected to the fourth pin for detecting a PWM frequency of the fourth pin;

an I2C unit for connecting the third pin and the fourth pin and analyzing the I2C signals inputted by the third pin and the fourth pin;

a PWM control unit, connected to the PWM detection unit, the I2C unit and the driving circuit, for receiving the output of the PWM detection unit and the output of the I2C unit, converting the output signals into the control signals and outputting the control signals to the driving circuit; and

a mode selection unit, connecting the PWM detection unit, the I2C unit and the rotation speed calculation unit, and shielding the output of the rotation speed calculation unit when the power is turned on; and setting the interface-compatible smart fan to be in the PWM mode or the I2C mode according to the output of the PWM detection unit and the output result of the I2C unit, shielding the output of the rotation speed calculation unit in the I2C mode, and starting the output of the rotation speed calculation unit in the PWM mode.

3. The interface-compatible smart fan of claim 2, wherein the microcontroller further comprises:

a first selector, disposed between the I2C unit and the fourth pin, for connecting the tachometer with the tachometer; when the intelligent fan with the interface compatibility is set to be in the PWM mode, the mode selection unit sets the first selector to be directly connected to the tachometer through the fourth pin; and

a second selector configured between the PWM control unit and the driving circuit and connected to the mode selection unit and the fourth pin; when the interface-compatible smart fan is set to the PWM mode, the mode selection unit sets the second selector to be directly connected to the driving circuit via the fourth pin.

4. The interface-compatible smart fan of claim 2, wherein the PWM detection unit detects the PWM frequency of the fourth pin as a present signal, and generates a PWM enable signal to the mode selection unit when the PWM frequency is below 50 KHz.

5. The fan of claim 2, wherein the I2C unit generates an I2C enable signal to the mode selection unit when it succeeds in analyzing the I2C signals inputted from the third pin and the fourth pin.

6. A control device of an intelligent fan with interface compatibility is applied to a fan body, the fan body is provided with a fan and a motor, and the control device is characterized by comprising:

a driving circuit connected to the motor for receiving a control signal to drive the motor to rotate to drive the fan;

a tachometer for detecting a rotational speed of the motor;

the output connector is provided with a first pin, a second pin, a third pin and a fourth pin and is connected with a fan connector of a mainboard; and

a microcontroller connected with the drive circuit and the tachometer and connected with the mainboard through the first pin, the second pin, the third pin and the fourth pin; when the microcontroller is started, the third pin and the fourth pin are set as input pins, and the third pin and the fourth pin receive output signals of the fan connector of the mainboard to perform I2C signal analysis; when successfully analyzed as an I2C signal, the interface compatible smart fan is set to an I2C mode; when I2C is failed to be analyzed, the intelligent fan with the interface compatibility is set to be in a PWM mode;

when the interface-compatible smart fan is set to the I2C mode, the third pin and the fourth pin are set as inputs to input an I2C signal; when the intelligent fan with the compatible interface is set to be in the PWM mode, the third pin is set as output to output a fan rotating speed value, and the fourth pin is set as input to input a PWM control signal.

7. The apparatus of claim 6, wherein the microcontroller comprises:

the rotating speed calculating unit is connected with the tachometer, receives the rotating speed of the tachometer and calculates the rotating speed as a rotating speed value;

a PWM detection unit connected to the third pin for detecting a PWM frequency of the third pin;

an I2C unit for connecting the third pin and the fourth pin and analyzing the I2C signals inputted by the third pin and the fourth pin;

a PWM control unit, connected to the PWM detection unit, the I2C unit and the driving circuit, for receiving the output of the PWM detection unit and the output of the I2C unit, converting the output signals into the control signals and outputting the control signals to the driving circuit; and

a mode selection unit, connecting the PWM detection unit, the I2C unit and the rotation speed calculation unit, and shielding the output of the rotation speed calculation unit when the power is turned on; and setting the interface-compatible smart fan to be in the PWM mode or the I2C mode according to the output of the PWM detection unit and the output result of the I2C unit, shielding the output of the rotation speed calculation unit in the I2C mode, and starting the output of the rotation speed calculation unit in the PWM mode.

8. The apparatus of claim 7, wherein the microcontroller further comprises:

a first selector, disposed between the I2C unit and the fourth pin, for connecting the tachometer with the tachometer; when the intelligent fan with the interface compatibility is set to be in the PWM mode, the mode selection unit sets the first selector to be directly connected to the tachometer through the third pin; and

a second selector configured between the PWM control unit and the driving circuit and connected to the mode selection unit and the fourth pin; when the interface-compatible smart fan is set to the PWM mode, the mode selection unit sets the second selector to be directly connected to the driving circuit via the fourth pin.

9. The interface-compatible smart fan of claim 7, wherein the PWM detection unit detects the PWM frequency of the third pin as a present signal, and generates a PWM enable signal to the mode selection unit when the PWM frequency is below 50 KHz.

10. The apparatus of claim 7, wherein the I2C unit generates an I2C enable signal to the mode selection unit when it succeeds in analyzing the I2C signals inputted from the third pin and the fourth pin.

11. A control device of an intelligent fan with compatible interfaces is applied to a fan body, the fan body is provided with a fan and a motor, the motor is connected with a driving circuit, the driving circuit receives a control signal to drive the motor to rotate so as to drive the fan, the motor is also connected with a tachometer to detect a rotating speed of the motor, and the control device is characterized by comprising:

the output connector is provided with a first pin, a second pin, a third pin and a fourth pin and is connected with a fan connector of a mainboard; and

a microcontroller connected with the drive circuit and the tachometer and connected with the mainboard through the first pin, the second pin, the third pin and the fourth pin; when the microcontroller is started, the third pin and the fourth pin are set as input pins, and the third pin and the fourth pin receive output signals of the fan connector of the mainboard to perform I2C signal analysis; when successfully analyzed as an I2C signal, the interface compatible smart fan is set to an I2C mode; when I2C is failed to be analyzed, the intelligent fan with the interface compatibility is set to be in a PWM mode;

when the interface-compatible smart fan is set to the I2C mode, the third pin and the fourth pin are set as inputs to input an I2C signal; when the intelligent fan with the compatible interface is set to be in the PWM mode, the third pin is set as output to output a fan rotating speed value, and the fourth pin is set as input to input a PWM control signal.

12. The apparatus of claim 11, wherein the microcontroller comprises:

the rotating speed calculating unit is connected with the tachometer, receives the rotating speed of the tachometer and calculates the rotating speed as a rotating speed value;

a PWM detection unit connected to the fourth pin for detecting a PWM frequency of the fourth pin;

an I2C unit for connecting the third pin and the fourth pin and analyzing the I2C signals inputted by the third pin and the fourth pin;

a PWM control unit, connected to the PWM detection unit, the I2C unit and the driving circuit, for receiving the output of the PWM detection unit and the output of the I2C unit, converting the output signals into the control signals and outputting the control signals to the driving circuit; and

a mode selection unit, connecting the PWM detection unit, the I2C unit and the rotation speed calculation unit, and shielding the output of the rotation speed calculation unit when the power is turned on; and setting the interface-compatible smart fan to be in the PWM mode or the I2C mode according to the output of the PWM detection unit and the output result of the I2C unit, shielding the output of the rotation speed calculation unit in the I2C mode, and starting the output of the rotation speed calculation unit in the PWM mode.

13. The apparatus of claim 12, wherein the microcontroller further comprises:

a first selector, disposed between the I2C unit and the fourth pin, for connecting the tachometer with the tachometer; when the intelligent fan with the interface compatibility is set to be in the PWM mode, the mode selection unit sets the first selector to be directly connected to the tachometer through the third pin; and

a second selector configured between the PWM control unit and the driving circuit and connected to the mode selection unit and the fourth pin; when the interface-compatible smart fan is set to the PWM mode, the mode selection unit sets the second selector to be directly connected to the driving circuit via the fourth pin.

14. The interface-compatible smart fan of claim 12, wherein the PWM detection unit detects the PWM frequency of the third pin as a present signal, and generates a PWM enable signal to the mode selection unit when the PWM frequency is below 50 KHz.

15. The apparatus as claimed in claim 12, wherein the I2C unit generates an I2C enable signal to the mode selection unit when it succeeds in analyzing the I2C signals inputted from the third pin and the fourth pin.

Technical Field

The present invention relates to a fan, and more particularly, to an intelligent fan with interface compatibility and a control device thereof.

Background

The traditional heat dissipation fan has two types of 3 pins (pins) and 4 pins (pins), wherein one pin of the 4-pin fan is a PWM (pulse width modulation) speed regulation pin. The controller on the mainboard adjusts the PWM duty ratio (duty) according to the detected temperature or the system requirement to control the rotating speed of the fan, thereby achieving the purpose of adjusting and controlling the temperature.

Because the PWM duty is not necessarily linearly compared to the fan speed during fan regulation, fan control becomes complicated if the requirements of constant speed, multi-fan linkage, etc. are met. Therefore, the demand of the intelligent fan with the controller is gradually increased, and the main board can directly give out required functions including instructions of constant speed, constant temperature, PWM duty, stop or positive and negative rotation and the like to the intelligent fan through the communication interface. The intelligent fan can automatically adjust the state of the fan according to the system requirements, and the mainboard can also obtain the operation real-time information of the current fan through the communication interface, wherein the operation real-time information comprises real-time rotating speed, consumed power, abnormal states and the like, so that the characteristic curve, the production history, the service life and the like of the intelligent fan can be obtained.

However, most current smart fans employ four-wire fans, and there are two types of communication interface formats, one PWM and the other I2C. The pins of the two fans are also four pins, but the fan interfaces are different. If the user is on the existing motherboard and the interface format of the fan on the motherboard is not clear, the problem of interface incompatibility is easily caused when the fan is replaced. In other words, compatibility issues arise when a new interface on the motherboard (i.e., I2C) is added to a legacy fan (e.g., PWM), or when a new fan (I2C) is added to a legacy motherboard system (PWM interface).

Therefore, how to consider compatibility in the design of smart fans to make a single smart fan capable of combining the PWM input of the motherboard with the I2C input is an important issue that must be solved by smart fan developers.

Disclosure of Invention

In view of the above, the present invention provides an intelligent fan with interface compatibility, which can simultaneously consider different input interfaces of a motherboard, so that the problem of the intelligent fan with interface compatibility of the present invention can be compatible with the technical effects of an old motherboard system (downward compatibility) and a new motherboard system, and achieves the special technical effect that the fan can be easily replaced by a single intelligent fan.

The invention provides an intelligent fan with interface compatibility, comprising: a fan body having a fan and a motor; a driving circuit connected to the motor for receiving a control signal to drive the motor to rotate to drive the fan; a tachometer for detecting a rotational speed of the motor; the output connector is provided with a first pin, a second pin, a third pin and a fourth pin and is connected with a fan connector of a mainboard; and a microcontroller connected with the drive circuit and the tachometer and connected with the mainboard through the first pin, the second pin, the third pin and the fourth pin; when the microcontroller is started, the third pin and the fourth pin are set as input pins, and the third pin and the fourth pin receive output signals of the fan connector of the mainboard to perform I2C signal analysis; when successfully analyzed as an I2C signal, the interface compatible smart fan is set to an I2C mode; when I2C is failed to be analyzed, the intelligent fan with the interface compatibility is set to be in a PWM mode; when the interface-compatible smart fan is set to the I2C mode, the third pin and the fourth pin are set as inputs to input an I2C signal; when the intelligent fan with the compatible interface is set to be in the PWM mode, the third pin is set as output to output a fan rotating speed value, and the fourth pin is set as input to input a PWM control signal.

The invention also provides a control device of the intelligent fan with interface compatibility, which is applied to a fan body, the fan body is provided with a fan and a motor, and the control device comprises: a driving circuit connected to the motor for receiving a control signal to drive the motor to rotate to drive the fan; a tachometer for detecting a rotational speed of the motor; the output connector is provided with a first pin, a second pin, a third pin and a fourth pin and is connected with a fan connector of a mainboard; and a microcontroller connected with the drive circuit and the tachometer and connected with the mainboard through the first pin, the second pin, the third pin and the fourth pin; when the microcontroller is started, the third pin and the fourth pin are set as input pins, and the third pin and the fourth pin receive output signals of the fan connector of the mainboard to perform I2C signal analysis; when successfully analyzed as an I2C signal, the interface compatible smart fan is set to an I2C mode; when I2C is failed to be analyzed, the intelligent fan with the interface compatibility is set to be in a PWM mode; when the interface-compatible smart fan is set to the I2C mode, the third pin and the fourth pin are set as inputs to input an I2C signal; when the intelligent fan with the compatible interface is set to be in the PWM mode, the third pin is set as output to output a fan rotating speed value, and the fourth pin is set as input to input a PWM control signal.

The present invention further provides a control device of an intelligent fan with interface compatibility, which is applied to a fan body, the fan body has a fan and a motor, the motor is connected to a driving circuit, the driving circuit receives a control signal to drive the motor to rotate so as to drive the fan, the motor is further connected to a tachometer to detect a rotation speed of the motor, and the control device comprises: the output connector is provided with a first pin, a second pin, a third pin and a fourth pin and is connected with a fan connector of a mainboard; and a microcontroller connected with the drive circuit and the tachometer and connected with the mainboard through the first pin, the second pin, the third pin and the fourth pin; when the microcontroller is started, the third pin and the fourth pin are set as input pins, and the third pin and the fourth pin receive output signals of the fan connector of the mainboard to perform I2C signal analysis; when successfully analyzed as an I2C signal, the interface compatible smart fan is set to an I2C mode; when I2C is failed to be analyzed, the intelligent fan with the interface compatibility is set to be in a PWM mode; when the interface-compatible smart fan is set to the I2C mode, the third pin and the fourth pin are set as inputs to input an I2C signal; when the intelligent fan with the compatible interface is set to be in the PWM mode, the third pin is set as output to output a fan rotating speed value, and the fourth pin is set as input to input a PWM control signal.

Optionally, the microcontroller comprises: the rotating speed calculating unit is connected with the tachometer, receives the rotating speed of the tachometer and calculates the rotating speed as a rotating speed value; a PWM detection unit connected to the fourth pin for detecting a PWM frequency of the fourth pin; an I2C unit for connecting the third pin and the fourth pin and analyzing the I2C signals inputted by the third pin and the fourth pin; a PWM control unit, connected to the PWM detection unit, the I2C unit and the driving circuit, for receiving the output of the PWM detection unit and the output of the I2C unit, converting the output signals into the control signals and outputting the control signals to the driving circuit; and a mode selection unit, connect the PWM detection unit, the I2C unit and the rotational speed calculation unit, when the power is turned on, shield the output of the rotational speed calculation unit; and setting the interface-compatible smart fan to be in the PWM mode or the I2C mode according to the output of the PWM detection unit and the output result of the I2C unit, shielding the output of the rotation speed calculation unit in the I2C mode, and starting the output of the rotation speed calculation unit in the PWM mode.

Optionally, the microcontroller further comprises: a first selector, disposed between the I2C unit and the fourth pin, for connecting the tachometer with the tachometer; when the intelligent fan with the interface compatibility is set to be in the PWM mode, the mode selection unit sets the first selector to be directly connected to the tachometer through the fourth pin; and a second selector, dispose between control unit of this PWM and this drive circuit, connect the mode selection unit and this fourth pin; when the interface-compatible smart fan is set to the PWM mode, the mode selection unit sets the second selector to be directly connected to the driving circuit via the fourth pin.

Optionally, the PWM detection unit detects the PWM frequency of the fourth pin as a signal, and generates a PWM enable signal to the mode selection unit when the PWM frequency is below 50 KHz.

Optionally, the I2C unit generates an I2C enable signal to the mode selection unit when the I2C signal inputted from the third pin and the fourth pin is successfully analyzed.

Drawings

Fig. 1A is a functional block diagram of an embodiment of a smart fan with interface compatibility according to the present invention.

Fig. 1B is a functional block diagram of another embodiment of an interface-compatible smart fan according to the present invention.

Fig. 2A-2C are flow diagrams of methods for three different embodiments of the interface compatible smart fan of the present invention.

In the figure:

10: a control device with an interface compatible intelligent fan; 11: a microcontroller; 12: a drive circuit; 13: a tachometer;

14: a first pin position; 15: a second pin position; 16: a fourth pin position; 17: a third pin position; 111: a first selector;

112: a PWM detection unit; 113: an I2C unit; 114: a rotational speed calculation unit; 115: a mode selection unit;

116: a PWM control unit; 117: a second selector; 20: a fan body; 30: a main board.

Detailed Description

The present invention is further described with reference to the following drawings and specific examples so that those skilled in the art can better understand the present invention and can practice the present invention, but the examples are not intended to limit the present invention.

The invention judges the signal output mode of the fan connector of the mainboard by detecting the signal form of the corresponding pin position of the fan connector of the mainboard so as to judge whether the fan control signal of the mainboard belongs to the PWM mode or the I2C mode, and then sets the intelligent fan with interface compatibility of the invention as the PWM mode or the I2C mode, thereby achieving the special technical effect of downward compatibility with the mainboards of different forms.

Referring to fig. 1A, a functional block diagram of a first embodiment of an intelligent fan with interface compatibility according to the present invention includes: the fan comprises a fan body 20, a driving circuit 12, a tachometer 13, an output connector (provided with a first pin 14, a second pin 15, a fourth pin 16 and a third pin 17) and a microcontroller 11; the driving circuit 12, the tachometer 13, the output connector, and the microcontroller 11 are collectively referred to as a control device 10 having an interface-compatible smart fan. The microcontroller 11 has an interface compatible smart fan. The fan body 20 has a fan and a motor. The driving circuit 12 is connected to the motor for receiving a control signal to drive the motor to rotate to drive the fan. The tachometer 13 detects the rotational speed of the motor. The output connector is connected to a fan connector of the main board 30. The microcontroller 11 is connected to the driving circuit 12 and the tachometer 13, and is connected to the motherboard 30 via the first pin 14, the second pin 15, the fourth pin 16, and the third pin 17. The first pin 14, the second pin 15, the fourth pin 16 and the third pin 17 are defined as GND, VDD, SCL/PWM and SDA/FG, respectively.

When the microcontroller 11 is powered on, the fourth pin 16 and the third pin 17 are set as input pins, and the fourth pin 16 and the third pin 17 receive output signals of the fan connector of the motherboard 30 to perform I2C signal analysis; when successfully analyzed as an I2C signal, the intelligent fan with interface compatibility is set to be in an I2C mode; when I2C fails, the interface compatible smart fan is set to a PWM mode. When the smart fan is set to the I2C mode, the fourth pin 16 and the third pin 17 are set as inputs to input an I2C signal; when the smart fan is set to the PWM mode, the fourth pin 16 is set as an input to input a PWM control signal, and the third pin 17 is set as an output to output a fan speed value.

Wherein, microcontroller 11 includes: a PWM detection unit 112, an I2C unit 113, a PWM control unit 116, a mode selection unit 115, and a rotation speed calculation unit 114(FG calculation unit). The rotation speed calculating unit 114 is connected to the tachometer 13, receives the rotation speed of the tachometer 13, and calculates as a rotation speed value. The PWM detection unit 112 is connected to the fourth pin 16(SCL/PWM) and detects a PWM frequency of the fourth pin 16. The I2C unit 113 connects the fourth pin 16(SCL/PWM) and the third pin 17(SDA/FG), and analyzes the I2C signals inputted from the fourth pin 16 and the third pin 17. The PWM control unit 116 includes a PWM detection unit 112, an I2C unit 113, and a driving circuit 12, receives the output of the PWM detection unit 112 and the output of the I2C unit 113, converts the outputs into control signals, and outputs the control signals to the driving circuit 12. The mode selection unit 115 is connected to the PWM detection unit 112, the I2C unit 113 and the rotation speed calculation unit 114, and masks the output of the rotation speed calculation unit 114 when the power is turned on; and sets the interface-compatible smart fan to be in the PWM mode or I2C mode according to the output of the PWM detection unit 112 and the output result of the I2C unit 113, and masks the output of the rotation speed calculation unit 114 in the I2C mode and turns on the output of the rotation speed calculation unit 114 in the PWM mode.

The PWM detection unit 112 detects the PWM frequency of the fourth pin 16 as a signal, and generates a PWM enable signal to the mode selection unit 115 when the PWM frequency is below 50 KHz. The mode selection unit 115 can set the interface-compatible smart fan to the PWM mode.

When the I2C unit successfully parses 113 the I2C signals input by the fourth pin 16 and the third pin 17, an I2C enable signal is generated to the mode selection unit 115, and the mode selection unit 115 can set the interface-compatible smart fan to be in the I2C mode.

Referring to fig. 1B, a functional block diagram of another embodiment of an interface-compatible smart fan according to the present invention is shown. Referring to fig. 1A, the embodiment of fig. 1B adds a first selector 111 and a second selector 117. The first selector 111 is disposed between the I2C unit 113 and the third foot 17, and is connected to the tachometer 13 and the rotation speed calculation unit 114; when the interface-compatible smart fan is set to the PWM mode, the mode selection unit 115 sets the first selector 111 to be directly connected to the tachometer 12 through the third pin 17. The second selector 117 is disposed between the PWM control unit 116 and the driving circuit 12, and is connected to the mode selection unit 115 and the fourth pin 16. When the interface-compatible smart fan is set to the PWM mode, the mode selection unit 115 sets the second selector 117 to be directly connected to the driving circuit 12 via the fourth pin 16.

In other words, the microcontroller with the interface-compatible smart fan of the present invention can generate the PWM control signal or bypass (bypass) control interface PWM control signal to the driving circuit 12 according to different modes, and the feedback of the rotation speed is also possible.

Through the above embodiment of the intelligent fan with the interface function, the invention can perform standardized actions on the fan type and the slot pole number, so that the main board 30 can perform unified conversion of the fan rotating speed, and the wrong alarm caused by the error of rotating speed calculation due to the different fan structures during fan replacement is avoided, no matter the fan is a one-way/three-phase fan.

Referring to fig. 2A to 2C, a flow chart of a plurality of interface judgment embodiments of the smart fan with the interface function according to the present invention is shown. Please refer to fig. 1A synchronously.

First, please refer to fig. 2A, which includes the following steps:

step S101: and starting the power supply and executing the mode detection.

Step S102: the third pin and the fourth pin are set as input to start receiving the third pin and the fourth pin signals.

Step S103: the I2C command of the third pin and the fourth pin is analyzed by the unit I2C, and if the analysis is successful, the intelligent fan is set to be in an I2C mode.

Step S104: the PWM detection unit is used for detecting the frequency of the fourth pin, and if the signal frequency of the fourth pin is detected to be below 50kHz and no signal input is detected at the third pin by the I2C unit, the intelligent fan is set to be in a PWM mode.

Step S105: when the intelligent fan is set to be in an I2C mode, the third pin and the fourth pin are set as input; when the intelligent fan is set to be in the PWM mode, the third pin is set to be output, and the fourth pin is set to be input.

First, please refer to fig. 2B, which includes the following steps:

step S111: and starting the power supply and executing the mode detection.

Step S112: the third pin and the fourth pin are set as input to start receiving the third pin and the fourth pin signals.

Step S113: the I2C command of the third pin and the fourth pin is analyzed by the unit I2C, and if the analysis is successful, the intelligent fan is set to be in an I2C mode.

Step S114: if the detection result of step S113 is not in the I2C mode, the smart fan is set to the PWM mode.

Step S115: when the intelligent fan is set to be in an I2C mode, the third pin and the fourth pin are set as input; when the intelligent fan is set to be in the PWM mode, the third pin is set to be output, and the fourth pin is set to be input.

Finally, please refer to fig. 2C, which includes the following steps:

step S121: and starting the power supply and executing the mode detection.

Step S122: the third pin and the fourth pin are set as input to start receiving the third pin and the fourth pin signals.

Step S123: the PWM detection unit is used for detecting the frequency of the third pin, and if the signal frequency of the third pin is detected to be below 50kHz and no signal input is detected at the fourth pin by the I2C unit, the intelligent fan is set to be in a PWM mode.

Step S124: if the detection result in step S123 is not the PWM mode, the smart fan is set to the I2C mode.

Step S125: when the intelligent fan is set to be in an I2C mode, the third pin and the fourth pin are set as input; when the intelligent fan is set to be in the PWM mode, the third pin is set to be output, and the fourth pin is set to be input.

For the pins of the motherboard 30, in the state of I2C mode, the fourth pin 16 and the third pin 17 corresponding to the motherboard 30 are both output; in the PWM mode, the fourth pin 16 of the main board 30 is output, and the third pin 17 is input. Therefore, compared to the smart fan with the interface function of the present invention, in the I2C mode, the fourth pin 16 and the third pin 17 are both input; in the PWM mode, the fourth pin 16 of the smart fan with the interface function of the present invention is input, and the third pin 17 is output. In other words, when the smart fan with interface function of the present invention is set to the PWM mode, the third pin 17 is set to output, which allows the rotation speed value calculated by the rotation speed calculation unit 114 to be output to the motherboard 30 through the third pin 17.

Comparing the embodiments of fig. 2A to 2C, it can be seen that the embodiments of the smart fan with interface function of fig. 2A and 2C use the I2C unit and the PWM detection unit to detect the third pin and the fourth pin at the same time; the embodiment of FIG. 2B only uses the I2C cell to detect the third pin and the fourth pin. The difference between fig. 2A and fig. 2C is judged, and the embodiment of fig. 2C only confirms whether the mode is the PWM mode. Basically, the embodiments of fig. 2A to 2C can be implemented by the architectures of the embodiments of fig. 1A and 1B.

In addition, the control device 10 with an interface compatible smart fan defined in the present invention may also only include an output connector and a microcontroller 11.

According to the embodiment of the invention, the intelligent fan with the interface function utilizes the pin signal detection technology to solve the problem of compatibility of fans with different outputs of four pins of a new mainboard and an old mainboard, and the problem of fan replacement of the mainboard and a user can be greatly reduced. The method does not need software, does not need a correction process and the like, thereby reducing the overall maintenance cost and really achieving the ultimate goal of the intelligent fan.

Although the present invention has been described with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:风机叶轮在线自清灰装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!