CN111794996A - Fan control circuit, method and server - Google Patents

Fan control circuit, method and server Download PDF

Info

Publication number
CN111794996A
CN111794996A CN202010716901.6A CN202010716901A CN111794996A CN 111794996 A CN111794996 A CN 111794996A CN 202010716901 A CN202010716901 A CN 202010716901A CN 111794996 A CN111794996 A CN 111794996A
Authority
CN
China
Prior art keywords
signal
control
fan
control unit
selection unit
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.)
Granted
Application number
CN202010716901.6A
Other languages
Chinese (zh)
Other versions
CN111794996B (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.)
China Great Wall Technology Group Co ltd
Original Assignee
China Great Wall Technology Group 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 China Great Wall Technology Group Co ltd filed Critical China Great Wall Technology Group Co ltd
Priority to CN202010716901.6A priority Critical patent/CN111794996B/en
Publication of CN111794996A publication Critical patent/CN111794996A/en
Application granted granted Critical
Publication of CN111794996B publication Critical patent/CN111794996B/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
    • 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/008Stop safety or alarm devices, e.g. stop-and-go control; Disposition of check-valves
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating
    • 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

Abstract

The application provides a fan control circuit, a fan control method and a server, which are applicable to the technical field of computers, can better meet various cooling requirements, and are wider in application range. This fan control circuit links to each other with the fan, includes: the control selection unit is used for outputting a driving signal to the fan according to a first control signal and outputting the driving signal to the fan according to a second control signal when receiving a first switching signal; the driving signal is used for controlling the fan to work; the first control unit is used for outputting a working state signal when the first control signal is output to the control selection unit; and the second control unit is used for outputting the second control signal and the first switching signal to the control selection unit when the working state signal is not received.

Description

Fan control circuit, method and server
Technical Field
The application belongs to the field of computers, and particularly relates to a fan control circuit, a fan control method and a server.
Background
The rapid development of the internet, a large amount of data storage and calculation are all completed by the server, the synchronous requirements for the computing capacity and the data processing capacity of the processor in the server are higher and higher, but the improvement of the computing speed and the computing capacity will increase the temperature of the cpu, the memory, the raid card and other components, in order to avoid the system breakdown or slowing caused by the temperature, the server is also internally provided with a fan for heat dissipation, and the temperature inside the server is adjusted by controlling the rotating speed of the fan and other working modes.
However, in order to match the working time of the fan with the temperature regulation requirement of the server, in the prior art, when the fan is arranged in the server, a corresponding independent control unit is added to the fan inside the server, and the fan is controlled by the independent control unit while the server is started, so that synchronous opening and synchronous closing of the fan and the server are realized. However, when the independent control unit fails, the fan cannot be started in other ways, which easily causes the server to have the hidden trouble of too high temperature and incapability of heat dissipation in the using process. Therefore, the control mode of the existing fan is single, the application range is small, and various cooling requirements cannot be well met.
Disclosure of Invention
The embodiment of the application provides a fan control circuit, a fan control method and a server, and aims to solve the problems that an existing fan control mode is single, the application range is small, and various cooling requirements cannot be well met.
In a first aspect, an embodiment of the present application provides a fan control circuit, connected to a fan, where the fan control circuit includes:
the control selection unit is used for outputting a driving signal to the fan according to a first control signal and outputting the driving signal to the fan according to a second control signal when receiving a first switching signal; the driving signal is used for controlling the fan to work;
the first control unit is used for outputting a working state signal when the first control signal is output to the control selection unit;
and the second control unit is used for outputting the second control signal and the first switching signal to the control selection unit when the working state signal is not received.
By adopting the fan control circuit provided by the application, the control selection unit outputs the driving signal to the fan according to the first control signal output by the first control unit, and when the first switching signal output by the second control unit is received, the driving signal is output to the fan according to the second control signal output by the second control unit, so that the fan is controlled to work by the driving signal, when the first control unit fails in the fan operation process, the second control unit controls the fan, thereby realizing that the first control unit can continuously control the fan to work and continuously carry out heat dissipation operation on components after the fan operation process fails, effectively avoiding the hidden danger that the fan is too high in temperature and cannot continuously utilize the fan to dissipate heat when the only control end of the fan is damaged, and widening the application range of the fan control circuit, better meet various cooling requirements.
In a second aspect, an embodiment of the present application provides a driving signal output method, which is applied to the second control unit, and the driving signal output method includes:
judging whether a working state signal output by the first control unit is received or not; the working state signal is generated and output by the first control unit when the first control signal is output to the control selection unit;
if the working state signal is not received, outputting the second control signal and the first switching signal to the control selection unit; the control selection unit is used for outputting a driving signal to the fan according to a first control signal, and outputting the driving signal to the fan according to a second control signal when receiving a first switching signal; the driving signal is used for controlling the fan to work.
In a third aspect, an embodiment of the present application provides a server, which includes a fan and the fan control circuit, and controls the fan to operate based on the fan control circuit.
It is to be understood that, the beneficial effects of the second to third aspects may be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a fan control circuit according to an embodiment of the present disclosure;
FIG. 2 is a detailed schematic diagram of a fan control circuit according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a driving signal output method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a fan control circuit 500 according to an embodiment of the present disclosure. The fan control circuit 500 is connected to the fan 400, and includes a control selection unit 100, a first control unit 200, and a second control unit 300. Specifically, the method comprises the following steps:
a control selection unit 100 for outputting a driving signal to the fan 400 according to a first control signal, and outputting a driving signal to the fan 400 according to a second control signal when receiving a first switching signal; the driving signal is used for controlling the fan 400 to work;
a first control unit 200 for outputting an operation state signal when outputting a first control signal to the control selection unit 100;
the second control unit 300 is configured to output a second control signal and a first switching signal to the control selection unit 100 when the operating state signal is not received.
In this embodiment, the control signal output terminal of the first control unit 200 and the control signal output terminal of the second control unit 300 are respectively connected to the control signal input terminal of the control selection unit 100, and the control signal output terminal of the control selection unit 100 is connected to the control signal input terminal of the fan. The status signal output terminal of the first control unit 200 is connected to the status signal input terminal of the second control unit 300. The switching signal output terminal of the second control unit 300 is connected to the switching signal input terminal of the control selection unit 100.
When the fan 400 is controlled to operate, the first control unit 200 generates a first control signal and sends the first control signal to the control selection unit 100, the control selection unit 100 sends the first control signal to the fan 400 as a driving signal, and a motor in the fan drives blades of the fan to rotate according to a set current under the driving control of the driving signal sent by the control selection unit. Specifically, the first control unit 200 sends a first control signal to the control selection unit 100, and the control selection unit 100 sends the first control signal to the fan 400 as a driving signal, so that the fan 400 generates a corresponding Pulse Width Modulation (PWM) signal according to the driving signal, and transmits the PWM signal to the motor of the fan, thereby controlling the motor to operate based on the PWM signal and driving the fan blades of the fan to rotate. It can be understood that when the PWM is at a high level, the motor of the fan drives the blades of the fan to rotate, and when the PWM is at a low level, the motor of the fan stops driving the blades of the fan to rotate, and the duty ratio of the PWM determines the average value of the output of the fan, and further determines the average value of the output current, that is, the higher the duty ratio of the PWM, the higher the average value of the output voltage of the fan, the higher the average value of the output current, and the higher the rotation speed of the fan. Here, the PWM duty is a ratio of the entire period of the high level within one pulse period, for example: the pulse width is 1 mus and the duty cycle of the pulse sequence is 0.25 for a signal period of 4 mus.
When the first control signal is output to the control selection unit 100 based on the first control unit 200, the first control unit 200 automatically generates an operating state signal indicating that the first control unit 200 is in an operating state, and transmits the operating state signal to the second control unit 300 in real time. When the second control unit 300 is in the normal operation state, it is detected and determined whether to receive the operation state signal in real time, if the operation state signal is received, it is determined that the first control unit 200 is in the normal operation state, and if the operation state signal is not received, it is determined that the first control unit 200 is abnormal and in the failure state, and the fan cannot be controlled in the normal operation state. When the first control unit 200 fails to work and is in a failure state, and thus the fan cannot be continuously controlled to work, the second control unit 300 generates a first switching signal and sends the first switching signal to the control selection unit 100, the control selection unit 100 confirms that the first control unit 200 is in the failure state according to the first switching signal, and sends a second control signal as a target driving signal to the fan 400 according to the first switching signal, and a motor in the fan drives blades of the fan to rotate according to a set current under the driving signal sent by the control selection unit 100.
It should be noted that the first control signal is used to control the rotation speed of the fan. Specifically, the fan 400 adjusts the rotation speed of the fan based on the PWM duty signal according to the PWM duty signal determined by the cooling requirement determined by the temperature of the environment where the fan is located, so that the fan can adapt to different cooling requirements, for example, the rotation speed of the fan is adjusted to 60% of the rotation speed according to the PWM duty signal, so as to provide a heat dissipation function for the system.
The second control signal is used for controlling the rotation speed of the fan, and comprises a PWM duty cycle signal determined according to the cooling requirement determined by the temperature of the environment where the fan is located, and the rotation speed of the fan is adjusted by the fan 400 through the PWM duty cycle signal, so that the fan can adapt to different cooling requirements.
In an embodiment, the rotation speed signal input terminal of the control selection unit 100 is connected to the rotation speed signal output terminal of the fan 400, and the rotation speed signal output terminal of the control selection unit 100 is connected to the rotation speed signal input terminal of the first control unit 200 and the rotation speed signal input terminal of the second control unit 300. When the fan 400 is controlled to operate, the first control unit 200 generates a first control signal according to the received rotation speed signal, or the second control unit 300 generates a second control signal according to the rotation speed signal.
The driving signal is used to instruct the fan to operate, and is a signal that the control selection unit 100 outputs to confirm that the first control signal or the second control signal is the main control signal for controlling the fan to operate.
The first switching signal is used to indicate that the first control unit 200 is in a failure state, and the second control signal needs to be output to the fan as a target driving signal according to the first switching signal through the control selection unit 100 to control the fan to operate.
It should be understood that the fan may be powered by connecting a corresponding power module, such as a DC current source, a battery pack, or a capacitor, to provide operating power thereto.
Illustratively, in conjunction with fig. 2, the first control Unit 200 includes a Basic Management Controller (BMC), the second control Unit 300 includes a Central Processing Unit (CPU), and the control selection Unit 100 includes a first data selection chip 10 and a second data selection chip 20. The fan 400 includes a ground terminal, a power supply terminal, a control signal input terminal (PWM signal input terminal), and a rotational speed signal output terminal.
Pins 5, 6, 7 and 8 of the BMC are respectively connected with pins 2, 3, 5 and 6 of the first data selection chip 10, and are used for outputting different PWM duty signals to the first data selection chip 10; and pins 5, 6, 7, 8 of the CPU are connected to pins 11, 10, 14, 13 of the first data selecting chip 10, respectively, for outputting different PWM duty signals to the first data selecting chip 10.
Pins 1, 2, 3 and 4 of the BMC are respectively connected with pins 11, 10, 14 and 13 of the second data selection chip 10, and are used for receiving different rotating speed signals output by the second data selection chip 20, so that the rotating speed of the fan is detected; pins 1, 2, 3, and 4 of the CPU are respectively connected to pins 2, 3, 5, and 6 of the second data selecting chip 10, and are configured to receive different rotational speed signals output by the second data selecting chip 20, so that when the CPU is switched to control the fan, the detection of the rotational speed of the fan is implemented.
In addition, a pin 9 of the BMC is connected to a pin 9 of the CPU, and is configured to send an operating state signal to the CPU. The pin 10 of the CPU is connected to the pin 1 of the first data selecting chip 10 and the pin 1 of the second data selecting chip 20, respectively, and is configured to send a switching signal to the first data selecting chip 10 and the second data selecting chip 20, respectively. And a pin 11 of the BMC is connected with a pin 11 of the CPU and is used for receiving a reset signal sent by the CPU.
Pins 4, 7, 9, and 12 of the first data selecting chip 10 are connected to a control signal input terminal of the fan 400, so that the first data selecting chip 10 transmits PWM duty signals outputted by the BMC or the CPU as different driving signals to the fan 400 through the pins 4, 7, 9, and 12 to adjust the rotation speed of the fan; and the pins 4, 7, 9, and 12 of the second data selecting chip 20 are connected to the rotational speed signal output terminal of the fan, so that the second data selecting chip 10 can receive different rotational speed signals from the fan, and transmit the rotational speed signals to the BMC or the CPU through the pins 4, 7, 9, and 12, so that the BMC or the CPU can generate different PWM duty ratio signals according to the rotational speed signals.
When the BMC, the CPU, the first data selection chip 10, the second data selection chip 20 and the fan are all powered on, the BMC is defaulted to control the operation of the fan, the CPU receives a working state signal sent by the BMC in real time, for example, the CPU receives a 1khz square wave sent by the BMC through a pin 9, and therefore whether the BMC is in a normal operation state or not is determined according to the receiving condition of the signal.
If the CPU receives the signal, that is, it is determined that the BMC is in a normal state, the CPU controls to keep the levels of the target pins 1 of the first data selection chip 10 and the second data selection chip 20 in the data selection chips at a high level, the BMC receives the rotation speed signal sent by the second data selection chip 20 and generates a first control signal, and the first control signal is sent to the fan as a driving signal through the first data selection chip 10, that is, the control signal input terminal 4 in the fan control chip generates a corresponding PWM signal according to the received driving signal to control the operation of the fan.
Otherwise, if the CPU does not detect the signal via the pin 9, it will confirm that the BMC is in an abnormal state, if the BMC fails, the first control signal cannot be generated normally, and the working state signal is generated, the second control signal and the first switching signal are output to the control selection unit 100, and when the control selection unit 100 receives the first switching signal, that is, the CPU switches the level of the target pin 1 of the first data selecting chip 10 and the second data selecting chip 20 to a low level, the CPU receives the rotation speed signal sent from the second data selecting chip 20, and generates a second control signal, the second control signal generated by the CPU is transmitted as a driving signal to the fan 400 through the first data selecting chip 10, that is, the first control signal input terminal 4 of the fan 400 generates a corresponding PWM signal to control the operation of the fan according to the received driving signal.
In the above solution, a fan control circuit 500 is provided for controlling the operation of the fan 400, with the fan control circuit 500 provided in the present application, based on the control selection unit 100 outputting the driving signal to the fan according to the first control signal output by the first control unit 200, and upon receiving the first switching signal output by the second control unit 300, outputting a driving signal to the fan according to a second control signal outputted from the second control unit 300 to control the operation of the fan by the driving signal, so that when the first control unit 200 fails during the operation of the fan, then, the second control unit 300 takes over the control of the fan, so as to continuously cool the components, therefore, the hidden danger that the temperature is too high and the fan cannot be continuously utilized for heat dissipation when the only control end of the fan is damaged is effectively avoided, the application range is wider, and various cooling requirements can be better met.
As an embodiment of the present application, the first control unit 200 is specifically configured to generate an operating state signal when outputting the first control signal to the control selection unit 100, and periodically send the operating state signal to the second control unit 300.
In this embodiment, when the first control unit 200 is powered on and can normally operate, the first control unit receives the rotation speed signal output by the fan, and obtains the temperature of the environment where the fan is located based on the preset and connected temperature detection component, so as to confirm the heat dissipation requirement, and generates the first control signal according to the heat dissipation requirement, and simultaneously generates the operating state signal for indicating that the first control unit 200 is in the normal operating state. And simultaneously transmits the first control signal and the corresponding operating state signal to the control selection unit 100 and the second control unit 300, respectively. Since the first control unit 200 continuously generates the first control signal according to the heat dissipation requirement corresponding to the environment where the fan is located and sends the first control signal to the control selection unit 100, the first control unit also periodically generates the working state signal and sends the working state signal to the second control unit 300.
For example, the fan is disposed inside a certain server, the rotation speed of the fan 400 obtained based on the rotation speed signal is 1500 rpm, and the temperature of the environment where the current fan is located is 65 ℃, that is, when the current fan is operated at the current rotation speed, the current fan is not enough to meet the heat dissipation requirement. The first control unit 200 periodically generates a corresponding first control signal and sends the first control signal to the control selection unit 100, the control selection unit 100 outputs the first control signal to the fan as a driving signal, the fan 400 generates a corresponding PWM signal according to the driving signal and transmits the PWM signal to a motor of the fan, and the motor is controlled to operate based on the PWM signal, so as to drive fan blades of the fan to rotate, thereby improving the heat dissipation rate, reducing the temperature inside the server, and avoiding damage of components inside the server due to over-high temperature. Correspondingly, the first control unit 200 periodically generates a corresponding first control signal and transmits the first control signal to the control selection unit 100, and also periodically generates an operating state signal corresponding to the first control signal time and transmits the operating state signal to the second control unit 300, so that the second control unit 300 can confirm that the first control unit 200 is in a normal operating state.
As an embodiment of the present application, there is a scenario that, when the first control unit 200 fails and is in a failure state in a certain period of time, the control right of the fan is transferred from the first control unit 200 to the second control unit 300 through the control selection unit 100, at this time, the first control unit 200 is not used as a target control unit, and generates a first control signal to send the control selection unit 100, so that the control selection unit 100 outputs a driving signal to the fan according to the first control signal to control the operation of the fan.
Therefore, in this case, when the first control unit 200 is powered on and can normally operate, the operating state signal is periodically generated without first transmitting the first control signal to the control selection unit 100, and the generated operating state signal is transmitted to the second control unit 300 in real time.
As an embodiment of the present application, in order to ensure that the time taken for outputting the operation state signal each time is consistent, the first control unit 200 automatically generates a square wave with a preset magnitude frequency, for example, the square wave with the operation state signal generated each time is 1 khz.
As an embodiment of the present application, the operation state signal is a square wave periodically generated by the first control unit 200, for example, the operation state signal is a square wave of 1 khz.
As an embodiment of the present application, in order to more accurately confirm that the first control unit 200 normally controls the fan to operate, the first control unit 200 is further configured to receive a returned execution result of controlling the fan to operate according to the first control signal after outputting the first control signal to the control selection unit 100, generate an operating state signal when receiving the execution result, and periodically send the operating state signal to the second control unit 300.
As an embodiment of the present application, the second control unit 300 is further configured to generate a reset signal when the operating state signal is not received, and send the reset signal to the first control unit 200.
In this embodiment, the second control unit 300 is powered on and can operate normally, and periodically detects and determines whether the working state signal is received, and if it is determined that the working state signal is not received, generates a reset signal according to a preset reset signal generation strategy, and sends the reset signal to the first control unit 200.
It should be noted that the reset signal is used to instruct the first control unit 200 to perform an automatic reset operation, so that the first control unit 200 returns to the normal operation state.
The reset signal may be a square wave with a predetermined magnitude and frequency.
The preset reset signal generation policy is a scheme for describing a manner in which the second control unit 300 logically instructs to generate a signal for instructing the first control unit 200 to perform an automatic reset operation according to information that the operating state signal is not received.
As an embodiment of the present application, after the second control unit 300 generates the reset signal and sends the reset signal to the first control unit 200, if the working state signal for indicating that the first control unit 200 recovers the normal operation state is not received yet, the same reset signal is periodically generated and the generated reset signal is sent to the first control unit 200, so that the first control unit 200 recovers the normal operation state in the shortest time.
In this embodiment, the reset signals generated periodically are the same reset signal.
As an embodiment of the present application, the second control unit 300 is further configured to continuously detect for several times within a preset time period when the working status signal is not received, so as to determine whether the working status signal is received, and output the second control signal and the first switching signal to the control selection unit 100 if the working status signal is not received after the preset time period is over.
In this embodiment, the preset time period is less than a time period when the second control unit 300 periodically transmits the operation state signal.
As an embodiment of the present application, the second control unit 300 is further configured to send a second switching signal to the control selection unit 100 if the operating state signal is received after the second control signal and the first switching signal are output to the control selection unit 100.
In this embodiment, the second switching signal is a signal generated by the second control unit 300 and used to indicate to the control selection unit 100 that the first control unit 200 has recovered to the normal operating state, and is sent to the control selection unit 100, and the control right of the fan 400 is transferred to the first control unit 200 again through the control selection unit 100.
Illustratively, the first control unit 200 is a BMC, the second control unit 300 is a CPU, and the control selection unit 100 is a data selection chip. At the first moment, the BMC is in a failure state due to a fault, and cannot continuously send a working state signal for representing that the BMC is in a normal working state to the CPU, and therefore the CPU does not receive the working state signal, the CPU outputs a second control signal and a first switching signal to the control selection unit 100, and the data selection chip outputs the second control signal as a target driving signal to the fan according to the first switching signal to control the fan to work. At the second moment, the faulty BMC is repaired and the normal operation state is recovered, the BMC recovering the normal operation state automatically generates a working state signal and sends the working state signal to the CPU, and the CPU generates a second switching signal according to the working state signal received again and sends the second switching signal to the data chip, so that the control selection unit transfers the control right of the fan 400 to the first control unit 200 again.
As an embodiment of the present application, in order to better control the fan, the control selection unit 100 is further configured to output a driving signal to the fan according to the first control signal when receiving the second switching signal, so as to control the fan to operate.
In this embodiment, when the control selection unit 100 receives the second switching signal, the first control signal sent by the first control unit 200 to the control selection unit 100 is sent to the fan 400 as a driving signal, so that the fan 400 generates a corresponding Pulse Width Modulation (PWM) signal according to the driving signal, and transmits the PWM signal to the motor of the fan, thereby controlling the motor to operate based on the PWM signal and driving the blades of the fan to rotate.
As an embodiment of the present application, the second control unit 300 is a Central Processing Unit (CPU), and the CPU is configured with a Basic Input Output System (BIOS), and can detect a rotation speed of the fan or adjust the rotation speed of the fan based on the BIOS, and control the fan to operate according to a preset control strategy.
The preset control strategy is used for describing a mode of controlling the fan to work by the BIOS according to a rotating speed detection signal returned by detecting the rotating speed of the fan and the temperature of the environment where the fan is located.
In the above solution, a fan control circuit is provided for controlling the operation of a fan, and with the fan control circuit provided in the present application, a driving signal is output to the fan based on a first control signal output by a control selection unit 100 according to a first control unit 200, and upon receiving a first switching signal output by a second control unit 300, outputting a driving signal to the fan according to a second control signal outputted from the second control unit 300 to control the operation of the fan by the driving signal, so that when the first control unit 200 fails during the operation of the fan, then, the second control unit 300 takes over the control of the fan, so as to continuously cool the components, therefore, the hidden danger that the temperature is too high and the fan cannot be continuously utilized for heat dissipation when the only control end of the fan is damaged is effectively avoided, the application range is wider, and various cooling requirements can be better met.
Referring to fig. 3, fig. 3 shows a schematic flow chart of the driving signal output method provided by the present application, by way of example and not limitation, the execution subject of the method is a second control unit 300, such as a CPU, in a fan control circuit, the second control unit 300 comprising a processor, a memory, and a computer program stored in and executable on the memory.
In this embodiment, the execution subject is the second control unit 300 in the fan control circuit. The control signal output end of the first control unit 200 and the control signal output end of the second control unit 300 are respectively connected with the control signal input end of the control selection unit 100, and the control signal output end of the control selection unit 100 is connected with the control signal input end of the fan. The status signal output terminal of the first control unit 200 is connected to the status signal input terminal of the second control unit 300. The switching signal output terminal of the second control unit 300 is connected to the switching signal input terminal of the control selection unit 100.
As shown in fig. 2, the driving signal output method provided by the present application may include:
s101: judging whether a working state signal output by the first control unit 200 is received; wherein the operation state signal is generated and output by the first control unit 200 when the first control signal is output to the control selection unit 100.
In step S101, the operating state signal is used to indicate that the first control unit 200 is in a normal operation state, and may normally generate the first control signal and send the first control signal to the signal for controlling the selection unit 100.
S102: if the working state signal is not received, outputting a second control signal and a first switching signal to the control selection unit 100; the control selection unit 100 is configured to output a driving signal to the fan according to a first control signal, and output the driving signal to the fan 400 according to a second control signal when receiving the first switching signal; the driving signal is used to control the operation of the fan 400.
In step S102, the first control signal is used to control the rotation speed of the fan, and includes a PWM duty signal determined by the first control unit 200 according to a cooling requirement determined by the temperature of the environment where the fan is located, and the rotation speed of the fan is adjusted by the fan 400 according to the PWM duty signal, so that the fan can adapt to different cooling requirements, for example, the rotation speed of the fan is adjusted to 60% of the rotation speed according to the PWM duty signal, so as to provide a heat dissipation function for the system.
The second control signal is used for controlling the rotation speed of the fan, and includes a PWM duty signal determined by the second control unit 300 according to the cooling requirement determined by the temperature of the environment where the fan is located, and the rotation speed of the fan is adjusted by the fan 400 through the PWM duty signal, so that the fan can adapt to different cooling requirements.
The driving signal is used to instruct the fan to operate, and is a signal that the control selection unit 100 outputs to confirm that the first control signal or the second control signal is the main control signal for controlling the fan to operate.
The first switching signal is used to indicate that the first control unit 200 is in a failure state, and the second control signal needs to be output to the fan as a target driving signal according to the first switching signal through the control selection unit 100 to control the fan to operate.
In this embodiment, when the first control signal is output to the control selection unit 100 based on the first control unit 200, an operation state signal indicating that the first control unit 200 is in an operation state is automatically generated and transmitted to the second control unit 300 in real time. When the second control unit 300 is in the normal operation state, it is detected and determined whether to receive the operation state signal in real time, if the operation state signal is received, it is determined that the first control unit 200 is in the normal operation state, and if the operation state signal is not received, it is determined that the first control unit 200 is abnormal and in the failure state, and the fan cannot be controlled in the normal operation state. When the first control unit 200 fails to work and is in a failure state, and thus the fan cannot be continuously controlled to work, the second control unit 300 generates a first switching signal and sends the first switching signal to the control selection unit 100, the control selection unit 100 confirms that the first control unit 200 is in the failure state according to the first switching signal, and sends a second control signal as a target driving signal to the fan 400 according to the first switching signal, and a motor in the fan drives blades of the fan to rotate according to a set current under the driving signal sent by the control selection unit 100.
The first control unit 200 generates a first control signal and sends the first control signal to the control selection unit 100, the control selection unit 100 sends the first control signal to the fan 400 as a driving signal, and a motor in the fan drives blades of the fan to rotate according to a set current under the driving signal sent by the control selection unit. Specifically, the first control unit 200 sends a first control signal to the control selection unit 100, and the control selection unit 100 sends the first control signal to the fan 400 as a driving signal, so that the fan 400 generates a corresponding Pulse Width Modulation (PWM) signal according to the driving signal, and transmits the PWM signal to the motor of the fan, thereby controlling the motor to operate based on the PWM signal and driving the fan blades of the fan to rotate.
It can be understood that when the PWM is at a high level, the motor of the fan drives the blades of the fan to rotate, and when the PWM is at a low level, the motor of the fan stops driving the blades of the fan to rotate, and the duty ratio of the PWM determines the average value of the output of the fan, and further determines the average value of the output current, that is, the higher the duty ratio of the PWM, the higher the average value of the output voltage of the fan, the higher the average value of the output current, and the higher the rotation speed of the fan.
As an embodiment of the present application, the determining whether the operating state signal output by the first control unit 200 is received includes:
it is periodically determined whether the operation state signal outputted from the first control unit 200 is received.
In this embodiment, when the first control unit 200 outputs the first control signal to the control selection unit 100, the first control unit 200 also periodically generates the operation state signal and periodically transmits the operation state signal to the second control unit 300, and the second control unit 300 periodically determines whether the operation state signal output by the first control unit 200 is received.
As an embodiment of the present application, when the working status signal is not received, the method further includes:
when the operating state signal is not received, a reset signal is generated and transmitted to the first control unit 200.
In this embodiment, the second control unit 300 is powered on and can operate normally, and periodically detects and determines whether the working state signal is received, and if it is determined that the working state signal is not received, generates a reset signal according to a preset reset signal generation strategy, and sends the reset signal to the first control unit 200.
It should be noted that the reset signal is used to instruct the first control unit 200 to perform an automatic reset operation, so that the first control unit 200 returns to the normal operation state. The reset signal may be a square wave with a predetermined magnitude and frequency.
The preset reset signal generation policy is a scheme for describing a manner in which the second control unit 300 logically instructs to generate a signal for instructing the first control unit 200 to perform an automatic reset operation according to information that the operating state signal is not received.
As an embodiment of the present application, after the second control unit 300 generates the reset signal and sends the reset signal to the first control unit 200, if the working state signal for indicating that the first control unit 200 recovers the normal operation state is not received yet, the same reset signal is periodically generated and the generated reset signal is sent to the first control unit 200, so that the first control unit 200 recovers the normal operation state in the shortest time.
In this embodiment, the reset signals generated periodically are the same reset signal.
As an embodiment of the present application, after outputting the second control signal and the first switching signal to the control selection unit 100, the method includes:
if the operating state signal is received, a second switching signal is sent to the control selection unit 100.
In this embodiment, the second switching signal is a signal generated by the second control unit 300 to indicate to the control selection unit 100 that the first control unit 200 has recovered to the normal operating state, and is sent to the control selection unit 100, and the control right of the fan 400 is transferred to the first control unit 200 again through the control selection unit.
Illustratively, the first control unit 200 is a BMC, the second control unit 300 is a CPU, and the control selection unit 100 is a data selection chip. At the first moment, the BMC is in a failure state due to a fault, and cannot continuously send a working state signal for representing that the BMC is in a normal working state to the CPU, and therefore the CPU does not receive the working state signal, the CPU outputs a second control signal and a first switching signal to the control selection unit 100, and the data selection chip outputs the second control signal as a target driving signal to the fan according to the first switching signal to control the fan to work. At the second moment, the faulty BMC is repaired and the normal operation state is recovered, the BMC recovering the normal operation state automatically generates a working state signal and sends the working state signal to the CPU, and the CPU generates a second switching signal according to the working state signal received again and sends the second switching signal to the data chip, so that the control selection unit transfers the control right of the fan 400 to the first control unit 200 again.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Referring to fig. 4 as an embodiment of the present application, the present application further discloses a server 1, which includes a fan 400 and the fan control circuit 500, and the fan 400 is controlled to operate based on the fan control circuit 500.
As an embodiment of the present application, there is also provided a computer-readable storage medium storing a computer program, which when executed by a processor can implement the above-mentioned driving signal output method.
As an embodiment of the present application, an embodiment of the present application provides a computer program product, which when running on a server, enables the server to implement the above-mentioned driving signal output method when executed.
It should be noted that, because the contents of information interaction, execution process, and the like between the above units are based on the same concept as that of the embodiment of the method of the present application, specific functions and technical effects thereof may be specifically referred to a part of the embodiment of the method, and details thereof are not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of each functional unit is illustrated, and in practical applications, the above-mentioned functional allocation may be performed by different functional units according to requirements, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a server, recording medium, computer Memory, Read-Only Memory (ROM), Random-Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. 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 application.
In the embodiments provided in the present application, it should be understood that the disclosed fan control circuit and method may be implemented in other ways. For example, the above-described server embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A fan control circuit coupled to a fan, the fan control circuit comprising:
the control selection unit is used for outputting a driving signal to the fan according to a first control signal and outputting the driving signal to the fan according to a second control signal when receiving a first switching signal; the driving signal is used for controlling the fan to work;
the first control unit is used for outputting a working state signal when the first control signal is output to the control selection unit;
and the second control unit is used for outputting the second control signal and the first switching signal to the control selection unit when the working state signal is not received.
2. The fan control circuit of claim 1, wherein the first control unit is specifically configured to,
and when the first control signal is output to the control selection unit, generating the working state signal and periodically sending the working state signal to the second control unit.
3. The fan control circuit of claim 1, wherein the second control unit is further configured to,
and when the working state signal is not received, generating a reset signal and sending the reset signal to the first control unit.
4. The fan control circuit of claim 1, wherein the second control unit is further configured to,
and after the second control signal and the first switching signal are output to the control selection unit, if the working state signal is received, sending a second switching signal to the control selection unit.
5. The fan control circuit of claim 4, wherein the control selection unit is further configured to,
and when the second switching signal is received, outputting a driving signal to the fan according to the first control signal to control the fan to work.
6. A drive signal output method applied to the second control unit according to claim 1, the drive signal output method comprising:
judging whether a working state signal output by the first control unit is received or not; the working state signal is generated and output by the first control unit when the first control signal is output to the control selection unit;
if the working state signal is not received, outputting the second control signal and the first switching signal to the control selection unit; the control selection unit is used for outputting a driving signal to the fan according to a first control signal, and outputting the driving signal to the fan according to a second control signal when receiving a first switching signal; the driving signal is used for controlling the fan to work.
7. The driving signal output method according to claim 6, wherein the determining whether the operating state signal output by the first control unit is received includes:
and periodically judging whether the working state signal output by the first control unit is received.
8. The driving signal output method according to claim 6, further comprising, when the operation state signal is not received:
and when the working state signal is not received, generating a reset signal and sending the reset signal to the first control unit.
9. The drive signal output method according to claim 6, wherein after the outputting of the second control signal and the first switching signal to the control selection unit, comprising:
and if the working state signal is received, sending a second switching signal to the control selection unit.
10. A server comprising a fan, comprising the fan control circuit of any of claims 1-5, wherein the fan is controlled to operate based on the fan control circuit.
CN202010716901.6A 2020-07-23 2020-07-23 Fan control circuit, method and server Active CN111794996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010716901.6A CN111794996B (en) 2020-07-23 2020-07-23 Fan control circuit, method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010716901.6A CN111794996B (en) 2020-07-23 2020-07-23 Fan control circuit, method and server

