CN111456959B - Fan control method, device and system - Google Patents

Fan control method, device and system Download PDF

Info

Publication number
CN111456959B
CN111456959B CN202010243518.3A CN202010243518A CN111456959B CN 111456959 B CN111456959 B CN 111456959B CN 202010243518 A CN202010243518 A CN 202010243518A CN 111456959 B CN111456959 B CN 111456959B
Authority
CN
China
Prior art keywords
fan
pwm
pin
type
controlled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010243518.3A
Other languages
Chinese (zh)
Other versions
CN111456959A (en
Inventor
林冠宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010243518.3A priority Critical patent/CN111456959B/en
Publication of CN111456959A publication Critical patent/CN111456959A/en
Application granted granted Critical
Publication of CN111456959B publication Critical patent/CN111456959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/004Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The invention discloses a fan control method, a device and a system, wherein the method comprises the following steps: acquiring the fan type of a controlled fan; wherein the fan type is a 3pin fan or a 4pin fan; if the fan type is a 3pin fan, converting the direct current of the first preset voltage into a voltage value corresponding to the PWM signal, and supplying power to a power supply pin of the controlled fan; the PWM signal is used for being output to a PWM pin of the 4pin fan; if the fan type is a 4pin fan, converting the direct current into a second preset voltage to supply power to the power supply pin; the invention utilizes the acquired fan type of the controlled fan to automatically adjust the power supply mode of the controlled fan, completes the control conversion of the fan type, ensures that the fan rotating speed can be controlled by PWM signals no matter whether the controlled fan is a 3pin fan or a 4pin fan, and ensures that a heat dissipation engineer can select the fan type more flexibly and save the system cost.

Description

Fan control method, device and system
Technical Field
The present invention relates to the field of heat dissipation technologies, and in particular, to a method, an apparatus, and a system for controlling a fan.
Background
The heat dissipation technology of the server in the machine room is an important issue, and the heat dissipation technology such as a heat sink (Heatsink), a FAN (FAN), and even a liquid cooling system is often visible on the server board card. The system fan is the most important heat sink on the server, and transfers heat energy from high temperature to low temperature. A heat dissipation engineer can select a possible heat source on a board card to set a temperature value read by a temperature Sensor (Thermal Sensor), notify a BMC (Board management controller) through I2C Bus to adjust a fan regulation and control strategy, namely PID control, the fan regulation and control strategy is formulated in a temperature monitoring mode, and after the temperature value is acquired by the temperature Sensor and the BMC on a server circuit, a PID algorithm is used for regulating and controlling the rotating speed of a fan so as to meet the heat dissipation requirement of the server.
There are many ways to control the fan, but it is to be distinguished which type of fan is. Earlier DC fans (i.e., 3PIN fans) used to control the speed of the fan by varying the voltage across the fan; that is, the required voltage value is provided to the fan to achieve the purpose of controlling the rotation speed of the fan. The conventional 3PIN fan has the defects that the speed cannot be regulated according to the actual temperature condition, and the fan can only run at full speed, so that the noise is very high, in order to improve the condition, a PWM (pulse-width modulation) fan (namely a 4PIN fan) is provided, the 4PIN fan is provided with one more speed regulating line connected with a PWM signal on the basis of the 3PIN fan, the rotating speed of the fan can be detected in real time, the rotating speed of the fan can be controlled through the PWM signal according to the current system temperature, the closed-loop control of the temperature and the rotating speed of the fan is realized, the heat dissipation efficiency is improved, the power consumption of a host computer is reduced, and the noise generated when the fan rotates is also reduced. The rotating speed of the fan is controlled to optimize the rotating speed of the fan, and the heat dissipation space of a heat source is mainly controlled; the rotating speed of the fan is higher no matter the fan is a 3PIN fan or a 4PIN fan, and the better the heat dissipation effect of the system is; the heat source is not a fixed value, so the fan speed needs to be constantly changed to meet the heat dissipation requirement of the system.
Although the 4PIN fan has a significant advantage compared to the 3PIN fan in the prior art, the cost of the 4PIN fan is much higher than that of the 3PIN fan, and under the condition that the heat dissipation requirement of the server is more and more increased, the fan requirement is more and more increased, and the cost is also increased a lot. Therefore, how to provide a method capable of simultaneously realizing the rotation speed control of the 4PIN fan and the 3PIN fan, completing the control conversion of the fan type, making the selection of the fan type more flexible and saving the system cost.
Disclosure of Invention
The invention aims to provide a fan control method, a fan control device and a fan control system, which are used for simultaneously realizing a method for controlling the rotating speed of a 4PIN fan and a 3PIN fan, completing the control conversion of fan types, enabling the selection of the fan types to be more flexible and saving the system cost.
In order to solve the above technical problem, the present invention provides a fan control method, including:
acquiring the fan type of a controlled fan; wherein the fan type is a 3pin fan or a 4pin fan;
if the fan type is the 3pin fan, converting direct current of a first preset voltage into a voltage value corresponding to a PWM signal, and supplying power to a power supply pin of the controlled fan; wherein the PWM signal is used for outputting to a PWM pin of the 4pin fan;
and if the fan type is the 4pin fan, converting the direct current into a second preset voltage to supply power to the power supply pin.
Optionally, the converting the direct current of the first preset voltage into a voltage value corresponding to the PWM signal includes:
integrating the PWM signal by using an integrator to obtain a control signal;
the controllable switch is correspondingly switched on and off according to the control signal, and the direct current is converted into a corresponding voltage value; wherein the direct current is connected with a power supply pin through the controllable switch.
Optionally, the second preset voltage is equal to the first preset voltage.
Optionally, the first preset voltage is specifically 12V.
Optionally, the obtaining the fan type of the controlled fan includes:
detecting whether the controlled fan comprises the PWM Pin or not by utilizing a PWM Pin detector; wherein the PWM signal is output to the PWM Pin through the PWM Pin detector;
if so, determining the fan type to be the 4pin fan;
if not, determining that the fan type is the 3pin fan.
The present invention also provides a fan control device, including:
the acquisition module is used for acquiring the fan type of the controlled fan; wherein the fan type is a 3pin fan or a 4pin fan;
the first power supply conversion module is used for converting direct current of a first preset voltage into a voltage value corresponding to a PWM signal if the fan type is the 3pin fan, and supplying power to a power supply pin of the controlled fan; wherein the PWM signal is used for being output to a PWM pin of the 4pin fan;
and the second power supply conversion module is used for converting the direct current into a second preset voltage to supply power for the power supply pin if the fan type is the 4pin fan.
The present invention also provides a fan control system, comprising:
the PWM Pin detector is used for detecting whether the controlled fan comprises a PWM Pin or not and determining the fan type of the controlled fan; the PWM signal output end is connected with a PWM Pin of the 4Pin fan through the PWM Pin detector;
the switch control circuit is used for correspondingly controlling the on and off of the controllable switch according to the PWM signal output by the PWM signal output end if the fan type is the 3pin fan, so that direct current with first preset voltage is converted into a voltage value corresponding to the PWM signal through the controllable switch, and power is supplied to a power supply pin of the controlled fan; if the fan type is the 4pin fan, the controllable switch is switched on and off by using a preset control signal, so that the direct current is converted into a second preset voltage to supply power to the power supply pin;
the controllable switch is used for correspondingly switching on and switching off according to the control of the switch control circuit; the output end of the direct current is connected with the power supply pin through the controllable switch.
Optionally, the controllable switch is specifically a PMOS transistor.
Optionally, the switch control circuit includes:
and the integrator is used for integrating the PWM signal to obtain a control signal and outputting the control signal to the grid electrode of the PMOS tube when the fan is the 3pin fan.
Optionally, when the first preset voltage is equal to the second preset voltage, the switch control circuit is specifically configured to control the controllable switch to be fully turned on when the fan type is the 4pin fan.
The invention provides a fan control method, which comprises the following steps: acquiring the fan type of a controlled fan; wherein the fan type is a 3pin fan or a 4pin fan; if the fan type is a 3pin fan, converting the direct current of the first preset voltage into a voltage value corresponding to the PWM signal, and supplying power to a power supply pin of the controlled fan; the PWM signal is used for being output to a PWM pin of the 4pin fan; if the fan type is a 4pin fan, converting the direct current into a second preset voltage to supply power to the power supply pin;
therefore, the invention utilizes the acquired fan type of the controlled fan to automatically adjust the power supply mode of the controlled fan, completes the control conversion of the fan type, ensures that the fan rotating speed can be controlled by PWM signals no matter whether the controlled fan is a 3pin fan or a 4pin fan, and ensures that a heat dissipation engineer can select the fan type more flexibly and can save the system cost. In addition, the invention also provides a fan control device and a system, and the fan control device and the system also have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a fan control method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a fan control system according to an embodiment of the present invention;
fig. 3 is a block diagram of a fan control device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a fan control method according to an embodiment of the present invention.
The method can comprise the following steps:
step 101: acquiring the fan type of a controlled fan; wherein the fan type is a 3pin fan or a 4pin fan.
It is understood that the controlled fan in the present embodiment may be a fan that needs to control the rotation speed of the fan. The purpose of this step can be for the processor (for example singlechip) through the fan type that obtains the fan that is controlled, the power supply mode of corresponding adjustment controlled fan, adjust the voltage value of the direct current of the power supply pin who exports controlled fan promptly to guarantee that no matter controlled fan is 3pin fan or 4pin fan all can control the fan rotational speed through the PWM signal.
Specifically, for the specific manner of obtaining the fan type of the controlled fan in this step, the designer may set the fan type according to the usage scenario and the user requirement, for example, the processor may directly obtain the fan type set or sent by the user, for example, when the user sets the controlled fan, the fan type information of the controlled fan may be stored in the memory, so that the processor may determine the fan type of the controlled fan by using the fan type information stored in the memory; the user can also set a signal sending circuit corresponding to the fan type of the controlled fan, so that the processor can determine the fan type of the controlled fan according to the signal sent by the signal sending circuit. Further, in this embodiment, the processor may also automatically detect the fan type of the controlled fan, as shown in fig. 2, the processor may detect whether the controlled fan includes a PWM Pin by using a PWM Pin detector; if yes, determining the type of the fan to be a 4pin fan; if not, determining the type of the fan to be a 3pin fan; wherein, the PWM signal is output to the PWM Pin of the 4Pin fan through the PWM Pin detector. That is, as shown in table 1 and table 2, the 4Pin fan has one more PWM Pin (i.e. Pin 4) than the 3Pin fan, and the PWM Pin detector detects the detection of the PWM Pin of the controlled fan, for example, whether the PWM Pin has the pull-up current or not, and determines that the fan type is the 4Pin fan. For example, when the PWM Pin detector does not detect the current, it may determine that the controlled fan does not include the PWM Pin, and determine that the fan type of the controlled fan is a 3Pin fan; when the PWM Pin detector detects the current, the controlled fan can be determined to contain the PWM Pin, and the type of the controlled fan is determined to be a 4Pin fan.
TABLE 14 Pin Fan Pin definition
Pin Definition of
1 GND
2 P12V
3 TACH
4 PWM
TABLE 23 Pin Fan Pin definition
Pin Definition of
1 GND
2 DC
3 TACH
Step 102: if the fan type is a 3pin fan, converting the direct current of the first preset voltage into a voltage value corresponding to the PWM signal, and supplying power to a power supply pin of the controlled fan; the PWM signal is used for PWM pin output to the 4pin fan.
It can be understood that, the purpose of this step may be to, when it is determined that the fan type of the controlled fan is a 3pin fan, convert the input direct current of the first preset voltage for supplying power to the controlled fan into a voltage value corresponding to the PWM signal and output the voltage value to the power supply pin (i.e., pin 2 in table 2) of the controlled fan, so as to implement the control of the rotational speed of the 3pin fan by the PWM signal.
Specifically, the specific manner in which the processor converts the direct current of the first preset voltage into the voltage value corresponding to the PWM signal in this step may be set by a designer according to a practical scene and a user requirement, for example, the processor may directly convert the direct current of the first preset voltage into the voltage value corresponding to the duty ratio of the PWM signal, as shown in fig. 2, the integrator may be used to integrate the PWM signal to obtain a control signal, so that the controllable Switch (SW) is used to correspondingly turn on and off according to the control signal, and convert the direct current of 12V (i.e., the first preset voltage) into the corresponding voltage value; wherein the direct current is connected with the power supply pin through the controllable switch. That is, the output of the direct current of the first preset voltage is connected to the supply pin of the controlled fan (i.e. pin 2 in tables 1 and 2) through both ends of the controllable switch in the processor; the integrator in the processor outputs a control signal corresponding to the duty ratio of the PWM signal to the control end of the controllable switch, and the power supply voltage of the 3pin fan is converted into a voltage value corresponding to the duty ratio of the PWM signal by controlling the on and off of the controllable switch. The processor may also convert the direct current of the first preset voltage into a third preset voltage, and then convert the direct current of the third preset voltage into a voltage value corresponding to the duty ratio of the PWM signal. As long as the processor can convert the direct current of the first preset voltage used for supplying power to the controlled fan into a voltage value corresponding to the PWM signal when the fan type of the controlled fan is a 3pin fan, so as to control the rotation speed of the controlled fan by the PWM signal, which is not limited in this embodiment.
Correspondingly, the present embodiment does not limit the specific device type of the controllable switch, for example, the controllable switch may be an MOS transistor, such as a PMOS transistor in fig. 2; it may also be an NMOS transistor or other type of controllable switch.
Step 103: and if the fan type is a 4pin fan, converting the direct current into a second preset voltage to supply power for the power supply pin.
It can be understood that, when it is determined that the fan type of the controlled fan is the 4pin fan, the step may be performed to convert the input direct current of the first preset voltage for supplying power to the controlled fan into the second preset voltage, that is, the supply voltage value of the 4pin fan, for example, 12V in table 1, so as to ensure that the 4pin fan is normally supplied with power, so that the 4pin fan can normally control the rotating speed by the input PWM signal.
Specifically, for the specific manner in which the processor converts the direct current of the first preset voltage into the second preset voltage in this step, the specific manner can be set by a designer according to a practical scene and a user requirement, and if the first preset voltage is the same as the second preset voltage, and if the first preset voltage and the second preset voltage are both 12V, the processor in this step can directly control the controllable switch between the direct current output end and the power supply pin of the controlled fan to be fully turned on (i.e., continuously turned on), so that the direct current of the first preset voltage can be directly output to the power supply pin of the controlled fan; when the first preset voltage is different from the second preset voltage, the processor can convert the direct current of the first preset voltage into the second preset voltage by using the voltage conversion circuit and then output the second preset voltage to the power supply pin of the controlled fan. The present embodiment does not set any limit to this.
That is, as shown in fig. 2, the processor including the integrator, the controllable Switch (SW) and the PWM pin detector can output a signal to the controllable switch to make the controllable switch fully turned on when the PWM pin detector detects the PWM pin of the 4pin fan, so that the power pin of the 4pin fan is supplied with 12V direct current (P12V); when no PWM pin is detected by the PWM pin detector, a PWM signal output by the PWM controller controls the controllable switch after passing through the integrator, so that the direct current voltage (DC) value input by a power supply pin of the 3pin fan is determined, and the rotating speed of the 3pin fan is controlled.
In this embodiment, the embodiment of the present invention automatically adjusts the power supply mode of the controlled fan by using the acquired fan type of the controlled fan, thereby completing the control conversion of the fan type, and ensuring that the fan speed can be controlled by the PWM signal no matter whether the controlled fan is a 3pin fan or a 4pin fan, so that the heat dissipation engineer can select the fan type more flexibly and can save the system cost.
Referring to fig. 3, fig. 3 is a block diagram of a fan control device according to an embodiment of the present invention.
The apparatus may include:
the acquiring module 10 is used for acquiring the fan type of a controlled fan; wherein the fan type is a 3pin fan or a 4pin fan;
the first power supply conversion module 20 is configured to, if the fan type is a 3pin fan, convert the direct current of the first preset voltage into a voltage value corresponding to the PWM signal, and supply power to a power supply pin of the controlled fan; the PWM signal is used for being output to a PWM pin of the 4pin fan;
and the second power supply conversion module 30 is configured to convert the direct current into a second preset voltage to supply power to the power supply pin if the fan type is a 4pin fan.
Optionally, the first power conversion module 20 may include:
the integrating unit is used for integrating the PWM signal by using the integrator to obtain a control signal;
the conversion unit is used for utilizing the controllable switch to be correspondingly switched on and off according to the control signal and converting the direct current into a corresponding voltage value; wherein the direct current is connected with the power supply pin through the controllable switch.
Optionally, the second preset voltage is equal to the first preset voltage.
Optionally, the first preset voltage is specifically 12V.
Optionally, the obtaining module 10 may include:
the judging unit is used for detecting whether the controlled fan comprises a PWM Pin by using the PWM Pin detector; if so, determining the fan type to be a 4pin fan; if not, determining the type of the fan to be a 3pin fan; wherein, the PWM signal is output to the PWM Pin through the PWM Pin detector.
In this embodiment, the embodiment of the present invention automatically adjusts the power supply mode of the controlled fan by using the acquired fan type of the controlled fan, thereby completing the control conversion of the fan type, and ensuring that the fan speed can be controlled by the PWM signal no matter whether the controlled fan is a 3pin fan or a 4pin fan, so that the heat dissipation engineer can select the fan type more flexibly and can save the system cost.
In addition, an embodiment of the present invention further provides a fan control system, where the system may include:
the PWM Pin detector is used for detecting whether the controlled fan comprises a PWM Pin or not and determining the fan type of the controlled fan; the PWM signal output end is connected with a PWM Pin of the 4Pin fan through a PWM Pin detector;
the switch control circuit is used for correspondingly controlling the on-off of the controllable switch according to the PWM signal output by the PWM signal output end if the fan type is a 3pin fan, so that direct current of the first preset voltage is converted into a voltage value corresponding to the PWM signal through the controllable switch, and power is supplied to a power supply pin of the controlled fan; if the fan type is a 4pin fan, the direct current-to-controllable switch is converted into a second preset voltage by utilizing the on and off of the preset control signal controllable switch to supply power to the power supply pin;
the controllable switch is used for correspondingly switching on and off according to the control of the switch control circuit; wherein, the output end of the direct current is connected with the power supply pin through the controllable switch.
Optionally, the controllable switch may be specifically a PMOS transistor.
Optionally, the switch control circuit may include:
and the integrator is used for integrating the PWM signal to obtain a control signal and outputting the control signal to the grid electrode of the PMOS tube when the fan type is a 3pin fan.
Optionally, when the first preset voltage is equal to the second preset voltage, the switch control circuit may be specifically configured to control the controllable switch to be fully turned on when the fan type is a 4pin fan.
In the embodiment of the invention, the PWM Pin detector is used for detecting the fan type of the controlled fan, so that the automatic detection of the fan type of the controlled fan is realized; the switch-on and switch-off of the controllable switch are correspondingly controlled through the switch control circuit according to the detected fan type, the power supply mode of the controlled fan is automatically adjusted, the control conversion of the fan type is completed, and whether the controlled fan is a 3pin fan or a 4pin fan is guaranteed to control the rotating speed of the fan through PWM signals, so that a heat dissipation engineer can select the fan type more flexibly and can save the system cost.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the device and the system disclosed by the embodiment, the description is relatively simple because the device and the system correspond to the method disclosed by the embodiment, and the relevant points can be referred to the description of the method part.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The present invention provides a method, an apparatus and a system for controlling a fan. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. A fan control method, comprising:
acquiring the fan type of a controlled fan; wherein the fan type is a 3pin fan or a 4pin fan;
if the fan type is the 3pin fan, converting direct current of a first preset voltage into a voltage value corresponding to a PWM signal, and supplying power to a power supply pin of the controlled fan; wherein the PWM signal is used for being output to a PWM pin of the 4pin fan;
if the fan type is the 4pin fan, converting the direct current into a second preset voltage to supply power to the power supply pin; the second preset voltage is equal to the first preset voltage;
wherein, the converting the direct current of first preset voltage into the voltage value that the PWM signal corresponds, include:
integrating the PWM signal by using an integrator to obtain a control signal;
the controllable switch is correspondingly switched on and off according to the control signal, and the direct current is converted into a corresponding voltage value; wherein the direct current is connected with a power supply pin through the controllable switch.
2. The fan control method according to claim 1, wherein the first predetermined voltage is 12V.
3. The fan control method according to claim 1 or 2, wherein the obtaining of the fan type of the controlled fan comprises:
detecting whether the controlled fan comprises the PWM Pin or not by utilizing a PWM Pin detector; wherein, the PWM signal is output to the PWM Pin through the PWM Pin detector;
if so, determining the fan type to be the 4pin fan;
if not, determining that the fan type is the 3pin fan.
4. A fan control apparatus, comprising:
the acquisition module is used for acquiring the fan type of the controlled fan; wherein the fan type is a 3pin fan or a 4pin fan;
the first power supply conversion module is used for converting direct current of a first preset voltage into a voltage value corresponding to a PWM signal if the fan type is the 3pin fan, and supplying power to a power supply pin of the controlled fan; wherein the PWM signal is used for being output to a PWM pin of the 4pin fan;
the second power supply conversion module is used for converting the direct current into a second preset voltage to supply power to the power supply pin if the fan type is the 4pin fan; the second preset voltage is equal to the first preset voltage;
wherein the first power conversion module includes:
the integrating unit is used for integrating the PWM signal by using an integrator to obtain a control signal;
the conversion unit is used for utilizing a controllable switch to be correspondingly switched on and off according to the control signal and converting the direct current into a corresponding voltage value; wherein the direct current is connected with a power supply pin through the controllable switch.
5. A fan control system, comprising:
the PWM Pin detector is used for detecting whether the controlled fan comprises a PWM Pin or not and determining the fan type of the controlled fan; the PWM signal output end is connected with a PWM Pin of the 4Pin fan through the PWM Pin detector;
the switch control circuit is used for correspondingly controlling the on and off of the controllable switch according to the PWM signal output by the PWM signal output end if the fan type is a 3pin fan, so that direct current with first preset voltage is converted into a voltage value corresponding to the PWM signal through the controllable switch, and power is supplied to a power supply pin of the controlled fan; if the fan type is the 4pin fan, the controllable switch is switched on and off by using a preset control signal, so that the direct current is converted into a second preset voltage to supply power to the power supply pin; the second preset voltage is equal to the first preset voltage;
the controllable switch is used for correspondingly switching on and switching off according to the control of the switch control circuit; the output end of the direct current is connected with the power supply pin through the controllable switch.
6. The fan control system of claim 5, wherein the controllable switch is a PMOS transistor.
7. The fan control system of claim 6, wherein the switch control circuit comprises:
and the integrator is used for integrating the PWM signal to obtain a control signal and outputting the control signal to the grid electrode of the PMOS tube when the fan is the 3pin fan.
8. The fan control system according to any of claims 5 to 7, wherein when the first preset voltage is equal to the second preset voltage, the switch control circuit is specifically configured to control the controllable switch to be fully turned on when the fan type is the 4pin fan.
CN202010243518.3A 2020-03-31 2020-03-31 Fan control method, device and system Active CN111456959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010243518.3A CN111456959B (en) 2020-03-31 2020-03-31 Fan control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010243518.3A CN111456959B (en) 2020-03-31 2020-03-31 Fan control method, device and system

Publications (2)

Publication Number Publication Date
CN111456959A CN111456959A (en) 2020-07-28
CN111456959B true CN111456959B (en) 2022-07-08

Family

ID=71683463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010243518.3A Active CN111456959B (en) 2020-03-31 2020-03-31 Fan control method, device and system

Country Status (1)

Country Link
CN (1) CN111456959B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1892609A (en) * 2005-07-09 2007-01-10 鸿富锦精密工业(深圳)有限公司 Method for automatically detecting fan kind of central processor
US7791301B2 (en) * 2008-01-02 2010-09-07 Nuvoton Technology Corporation Apparatus and method for fan auto-detection
CN101763152B (en) * 2008-12-23 2011-11-23 环旭电子股份有限公司 Fan switching device applied to mainboard
CN101963150B (en) * 2009-07-21 2014-08-13 鸿富锦精密工业(深圳)有限公司 Fan type detection and speed regulation system
CN102108963B (en) * 2009-12-24 2014-06-18 和硕联合科技股份有限公司 Fan detection device and method
CN205070878U (en) * 2015-11-02 2016-03-02 上海斐讯数据通信技术有限公司 PWM speed regulation circuit
CN105443408B (en) * 2015-11-27 2018-01-26 浪潮(北京)电子信息产业有限公司 A kind of fan system
TWI586895B (en) * 2015-12-23 2017-06-11 新唐科技股份有限公司 Fan driver system and fan driver analog chip
CN208396980U (en) * 2018-05-18 2019-01-18 深圳市国科亿道科技有限公司 Control the control system of rotation speed of the fan

Also Published As

Publication number Publication date
CN111456959A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
US7702223B2 (en) Circuit for controlling rotation speed of computer fan
US7756402B2 (en) Method and circuit for controlling rotation speed of computer fan
US8151128B2 (en) Computer system power source with improved light-load efficiency
US7742688B2 (en) Circuit for controlling rotation speed of computer fan
US8159160B2 (en) Apparatus, system, and method for improved fan control in a power supply
US9705439B1 (en) Fan driver system and analog fan drive chip
JP2010511367A (en) Power supply control device
JP2004038289A (en) Information processor and power supply control method in the same device
US7343503B2 (en) System for supplying operating voltage to CPU
US7237130B2 (en) Blade server performance management method and system
CN111456959B (en) Fan control method, device and system
CN115800690A (en) Control method of driving circuit, power supply circuit and electronic equipment
US6700807B1 (en) Flexible converter
US20040119430A1 (en) Power fan speed controller
US20200117252A1 (en) Computer system and method of operating a computer system
US11855562B1 (en) Automatic control system for phase angle of motor
US20120319635A1 (en) Method and circuit for controlling motors
CN110401386B (en) Method and system for reducing current fluctuation of server fan circuit
TWI802912B (en) Speed Control Method of DC Motor Fan
US11736044B2 (en) Brake control system of motor
CN215109629U (en) Fan control device and lamp
CN115596692A (en) Method for controlling rotation speed of DC motor fan
TWM635039U (en) Monitoring system
GB2391729A (en) Fan speed controller
TWM618846U (en) Power regulation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant