Fan power-on system and method, computer equipment and storage medium
Through the combination of electronic fuses and switch tubes, the control signal of the controller is used to realize independent up-down power control of the fan, which solves the problem that the power supply cannot be disconnected during hot-swap fan in the existing technology, and improves the reliability of fan power-on and System security.
Patent Information
- Application Number
- CN202411317789.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-11-08
AI Technical Summary
The existing server system cannot effectively disconnect the fan power supply during the fan hot swapping process, resulting in a risk of overshoot current, affecting the system power supply stability and the safety of the fan itself.
The electronic fuse and the switch tube are combined to generate control signals through the controller to control the conduction/off of the switch tube, realizing independent up-down power control of the fan, ensuring that the fan is powered when in position, otherwise it will be powered off and avoiding overshoot current.
It improves the reliability of fan power-on and system safety, ensuring the stability of the power supply and the safe operation of the fan during the fan hot-swap process.
Smart Images

Figure CN118912024A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fan power-on, and in particular to a fan power-on system, method, computer device and storage medium. Background Art
[0002] With the rapid development of information technology, people's demand for various computing resources continues to increase. As a computer that manages computing resources, servers need to work uninterruptedly for a long time. The server integrates a large number of high-performance components such as processors, memory, and hard disks. During the operation of the server, these components will generate a lot of heat when running at high speed. The importance of fans as key heat dissipation components is self-evident. If the fan fails, the heat cannot be dissipated in time, which will not only lead to hardware performance degradation, but also may trigger the overheating protection mechanism, and even cause hardware damage, and eventually cause the server system to crash, posing a serious threat to business operations and data security. Therefore, the reliability and maintainability of the fan need to be fully considered when designing the server, among which hot-swap technology is a crucial feature. Hot-swap allows hardware components to be safely removed and replaced while the system remains in operation without shutting down the system or cutting off the power. This feature is particularly important for fans because it ensures that when a fan fails, the administrator can take quick action without affecting the continued operation of the server.
[0003] Currently, most server systems use control methods such as fuses for the hot-swappable power supply design of fans. When the fan encounters problems such as short circuits, the fan is protected by the blowing of the fuse. When the fan is unplugged, the fan power supply is still present and cannot be effectively disconnected. When the fan is reinserted during the hot-swappable process, the fan power supply is always present. There is a large overshoot current at the moment of insertion, which poses a great risk to the system power supply and the fan itself. Summary of the invention
[0004] Based on this, it is necessary to provide a fan power-on system, method, computer device and storage medium that can improve the reliability of the server system in response to the above technical problems.
[0005] In order to solve the above technical problems, in a first aspect, a fan power-on system is provided, the system comprising:
[0006] Power supplies, electronic fuses, controllers, switches and fans;
[0007] Wherein, a first end of the electronic fuse is connected to an output end of a power supply, and a second end of the electronic fuse is connected to a first end of a fan;
[0008] The first end of the controller is connected to the second end of the fan, and the second end of the controller is connected to the first end of the switch tube;
[0009] The second end of the switch tube is connected to the first end of the electronic fuse, and the first end of the switch tube is connected to the second end of the fan. The switch tube is used to receive a control signal from the controller and turn on / off the switch tube according to the control signal, thereby controlling whether the fan is powered on.
[0010] In one embodiment, the switch tube includes a first switch tube and a second switch tube;
[0011] The first end of the first switch tube is connected to the second end of the fan, and the second end of the first switch tube is connected to the first end of the electronic fuse;
[0012] The first end of the second switch tube is connected to the second end of the controller, and the second end of the second switch tube is connected to the first end of the electronic fuse.
[0013] In one embodiment, the controller is used to generate a controller enable signal and transmit the controller enable signal to the second switch tube, the fan generates a fan in place signal and transmits the fan in place signal to the first switch tube, the first switch tube and the second switch tube connect the fan in place signal and the controller enable signal line to generate an electronic fuse enable signal.
[0014] In one embodiment, the system includes at least one fan and at least one electronic fuse, the electronic fuse corresponds to the fan one-to-one, the electronic fuse is used to obtain the electronic fuse enable signal transmitted by the switch tube, and perform work according to the electronic fuse enable signal transmitted by the switch tube.
[0015] In order to solve the above technical problem, in a second aspect, a fan power-on method is provided, applying the fan power-on system according to any one of the above claims, the method comprising:
[0016] Acquire a control signal, where the control signal includes a target fan in-position signal sent by the target fan and a controller enable signal sent by the controller;
[0017] Sending the target fan presence signal and the controller enable signal to the switch tube;
[0018] In response to the switch tube receiving the controller enable signal and the target fan in place signal, the switch tube is controlled to be turned on / off according to the controller enable signal and the target fan in place signal, thereby controlling whether to power on the target fan.
[0019] In one embodiment, the method further comprises:
[0020] In response to the target fan being inserted into the target fan connector, the target fan outputs a target fan in position signal to the controller;
[0021] In response to the controller receiving the target fan in place signal, the controller analyzes the target fan in place signal to obtain a level corresponding to the target fan in place signal;
[0022] When the level corresponding to the target fan presence signal is a low level, it is determined that the target fan is in the target state.
[0023] In one embodiment, in response to the switch tube receiving the controller enable signal and the target fan in place signal, controlling the switch tube to be turned on / off according to the controller enable signal and the target fan in place signal, and then controlling whether to power on the target fan includes:
[0024] Obtain the level corresponding to the target fan presence signal and the level corresponding to the controller enable signal;
[0025] The gate-source voltage of the switch tube is controlled according to the level corresponding to the controller enable signal and the level corresponding to the target fan presence signal, and the switch tube is controlled to be turned on / off according to the gate-source voltage.
[0026] In one embodiment, the level corresponding to the target fan in-position signal and the level corresponding to the controller enable signal are divided into two categories: low level and high level. The gate-source voltage of the switch tube is controlled according to the level corresponding to the controller enable signal and the level corresponding to the target fan in-position signal. Controlling the on / off of the switch tube according to the gate-source voltage includes:
[0027] When the level corresponding to the target fan in-position signal is low and the controller enable signal is low, the gate-source voltage of the switch tube is controlled to be the lowest voltage to turn off the switch tube. At the same time, the electronic fuse enable signal is kept at a high level, and the high-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse converts the power supply to the target power supply to power on the target fan;
[0028] When the level corresponding to the target fan in-position signal is high and the controller enable signal is high, the gate-source voltage of the switch tube is controlled to be non-minimum voltage to turn on the switch tube, and at the same time, the level corresponding to the electronic fuse enable signal is pulled down, and the low-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse is in a non-working state, and the target fan is not powered on;
[0029] When the level corresponding to the target fan in-place signal is high, the level corresponding to any non-target fan in-place signal is low, and the controller enable signal is low, the gate-source voltage of the first switch tube is controlled to be non-minimum voltage, and the gate-source voltage of the second switch tube is minimum voltage, so that the first switch tube is turned on and the second switch tube is turned off. At the same time, the level corresponding to the electronic fuse enable signal is pulled down, and the low-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse is in a non-working state, and the target fan is not powered on.
[0030] In order to solve the above technical problem, a third aspect provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: the processor implements the steps of the above first aspect method when executing the computer program.
[0031] In order to solve the above technical problems, in a fourth aspect, the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method of the above first aspect are implemented.
[0032] Different from the prior art, the present application provides a fan power-on system, the system includes: a power supply, an electronic fuse, a controller, a switch tube and a fan; wherein the first end of the electronic fuse is connected to the output end of the power supply, and the second end of the electronic fuse is connected to the first end of the fan; the first end of the controller is connected to the second end of the fan, and the second end of the controller is connected to the first end of the switch tube; the second end of the switch tube is connected to the first end of the electronic fuse, and the first end of the switch tube is connected to the second end of the fan, and the switch tube is used to receive a control signal sent by the controller, and turn on / off the switch tube according to the control signal, thereby controlling whether to power on the fan. In this way, the state of the fan can be monitored in real time according to the control signal, and the on / off of the switch tube corresponding to the fan can be controlled according to the control signal, and the independent control of the power on and off of the fan can be realized. The above system can improve the reliability of powering on the fan. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a structural block diagram of a fan power-on system in the prior art;
[0034] Figure 2 is a structural block diagram of a fan power-on system in one embodiment;
[0035] Figure 3 is a schematic flow chart of a fan power-on method in one embodiment;
[0036] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0038] See also Figure 1 In the prior art, two eFuse chips (electronic fuses) are mainly set to convert the system standby power supply (P12V_STBY) into two independent but parallel fan power supplies (P12V_FAN0-4 and P12V_FAN5-9), which respectively power FAN0-FAN4 and FAN5-FAN9. The fan board main control chip (usually CPLD or MCU) will continuously monitor the status of each fan through the FANX_PRSNT_N signal (where X represents the fan number, which is used to distinguish multiple fans). When the fan is inserted into the fan connector, the FANX_PRSNT_N signal (the fan in-place signal of fan X) will be pulled low. After the main control chip (controller) detects that any fan is in place, it will output an enable signal eFuse_EN to drive the two eFuses to open at the same time to power the fan.
[0039] In the prior art, as long as the main control chip detects that any fan is in place, it will output an enable signal to the two eFuse chips, causing the power supply of all fans to be activated regardless of which fan is plugged in. However, when a fan is unplugged, the power supply of the fan is not immediately disconnected due to the lack of real-time monitoring and independent control mechanism of the status of a single fan. This means that even if a fan is no longer in place, its corresponding power supply still exists. In the process of reinserting the fan, since the power supply is already on, a large overshoot current may be generated at the moment of insertion, which poses a potential threat to the stability of the system power supply, the fan itself, and the eFuse chip. If one of the eFuses is damaged and the eFuse loses power, multiple fans will not work properly at the same time, which will also have a great impact on the heat dissipation of the system.
[0040] In view of the above technical problems, in one embodiment, Figure 2 As shown, the present application provides a fan power-on system, which includes a power supply, an electronic fuse, a controller, a switch tube, and a fan;
[0041] The first end of the electronic fuse is connected to the output end of the power supply, and the second end of the electronic fuse is connected to the first end of the fan.
[0042] Electronic fuses (eFuse) have many advantages over traditional fuses, such as long life, fast response speed, self-recovery, small size, rich functions, low maintenance cost, etc. Electronic fuses can also be used to prevent chips from being tampered with, providing safer protection.
[0043] In the present application, the first end of the electronic fuse is connected to the output end of the power supply, and the second end of the electronic fuse is connected to the first end of the fan. The electronic fuse can control whether to convert the power supply into the target power supply required by the fan to power the fan according to the obtained electronic fuse enable signal, thereby controlling whether the fan is powered on or not.
[0044] The first end of the controller is connected to the second end of the fan, and the second end of the controller is connected to the first end of the switch tube.
[0045] The controller in the present application can be an MCU or a CPLD. The first end of the controller is connected to the second end of the fan for receiving the fan in-position signal output by the fan. The second end of the controller is connected to the first end of the switch tube for outputting a controller enable signal (eFuse_EN_N) to the switch tube.
[0046] The switch tube of the present application may be a triode, a MOS tube, a thyristor, etc., and the present application takes the MOS tube as an example for description. The first end of the MOS tube is connected to the second end of the fan, and the second end of the MOS tube is connected to the first end of the electronic fuse. The MOS tube is used to receive a control signal sent by the controller, and turns the MOS tube on / off according to the control signal, thereby controlling whether to power on the fan.
[0047] In one embodiment, the switch tube includes a first switch tube and a second switch tube; the first end of the first switch tube is connected to the second end of the fan, and the second end of the first switch tube is connected to the first end of the electronic fuse; the first end of the second switch tube is connected to the second end of the controller, and the second end of the second switch tube is connected to the first end of the electronic fuse.
[0048] Specifically, Figure 2 As shown, the first end of the first switch tube (MOS1) is connected to the second end of the fan (shown as FAN0, FAN9) for receiving the fan in-position signal (shown as FAN0_PRSNT_N, FAN9_PRSNT_N) transmitted by the fan; the first end of the second switch tube (MOS2) is connected to the second end of the controller (CPLD / MCU) for receiving the controller enable signal (eFuse_EN_N) transmitted by the controller.
[0049] In the present application, the first switch tube and the second switch tube connect the fan in-place signal and the controller enable signal line, that is, the output line of the first switch tube and the output line of the second switch tube are merged into a first output line, the fan in-place signal transmitted by the first switch tube and the controller enable signal transmitted by the second switch tube are merged into an electronic fuse enable signal, and the electronic fuse enable signal (P12V_FAN0_EN, P12V_FAN9_EN) is transmitted to the corresponding electronic fuses (eFuse0, eFuse9).
[0050] In addition to one eFuse for each fan, this application also adds a dual MOS circuit structure (that is, two MOS tubes for each fan), which is placed in the middle of the circuit from the controller output enable signal to the eFuse, and the fan in-position signal is wired and connected with the eFuse enable signal. In the dual MOS circuit, a MOS tube is connected in series on the enable path of each eFuse, and the gate of the MOS tube is controlled by the fan in-position signal and the controller enable signal to realize the control of the corresponding electronic fuse on and off by the fan in-position signal without increasing the controller GPIO requirements, so as to effectively cut off the power when the fan is not in place.
[0051] In one embodiment, the fan power-on system in the present application includes at least one fan and at least one electronic fuse, the electronic fuse corresponds to the fan one-to-one, the electronic fuse is used to obtain the electronic fuse enable signal transmitted by the switch tube, and perform work according to the electronic fuse enable signal transmitted by the switch tube.
[0052] There are multiple fans in the present application, specifically FAN0 and FAN9 shown in the figure. Different fans (FAN0, FAN9) have different fan-in-place signals. As shown in the figure, the fan-in-place signal corresponding to fan FAN0 is FAN0_PRSNT_N, and the fan-in-place signal corresponding to fan FAN9 is FAN9_PRSNT_N. Different fan-in-place signals and controller enable signals (eFuse_EN_N) generate different electronic fuse enable signals, and transmit different electronic fuse enable signals to different electronic fuses. As shown in the figure, fan FAN0 corresponds to electronic fuse eFuse0, and its corresponding electronic fuse enable signal is P12V_FAN0_EN; fan FAN9 corresponds to electronic fuse eFuse9, and its corresponding electronic fuse enable signal is P12V_FAN9_EN.
[0053] In actual applications, in order to satisfy the requirement that the corresponding eFuse chip is turned on to power the fan separately only when the fan is in place, each eFuse needs to have an independent enable signal (eFuse*_EN). As the number of fans in the system increases, the number of required eFuses and corresponding enable signals will also increase accordingly. However, due to the limited number of GPIOs of the main control chip, the demand may not be met. In this application, when the GPIO pins of the fan board main control chip are limited, the hot-swap power-on circuit can be controlled to power on and off the fan according to the fan's in-place signal without replacing the controller. This not only ensures the safety and stability of the system power supply and heat dissipation during the fan hot-swap process, but also has a relatively simple structure and can save costs.
[0054] In one embodiment, the fan power-on system further includes an absorption circuit, wherein a first end of the absorption circuit is connected to a first end of the switch tube, a second end of the absorption circuit is connected to a second end of the switch tube, and the absorption circuit includes a resistor, a diode, and a capacitor, wherein the resistor and the diode are connected in series, and the resistor and the capacitor are connected in parallel. In other embodiments, the absorption circuit may also be other equivalent circuit structures, for example, the number and parameters of the resistor and the diode are not limited, and the voltage caused by the reverse induced electromotive force can be prevented from damaging the switch tube by setting the absorption circuit.
[0055] In the present application, different electronic fuse enable signals are generated to control whether the electronic fuses corresponding to different electronic fuse enable signals convert the power supply into the target power supply, that is, convert the power supply into the working power supply, and then control which fan(s) are powered on. That is, when a fan is unplugged, the status of the fan can be obtained in time according to the fan presence signal and the controller enable signal, and the power on and off of each fan can be regulated according to the status of the fan, which can realize real-time monitoring and independent control of the status of a single fan, thereby improving the precise control of fan power-on and improving the reliability of the system.
[0056] In one embodiment, Figure 3 As shown, a fan power-on method is provided, which is applied to Figure 1 The fan power-on system in the example is used as an example to explain the following steps:
[0057] Step 101 : acquiring a control signal, where the control signal includes a target fan in-position signal sent by a target fan and a controller enable signal sent by a controller.
[0058] First, after any fan in the fan power-on system is plugged into the fan connector, the fan is used as the target fan to determine whether the target fan needs to be powered on. When the target fan is plugged into the target fan connector, a target fan in-position signal is output to the controller. In response to the controller receiving the target fan in-position signal, the controller can analyze the target fan in-position signal to obtain the level corresponding to the target fan in-position signal, and determine whether the target fan is in the target state based on the level corresponding to the target fan in-position signal.
[0059] When the controller detects that the target fan is in place, it will output a controller enable signal, where the controller enable signal includes two states: low level and high level. When the target fan is in place, the controller enable signal output by the controller is low level, and when the target fan is not in place, the controller enable signal output by the controller is high level.
[0060] Step 102: Send the target fan presence signal and the controller enable signal to the switch tube.
[0061] After obtaining the target fan in-position signal sent by the target fan and the controller enable signal sent by the controller, the target fan in-position signal and the controller enable signal sent by the controller are transmitted to the switch tube.
[0062] Step 103 , in response to the switch tube receiving the controller enable signal and the target fan presence signal, the switch tube is controlled to be turned on / off according to the controller enable signal and the target fan presence signal, thereby controlling whether to power on the target fan.
[0063] Obtain the level corresponding to the target fan in-place signal and the level corresponding to the controller enable signal; control the gate-source voltage of the switch tube according to the level corresponding to the controller enable signal and the level corresponding to the target fan in-place signal, and control the on / off of the switch tube according to the gate-source voltage.
[0064] Specifically, the level corresponding to the target fan in place signal and the level corresponding to the controller enable signal are divided into two categories: low level and high level. The gate-source voltage of the switch tube is controlled according to the type of the level corresponding to the target fan in place signal and the level corresponding to the controller enable signal.
[0065] In a specific embodiment, when the level corresponding to the target fan in-position signal is low and the controller enable signal is low, the gate-source voltage of the switch tube is controlled to be the lowest voltage to turn off the switch tube. At the same time, the electronic fuse enable signal is kept at a high level, and the high-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse converts the power supply to the target power supply to power on the target fan.
[0066] Exemplary, combined Figure 2Take fan FAN0 as the target fan and other fans (FAN9) as non-target fans. When FAN0 is in place, FAN0_PRSNT_N (fan in place signal of FANO fan, that is, target fan in place signal) and eFuse_EN_N (controller enable signal) are both low level, and the gate-source voltage (Vgs) of MOS1 (first MOS) and MOS2 (second MOS) are both 0 (or close to 0), that is, the gate-source voltage of the first MOS and the second MOS is controlled to be the lowest voltage. When the gate-source voltage of the first MOS and the second MOS is the lowest voltage, both switching tubes will be in the off state. At this time, P12V_FAN0_EN (the electronic fuse enable signal emitted by the electronic fuse eFuse0) can maintain a high level. After the eFuse0 chip (electronic fuse eFuse0) receives the high level signal, it will convert the standby power supply P12V_STBY (the power supply of this application) into the fan working power supply P12V_FAN0, that is, convert the power supply into the target power supply to power FAN0.
[0067] When the level corresponding to the target fan in-position signal is high and the controller enable signal is high, the gate-source voltage of the control switch tube is controlled to be non-minimum voltage to turn on the switch tube. At the same time, the level corresponding to the electronic fuse enable signal is pulled down, and the low-level electronic fuse enable signal is transmitted to the electronic fuse to make the electronic fuse non-working state, so that the target fan is not powered on.
[0068] For example, when FAN0 and other fans are not in place, the fan in place signal of the FAN0_PRSNT_NFANO fan, that is, the target fan in place signal) and eFuse_EN_N (controller enable signal) are both high. At this time, the gate-source voltage (Vgs) of MOS1 (first MOS) and MOS2 (second MOS) are both non-minimum voltages, and the non-minimum voltage can be set to a voltage value greater than 0. At this time, both MOS are in the on state, and P12V_FAN0_EN (electronic fuse enable signal sent by electronic fuse eFuse0) will be pulled down to a low level. The eFuse0 chip (electronic fuse eFuse0) receives a low-level signal and remains in the off state, and the fan will not be powered. By controlling the voltage value of the gate-source voltage of the switch tube to distinguish the on / off of the switch tube, the stable working state of the circuit can be maintained, and precise control of the circuit can be achieved.
[0069] When the level corresponding to the target fan in-place signal is high, the level corresponding to any non-target fan in-place signal is low, and the controller enable signal is low, the gate-source voltage of the first switch tube is controlled to be non-minimum voltage, and the gate-source voltage of the second switch tube is minimum voltage, so that the first switch tube is turned on and the second switch tube is turned off. At the same time, the level corresponding to the electronic fuse enable signal is pulled down, and the low-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse is in a non-working state, and the target fan is not powered on.
[0070] Exemplarily, when FAN0 is not in place but any other fan is in place, the fan in place signal of FAN0_PRSNT_NFANO, that is, the target fan in place signal) is high, the level corresponding to the in place signal of any non-target fan is low, and eFuse_EN_N (controller enable signal) is low. At this time, the gate-source voltage Vgs of MOS1 (first MOS) is not the lowest voltage, and the gate-source voltage Vgs of MOS2 (second MOS) is the lowest voltage, then MOS1 (first MOS) is turned on, and MOS2 (second MOS) is turned off. However, since the conduction of MOS1 (first MOS) has pulled P12V_FAN0_EN (target fan in place signal) down to a low level, no matter what the state of MOS2 (second MOS) is, it will not affect the state of the eFuse0 chip (electronic fuse corresponding to the target fan), so when FAN0 is not in place, even if the controller outputs the eFuse_EN (controller enable signal) signal, eFuse0 will not convert the power supply to the target power supply to power FAN0. This application does not need to occupy controller pin resources, can control the switch tube to turn on / off according to the fan presence signal and the controller enable signal, and can also realize independent power-on control of each fan without affecting other fans, thereby improving the reliability of fan power-on.
[0071] It can be understood that in this application, as long as there is one fan in place, eFuse_EN_N (electronic fuse enable signal) is at a low level. Only when all fans are not in place, eFuse_EN_N (electronic fuse enable signal) is at a high level. The fan in the system is in place, and the FANX_PRSNT_N (fan in place signal) corresponding to this fan is at a low level.
[0072] In the present application, the level of the fan in-position signal and the controller enable signal corresponding to each fan is numerated, and the gate-source voltage of the switch tube is controlled according to the high and low levels of the fan in-position signal and the controller enable signal corresponding to each fan, thereby controlling the on / off of the switch tube, and combining the fan in-position signal and the controller enable signal corresponding to each fan, an electronic fuse enable signal is generated, and the electronic fuse enable signal is sent to the electronic fuse corresponding to the fan, and the working state of the electronic fuse is controlled according to the electronic fuse enable signal, that is, whether to convert the power supply to the target power supply for power supply, and each fan in the present application corresponds to the first switch tube and the second switch tube. In this way, the fan in-position signal and the controller enable signal can be obtained according to the first switch tube and the second switch tube corresponding to different fans, so as to realize real-time monitoring of the fan state, and the electronic fuse enable signal generated according to the fan in-position signal and the controller enable signal corresponding to each fan can be independently controlled for the power on and off of each fan, so as to ensure the precise control of the fan on and off, and improve the safety and reliability of the fan power on.
[0073] It should be understood that although Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0074] For the specific definition of the fan power-on system, please refer to the definition of the fan power-on method above, which will not be repeated here. Each module in the above fan power-on system can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0075] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a fan power-on method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0076] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0077] In one embodiment, the present application also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the fan power-on method provided by the above methods.
[0078] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0079] Step 101 : acquiring a control signal, where the control signal includes a target fan in-position signal sent by a target fan and a controller enable signal sent by a controller.
[0080] Step 102: Send the target fan presence signal and the controller enable signal to the switch tube.
[0081] Step 103 , in response to the switch tube receiving the controller enable signal and the target fan presence signal, the switch tube is controlled to be turned on / off according to the controller enable signal and the target fan presence signal, thereby controlling whether to power on the target fan.
[0082] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0083] In response to the target fan being inserted into the target fan connector, the target fan outputs a target fan in position signal to the controller;
[0084] In response to the controller receiving the target fan in place signal, the controller analyzes the target fan in place signal to obtain a level corresponding to the target fan in place signal;
[0085] When the level corresponding to the target fan presence signal is a low level, it is determined that the target fan is in the target state.
[0086] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0087] In response to the switch tube receiving the controller enable signal and the target fan in place signal, controlling the switch tube to be turned on / off according to the controller enable signal and the target fan in place signal, thereby controlling whether to power on the target fan includes:
[0088] Obtain the level corresponding to the target fan presence signal and the level corresponding to the controller enable signal;
[0089] The gate-source voltage of the switch tube is controlled according to the level corresponding to the controller enable signal and the level corresponding to the target fan presence signal, and the switch tube is controlled to be turned on / off according to the gate-source voltage.
[0090] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0091] The level corresponding to the target fan in-position signal and the level corresponding to the controller enable signal are divided into two categories: low level and high level. The gate-source voltage of the switch tube is controlled according to the level corresponding to the controller enable signal and the level corresponding to the target fan in-position signal. Controlling the on / off of the switch tube according to the gate-source voltage includes:
[0092] When the level corresponding to the target fan in-position signal is low and the controller enable signal is low, the gate-source voltage of the switch tube is controlled to be the lowest voltage to turn off the switch tube. At the same time, the electronic fuse enable signal is kept at a high level, and the high-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse converts the power supply to the target power supply to power on the target fan;
[0093] When the level corresponding to the target fan in-position signal is high and the controller enable signal is high, the gate-source voltage of the switch tube is controlled to be non-minimum voltage to turn on the switch tube, and at the same time, the level corresponding to the electronic fuse enable signal is pulled down, and the low-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse is in a non-working state, and the target fan is not powered on;
[0094] When the level corresponding to the target fan in-place signal is high, the level corresponding to any non-target fan in-place signal is low, and the controller enable signal is low, the gate-source voltage of the first switch tube is controlled to be non-minimum voltage, and the gate-source voltage of the second switch tube is minimum voltage, so that the first switch tube is turned on and the second switch tube is turned off. At the same time, the level corresponding to the electronic fuse enable signal is pulled down, and the low-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse is in a non-working state, and the target fan is not powered on.
[0095] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0096] Step 101 : acquiring a control signal, where the control signal includes a target fan in-position signal sent by a target fan and a controller enable signal sent by a controller.
[0097] Step 102: Send the target fan presence signal and the controller enable signal to the switch tube.
[0098] Step 103 , in response to the switch tube receiving the controller enable signal and the target fan presence signal, the switch tube is controlled to be turned on / off according to the controller enable signal and the target fan presence signal, thereby controlling whether to power on the target fan.
[0099] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0100] Acquire a control signal, where the control signal includes a target fan in-position signal sent by the target fan and a controller enable signal sent by the controller;
[0101] Sending the target fan presence signal and the controller enable signal to the switch tube;
[0102] In response to the switch tube receiving the controller enable signal and the target fan in place signal, the switch tube is controlled to be turned on / off according to the controller enable signal and the target fan in place signal, thereby controlling whether to power on the target fan.
[0103] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0104] In response to the target fan being inserted into the target fan connector, the target fan outputs a target fan in position signal to the controller;
[0105] In response to the controller receiving the target fan in place signal, the controller analyzes the target fan in place signal to obtain a level corresponding to the target fan in place signal;
[0106] When the level corresponding to the target fan presence signal is a low level, it is determined that the target fan is in the target state.
[0107] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0108] The level corresponding to the target fan in-position signal and the level corresponding to the controller enable signal are divided into two categories: low level and high level. The gate-source voltage of the switch tube is controlled according to the level corresponding to the controller enable signal and the level corresponding to the target fan in-position signal. Controlling the on / off of the switch tube according to the gate-source voltage includes:
[0109] When the level corresponding to the target fan in-position signal is low and the controller enable signal is low, the gate-source voltage of the switch tube is controlled to be the lowest voltage to turn off the switch tube. At the same time, the electronic fuse enable signal is kept at a high level, and the high-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse converts the power supply to the target power supply to power on the target fan;
[0110] When the level corresponding to the target fan in-position signal is high and the controller enable signal is high, the gate-source voltage of the switch tube is controlled to be non-minimum voltage to turn on the switch tube, and at the same time, the level corresponding to the electronic fuse enable signal is pulled down, and the low-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse is in a non-working state, and the target fan is not powered on;
[0111] When the level corresponding to the target fan in-place signal is high, the level corresponding to any non-target fan in-place signal is low, and the controller enable signal is low, the gate-source voltage of the first switch tube is controlled to be non-minimum voltage, and the gate-source voltage of the second switch tube is minimum voltage, so that the first switch tube is turned on and the second switch tube is turned off. At the same time, the level corresponding to the electronic fuse enable signal is pulled down, and the low-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse is in a non-working state, and the target fan is not powered on.
[0112] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0113] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0114] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A fan power-on system, characterized in that: include: Power supplies, electronic fuses, controllers, switches and fans; Wherein, the first end of the electronic fuse is connected to the output end of the power supply, and the second end of the electronic fuse is connected to the first end of the fan; The first end of the controller is connected to the second end of the fan, and the second end of the controller is connected to the first end of the switch tube; The first end of the switch tube is connected to the second end of the fan, and the second end of the switch tube is connected to the first end of the electronic fuse. The switch tube is used to receive a control signal sent by the controller and turn on / off the switch tube according to the control signal, thereby controlling whether the fan is powered on.
2. The system according to claim 1, characterized in that The switch tube includes a first switch tube and a second switch tube; The first end of the first switch tube is connected to the second end of the fan, and the second end of the first switch tube is connected to the first end of the electronic fuse; The first end of the second switch tube is connected to the second end of the controller, and the second end of the second switch tube is connected to the first end of the electronic fuse.
3. The system according to claim 2, characterized in that The controller is used to generate a controller enable signal and transmit the controller enable signal to the second switch tube. The fan generates a fan in place signal and transmits the fan in place signal to the first switch tube. The first switch tube and the second switch tube connect the fan in place signal and the controller enable signal line to generate an electronic fuse enable signal.
4. The system according to claim 3, characterized in that The system includes at least one fan and at least one electronic fuse, wherein the electronic fuse corresponds to the fan one by one, and the electronic fuse is used to obtain an electronic fuse enable signal transmitted by a switch tube and perform work according to the electronic fuse enable signal transmitted by the switch tube.
5. A fan power-on method, based on the fan power-on system according to any one of claims 1 to 4, characterized in that: The method comprises: Acquire a control signal, where the control signal includes a target fan in position signal sent by the target fan and a controller enable signal sent by the controller; Sending the target fan in-position signal and the controller enable signal to the switch tube; In response to the switch tube receiving the controller enable signal and the target fan in place signal, the switch tube is controlled to be turned on / off according to the controller enable signal and the target fan in place signal, thereby controlling whether to power on the target fan.
6. The method according to claim 5, characterized in that The method further comprises: In response to the target fan being inserted into the target fan connector, the target fan outputs a target fan in position signal to the controller; In response to the controller receiving the target fan in place signal, the controller analyzes the target fan in place signal to obtain a level corresponding to the target fan in place signal; When the level corresponding to the target fan presence signal is a low level, it is determined that the target fan is in a target state.
7. The method according to claim 5, characterized in that In response to the switch tube receiving the controller enable signal and the target fan in place signal, controlling the on / off of the switch tube according to the controller enable signal and the target fan in place signal, thereby controlling whether to power on the target fan includes: Obtaining a level corresponding to the target fan presence signal and a level corresponding to the controller enable signal; The gate-source voltage of the switch tube is controlled according to the level corresponding to the controller enable signal and the level corresponding to the target fan presence signal, and the switch tube is controlled to be turned on / off according to the gate-source voltage.
8. The method according to claim 7, characterized in that The level corresponding to the target fan in-place signal and the level corresponding to the controller enable signal are divided into two categories: low level and high level. The gate-source voltage of the switch tube is controlled according to the level corresponding to the controller enable signal and the level corresponding to the target fan in-place signal, and the on / off control of the switch tube according to the gate-source voltage includes: When the level corresponding to the target fan in-position signal is low and the controller enable signal is low, the gate-source voltage of the switch tube is controlled to be the lowest voltage so that the switch tube is turned off, and at the same time, the electronic fuse enable signal is kept at a high level, and the high-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse converts the power supply to the target power supply to power on the target fan; When the level corresponding to the target fan in-position signal is high and the controller enable signal is high, the gate-source voltage of the switch tube is controlled to be non-minimum voltage to turn on the switch tube, and at the same time, the level corresponding to the electronic fuse enable signal is pulled down, and the low-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse is in a non-working state, and the target fan is not powered on; When the level corresponding to the target fan in-place signal is high, the level corresponding to any non-target fan in-place signal is low, and the controller enable signal is low, the gate-source voltage of the first switch tube is controlled to be non-minimum voltage, and the gate-source voltage of the second switch tube is controlled to be minimum voltage, so that the first switch tube is turned on and the second switch tube is turned off. At the same time, the level corresponding to the electronic fuse enable signal is pulled down, and the low-level electronic fuse enable signal is transmitted to the electronic fuse, so that the electronic fuse is in a non-working state, and the target fan is not powered on.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 5 to 8 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 5 to 8 are implemented.