Publications (2)

Publication Number Publication Date
CN111794996A true CN111794996A (en) 2020-10-20
CN111794996B CN111794996B (en) 2022-07-08

Family

ID=72828332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010716901.6A Active CN111794996B (en) 2020-07-23 2020-07-23 Fan control circuit, method and server

Country Status (1)

Country Link
CN (1) CN111794996B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112363594A (en) * 2020-10-26 2021-02-12 努比亚技术有限公司 Terminal fan control method and device and terminal
CN114718892A (en) * 2021-01-06 2022-07-08 广州视源电子科技股份有限公司 Control system and method for fan, and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109185208A (en) * 2018-08-15 2019-01-11 郑州云海信息技术有限公司 A kind of fan speed-governing method and relevant apparatus
CN109581911A (en) * 2018-11-20 2019-04-05 郑州云海信息技术有限公司 A kind of fan of the dual control storage equipment during booting powers on surely controls method and device
CN109681456A (en) * 2018-12-28 2019-04-26 郑州云海信息技术有限公司 A kind of fan control device and method
CN109763990A (en) * 2019-01-15 2019-05-17 郑州云海信息技术有限公司 A kind of control method and device of the fan of server
CN109882440A (en) * 2019-04-16 2019-06-14 苏州浪潮智能科技有限公司 A kind of fan rotation speed control apparatus and control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109185208A (en) * 2018-08-15 2019-01-11 郑州云海信息技术有限公司 A kind of fan speed-governing method and relevant apparatus
CN109581911A (en) * 2018-11-20 2019-04-05 郑州云海信息技术有限公司 A kind of fan of the dual control storage equipment during booting powers on surely controls method and device
CN109681456A (en) * 2018-12-28 2019-04-26 郑州云海信息技术有限公司 A kind of fan control device and method
CN109763990A (en) * 2019-01-15 2019-05-17 郑州云海信息技术有限公司 A kind of control method and device of the fan of server
CN109882440A (en) * 2019-04-16 2019-06-14 苏州浪潮智能科技有限公司 A kind of fan rotation speed control apparatus and control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112363594A (en) * 2020-10-26 2021-02-12 努比亚技术有限公司 Terminal fan control method and device and terminal
CN114718892A (en) * 2021-01-06 2022-07-08 广州视源电子科技股份有限公司 Control system and method for fan, and computer storage medium
CN114718892B (en) * 2021-01-06 2024-03-19 广州视源电子科技股份有限公司 Fan control system and method and computer storage medium

Also Published As

Publication number Publication date
CN111794996B (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN101267956B (en) Multiple inverter system with single controller and related operating method
CN111794996B (en) Fan control circuit, method and server
CN103835972B (en) Fan rotary speed control system and the method in order to control rotation speed of the fan
CN109882439B (en) Fan control system, method and server
US10856438B2 (en) Fan control circuit and fan control system
US20110145620A1 (en) Method of using power supply to perform far-end monitoring of electronic system
CN103136048A (en) Computer system
US20050229037A1 (en) Method and apparatus for correlating UPS capacity to system power requirements
US10651734B2 (en) System and method for robust body braking control to suppress transient voltage overshoot
CN106502364A (en) A kind of isolated location and a kind of server
CN115686935A (en) Data backup method, computer device and storage medium
WO2017027041A1 (en) Device operating state modification with uninterruptible power source
US11387643B2 (en) Method, device and system for protecting parallel-connected topology units
US11733762B2 (en) Method to allow for higher usable power capacity in a redundant power configuration
CN116641907A (en) Server fan control method, system, terminal and storage medium
CN114335764B (en) Control method and device, energy storage system and non-volatile computer readable storage medium
US11927998B2 (en) System performance using optimal adapter efficiency
CN115098305A (en) Mainboard standby power switching method and device, electronic equipment and storage medium
WO2021203699A1 (en) Frequency converter igbt drive control method and control apparatus
CN106762771A (en) Fan control system, cooling system and control method for fan
CN105824332A (en) Intelligent monitoring method and intelligent monitoring system
CN113270848B (en) Trigger control method and device for fault protection of target circuit, controller and power supply
CN112286333B (en) Power supply control method and device
CN103178986B (en) Server cabinet and management method thereof
CN113078708B (en) Control system for power supply equipment, control method, medium and electronic equipment thereof

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